Documentation
¶
Index ¶
- type AdServer
- type Advertiser
- type Agency
- type AtomicCreative
- type AudienceSegment
- type Campaign
- type Concept
- type Creative
- type CreativeApproval
- type Deal
- type Organization
- type Pixel
- type PixelBundle
- type PixelProvider
- type PlacementSlot
- type Publisher
- type PublisherSite
- type SiteList
- type SitePlacement
- type Strategy
- type StrategyConcept
- type StrategyDayPart
- type StrategyDomain
- type StrategySupplySource
- type StrategyTargetingSegment
- type SupplySource
- type TargetDimension
- type TargetValue
- type TargetingVendor
- type User
- type Vendor
- type VendorContract
- type VendorDomain
- type VendorPixel
- type VendorPixelDomain
- type Vertical
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdServer ¶
type AdServer struct {
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
AdServer represents an ad_server object
type Advertiser ¶
type Advertiser struct {
AdServerID int `json:"ad_server_id"`
AgencyID int `json:"agency_id"`
AllowXStratOptimization bool `json:"allow_x_strat_optimization"`
CreatedOn t1time.T1Time `json:"created_on"`
DMPEnabled string `json:"dmp_enabled"`
Domain string `json:"domain"`
FrequencyAmount int `json:"frequency_amount"`
FrequencyInterval string `json:"frequency_interval"`
FrequencyType string `json:"frequency_type"`
ID int `json:"id,omitempty,readonly"`
MinimizeMultiAds bool `json:"minimize_multi_ads"`
Name string `json:"name"`
Status bool `json:"status"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
VerticalID int `json:"vertical_id"`
EntityType string `json:"entity_type"`
}
Advertiser represents an advertiser object
type Agency ¶
type Agency struct {
AllowXAdvOptimization bool `json:"allow_x_adv_optimization"`
AllowXAdvPixels bool `json:"allow_x_adv_pixels"`
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
OrganizationID int `json:"organization_id"`
Status bool `json:"status"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
Agency represents an agency object
type AtomicCreative ¶
type AtomicCreative struct {
AdFormat string `json:"ad_format"`
AdServerType string `json:"ad_server_type"`
AdvertiserID int `json:"advertiser_id"`
ApprovalStatus string `json:"approval_status"`
BuildDate t1time.T1Time `json:"build_date"`
BuildErrors string `json:"build_errors"`
Built bool `json:"built"`
BuiltByUserID int `json:"built_by_user_id"`
ClickThroughURL string `json:"click_through_url"`
ClickURL string `json:"click_url"`
ConceptID int `json:"concept_id"`
CreatedOn t1time.T1Time `json:"created_on"`
CreativeImportFileID int `json:"creative_import_file_id"`
EditedTag string `json:"edited_tag"`
EndDate t1time.T1Time `json:"end_date"`
ExpansionDirection string `json:"expansion_direction"`
ExpansionTrigger string `json:"expansion_trigger"`
ExternalIdentifier string `json:"external_identifier"`
FileType string `json:"file_type"`
HasSound bool `json:"has_sound"`
Height int `json:"height"`
ID int `json:"id,omitempty,readonly"`
IsHTTPS bool `json:"is_https"`
IsMultiCreative bool `json:"is_multi_creative"`
LastModified t1time.T1Time `json:"last_modified"`
MediaType string `json:"media_type"`
Name string `json:"name"`
RejectedReason string `json:"rejected_reason"`
RichMedia bool `json:"rich_media"`
RichMediaProvider string `json:"rich_media_provider"`
StartDate t1time.T1Time `json:"start_date"`
Status bool `json:"status"`
T1AS bool `json:"t1as"`
Tag string `json:"tag"`
TagType string `json:"tag_type"`
TPASAdTag string `json:"tpas_ad_tag"`
TPASAdTagName string `json:"tpas_ad_tag_name"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
Width int `json:"width"`
EntityType string `json:"entity_type"`
}
AtomicCreative represents an atomic_creative object
type AudienceSegment ¶
type AudienceSegment struct {
AudienceVendorID int `json:"audience_vendor_id"`
Buyable bool `json:"buyable"`
ChildCount int `json:"child_count"`
CreatedOn t1time.T1Time `json:"created_on"`
EntityType string `json:"entity_type"`
FullPath string `json:"full_path"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Type string `json:"type"` // TODO ???
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
}
AudienceSegment represents an audience_segment object
type Campaign ¶
type Campaign struct {
AdServerFee float32 `json:"ad_server_fee"`
AdServerID int `json:"ad_server_id"`
AdServerPassword string `json:"ad_server_password"`
AdServerUsername string `json:"ad_server_username"`
AdvertiserID int `json:"advertiser_id"`
AgencyFeePct float32 `json:"agency_fee_pct"`
ConversionType string `json:"conversion_type"`
ConversionVariableMinutes int `json:"conversion_variable_minutes"`
CreatedOn t1time.T1Time `json:"created_on"`
CurrencyCode string `json:"currency_code"`
DCSDataIsCampaignLevel bool `json:"dcs_data_is_campaign_level"`
EndDate t1time.T1Time `json:"end_date"`
FrequencyAmount int `json:"frequency_amount"`
FrequencyInterval string `json:"frequency_interval"`
FrequencyType string `json:"frequency_type"`
GoalCategory string `json:"goal_category"`
GoalType string `json:"goal_type"`
GoalValue float32 `json:"goal_value"`
ID int `json:"id,omitempty,readonly"`
InitialStartDate t1time.T1Time `json:"initial_start_date"`
IOName string `json:"io_name"`
IOReferenceNum string `json:"io_reference_num"`
MarginPct float32 `json:"margin_pct"`
MeritPixelID int `json:"merit_pixel_id"`
Name string `json:"name"`
PacingAlert float32 `json:"pacing_alert"`
PCWindowMinutes int `json:"pc_window_minutes"`
PVPct float32 `json:"pv_pct"`
PVWindowMinutes int `json:"pv_window_minutes"`
ServiceType string `json:"service_type"`
SpendCapAmount float32 `json:"spend_cap_amount"`
SpendCapAutomatic bool `json:"spend_cap_automatic"`
SpendCapEnabled bool `json:"spend_cap_enabled"`
StartDate t1time.T1Time `json:"start_date"`
Status bool `json:"status"`
TotalBudget float32 `json:"total_budget"`
UpdatedOn t1time.T1Time `json:"updated_on"`
UseDefaultAdServer bool `json:"use_default_ad_server"`
UseMMFreq bool `json:"use_mm_freq"`
ZoneName string `json:"zone_name"`
Version int `json:"version"`
EntityType string `json:"entity_type,readonly"`
}
Campaign represents a campaign object
type Concept ¶
type Concept struct {
AdvertiserID int `json:"advertiser_id"`
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Status bool `json:"status"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
Concept represents a concept object
type Creative ¶
type Creative struct {
AtomicCreativeID int `json:"atomic_creative_id"`
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
LastModified t1time.T1Time `json:"last_modified"`
Name string `json:"name"`
Tag string `json:"tag"`
TagType string `json:"tag_type"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
Creative represents a creative object
type CreativeApproval ¶
type CreativeApproval struct {
AdditionalDetail int `json:"additional_detail"`
ApprovalStatus int `json:"approval_status"`
AtomicCreativeID int `json:"atomic_creative_id"`
CreatedOn t1time.T1Time `json:"created_on"`
CreativeImportFileID int `json:"creative_import_file_id"`
ExternalIdentifier string `json:"external_identifier"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
RejectedReason string `json:"rejected_reason"`
SupplySourceID int `json:"supply_source_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
CreativeApproval represents a creative_approval object
type Deal ¶
type Deal struct {
AdvertiserID int `json:"advertiser_id"`
CreatedOn t1time.T1Time `json:"created_on"`
CurrencyCode string `json:"currency_code"`
DealIdentifier string `json:"deal_identifier"`
DealSource string `json:"deal_source"`
Description string `json:"description"`
EndDatetime t1time.T1Time `json:"end_datetime"`
ID int `json:"id,omitempty,readonly"`
MediaType string `json:"media_type"`
Name string `json:"name"`
PartnerSourced bool `json:"partner_sourced"`
PriceMethod string `json:"price_method"`
PriceType string `json:"price_type"`
PublisherID int `json:"publisher_id"`
StartDatetime t1time.T1Time `json:"start_datetime"`
Status bool `json:"status"`
SupplySourceID int `json:"supply_source_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
ZoneName string `json:"zone_name"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
Deal represents a deal object
type Organization ¶
type Organization struct {
Address1 string `json:"address_1,omitempty"`
Address2 string `json:"address_2,omitempty"`
AdXSeatAccountID int `json:"adx_seat_account_id,omitempty"`
AllowBYOPrice bool `json:"allow_byo_price,omitempty"`
AllowXAgencyPixels bool `json:"allow_x_agency_pixels,omitempty"`
City string `json:"city,omitempty"`
ContactName string `json:"contact_name,omitempty"`
Country string `json:"country,omitempty"`
CreatedOn t1time.T1Time `json:"created_on,readonly"`
CurrencyCode string `json:"currency_code,omitempty"`
ID int `json:"id,omitempty,readonly"`
MMContactName string `json:"mm_contact_name,omitempty"`
Name string `json:"name,omitempty"`
OrgType []string `json:"org_type,omitempty"`
Phone string `json:"phone,omitempty"`
State string `json:"state,omitempty"`
Status bool `json:"status,omitempty"`
TagRuleset string `json:"tag_ruleset,omitempty"`
UpdatedOn t1time.T1Time `json:"updated_on,readonly,omitempty"`
UseEvidonOptout bool `json:"use_evidon_optout,omitempty"`
Version int `json:"version,omitempty"`
Zip string `json:"zip,omitempty"`
EntityType string `json:"entity_type,readonly"`
}
Organization represents an organization object
type Pixel ¶
type Pixel struct {
BundleID int `json:"bundle_id"`
CreatedOn t1time.T1Time `json:"created_on"`
Distributed bool `json:"distributed"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
PixelType string `json:"pixel_type"`
SupplySourceID int `json:"supply_source_id"`
Tag string `json:"tag"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
Pixel represents a pixel object (child pixel)
type PixelBundle ¶
type PixelBundle struct {
AdvertiserID int `json:"advertiser_id"`
AgencyID int `json:"agency_id"`
CostCPM float32 `json:"cost_cpm"`
CostCPTS float32 `json:"cost_cpts"`
CostPctCPM float32 `json:"cost_pct_cpm"`
CreatedOn t1time.T1Time `json:"created_on"`
Eligible bool `json:"eligible"`
ExternalIdentifier string `json:"external_identifier"`
ID int `json:"id,omitempty,readonly"`
Keywords string `json:"keywords"`
Name string `json:"name"`
PixelType string `json:"pixel_type"`
Pricing string `json:"pricing"`
ProviderID int `json:"provider_id"`
RMXConversionMinutes int `json:"rmx_conversion_minutes"`
RMXConversionType string `json:"rmx_conversion_type"`
RMXFriendly bool `json:"rmx_friendly"`
RMXMerit bool `json:"rmx_merit"`
RMXPCWindowMinutes int `json:"rmx_pc_window_minutes"`
RMXPVWindowMinutes int `json:"rmx_pv_window_minutes"`
SegmentOp string `json:"segment_op"`
Status bool `json:"status"`
Tags string `json:"tags"`
TagType string `json:"tag_type"`
Type string `json:"type"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
PixelBundle represents a pixel_bundle object (what you think of as a pixel)
type PixelProvider ¶
type PixelProvider struct {
AgencyID int `json:"agency_id"`
CreatedOn t1time.T1Time `json:"created_on"`
ExecutionBy string `json:"execution_by"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Status bool `json:"status"`
TaxonomyFile string `json:"taxonomy_file"`
UpdatedOn t1time.T1Time `json:"updated_on"`
VendorID int `json:"vendor_id"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
PixelProvider represents a pixel_provider object
type PlacementSlot ¶
type PlacementSlot struct {
AdSlot int `json:"ad_slot"`
AllowRemnant bool `json:"allow_remnant"`
AuctionType string `json:"auction_type"`
Budget float32 `json:"budget"`
BuyPrice float32 `json:"buy_price"`
BuyPriceType string `json:"buy_price_type"`
CreatedOn t1time.T1Time `json:"created_on"`
Description string `json:"description"`
EndDate t1time.T1Time `json:"end_date"`
EstVolume float32 `json:"est_volume"`
FrequencyAmount int `json:"frequency_amount"`
FrequencyInterval string `json:"frequency_interval"`
FrequencyType string `json:"frequency_type"`
Height int `json:"height"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
PRMPubCeiling float32 `json:"prm_pub_ceiling"`
PRMPubMarkup float32 `json:"prm_pub_markup"`
SellPrice float32 `json:"sell_price"`
SellPriceType string `json:"sell_price_type"`
SitePlacementID int `json:"site_placement_id"`
StartDate t1time.T1Time `json:"start_date"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
VolumeUnit string `json:"volume_unit"`
Width int `json:"width"`
EntityType string `json:"entity_type"`
}
PlacementSlot represents a placement_slot object
type Publisher ¶
type Publisher struct {
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
OrganizationID int `json:"organization_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
Publisher represents a publisher object
type PublisherSite ¶
type PublisherSite struct {
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
PublisherID int `json:"publisher_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
PublisherSite represents a publisher_site object
type SiteList ¶
type SiteList struct {
CreatedOn t1time.T1Time `json:"created_on"`
Filename string `json:"filename"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
OrganizationID int `json:"organization_id"`
Restriction string `json:"restriction"`
SitesCount int `json:"sites_count"`
SitesCountDomain int `json:"sites_count_domain"`
Status bool `json:"status"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
SiteList represents a site_list object
type SitePlacement ¶
type SitePlacement struct {
BillMediaToClient bool `json:"bill_media_to_client"`
CreatedOn t1time.T1Time `json:"created_on"`
DealSource string `json:"deal_source"`
DisplayText string `json:"display_text"`
ID int `json:"id,omitempty,readonly"`
MediaType string `json:"media_type"`
Name string `json:"name"`
PMPType string `json:"pmp_type"`
PublisherSiteID int `json:"publisher_site_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
SitePlacement represents a site_placement object
type Strategy ¶
type Strategy struct {
AudienceSegmentExcludeOp string `json:"audience_segment_exclude_op"`
AudienceSegmentIncludeOp string `json:"audience_segment_include_op"`
BidAggressiveness float32 `json:"bid_aggresiveness"`
BidPriceIsMediaOnly bool `json:"bid_price_is_media_only"`
Budget float32 `json:"budget"`
CampaignID int `json:"campaign_id"`
CreatedOn t1time.T1Time `json:"created_on"`
CurrencyCode string `json:"currency_code"`
Description string `json:"description"`
EffectiveGoalValue float32 `json:"effective_goal_value"`
EndDate t1time.T1Time `json:"end_date"`
FeatureCompatibility string `json:"feature_compatibility"`
FrequencyAmount int `json:"frequency_amount"`
FrequencyInterval string `json:"frequency_interval"`
FrequencyType string `json:"frequency_type"`
GoalType string `json:"goal_type"`
ID int `json:"id,omitempty,readonly"`
ImpressionCap int `json:"impression_cap"`
MediaType string `json:"media_type"`
Name string `json:"name"`
PacingInterval string `json:"pacing_interval"`
PacingType string `json:"pacing_type"`
PixelTargetExpr string `json:"pixel_target_expr"` // TODO custom type?
RunOnAllExchanges bool `json:"run_on_all_exchanges"`
RunOnAllPMP bool `json:"run_on_all_pmp"`
RunOnDisplay bool `json:"run_on_display"`
RunOnMobile bool `json:"run_on_mobile"`
RunOnStreaming bool `json:"run_on_streaming"`
SiteRestrictionTransparentURLs bool `json:"site_restriction_transparent_urls"`
SiteSelectiveness string `json:"site_selectiveness"`
StartDate t1time.T1Time `json:"start_date"`
Status bool `json:"status"`
SupplyType string `json:"supply_type"`
Type string `json:"type"`
UpdatedOn t1time.T1Time `json:"updated_on"`
UseCampaignEnd bool `json:"use_campaign_end"`
UseCampaignStart bool `json:"use_campaign_start"`
UseMMFreq bool `json:"use_mm_freq"`
UseOptimization bool `json:"use_optimization"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
Strategy represents a strategy object
type StrategyConcept ¶
type StrategyConcept struct {
ConceptID int `json:"concept_id"`
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Status bool `json:"status"`
StrategyID int `json:"strategy_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
Weighting string `json:"weighting"`
EntityType string `json:"entity_type"`
}
StrategyConcept represents a strategy_concept object
type StrategyDayPart ¶
type StrategyDayPart struct {
CreatedOn t1time.T1Time `json:"created_on"`
Days string `json:"days"`
EndHour int `json:"end_hour"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
StartHour int `json:"start_hour"`
Status bool `json:"status"`
StrategyID int `json:"strategy_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
UserTime bool `json:"user_time"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
StrategyDayPart represents a strategy_daypart object
type StrategyDomain ¶
type StrategyDomain struct {
CreatedOn t1time.T1Time `json:"created_on"`
Domain string `json:"domain"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Restriction string `json:"restriction"`
StrategyID int `json:"strategy_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
StrategyDomain represents a strategy_domain object
type StrategySupplySource ¶
type StrategySupplySource struct {
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
StrategyID int `json:"strategy_id"`
SupplySourceID int `json:"supply_source_id"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
StrategySupplySource represents a strategy_supply_source object
type StrategyTargetingSegment ¶
type StrategyTargetingSegment struct {
CreatedOn t1time.T1Time `json:"created_on"`
GroupIdentifier string `json:"group_identifier"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Operator string `json:"operator"`
Restriction string `json:"restriction"`
StrategyID int `json:"strategy_id"`
TargetingSegmentID int `json:"targeting_segment_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
UserCPM float32 `json:"user_cpm"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
StrategyTargetingSegment represents a strategy_targeting_segment object
type SupplySource ¶
type SupplySource struct {
BidderExchangeIdentifier int `json:"bidder_exchange_identifier"`
Code string `json:"code"`
CreatedOn t1time.T1Time `json:"created_on"`
DefaultSeatIdentifier string `json:"default_seat_identifier"`
Distribute bool `json:"distribute"`
HasDisplay bool `json:"has_display"`
HasMobileDisplay bool `json:"has_mobile_display"`
HasMobileVideo bool `json:"has_mobile_video"`
HasVideo bool `json:"has_video"`
ID int `json:"id,omitempty,readonly"`
IsProservice bool `json:"is_proservice"`
MMSafe bool `json:"mm_safe"`
Name string `json:"name"`
ParentSupplyID int `json:"parent_supply_id"`
PixelTag string `json:"pixel_tag"`
PMPEnabled bool `json:"pmp_enabled"`
RTBEnabled bool `json:"rtb_enabled"`
RTBType string `json:"rtb_type"`
SeatEnabled bool `json:"seat_enabled"`
Status bool `json:"status"`
SupplyType string `json:"supply_type"`
UpdatedOn t1time.T1Time `json:"updated_on"`
UsePool bool `json:"use_pool"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
SupplySource represents a supply_source object
type TargetDimension ¶
type TargetDimension struct {
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
TargetDimension represents a target_dimension object
type TargetValue ¶
type TargetValue struct {
ChildCount int `json:"child_count"`
DimensionCode string `json:"dimension_code"`
ID int `json:"id,omitempty,readonly"`
IsTargetable bool `json:"is_targetable"`
Name string `json:"name"`
TargetDimensionID int `json:"target_dimension_id"`
Type string `json:"type"`
Value int `json:"value"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
TargetValue represents a target_value object
type TargetingVendor ¶
type TargetingVendor struct {
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
NamespaceCode string `json:"namespace_code"`
OrganizationID int `json:"organization_id"`
SitesCountDomain int `json:"sites_count_domain"`
TargetingVendorTypeID int `json:"targeting_vendor_type_id"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
TargetingVendor represents a targeting_vendor object
type User ¶
type User struct {
AccessInternalFees bool `json:"access_internal_fees"`
Active bool `json:"active"`
CreatedOn t1time.T1Time `json:"created_on"`
CreatorID int `json:"creator_id"`
EditCampaigns bool `json:"edit_campaigns"`
EditDataDefinition bool `json:"edit_data_definition"`
EditMarginsAndPerformance bool `json:"edit_margins_and_performance"`
Email string `json:"email,omitempty,readonly"`
Fax string `json:"fax"`
FirstName string `json:"first_name"`
ID int `json:"id,omitempty,readonly"`
LabsEnableRMX bool `json:"labs_enable_rmx"`
LastLoginOn t1time.T1Time `json:"last_login_on"`
LastName string `json:"last_name"`
LinkLDAP bool `json:"link_ldap"`
Mobile string `json:"mobile"`
Name string `json:"name"`
Password string `json:"password,omitempty"`
PasswordResetSent t1time.T1Time `json:"password_reset_sent"`
PasswordResetToken string `json:"password_reset_token"`
Phone string `json:"phone"`
Role string `json:"role"`
Scope string `json:"scope"`
SSOAuthSent t1time.T1Time `json:"sso_auth_sent"`
SSOAuthToken string `json:"sso_auth_token"`
Title string `json:"title"`
Type string `json:"type"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Username string `json:"username"`
Version int `json:"version"`
ViewDataDefinition bool `json:"view_data_definition"`
ViewDMPReports bool `json:"view_dmp_reports"`
ViewOrganizations bool `json:"view_organizations"`
ViewSegments bool `json:"view_segments"`
EntityType string `json:"entity_type"`
}
User represents a user object
type Vendor ¶
type Vendor struct {
AdxApproved bool `json:"adx_approved"`
AdxDeclarationRequired bool `json:"adx_declaration_required"`
AdxSSLApproved bool `json:"adx_ssl_approved"`
AdxVendorIdentifier int `json:"adx_vendor_identifier"`
AdxVideoApproved bool `json:"adx_video_approved"`
AdxVideoSSLApproved bool `json:"adx_video_ssl_approved"`
CreatedOn t1time.T1Time `json:"created_on"`
Description string `json:"description"`
ID int `json:"id,omitempty,readonly"`
IsEligible bool `json:"is_eligible"`
MMContractAvailable bool `json:"mm_contract_available"`
Name string `json:"name"`
RateCardPrice float32 `json:"rate_card_price"`
RateCardType string `json:"rate_card_type"`
UpdatedOn t1time.T1Time `json:"updated_on"`
VendorType string `json:"vendor_type"`
Version int `json:"version"`
WholesalePrice float32 `json:"wholesale_price"`
EntityType string `json:"entity_type"`
}
Vendor represents a vendor object
type VendorContract ¶
type VendorContract struct {
CampaignID int `json:"campaign_id"`
CreatedOn t1time.T1Time `json:"created_on"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
Price float32 `json:"price"`
RateCardType string `json:"rate_card_type"`
UpdatedOn t1time.T1Time `json:"updated_on"`
UseMMContract bool `json:"use_mm_contract"`
VendorID int `json:"vendor_id"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
VendorContract represents a vendor_contract object
type VendorDomain ¶
type VendorDomain struct {
AllowSubdomainMatch bool `json:"allow_subdomain_match"`
CreatedOn t1time.T1Time `json:"created_on"`
Domain string `json:"domain"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
UpdatedOn t1time.T1Time `json:"updated_on"`
VendorID int `json:"vendor_id"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
VendorDomain represents a vendor_domain object
type VendorPixel ¶
type VendorPixel struct {
CreatedOn t1time.T1Time `json:"created_on"`
CreativeID int `json:"creative_id"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
SetBy string `json:"set_by"`
Tag string `json:"tag"`
TagType string `json:"tag_type"`
UpdatedOn t1time.T1Time `json:"updated_on"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
VendorPixel represents a vendor_pixel object
type VendorPixelDomain ¶
type VendorPixelDomain struct {
CreatedOn t1time.T1Time `json:"created_on"`
Domain string `json:"domain"`
ID int `json:"id,omitempty,readonly"`
Name string `json:"name"`
UpdatedOn t1time.T1Time `json:"updated_on"`
VendorDomainID int `json:"vendor_domain_id"`
VendorPixelID int `json:"vendor_pixel_id"`
Version int `json:"version"`
EntityType string `json:"entity_type"`
}
VendorPixelDomain represents a vendor_pixel_domain object
Source Files
¶
- ad_server.go
- advertiser.go
- agency.go
- atomic_creative.go
- audience_segment.go
- campaign.go
- concept.go
- creative.go
- creative_approval.go
- deal.go
- organization.go
- pixel.go
- pixel_bundle.go
- pixel_provider.go
- placement_slot.go
- publisher.go
- publisher_site.go
- site_list.go
- site_placement.go
- strategy.go
- strategy_concept.go
- strategy_daypart.go
- strategy_domain.go
- strategy_supply_source.go
- strategy_targeting_segment.go
- supply_source.go
- target_dimension.go
- target_value.go
- targeting_vendor.go
- user.go
- vendor.go
- vendor_contract.go
- vendor_domain.go
- vendor_pixel.go
- vendor_pixel_domain.go
- vertical.go