Documentation
¶
Index ¶
- Variables
- func GetAd(db *datastore.Datastore, h BelongsToAd) (*ad.Ad, error)
- func GetAdCampaign(db *datastore.Datastore, h BelongsToAdCampaign) (*adcampaign.AdCampaign, error)
- func GetAdConfig(db *datastore.Datastore, h BelongsToAdConfig) (*adconfig.AdConfig, error)
- func GetAdConfigs(db *datastore.Datastore, h HasAdConfigs) ([]*adconfig.AdConfig, error)
- func GetAdSet(db *datastore.Datastore, h BelongsToAdSet) (*adset.AdSet, error)
- func GetAdSets(db *datastore.Datastore, h HasAdSets) ([]*adset.AdSet, error)
- func GetAds(db *datastore.Datastore, h HasAds) ([]*ad.Ad, error)
- func GetCopies(db *datastore.Datastore, h HasCopies) ([]*copy.Copy, error)
- func GetHeadlines(db *datastore.Datastore, h HasHeadlines) ([]*copy.Copy, error)
- func GetMedias(db *datastore.Datastore, h HasMedias) ([]*media.Media, error)
- type BelongsToAd
- type BelongsToAdCampaign
- type BelongsToAdConfig
- type BelongsToAdSet
- type HasAdConfigs
- type HasAdSets
- type HasAds
- type HasCopies
- type HasHeadlines
- type HasMedias
Constants ¶
This section is empty.
Variables ¶
View Source
var NoAdCampaignFound = errors.New("No AdCampaign Found")
View Source
var NoAdConfigFound = errors.New("No AdConfig Found")
View Source
var NoAdFound = errors.New("No Ad Found")
View Source
var NoAdSetFound = errors.New("No AdSet Found")
Functions ¶
func GetAdCampaign ¶
func GetAdCampaign(db *datastore.Datastore, h BelongsToAdCampaign) (*adcampaign.AdCampaign, error)
func GetAdConfig ¶
func GetAdConfigs ¶
func GetHeadlines ¶
Types ¶
type BelongsToAd ¶
type BelongsToAd interface {
GetAdId() string
}
type BelongsToAdCampaign ¶
type BelongsToAdCampaign interface {
GetAdCampaignId() string
}
type BelongsToAdConfig ¶
type BelongsToAdConfig interface {
GetAdConfigId() string
}
type BelongsToAdSet ¶
type BelongsToAdSet interface {
GetAdSetId() string
}
type HasAdConfigs ¶
type HasHeadlines ¶
Click to show internal directories.
Click to hide internal directories.