models

package
v0.0.0-...-7e23e3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (CreateAdGroupReq) Validate

func (m CreateAdGroupReq) Validate(formats strfmt.Registry) error

Validate validates this create ad group req

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

func (*CreateAdGroupReqItems0) Validate

func (m *CreateAdGroupReqItems0) Validate(formats strfmt.Registry) error

Validate validates this create ad group req items0

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

func (*CreateAdGroupResp) Validate

func (m *CreateAdGroupResp) Validate(formats strfmt.Registry) error

Validate validates this create ad group resp

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

func (*CreateAdGroupRespDataItems0) Validate

func (m *CreateAdGroupRespDataItems0) Validate(formats strfmt.Registry) error

Validate validates this create ad group resp data items0

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

func (*CreateAdReq) Validate

func (m *CreateAdReq) Validate(formats strfmt.Registry) error

Validate validates this create ad req

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

func (*CreateAdReqData) Validate

func (m *CreateAdReqData) Validate(formats strfmt.Registry) error

Validate validates this create ad req data

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

func (*CreateAdResp) Validate

func (m *CreateAdResp) Validate(formats strfmt.Registry) error

Validate validates this create ad resp

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

func (*CreateAdRespData) Validate

func (m *CreateAdRespData) Validate(formats strfmt.Registry) error

Validate validates this create ad resp data

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

func (*CreateCampaignReq) Validate

func (m *CreateCampaignReq) Validate(formats strfmt.Registry) error

Validate validates this create campaign req

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

func (*CreateCampaignResp) Validate

func (m *CreateCampaignResp) Validate(formats strfmt.Registry) error

Validate validates this create campaign resp

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

func (*CreateCampaignRespData) Validate

func (m *CreateCampaignRespData) Validate(formats strfmt.Registry) error

Validate validates this create campaign resp data

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

func (*CreateFolderReq) Validate

func (m *CreateFolderReq) Validate(formats strfmt.Registry) error

Validate validates this create folder req

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

func (*CreateFolderResp) Validate

func (m *CreateFolderResp) Validate(formats strfmt.Registry) error

Validate validates this create folder resp

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

func (*CreateFolderRespData) Validate

func (m *CreateFolderRespData) Validate(formats strfmt.Registry) error

Validate validates this create folder resp data

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

func (*CreateTechAdGroupReq) Validate

func (m *CreateTechAdGroupReq) Validate(formats strfmt.Registry) error

Validate validates this create tech ad group req

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

func (*CreateTechAdGroupReqData) Validate

func (m *CreateTechAdGroupReqData) Validate(formats strfmt.Registry) error

Validate validates this create tech ad group req data

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

func (*CreateTechAdGroupResp) Validate

func (m *CreateTechAdGroupResp) Validate(formats strfmt.Registry) error

Validate validates this create tech ad group resp

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

func (*CreateTechAdGroupRespData) Validate

func (m *CreateTechAdGroupRespData) Validate(formats strfmt.Registry) error

Validate validates this create tech ad group resp data

type ErrorMess

type ErrorMess string

ErrorMess error mess

swagger:model ErrorMess

func (ErrorMess) Validate

func (m ErrorMess) Validate(formats strfmt.Registry) error

Validate validates this error mess

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

func (*GetAdGroupResp) Validate

func (m *GetAdGroupResp) Validate(formats strfmt.Registry) error

Validate validates this get ad group resp

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

func (*GetAdGroupRespDataItems0) Validate

func (m *GetAdGroupRespDataItems0) Validate(formats strfmt.Registry) error

Validate validates this get ad group resp data items0

type GetAdResp

type GetAdResp struct {

	// data
	Data []*GetAdRespDataItems0 `json:"data"`
}

GetAdResp get ad resp

swagger:model GetAdResp

func (*GetAdResp) MarshalBinary

func (m *GetAdResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAdResp) UnmarshalBinary

func (m *GetAdResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAdResp) Validate

func (m *GetAdResp) Validate(formats strfmt.Registry) error

Validate validates this get ad resp

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

func (*GetAdRespDataItems0) Validate

func (m *GetAdRespDataItems0) Validate(formats strfmt.Registry) error

Validate validates this get ad resp data items0

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

func (*GetCampaignResp) Validate

