Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdIntegration ¶
type AdIntegration struct {
AdId string `json:"AdId,omitempty"`
AdConfigId string `json:"AdConfigId,omitempty"`
AdSetId string `json:"AdSetId,omitempty"`
AdCampaignId string `json:"AdCampaignId,omitempty"`
}
AdIntegration
func (*AdIntegration) GetAdCampaignId ¶
func (a *AdIntegration) GetAdCampaignId() string
func (*AdIntegration) GetAdConfigId ¶
func (a *AdIntegration) GetAdConfigId() string
func (*AdIntegration) GetAdId ¶
func (a *AdIntegration) GetAdId() string
func (*AdIntegration) GetAdSetId ¶
func (a *AdIntegration) GetAdSetId() string
type FacebookAdTypePlacements ¶
type FacebookAdTypePlacements struct {
// Link Click Ads
// Recommended image size: 1,200 x 628 pixels
// Ad copy text: 90 characters
// Headline: 25 characters
// Link Description: 30 characters
//
// Supported placements:
// Right Column
// Desktop Newsfeed
// Mobile Newsfeed
// Audience Network
// Instagram
DoLinkClickAds bool `json:"doLinkClickAds"`
// Video Ads
// Ad copy text: 90 characters
// Aspect ratios supported: 16:9 to 9:16
// File size: up to 4 GB max
// Continuous looping available
// Video can be as long as 120 min., but most top-performing videos are 15-30 seconds
//
// Supported placements:
// Desktop Newsfeed
// Mobile Newsfeed
// Audience Network
// Instagram
DoVideoAds bool `json:"doVideoAds"`
// Boosted Page Posts
// Recommended image size: 1,200 x 628 pixels
// Ad copy text: unlimited
// Headline: 25 characters
// Link Description: 30 characters
//
// Supported placements:
// Desktop Newsfeed
// Mobile Newsfeed
// Audience Network
// Instagram
DoBoostedPagePosts bool `json:"doBoostedPagePosts`
// Placements
DoRightColumn bool `json:"doRightColumn"`
DoDesktopNewsfeed bool `json:"doDesktopNewsfeed"`
DoMobileNewsfeed bool `json:"doMobileNewsfeed"`
DoAudienceNetwork bool `json:"doAudienceNetwork"`
DoInstagram bool `json:"doInstagram"`
}
type StatsWeCareAbout ¶
type StatsWeCareAbout struct {
Clicks int64 `json:"clicks" datastore:"-"`
Impressions int64 `json:"impressions" datastore:"-"`
Conversions int64 `json:"conversions" datastore:"-"`
TotalSpend currency.Cents `json:"totalSpend" datastore:"-"`
Currency currency.Type `json:"currency" datastore:"-"`
}
add some functionality to fetch these values from counters
Source Files
¶
Click to show internal directories.
Click to hide internal directories.