Skip to content

Commit

Permalink
Merge pull request #8 from Shinku-Chen/master
Browse files Browse the repository at this point in the history
完善报表结构体,创意结构体
  • Loading branch information
bububa authored Dec 6, 2021
2 parents 50fe1ef + f4158b6 commit 6f9b6c7
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 1 deletion.
4 changes: 4 additions & 0 deletions model/campaign/list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ type Details struct {
CampaignSubType int `json:"campaign_sub_type"`
CreateTime string `json:"create_time"`
UpdateTime string `json:"update_time"`


AdType int `json:"ad_type"`

}
16 changes: 15 additions & 1 deletion model/creative/creative.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type Creative struct {
// ExposeTag 广告标签
ExposeTag string `json:"expose_tag,omitempty"`
// NewExposeTag 广告标签2期
NewExposeTag []string `json:"new_expose_tag,omitempty"`
NewExposeTag []NewExposeTag `json:"new_expose_tag,omitempty"`
// SiteID 安卓下载中间页ID
SiteID int64 `json:"site_id,omitempty"`
// ClickTrackUrl 点击监测链接; 若出现与后台显示不一致,以文档为准即可
Expand All @@ -70,4 +70,18 @@ type Creative struct {
CreateTime string `json:"create_time,omitempty"`
// UpdateTime 最后修改时间
UpdateTime string `json:"update_time,omitempty"`

ActionbarClickUrl string `json:"actionbar_click_url,omitempty"`
CreativeCategory int `json:"creative_category,omitempty"`
CreativeTag []string `json:"creative_tag,omitempty"`
MerchantLibraryId int `json:"merchant_library_id,omitempty"`
MerchantProductId string `json:"merchant_product_id,omitempty"`
//SplashPictures []interface{} `json:"splash_pictures"`
//SplashPhotos []interface{} `json:"splash_photos"`
AdType int `json:"ad_type,omitempty"`
}

type NewExposeTag struct {
Text string `json:"text"`
Url string `json:"url"`
}
46 changes: 46 additions & 0 deletions model/report/stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,50 @@ type Stat struct {
EventGetThroughCost float64 `json:"event_get_through_cost,omitempty"`
// EventGetThroughRatio 智能电话-确认接通率
EventGetThroughRatio float64 `json:"event_get_through_ratio,omitempty"`

AdScene2 string `json:"adScene,omitempty"`
PlacementType string `json:"placement_type,omitempty"`
Click1KCost float64 `json:"click_1k_cost,omitempty"`
EventCreditGrantLandingRatio float64 `json:"event_credit_grant_landing_ratio,omitempty"`
EventAppointForm int `json:"event_appoint_form,omitempty"`
EventAppointFormCost float64 `json:"event_appoint_form_cost,omitempty"`
EventAppointFormRatio float64 `json:"event_appoint_form_ratio,omitempty"`
EventAppointJumpClick int `json:"event_appoint_jump_click,omitempty"`
EventAppointJumpClickCost float64 `json:"event_appoint_jump_click_cost,omitempty"`
EventAppointJumpClickRatio float64 `json:"event_appoint_jump_click_ratio,omitempty"`
UnionEventPayPurchaseAmount7D float64 `json:"union_event_pay_purchase_amount_7d,omitempty"`
UnionEventPayPurchaseAmount7DRoi float64 `json:"union_event_pay_purchase_amount_7d_roi,omitempty"`
EventDspGiftForm int `json:"event_dsp_gift_form,omitempty"`
EventAppInvoked int `json:"event_app_invoked,omitempty"`
EventAppInvokedCost float64 `json:"event_app_invoked_cost,omitempty"`
EventAppInvokedRatio float64 `json:"event_app_invoked_ratio,omitempty"`
EventMultiConversion int `json:"event_multi_conversion,omitempty"`
EventMultiConversionRatio float64 `json:"event_multi_conversion_ratio,omitempty"`
EventMultiConversionCost float64 `json:"event_multi_conversion_cost,omitempty"`
EventWatchAppAd int `json:"event_watch_app_ad,omitempty"`
EventAdWatchTimes int `json:"event_ad_watch_times,omitempty"`
EventAdWatchTimesRatio float64 `json:"event_ad_watch_times_ratio,omitempty"`
EventAdWatchTimesCost float64 `json:"event_ad_watch_times_cost,omitempty"`
EventAddShoppingCart int `json:"event_add_shopping_cart,omitempty"`
EventAddShoppingCartCost float64 `json:"event_add_shopping_cart_cost,omitempty"`
AdPhotoPlayed75PercentRatio float64 `json:"ad_photo_played_75percent_ratio,omitempty"`
AdPhotoPlayed10SRatio float64 `json:"ad_photo_played_10s_ratio,omitempty"`
AdPhotoPlayed2SRatio float64 `json:"ad_photo_played_2s_ratio,omitempty"`
EventPhoneGetThrough int `json:"event_phone_get_through,omitempty"`
EventIntentionConfirmed int `json:"event_intention_confirmed,omitempty"`
EventWechatConnected int `json:"event_wechat_connected,omitempty"`
EventOrderSuccessed int `json:"event_order_successed,omitempty"`
EventPhoneCardActivate int `json:"event_phone_card_activate,omitempty"`
EventMeasurementHouse int `json:"event_measurement_house,omitempty"`
//AdShow interface{} `json:"ad_show"`
ActionNewRatio float64 `json:"action_new_ratio,omitempty"`
EventOutboundCall int `json:"event_outbound_call,omitempty"`
EventOutboundCallCost float64 `json:"event_outbound_call_cost,omitempty"`
EventOutboundCallRatio float64 `json:"event_outbound_call_ratio,omitempty"`
KeyAction int `json:"key_action,omitempty"`
KeyActionCost float64 `json:"key_action_cost,omitempty"`
KeyActionRatio float64 `json:"key_action_ratio,omitempty"`
EventCreditCardRecheck int `json:"event_credit_card_recheck,omitempty"`
EventCreditCardRecheckFirstDay int `json:"event_credit_card_recheck_first_day,omitempty"`
EventNoIntention int `json:"event_no_intention,omitempty"`
}
14 changes: 14 additions & 0 deletions model/unit/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,18 @@ type Unit struct {
ProductImage string `json:"product_image,omitempty"`
// IntentionTarget 行为意向-系统优选; 行为意向是否开启系统优选,智能定向和行为意向系统优选不能同时开启
IntentionTarget bool `json:"intention_target,omitempty"`

CreateTime string `json:"create_time,omitempty"`
TemplateId int `json:"template_id,omitempty"`
SchemaUri string `json:"schema_uri,omitempty"`
ComponentId int `json:"component_id,omitempty"`
//SupportUnitIds interface{} `json:"support_unit_ids"`
UseSka bool `json:"use_ska,omitempty"`
PlayableId int64 `json:"playable_id,omitempty"`
PlayButton string `json:"play_button,omitempty"`
ProductId int64 `json:"product_id,omitempty"`
SplashAdSwitch bool `json:"splash_ad_switch,omitempty"`
PageGroupDetail string `json:"page_group_detail,omitempty"`
AdType int `json:"ad_type,omitempty"`
//ExtendSearch interface{} `json:"extend_search"`
}

0 comments on commit 6f9b6c7

Please sign in to comment.