func (m *GetCampaignResp) Validate(formats strfmt.Registry) error

Validate validates this get campaign resp

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

func (*GetCampaignRespDataItems0) Validate

func (m *GetCampaignRespDataItems0) Validate(formats strfmt.Registry) error

Validate validates this get campaign resp data items0

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

func (*GetFoldersResp) Validate

func (m *GetFoldersResp) Validate(formats strfmt.Registry) error

Validate validates this get folders resp

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

func (*GetFoldersRespDataItems0) Validate

func (m *GetFoldersRespDataItems0) Validate(formats strfmt.Registry) error

Validate validates this get folders resp data items0

type GetSettingsObjectResp

type GetSettingsObjectResp []*GetSettingsObjectRespItems0

GetSettingsObjectResp get settings object resp

swagger:model GetSettingsObjectResp

func (GetSettingsObjectResp) Validate

func (m GetSettingsObjectResp) Validate(formats strfmt.Registry) error

Validate validates this get settings object resp

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

func (*GetSettingsObjectRespItems0) Validate

func (m *GetSettingsObjectRespItems0) Validate(formats strfmt.Registry) error

Validate validates this get settings object resp items0

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

func (ListMatchingFoldersResp) Validate

func (m ListMatchingFoldersResp) Validate(formats strfmt.Registry) error

Validate validates this list matching folders resp

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

func (*ListMatchingFoldersRespItems0) Validate

func (m *ListMatchingFoldersRespItems0) Validate(formats strfmt.Registry) error

Validate validates this list matching folders resp items0

type ListVideosResp

type ListVideosResp []*ListVideosRespItems0

ListVideosResp list videos resp

swagger:model ListVideosResp

func (ListVideosResp) Validate

func (m ListVideosResp) Validate(formats strfmt.Registry) error

Validate validates this list videos resp

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

func (*ListVideosRespItems0) Validate

func (m *ListVideosRespItems0) Validate(formats strfmt.Registry) error

Validate validates this list videos resp items0

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

func (*MatchFoldersReq) Validate

func (m *MatchFoldersReq) Validate(formats strfmt.Registry) error

Validate validates this match folders req

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

func (*MatchFoldersResp) Validate

func (m *MatchFoldersResp) Validate(formats strfmt.Registry) error

Validate validates this match folders resp

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

func (*MatchFoldersRespData) Validate

func (m *MatchFoldersRespData) Validate(formats strfmt.Registry) error

Validate validates this match folders resp data

type MathingFolders

type MathingFolders struct {
	ID               int64     `sql:"id"`
	VideoFolderID    int64     `sql:"video_folder_id"`
	AudienceFolderID int64     `sql:"audience_folder_id"`
	Name             string    `sql:"name,notnull"`
	DeletedAt        time.Time `pg:",soft_delete"`
	CreatedAt        time.Time `sql:"created_at"`
	// contains filtered or unexported fields
}

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

func (*ShowAdGroupResp) Validate

func (m *ShowAdGroupResp) Validate(formats strfmt.Registry) error

Validate validates this show ad group resp

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

func (*ShowAdGroupRespData) Validate

func (m *ShowAdGroupRespData) Validate(formats strfmt.Registry) error

Validate validates this show ad group resp data

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

func (*ShowCampaignResp) Validate

func (m *ShowCampaignResp) Validate(formats strfmt.Registry) error

Validate validates this show campaign resp

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

func (*ShowCampaignRespData) Validate

func (m *ShowCampaignRespData) Validate(formats strfmt.Registry) error

Validate validates this show campaign resp data

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

func (*ShowFolderResp) Validate

func (m *ShowFolderResp) Validate(formats strfmt.Registry) error

Validate validates this show folder resp

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

func (*ShowFolderRespData) Validate

func (m *ShowFolderRespData) Validate(formats strfmt.Registry) error

Validate validates this show folder resp data

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
}

type Video

type Video struct {
	ID          int64  `sql:"id"`
	FolderID    int64  `sql:"folder_id"`
	CreativeID  string `sql:"creative_id"`
	YouTubeID   string `sql:"youtube_id"`
	FilePath    string `sql:"filepath"`
	Title       string `sql:"title"`
	Description string `sql:"description"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL