model

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 0 Imported by: 43

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessStatus

type AccessStatus string

AccessStatus : 接入状态

const (
	AccessStatus_COMPLETED AccessStatus = "ACCESS_STATUS_COMPLETED"
	AccessStatus_PENDING   AccessStatus = "ACCESS_STATUS_PENDING"
)

List of AccessStatus

type AccessType

type AccessType string

AccessType : 上报方式

const (
	AccessType_SDK AccessType = "ACCESS_TYPE_SDK"
	AccessType_API AccessType = "ACCESS_TYPE_API"
)

List of AccessType

type AccountPermission added in v1.3.0

type AccountPermission struct {
	AccountId               int64     `json:"account_id,omitempty"`
	GrantPermissionTypeList *[]string `json:"grant_permission_type_list,omitempty"`
}

授权给指定账号结构

type AccountRoleType

type AccountRoleType string

AccountRoleType : 授权账号身份类型

const (
	AccountRoleType_ADVERTISER       AccountRoleType = "ACCOUNT_ROLE_TYPE_ADVERTISER"
	AccountRoleType_AGENCY           AccountRoleType = "ACCOUNT_ROLE_TYPE_AGENCY"
	AccountRoleType_T1               AccountRoleType = "ACCOUNT_ROLE_TYPE_T1"
	AccountRoleType_BUSINESS_MANAGER AccountRoleType = "ACCOUNT_ROLE_TYPE_BUSINESS_MANAGER"
)

List of AccountRoleType

type AccountType

type AccountType string

AccountType : 账号类型

const (
	AccountType_UNKNOWN           AccountType = "ACCOUNT_TYPE_UNKNOWN"
	AccountType_ADVERTISER        AccountType = "ACCOUNT_TYPE_ADVERTISER"
	AccountType_AGENCY            AccountType = "ACCOUNT_TYPE_AGENCY"
	AccountType_DSP               AccountType = "ACCOUNT_TYPE_DSP"
	AccountType_DEVELOPER         AccountType = "ACCOUNT_TYPE_DEVELOPER"
	AccountType_MEMBER            AccountType = "ACCOUNT_TYPE_MEMBER"
	AccountType_EXTERNAL_SUPPLIER AccountType = "ACCOUNT_TYPE_EXTERNAL_SUPPLIER"
	AccountType_TDC               AccountType = "ACCOUNT_TYPE_TDC"
	AccountType_TONE              AccountType = "ACCOUNT_TYPE_TONE"
	AccountType_BM                AccountType = "ACCOUNT_TYPE_BM"
)

List of AccountType

type AccountTypeMap

type AccountTypeMap string

AccountTypeMap : 资金账户类型

const (
	AccountTypeMap_CASH                    AccountTypeMap = "FUND_TYPE_CASH"
	AccountTypeMap_GIFT                    AccountTypeMap = "FUND_TYPE_GIFT"
	AccountTypeMap_SHARED                  AccountTypeMap = "FUND_TYPE_SHARED"
	AccountTypeMap_BANK                    AccountTypeMap = "FUND_TYPE_BANK"
	AccountTypeMap_UNION_GIFT              AccountTypeMap = "FUND_TYPE_UNION_GIFT"
	AccountTypeMap_MP_CASH                 AccountTypeMap = "FUND_TYPE_MP_CASH"
	AccountTypeMap_MP_BANK                 AccountTypeMap = "FUND_TYPE_MP_BANK"
	AccountTypeMap_MP_GIFT                 AccountTypeMap = "FUND_TYPE_MP_GIFT"
	AccountTypeMap_CREDIT_ROLL             AccountTypeMap = "FUND_TYPE_CREDIT_ROLL"
	AccountTypeMap_CREDIT_TEMPORARY        AccountTypeMap = "FUND_TYPE_CREDIT_TEMPORARY"
	AccountTypeMap_CONTRACT_GIFT_VIRTUAL   AccountTypeMap = "FUND_TYPE_CONTRACT_GIFT_VIRTUAL"
	AccountTypeMap_CONTRACT_ASSIGN_VIRTUAL AccountTypeMap = "FUND_TYPE_CONTRACT_ASSIGN_VIRTUAL"
	AccountTypeMap_COMPENSATE_VIRTUAL      AccountTypeMap = "FUND_TYPE_COMPENSATE_VIRTUAL"
	AccountTypeMap_INTERNAL_QUOTA          AccountTypeMap = "FUND_TYPE_INTERNAL_QUOTA"
	AccountTypeMap_TEST_VIRTUAL            AccountTypeMap = "FUND_TYPE_TEST_VIRTUAL"
	AccountTypeMap_UNSUPPORTED             AccountTypeMap = "FUND_TYPE_UNSUPPORTED"
	AccountTypeMap_JD_PRIVILEGE            AccountTypeMap = "FUND_TYPE_JD_PRIVILEGE"
	AccountTypeMap_JD_WIRELESS_CASH        AccountTypeMap = "FUND_TYPE_JD_WIRELESS_CASH"
)

List of AccountTypeMap

type ActionAggregationRule

type ActionAggregationRule struct {
	ActionType       ActionType                 `json:"action_type,omitempty"`
	CustomAction     string                     `json:"custom_action,omitempty"`
	AggregationGroup *[]AggregationMatcherGroup `json:"aggregation_group,omitempty"`
	FilterGroup      *[]MiniParamMatcherGroup   `json:"filter_group,omitempty"`
}

行为和参数聚合规则

type ActionChannelType added in v1.3.0

type ActionChannelType string

ActionChannelType : 渠道信息,标识该条行为发生在何渠道上。

const (
	ActionChannelType_NATURAL   ActionChannelType = "NATURAL"
	ActionChannelType_TENCENT   ActionChannelType = "TENCENT"
	ActionChannelType_BYTEDANCE ActionChannelType = "BYTEDANCE"
	ActionChannelType_KUAISHOU  ActionChannelType = "KUAISHOU"
	ActionChannelType_ALIBABA   ActionChannelType = "ALIBABA"
	ActionChannelType_BAIDU     ActionChannelType = "BAIDU"
	ActionChannelType_OTHERS    ActionChannelType = "OTHERS"
	ActionChannelType_UNKNOWN   ActionChannelType = "UNKNOWN"
)

List of ActionChannelType

type ActionMatchRule

type ActionMatchRule struct {
	ActionType        ActionType           `json:"action_type,omitempty"`
	CustomAction      string               `json:"custom_action,omitempty"`
	ParamMatcherGroup *[]ParamMatcherGroup `json:"param_matcher_group,omitempty"`
}

行为和参数匹配规则

type ActionProductInformType added in v1.3.0

type ActionProductInformType string

ActionProductInformType : 商品库行业。当您需要传输的商品信息为商品库行业标准类目时需要填写;如果传输的商品信息为商品ID,则无需填写。

const (
	ActionProductInformType_EC                           ActionProductInformType = "EC"
	ActionProductInformType_ESTATE                       ActionProductInformType = "ESTATE"
	ActionProductInformType_VIDEO                        ActionProductInformType = "VIDEO"
	ActionProductInformType_CAR                          ActionProductInformType = "CAR"
	ActionProductInformType_NEWS_INFORMATION             ActionProductInformType = "NEWS_INFORMATION"
	ActionProductInformType_BEAUTY_PERSONAL_CARE         ActionProductInformType = "BEAUTY_PERSONAL_CARE"
	ActionProductInformType_RETAIL                       ActionProductInformType = "RETAIL"
	ActionProductInformType_EDUCATION                    ActionProductInformType = "EDUCATION"
	ActionProductInformType_READING                      ActionProductInformType = "READING"
	ActionProductInformType_INSURANCE                    ActionProductInformType = "INSURANCE"
	ActionProductInformType_LOAN                         ActionProductInformType = "LOAN"
	ActionProductInformType_FINANCIAL                    ActionProductInformType = "FINANCIAL"
	ActionProductInformType_BANKCARD                     ActionProductInformType = "BANKCARD"
	ActionProductInformType_WEDDING                      ActionProductInformType = "WEDDING"
	ActionProductInformType_SECURITIES                   ActionProductInformType = "SECURITIES"
	ActionProductInformType_DECORATION_BUILDING_MATERIAL ActionProductInformType = "DECORATION_BUILDING_MATERIAL"
	ActionProductInformType_CARRIER                      ActionProductInformType = "CARRIER"
	ActionProductInformType_GAME                         ActionProductInformType = "GAME"
)

List of ActionProductInformType

type ActionType

type ActionType string

ActionType : 标准行为类型,当值为 'CUSTOM' 时表示自定义行为类型

const (
	ActionType_CUSTOM                     ActionType = "CUSTOM"
	ActionType_REGISTER                   ActionType = "REGISTER"
	ActionType_VIEW_CONTENT               ActionType = "VIEW_CONTENT"
	ActionType_CONSULT                    ActionType = "CONSULT"
	ActionType_ADD_TO_CART                ActionType = "ADD_TO_CART"
	ActionType_PURCHASE                   ActionType = "PURCHASE"
	ActionType_ACTIVATE_APP               ActionType = "ACTIVATE_APP"
	ActionType_SEARCH                     ActionType = "SEARCH"
	ActionType_ADD_TO_WISHLIST            ActionType = "ADD_TO_WISHLIST"
	ActionType_INITIATE_CHECKOUT          ActionType = "INITIATE_CHECKOUT"
	ActionType_COMPLETE_ORDER             ActionType = "COMPLETE_ORDER"
	ActionType_DOWNLOAD_APP               ActionType = "DOWNLOAD_APP"
	ActionType_START_APP                  ActionType = "START_APP"
	ActionType_RATE                       ActionType = "RATE"
	ActionType_PAGE_VIEW                  ActionType = "PAGE_VIEW"
	ActionType_RESERVATION                ActionType = "RESERVATION"
	ActionType_SHARE                      ActionType = "SHARE"
	ActionType_APPLY                      ActionType = "APPLY"
	ActionType_CLAIM_OFFER                ActionType = "CLAIM_OFFER"
	ActionType_NAVIGATE                   ActionType = "NAVIGATE"
	ActionType_PRODUCT_RECOMMEND          ActionType = "PRODUCT_RECOMMEND"
	ActionType_VISIT_STORE                ActionType = "VISIT_STORE"
	ActionType_TRY_OUT                    ActionType = "TRY_OUT"
	ActionType_DELIVER                    ActionType = "DELIVER"
	ActionType_CONFIRM_EFFECTIVE_LEADS    ActionType = "CONFIRM_EFFECTIVE_LEADS"
	ActionType_CONFIRM_POTENTIAL_CUSTOMER ActionType = "CONFIRM_POTENTIAL_CUSTOMER"
	ActionType_CREATE_ROLE                ActionType = "CREATE_ROLE"
	ActionType_AUTHORIZE                  ActionType = "AUTHORIZE"
	ActionType_TUTORIAL_FINISH            ActionType = "TUTORIAL_FINISH"
	ActionType_SCANCODE                   ActionType = "SCANCODE"
	ActionType_ENTER_BACKGROUND           ActionType = "ENTER_BACKGROUND"
	ActionType_ENTER_FOREGROUND           ActionType = "ENTER_FOREGROUND"
	ActionType_TICKET                     ActionType = "TICKET"
	ActionType_LOGIN                      ActionType = "LOGIN"
	ActionType_QUEST                      ActionType = "QUEST"
	ActionType_UPDATE_LEVEL               ActionType = "UPDATE_LEVEL"
	ActionType_CREATE                     ActionType = "CREATE"
	ActionType_PAUSE                      ActionType = "PAUSE"
	ActionType_RESUME                     ActionType = "RESUME"
	ActionType_APP_QUIT                   ActionType = "APP_QUIT"
	ActionType_BIND_ACCOUNT               ActionType = "BIND_ACCOUNT"
	ActionType_ADD_PAYMENT                ActionType = "ADD_PAYMENT"
	ActionType_PRE_CREDIT                 ActionType = "PRE_CREDIT"
	ActionType_CREDIT                     ActionType = "CREDIT"
	ActionType_WITHDRAW_DEPOSITS          ActionType = "WITHDRAW_DEPOSITS"
	ActionType_LANDING_PAGE_CLICK         ActionType = "LANDING_PAGE_CLICK"
	ActionType_SELECT_COURSE              ActionType = "SELECT_COURSE"
	ActionType_RE_FUND                    ActionType = "RE_FUND"
	ActionType_PLATFORM_VIEW              ActionType = "PLATFORM_VIEW"
	ActionType_ONE_DAY_LEAVE              ActionType = "ONE_DAY_LEAVE"
	ActionType_PRODUCT_VIEW               ActionType = "PRODUCT_VIEW"
	ActionType_PURCHASE_MEMBER_CARD       ActionType = "PURCHASE_MEMBER_CARD"
	ActionType_ONLINE_CONSULT             ActionType = "ONLINE_CONSULT"
	ActionType_MAKE_PHONE_CALL            ActionType = "MAKE_PHONE_CALL"
	ActionType_AD_CLICK                   ActionType = "AD_CLICK"
	ActionType_AD_IMPRESSION              ActionType = "AD_IMPRESSION"
)

List of ActionType

type ActionsUserId

type ActionsUserId struct {
	HashImei      string `json:"hash_imei,omitempty"`
	HashIdfa      string `json:"hash_idfa,omitempty"`
	GdtOpenid     string `json:"gdt_openid,omitempty"`
	HashPhone     string `json:"hash_phone,omitempty"`
	Qaid          string `json:"qaid,omitempty"`
	HashAndroidId string `json:"hash_android_id,omitempty"`
	HashMac       string `json:"hash_mac,omitempty"`
	Oaid          string `json:"oaid,omitempty"`
	WechatOpenid  string `json:"wechat_openid,omitempty"`
	WechatUnionid string `json:"wechat_unionid,omitempty"`
	WechatAppId   string `json:"wechat_app_id,omitempty"`
}

用户标识,app数据上报时必填,web数据上报时可以不填user_id,但建议填写,方便后续优化

type Ad struct {
	AdName                  string             `json:"ad_name,omitempty"`
	Adcreative              *PreviewAdcreative `json:"adcreative,omitempty"`
	FeedsInteractionEnabled bool               `json:"feeds_interaction_enabled,omitempty"`
}

广告信息

type AdActionType added in v1.1.1

type AdActionType string

AdActionType : 人群报表行为类型

const (
	AdActionType_CLICK                    AdActionType = "CLICK"
	AdActionType_EXPOSURE                 AdActionType = "EXPOSURE"
	AdActionType_ORDER                    AdActionType = "ORDER"
	AdActionType_APP_FINISH_DOWNLOAD      AdActionType = "APP_FINISH_DOWNLOAD"
	AdActionType_APP_INSTALL              AdActionType = "APP_INSTALL"
	AdActionType_APP_ACTIVATE             AdActionType = "APP_ACTIVATE"
	AdActionType_REGISTRATION_APP         AdActionType = "REGISTRATION_APP"
	AdActionType_APP_ONE_DAY_RETENTION    AdActionType = "APP_ONE_DAY_RETENTION"
	AdActionType_ADD_TO_CART_APP          AdActionType = "ADD_TO_CART_APP"
	AdActionType_APP_PURCHASE             AdActionType = "APP_PURCHASE"
	AdActionType_APP_APPLY                AdActionType = "APP_APPLY"
	AdActionType_REGISTRATION_WEB         AdActionType = "REGISTRATION_WEB"
	AdActionType_ADD_TO_CART_WEB          AdActionType = "ADD_TO_CART_WEB"
	AdActionType_WEB_ONLINE_CONSULT       AdActionType = "WEB_ONLINE_CONSULT"
	AdActionType_WEB_MAKE_PHONE_CALL      AdActionType = "WEB_MAKE_PHONE_CALL"
	AdActionType_WEB_RESERVE_PHONE_NUMBER AdActionType = "WEB_RESERVE_PHONE_NUMBER"
	AdActionType_WEB_RESERVATION          AdActionType = "WEB_RESERVATION"
	AdActionType_APPLY_WEB                AdActionType = "APPLY_WEB"
	AdActionType_WEB_DELIVER              AdActionType = "WEB_DELIVER"
	AdActionType_PURCHASE_WEB             AdActionType = "PURCHASE_WEB"
	AdActionType_WEB_VIEW_COMMODITY_PAGE  AdActionType = "WEB_VIEW_COMMODITY_PAGE"
)

List of AdActionType

type AdCreativeBrand

type AdCreativeBrand struct {
	BrandName        string `json:"brand_name,omitempty"`
	BrandImg         string `json:"brand_img,omitempty"`
	BrandDescription string `json:"brand_description,omitempty"`
}

品牌形象

type AdCreativeCreateSpec added in v1.4.0

type AdCreativeCreateSpec struct {
	AdcreativeName     string                          `json:"adcreative_name,omitempty"`
	AdcreativeElements *DpAdcreativeCreativeElementsMp `json:"adcreative_elements,omitempty"`
	PageType           DpApiDestinationType            `json:"page_type,omitempty"`
	PageSpec           *DpPageSpec                     `json:"page_spec,omitempty"`
	ButtonTips         string                          `json:"button_tips,omitempty"`
	CouponTitle        string                          `json:"coupon_title,omitempty"`
}

广告创意结构

type AdCreativeEndPage

type AdCreativeEndPage struct {
	EndPageType string `json:"end_page_type,omitempty"`
	EndPageDesc string `json:"end_page_desc,omitempty"`
}

视频结束页

type AdCreativeGetSpec added in v1.4.0

type AdCreativeGetSpec struct {
	AdcreativeId       int64                           `json:"adcreative_id,omitempty"`
	AdcreativeName     string                          `json:"adcreative_name,omitempty"`
	AdcreativeElements *DpAdcreativeCreativeElementsMp `json:"adcreative_elements,omitempty"`
	PageType           DpApiDestinationType            `json:"page_type,omitempty"`
	PageSpec           *DpPageSpec                     `json:"page_spec,omitempty"`
}

拉取创意结构

type AdCreativeUpdateSpec added in v1.4.0

type AdCreativeUpdateSpec struct {
	AdcreativeName     string                          `json:"adcreative_name,omitempty"`
	AdcreativeElements *DpAdcreativeCreativeElementsMp `json:"adcreative_elements,omitempty"`
	PageSpec           *DpPageSpec                     `json:"page_spec,omitempty"`
	ButtonTips         string                          `json:"button_tips,omitempty"`
	CouponTitle        string                          `json:"coupon_title,omitempty"`
}

广告创意结构

type AdDiagnosisGetRequest

type AdDiagnosisGetRequest struct {
	AccountId     int64     `json:"account_id,omitempty"`
	AdgroupIdList *[]int64  `json:"adgroup_id_list,omitempty"`
	DetailFields  *[]string `json:"detail_fields,omitempty"`
}

type AdDiagnosisGetResponse

type AdDiagnosisGetResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *AdDiagnosisGetResponseData `json:"data,omitempty"`
}

type AdDiagnosisGetResponseData

type AdDiagnosisGetResponseData struct {
	List *[]BatchAdDiagnosisListItem `json:"list,omitempty"`
}

type AdGroupCreativeCombinationType

type AdGroupCreativeCombinationType string

AdGroupCreativeCombinationType : 广告类型,支持普通广告、集装箱广告和动态创意广告

const (
	AdGroupCreativeCombinationType_NORMAL   AdGroupCreativeCombinationType = "COMBINATION_TYPE_NORMAL"
	AdGroupCreativeCombinationType_CAROUSEL AdGroupCreativeCombinationType = "COMBINATION_TYPE_CAROUSEL"
	AdGroupCreativeCombinationType_DYNAMIC  AdGroupCreativeCombinationType = "COMBINATION_TYPE_DYNAMIC"
)

List of AdGroupCreativeCombinationType

type AdLockStatus

type AdLockStatus string

AdLockStatus : 锁定状态

const (
	AdLockStatus_LOCKED   AdLockStatus = "ADLOCKSTATUS_LOCKED"
	AdLockStatus_UNLOCKED AdLockStatus = "ADLOCKSTATUS_UNLOCKED"
)

List of AdLockStatus

type AdProduct

type AdProduct struct {
	ProductType   AudienceProductType `json:"product_type,omitempty"`
	ProductRefsId string              `json:"product_refs_id,omitempty"`
}

推广目标信息

type AdQualificationSharedStatus added in v1.4.0

type AdQualificationSharedStatus string

AdQualificationSharedStatus : 资质共享状态

const (
	AdQualificationSharedStatus_YES AdQualificationSharedStatus = "AD_QUALIFICATION_SHARED_YES"
	AdQualificationSharedStatus_NO  AdQualificationSharedStatus = "AD_QUALIFICATION_SHARED_NO"
)

List of AdQualificationSharedStatus

type AdQualificationsSpec

type AdQualificationsSpec struct {
	QualificationCode string    `json:"qualification_code,omitempty"`
	ImageIdList       *[]string `json:"image_id_list,omitempty"`
}

广告资质信息,当且仅当qualification_type=AD_QUALIFICATION时可填且必填

type AdQualificationsStruct

type AdQualificationsStruct struct {
	QualificationId     int64                       `json:"qualification_id,omitempty"`
	QualificationCode   string                      `json:"qualification_code,omitempty"`
	ImageIdList         *[]string                   `json:"image_id_list,omitempty"`
	QualificationStatus QualificationStatus         `json:"qualification_status,omitempty"`
	ExpiredDate         string                      `json:"expired_date,omitempty"`
	IsMdmShared         AdQualificationSharedStatus `json:"is_mdm_shared,omitempty"`
	RejectMessage       string                      `json:"reject_message,omitempty"`
	CreatedTime         int64                       `json:"created_time,omitempty"`
	LastModifiedTime    int64                       `json:"last_modified_time,omitempty"`
}

广告资质信息

type AdRuleSpec

type AdRuleSpec struct {
	RuleType       AdRuleType   `json:"rule_type,omitempty"`
	ConversionType *[]string    `json:"conversion_type,omitempty"`
	StartDate      string       `json:"start_date,omitempty"`
	EndDate        string       `json:"end_date,omitempty"`
	CampaignIdList *[]int64     `json:"campaign_id_list,omitempty"`
	ProductList    *[]AdProduct `json:"product_list,omitempty"`
	AdgroupIdList  *[]int64     `json:"adgroup_id_list,omitempty"`
}

广告人群信息

type AdRuleType

type AdRuleType string

AdRuleType : 广告行为类型

const (
	AdRuleType_EXPOSURE   AdRuleType = "EXPOSURE"
	AdRuleType_CLICK      AdRuleType = "CLICK"
	AdRuleType_CONVERSION AdRuleType = "CONVERSION"
)

List of AdRuleType

type AdStatus

type AdStatus string

AdStatus : 客户设置的状态

const (
	AdStatus_NORMAL   AdStatus = "AD_STATUS_NORMAL"
	AdStatus_SUSPEND  AdStatus = "AD_STATUS_SUSPEND"
	AdStatus_WITHDRAW AdStatus = "AD_STATUS_WITHDRAW"
	AdStatus_PENDING  AdStatus = "AD_STATUS_PENDING"
	AdStatus_DENIED   AdStatus = "AD_STATUS_DENIED"
	AdStatus_FROZEN   AdStatus = "AD_STATUS_FROZEN"
	AdStatus_PREPARE  AdStatus = "AD_STATUS_PREPARE"
	AdStatus_DELETED  AdStatus = "AD_STATUS_DELETED"
)

List of AdStatus

type Adcreative

type Adcreative struct {
	AdcreativeId           int64                           `json:"adcreative_id,omitempty"`
	AdcreativeName         string                          `json:"adcreative_name,omitempty"`
	CampaignId             int64                           `json:"campaign_id,omitempty"`
	PageType               PageTypeRead                    `json:"page_type,omitempty"`
	PageSpec               *PageSpec                       `json:"page_spec,omitempty"`
	SiteSet                *[]string                       `json:"site_set,omitempty"`
	PromotedObjectType     PromotedObjectType              `json:"promoted_object_type,omitempty"`
	PromotedObjectId       string                          `json:"promoted_object_id,omitempty"`
	CreatedTime            int64                           `json:"created_time,omitempty"`
	LastModifiedTime       int64                           `json:"last_modified_time,omitempty"`
	PlayablePageMaterialId string                          `json:"playable_page_material_id,omitempty"`
	VideoEndPage           *VideoEndPageSpec               `json:"video_end_page,omitempty"`
	AdcreativeTemplateId   int64                           `json:"adcreative_template_id,omitempty"`
	AdcreativeElements     *AdcreativeCreativeElementsRead `json:"adcreative_elements,omitempty"`
}

广告创意

type AdcreativeBannerContent

type AdcreativeBannerContent struct {
	Image string `json:"image,omitempty"`
	Title string `json:"title,omitempty"`
	Url   string `json:"url,omitempty"`
}

banner素材内容

type AdcreativeCardContent

type AdcreativeCardContent struct {
	Image       string `json:"image,omitempty"`
	Description string `json:"description,omitempty"`
	Url         string `json:"url,omitempty"`
}

卡片素材内容

type AdcreativeCorporate

type AdcreativeCorporate struct {
	CorporateName string `json:"corporate_name,omitempty"`
	CorporateImg  string `json:"corporate_img,omitempty"`
}

商标

type AdcreativeCreativeElements

type AdcreativeCreativeElements struct {
	Image                      string                             `json:"image,omitempty"`
	Image2                     string                             `json:"image2,omitempty"`
	Image3                     string                             `json:"image3,omitempty"`
	Title                      string                             `json:"title,omitempty"`
	Description                string                             `json:"description,omitempty"`
	Corporate                  *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                      string                             `json:"video,omitempty"`
	LinkNameType               LinkNameType                       `json:"link_name_type,omitempty"`
	ImageList                  *[]string                          `json:"image_list,omitempty"`
	ElementStory               *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	Url                        string                             `json:"url,omitempty"`
	ButtonText                 string                             `json:"button_text,omitempty"`
	BottomText                 string                             `json:"bottom_text,omitempty"`
	Label                      *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                *[]string                          `json:"product_tags,omitempty"`
	LogoDescription            string                             `json:"logo_description,omitempty"`
	LeftBottomTxt              string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect            string                             `json:"animation_effect,omitempty"`
	Phone                      string                             `json:"phone,omitempty"`
	ShortVideoStruct           *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	LongVideoStruct            *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent              *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                *AdcreativeCardContent             `json:"card_content,omitempty"`
	VideoPopupButton           *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	Brand                      *AdCreativeBrand                   `json:"brand,omitempty"`
	Caption                    string                             `json:"caption,omitempty"`
	LabelledImg                *AdcreativeLabelledImg             `json:"labelled_img,omitempty"`
	FullScreenImage            string                             `json:"full_screen_image,omitempty"`
	ZipUrl                     string                             `json:"zip_url,omitempty"`
	EndPage                    *AdCreativeEndPage                 `json:"end_page,omitempty"`
	CountdownExpiringTimestamp int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

创意元素

type AdcreativeCreativeElementsMp

type AdcreativeCreativeElementsMp struct {
	Image                      string                             `json:"image,omitempty"`
	Image2                     string                             `json:"image2,omitempty"`
	Image3                     string                             `json:"image3,omitempty"`
	Title                      string                             `json:"title,omitempty"`
	Description                string                             `json:"description,omitempty"`
	Corporate                  *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                      string                             `json:"video,omitempty"`
	LinkNameType               LinkNameTypeMp                     `json:"link_name_type,omitempty"`
	ImageList                  *[]string                          `json:"image_list,omitempty"`
	ElementStory               *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	Url                        string                             `json:"url,omitempty"`
	ButtonText                 string                             `json:"button_text,omitempty"`
	BottomText                 string                             `json:"bottom_text,omitempty"`
	Label                      *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                *[]string                          `json:"product_tags,omitempty"`
	LogoDescription            string                             `json:"logo_description,omitempty"`
	LeftBottomTxt              string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect            string                             `json:"animation_effect,omitempty"`
	Phone                      string                             `json:"phone,omitempty"`
	ShortVideoStruct           *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	LongVideoStruct            *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent              *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                *AdcreativeCardContent             `json:"card_content,omitempty"`
	VideoPopupButton           *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	Brand                      *AdCreativeBrand                   `json:"brand,omitempty"`
	Caption                    string                             `json:"caption,omitempty"`
	LabelledImg                *AdcreativeLabelledImg             `json:"labelled_img,omitempty"`
	FullScreenImage            string                             `json:"full_screen_image,omitempty"`
	ZipUrl                     string                             `json:"zip_url,omitempty"`
	EndPage                    *AdCreativeEndPage                 `json:"end_page,omitempty"`
	CountdownExpiringTimestamp int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

创意元素

type AdcreativeCreativeElementsRead

type AdcreativeCreativeElementsRead struct {
	Image                         string                             `json:"image,omitempty"`
	Image2                        string                             `json:"image2,omitempty"`
	Image3                        string                             `json:"image3,omitempty"`
	Title                         string                             `json:"title,omitempty"`
	Description                   string                             `json:"description,omitempty"`
	Corporate                     *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                         string                             `json:"video,omitempty"`
	LinkNameType                  LinkNameType                       `json:"link_name_type,omitempty"`
	ImageList                     *[]string                          `json:"image_list,omitempty"`
	ElementStory                  *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	MultiShareOptimizationEnabled bool                               `json:"multi_share_optimization_enabled,omitempty"`
	Url                           string                             `json:"url,omitempty"`
	ButtonText                    string                             `json:"button_text,omitempty"`
	BottomText                    string                             `json:"bottom_text,omitempty"`
	Label                         *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                   *[]string                          `json:"product_tags,omitempty"`
	LogoDescription               string                             `json:"logo_description,omitempty"`
	LeftButton                    string                             `json:"left_button,omitempty"`
	RightButton                   string                             `json:"right_button,omitempty"`
	LeftBottomTxt                 string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect               string                             `json:"animation_effect,omitempty"`
	Phone                         string                             `json:"phone,omitempty"`
	Caption                       string                             `json:"caption,omitempty"`
	LogoPage                      *AdcreativeLogoPage                `json:"logo_page,omitempty"`
	VideoPopupUrl                 string                             `json:"video_popup_url,omitempty"`
	VideoPopupButton              *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	VideoPopupButtonText          string                             `json:"video_popup_button_text,omitempty"`
	VideoPopupButtonUrl           string                             `json:"video_popup_button_url,omitempty"`
	LongVideo1                    string                             `json:"long_video1,omitempty"`
	LongVideo2                    string                             `json:"long_video2,omitempty"`
	ShortVideoStruct              *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	QzoneVideoPageId              string                             `json:"qzone_video_page_id,omitempty"`
	Qq                            string                             `json:"qq,omitempty"`
	LeftCanvas                    string                             `json:"left_canvas,omitempty"`
	RightCanvas                   string                             `json:"right_canvas,omitempty"`
	SunText                       string                             `json:"sun_text,omitempty"`
	CloudText                     string                             `json:"cloud_text,omitempty"`
	OvercastText                  string                             `json:"overcast_text,omitempty"`
	RainText                      string                             `json:"rain_text,omitempty"`
	SnowText                      string                             `json:"snow_text,omitempty"`
	FogText                       string                             `json:"fog_text,omitempty"`
	SandText                      string                             `json:"sand_text,omitempty"`
	HazeText                      string                             `json:"haze_text,omitempty"`
	LabelledImg                   *AdcreativeLabelledImg             `json:"labelled_img,omitempty"`
	ShareImg                      string                             `json:"share_img,omitempty"`
	LongVideoStruct               *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent                 *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                   *AdcreativeCardContent             `json:"card_content,omitempty"`
	Brand                         *AdCreativeBrand                   `json:"brand,omitempty"`
	FullScreenImage               string                             `json:"full_screen_image,omitempty"`
	ZipUrl                        string                             `json:"zip_url,omitempty"`
	EndPage                       *AdCreativeEndPage                 `json:"end_page,omitempty"`
	CountdownExpiringTimestamp    int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

创意元素

type AdcreativeCreativeElementsReadMp

type AdcreativeCreativeElementsReadMp struct {
	Image                         string                             `json:"image,omitempty"`
	Image2                        string                             `json:"image2,omitempty"`
	Image3                        string                             `json:"image3,omitempty"`
	Title                         string                             `json:"title,omitempty"`
	Description                   string                             `json:"description,omitempty"`
	Corporate                     *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                         string                             `json:"video,omitempty"`
	LinkNameType                  LinkNameTypeMp                     `json:"link_name_type,omitempty"`
	ImageList                     *[]string                          `json:"image_list,omitempty"`
	ElementStory                  *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	MultiShareOptimizationEnabled bool                               `json:"multi_share_optimization_enabled,omitempty"`
	Url                           string                             `json:"url,omitempty"`
	ButtonText                    string                             `json:"button_text,omitempty"`
	BottomText                    string                             `json:"bottom_text,omitempty"`
	Label                         *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                   *[]string                          `json:"product_tags,omitempty"`
	LogoDescription               string                             `json:"logo_description,omitempty"`
	LeftButton                    string                             `json:"left_button,omitempty"`
	RightButton                   string                             `json:"right_button,omitempty"`
	LeftBottomTxt                 string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect               string                             `json:"animation_effect,omitempty"`
	Phone                         string                             `json:"phone,omitempty"`
	Caption                       string                             `json:"caption,omitempty"`
	LogoPage                      *AdcreativeLogoPage                `json:"logo_page,omitempty"`
	VideoPopupUrl                 string                             `json:"video_popup_url,omitempty"`
	VideoPopupButton              *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	VideoPopupButtonText          string                             `json:"video_popup_button_text,omitempty"`
	VideoPopupButtonUrl           string                             `json:"video_popup_button_url,omitempty"`
	LongVideo1                    string                             `json:"long_video1,omitempty"`
	LongVideo2                    string                             `json:"long_video2,omitempty"`
	ShortVideoStruct              *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	QzoneVideoPageId              string                             `json:"qzone_video_page_id,omitempty"`
	Qq                            string                             `json:"qq,omitempty"`
	LeftCanvas                    string                             `json:"left_canvas,omitempty"`
	RightCanvas                   string                             `json:"right_canvas,omitempty"`
	SunText                       string                             `json:"sun_text,omitempty"`
	CloudText                     string                             `json:"cloud_text,omitempty"`
	OvercastText                  string                             `json:"overcast_text,omitempty"`
	RainText                      string                             `json:"rain_text,omitempty"`
	SnowText                      string                             `json:"snow_text,omitempty"`
	FogText                       string                             `json:"fog_text,omitempty"`
	SandText                      string                             `json:"sand_text,omitempty"`
	HazeText                      string                             `json:"haze_text,omitempty"`
	LabelledImg                   *AdcreativeLabelledImg             `json:"labelled_img,omitempty"`
	ShareImg                      string                             `json:"share_img,omitempty"`
	LongVideoStruct               *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent                 *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                   *AdcreativeCardContent             `json:"card_content,omitempty"`
	Brand                         *AdCreativeBrand                   `json:"brand,omitempty"`
	FullScreenImage               string                             `json:"full_screen_image,omitempty"`
	ZipUrl                        string                             `json:"zip_url,omitempty"`
	EndPage                       *AdCreativeEndPage                 `json:"end_page,omitempty"`
	CountdownExpiringTimestamp    int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

创意元素

type AdcreativeCreativeElementsWithOptions

type AdcreativeCreativeElementsWithOptions struct {
	Image                      string                             `json:"image,omitempty"`
	Image2                     string                             `json:"image2,omitempty"`
	Image3                     string                             `json:"image3,omitempty"`
	Title                      string                             `json:"title,omitempty"`
	Description                string                             `json:"description,omitempty"`
	Corporate                  *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                      string                             `json:"video,omitempty"`
	ImageOptions               *[]string                          `json:"image_options,omitempty"`
	TitleOptions               *[]string                          `json:"title_options,omitempty"`
	DescriptionOptions         *[]string                          `json:"description_options,omitempty"`
	VideoOptions               *[]string                          `json:"video_options,omitempty"`
	LinkNameType               LinkNameTypeMp                     `json:"link_name_type,omitempty"`
	ImageList                  *[]string                          `json:"image_list,omitempty"`
	ElementStory               *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	Url                        string                             `json:"url,omitempty"`
	ButtonText                 string                             `json:"button_text,omitempty"`
	BottomText                 string                             `json:"bottom_text,omitempty"`
	MiniProgramId              string                             `json:"mini_program_id,omitempty"`
	MiniProgramPath            string                             `json:"mini_program_path,omitempty"`
	Label                      *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                *[]string                          `json:"product_tags,omitempty"`
	LogoDescription            string                             `json:"logo_description,omitempty"`
	LeftBottomTxt              string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect            string                             `json:"animation_effect,omitempty"`
	Phone                      string                             `json:"phone,omitempty"`
	ShortVideoStruct           *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	LongVideoStruct            *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent              *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                *AdcreativeCardContent             `json:"card_content,omitempty"`
	VideoPopupUrl              string                             `json:"video_popup_url,omitempty"`
	VideoPopupButton           *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	Brand                      *AdCreativeBrand                   `json:"brand,omitempty"`
	Caption                    string                             `json:"caption,omitempty"`
	LabelledImg                *AdcreativeLabelledImg             `json:"labelled_img,omitempty"`
	FullScreenImage            string                             `json:"full_screen_image,omitempty"`
	ZipUrl                     string                             `json:"zip_url,omitempty"`
	EndPage                    *AdCreativeEndPage                 `json:"end_page,omitempty"`
	CountdownExpiringTimestamp int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

创意元素

type AdcreativeElement

type AdcreativeElement struct {
	Name           string                           `json:"name,omitempty"`
	ElementType    ElementType                      `json:"element_type,omitempty"`
	FieldType      FieldType                        `json:"field_type,omitempty"`
	Required       bool                             `json:"required,omitempty"`
	Description    string                           `json:"description,omitempty"`
	ParentName     string                           `json:"parent_name,omitempty"`
	EnumProperty   *AdcreativeElementEnumProperty   `json:"enum_property,omitempty"`
	ArrayProperty  *AdcreativeElementArrayProperty  `json:"array_property,omitempty"`
	StructProperty *AdcreativeElementStructProperty `json:"struct_property,omitempty"`
	Restriction    *AdcreativeElementRestriction    `json:"restriction,omitempty"`
}

广告创意元素

type AdcreativeElementArrayProperty

type AdcreativeElementArrayProperty struct {
	MinNumber int64 `json:"min_number,omitempty"`
	MaxNumber int64 `json:"max_number,omitempty"`
}

广告创意元素数组特性

type AdcreativeElementEnumOption

type AdcreativeElementEnumOption struct {
	Value       string `json:"value,omitempty"`
	Description string `json:"description,omitempty"`
}

创意元素枚举可选值结构体

type AdcreativeElementEnumProperty

type AdcreativeElementEnumProperty struct {
	Default_    string                         `json:"default,omitempty"`
	Enumeration *[]AdcreativeElementEnumOption `json:"enumeration,omitempty"`
}

广告创意元素枚举值特性

type AdcreativeElementRestriction

type AdcreativeElementRestriction struct {
	TextRestriction   *TextRestriction   `json:"text_restriction,omitempty"`
	ImageRestriction  *ImageRestriction  `json:"image_restriction,omitempty"`
	UrlRestriction    *UrlRestriction    `json:"url_restriction,omitempty"`
	VideoRestriction  *VideoRestriction  `json:"video_restriction,omitempty"`
	NumberRestriction *NumberRestriction `json:"number_restriction,omitempty"`
}

广告创意元素需满足的限制条件

type AdcreativeElementStoryArrayItem

type AdcreativeElementStoryArrayItem struct {
	Image       string `json:"image,omitempty"`
	Image2      string `json:"image2,omitempty"`
	Description string `json:"description,omitempty"`
	Url         string `json:"url,omitempty"`
	Title       string `json:"title,omitempty"`
}

素材

type AdcreativeElementStructProperty

type AdcreativeElementStructProperty struct {
	ElementMutualExclusive bool `json:"element_mutual_exclusive,omitempty"`
}

广告创意元素结构体特性

type AdcreativeLabel

type AdcreativeLabel struct {
	CoordinateX    int64          `json:"coordinate_x,omitempty"`
	CoordinateY    int64          `json:"coordinate_y,omitempty"`
	Direction      LableDirection `json:"direction,omitempty"`
	Content        string         `json:"content,omitempty"`
	LandingPageUrl string         `json:"landing_page_url,omitempty"`
}

标签

type AdcreativeLabelledImg

type AdcreativeLabelledImg struct {
	Image string             `json:"image,omitempty"`
	Label *[]AdcreativeLabel `json:"label,omitempty"`
}

标签图片

type AdcreativeLogoPage

type AdcreativeLogoPage struct {
	Image string `json:"image,omitempty"`
}

logo页

type AdcreativeMiniProgramSpec

type AdcreativeMiniProgramSpec struct {
	MiniProgramId   string `json:"mini_program_id,omitempty"`
	MiniProgramPath string `json:"mini_program_path,omitempty"`
}

小程序落地页,mini_program_id和mini_program_path要同时填写

type AdcreativeMyappLandingPageInfo

type AdcreativeMyappLandingPageInfo struct {
	MyappPageId string `json:"myapp_page_id,omitempty"`
	Url         string `json:"url,omitempty"`
}

落地页

type AdcreativePreviewSpec

type AdcreativePreviewSpec struct {
	AdcreativeTemplateId int64                       `json:"adcreative_template_id,omitempty"`
	SiteSet              *[]string                   `json:"site_set,omitempty"`
	PromotedObjectType   WechatPromotedObjectType    `json:"promoted_object_type,omitempty"`
	AdcreativeElements   *AdcreativeCreativeElements `json:"adcreative_elements,omitempty"`
	PromotedObjectId     string                      `json:"promoted_object_id,omitempty"`
	PageType             DestinationType             `json:"page_type,omitempty"`
	PageSpec             *PreviewPageSpec            `json:"page_spec,omitempty"`
}

预览信息

type AdcreativePreviewsAddRequest

type AdcreativePreviewsAddRequest struct {
	AdgroupId  int64        `json:"adgroup_id,omitempty"`
	CampaignId int64        `json:"campaign_id,omitempty"`
	UserIdType ViewerIdType `json:"user_id_type,omitempty"`
	UserIdList *[]string    `json:"user_id_list,omitempty"`
	AccountId  int64        `json:"account_id,omitempty"`
}

type AdcreativePreviewsAddResponse

type AdcreativePreviewsAddResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type AdcreativePreviewsGetListStruct

type AdcreativePreviewsGetListStruct struct {
	UserId     string       `json:"user_id,omitempty"`
	UserIdType ViewerIdType `json:"user_id_type,omitempty"`
}

返回结构

type AdcreativePreviewsGetResponse

type AdcreativePreviewsGetResponse struct {
	Code      int64                              `json:"code,omitempty"`
	Message   string                             `json:"message,omitempty"`
	MessageCn string                             `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                  `json:"errors,omitempty"`
	Data      *AdcreativePreviewsGetResponseData `json:"data,omitempty"`
}

type AdcreativePreviewsGetResponseData

type AdcreativePreviewsGetResponseData struct {
	List *[]AdcreativePreviewsGetListStruct `json:"list,omitempty"`
}

type AdcreativeSampleImage

type AdcreativeSampleImage struct {
	Name  string `json:"name,omitempty"`
	Thumb string `json:"thumb,omitempty"`
	Image string `json:"image,omitempty"`
}

创意规格示意图结构

type AdcreativeTemplateDetailGetAdcreativeTemplateListStruct added in v1.3.0

type AdcreativeTemplateDetailGetAdcreativeTemplateListStruct struct {
	AdcreativeTemplateId                  int64                          `json:"adcreative_template_id,omitempty"`
	AdcreativeTemplateName                string                         `json:"adcreative_template_name,omitempty"`
	AdcreativeTemplateDescription         string                         `json:"adcreative_template_description,omitempty"`
	AdcreativeTemplateSize                string                         `json:"adcreative_template_size,omitempty"`
	AdcreativeTemplateStyle               string                         `json:"adcreative_template_style,omitempty"`
	AdcreativeSampleImageList             *[]AdcreativeSampleImage       `json:"adcreative_sample_image_list,omitempty"`
	AdAttributes                          *[]AdcreativeElement           `json:"ad_attributes,omitempty"`
	AdcreativeAttributes                  *[]AdcreativeElement           `json:"adcreative_attributes,omitempty"`
	AdcreativeElements                    *[]AdcreativeElement           `json:"adcreative_elements,omitempty"`
	SupportBillingSpecList                *[]SupportBillingSpec          `json:"support_billing_spec_list,omitempty"`
	SupportPageType                       *[]string                      `json:"support_page_type,omitempty"`
	UnsupportBillingSpecList              *[]UnsupportBillingSpec        `json:"unsupport_billing_spec_list,omitempty"`
	UnsupportAdAttributesSpecList         *[]UnsupportSpec               `json:"unsupport_ad_attributes_spec_list,omitempty"`
	UnsupportAdcreativeAttributesSpecList *[]UnsupportSpec               `json:"unsupport_adcreative_attributes_spec_list,omitempty"`
	UnsupportSitesetDetailSpec            *[]UnsupportSite               `json:"unsupport_siteset_detail_spec,omitempty"`
	SupportDynamicAbilitySpecList         *SupportDynamicAbilitySpecList `json:"support_dynamic_ability_spec_list,omitempty"`
	SupportBidModeList                    *[]string                      `json:"support_bid_mode_list,omitempty"`
	UnsupportBidModeList                  *[]UnsupportBidModeStruct      `json:"unsupport_bid_mode_list,omitempty"`
}

创意规格和投放权限数据结构

type AdcreativeTemplateDetailGetResponse

type AdcreativeTemplateDetailGetResponse struct {
	Code      int64                                    `json:"code,omitempty"`
	Message   string                                   `json:"message,omitempty"`
	MessageCn string                                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                        `json:"errors,omitempty"`
	Data      *AdcreativeTemplateDetailGetResponseData `json:"data,omitempty"`
}

type AdcreativeTemplateDetailGetResponseData

type AdcreativeTemplateDetailGetResponseData struct {
	List *[]AdcreativeTemplateDetailGetAdcreativeTemplateListStruct `json:"list,omitempty"`
}

type AdcreativeTemplatePreviewGetRequest

type AdcreativeTemplatePreviewGetRequest struct {
	PreviewSpec *AdcreativePreviewSpec `json:"preview_spec,omitempty"`
	AccountId   int64                  `json:"account_id,omitempty"`
}

type AdcreativeTemplatePreviewGetResponse

type AdcreativeTemplatePreviewGetResponse struct {
	Code      int64                                     `json:"code,omitempty"`
	Message   string                                    `json:"message,omitempty"`
	MessageCn string                                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                         `json:"errors,omitempty"`
	Data      *AdcreativeTemplatePreviewGetResponseData `json:"data,omitempty"`
}

type AdcreativeTemplatePreviewGetResponseData

type AdcreativeTemplatePreviewGetResponseData struct {
	PreviewUrl string `json:"preview_url,omitempty"`
}

type AdcreativeTemplatePreviewsGetRequest

type AdcreativeTemplatePreviewsGetRequest struct {
	AdgroupId int64    `json:"adgroup_id,omitempty"`
	AdIdList  *[]int64 `json:"ad_id_list,omitempty"`
	Adgroup   *Adgroup `json:"adgroup,omitempty"`
	AdList    *[]Ad    `json:"ad_list,omitempty"`
	AccountId int64    `json:"account_id,omitempty"`
}

type AdcreativeTemplatePreviewsGetResponse

type AdcreativeTemplatePreviewsGetResponse struct {
	Code      int64                                      `json:"code,omitempty"`
	Message   string                                     `json:"message,omitempty"`
	MessageCn string                                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                          `json:"errors,omitempty"`
	Data      *AdcreativeTemplatePreviewsGetResponseData `json:"data,omitempty"`
}

type AdcreativeTemplatePreviewsGetResponseData

type AdcreativeTemplatePreviewsGetResponseData struct {
	PreviewUrl string `json:"preview_url,omitempty"`
}

type AdcreativeTemplatesGetAdcreativeTemplateListStruct added in v1.3.0

type AdcreativeTemplatesGetAdcreativeTemplateListStruct struct {
	AdcreativeTemplateId          int64                          `json:"adcreative_template_id,omitempty"`
	AdcreativeTemplateName        string                         `json:"adcreative_template_name,omitempty"`
	AdcreativeTemplateDescription string                         `json:"adcreative_template_description,omitempty"`
	AdcreativeTemplateSize        string                         `json:"adcreative_template_size,omitempty"`
	AdcreativeTemplateStyle       string                         `json:"adcreative_template_style,omitempty"`
	AdcreativeTemplateAppellation string                         `json:"adcreative_template_appellation,omitempty"`
	SiteSet                       SiteSetDefinition              `json:"site_set,omitempty"`
	PromotedObjectType            PromotedObjectTypeWithoutJd    `json:"promoted_object_type,omitempty"`
	AdcreativeSampleImageList     *[]AdcreativeSampleImage       `json:"adcreative_sample_image_list,omitempty"`
	AdAttributes                  *[]AdcreativeElement           `json:"ad_attributes,omitempty"`
	AdcreativeAttributes          *[]AdcreativeElement           `json:"adcreative_attributes,omitempty"`
	AdcreativeElements            *[]AdcreativeElement           `json:"adcreative_elements,omitempty"`
	SupportPageType               *[]string                      `json:"support_page_type,omitempty"`
	SupportBillingSpecList        *[]SupportBillingSpec          `json:"support_billing_spec_list,omitempty"`
	SupportDynamicAbilitySpecList *SupportDynamicAbilitySpecList `json:"support_dynamic_ability_spec_list,omitempty"`
	SupportBidModeList            *[]string                      `json:"support_bid_mode_list,omitempty"`
}

创意形式和投放权限数据结构

type AdcreativeTemplatesGetResponse

type AdcreativeTemplatesGetResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *AdcreativeTemplatesGetResponseData `json:"data,omitempty"`
}

type AdcreativeTemplatesGetResponseData

type AdcreativeTemplatesGetResponseData struct {
	List     *[]AdcreativeTemplatesGetAdcreativeTemplateListStruct `json:"list,omitempty"`
	PageInfo *Conf                                                 `json:"page_info,omitempty"`
}

type AdcreativeVideoPopupButton

type AdcreativeVideoPopupButton struct {
	VideoPopupButtonText string `json:"video_popup_button_text,omitempty"`
	VideoPopupButtonUrl  string `json:"video_popup_button_url,omitempty"`
}

视频浮层按钮信息

type AdcreativesAddRequest

type AdcreativesAddRequest struct {
	CampaignId                    int64                         `json:"campaign_id,omitempty"`
	AdcreativeName                string                        `json:"adcreative_name,omitempty"`
	PromotedObjectType            PromotedObjectType            `json:"promoted_object_type,omitempty"`
	PageType                      DestinationType               `json:"page_type,omitempty"`
	AutomaticSiteEnabled          bool                          `json:"automatic_site_enabled,omitempty"`
	SiteSet                       *[]string                     `json:"site_set,omitempty"`
	PageSpec                      *PageSpec                     `json:"page_spec,omitempty"`
	LinkPageType                  LinkPageType                  `json:"link_page_type,omitempty"`
	LinkNameType                  LinkNameTypeMp                `json:"link_name_type,omitempty"`
	LinkPageSpec                  *LinkPageSpec                 `json:"link_page_spec,omitempty"`
	ConversionDataType            ConversionDataType            `json:"conversion_data_type,omitempty"`
	ConversionTargetType          ConversionTargetType          `json:"conversion_target_type,omitempty"`
	QqMiniGameTrackingQueryString string                        `json:"qq_mini_game_tracking_query_string,omitempty"`
	DeepLinkUrl                   string                        `json:"deep_link_url,omitempty"`
	AndroidDeepLinkAppId          string                        `json:"android_deep_link_app_id,omitempty"`
	IosDeepLinkAppId              string                        `json:"ios_deep_link_app_id,omitempty"`
	UniversalLinkUrl              string                        `json:"universal_link_url,omitempty"`
	PromotedObjectId              string                        `json:"promoted_object_id,omitempty"`
	ProfileId                     int64                         `json:"profile_id,omitempty"`
	ShareContentSpec              *ShareContentSpec             `json:"share_content_spec,omitempty"`
	DynamicAdcreativeSpec         *DynamicAdcreativeSpec        `json:"dynamic_adcreative_spec,omitempty"`
	MultiShareOptimizationEnabled bool                          `json:"multi_share_optimization_enabled,omitempty"`
	ComponentId                   int64                         `json:"component_id,omitempty"`
	Category                      *[]int64                      `json:"category,omitempty"`
	Label                         *[]string                     `json:"label,omitempty"`
	UnionMarketSwitch             bool                          `json:"union_market_switch,omitempty"`
	PlayablePageMaterialId        string                        `json:"playable_page_material_id,omitempty"`
	VideoEndPage                  *VideoEndPageSpec             `json:"video_end_page,omitempty"`
	FeedsVideoCommentSwitch       bool                          `json:"feeds_video_comment_switch,omitempty"`
	WebviewUrl                    string                        `json:"webview_url,omitempty"`
	SimpleCanvasSubType           SimpleCanvasSubType           `json:"simple_canvas_sub_type,omitempty"`
	FloatingZone                  *FloatingZone                 `json:"floating_zone,omitempty"`
	MarketingPendantImageId       string                        `json:"marketing_pendant_image_id,omitempty"`
	CountdownSwitch               bool                          `json:"countdown_switch,omitempty"`
	AccountId                     int64                         `json:"account_id,omitempty"`
	AdcreativeTemplateId          int64                         `json:"adcreative_template_id,omitempty"`
	AdcreativeElements            *AdcreativeCreativeElementsMp `json:"adcreative_elements,omitempty"`
}

type AdcreativesAddResponse

type AdcreativesAddResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *AdcreativesAddResponseData `json:"data,omitempty"`
}

type AdcreativesAddResponseData

type AdcreativesAddResponseData struct {
	AdcreativeId int64 `json:"adcreative_id,omitempty"`
}

type AdcreativesDeleteRequest

type AdcreativesDeleteRequest struct {
	AdcreativeId int64 `json:"adcreative_id,omitempty"`
	AccountId    int64 `json:"account_id,omitempty"`
}

type AdcreativesDeleteResponse

type AdcreativesDeleteResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *AdcreativesDeleteResponseData `json:"data,omitempty"`
}

type AdcreativesDeleteResponseData

type AdcreativesDeleteResponseData struct {
	AdcreativeId int64 `json:"adcreative_id,omitempty"`
}

type AdcreativesGetListStruct

type AdcreativesGetListStruct struct {
	CampaignId                    int64                             `json:"campaign_id,omitempty"`
	AdcreativeId                  int64                             `json:"adcreative_id,omitempty"`
	OuterAdcreativeId             int64                             `json:"outer_adcreative_id,omitempty"`
	AdcreativeName                string                            `json:"adcreative_name,omitempty"`
	PageType                      PageTypeRead                      `json:"page_type,omitempty"`
	PageSpec                      *PageSpec                         `json:"page_spec,omitempty"`
	LinkPageType                  LinkPageType                      `json:"link_page_type,omitempty"`
	LinkNameType                  LinkNameTypeMp                    `json:"link_name_type,omitempty"`
	LinkPageSpec                  *LinkPageSpec                     `json:"link_page_spec,omitempty"`
	ConversionDataType            ConversionDataType                `json:"conversion_data_type,omitempty"`
	ConversionTargetType          ConversionTargetType              `json:"conversion_target_type,omitempty"`
	QqMiniGameTrackingQueryString string                            `json:"qq_mini_game_tracking_query_string,omitempty"`
	DeepLinkUrl                   string                            `json:"deep_link_url,omitempty"`
	AndroidDeepLinkAppId          string                            `json:"android_deep_link_app_id,omitempty"`
	IosDeepLinkAppId              string                            `json:"ios_deep_link_app_id,omitempty"`
	UniversalLinkUrl              string                            `json:"universal_link_url,omitempty"`
	SiteSet                       *[]string                         `json:"site_set,omitempty"`
	AutomaticSiteEnabled          bool                              `json:"automatic_site_enabled,omitempty"`
	PromotedObjectType            PromotedObjectType                `json:"promoted_object_type,omitempty"`
	PromotedObjectId              string                            `json:"promoted_object_id,omitempty"`
	ProfileId                     int64                             `json:"profile_id,omitempty"`
	CreatedTime                   int64                             `json:"created_time,omitempty"`
	LastModifiedTime              int64                             `json:"last_modified_time,omitempty"`
	ShareContentSpec              *ShareContentSpec                 `json:"share_content_spec,omitempty"`
	DynamicAdcreativeSpec         *DynamicAdcreativeSpec            `json:"dynamic_adcreative_spec,omitempty"`
	IsDeleted                     bool                              `json:"is_deleted,omitempty"`
	IsDynamicCreative             bool                              `json:"is_dynamic_creative,omitempty"`
	MultiShareOptimizationEnabled bool                              `json:"multi_share_optimization_enabled,omitempty"`
	ComponentId                   int64                             `json:"component_id,omitempty"`
	OnlineEnabled                 bool                              `json:"online_enabled,omitempty"`
	RevisedAdcreativeSpec         *RevisedAdcreativeSpec            `json:"revised_adcreative_spec,omitempty"`
	Category                      *[]int64                          `json:"category,omitempty"`
	Label                         *[]string                         `json:"label,omitempty"`
	UnionMarketSwitch             bool                              `json:"union_market_switch,omitempty"`
	PlayablePageMaterialId        string                            `json:"playable_page_material_id,omitempty"`
	VideoEndPage                  *VideoEndPageSpec                 `json:"video_end_page,omitempty"`
	FeedsVideoCommentSwitch       bool                              `json:"feeds_video_comment_switch,omitempty"`
	WebviewUrl                    string                            `json:"webview_url,omitempty"`
	SimpleCanvasSubType           SimpleCanvasSubType               `json:"simple_canvas_sub_type,omitempty"`
	FloatingZone                  *FloatingZone                     `json:"floating_zone,omitempty"`
	MarketingPendantImageId       string                            `json:"marketing_pendant_image_id,omitempty"`
	CountdownSwitch               bool                              `json:"countdown_switch,omitempty"`
	AdcreativeTemplateId          int64                             `json:"adcreative_template_id,omitempty"`
	AdcreativeElements            *AdcreativeCreativeElementsReadMp `json:"adcreative_elements,omitempty"`
}

返回结构

type AdcreativesGetResponse

type AdcreativesGetResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *AdcreativesGetResponseData `json:"data,omitempty"`
}

type AdcreativesGetResponseData

type AdcreativesGetResponseData struct {
	List     *[]AdcreativesGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500            `json:"page_info,omitempty"`
}

type AdcreativesRelatedCapabilityGetResponse

type AdcreativesRelatedCapabilityGetResponse struct {
	Code      int64                                        `json:"code,omitempty"`
	Message   string                                       `json:"message,omitempty"`
	MessageCn string                                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                            `json:"errors,omitempty"`
	Data      *AdcreativesRelatedCapabilityGetResponseData `json:"data,omitempty"`
}

type AdcreativesRelatedCapabilityGetResponseData

type AdcreativesRelatedCapabilityGetResponseData struct {
	QueryResult bool `json:"query_result,omitempty"`
}

type AdcreativesUpdateRequest

type AdcreativesUpdateRequest struct {
	AdcreativeId                  int64                         `json:"adcreative_id,omitempty"`
	AdcreativeName                string                        `json:"adcreative_name,omitempty"`
	PageType                      DestinationType               `json:"page_type,omitempty"`
	PageSpec                      *PageSpec                     `json:"page_spec,omitempty"`
	LinkPageType                  LinkPageType                  `json:"link_page_type,omitempty"`
	LinkNameType                  LinkNameTypeMp                `json:"link_name_type,omitempty"`
	LinkPageSpec                  *LinkPageSpec                 `json:"link_page_spec,omitempty"`
	ConversionDataType            ConversionDataType            `json:"conversion_data_type,omitempty"`
	ConversionTargetType          ConversionTargetType          `json:"conversion_target_type,omitempty"`
	QqMiniGameTrackingQueryString *string                       `json:"qq_mini_game_tracking_query_string,omitempty"`
	DeepLinkUrl                   *string                       `json:"deep_link_url,omitempty"`
	AndroidDeepLinkAppId          *string                       `json:"android_deep_link_app_id,omitempty"`
	IosDeepLinkAppId              *string                       `json:"ios_deep_link_app_id,omitempty"`
	UniversalLinkUrl              *string                       `json:"universal_link_url,omitempty"`
	ShareContentSpec              *ShareContentSpec             `json:"share_content_spec,omitempty"`
	MultiShareOptimizationEnabled bool                          `json:"multi_share_optimization_enabled,omitempty"`
	ProfileId                     int64                         `json:"profile_id,omitempty"`
	ComponentId                   int64                         `json:"component_id,omitempty"`
	OnlineEnabled                 bool                          `json:"online_enabled,omitempty"`
	RevisedAdcreativeSpec         *RevisedAdcreativeSpec        `json:"revised_adcreative_spec,omitempty"`
	Category                      *[]int64                      `json:"category,omitempty"`
	Label                         *[]string                     `json:"label,omitempty"`
	UnionMarketSwitch             bool                          `json:"union_market_switch,omitempty"`
	PlayablePageMaterialId        string                        `json:"playable_page_material_id,omitempty"`
	VideoEndPage                  *VideoEndPageSpec             `json:"video_end_page,omitempty"`
	FeedsVideoCommentSwitch       bool                          `json:"feeds_video_comment_switch,omitempty"`
	WebviewUrl                    *string                       `json:"webview_url,omitempty"`
	SimpleCanvasSubType           SimpleCanvasSubType           `json:"simple_canvas_sub_type,omitempty"`
	FloatingZone                  *FloatingZone                 `json:"floating_zone,omitempty"`
	MarketingPendantImageId       string                        `json:"marketing_pendant_image_id,omitempty"`
	CountdownSwitch               bool                          `json:"countdown_switch,omitempty"`
	AccountId                     int64                         `json:"account_id,omitempty"`
	AdcreativeElements            *AdcreativeCreativeElementsMp `json:"adcreative_elements,omitempty"`
}

type AdcreativesUpdateResponse

type AdcreativesUpdateResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *AdcreativesUpdateResponseData `json:"data,omitempty"`
}

type AdcreativesUpdateResponseData

type AdcreativesUpdateResponseData struct {
	AdcreativeId int64 `json:"adcreative_id,omitempty"`
}

type AdditionalIndustryQualificationsSpec

type AdditionalIndustryQualificationsSpec struct {
	SystemIndustryId  int64     `json:"system_industry_id,omitempty"`
	BusinessScopeId   int64     `json:"business_scope_id,omitempty"`
	QualificationCode string    `json:"qualification_code,omitempty"`
	ImageIdList       *[]string `json:"image_id_list,omitempty"`
}

附加行业资质信息,当且仅当qualification_type=ADDITIONAL_INDUSTRY_QUALIFICATION时可填且必填

type AdditionalIndustryQualificationsStruct

type AdditionalIndustryQualificationsStruct struct {
	QualificationId     int64               `json:"qualification_id,omitempty"`
	SystemIndustryId    int64               `json:"system_industry_id,omitempty"`
	BusinessScopeId     int64               `json:"business_scope_id,omitempty"`
	QualificationCode   string              `json:"qualification_code,omitempty"`
	ImageIdList         *[]string           `json:"image_id_list,omitempty"`
	QualificationStatus QualificationStatus `json:"qualification_status,omitempty"`
	ExpiredDate         string              `json:"expired_date,omitempty"`
	RejectMessage       string              `json:"reject_message,omitempty"`
	CreatedTime         int64               `json:"created_time,omitempty"`
	LastModifiedTime    int64               `json:"last_modified_time,omitempty"`
}

附加行业资质信息

type Adgroup

type Adgroup struct {
	CampaignType       CampaignType       `json:"campaign_type,omitempty"`
	BillingEvent       BillingEvent       `json:"billing_event,omitempty"`
	SceneSpec          *SceneTargeting    `json:"scene_spec,omitempty"`
	PromotedObjectType PromotedObjectType `json:"promoted_object_type,omitempty"`
	PromotedObjectId   string             `json:"promoted_object_id,omitempty"`
}

广告组信息

type AdgroupCreateSpec added in v1.4.0

type AdgroupCreateSpec struct {
	AdgroupName       string                   `json:"adgroup_name,omitempty"`
	BeginDate         string                   `json:"begin_date,omitempty"`
	Targeting         *DpWriteTargetingSetting `json:"targeting,omitempty"`
	PoiList           *[]string                `json:"poi_list,omitempty"`
	PackageLevel      PackageLevel             `json:"package_level,omitempty"`
	ColdStartAudience *[]int64                 `json:"cold_start_audience,omitempty"`
}

广告组结构

type AdgroupGetSpec added in v1.4.0

type AdgroupGetSpec struct {
	AdgroupId         int64                    `json:"adgroup_id,omitempty"`
	ConfiguredStatus  AdStatus                 `json:"configured_status,omitempty"`
	AdgroupName       string                   `json:"adgroup_name,omitempty"`
	BeginDate         string                   `json:"begin_date,omitempty"`
	Targeting         *DpWriteTargetingSetting `json:"targeting,omitempty"`
	CalcStatus        CalculateStatus          `json:"calc_status,omitempty"`
	RejectMessage     string                   `json:"reject_message,omitempty"`
	PoiList           *[]string                `json:"poi_list,omitempty"`
	ColdStartAudience *[]int64                 `json:"cold_start_audience,omitempty"`
}

广告结构

type AdgroupSetting

type AdgroupSetting struct {
	AdgroupId            int64              `json:"adgroup_id,omitempty"`
	AdgroupName          string             `json:"adgroup_name,omitempty"`
	AutomaticSiteEnabled bool               `json:"automatic_site_enabled,omitempty"`
	SiteSet              *[]string          `json:"site_set,omitempty"`
	BidType              CostType           `json:"bid_type,omitempty"`
	BidAmount            int64              `json:"bid_amount,omitempty"`
	PromotedObjectType   PromotedObjectType `json:"promoted_object_type,omitempty"`
	BillingEvent         BillingEvent       `json:"billing_event,omitempty"`
	OptimizationGoal     OptimizationGoal   `json:"optimization_goal,omitempty"`
	PromotedObjectId     string             `json:"promoted_object_id,omitempty"`
	TimeSeries           string             `json:"time_series,omitempty"`
}

广告组信息所组成的对象

type AdgroupSysStatus

type AdgroupSysStatus string

AdgroupSysStatus : 广告组在系统中的状态

const (
	AdgroupSysStatus_NORMAL            AdgroupSysStatus = "AD_GROUP_STATUS_NORMAL"
	AdgroupSysStatus_PENDING           AdgroupSysStatus = "AD_GROUP_STATUS_PENDING"
	AdgroupSysStatus_DENIED            AdgroupSysStatus = "AD_GROUP_STATUS_DENIED"
	AdgroupSysStatus_FROZEN            AdgroupSysStatus = "AD_GROUP_STATUS_FROZEN"
	AdgroupSysStatus_PARTIALLY_PENDING AdgroupSysStatus = "AD_GROUP_STATUS_PARTIALLY_PENDING"
	AdgroupSysStatus_PARTIALLY_NORMAL  AdgroupSysStatus = "AD_GROUP_STATUS_PARTIALLY_NORMAL"
	AdgroupSysStatus_PREPARE           AdgroupSysStatus = "AD_GROUP_STATUS_PREPARE"
	AdgroupSysStatus_DELETED           AdgroupSysStatus = "AD_GROUP_STATUS_DELETED"
	AdgroupSysStatus_INVALID           AdgroupSysStatus = "AD_GROUP_STATUS_INVALID"
)

List of AdgroupSysStatus

type AdgroupUpdateSpec added in v1.4.0

type AdgroupUpdateSpec struct {
	AdgroupName       string                   `json:"adgroup_name,omitempty"`
	BeginDate         string                   `json:"begin_date,omitempty"`
	ConfiguredStatus  AdStatus                 `json:"configured_status,omitempty"`
	Targeting         *DpWriteTargetingSetting `json:"targeting,omitempty"`
	PoiList           *[]string                `json:"poi_list,omitempty"`
	ColdStartAudience *[]int64                 `json:"cold_start_audience,omitempty"`
}

广告组结构

type AdgroupsAddRequest

type AdgroupsAddRequest struct {
	CampaignId                 int64                            `json:"campaign_id,omitempty"`
	AdgroupName                string                           `json:"adgroup_name,omitempty"`
	PromotedObjectType         PromotedObjectType               `json:"promoted_object_type,omitempty"`
	BeginDate                  string                           `json:"begin_date,omitempty"`
	FirstDayBeginTime          string                           `json:"first_day_begin_time,omitempty"`
	EndDate                    string                           `json:"end_date,omitempty"`
	BillingEvent               BillingEvent                     `json:"billing_event,omitempty"`
	BidAmount                  int64                            `json:"bid_amount,omitempty"`
	OptimizationGoal           OptimizationGoal                 `json:"optimization_goal,omitempty"`
	TimeSeries                 string                           `json:"time_series,omitempty"`
	AutomaticSiteEnabled       bool                             `json:"automatic_site_enabled,omitempty"`
	SiteSet                    *[]string                        `json:"site_set,omitempty"`
	DailyBudget                int64                            `json:"daily_budget,omitempty"`
	PromotedObjectId           string                           `json:"promoted_object_id,omitempty"`
	AppAndroidChannelPackageId string                           `json:"app_android_channel_package_id,omitempty"`
	TargetingId                int64                            `json:"targeting_id,omitempty"`
	Targeting                  *WriteTargetingSettingForAdgroup `json:"targeting,omitempty"`
	SceneSpec                  *SceneTargetingForWrite          `json:"scene_spec,omitempty"`
	ConfiguredStatus           AdStatus                         `json:"configured_status,omitempty"`
	CustomizedCategory         string                           `json:"customized_category,omitempty"`
	DynamicAdSpec              *DynamicAdSpec                   `json:"dynamic_ad_spec,omitempty"`
	UserActionSets             *[]UserActionSetStruct           `json:"user_action_sets,omitempty"`
	AdditionalUserActionSets   *[]UserActionSetStruct           `json:"additional_user_action_sets,omitempty"`
	DynamicCreativeId          int64                            `json:"dynamic_creative_id,omitempty"`
	IsRewardedVideoAd          bool                             `json:"is_rewarded_video_ad,omitempty"`
	BidStrategy                BidStrategy                      `json:"bid_strategy,omitempty"`
	ColdStartAudience          *[]int64                         `json:"cold_start_audience,omitempty"`
	AutoAudience               bool                             `json:"auto_audience,omitempty"`
	ExpandEnabled              bool                             `json:"expand_enabled,omitempty"`
	ExpandTargeting            *[]string                        `json:"expand_targeting,omitempty"`
	DeepConversionSpec         *DeepConversionSpec              `json:"deep_conversion_spec,omitempty"`
	DeepOptimizationActionType DeepOptimizationActionType       `json:"deep_optimization_action_type,omitempty"`
	PoiList                    *[]string                        `json:"poi_list,omitempty"`
	ConversionId               int64                            `json:"conversion_id,omitempty"`
	DeepConversionBehaviorBid  int64                            `json:"deep_conversion_behavior_bid,omitempty"`
	DeepConversionWorthRate    float64                          `json:"deep_conversion_worth_rate,omitempty"`
	BidMode                    BidMode                          `json:"bid_mode,omitempty"`
	BidAdjustment              *BidAdjustment                   `json:"bid_adjustment,omitempty"`
	AutoAcquisitionEnabled     bool                             `json:"auto_acquisition_enabled,omitempty"`
	AutoAcquisitionBudget      int64                            `json:"auto_acquisition_budget,omitempty"`
	AutoDerivedCreativeEnabled bool                             `json:"auto_derived_creative_enabled,omitempty"`
	AccountId                  int64                            `json:"account_id,omitempty"`
}

type AdgroupsAddResponse

type AdgroupsAddResponse struct {
	Code      int64                    `json:"code,omitempty"`
	Message   string                   `json:"message,omitempty"`
	MessageCn string                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct        `json:"errors,omitempty"`
	Data      *AdgroupsAddResponseData `json:"data,omitempty"`
}

type AdgroupsAddResponseData

type AdgroupsAddResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type AdgroupsDeleteRequest

type AdgroupsDeleteRequest struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
	AccountId int64 `json:"account_id,omitempty"`
}

type AdgroupsDeleteResponse

type AdgroupsDeleteResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *AdgroupsDeleteResponseData `json:"data,omitempty"`
}

type AdgroupsDeleteResponseData

type AdgroupsDeleteResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type AdgroupsGetListStruct

type AdgroupsGetListStruct struct {
	CampaignId                        int64                           `json:"campaign_id,omitempty"`
	AdgroupId                         int64                           `json:"adgroup_id,omitempty"`
	AdgroupName                       string                          `json:"adgroup_name,omitempty"`
	SiteSet                           *[]string                       `json:"site_set,omitempty"`
	AutomaticSiteEnabled              bool                            `json:"automatic_site_enabled,omitempty"`
	OptimizationGoal                  OptimizationGoal                `json:"optimization_goal,omitempty"`
	BillingEvent                      BillingEvent                    `json:"billing_event,omitempty"`
	BidAmount                         int64                           `json:"bid_amount,omitempty"`
	DailyBudget                       int64                           `json:"daily_budget,omitempty"`
	PromotedObjectType                PromotedObjectType              `json:"promoted_object_type,omitempty"`
	PromotedObjectId                  string                          `json:"promoted_object_id,omitempty"`
	AppAndroidChannelPackageId        string                          `json:"app_android_channel_package_id,omitempty"`
	MiniGameProgramId                 string                          `json:"mini_game_program_id,omitempty"`
	TargetingId                       int64                           `json:"targeting_id,omitempty"`
	Targeting                         *ReadTargetingSettingForAdgroup `json:"targeting,omitempty"`
	TargetingTranslation              string                          `json:"targeting_translation,omitempty"`
	IsIncludeUnsupportedTargeting     bool                            `json:"is_include_unsupported_targeting,omitempty"`
	SceneSpec                         *SceneTargeting                 `json:"scene_spec,omitempty"`
	BeginDate                         string                          `json:"begin_date,omitempty"`
	FirstDayBeginTime                 string                          `json:"first_day_begin_time,omitempty"`
	EndDate                           string                          `json:"end_date,omitempty"`
	TimeSeries                        string                          `json:"time_series,omitempty"`
	ConfiguredStatus                  AdStatus                        `json:"configured_status,omitempty"`
	CustomizedCategory                string                          `json:"customized_category,omitempty"`
	CreatedTime                       int64                           `json:"created_time,omitempty"`
	LastModifiedTime                  int64                           `json:"last_modified_time,omitempty"`
	AdCount                           int64                           `json:"ad_count,omitempty"`
	DynamicAdSpec                     *DynamicAdSpec                  `json:"dynamic_ad_spec,omitempty"`
	UserActionSets                    *[]UserActionSetStruct          `json:"user_action_sets,omitempty"`
	AdditionalUserActionSets          *[]UserActionSetStruct          `json:"additional_user_action_sets,omitempty"`
	IsDeleted                         bool                            `json:"is_deleted,omitempty"`
	DynamicCreativeId                 int64                           `json:"dynamic_creative_id,omitempty"`
	IsRewardedVideoAd                 bool                            `json:"is_rewarded_video_ad,omitempty"`
	CostGuaranteeMessage              string                          `json:"cost_guarantee_message,omitempty"`
	CostGuaranteeStatus               CostGuaranteeStatus             `json:"cost_guarantee_status,omitempty"`
	BidStrategy                       BidStrategy                     `json:"bid_strategy,omitempty"`
	ColdStartAudience                 *[]int64                        `json:"cold_start_audience,omitempty"`
	AutoAudience                      bool                            `json:"auto_audience,omitempty"`
	ExpandEnabled                     bool                            `json:"expand_enabled,omitempty"`
	ExpandTargeting                   *[]string                       `json:"expand_targeting,omitempty"`
	DeepConversionSpec                *DeepConversionSpec             `json:"deep_conversion_spec,omitempty"`
	DeepOptimizationActionType        DeepOptimizationActionType      `json:"deep_optimization_action_type,omitempty"`
	PoiList                           *[]string                       `json:"poi_list,omitempty"`
	ConversionId                      int64                           `json:"conversion_id,omitempty"`
	DeepConversionBehaviorBid         int64                           `json:"deep_conversion_behavior_bid,omitempty"`
	DeepConversionWorthRate           float64                         `json:"deep_conversion_worth_rate,omitempty"`
	AndroidChannelPackageAuditMessage string                          `json:"android_channel_package_audit_message,omitempty"`
	SystemStatus                      AdgroupSysStatus                `json:"system_status,omitempty"`
	BidMode                           BidMode                         `json:"bid_mode,omitempty"`
	Status                            CalcStatus                      `json:"status,omitempty"`
	BidAdjustment                     *BidAdjustment                  `json:"bid_adjustment,omitempty"`
	AutoAcquisitionEnabled            bool                            `json:"auto_acquisition_enabled,omitempty"`
	AutoAcquisitionBudget             int64                           `json:"auto_acquisition_budget,omitempty"`
	AutoDerivedCreativeEnabled        bool                            `json:"auto_derived_creative_enabled,omitempty"`
}

返回结构

type AdgroupsGetResponse

type AdgroupsGetResponse struct {
	Code      int64                    `json:"code,omitempty"`
	Message   string                   `json:"message,omitempty"`
	MessageCn string                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct        `json:"errors,omitempty"`
	Data      *AdgroupsGetResponseData `json:"data,omitempty"`
}

type AdgroupsGetResponseData

type AdgroupsGetResponseData struct {
	List     *[]AdgroupsGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500         `json:"page_info,omitempty"`
}

type AdgroupsUpdateBidAmountListStruct

type AdgroupsUpdateBidAmountListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type AdgroupsUpdateBidAmountRequest

type AdgroupsUpdateBidAmountRequest struct {
	AccountId           int64                    `json:"account_id,omitempty"`
	UpdateBidAmountSpec *[]UpdateBidAmountStruct `json:"update_bid_amount_spec,omitempty"`
}

type AdgroupsUpdateBidAmountResponse

type AdgroupsUpdateBidAmountResponse struct {
	Code      int64                                `json:"code,omitempty"`
	Message   string                               `json:"message,omitempty"`
	MessageCn string                               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                    `json:"errors,omitempty"`
	Data      *AdgroupsUpdateBidAmountResponseData `json:"data,omitempty"`
}

type AdgroupsUpdateBidAmountResponseData

type AdgroupsUpdateBidAmountResponseData struct {
	List *[]AdgroupsUpdateBidAmountListStruct `json:"list,omitempty"`
}

type AdgroupsUpdateConfiguredStatusListStruct

type AdgroupsUpdateConfiguredStatusListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type AdgroupsUpdateConfiguredStatusRequest

type AdgroupsUpdateConfiguredStatusRequest struct {
	AccountId                  int64                                                         `json:"account_id,omitempty"`
	UpdateConfiguredStatusSpec *[]AdgroupsUpdateConfiguredStatusUpdateConfiguredStatusStruct `json:"update_configured_status_spec,omitempty"`
}

type AdgroupsUpdateConfiguredStatusResponse

type AdgroupsUpdateConfiguredStatusResponse struct {
	Code      int64                                       `json:"code,omitempty"`
	Message   string                                      `json:"message,omitempty"`
	MessageCn string                                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                           `json:"errors,omitempty"`
	Data      *AdgroupsUpdateConfiguredStatusResponseData `json:"data,omitempty"`
}

type AdgroupsUpdateConfiguredStatusResponseData

type AdgroupsUpdateConfiguredStatusResponseData struct {
	List *[]AdgroupsUpdateConfiguredStatusListStruct `json:"list,omitempty"`
}

type AdgroupsUpdateConfiguredStatusUpdateConfiguredStatusStruct

type AdgroupsUpdateConfiguredStatusUpdateConfiguredStatusStruct struct {
	AdgroupId        int64    `json:"adgroup_id,omitempty"`
	ConfiguredStatus AdStatus `json:"configured_status,omitempty"`
}

更新单个广告组客户设置的状态条件

type AdgroupsUpdateDailyBudgetListStruct

type AdgroupsUpdateDailyBudgetListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type AdgroupsUpdateDailyBudgetRequest

type AdgroupsUpdateDailyBudgetRequest struct {
	AccountId             int64                                               `json:"account_id,omitempty"`
	UpdateDailyBudgetSpec *[]AdgroupsUpdateDailyBudgetUpdateDailyBudgetStruct `json:"update_daily_budget_spec,omitempty"`
}

type AdgroupsUpdateDailyBudgetResponse

type AdgroupsUpdateDailyBudgetResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *AdgroupsUpdateDailyBudgetResponseData `json:"data,omitempty"`
}

type AdgroupsUpdateDailyBudgetResponseData

type AdgroupsUpdateDailyBudgetResponseData struct {
	List *[]AdgroupsUpdateDailyBudgetListStruct `json:"list,omitempty"`
}

type AdgroupsUpdateDailyBudgetUpdateDailyBudgetStruct

type AdgroupsUpdateDailyBudgetUpdateDailyBudgetStruct struct {
	AdgroupId   int64 `json:"adgroup_id,omitempty"`
	DailyBudget int64 `json:"daily_budget,omitempty"`
}

更新单个广告组日限额条件

type AdgroupsUpdateDatetimeListStruct

type AdgroupsUpdateDatetimeListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type AdgroupsUpdateDatetimeRequest

type AdgroupsUpdateDatetimeRequest struct {
	AccountId          int64                   `json:"account_id,omitempty"`
	UpdateDatetimeSpec *[]UpdateDatetimeStruct `json:"update_datetime_spec,omitempty"`
}

type AdgroupsUpdateDatetimeResponse

type AdgroupsUpdateDatetimeResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *AdgroupsUpdateDatetimeResponseData `json:"data,omitempty"`
}

type AdgroupsUpdateDatetimeResponseData

type AdgroupsUpdateDatetimeResponseData struct {
	List *[]AdgroupsUpdateDatetimeListStruct `json:"list,omitempty"`
}

type AdgroupsUpdateRequest

type AdgroupsUpdateRequest struct {
	AdgroupId                  int64                            `json:"adgroup_id,omitempty"`
	AdgroupName                string                           `json:"adgroup_name,omitempty"`
	BeginDate                  *string                          `json:"begin_date,omitempty"`
	FirstDayBeginTime          string                           `json:"first_day_begin_time,omitempty"`
	EndDate                    *string                          `json:"end_date,omitempty"`
	BidAmount                  int64                            `json:"bid_amount,omitempty"`
	ConversionId               int64                            `json:"conversion_id,omitempty"`
	OptimizationGoal           OptimizationGoal                 `json:"optimization_goal,omitempty"`
	TimeSeries                 string                           `json:"time_series,omitempty"`
	DailyBudget                *int64                           `json:"daily_budget,omitempty"`
	AppAndroidChannelPackageId *string                          `json:"app_android_channel_package_id,omitempty"`
	TargetingId                int64                            `json:"targeting_id,omitempty"`
	Targeting                  *WriteTargetingSettingForAdgroup `json:"targeting,omitempty"`
	SceneSpec                  *SceneTargetingForWrite          `json:"scene_spec,omitempty"`
	ConfiguredStatus           AdStatus                         `json:"configured_status,omitempty"`
	CustomizedCategory         *string                          `json:"customized_category,omitempty"`
	AdditionalUserActionSets   *[]UserActionSetStruct           `json:"additional_user_action_sets,omitempty"`
	BidStrategy                BidStrategy                      `json:"bid_strategy,omitempty"`
	ColdStartAudience          *[]int64                         `json:"cold_start_audience,omitempty"`
	AutoAudience               bool                             `json:"auto_audience,omitempty"`
	ExpandEnabled              bool                             `json:"expand_enabled,omitempty"`
	ExpandTargeting            *[]string                        `json:"expand_targeting,omitempty"`
	DeepConversionSpec         *DeepConversionSpec              `json:"deep_conversion_spec,omitempty"`
	PoiList                    *[]string                        `json:"poi_list,omitempty"`
	DeepConversionBehaviorBid  int64                            `json:"deep_conversion_behavior_bid,omitempty"`
	DeepConversionWorthRate    float64                          `json:"deep_conversion_worth_rate,omitempty"`
	BidMode                    BidMode                          `json:"bid_mode,omitempty"`
	BidAdjustment              *BidAdjustment                   `json:"bid_adjustment,omitempty"`
	AutoAcquisitionEnabled     bool                             `json:"auto_acquisition_enabled,omitempty"`
	AutoAcquisitionBudget      int64                            `json:"auto_acquisition_budget,omitempty"`
	AccountId                  int64                            `json:"account_id,omitempty"`
}

type AdgroupsUpdateResponse

type AdgroupsUpdateResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *AdgroupsUpdateResponseData `json:"data,omitempty"`
}

type AdgroupsUpdateResponseData

type AdgroupsUpdateResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type AdjustmentTypeEnum added in v1.4.1

type AdjustmentTypeEnum string

AdjustmentTypeEnum : 调整类型:手工调整、一键适配

const (
	AdjustmentTypeEnum_MANUAL_ADJUSTMENT AdjustmentTypeEnum = "MANUAL_ADJUSTMENT"
	AdjustmentTypeEnum_SMART_ADJUSTMENT  AdjustmentTypeEnum = "SMART_ADJUSTMENT"
)

List of AdjustmentTypeEnum

type AdsAddRequest

type AdsAddRequest struct {
	AdgroupId               int64    `json:"adgroup_id,omitempty"`
	AdcreativeId            int64    `json:"adcreative_id,omitempty"`
	AdName                  string   `json:"ad_name,omitempty"`
	ConfiguredStatus        AdStatus `json:"configured_status,omitempty"`
	ImpressionTrackingUrl   string   `json:"impression_tracking_url,omitempty"`
	ClickTrackingUrl        string   `json:"click_tracking_url,omitempty"`
	FeedsInteractionEnabled bool     `json:"feeds_interaction_enabled,omitempty"`
	AccountId               int64    `json:"account_id,omitempty"`
}

type AdsAddResponse

type AdsAddResponse struct {
	Code      int64               `json:"code,omitempty"`
	Message   string              `json:"message,omitempty"`
	MessageCn string              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct   `json:"errors,omitempty"`
	Data      *AdsAddResponseData `json:"data,omitempty"`
}

type AdsAddResponseData

type AdsAddResponseData struct {
	AdId int64 `json:"ad_id,omitempty"`
}

type AdsDeleteRequest

type AdsDeleteRequest struct {
	AdId      int64 `json:"ad_id,omitempty"`
	AccountId int64 `json:"account_id,omitempty"`
}

type AdsDeleteResponse

type AdsDeleteResponse struct {
	Code      int64                  `json:"code,omitempty"`
	Message   string                 `json:"message,omitempty"`
	MessageCn string                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct      `json:"errors,omitempty"`
	Data      *AdsDeleteResponseData `json:"data,omitempty"`
}

type AdsDeleteResponseData

type AdsDeleteResponseData struct {
	AdId int64 `json:"ad_id,omitempty"`
}

type AdsGetListStruct

type AdsGetListStruct struct {
	CampaignId              int64              `json:"campaign_id,omitempty"`
	AdgroupId               int64              `json:"adgroup_id,omitempty"`
	AdId                    int64              `json:"ad_id,omitempty"`
	AdName                  string             `json:"ad_name,omitempty"`
	AdcreativeId            int64              `json:"adcreative_id,omitempty"`
	Adcreative              *Adcreative        `json:"adcreative,omitempty"`
	ConfiguredStatus        AdStatus           `json:"configured_status,omitempty"`
	SystemStatus            SysStatus          `json:"system_status,omitempty"`
	AuditSpec               *[]AuditSpecStruct `json:"audit_spec,omitempty"`
	ImpressionTrackingUrl   string             `json:"impression_tracking_url,omitempty"`
	ClickTrackingUrl        string             `json:"click_tracking_url,omitempty"`
	FeedsInteractionEnabled bool               `json:"feeds_interaction_enabled,omitempty"`
	IsDeleted               bool               `json:"is_deleted,omitempty"`
	IsDynamicCreative       bool               `json:"is_dynamic_creative,omitempty"`
	CreatedTime             int64              `json:"created_time,omitempty"`
	LastModifiedTime        int64              `json:"last_modified_time,omitempty"`
	RejectMessage           string             `json:"reject_message,omitempty"`
}

返回结构

type AdsGetResponse

type AdsGetResponse struct {
	Code      int64               `json:"code,omitempty"`
	Message   string              `json:"message,omitempty"`
	MessageCn string              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct   `json:"errors,omitempty"`
	Data      *AdsGetResponseData `json:"data,omitempty"`
}

type AdsGetResponseData

type AdsGetResponseData struct {
	List     *[]AdsGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500    `json:"page_info,omitempty"`
}

type AdsUpdateConfiguredStatusListStruct

type AdsUpdateConfiguredStatusListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type AdsUpdateConfiguredStatusRequest

type AdsUpdateConfiguredStatusRequest struct {
	AccountId                  int64                                                    `json:"account_id,omitempty"`
	UpdateConfiguredStatusSpec *[]AdsUpdateConfiguredStatusUpdateConfiguredStatusStruct `json:"update_configured_status_spec,omitempty"`
}

type AdsUpdateConfiguredStatusResponse

type AdsUpdateConfiguredStatusResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *AdsUpdateConfiguredStatusResponseData `json:"data,omitempty"`
}

type AdsUpdateConfiguredStatusResponseData

type AdsUpdateConfiguredStatusResponseData struct {
	List *[]AdsUpdateConfiguredStatusListStruct `json:"list,omitempty"`
}

type AdsUpdateConfiguredStatusUpdateConfiguredStatusStruct

type AdsUpdateConfiguredStatusUpdateConfiguredStatusStruct struct {
	AdId             int64    `json:"ad_id,omitempty"`
	ConfiguredStatus AdStatus `json:"configured_status,omitempty"`
}

更新客户设置的状态条件

type AdsUpdateRequest

type AdsUpdateRequest struct {
	AdId                    int64    `json:"ad_id,omitempty"`
	AdName                  string   `json:"ad_name,omitempty"`
	ConfiguredStatus        AdStatus `json:"configured_status,omitempty"`
	ImpressionTrackingUrl   *string  `json:"impression_tracking_url,omitempty"`
	ClickTrackingUrl        *string  `json:"click_tracking_url,omitempty"`
	FeedsInteractionEnabled bool     `json:"feeds_interaction_enabled,omitempty"`
	AccountId               int64    `json:"account_id,omitempty"`
}

type AdsUpdateResponse

type AdsUpdateResponse struct {
	Code      int64                  `json:"code,omitempty"`
	Message   string                 `json:"message,omitempty"`
	MessageCn string                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct      `json:"errors,omitempty"`
	Data      *AdsUpdateResponseData `json:"data,omitempty"`
}

type AdsUpdateResponseData

type AdsUpdateResponseData struct {
	AdId int64 `json:"ad_id,omitempty"`
}

type AdvertiserAddRequest

type AdvertiserAddRequest struct {
	CorporationName         string                   `json:"corporation_name,omitempty"`
	CertificationImageId    string                   `json:"certification_image_id,omitempty"`
	SystemIndustryId        int64                    `json:"system_industry_id,omitempty"`
	IntroductionUrl         string                   `json:"introduction_url,omitempty"`
	IndividualQualification *IndividualQualification `json:"individual_qualification,omitempty"`
	CorporateImageName      string                   `json:"corporate_image_name,omitempty"`
	ContactPersonTelephone  string                   `json:"contact_person_telephone,omitempty"`
	ContactPersonMobile     string                   `json:"contact_person_mobile,omitempty"`
	CertificationNumber     string                   `json:"certification_number,omitempty"`
}

type AdvertiserAddResponse

type AdvertiserAddResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *AdvertiserAddResponseData `json:"data,omitempty"`
}

type AdvertiserAddResponseData

type AdvertiserAddResponseData struct {
	AccountId int64 `json:"account_id,omitempty"`
}

type AdvertiserGetListStruct

type AdvertiserGetListStruct struct {
	DailyBudget                      int64                        `json:"daily_budget,omitempty"`
	SystemStatus                     CustomerSystemStatus         `json:"system_status,omitempty"`
	CorporationName                  string                       `json:"corporation_name,omitempty"`
	CertificationImageId             string                       `json:"certification_image_id,omitempty"`
	IndividualQualification          *IndividualQualificationRead `json:"individual_qualification,omitempty"`
	IntroductionUrl                  string                       `json:"introduction_url,omitempty"`
	IndustryQualificationImageIdList *[]string                    `json:"industry_qualification_image_id_list,omitempty"`
	AdQualificationImageIdList       *[]string                    `json:"ad_qualification_image_id_list,omitempty"`
	ContactPerson                    string                       `json:"contact_person,omitempty"`
	ContactPersonEmail               string                       `json:"contact_person_email,omitempty"`
	ContactPersonTelephone           string                       `json:"contact_person_telephone,omitempty"`
	ContactPersonMobile              string                       `json:"contact_person_mobile,omitempty"`
	WechatSpec                       *MpInfoRead                  `json:"wechat_spec,omitempty"`
	Websites                         *[]WebsiteReadStruct         `json:"websites,omitempty"`
	MdmId                            int64                        `json:"mdm_id,omitempty"`
	MdmName                          string                       `json:"mdm_name,omitempty"`
	AgencyAccountId                  int64                        `json:"agency_account_id,omitempty"`
	Operators                        *[]AdvertiserOperatorStruct  `json:"operators,omitempty"`
	AccountId                        int64                        `json:"account_id,omitempty"`
	AdQualificationImage             *[]string                    `json:"ad_qualification_image,omitempty"`
	CertificationImage               string                       `json:"certification_image,omitempty"`
	IndustryQualificationImage       *[]string                    `json:"industry_qualification_image,omitempty"`
	CorporateImageName               string                       `json:"corporate_image_name,omitempty"`
	CorporationLicence               string                       `json:"corporation_licence,omitempty"`
	CustomizedIndustry               string                       `json:"customized_industry,omitempty"`
	IdentityNumber                   string                       `json:"identity_number,omitempty"`
	SystemIndustryId                 int64                        `json:"system_industry_id,omitempty"`
	RejectMessage                    string                       `json:"reject_message,omitempty"`
}

返回结构

type AdvertiserGetResponse

type AdvertiserGetResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *AdvertiserGetResponseData `json:"data,omitempty"`
}

type AdvertiserGetResponseData

type AdvertiserGetResponseData struct {
	List     *[]AdvertiserGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                      `json:"page_info,omitempty"`
}

type AdvertiserInfoSpecStruct

type AdvertiserInfoSpecStruct struct {
	StatusPreAuthorizationNumber     int64 `json:"status_pre_authorization_number,omitempty"`
	StatusConfirmAuthorizationNumber int64 `json:"status_confirm_authorization_number,omitempty"`
	StatusRequestCancelationNumber   int64 `json:"status_request_cancelation_number,omitempty"`
}

关联的子客信息

type AdvertiserOperatorStruct added in v1.3.0

type AdvertiserOperatorStruct struct {
	OperatorId      int64  `json:"operator_id,omitempty"`
	OperatorName    string `json:"operator_name,omitempty"`
	Qq              int64  `json:"qq,omitempty"`
	WechatAccountId string `json:"wechat_account_id,omitempty"`
	IsMaster        bool   `json:"is_master,omitempty"`
}

运营人员结构

type AdvertiserUpdateDailyBudgetListStruct

type AdvertiserUpdateDailyBudgetListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type AdvertiserUpdateDailyBudgetRequest

type AdvertiserUpdateDailyBudgetRequest struct {
	UpdateDailyBudgetSpec *[]AdvertiserUpdateDailyBudgetUpdateDailyBudgetStruct `json:"update_daily_budget_spec,omitempty"`
}

type AdvertiserUpdateDailyBudgetResponse

type AdvertiserUpdateDailyBudgetResponse struct {
	Code      int64                                    `json:"code,omitempty"`
	Message   string                                   `json:"message,omitempty"`
	MessageCn string                                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                        `json:"errors,omitempty"`
	Data      *AdvertiserUpdateDailyBudgetResponseData `json:"data,omitempty"`
}

type AdvertiserUpdateDailyBudgetResponseData

type AdvertiserUpdateDailyBudgetResponseData struct {
	List *[]AdvertiserUpdateDailyBudgetListStruct `json:"list,omitempty"`
}

type AdvertiserUpdateDailyBudgetUpdateDailyBudgetStruct

type AdvertiserUpdateDailyBudgetUpdateDailyBudgetStruct struct {
	AccountId   int64 `json:"account_id,omitempty"`
	DailyBudget int64 `json:"daily_budget,omitempty"`
}

更新日限额条件

type AdvertiserUpdateRequest

type AdvertiserUpdateRequest struct {
	AccountId               int64                    `json:"account_id,omitempty"`
	DailyBudget             *int64                   `json:"daily_budget,omitempty"`
	SystemIndustryId        int64                    `json:"system_industry_id,omitempty"`
	CorporationName         string                   `json:"corporation_name,omitempty"`
	CertificationImageId    string                   `json:"certification_image_id,omitempty"`
	CorporateImageName      string                   `json:"corporate_image_name,omitempty"`
	IndividualQualification *IndividualQualification `json:"individual_qualification,omitempty"`
	IntroductionUrl         string                   `json:"introduction_url,omitempty"`
	ContactPersonTelephone  string                   `json:"contact_person_telephone,omitempty"`
	ContactPersonMobile     string                   `json:"contact_person_mobile,omitempty"`
	WechatSpec              *MpInfoUpdate            `json:"wechat_spec,omitempty"`
	Websites                *[]WebsiteUpdateStruct   `json:"websites,omitempty"`
}

type AdvertiserUpdateResponse

type AdvertiserUpdateResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *AdvertiserUpdateResponseData `json:"data,omitempty"`
}

type AdvertiserUpdateResponseData

type AdvertiserUpdateResponseData struct {
	AccountId int64 `json:"account_id,omitempty"`
}

type AgeStruct

type AgeStruct struct {
	Min int64 `json:"min,omitempty"`
	Max int64 `json:"max,omitempty"`
}

年龄信息结构

type Aggregation

type Aggregation string

Aggregation : 聚合维度,是否将结果按照指定类型细分,可选值'DOMAIN', 'ACTION_TYPE'

const (
	Aggregation_DOMAIN      Aggregation = "DOMAIN"
	Aggregation_ACTION_TYPE Aggregation = "ACTION_TYPE"
)

List of Aggregation

type AggregationMatcher

type AggregationMatcher struct {
	AggregationType    AggregationType `json:"aggregation_type,omitempty"`
	CountType          CountType       `json:"count_type,omitempty"`
	ParamName          string          `json:"param_name,omitempty"`
	Comparator         Comparator      `json:"comparator,omitempty"`
	ComparisonValue    int64           `json:"comparison_value,omitempty"`
	ComparisonMinValue int64           `json:"comparison_min_value,omitempty"`
	ComparisonMaxValue int64           `json:"comparison_max_value,omitempty"`
}

匹配规则组

type AggregationMatcherGroup

type AggregationMatcherGroup struct {
	AggregationMatcher *[]AggregationMatcher `json:"aggregation_matcher,omitempty"`
}

聚合规则数组

type AggregationType

type AggregationType string

AggregationType : 聚合类型

const (
	AggregationType_SUM   AggregationType = "SUM"
	AggregationType_MAX   AggregationType = "MAX"
	AggregationType_MIN   AggregationType = "MIN"
	AggregationType_COUNT AggregationType = "COUNT"
)

List of AggregationType

type AllDataSpec added in v1.4.0

type AllDataSpec struct {
	Campaign      *CampaignGetSpec   `json:"campaign,omitempty"`
	Adgroup       *AdgroupGetSpec    `json:"adgroup,omitempty"`
	Adcreative    *AdCreativeGetSpec `json:"adcreative,omitempty"`
	AccountMetric *MetricDetailData  `json:"account_metric,omitempty"`
}

拉取创意结构

type AmUserActionSetType

type AmUserActionSetType string

AmUserActionSetType : 用户行为源类型

const (
	AmUserActionSetType_WEB                 AmUserActionSetType = "WEB"
	AmUserActionSetType_ANDROID             AmUserActionSetType = "ANDROID"
	AmUserActionSetType_IOS                 AmUserActionSetType = "IOS"
	AmUserActionSetType_OFFLINE             AmUserActionSetType = "OFFLINE"
	AmUserActionSetType_WECHAT              AmUserActionSetType = "WECHAT"
	AmUserActionSetType_WECHAT_MINI_PROGRAM AmUserActionSetType = "WECHAT_MINI_PROGRAM"
	AmUserActionSetType_WECHAT_MINI_GAME    AmUserActionSetType = "WECHAT_MINI_GAME"
	AmUserActionSetType_MARKETING           AmUserActionSetType = "MARKETING"
)

List of AmUserActionSetType

type AndroidChannelPackagesGetResponse

type AndroidChannelPackagesGetResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *AndroidChannelPackagesGetResponseData `json:"data,omitempty"`
}

type AndroidChannelPackagesGetResponseData

type AndroidChannelPackagesGetResponseData struct {
	List     *[]ChannelPackageData `json:"list,omitempty"`
	PageInfo *Conf                 `json:"page_info,omitempty"`
}

type AndroidUnionChannelPackagesAddRequest

type AndroidUnionChannelPackagesAddRequest struct {
	AndroidUnionAppId int64  `json:"android_union_app_id,omitempty"`
	PackageName       string `json:"package_name,omitempty"`
	PackageOriginUrl  string `json:"package_origin_url,omitempty"`
	AccountId         int64  `json:"account_id,omitempty"`
}

type AndroidUnionChannelPackagesAddResponse

type AndroidUnionChannelPackagesAddResponse struct {
	Code      int64                                       `json:"code,omitempty"`
	Message   string                                      `json:"message,omitempty"`
	MessageCn string                                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                           `json:"errors,omitempty"`
	Data      *AndroidUnionChannelPackagesAddResponseData `json:"data,omitempty"`
}

type AndroidUnionChannelPackagesAddResponseData

type AndroidUnionChannelPackagesAddResponseData struct {
	AppAndroidChannelPackageId string        `json:"app_android_channel_package_id,omitempty"`
	PackageName                string        `json:"package_name,omitempty"`
	PackageStatus              PackageStatus `json:"package_status,omitempty"`
}

type AndroidUnionChannelPackagesGetResponse

type AndroidUnionChannelPackagesGetResponse struct {
	Code      int64                                       `json:"code,omitempty"`
	Message   string                                      `json:"message,omitempty"`
	MessageCn string                                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                           `json:"errors,omitempty"`
	Data      *AndroidUnionChannelPackagesGetResponseData `json:"data,omitempty"`
}

type AndroidUnionChannelPackagesGetResponseData

type AndroidUnionChannelPackagesGetResponseData struct {
	List     *[]UnionChannelPackageData `json:"list,omitempty"`
	PageInfo *Conf                      `json:"page_info,omitempty"`
}

type AndroidUnionChannelPackagesUpdateRequest added in v1.3.0

type AndroidUnionChannelPackagesUpdateRequest struct {
	AccountId                  int64  `json:"account_id,omitempty"`
	AndroidUnionAppId          int64  `json:"android_union_app_id,omitempty"`
	AppAndroidChannelPackageId string `json:"app_android_channel_package_id,omitempty"`
}

type AndroidUnionChannelPackagesUpdateResponse added in v1.3.0

type AndroidUnionChannelPackagesUpdateResponse struct {
	Code      int64                                          `json:"code,omitempty"`
	Message   string                                         `json:"message,omitempty"`
	MessageCn string                                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                              `json:"errors,omitempty"`
	Data      *AndroidUnionChannelPackagesUpdateResponseData `json:"data,omitempty"`
}

type AndroidUnionChannelPackagesUpdateResponseData added in v1.3.0

type AndroidUnionChannelPackagesUpdateResponseData struct {
	TaskId int64 `json:"task_id,omitempty"`
}

type ApiErrorStruct

type ApiErrorStruct struct {
	Type_                    string                    `json:"type,omitempty"`
	CommonParamExceptionSpec *CommonParamExceptionSpec `json:"common_param_exception_spec,omitempty"`
}

type AppActionObjectType

type AppActionObjectType string

AppActionObjectType : 行为对象的类型,仅支持 APP 类目

const (
	AppActionObjectType_CLASS AppActionObjectType = "APP_CLASS"
	AppActionObjectType_ID    AppActionObjectType = "APP_ID"
)

List of AppActionObjectType

type AppAndroidMyappSpec added in v1.3.0

type AppAndroidMyappSpec struct {
	Packname           string                      `json:"packname,omitempty"`
	Version            string                      `json:"version,omitempty"`
	Icon               string                      `json:"icon,omitempty"`
	PackageSize        string                      `json:"package_size,omitempty"`
	ChannelPackageSpec *[]ChannelPackageSpecStruct `json:"channel_package_spec,omitempty"`
}

应用宝 app 信息

type AppAndroidSpec

type AppAndroidSpec struct {
	DeepLinkUrl                string `json:"deep_link_url,omitempty"`
	AppAndroidId               string `json:"app_android_id,omitempty"`
	AppAndroidChannelPackageId string `json:"app_android_channel_package_id,omitempty"`
}

Android应用信息元素

type AppAndroidUnionSpec added in v1.3.0

type AppAndroidUnionSpec struct {
	Packname           string                      `json:"packname,omitempty"`
	Version            string                      `json:"version,omitempty"`
	Icon               string                      `json:"icon,omitempty"`
	PackageSize        string                      `json:"package_size,omitempty"`
	PackageMd5         string                      `json:"package_md5,omitempty"`
	PackageDownloadUrl string                      `json:"package_download_url,omitempty"`
	ChannelPackageSpec *[]ChannelPackageSpecStruct `json:"channel_package_spec,omitempty"`
}

广告包app应用信息

type AppBehavior

type AppBehavior struct {
	ObjectType   AppActionObjectType `json:"object_type,omitempty"`
	ObjectIdList *[]int64            `json:"object_id_list,omitempty"`
	TimeWindow   int64               `json:"time_window,omitempty"`
	ActIdList    *[]string           `json:"act_id_list,omitempty"`
}

app行为定向

type AppDownloadSpec

type AppDownloadSpec struct {
	Title          string          `json:"title,omitempty"`
	AppIosSpec     *AppIosSpec     `json:"app_ios_spec,omitempty"`
	AppAndroidSpec *AppAndroidSpec `json:"app_android_spec,omitempty"`
}

应用下载信息

type AppIosSpec

type AppIosSpec struct {
	DeepLinkUrl string `json:"deep_link_url,omitempty"`
	AppIosId    string `json:"app_ios_id,omitempty"`
}

iOS应用信息元素

type AreaSpec

type AreaSpec struct {
	AreaType   LbsAreaType `json:"area_type,omitempty"`
	CircleArea *CircleArea `json:"circle_area,omitempty"`
}

区域定义

type AssetAccountType added in v1.3.0

type AssetAccountType string

AssetAccountType : 被授权账号类型

const (
	AssetAccountType_ACCOUNT_BM           AssetAccountType = "ASSET_TYPE_ACCOUNT_BM"
	AssetAccountType_ACCOUNT_AGENCY       AssetAccountType = "ASSET_TYPE_ACCOUNT_AGENCY"
	AssetAccountType_ACCOUNT_MDM          AssetAccountType = "ASSET_TYPE_ACCOUNT_MDM"
	AssetAccountType_GROUP_BM             AssetAccountType = "ASSET_TYPE_GROUP_BM"
	AssetAccountType_GROUP_AGENCY         AssetAccountType = "ASSET_TYPE_GROUP_AGENCY"
	AssetAccountType_GROUP_MDM            AssetAccountType = "ASSET_TYPE_GROUP_MDM"
	AssetAccountType_GROUP_POINT_TO_POINT AssetAccountType = "ASSET_TYPE_GROUP_POINT_TO_POINT"
)

List of AssetAccountType

type AssetPermissionGrantType

type AssetPermissionGrantType string

AssetPermissionGrantType : 资产权限授予类型

const (
	AssetPermissionGrantType_ASSET   AssetPermissionGrantType = "ASSET_PERMISSION_GRANT_TYPE_ASSET"
	AssetPermissionGrantType_ACCOUNT AssetPermissionGrantType = "ASSET_PERMISSION_GRANT_TYPE_ACCOUNT"
)

List of AssetPermissionGrantType

type AssetPermissionSpecStruct

type AssetPermissionSpecStruct struct {
	AssetPermissionGrantType AssetPermissionGrantType `json:"asset_permission_grant_type,omitempty"`
	AssetId                  int64                    `json:"asset_id,omitempty"`
}

资产权限结构

type AssetPermissionsAddRequest

type AssetPermissionsAddRequest struct {
	AccountId              int64                        `json:"account_id,omitempty"`
	AssetType              AssetType                    `json:"asset_type,omitempty"`
	AssetPermissionSpec    *[]AssetPermissionSpecStruct `json:"asset_permission_spec,omitempty"`
	LicensingAccountIdList *[]int64                     `json:"licensing_account_id_list,omitempty"`
	LicensingIdType        AssetAccountType             `json:"licensing_id_type,omitempty"`
	PathId                 int64                        `json:"path_id,omitempty"`
	PermissionList         *[]string                    `json:"permission_list,omitempty"`
}

type AssetPermissionsAddResponse

type AssetPermissionsAddResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type AssetPermissionsDeleteRequest

type AssetPermissionsDeleteRequest struct {
	AccountId                int64                    `json:"account_id,omitempty"`
	LicensingAccountId       int64                    `json:"licensing_account_id,omitempty"`
	AssetType                AssetType                `json:"asset_type,omitempty"`
	AssetPermissionGrantType AssetPermissionGrantType `json:"asset_permission_grant_type,omitempty"`
	AssetId                  int64                    `json:"asset_id,omitempty"`
	LicensingIdType          AssetAccountType         `json:"licensing_id_type,omitempty"`
	PathId                   int64                    `json:"path_id,omitempty"`
}

type AssetPermissionsDeleteResponse

type AssetPermissionsDeleteResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type AssetType

type AssetType string

AssetType : 资产类型

const (
	AssetType_XIJING              AssetType = "ASSET_TYPE_XIJING"
	AssetType_CANVAS_WECHAT       AssetType = "ASSET_TYPE_CANVAS_WECHAT"
	AssetType_CANVAS_IMAGE        AssetType = "ASSET_TYPE_CANVAS_IMAGE"
	AssetType_CANVAS_VIDEO        AssetType = "ASSET_TYPE_CANVAS_VIDEO"
	AssetType_FENGYE              AssetType = "ASSET_TYPE_FENGYE"
	AssetType_DYNAMIC_AD_TEMPLATE AssetType = "ASSET_TYPE_DYNAMIC_AD_TEMPLATE"
	AssetType_AD_QUALIFICATION    AssetType = "ASSET_TYPE_AD_QUALIFICATION"
	AssetType_CATALOG             AssetType = "ASSET_TYPE_CATALOG"
	AssetType_ACTION_SET          AssetType = "ASSET_TYPE_ACTION_SET"
)

List of AssetType

type AsyncReportLevel

type AsyncReportLevel string

AsyncReportLevel : 异步报表类型级别

const (
	AsyncReportLevel_ADGROUP_WECHAT     AsyncReportLevel = "REPORT_LEVEL_ADGROUP_WECHAT"
	AsyncReportLevel_AD_WECHAT          AsyncReportLevel = "REPORT_LEVEL_AD_WECHAT"
	AsyncReportLevel_POI_WECHAT         AsyncReportLevel = "REPORT_LEVEL_POI_WECHAT"
	AsyncReportLevel_AD                 AsyncReportLevel = "REPORT_LEVEL_AD"
	AsyncReportLevel_ADVERTISER         AsyncReportLevel = "REPORT_LEVEL_ADVERTISER"
	AsyncReportLevel_CAMPAIGN           AsyncReportLevel = "REPORT_LEVEL_CAMPAIGN"
	AsyncReportLevel_ADGROUP            AsyncReportLevel = "REPORT_LEVEL_ADGROUP"
	AsyncReportLevel_MATERIAL_VIDEO     AsyncReportLevel = "REPORT_LEVEL_MATERIAL_VIDEO"
	AsyncReportLevel_MATERIAL_IMAGE     AsyncReportLevel = "REPORT_LEVEL_MATERIAL_IMAGE"
	AsyncReportLevel_PROMOTED_OBJECT    AsyncReportLevel = "REPORT_LEVEL_PROMOTED_OBJECT"
	AsyncReportLevel_CREATIVE_TEMPLATE  AsyncReportLevel = "REPORT_LEVEL_CREATIVE_TEMPLATE"
	AsyncReportLevel_PRODUCT_CATELOG    AsyncReportLevel = "REPORT_LEVEL_PRODUCT_CATELOG"
	AsyncReportLevel_AGE                AsyncReportLevel = "REPORT_LEVEL_AGE"
	AsyncReportLevel_GENDER             AsyncReportLevel = "REPORT_LEVEL_GENDER"
	AsyncReportLevel_REGION_RECENTLY_IN AsyncReportLevel = "REPORT_LEVEL_REGION_RECENTLY_IN"
	AsyncReportLevel_REGION_VISITED_IN  AsyncReportLevel = "REPORT_LEVEL_REGION_VISITED_IN"
	AsyncReportLevel_REGION_LIVE_IN     AsyncReportLevel = "REPORT_LEVEL_REGION_LIVE_IN"
	AsyncReportLevel_REGION_TRAVEL_IN   AsyncReportLevel = "REPORT_LEVEL_REGION_TRAVEL_IN"
	AsyncReportLevel_CITY_RECENTLY_IN   AsyncReportLevel = "REPORT_LEVEL_CITY_RECENTLY_IN"
	AsyncReportLevel_CITY_VISITED_IN    AsyncReportLevel = "REPORT_LEVEL_CITY_VISITED_IN"
	AsyncReportLevel_CITY_LIVE_IN       AsyncReportLevel = "REPORT_LEVEL_CITY_LIVE_IN"
	AsyncReportLevel_CITY_TRAVEL_IN     AsyncReportLevel = "REPORT_LEVEL_CITY_TRAVEL_IN"
)

List of AsyncReportLevel

type AsyncReportsAddRequest

type AsyncReportsAddRequest struct {
	AccountId    int64                          `json:"account_id,omitempty"`
	TaskName     string                         `json:"task_name,omitempty"`
	ReportFields *[]string                      `json:"report_fields,omitempty"`
	Level        AsyncReportLevel               `json:"level,omitempty"`
	Filtering    *[]AsyncReportsFilteringStruct `json:"filtering,omitempty"`
	TimeLine     TimeLine                       `json:"time_line,omitempty"`
	GroupBy      *[]string                      `json:"group_by,omitempty"`
	Granularity  TimeGranularity                `json:"granularity,omitempty"`
	Date         string                         `json:"date,omitempty"`
}

type AsyncReportsAddResponse

type AsyncReportsAddResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *AsyncReportsAddResponseData `json:"data,omitempty"`
}

type AsyncReportsAddResponseData

type AsyncReportsAddResponseData struct {
	TaskId int64 `json:"task_id,omitempty"`
}

type AsyncReportsFilteringStruct added in v1.3.0

type AsyncReportsFilteringStruct struct {
	Field    string    `json:"field,omitempty"`
	Operator string    `json:"operator,omitempty"`
	Values   *[]string `json:"values,omitempty"`
}

过滤条件

type AsyncReportsGetData

type AsyncReportsGetData struct {
	FileInfoList *[]AsyncReportsGetFileInfo `json:"file_info_list,omitempty"`
}

任务结果

type AsyncReportsGetFileInfo

type AsyncReportsGetFileInfo struct {
	FileId int64  `json:"file_id,omitempty"`
	Md5    string `json:"md5,omitempty"`
}

文件返回结果

type AsyncReportsGetResponse

type AsyncReportsGetResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *AsyncReportsGetResponseData `json:"data,omitempty"`
}

type AsyncReportsGetResponseData

type AsyncReportsGetResponseData struct {
	List     *[]AsyncReportsGetTaskListStruct `json:"list,omitempty"`
	PageInfo *Conf                            `json:"page_info,omitempty"`
}

type AsyncReportsGetResult

type AsyncReportsGetResult struct {
	Code    int64                `json:"code,omitempty"`
	Message string               `json:"message,omitempty"`
	Data    *AsyncReportsGetData `json:"data,omitempty"`
}

任务结果

type AsyncReportsGetTaskListStruct

type AsyncReportsGetTaskListStruct struct {
	TaskId      int64                  `json:"task_id,omitempty"`
	TaskName    string                 `json:"task_name,omitempty"`
	Status      TaskStatus             `json:"status,omitempty"`
	CreatedTime int64                  `json:"created_time,omitempty"`
	Result      *AsyncReportsGetResult `json:"result,omitempty"`
}

返回结构

type AsyncTasksAddRequest

type AsyncTasksAddRequest struct {
	AccountId int64     `json:"account_id,omitempty"`
	TaskName  string    `json:"task_name,omitempty"`
	TaskType  TaskType  `json:"task_type,omitempty"`
	TaskSpec  *TaskSpec `json:"task_spec,omitempty"`
}

type AsyncTasksAddResponse

type AsyncTasksAddResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *AsyncTasksAddResponseData `json:"data,omitempty"`
}

type AsyncTasksAddResponseData

type AsyncTasksAddResponseData struct {
	TaskId int64 `json:"task_id,omitempty"`
}

type AsyncTasksGetData

type AsyncTasksGetData struct {
	FileInfoList                *[]AsyncTasksGetFileInfo   `json:"file_info_list,omitempty"`
	ChannelPackageInfoList      *[]ChannelPackageInfo      `json:"channel_package_info_list,omitempty"`
	UnionChannelPackageInfoList *[]UnionChannelPackageInfo `json:"union_channel_package_info_list,omitempty"`
}

任务结果

type AsyncTasksGetFileInfo

type AsyncTasksGetFileInfo struct {
	FileId int64  `json:"file_id,omitempty"`
	Md5    string `json:"md5,omitempty"`
}

文件返回结果

type AsyncTasksGetResponse

type AsyncTasksGetResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *AsyncTasksGetResponseData `json:"data,omitempty"`
}

type AsyncTasksGetResponseData

type AsyncTasksGetResponseData struct {
	List     *[]AsyncTasksGetTaskListStruct `json:"list,omitempty"`
	PageInfo *Conf                          `json:"page_info,omitempty"`
}

type AsyncTasksGetResult

type AsyncTasksGetResult struct {
	Code    int64              `json:"code,omitempty"`
	Message string             `json:"message,omitempty"`
	Data    *AsyncTasksGetData `json:"data,omitempty"`
}

任务结果

type AsyncTasksGetTaskListStruct

type AsyncTasksGetTaskListStruct struct {
	TaskId      int64                `json:"task_id,omitempty"`
	TaskName    string               `json:"task_name,omitempty"`
	TaskType    TaskType             `json:"task_type,omitempty"`
	Status      TaskStatus           `json:"status,omitempty"`
	CreatedTime int64                `json:"created_time,omitempty"`
	Result      *AsyncTasksGetResult `json:"result,omitempty"`
}

返回结构

type AudienceGrantRelationsAddGrantSpec added in v1.3.0

type AudienceGrantRelationsAddGrantSpec struct {
	GrantToBusinessSpec *AudienceGrantRelationsAddGrantToBusinessSpec `json:"grant_to_business_spec,omitempty"`
}

人群授权信息

type AudienceGrantRelationsAddGrantToBusinessSpec added in v1.3.0

type AudienceGrantRelationsAddGrantToBusinessSpec struct {
	GrantBusinessId         int64                    `json:"grant_business_id,omitempty"`
	GrantScopeType          AudienceGrantScopeType   `json:"grant_scope_type,omitempty"`
	GrantBusinessPermission *GrantBusinessPermission `json:"grant_business_permission,omitempty"`
	GrantAccountPermission  *[]AccountPermission     `json:"grant_account_permission,omitempty"`
}

授权给商务管家账号认领的账号的授权信息

type AudienceGrantRelationsAddRequest

type AudienceGrantRelationsAddRequest struct {
	AccountId      int64                               `json:"account_id,omitempty"`
	AudienceIdList *[]int64                            `json:"audience_id_list,omitempty"`
	GrantType      AudienceGrantType                   `json:"grant_type,omitempty"`
	GrantSpec      *AudienceGrantRelationsAddGrantSpec `json:"grant_spec,omitempty"`
}

type AudienceGrantRelationsAddResponse

type AudienceGrantRelationsAddResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type AudienceGrantRelationsGetGrantAccountPermission added in v1.3.0

type AudienceGrantRelationsGetGrantAccountPermission struct {
	AccountId               int64     `json:"account_id,omitempty"`
	GrantPermissionTypeList *[]string `json:"grant_permission_type_list,omitempty"`
}

授权给指定账号结构

type AudienceGrantRelationsGetGrantSpec added in v1.3.0

type AudienceGrantRelationsGetGrantSpec struct {
	GrantToBusinessSpec *AudienceGrantRelationsGetGrantToBusinessSpec `json:"grant_to_business_spec,omitempty"`
}

人群授权信息

type AudienceGrantRelationsGetGrantToBusinessSpec added in v1.3.0

type AudienceGrantRelationsGetGrantToBusinessSpec struct {
	GrantBusinessId         int64                                            `json:"grant_business_id,omitempty"`
	GrantScopeType          AudienceGrantScopeType                           `json:"grant_scope_type,omitempty"`
	GrantBusinessPermission *GrantBusinessPermission                         `json:"grant_business_permission,omitempty"`
	GrantAccountPermission  *AudienceGrantRelationsGetGrantAccountPermission `json:"grant_account_permission,omitempty"`
}

授权给商务管家账号认领的账号的授权信息

type AudienceGrantRelationsGetResponse

type AudienceGrantRelationsGetResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *AudienceGrantRelationsGetResponseData `json:"data,omitempty"`
}

type AudienceGrantRelationsGetResponseData

type AudienceGrantRelationsGetResponseData struct {
	List     *[]GrantInfo `json:"list,omitempty"`
	PageInfo *PageInfo    `json:"page_info,omitempty"`
}

type AudienceGrantScopeType

type AudienceGrantScopeType string

AudienceGrantScopeType : 人群授权的范围

const (
	AudienceGrantScopeType_BUSINESS AudienceGrantScopeType = "GRANT_SCOPE_TYPE_BUSINESS"
	AudienceGrantScopeType_ACCOUNT  AudienceGrantScopeType = "GRANT_SCOPE_TYPE_ACCOUNT"
)

List of AudienceGrantScopeType

type AudienceGrantType

type AudienceGrantType string

AudienceGrantType : 授权类型

const (
	AudienceGrantType_GRANT_TYPE_BUSINESS AudienceGrantType = "GRANT_TYPE_BUSINESS"
)

List of AudienceGrantType

type AudienceProductType

type AudienceProductType string

AudienceProductType : 推广目标类型

const (
	AudienceProductType_PAIPAI_ITEM                AudienceProductType = "PRODUCT_TYPE_PAIPAI_ITEM"
	AudienceProductType_PAIPAI_SHOP                AudienceProductType = "PRODUCT_TYPE_PAIPAI_SHOP"
	AudienceProductType_QZONE_PAGE_INDEX           AudienceProductType = "PRODUCT_TYPE_QZONE_PAGE_INDEX"
	AudienceProductType_APP_PC                     AudienceProductType = "PRODUCT_TYPE_APP_PC"
	AudienceProductType_MYAPP                      AudienceProductType = "PRODUCT_TYPE_MYAPP"
	AudienceProductType_QQ_GROUP                   AudienceProductType = "PRODUCT_TYPE_QQ_GROUP"
	AudienceProductType_QQ_BUSINESS                AudienceProductType = "PRODUCT_TYPE_QQ_BUSINESS"
	AudienceProductType_B_QQ                       AudienceProductType = "PRODUCT_TYPE_B_QQ"
	AudienceProductType_51BUY                      AudienceProductType = "PRODUCT_TYPE_51BUY"
	AudienceProductType_QQ_TUAN                    AudienceProductType = "PRODUCT_TYPE_QQ_TUAN"
	AudienceProductType_TASK                       AudienceProductType = "PRODUCT_TYPE_TASK"
	AudienceProductType_APP_ANDROID_OPEN_PLATFORM  AudienceProductType = "PRODUCT_TYPE_APP_ANDROID_OPEN_PLATFORM"
	AudienceProductType_FEEDS                      AudienceProductType = "PRODUCT_TYPE_FEEDS"
	AudienceProductType_PAIPAI_SHOP_URL            AudienceProductType = "PRODUCT_TYPE_PAIPAI_SHOP_URL"
	AudienceProductType_LIVE_VIDEO_ROOM            AudienceProductType = "PRODUCT_TYPE_LIVE_VIDEO_ROOM"
	AudienceProductType_QZONE_GIFT                 AudienceProductType = "PRODUCT_TYPE_QZONE_GIFT"
	AudienceProductType_QZONE_SIGN                 AudienceProductType = "PRODUCT_TYPE_QZONE_SIGN"
	AudienceProductType_APP_IOS                    AudienceProductType = "PRODUCT_TYPE_APP_IOS"
	AudienceProductType_EXCHANGE_APP_FOR_MYAPP     AudienceProductType = "PRODUCT_TYPE_EXCHANGE_APP_FOR_MYAPP"
	AudienceProductType_QZONE_PAGE_ARTICLE         AudienceProductType = "PRODUCT_TYPE_QZONE_PAGE_ARTICLE"
	AudienceProductType_QZONE_PAGE_IFRAMED         AudienceProductType = "PRODUCT_TYPE_QZONE_PAGE_IFRAMED"
	AudienceProductType_WECHAT                     AudienceProductType = "PRODUCT_TYPE_WECHAT"
	AudienceProductType_OPEN_PLATFORM_APP_MOB_TASK AudienceProductType = "PRODUCT_TYPE_OPEN_PLATFORM_APP_MOB_TASK"
	AudienceProductType_LINK_JD                    AudienceProductType = "PRODUCT_TYPE_LINK_JD"
	AudienceProductType_DIANPING_SHOP              AudienceProductType = "PRODUCT_TYPE_DIANPING_SHOP"
	AudienceProductType_DIANPING_COUPON            AudienceProductType = "PRODUCT_TYPE_DIANPING_COUPON"
	AudienceProductType_DIANPING_TUAN              AudienceProductType = "PRODUCT_TYPE_DIANPING_TUAN"
	AudienceProductType_WECHAT_ARTICLE             AudienceProductType = "PRODUCT_TYPE_WECHAT_ARTICLE"
	AudienceProductType_SHOP_WECHAT                AudienceProductType = "PRODUCT_TYPE_SHOP_WECHAT"
	AudienceProductType_ECOMMERCE                  AudienceProductType = "PRODUCT_TYPE_ECOMMERCE"
	AudienceProductType_LINK_WECHAT                AudienceProductType = "PRODUCT_TYPE_LINK_WECHAT"
	AudienceProductType_JD_ITEM                    AudienceProductType = "PRODUCT_TYPE_JD_ITEM"
	AudienceProductType_JD_SHOP                    AudienceProductType = "PRODUCT_TYPE_JD_SHOP"
	AudienceProductType_TENCENT_KE                 AudienceProductType = "PRODUCT_TYPE_TENCENT_KE"
	AudienceProductType_MYAPP_PROMOTION            AudienceProductType = "PRODUCT_TYPE_MYAPP_PROMOTION"
	AudienceProductType_LINK_MOBILE_QQ_MP          AudienceProductType = "PRODUCT_TYPE_LINK_MOBILE_QQ_MP"
	AudienceProductType_APP_ANDROID_UNION          AudienceProductType = "PRODUCT_TYPE_APP_ANDROID_UNION"
	AudienceProductType_LBS_WECHAT                 AudienceProductType = "PRODUCT_TYPE_LBS_WECHAT"
	AudienceProductType_QZONE_PAGE_VIDEO           AudienceProductType = "PRODUCT_TYPE_QZONE_PAGE_VIDEO"
	AudienceProductType_LINK                       AudienceProductType = "PRODUCT_TYPE_LINK"
	AudienceProductType_URL_INNER_TENCENT_DOMAIN   AudienceProductType = "PRODUCT_TYPE_URL_INNER_TENCENT_DOMAIN"
)

List of AudienceProductType

type AudienceReport

type AudienceReport struct {
	AudienceId            int64        `json:"audience_id,omitempty"`
	AccountId             int64        `json:"account_id,omitempty"`
	AdgroupId             int64        `json:"adgroup_id,omitempty"`
	CampaignId            int64        `json:"campaign_id,omitempty"`
	WechatAdgroupId       int64        `json:"wechat_adgroup_id,omitempty"`
	WechatCampaignId      int64        `json:"wechat_campaign_id,omitempty"`
	ModelId               int64        `json:"model_id,omitempty"`
	AudiencePredictTaskId int64        `json:"audience_predict_task_id,omitempty"`
	ActionType            AdActionType `json:"action_type,omitempty"`
	Cost                  int64        `json:"cost,omitempty"`
	ActionCount           int64        `json:"action_count,omitempty"`
	UserCount             int64        `json:"user_count,omitempty"`
}

custom_audience_report人群报表结构

type AudienceSpec

type AudienceSpec struct {
	LookalikeSpec  *LookalikeSpec  `json:"lookalike_spec,omitempty"`
	UserActionSpec *UserActionSpec `json:"user_action_spec,omitempty"`
	LbsSpec        *LbsSpec        `json:"lbs_spec,omitempty"`
	KeywordSpec    *KeywordSpec    `json:"keyword_spec,omitempty"`
	AdRuleSpec     *AdRuleSpec     `json:"ad_rule_spec,omitempty"`
	CombineSpec    *CombineSpec    `json:"combine_spec,omitempty"`
}

人群信息

type AudienceType

type AudienceType string

AudienceType : 人群类型

const (
	AudienceType_AUDIENCE_TYPE_UNKNOWN   AudienceType = "AUDIENCE_TYPE_UNKNOWN"
	AudienceType_AUDIENCE_TYPE_META      AudienceType = "AUDIENCE_TYPE_META"
	AudienceType_AUDIENCE_TYPE_COMBINE   AudienceType = "AUDIENCE_TYPE_COMBINE"
	AudienceType_AUDIENCE_TYPE_LOOKALIKE AudienceType = "AUDIENCE_TYPE_LOOKALIKE"
	AudienceType_AUDIENCE_TYPE_PACKAGE   AudienceType = "AUDIENCE_TYPE_PACKAGE"
	AudienceType_CUSTOMER_FILE           AudienceType = "CUSTOMER_FILE"
	AudienceType_LOOKALIKE               AudienceType = "LOOKALIKE"
	AudienceType_USER_ACTION             AudienceType = "USER_ACTION"
	AudienceType_LBS                     AudienceType = "LBS"
	AudienceType_KEYWORD                 AudienceType = "KEYWORD"
	AudienceType_AD                      AudienceType = "AD"
	AudienceType_COMBINE                 AudienceType = "COMBINE"
	AudienceType_LABEL                   AudienceType = "LABEL"
)

List of AudienceType

type AuditRejectItem

type AuditRejectItem struct {
	FeedId        int64       `json:"feed_id,omitempty"`
	ProductId     string      `json:"product_id,omitempty"`
	SystemStatus  AuditStatus `json:"system_status,omitempty"`
	RejectMessage string      `json:"reject_message,omitempty"`
}

商品失败信息Item

type AuditSpecStruct

type AuditSpecStruct struct {
	SiteSet       SiteSetDefinition `json:"site_set,omitempty"`
	SystemStatus  SysStatus         `json:"system_status,omitempty"`
	RejectMessage string            `json:"reject_message,omitempty"`
}

多版位的审核结果信息

type AuditStatus

type AuditStatus string

AuditStatus : 商品审核状态

const (
	AuditStatus_AUDITSTATUS_NORMAL      AuditStatus = "AUDITSTATUS_NORMAL"
	AuditStatus_AUDITSTATUS_PENDING     AuditStatus = "AUDITSTATUS_PENDING"
	AuditStatus_PRODUCT_STATUS_PENDING  AuditStatus = "PRODUCT_STATUS_PENDING"
	AuditStatus_PRODUCT_STATUS_AUDITING AuditStatus = "PRODUCT_STATUS_AUDITING"
	AuditStatus_PRODUCT_STATUS_PASS     AuditStatus = "PRODUCT_STATUS_PASS"
	AuditStatus_PRODUCT_STATUS_REJECTED AuditStatus = "PRODUCT_STATUS_REJECTED"
)

List of AuditStatus

type AuthAccountType

type AuthAccountType string

AuthAccountType : 授权账号类型

const (
	AuthAccountType_WECHAT AuthAccountType = "ACCOUNT_TYPE_WECHAT"
	AuthAccountType_QQ     AuthAccountType = "ACCOUNT_TYPE_QQ"
)

List of AuthAccountType

type AuthorizerStruct

type AuthorizerStruct struct {
	AccountUin      int64           `json:"account_uin,omitempty"`
	AccountId       int64           `json:"account_id,omitempty"`
	ScopeList       *[]string       `json:"scope_list,omitempty"`
	WechatAccountId string          `json:"wechat_account_id,omitempty"`
	AccountRoleType AccountRoleType `json:"account_role_type,omitempty"`
	AccountType     AccountType     `json:"account_type,omitempty"`
	RoleType        RoleType        `json:"role_type,omitempty"`
}

权限信息

type BatchAdDiagnosisListItem

type BatchAdDiagnosisListItem struct {
	AdgroupId                int64                 `json:"adgroup_id,omitempty"`
	DiagnoseTime             string                `json:"diagnose_time,omitempty"`
	OperateSuggestion        OperateSuggestion     `json:"operate_suggestion,omitempty"`
	LearningStatus           LearningStatus        `json:"learning_status,omitempty"`
	CostGuaranteeStatus      CostGuaranteeStatus   `json:"cost_guarantee_status,omitempty"`
	CostGuaranteeMoney       int64                 `json:"cost_guarantee_money,omitempty"`
	ExposureCompeteScore     string                `json:"exposure_compete_score,omitempty"`
	ExposureRaiseRate        string                `json:"exposure_raise_rate,omitempty"`
	CpaBiasToday             string                `json:"cpa_bias_today,omitempty"`
	CpaBiasOverall           string                `json:"cpa_bias_overall,omitempty"`
	IsOcpx                   bool                  `json:"is_ocpx,omitempty"`
	OptimizationGoal         string                `json:"optimization_goal,omitempty"`
	DeepOptimizationGoal     string                `json:"deep_optimization_goal,omitempty"`
	ConclusionDescription    string                `json:"conclusion_description,omitempty"`
	HasDiagnoseDetail        bool                  `json:"has_diagnose_detail,omitempty"`
	OperateSuggestionDesc    string                `json:"operate_suggestion_desc,omitempty"`
	LearningStatusDesc       string                `json:"learning_status_desc,omitempty"`
	ExposureCompeteScoreDesc string                `json:"exposure_compete_score_desc,omitempty"`
	Detail                   *ResponseDetailStruct `json:"detail,omitempty"`
}

单个广告的诊断明细

type BatchAsyncRequestSpecificationGetResponse added in v1.4.0

type BatchAsyncRequestSpecificationGetResponse struct {
	Code      int64                                          `json:"code,omitempty"`
	Message   string                                         `json:"message,omitempty"`
	MessageCn string                                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                              `json:"errors,omitempty"`
	Data      *BatchAsyncRequestSpecificationGetResponseData `json:"data,omitempty"`
}

type BatchAsyncRequestSpecificationGetResponseData added in v1.4.0

type BatchAsyncRequestSpecificationGetResponseData struct {
	Summary  *Summary            `json:"summary,omitempty"`
	List     *[]DetailListStruct `json:"list,omitempty"`
	PageInfo *Conf               `json:"page_info,omitempty"`
}

type BatchAsyncRequestTaskSpec added in v1.4.0

type BatchAsyncRequestTaskSpec struct {
	UpdateUnionPositionPackageSpec              *[]UpdateUnionPositionPackageItem              `json:"update_union_position_package_spec,omitempty"`
	UpdateExcludeUnionPositionPackageSpec       *[]UpdateExcludeUnionPositionPackageItem       `json:"update_exclude_union_position_package_spec,omitempty"`
	UpdateTargetingIdSpec                       *[]UpdateTargetingIdItem                       `json:"update_targeting_id_spec,omitempty"`
	UpdateBidStrategySpec                       *[]UpdateBidStrategyItem                       `json:"update_bid_strategy_spec,omitempty"`
	UpdateDeepConversionBehaviorBidSpec         *[]UpdateDeepConversionBehaviorBidItem         `json:"update_deep_conversion_behavior_bid_spec,omitempty"`
	UpdateAdgroupAppAndroidChannelPackageIdSpec *[]UpdateAdgroupAppAndroidChannelPackageIdItem `json:"update_adgroup_app_android_channel_package_id_spec,omitempty"`
	UpdateCampaignSpeedModeSpec                 *[]UpdateCampaignSpeedModeItem                 `json:"update_campaign_speed_mode_spec,omitempty"`
	DeleteCampaignSpec                          *[]DeleteCampaignItem                          `json:"delete_campaign_spec,omitempty"`
	DeleteAdgroupSpec                           *[]DeleteAdgroupItem                           `json:"delete_adgroup_spec,omitempty"`
	DeleteAdSpec                                *[]DeleteAdItem                                `json:"delete_ad_spec,omitempty"`
}

任务所需条件

type BatchAsyncRequestsAddRequest added in v1.4.0

type BatchAsyncRequestsAddRequest struct {
	AccountId int64                      `json:"account_id,omitempty"`
	TaskName  string                     `json:"task_name,omitempty"`
	TaskType  TaskType                   `json:"task_type,omitempty"`
	TaskSpec  *BatchAsyncRequestTaskSpec `json:"task_spec,omitempty"`
}

type BatchAsyncRequestsAddResponse added in v1.4.0

type BatchAsyncRequestsAddResponse struct {
	Code      int64                              `json:"code,omitempty"`
	Message   string                             `json:"message,omitempty"`
	MessageCn string                             `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                  `json:"errors,omitempty"`
	Data      *BatchAsyncRequestsAddResponseData `json:"data,omitempty"`
}

type BatchAsyncRequestsAddResponseData added in v1.4.0

type BatchAsyncRequestsAddResponseData struct {
	TaskId int64 `json:"task_id,omitempty"`
}

type BatchAsyncRequestsGetResponse added in v1.4.0

type BatchAsyncRequestsGetResponse struct {
	Code      int64                              `json:"code,omitempty"`
	Message   string                             `json:"message,omitempty"`
	MessageCn string                             `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                  `json:"errors,omitempty"`
	Data      *BatchAsyncRequestsGetResponseData `json:"data,omitempty"`
}

type BatchAsyncRequestsGetResponseData added in v1.4.0

type BatchAsyncRequestsGetResponseData struct {
	List     *[]BatchAsyncRequestsGetTaskListStruct `json:"list,omitempty"`
	PageInfo *Conf                                  `json:"page_info,omitempty"`
}

type BatchAsyncRequestsGetTaskListStruct added in v1.4.0

type BatchAsyncRequestsGetTaskListStruct struct {
	TaskId            int64            `json:"task_id,omitempty"`
	TaskName          string           `json:"task_name,omitempty"`
	TaskType          TaskType         `json:"task_type,omitempty"`
	TaskScope         TaskScope        `json:"task_scope,omitempty"`
	Status            TaskStatus       `json:"status,omitempty"`
	ResultStatus      TaskResultStatus `json:"result_status,omitempty"`
	CreatedTime       int64            `json:"created_time,omitempty"`
	EndTime           int64            `json:"end_time,omitempty"`
	ScopeObjectIdList *[]int64         `json:"scope_object_id_list,omitempty"`
}

返回结构

type BatchOperationAddRequest

type BatchOperationAddRequest struct {
	ResourceType   ResourceType       `json:"resource_type,omitempty"`
	OperationType  BatchOperationType `json:"operation_type,omitempty"`
	ResourceIdList *[]int64           `json:"resource_id_list,omitempty"`
	OperationSpec  *OperationSpec     `json:"operation_spec,omitempty"`
	AccountId      int64              `json:"account_id,omitempty"`
}

type BatchOperationAddResponse

type BatchOperationAddResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type BatchOperationType

type BatchOperationType string

BatchOperationType : 操作类型

const (
	BatchOperationType_DATE              BatchOperationType = "OPERATION_TYPE_DATE"
	BatchOperationType_TIME_SERIES       BatchOperationType = "OPERATION_TYPE_TIME_SERIES"
	BatchOperationType_CONFIGURED_STATUS BatchOperationType = "OPERATION_TYPE_CONFIGURED_STATUS"
)

List of BatchOperationType

type BatchRequestSpecStruct

type BatchRequestSpecStruct struct {
	RelativePath string `json:"relative_path,omitempty"`
	Body         string `json:"body,omitempty"`
}

单个请求所需条件

type BatchRequestsAddListStruct

type BatchRequestsAddListStruct struct {
	HttpCode int64           `json:"http_code,omitempty"`
	Headers  *[]HeaderStruct `json:"headers,omitempty"`
	Body     string          `json:"body,omitempty"`
}

返回结构

type BatchRequestsAddRequest

type BatchRequestsAddRequest struct {
	BatchRequestSpec *[]BatchRequestSpecStruct `json:"batch_request_spec,omitempty"`
}

type BatchRequestsAddResponse

type BatchRequestsAddResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *BatchRequestsAddResponseData `json:"data,omitempty"`
}

type BatchRequestsAddResponseData

type BatchRequestsAddResponseData struct {
	List *[]BatchRequestsAddListStruct `json:"list,omitempty"`
}

type BehaviorInterestTimeWindow

type BehaviorInterestTimeWindow string

BehaviorInterestTimeWindow : 行为兴趣意向定向的行为部分的时间窗

const (
	BehaviorInterestTimeWindow_SEVEN_DAY   BehaviorInterestTimeWindow = "BEHAVIOR_INTEREST_TIME_WINDOW_SEVEN_DAY"
	BehaviorInterestTimeWindow_FIFTEEN_DAY BehaviorInterestTimeWindow = "BEHAVIOR_INTEREST_TIME_WINDOW_FIFTEEN_DAY"
	BehaviorInterestTimeWindow_THIRTY_DAY  BehaviorInterestTimeWindow = "BEHAVIOR_INTEREST_TIME_WINDOW_THIRTY_DAY"
	BehaviorInterestTimeWindow_THREE_MONTH BehaviorInterestTimeWindow = "BEHAVIOR_INTEREST_TIME_WINDOW_THREE_MONTH"
	BehaviorInterestTimeWindow_SIX_MONTH   BehaviorInterestTimeWindow = "BEHAVIOR_INTEREST_TIME_WINDOW_SIX_MONTH"
	BehaviorInterestTimeWindow_ONE_YEAR    BehaviorInterestTimeWindow = "BEHAVIOR_INTEREST_TIME_WINDOW_ONE_YEAR"
)

List of BehaviorInterestTimeWindow

type BehaviorOrInterest

type BehaviorOrInterest struct {
	Interest  *Interest         `json:"interest,omitempty"`
	Behavior  *[]BehaviorStruct `json:"behavior,omitempty"`
	Intention *Intention        `json:"intention,omitempty"`
}

行为兴趣意向定向

type BehaviorStruct

type BehaviorStruct struct {
	TargetingTags  *[]string                  `json:"targeting_tags,omitempty"`
	CategoryIdList *[]int64                   `json:"category_id_list,omitempty"`
	KeywordList    *[]string                  `json:"keyword_list,omitempty"`
	Scene          *[]string                  `json:"scene,omitempty"`
	TimeWindow     BehaviorInterestTimeWindow `json:"time_window,omitempty"`
	Intensity      *[]string                  `json:"intensity,omitempty"`
}

行为兴趣意向定向的行为部分的结构

type BehaviorTargetingTagSpec

type BehaviorTargetingTagSpec struct {
	QueryMode TargetingTagQueryMode      `json:"query_mode,omitempty"`
	QuerySpec *TargetingTagsGetQuerySpec `json:"query_spec,omitempty"`
}

获取行为定向标签的条件,type 为 BEHAVIOR 时必填

type BidAdjustment added in v1.3.0

type BidAdjustment struct {
	SiteSetPackage *[]SiteSetPackageStruct `json:"site_set_package,omitempty"`
}

出价系数设置内容,仅当投放oCPC、oCPM广告时可使用

type BidAmountSpec

type BidAmountSpec struct {
	BidAmount int64 `json:"bid_amount,omitempty"`
}

出价修改信息

type BidMode added in v1.3.0

type BidMode string

BidMode : 出价方式,<br/> 1. bid_mode为billing_event升级字段,不可同时输入,升级后直接写入bid_mode字段即可;<br/> 2. 当投放智能出价广告,可写入BID_MODE_OCPC/BID_MODE_OCPM。此时,optimization_goal优化目标字段必填;<br/> 3. 当投放非智能出价广告,可写入BID_MODE_CPC/BID_MODE_CPM/BID_MODE_CPA。此时,optimization_goal优化目标字段不可填;<br/> 4. 针对非微信流量,BID_MODE_CPC可编辑修改为BID_MODE_OCPC,BID_MODE_CPM可编辑修改为BID_MODE_OCPM,其他修改不可操作。针对微信流量,bid_mode字段不可修改;<br/> 5. 可通过adcreative_templates/get接口查询不同情况下支持的出价方式;

const (
	BidMode_CPC  BidMode = "BID_MODE_CPC"
	BidMode_CPA  BidMode = "BID_MODE_CPA"
	BidMode_CPM  BidMode = "BID_MODE_CPM"
	BidMode_OCPC BidMode = "BID_MODE_OCPC"
	BidMode_OCPM BidMode = "BID_MODE_OCPM"
)

List of BidMode

type BidSimulateResultItem added in v1.2.0

type BidSimulateResultItem struct {
	Bid           int64 `json:"bid,omitempty"`
	ExposeCnt     int64 `json:"expose_cnt,omitempty"`
	ClickCnt      int64 `json:"click_cnt,omitempty"`
	ConversionCnt int64 `json:"conversion_cnt,omitempty"`
}

出价模拟结果

type BidSimulationGetRequest added in v1.2.0

type BidSimulationGetRequest struct {
	AccountId             int64    `json:"account_id,omitempty"`
	ReqType               int64    `json:"req_type,omitempty"`
	OptimizationGoalLevel int64    `json:"optimization_goal_level,omitempty"`
	AdgroupId             int64    `json:"adgroup_id,omitempty"`
	BidList               *[]int64 `json:"bid_list,omitempty"`
}

type BidSimulationGetResponse added in v1.2.0

type BidSimulationGetResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *BidSimulationGetResponseData `json:"data,omitempty"`
}

type BidSimulationGetResponseData added in v1.2.0

type BidSimulationGetResponseData struct {
	DiagBidSimulate *[]BidSimulateResultItem `json:"diag_bid_simulate,omitempty"`
}

type BidStrategy

type BidStrategy string

BidStrategy : 出价策略,仅oCPC/oCPM广告可设置

const (
	BidStrategy_UNSUPPORTED       BidStrategy = "BID_STRATEGY_UNSUPPORTED"
	BidStrategy_AVERAGE_COST      BidStrategy = "BID_STRATEGY_AVERAGE_COST"
	BidStrategy_TARGET_COST       BidStrategy = "BID_STRATEGY_TARGET_COST"
	BidStrategy_PRIORITY_LOW_COST BidStrategy = "BID_STRATEGY_PRIORITY_LOW_COST"
)

List of BidStrategy

type BillingEvent

type BillingEvent string

BillingEvent : 计费类型

const (
	BillingEvent_NONE         BillingEvent = "BILLINGEVENT_NONE"
	BillingEvent_CLICK        BillingEvent = "BILLINGEVENT_CLICK"
	BillingEvent_APP_DOWNLOAD BillingEvent = "BILLINGEVENT_APP_DOWNLOAD"
	BillingEvent_IMPRESSION   BillingEvent = "BILLINGEVENT_IMPRESSION"
	BillingEvent_APP_INSTALL  BillingEvent = "BILLINGEVENT_APP_INSTALL"
	BillingEvent_DURATION     BillingEvent = "BILLINGEVENT_DURATION"
	BillingEvent_DAY          BillingEvent = "BILLINGEVENT_DAY"
)

List of BillingEvent

type BmAccountType added in v1.1.1

type BmAccountType string

BmAccountType : 商务管家账号类型

const (
	BmAccountType_QQ     BmAccountType = "BM_ACCOUNT_TYPE_QQ"
	BmAccountType_WECHAT BmAccountType = "BM_ACCOUNT_TYPE_WECHAT"
)

List of BMAccountType

type BrandAddResponse

type BrandAddResponse struct {
	Code      int64                 `json:"code,omitempty"`
	Message   string                `json:"message,omitempty"`
	MessageCn string                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct     `json:"errors,omitempty"`
	Data      *BrandAddResponseData `json:"data,omitempty"`
}

type BrandAddResponseData

type BrandAddResponseData struct {
	AccountId   int64  `json:"account_id,omitempty"`
	Name        string `json:"name,omitempty"`
	ImageId     string `json:"image_id,omitempty"`
	Width       int64  `json:"width,omitempty"`
	Height      int64  `json:"height,omitempty"`
	ImageUrl    string `json:"image_url,omitempty"`
	CreatedTime int64  `json:"created_time,omitempty"`
}

type BrandGetListStruct

type BrandGetListStruct struct {
	AccountId   int64  `json:"account_id,omitempty"`
	Name        string `json:"name,omitempty"`
	ImageId     string `json:"image_id,omitempty"`
	Width       int64  `json:"width,omitempty"`
	Height      int64  `json:"height,omitempty"`
	ImageUrl    string `json:"image_url,omitempty"`
	CreatedTime int64  `json:"created_time,omitempty"`
}

返回结构

type BrandGetResponse

type BrandGetResponse struct {
	Code      int64                 `json:"code,omitempty"`
	Message   string                `json:"message,omitempty"`
	MessageCn string                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct     `json:"errors,omitempty"`
	Data      *BrandGetResponseData `json:"data,omitempty"`
}

type BrandGetResponseData

type BrandGetResponseData struct {
	List     *[]BrandGetListStruct `json:"list,omitempty"`
	PageInfo *PageInfo             `json:"page_info,omitempty"`
}

type BrandStruct

type BrandStruct struct {
	BrandImg         string `json:"brand_img,omitempty"`
	BrandName        string `json:"brand_name,omitempty"`
	BrandDescription string `json:"brand_description,omitempty"`
}

品牌形象结构

type BusinessManagerRelationsGetListStruct

type BusinessManagerRelationsGetListStruct struct {
	AccountId       int64         `json:"account_id,omitempty"`
	CorporationName string        `json:"corporation_name,omitempty"`
	AccountType     BmAccountType `json:"account_type,omitempty"`
}

返回结构

type BusinessManagerRelationsGetResponse

type BusinessManagerRelationsGetResponse struct {
	Code      int64                                    `json:"code,omitempty"`
	Message   string                                   `json:"message,omitempty"`
	MessageCn string                                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                        `json:"errors,omitempty"`
	Data      *BusinessManagerRelationsGetResponseData `json:"data,omitempty"`
}

type BusinessManagerRelationsGetResponseData

type BusinessManagerRelationsGetResponseData struct {
	List     *[]BusinessManagerRelationsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                                    `json:"page_info,omitempty"`
}

type BusinessMdmAccountRelationsGetListStruct added in v1.4.1

type BusinessMdmAccountRelationsGetListStruct struct {
	AccountId       int64 `json:"account_id,omitempty"`
	BusinessId      int64 `json:"business_id,omitempty"`
	MdmId           int64 `json:"mdm_id,omitempty"`
	AgencyAccountId int64 `json:"agency_account_id,omitempty"`
}

返回结构

type BusinessMdmAccountRelationsGetResponse added in v1.4.1

type BusinessMdmAccountRelationsGetResponse struct {
	Code      int64                                       `json:"code,omitempty"`
	Message   string                                      `json:"message,omitempty"`
	MessageCn string                                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                           `json:"errors,omitempty"`
	Data      *BusinessMdmAccountRelationsGetResponseData `json:"data,omitempty"`
}

type BusinessMdmAccountRelationsGetResponseData added in v1.4.1

type BusinessMdmAccountRelationsGetResponseData struct {
	List     *[]BusinessMdmAccountRelationsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                                       `json:"page_info,omitempty"`
}

type BusinessMdmRelationType added in v1.4.1

type BusinessMdmRelationType string

BusinessMdmRelationType : 关联类型

const (
	BusinessMdmRelationType_MDM      BusinessMdmRelationType = "RELATION_TYPE_MDM"
	BusinessMdmRelationType_BUSINESS BusinessMdmRelationType = "RELATION_TYPE_BUSINESS"
)

List of BusinessMdmRelationType

type CalcStatus added in v1.2.0

type CalcStatus string

CalcStatus : 广告状态

const (
	CalcStatus_UNKNOWN                 CalcStatus = "STATUS_UNKNOWN"
	CalcStatus_PENDING                 CalcStatus = "STATUS_PENDING"
	CalcStatus_DENIED                  CalcStatus = "STATUS_DENIED"
	CalcStatus_FROZEN                  CalcStatus = "STATUS_FROZEN"
	CalcStatus_SUSPEND                 CalcStatus = "STATUS_SUSPEND"
	CalcStatus_READY                   CalcStatus = "STATUS_READY"
	CalcStatus_ACTIVE                  CalcStatus = "STATUS_ACTIVE"
	CalcStatus_STOP                    CalcStatus = "STATUS_STOP"
	CalcStatus_PREPARE                 CalcStatus = "STATUS_PREPARE"
	CalcStatus_DELETED                 CalcStatus = "STATUS_DELETED"
	CalcStatus_ACTIVE_ACCOUNT_FROZEN   CalcStatus = "STATUS_ACTIVE_ACCOUNT_FROZEN"
	CalcStatus_ACTIVE_ACCOUNT_EMPTY    CalcStatus = "STATUS_ACTIVE_ACCOUNT_EMPTY"
	CalcStatus_ACTIVE_ACCOUNT_LIMIT    CalcStatus = "STATUS_ACTIVE_ACCOUNT_LIMIT"
	CalcStatus_ACTIVE_CAMPAIGN_LIMIT   CalcStatus = "STATUS_ACTIVE_CAMPAIGN_LIMIT"
	CalcStatus_ACTIVE_CAMPAIGN_SUSPEND CalcStatus = "STATUS_ACTIVE_CAMPAIGN_SUSPEND"
	CalcStatus_PART_READY              CalcStatus = "STATUS_PART_READY"
	CalcStatus_PART_ACTIVE             CalcStatus = "STATUS_PART_ACTIVE"
)

List of CalcStatus

type CalculateStatus added in v1.4.0

type CalculateStatus string

CalculateStatus : 计算状态

const (
	CalculateStatus_NORMAL                 CalculateStatus = "CALCULATE_STATUS_NORMAL"
	CalculateStatus_PENDING                CalculateStatus = "CALCULATE_STATUS_PENDING"
	CalculateStatus_DENIED                 CalculateStatus = "CALCULATE_STATUS_DENIED"
	CalculateStatus_FROZEN                 CalculateStatus = "CALCULATE_STATUS_FROZEN"
	CalculateStatus_SUSPEND                CalculateStatus = "CALCULATE_STATUS_SUSPEND"
	CalculateStatus_READY                  CalculateStatus = "CALCULATE_STATUS_READY"
	CalculateStatus_ACTIVE                 CalculateStatus = "CALCULATE_STATUS_ACTIVE"
	CalculateStatus_STOP                   CalculateStatus = "CALCULATE_STATUS_STOP"
	CalculateStatus_NOT_READY_IMG          CalculateStatus = "CALCULATE_STATUS_NOT_READY_IMG"
	CalculateStatus_DELETED                CalculateStatus = "CALCULATE_STATUS_DELETED"
	CalculateStatus_NOT_READY_ACCT_DISABLE CalculateStatus = "CALCULATE_STATUS_NOT_READY_ACCT_DISABLE"
	CalculateStatus_STOP_ACCT_NO_FUND      CalculateStatus = "CALCULATE_STATUS_STOP_ACCT_NO_FUND"
	CalculateStatus_STOP_ACCT_BUDGET       CalculateStatus = "CALCULATE_STATUS_STOP_ACCT_BUDGET"
	CalculateStatus_STOP_CAMP_BUDGET       CalculateStatus = "CALCULATE_STATUS_STOP_CAMP_BUDGET"
	CalculateStatus_STOP_CAMP_PAUSE        CalculateStatus = "CALCULATE_STATUS_STOP_CAMP_PAUSE"
	CalculateStatus_ACTIVE_CAMP            CalculateStatus = "CALCULATE_STATUS_ACTIVE_CAMP"
	CalculateStatus_READY_CAMP             CalculateStatus = "CALCULATE_STATUS_READY_CAMP"
	CalculateStatus_ACTIVE_ACCP            CalculateStatus = "CALCULATE_STATUS_ACTIVE_ACCP"
	CalculateStatus_READY_ACCP             CalculateStatus = "CALCULATE_STATUS_READY_ACCP"
	CalculateStatus_SPONSORLIMIT           CalculateStatus = "CALCULATE_STATUS_SPONSORLIMIT"
	CalculateStatus_ACTIVE_ACC_FROZEN      CalculateStatus = "CALCULATE_STATUS_ACTIVE_ACC_FROZEN"
	CalculateStatus_ACTIVE_ACC_EMPTY       CalculateStatus = "CALCULATE_STATUS_ACTIVE_ACC_EMPTY"
	CalculateStatus_ACTIVE_ACC_LIMIT       CalculateStatus = "CALCULATE_STATUS_ACTIVE_ACC_LIMIT"
	CalculateStatus_ACTIVE_CAM_LIMIT       CalculateStatus = "CALCULATE_STATUS_ACTIVE_CAM_LIMIT"
	CalculateStatus_ACTIVE_CAM_PAUSED      CalculateStatus = "CALCULATE_STATUS_ACTIVE_CAM_PAUSED"
	CalculateStatus_PART_ENABLE            CalculateStatus = "CALCULATE_STATUS_PART_ENABLE"
	CalculateStatus_UNAUDIT_RE             CalculateStatus = "CALCULATE_STATUS_UNAUDIT_RE"
	CalculateStatus_PART_READY             CalculateStatus = "CALCULATE_STATUS_PART_READY"
	CalculateStatus_PART_ACTIVE            CalculateStatus = "CALCULATE_STATUS_PART_ACTIVE"
	CalculateStatus_PART_PREPARE           CalculateStatus = "CALCULATE_STATUS_PART_PREPARE"
	CalculateStatus_PART_INVALID           CalculateStatus = "CALCULATE_STATUS_PART_INVALID"
	CalculateStatus_AD_PARTIAL_NORMAL      CalculateStatus = "CALCULATE_STATUS_AD_PARTIAL_NORMAL"
	CalculateStatus_AD_PARTIAL_PENDING     CalculateStatus = "CALCULATE_STATUS_AD_PARTIAL_PENDING"
)

List of CalculateStatus

type CampaignCreateSpec added in v1.4.0

type CampaignCreateSpec struct {
	AccountId    int64  `json:"account_id,omitempty"`
	CampaignName string `json:"campaign_name,omitempty"`
}

计划结构

type CampaignGetSpec added in v1.4.0

type CampaignGetSpec struct {
	CampaignId   int64  `json:"campaign_id,omitempty"`
	CampaignName string `json:"campaign_name,omitempty"`
}

计划结构

type CampaignTargeting

type CampaignTargeting struct {
	CampaignId   int64        `json:"campaign_id,omitempty"`
	CampaignType CampaignType `json:"campaign_type,omitempty"`
	DailyBudget  int64        `json:"daily_budget,omitempty"`
}

推广计划信息

type CampaignType

type CampaignType string

CampaignType : 推广计划类型

const (
	CampaignType_SEARCH                   CampaignType = "CAMPAIGN_TYPE_SEARCH"
	CampaignType_NORMAL                   CampaignType = "CAMPAIGN_TYPE_NORMAL"
	CampaignType_CONTRACT                 CampaignType = "CAMPAIGN_TYPE_CONTRACT"
	CampaignType_WECHAT_OFFICIAL_ACCOUNTS CampaignType = "CAMPAIGN_TYPE_WECHAT_OFFICIAL_ACCOUNTS"
	CampaignType_WECHAT_MOMENTS           CampaignType = "CAMPAIGN_TYPE_WECHAT_MOMENTS"
	CampaignType_UNSUPPORTED              CampaignType = "CAMPAIGN_TYPE_UNSUPPORTED"
)

List of CampaignType

type CampaignUpdateSpec added in v1.4.0

type CampaignUpdateSpec struct {
	CampaignName string `json:"campaign_name,omitempty"`
}

计划结构

type CampaignsAddRequest

type CampaignsAddRequest struct {
	AccountId          int64              `json:"account_id,omitempty"`
	CampaignName       string             `json:"campaign_name,omitempty"`
	CampaignType       CampaignType       `json:"campaign_type,omitempty"`
	PromotedObjectType PromotedObjectType `json:"promoted_object_type,omitempty"`
	DailyBudget        int64              `json:"daily_budget,omitempty"`
	ConfiguredStatus   AdStatus           `json:"configured_status,omitempty"`
	SpeedMode          SpeedMode          `json:"speed_mode,omitempty"`
}

type CampaignsAddResponse

type CampaignsAddResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *CampaignsAddResponseData `json:"data,omitempty"`
}

type CampaignsAddResponseData

type CampaignsAddResponseData struct {
	CampaignId int64 `json:"campaign_id,omitempty"`
}

type CampaignsDeleteRequest

type CampaignsDeleteRequest struct {
	AccountId  int64 `json:"account_id,omitempty"`
	CampaignId int64 `json:"campaign_id,omitempty"`
}

type CampaignsDeleteResponse

type CampaignsDeleteResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *CampaignsDeleteResponseData `json:"data,omitempty"`
}

type CampaignsDeleteResponseData

type CampaignsDeleteResponseData struct {
	CampaignId int64 `json:"campaign_id,omitempty"`
}

type CampaignsGetListStruct

type CampaignsGetListStruct struct {
	CampaignId         int64              `json:"campaign_id,omitempty"`
	CampaignName       string             `json:"campaign_name,omitempty"`
	ConfiguredStatus   AdStatus           `json:"configured_status,omitempty"`
	CampaignType       CampaignType       `json:"campaign_type,omitempty"`
	PromotedObjectType PromotedObjectType `json:"promoted_object_type,omitempty"`
	DailyBudget        int64              `json:"daily_budget,omitempty"`
	BudgetReachDate    int64              `json:"budget_reach_date,omitempty"`
	CreatedTime        int64              `json:"created_time,omitempty"`
	LastModifiedTime   int64              `json:"last_modified_time,omitempty"`
	SpeedMode          SpeedMode          `json:"speed_mode,omitempty"`
	IsDeleted          bool               `json:"is_deleted,omitempty"`
	IsAutoReplenish    int64              `json:"is_auto_replenish,omitempty"`
}

返回结构

type CampaignsGetResponse

type CampaignsGetResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *CampaignsGetResponseData `json:"data,omitempty"`
}

type CampaignsGetResponseData

type CampaignsGetResponseData struct {
	List     *[]CampaignsGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500          `json:"page_info,omitempty"`
}

type CampaignsUpdateConfiguredStatusListStruct

type CampaignsUpdateConfiguredStatusListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type CampaignsUpdateConfiguredStatusRequest

type CampaignsUpdateConfiguredStatusRequest struct {
	AccountId                  int64                                                          `json:"account_id,omitempty"`
	UpdateConfiguredStatusSpec *[]CampaignsUpdateConfiguredStatusUpdateConfiguredStatusStruct `json:"update_configured_status_spec,omitempty"`
}

type CampaignsUpdateConfiguredStatusResponse

type CampaignsUpdateConfiguredStatusResponse struct {
	Code      int64                                        `json:"code,omitempty"`
	Message   string                                       `json:"message,omitempty"`
	MessageCn string                                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                            `json:"errors,omitempty"`
	Data      *CampaignsUpdateConfiguredStatusResponseData `json:"data,omitempty"`
}

type CampaignsUpdateConfiguredStatusResponseData

type CampaignsUpdateConfiguredStatusResponseData struct {
	List *[]CampaignsUpdateConfiguredStatusListStruct `json:"list,omitempty"`
}

type CampaignsUpdateConfiguredStatusUpdateConfiguredStatusStruct

type CampaignsUpdateConfiguredStatusUpdateConfiguredStatusStruct struct {
	CampaignId       int64    `json:"campaign_id,omitempty"`
	ConfiguredStatus AdStatus `json:"configured_status,omitempty"`
}

更新客户设置的状态条件

type CampaignsUpdateDailyBudgetListStruct

type CampaignsUpdateDailyBudgetListStruct struct {
	Code      int64  `json:"code,omitempty"`
	Message   string `json:"message,omitempty"`
	MessageCn string `json:"message_cn,omitempty"`
}

返回结构

type CampaignsUpdateDailyBudgetRequest

type CampaignsUpdateDailyBudgetRequest struct {
	AccountId             int64                                                `json:"account_id,omitempty"`
	UpdateDailyBudgetSpec *[]CampaignsUpdateDailyBudgetUpdateDailyBudgetStruct `json:"update_daily_budget_spec,omitempty"`
}

type CampaignsUpdateDailyBudgetResponse

type CampaignsUpdateDailyBudgetResponse struct {
	Code      int64                                   `json:"code,omitempty"`
	Message   string                                  `json:"message,omitempty"`
	MessageCn string                                  `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                       `json:"errors,omitempty"`
	Data      *CampaignsUpdateDailyBudgetResponseData `json:"data,omitempty"`
}

type CampaignsUpdateDailyBudgetResponseData

type CampaignsUpdateDailyBudgetResponseData struct {
	List *[]CampaignsUpdateDailyBudgetListStruct `json:"list,omitempty"`
}

type CampaignsUpdateDailyBudgetUpdateDailyBudgetStruct

type CampaignsUpdateDailyBudgetUpdateDailyBudgetStruct struct {
	CampaignId  int64 `json:"campaign_id,omitempty"`
	DailyBudget int64 `json:"daily_budget,omitempty"`
}

更新日限额条件

type CampaignsUpdateRequest

type CampaignsUpdateRequest struct {
	AccountId        int64     `json:"account_id,omitempty"`
	CampaignId       int64     `json:"campaign_id,omitempty"`
	CampaignName     string    `json:"campaign_name,omitempty"`
	DailyBudget      *int64    `json:"daily_budget,omitempty"`
	ConfiguredStatus AdStatus  `json:"configured_status,omitempty"`
	SpeedMode        SpeedMode `json:"speed_mode,omitempty"`
	BeginDate        string    `json:"begin_date,omitempty"`
	EndDate          string    `json:"end_date,omitempty"`
	IsAutoReplenish  int64     `json:"is_auto_replenish,omitempty"`
}

type CampaignsUpdateResponse

type CampaignsUpdateResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *CampaignsUpdateResponseData `json:"data,omitempty"`
}

type CampaignsUpdateResponseData

type CampaignsUpdateResponseData struct {
	CampaignId int64 `json:"campaign_id,omitempty"`
}

type CanvasType added in v1.4.0

type CanvasType string

CanvasType : 原生页类型

const (
	CanvasType_VIDEO            CanvasType = "CANVAS_TYPE_VIDEO"
	CanvasType_IMAGE            CanvasType = "CANVAS_TYPE_IMAGE"
	CanvasType_PORTRAIT_VIDEO   CanvasType = "CANVAS_TYPE_PORTRAIT_VIDEO"
	CanvasType_PORTRAIT_VIDEO_2 CanvasType = "CANVAS_TYPE_PORTRAIT_VIDEO_2"
	CanvasType_COMMON_PAGE      CanvasType = "CANVAS_TYPE_COMMON_PAGE"
)

List of CanvasType

type CapabilitiesGetQuerySpec added in v1.3.0

type CapabilitiesGetQuerySpec struct {
	WechatLinkAd *WechatLinkAd `json:"wechat_link_ad,omitempty"`
	WechatOcpa   *WechatOcpa   `json:"wechat_ocpa,omitempty"`
}

查询条件

type CapabilitiesGetResponse

type CapabilitiesGetResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *CapabilitiesGetResponseData `json:"data,omitempty"`
}

type CapabilitiesGetResponseData

type CapabilitiesGetResponseData struct {
	WechatEcommerceProductSpec *WechatEcommerceProductSpec `json:"wechat_ecommerce_product_spec,omitempty"`
	WechatLinkAdSpec           *WechatLinkAdSpec           `json:"wechat_link_ad_spec,omitempty"`
	WechatOcpaSpec             *[]WechatOcpaSpecStruct     `json:"wechat_ocpa_spec,omitempty"`
}

type Capability

type Capability string

Capability : 广告投放能力

const (
	Capability_ECOMMERCE_PRODUCT Capability = "CAPABILITY_WECHAT_ECOMMERCE_PRODUCT"
	Capability_LINK_AD           Capability = "CAPABILITY_WECHAT_LINK_AD"
	Capability_OCPA              Capability = "CAPABILITY_WECHAT_OCPA"
)

List of Capability

type CardSpec

type CardSpec struct {
	Title  string `json:"title,omitempty"`
	CardId string `json:"card_id,omitempty"`
}

卡券信息

type CatalogIndustry

type CatalogIndustry string

CatalogIndustry : 商品库行业类型

const (
	CatalogIndustry_ECOMMERCE CatalogIndustry = "INDUSTRY_TYPE_ECOMMERCE"
	CatalogIndustry_READING   CatalogIndustry = "INDUSTRY_TYPE_READING"
	CatalogIndustry_EDUCATION CatalogIndustry = "INDUSTRY_TYPE_EDUCATION"
)

List of CatalogIndustry

type CatalogScale

type CatalogScale string

CatalogScale : 商品库规模

const (
	CatalogScale_NORMAL CatalogScale = "CATALOG_SCALE_TYPE_NORMAL"
	CatalogScale_HUGE   CatalogScale = "CATALOG_SCALE_TYPE_HUGE"
)

List of CatalogScale

type CatalogStatus

type CatalogStatus string

CatalogStatus : 商品目录状态,详见 <a href='catalog_status' target='_blank'>[商品目录状态]</a>

const (
	CatalogStatus_PREPARE CatalogStatus = "PRODUCT_CATALOG_STATUS_PREPARE"
	CatalogStatus_NORMAL  CatalogStatus = "PRODUCT_CATALOG_STATUS_NORMAL"
	CatalogStatus_SUSPEND CatalogStatus = "PRODUCT_CATALOG_STATUS_SUSPEND"
	CatalogStatus_DELETED CatalogStatus = "PRODUCT_CATALOG_STATUS_DELETED"
)

List of CatalogStatus

type CatalogType

type CatalogType string

CatalogType : 商品库类型

const (
	CatalogType_CATALOG_TYPE_UNKNOWN           CatalogType = "CATALOG_TYPE_UNKNOWN"
	CatalogType_CATALOG_TYPE_STANDARD          CatalogType = "CATALOG_TYPE_STANDARD"
	CatalogType_CATALOG_TYPE_FENGYE            CatalogType = "CATALOG_TYPE_FENGYE"
	CatalogType_CATALOG_TYPE_LOCAL_STORE       CatalogType = "CATALOG_TYPE_LOCAL_STORE"
	CatalogType_PRODUCT_CATALOG_TYPE_STANDARD  CatalogType = "PRODUCT_CATALOG_TYPE_STANDARD"
	CatalogType_PRODUCT_CATALOG_TYPE_FENGYE    CatalogType = "PRODUCT_CATALOG_TYPE_FENGYE"
	CatalogType_PRODUCT_CATALOG_TYPE_SMALLSHOP CatalogType = "PRODUCT_CATALOG_TYPE_SMALLSHOP"
	CatalogType_PRODUCT_CATALOG_TYPE_YUEBAO    CatalogType = "PRODUCT_CATALOG_TYPE_YUEBAO"
	CatalogType_PRODUCT_CATALOG_TYPE_MAIBAO    CatalogType = "PRODUCT_CATALOG_TYPE_MAIBAO"
)

List of CatalogType

type CatalogVertical

type CatalogVertical string

CatalogVertical : 商品目录行业类型,详见 <a href='catalog_vertical' target='_blank'>[商品目录行业类型]</a>

const (
	CatalogVertical_EC                   CatalogVertical = "VERTICAL_EC"
	CatalogVertical_ESTATE               CatalogVertical = "VERTICAL_ESTATE"
	CatalogVertical_HOTEL                CatalogVertical = "VERTICAL_HOTEL"
	CatalogVertical_TICKET               CatalogVertical = "VERTICAL_TICKET"
	CatalogVertical_TRAVEL               CatalogVertical = "VERTICAL_TRAVEL"
	CatalogVertical_SCENERY              CatalogVertical = "VERTICAL_SCENERY"
	CatalogVertical_VIDEO                CatalogVertical = "VERTICAL_VIDEO"
	CatalogVertical_CAR                  CatalogVertical = "VERTICAL_CAR"
	CatalogVertical_LOCAL_SERVICES       CatalogVertical = "VERTICAL_LOCAL_SERVICES"
	CatalogVertical_NEWS_INFORMATION     CatalogVertical = "VERTICAL_NEWS_INFORMATION"
	CatalogVertical_BEAUTY_PERSONAL_CARE CatalogVertical = "VERTICAL_BEAUTY_PERSONAL_CARE"
)

List of CatalogVertical

type Category added in v1.3.0

type Category struct {
	Level OcpaCategoryLevel `json:"level,omitempty"`
	Id    int64             `json:"id,omitempty"`
	Name  string            `json:"name,omitempty"`
}

类目信息

type CategoryItem added in v1.1.1

type CategoryItem struct {
	CategoryId       int64                `json:"category_id,omitempty"`
	CategoryName     string               `json:"category_name,omitempty"`
	ParentCategoryId int64                `json:"parent_category_id,omitempty"`
	Level            int64                `json:"level,omitempty"`
	CategoryPath     *[]CategoryPathsItem `json:"category_path,omitempty"`
}

商品类目

type CategoryPathsItem added in v1.3.0

type CategoryPathsItem struct {
	CategoryId   int64  `json:"category_id,omitempty"`
	CategoryName string `json:"category_name,omitempty"`
	Level        int64  `json:"level,omitempty"`
}

类目路径

type ChannelPackageData

type ChannelPackageData struct {
	AndroidAppId     int64              `json:"android_app_id,omitempty"`
	PackageName      string             `json:"package_name,omitempty"`
	ChannelPackageId string             `json:"channel_package_id,omitempty"`
	VersionCode      int64              `json:"version_code,omitempty"`
	VersionName      string             `json:"version_name,omitempty"`
	CreatedTime      int64              `json:"created_time,omitempty"`
	LastModifiedTime int64              `json:"last_modified_time,omitempty"`
	SystemStatus     PackageSysStatus   `json:"system_status,omitempty"`
	AuditStatus      PackageAuditStatus `json:"audit_status,omitempty"`
}

渠道包信息

type ChannelPackageInfo

type ChannelPackageInfo struct {
	AndroidAppId     int64             `json:"android_app_id,omitempty"`
	PackageName      string            `json:"package_name,omitempty"`
	Status           ChannelTaskStatus `json:"status,omitempty"`
	ErrorCode        ChannelTaskError  `json:"error_code,omitempty"`
	CreatedTime      int64             `json:"created_time,omitempty"`
	LastModifiedTime int64             `json:"last_modified_time,omitempty"`
}

广告渠道包任务处理信息

type ChannelPackageSpecStruct added in v1.3.0

type ChannelPackageSpecStruct struct {
	AppAndroidChannelPackageId string `json:"app_android_channel_package_id,omitempty"`
	PackageName                string `json:"package_name,omitempty"`
}

渠道包详细信息

type ChannelTaskError

type ChannelTaskError string

ChannelTaskError : 渠道包任务错误码

const (
	ChannelTaskError_NORMAL               ChannelTaskError = "TASK_ERROR_NORMAL"
	ChannelTaskError_UNABLE_DOWNLOAD      ChannelTaskError = "TASK_ERROR_UNABLE_DOWNLOAD"
	ChannelTaskError_MISMATCH_PACKAGENAME ChannelTaskError = "TASK_ERROR_MISMATCH_PACKAGENAME"
	ChannelTaskError_ILLEGAL_VERSION      ChannelTaskError = "TASK_ERROR_ILLEGAL_VERSION"
	ChannelTaskError_DUPLICATE_PACKAGE    ChannelTaskError = "TASK_ERROR_DUPLICATE_PACKAGE"
	ChannelTaskError_PARSE_FAIL           ChannelTaskError = "TASK_ERROR_PARSE_FAIL"
	ChannelTaskError_MISS_YSDK            ChannelTaskError = "TASK_ERROR_MISS_YSDK"
	ChannelTaskError_UPLOAD_FAIL          ChannelTaskError = "TASK_ERROR_UPLOAD_FAIL"
	ChannelTaskError_SUBMIT_FAIL          ChannelTaskError = "TASK_ERROR_SUBMIT_FAIL"
	ChannelTaskError_SERVER_ERROR         ChannelTaskError = "TASK_ERROR_SERVER_ERROR"
)

List of ChannelTaskError

type ChannelTaskStatus

type ChannelTaskStatus string

ChannelTaskStatus : 渠道包任务处理状态

const (
	ChannelTaskStatus_PENDING    ChannelTaskStatus = "CHANNEL_TASK_STATUS_PENDING"
	ChannelTaskStatus_PROCESSING ChannelTaskStatus = "CHANNEL_TASK_STATUS_PROCESSING"
	ChannelTaskStatus_ERROR      ChannelTaskStatus = "CHANNEL_TASK_STATUS_ERROR"
	ChannelTaskStatus_COMPLETED  ChannelTaskStatus = "CHANNEL_TASK_STATUS_COMPLETED"
)

List of ChannelTaskStatus

type ChannelsAddRequest added in v1.4.0

type ChannelsAddRequest struct {
	Adgroup    *AdgroupCreateSpec    `json:"adgroup,omitempty"`
	Campaign   *CampaignCreateSpec   `json:"campaign,omitempty"`
	Adcreative *AdCreativeCreateSpec `json:"adcreative,omitempty"`
}

type ChannelsAddResponse added in v1.4.0

type ChannelsAddResponse struct {
	Code      int64                    `json:"code,omitempty"`
	Message   string                   `json:"message,omitempty"`
	MessageCn string                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct        `json:"errors,omitempty"`
	Data      *ChannelsAddResponseData `json:"data,omitempty"`
}

type ChannelsAddResponseData added in v1.4.0

type ChannelsAddResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type ChannelsGetRequest added in v1.4.0

type ChannelsGetRequest struct {
	AccountId int64              `json:"account_id,omitempty"`
	DateRange *DateRange         `json:"date_range,omitempty"`
	Filtering *[]FilteringStruct `json:"filtering,omitempty"`
	Level     DpApiReportLevel   `json:"level,omitempty"`
	Page      int64              `json:"page,omitempty"`
	PageSize  int64              `json:"page_size,omitempty"`
}

type ChannelsGetResponse added in v1.4.0

type ChannelsGetResponse struct {
	Code      int64                    `json:"code,omitempty"`
	Message   string                   `json:"message,omitempty"`
	MessageCn string                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct        `json:"errors,omitempty"`
	Data      *ChannelsGetResponseData `json:"data,omitempty"`
}

type ChannelsGetResponseData added in v1.4.0

type ChannelsGetResponseData struct {
	List     *[]AllDataSpec `json:"list,omitempty"`
	PageInfo *DpPageInfo    `json:"page_info,omitempty"`
}

type ChannelsUpdateRequest added in v1.4.0

type ChannelsUpdateRequest struct {
	AccountId  int64                 `json:"account_id,omitempty"`
	AdgroupId  int64                 `json:"adgroup_id,omitempty"`
	Adgroup    *AdgroupUpdateSpec    `json:"adgroup,omitempty"`
	Campaign   *CampaignUpdateSpec   `json:"campaign,omitempty"`
	Adcreative *AdCreativeUpdateSpec `json:"adcreative,omitempty"`
}

type ChannelsUpdateResponse added in v1.4.0

type ChannelsUpdateResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *ChannelsUpdateResponseData `json:"data,omitempty"`
}

type ChannelsUpdateResponseData added in v1.4.0

type ChannelsUpdateResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type CircleArea

type CircleArea struct {
	Longitude float64 `json:"longitude,omitempty"`
	Latitude  float64 `json:"latitude,omitempty"`
	Radius    int64   `json:"radius,omitempty"`
}

圆形区域定义

type CityLevel

type CityLevel string

CityLevel : 城市级别,仅当 type=REGION、BUSINESS_DISTRICT 时有效

const (
	CityLevel_FIRST  CityLevel = "CITY_LEVEL_FIRST"
	CityLevel_SECOND CityLevel = "CITY_LEVEL_SECOND"
	CityLevel_THIRD  CityLevel = "CITY_LEVEL_THIRD"
	CityLevel_NONE   CityLevel = "CITY_LEVEL_NONE"
)

List of CityLevel

type ClaimType

type ClaimType string

ClaimType : 归因方式,SDK上报方式时归因方式只能为CLAIM_TYPE_ACTIVATION

const (
	ClaimType_ACTIVATION ClaimType = "CLAIM_TYPE_ACTIVATION"
	ClaimType_CLICK      ClaimType = "CLAIM_TYPE_CLICK"
)

List of ClaimType

type ClickDetailStruct

type ClickDetailStruct struct {
	EffectData                 *ClickEffectDataStruct                 `json:"effect_data,omitempty"`
	EffectDataTrends           *[]ClickEffectDataTrendsItem           `json:"effect_data_trends,omitempty"`
	TargetingLabelContribution *ClickTargetingLabelContributionStruct `json:"targeting_label_contribution,omitempty"`
}

诊断详情-点击明细

type ClickEffectDataStruct

type ClickEffectDataStruct struct {
	Count       int64   `json:"count,omitempty"`
	Ratio       float64 `json:"ratio,omitempty"`
	CategoryWin float64 `json:"category_win,omitempty"`
	CategoryAvg float64 `json:"category_avg,omitempty"`
}

效果数据(点击)

type ClickEffectDataTrendsItem

type ClickEffectDataTrendsItem struct {
}

单日点击趋势

type ClickTargetingLabelContributionStruct

type ClickTargetingLabelContributionStruct struct {
	Locard   *[]LabelContributionListItem `json:"locard,omitempty"`
	Audience *[]LabelContributionListItem `json:"audience,omitempty"`
}

定向标签(点击)贡献度

type CollectionStruct added in v1.4.1

type CollectionStruct struct {
	Metrics   *Metrics   `json:"metrics,omitempty"`
	Dimension *Dimension `json:"dimension,omitempty"`
}

返回信息列表

type CombineSpec

type CombineSpec struct {
	Include *[]IncludeSimpleRule `json:"include,omitempty"`
	Exclude *[]ExcludeSimpleRule `json:"exclude,omitempty"`
}

组合人群信息

type CommonParamExceptionSpec

type CommonParamExceptionSpec struct {
	ErrorFields  *[]string `json:"error_fields,omitempty"`
	ErrorUserMsg string    `json:"error_user_msg,omitempty"`
}

type Comparator

type Comparator string

Comparator : 比较符

const (
	Comparator_GE      Comparator = "COMPARATOR_GE"
	Comparator_LE      Comparator = "COMPARATOR_LE"
	Comparator_BETWEEN Comparator = "COMPARATOR_BETWEEN"
	Comparator_EQ      Comparator = "COMPARATOR_EQ"
)

List of Comparator

type CompeteAttribution

type CompeteAttribution string

CompeteAttribution : 归因CODE

const (
	CompeteAttribution_ECPM                 CompeteAttribution = "ATTRIBUTE_ECPM"
	CompeteAttribution_BID                  CompeteAttribution = "ATTRIBUTE_BID"
	CompeteAttribution_PCTR                 CompeteAttribution = "ATTRIBUTE_PCTR"
	CompeteAttribution_TARGETING            CompeteAttribution = "ATTRIBUTE_TARGETING"
	CompeteAttribution_COLD_START           CompeteAttribution = "ATTRIBUTE_COLD_START"
	CompeteAttribution_EXPERIMENT           CompeteAttribution = "ATTRIBUTE_EXPERIMENT"
	CompeteAttribution_CAMPAIGN             CompeteAttribution = "ATTRIBUTE_CAMPAIGN"
	CompeteAttribution_EXPERIENCE_OTHERS    CompeteAttribution = "ATTRIBUTE_EXPERIENCE_OTHERS"
	CompeteAttribution_OTHERS               CompeteAttribution = "ATTRIBUTE_OTHERS"
	CompeteAttribution_EXPERIENCE_PRODUCT   CompeteAttribution = "ATTRIBUTE_EXPERIENCE_PRODUCT"
	CompeteAttribution_EXPERIENCE_CREATIVE  CompeteAttribution = "ATTRIBUTE_EXPERIENCE_CREATIVE"
	CompeteAttribution_LEARNING_FAILED      CompeteAttribution = "ATTRIBUTE_LEARNING_FAILED"
	CompeteAttribution_EXPERIENCE_FEEDBACK  CompeteAttribution = "ATTRIBUTE_EXPERIENCE_FEEDBACK"
	CompeteAttribution_EXPERIENCE_FRESHNESS CompeteAttribution = "ATTRIBUTE_EXPERIENCE_FRESHNESS"
	CompeteAttribution_BUDGET               CompeteAttribution = "ATTRIBUTE_BUDGET"
	CompeteAttribution_INNER_COMPETE        CompeteAttribution = "ATTRIBUTE_INNER_COMPETE"
	CompeteAttribution_PCVR                 CompeteAttribution = "ATTRIBUTE_PCVR"
)

List of CompeteAttribution

type CompeteAttributionStruct

type CompeteAttributionStruct struct {
	AttributeCode CompeteAttribution `json:"attribute_code,omitempty"`
	AttributeName string             `json:"attribute_name,omitempty"`
	Ratio         float64            `json:"ratio,omitempty"`
}

归因

type CompeteBidDetailsStruct

type CompeteBidDetailsStruct struct {
	Score      int64  `json:"score,omitempty"`
	BidAmount  int64  `json:"bid_amount,omitempty"`
	Conclusion string `json:"conclusion,omitempty"`
}

出价竞争力明细

type CompeteBudgetDetailsStruct

type CompeteBudgetDetailsStruct struct {
	Score                   int64  `json:"score,omitempty"`
	RaiseAccountBalanceFlag bool   `json:"raise_account_balance_flag,omitempty"`
	RecommendRecharge       int64  `json:"recommend_recharge,omitempty"`
	AccountDailyCost        int64  `json:"account_daily_cost,omitempty"`
	AccountDayBudget        int64  `json:"account_day_budget,omitempty"`
	CampaignDailyCost       int64  `json:"campaign_daily_cost,omitempty"`
	CampaignDayBudget       int64  `json:"campaign_day_budget,omitempty"`
	AdgroupDailyCost        int64  `json:"adgroup_daily_cost,omitempty"`
	AdgroupDayBudget        int64  `json:"adgroup_day_budget,omitempty"`
	AccountBalance          int64  `json:"account_balance,omitempty"`
	Conclusion              string `json:"conclusion,omitempty"`
}

预算竞争力明细

type CompeteIntenseTrendStruct

type CompeteIntenseTrendStruct struct {
	Score      int64          `json:"score,omitempty"`
	Trends     *[]PointStruct `json:"trends,omitempty"`
	Conclusion string         `json:"conclusion,omitempty"`
}

竞争激烈度情况

type CompetePctrTrendsStruct

type CompetePctrTrendsStruct struct {
	Score          int64          `json:"score,omitempty"`
	SelfAvg        *[]PointStruct `json:"self_avg,omitempty"`
	SelfChoseAvg   *[]PointStruct `json:"self_chose_avg,omitempty"`
	WinnerChoseAvg *[]PointStruct `json:"winner_chose_avg,omitempty"`
	Conclusion     string         `json:"conclusion,omitempty"`
}

点击率趋势变化

type CompetePcvrTrendsStruct

type CompetePcvrTrendsStruct struct {
	Score          int64          `json:"score,omitempty"`
	SelfAvg        *[]PointStruct `json:"self_avg,omitempty"`
	SelfChoseAvg   *[]PointStruct `json:"self_chose_avg,omitempty"`
	WinnerChoseAvg *[]PointStruct `json:"winner_chose_avg,omitempty"`
	Conclusion     string         `json:"conclusion,omitempty"`
}

转化率趋势变化

type CompeteSurroundingsStruct

type CompeteSurroundingsStruct struct {
	DisplayFlag        bool                           `json:"display_flag,omitempty"`
	TrafficSufficiency *TrafficSufficiencyTrendStruct `json:"traffic_sufficiency,omitempty"`
	CompeteIntense     *CompeteIntenseTrendStruct     `json:"compete_intense,omitempty"`
}

流量充足度、竞争宽松度趋势变化

type CompeteUserAcceptanceStruct

type CompeteUserAcceptanceStruct struct {
	Score      int64                       `json:"score,omitempty"`
	Acceptance *[]CompeteAttributionStruct `json:"acceptance,omitempty"`
	Conclusion string                      `json:"conclusion,omitempty"`
	Ratio      float64                     `json:"ratio,omitempty"`
}

用户接受度

type CompeteWinAdgroupListItem

type CompeteWinAdgroupListItem struct {
	Rank        int64  `json:"rank,omitempty"`
	AdgroupId   int64  `json:"adgroup_id,omitempty"`
	AdgroupName string `json:"adgroup_name,omitempty"`
}

账户内部竞争激烈度列表节点

type CompeteWinAdgroupStruct

type CompeteWinAdgroupStruct struct {
	Score      int64                        `json:"score,omitempty"`
	List       *[]CompeteWinAdgroupListItem `json:"list,omitempty"`
	Conclusion string                       `json:"conclusion,omitempty"`
}

账户内部竞争激烈度

type CompeteWinRateFunnelStruct

type CompeteWinRateFunnelStruct struct {
	Value              float64 `json:"value,omitempty"`
	Score              int64   `json:"score,omitempty"`
	ScoreDesc          string  `json:"score_desc,omitempty"`
	RankCategory       int64   `json:"rank_category,omitempty"`
	RankSecondCategory int64   `json:"rank_second_category,omitempty"`
	RankOverall        int64   `json:"rank_overall,omitempty"`
}

竞争胜出率分析

type CompititionAnalysisDetailSpec

type CompititionAnalysisDetailSpec struct {
	Date                   string `json:"date,omitempty"`
	Hour                   int64  `json:"hour,omitempty"`
	AdUserAcceptance       int64  `json:"ad_user_acceptance,omitempty"`
	AdBidAmount            int64  `json:"ad_bid_amount,omitempty"`
	SameIndustryBidAmount  int64  `json:"same_industry_bid_amount,omitempty"`
	WinOverAdBidAmount     int64  `json:"win_over_ad_bid_amount,omitempty"`
	AdClick                int64  `json:"ad_click,omitempty"`
	SameIndustryClick      int64  `json:"same_industry_click,omitempty"`
	WinOverAdClick         int64  `json:"win_over_ad_click,omitempty"`
	AdConversion           int64  `json:"ad_conversion,omitempty"`
	SameIndustryConversion int64  `json:"same_industry_conversion,omitempty"`
	WinOverAdConversion    int64  `json:"win_over_ad_conversion,omitempty"`
}

竞争表现评估类型

type CompititionDiagnosisConclusionSpec

type CompititionDiagnosisConclusionSpec struct {
	CompititionDiagnosisScore         int64                            `json:"compitition_diagnosis_score,omitempty"`
	CompititionDiagnosisResult        string                           `json:"compitition_diagnosis_result,omitempty"`
	BidAmountDiagnosisScore           int64                            `json:"bid_amount_diagnosis_score,omitempty"`
	BidAmountDiagnosisConclusion      string                           `json:"bid_amount_diagnosis_conclusion,omitempty"`
	ClickDiagnosisScore               int64                            `json:"click_diagnosis_score,omitempty"`
	ClickDiagnosisConclusion          string                           `json:"click_diagnosis_conclusion,omitempty"`
	ConversionDiagnosisScore          int64                            `json:"conversion_diagnosis_score,omitempty"`
	ConversionDiagnosisConclusion     string                           `json:"conversion_diagnosis_conclusion,omitempty"`
	UserAcceptanceDiagnosisScore      int64                            `json:"user_acceptance_diagnosis_score,omitempty"`
	UserAcceptanceDiagnosisConclusion string                           `json:"user_acceptance_diagnosis_conclusion,omitempty"`
	CompititionAnalysisDetailSpecList *[]CompititionAnalysisDetailSpec `json:"compitition_analysis_detail_spec_list,omitempty"`
}

竞争表现维度的曝光评估结果

type CompititionSpec

type CompititionSpec struct {
	Date             string `json:"date,omitempty"`
	Hour             int64  `json:"hour,omitempty"`
	CompititionScore int64  `json:"compitition_score,omitempty"`
}

竞争激烈度明细数据

type ComplianceValidationGetRequest

type ComplianceValidationGetRequest struct {
	AccountId int64   `json:"account_id,omitempty"`
	SiteSet   SiteSet `json:"site_set,omitempty"`
	ImageId   string  `json:"image_id,omitempty"`
	Text      string  `json:"text,omitempty"`
}

type ComplianceValidationGetResponse

type ComplianceValidationGetResponse struct {
	Code      int64                                `json:"code,omitempty"`
	Message   string                               `json:"message,omitempty"`
	MessageCn string                               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                    `json:"errors,omitempty"`
	Data      *ComplianceValidationGetResponseData `json:"data,omitempty"`
}

type ComplianceValidationGetResponseData

type ComplianceValidationGetResponseData struct {
	SuggestionList *[]string `json:"suggestion_list,omitempty"`
}

type ComponentsPageType

type ComponentsPageType string

ComponentsPageType : 蹊径落地页类型

const (
	ComponentsPageType_PAGE_TYPE_XIJING_ANDROID ComponentsPageType = "PAGE_TYPE_XIJING_ANDROID"
)

List of ComponentsPageType

type Conf

type Conf struct {
	Page        int64 `json:"page,omitempty"`
	PageSize    int64 `json:"page_size,omitempty"`
	TotalNumber int64 `json:"total_number,omitempty"`
	TotalPage   int64 `json:"total_page,omitempty"`
}

分页配置信息

type ConfPageSize500 added in v1.2.0

type ConfPageSize500 struct {
	Page        int64 `json:"page,omitempty"`
	PageSize    int64 `json:"page_size,omitempty"`
	TotalNumber int64 `json:"total_number,omitempty"`
	TotalPage   int64 `json:"total_page,omitempty"`
}

分页配置信息

type ConfigureStatusSpec

type ConfigureStatusSpec struct {
	ConfigureStatus AdStatus `json:"configure_status,omitempty"`
}

状态修改信息

type ContractOccupiedSpec

type ContractOccupiedSpec struct {
	Date                  string `json:"date,omitempty"`
	Hour                  int64  `json:"hour,omitempty"`
	ContractOccupiedScore int64  `json:"contract_occupied_score,omitempty"`
}

流量充足度明细数据,仅展示最近3天小时粒度的数据

type ControlListItemDetailData added in v1.3.0

type ControlListItemDetailData struct {
	ItemName       string   `json:"item_name,omitempty"`
	ItemType       ItemType `json:"item_type,omitempty"`
	Placeholder    string   `json:"placeholder,omitempty"`
	SelectElements string   `json:"select_elements,omitempty"`
}

表单项

type ConversionDataType added in v1.3.0

type ConversionDataType string

ConversionDataType : 数据展示的数据类型

const (
	ConversionDataType_DEFAULT      ConversionDataType = "CONVERSION_DATA_DEFAULT"
	ConversionDataType_FRIEND_PLAY  ConversionDataType = "CONVERSION_DATA_FRIEND_PLAY"
	ConversionDataType_APP_DOWNLOAD ConversionDataType = "CONVERSION_DATA_APP_DOWNLOAD"
	ConversionDataType_ONSHOP       ConversionDataType = "CONVERSION_DATA_ONSHOP"
	ConversionDataType_ADMETRIC     ConversionDataType = "CONVERSION_DATA_ADMETRIC"
)

List of ConversionDataType

type ConversionDetailStruct

type ConversionDetailStruct struct {
	EffectData                 *ConversionEffectDataStruct                 `json:"effect_data,omitempty"`
	EffectDataTrends           *[]ConversionEffectDataTrendsItem           `json:"effect_data_trends,omitempty"`
	TargetingLabelContribution *ConversionTargetingLabelContributionStruct `json:"targeting_label_contribution,omitempty"`
}

诊断详情-转化明细

type ConversionEffectDataStruct

type ConversionEffectDataStruct struct {
	Count       int64   `json:"count,omitempty"`
	Ratio       float64 `json:"ratio,omitempty"`
	CategoryWin float64 `json:"category_win,omitempty"`
	CategoryAvg float64 `json:"category_avg,omitempty"`
}

效果数据(转化)

type ConversionEffectDataTrendsItem

type ConversionEffectDataTrendsItem struct {
}

单日转化趋势

type ConversionOptimizationGoal

type ConversionOptimizationGoal string

ConversionOptimizationGoal : 深度优化ROI目标,深度优化行为目标和深度优化ROI目标仅可填写其中一个

const (
	ConversionOptimizationGoal_NONE                  ConversionOptimizationGoal = "GOAL_NONE"
	ConversionOptimizationGoal_7DAYPURCHASEROAS      ConversionOptimizationGoal = "GOAL_7DAY_PURCHASE_ROAS"
	ConversionOptimizationGoal_15DAYPURCHASEROAS     ConversionOptimizationGoal = "GOAL_15DAY_PURCHASE_ROAS"
	ConversionOptimizationGoal_30DAYPURCHASEROAS     ConversionOptimizationGoal = "GOAL_30DAY_PURCHASE_ROAS"
	ConversionOptimizationGoal_60DAYPURCHASEROAS     ConversionOptimizationGoal = "GOAL_60DAY_PURCHASE_ROAS"
	ConversionOptimizationGoal_30DAYMONETIZATIONROAS ConversionOptimizationGoal = "GOAL_30DAY_MONETIZATION_ROAS"
	ConversionOptimizationGoal_30DAYORDERROAS        ConversionOptimizationGoal = "GOAL_30DAY_ORDER_ROAS"
	ConversionOptimizationGoal_1DAYPURCHASEROAS      ConversionOptimizationGoal = "GOAL_1DAY_PURCHASE_ROAS"
	ConversionOptimizationGoal_1DAYMONETIZATIONROAS  ConversionOptimizationGoal = "GOAL_1DAY_MONETIZATION_ROAS"
	ConversionOptimizationGoal_3DAYPURCHASEROAS      ConversionOptimizationGoal = "GOAL_3DAY_PURCHASE_ROAS"
	ConversionOptimizationGoal_3DAYMONETIZATIONROAS  ConversionOptimizationGoal = "GOAL_3DAY_MONETIZATION_ROAS"
	ConversionOptimizationGoal_7DAYMONETIZATIONROAS  ConversionOptimizationGoal = "GOAL_7DAY_MONETIZATION_ROAS"
	ConversionOptimizationGoal_15DAYMONETIZATIONROAS ConversionOptimizationGoal = "GOAL_15DAY_MONETIZATION_ROAS"
)

List of ConversionOptimizationGoal

type ConversionScene

type ConversionScene string

ConversionScene : 转化场景

const (
	ConversionScene_ANDROID ConversionScene = "CONVERSION_SCENE_ANDROID"
	ConversionScene_IOS     ConversionScene = "CONVERSION_SCENE_IOS"
)

List of ConversionScene

type ConversionTargetType added in v1.3.0

type ConversionTargetType string

ConversionTargetType : 数据展示转化行为

const (
	ConversionTargetType_DEFAULT  ConversionTargetType = "CONVERSION_TARGET_DEFAULT"
	ConversionTargetType_GET      ConversionTargetType = "CONVERSION_TARGET_GET"
	ConversionTargetType_RESERVE  ConversionTargetType = "CONVERSION_TARGET_RESERVE"
	ConversionTargetType_BOOK     ConversionTargetType = "CONVERSION_TARGET_BOOK"
	ConversionTargetType_BUY      ConversionTargetType = "CONVERSION_TARGET_BUY"
	ConversionTargetType_APPLY    ConversionTargetType = "CONVERSION_TARGET_APPLY"
	ConversionTargetType_CONSULT  ConversionTargetType = "CONVERSION_TARGET_CONSULT"
	ConversionTargetType_DOWNLOAD ConversionTargetType = "CONVERSION_TARGET_DOWNLOAD"
	ConversionTargetType_PLAYING  ConversionTargetType = "CONVERSION_TARGET_PLAYING"
	ConversionTargetType_CLICK    ConversionTargetType = "CONVERSION_TARGET_CLICK"
	ConversionTargetType_SEE      ConversionTargetType = "CONVERSION_TARGET_SEE"
	ConversionTargetType_INVOLVE  ConversionTargetType = "CONVERSION_TARGET_INVOLVE"
	ConversionTargetType_OPEN     ConversionTargetType = "CONVERSION_TARGET_OPEN"
	ConversionTargetType_PURCHASE ConversionTargetType = "CONVERSION_TARGET_PURCHASE"
	ConversionTargetType_BROWSE   ConversionTargetType = "CONVERSION_TARGET_BROWSE"
	ConversionTargetType_TRY      ConversionTargetType = "CONVERSION_TARGET_TRY"
	ConversionTargetType_DRIVE    ConversionTargetType = "CONVERSION_TARGET_DRIVE"
	ConversionTargetType_ENTER    ConversionTargetType = "CONVERSION_TARGET_ENTER"
	ConversionTargetType_READ     ConversionTargetType = "CONVERSION_TARGET_READ"
	ConversionTargetType_FOLLOW   ConversionTargetType = "CONVERSION_TARGET_FOLLOW"
	ConversionTargetType_USE      ConversionTargetType = "CONVERSION_TARGET_USE"
)

List of ConversionTargetType

type ConversionTargetingLabelContributionStruct

type ConversionTargetingLabelContributionStruct struct {
	Locard   *[]LabelContributionListItem `json:"locard,omitempty"`
	Audience *[]LabelContributionListItem `json:"audience,omitempty"`
}

定向标签(转化)贡献度

type ConversionsAddRequest

type ConversionsAddRequest struct {
	AccountId                    int64                      `json:"account_id,omitempty"`
	ConversionName               string                     `json:"conversion_name,omitempty"`
	AccessType                   AccessType                 `json:"access_type,omitempty"`
	ConversionScene              ConversionScene            `json:"conversion_scene,omitempty"`
	PromotedObjectId             string                     `json:"promoted_object_id,omitempty"`
	ClaimType                    ClaimType                  `json:"claim_type,omitempty"`
	FeedbackUrl                  string                     `json:"feedback_url,omitempty"`
	SelfAttributed               bool                       `json:"self_attributed,omitempty"`
	OptimizationGoal             IntOptimizationGoal        `json:"optimization_goal,omitempty"`
	DeepBehaviorOptimizationGoal IntOptimizationGoal        `json:"deep_behavior_optimization_goal,omitempty"`
	DeepWorthOptimizationGoal    ConversionOptimizationGoal `json:"deep_worth_optimization_goal,omitempty"`
	UserActionSetId              int64                      `json:"user_action_set_id,omitempty"`
}

type ConversionsAddResponse

type ConversionsAddResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *ConversionsAddResponseData `json:"data,omitempty"`
}

type ConversionsAddResponseData

type ConversionsAddResponseData struct {
	ConversionId int64 `json:"conversion_id,omitempty"`
}

type ConversionsGetListStruct

type ConversionsGetListStruct struct {
	ConversionId                 int64                      `json:"conversion_id,omitempty"`
	ConversionName               string                     `json:"conversion_name,omitempty"`
	AccessType                   AccessType                 `json:"access_type,omitempty"`
	ClaimType                    ClaimType                  `json:"claim_type,omitempty"`
	FeedbackUrl                  string                     `json:"feedback_url,omitempty"`
	SelfAttributed               bool                       `json:"self_attributed,omitempty"`
	OptimizationGoal             IntOptimizationGoal        `json:"optimization_goal,omitempty"`
	DeepBehaviorOptimizationGoal IntOptimizationGoal        `json:"deep_behavior_optimization_goal,omitempty"`
	DeepWorthOptimizationGoal    ConversionOptimizationGoal `json:"deep_worth_optimization_goal,omitempty"`
	UserActionSetId              int64                      `json:"user_action_set_id,omitempty"`
	UserActionSetKey             string                     `json:"user_action_set_key,omitempty"`
	SiteSetEnable                bool                       `json:"site_set_enable,omitempty"`
	IsDeleted                    bool                       `json:"is_deleted,omitempty"`
	AccessStatus                 AccessStatus               `json:"access_status,omitempty"`
}

返回结构

type ConversionsGetResponse

type ConversionsGetResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *ConversionsGetResponseData `json:"data,omitempty"`
}

type ConversionsGetResponseData

type ConversionsGetResponseData struct {
	List     *[]ConversionsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                       `json:"page_info,omitempty"`
}

type CostDiagnosisConclusionSpec

type CostDiagnosisConclusionSpec struct {
	CostDiagnosisScore             int64  `json:"cost_diagnosis_score,omitempty"`
	Balance                        int64  `json:"balance,omitempty"`
	AdDailyBudget                  int64  `json:"ad_daily_budget,omitempty"`
	AdRealtimeAvailableBudget      int64  `json:"ad_realtime_available_budget,omitempty"`
	AdCost                         int64  `json:"ad_cost,omitempty"`
	CampainDailyBudget             int64  `json:"campain_daily_budget,omitempty"`
	CampainCost                    int64  `json:"campain_cost,omitempty"`
	CampainRealtimeAvailableBudget int64  `json:"campain_realtime_available_budget,omitempty"`
	AccountDailyBudget             int64  `json:"account_daily_budget,omitempty"`
	AccountCost                    int64  `json:"account_cost,omitempty"`
	AccountRealtimeAvailableBudget int64  `json:"account_realtime_available_budget,omitempty"`
	Conclusion                     string `json:"conclusion,omitempty"`
}

预算维度的曝光评估结果

type CostGuaranteeStatus

type CostGuaranteeStatus string

CostGuaranteeStatus : 成本保障状态

const (
	CostGuaranteeStatus_NONE       CostGuaranteeStatus = "COST_GUARANTEE_STATUS_NONE"
	CostGuaranteeStatus_EFFECTIVE  CostGuaranteeStatus = "COST_GUARANTEE_STATUS_EFFECTIVE"
	CostGuaranteeStatus_FAILED     CostGuaranteeStatus = "COST_GUARANTEE_STATUS_FAILED"
	CostGuaranteeStatus_FINISHED   CostGuaranteeStatus = "COST_GUARANTEE_STATUS_FINISHED"
	CostGuaranteeStatus_CONFIRMING CostGuaranteeStatus = "COST_GUARANTEE_STATUS_CONFIRMING"
	CostGuaranteeStatus_SUCCEEDED  CostGuaranteeStatus = "COST_GUARANTEE_STATUS_SUCCEEDED"
)

List of CostGuaranteeStatus

type CostType

type CostType string

CostType : 扣费方式

const (
	CostType_BID_TYPE_CPC     CostType = "BID_TYPE_CPC"
	CostType_BID_TYPE_CPA     CostType = "BID_TYPE_CPA"
	CostType_BID_TYPE_CPS     CostType = "BID_TYPE_CPS"
	CostType_BID_TYPE_CPM     CostType = "BID_TYPE_CPM"
	CostType_BID_TYPE_CPD     CostType = "BID_TYPE_CPD"
	CostType_COSTTYPE_UNKNOWN CostType = "COSTTYPE_UNKNOWN"
	CostType_COSTTYPE_CPC     CostType = "COSTTYPE_CPC"
	CostType_COSTTYPE_CPA     CostType = "COSTTYPE_CPA"
	CostType_COSTTYPE_CPS     CostType = "COSTTYPE_CPS"
	CostType_COSTTYPE_CPM     CostType = "COSTTYPE_CPM"
	CostType_COSTTYPE_CPD     CostType = "COSTTYPE_CPD"
	CostType_COSTTYPE_CPT     CostType = "COSTTYPE_CPT"
)

List of CostType

type CountType

type CountType string

CountType : 频次类型

const (
	CountType_TIMES CountType = "BY_TIMES"
	CountType_DAY   CountType = "BY_DAY"
)

List of CountType

type CpaEffectDataStruct

type CpaEffectDataStruct struct {
	Rank                 int64   `json:"rank,omitempty"`
	ConversionCount      int64   `json:"conversion_count,omitempty"`
	Cvr                  float64 `json:"cvr,omitempty"`
	TargetCpa            float64 `json:"target_cpa,omitempty"`
	RealCpa              float64 `json:"real_cpa,omitempty"`
	CpaBias              float64 `json:"cpa_bias,omitempty"`
	IndustryTopTargetcpa int64   `json:"industry_top_targetcpa,omitempty"`
	IndustryAvgTargetcpa int64   `json:"industry_avg_targetcpa,omitempty"`
}

效果数据(成本)

type CpaEffectDataTrends

type CpaEffectDataTrends struct {
	Rank      int64          `json:"rank,omitempty"`
	TargetCpa *[]PointStruct `json:"target_cpa,omitempty"`
	RealCpa   *[]PointStruct `json:"real_cpa,omitempty"`
}

成本趋势

type CpaFunnelStruct

type CpaFunnelStruct struct {
	BiasToday   float64 `json:"bias_today,omitempty"`
	BiasOverall float64 `json:"bias_overall,omitempty"`
}

成本分析

type CreateAndroidChannelPackageSpec

type CreateAndroidChannelPackageSpec struct {
	PackageName string `json:"package_name,omitempty"`
	DownloadUrl string `json:"download_url,omitempty"`
}

创建应用宝渠道包接口任务所需条件

type CreateAndroidUnionChannelPackageSpec

type CreateAndroidUnionChannelPackageSpec struct {
	PackageName string `json:"package_name,omitempty"`
	DownloadUrl string `json:"download_url,omitempty"`
}

创建广告渠道包接口任务所需条件

type CreateControlListItem added in v1.3.0

type CreateControlListItem struct {
	ItemType       ItemType  `json:"item_type,omitempty"`
	ItemName       string    `json:"item_name,omitempty"`
	Placeholder    string    `json:"placeholder,omitempty"`
	SelectElements *[]string `json:"select_elements,omitempty"`
}

表单项

type CreatePageResponse

type CreatePageResponse struct {
	LandingPageId int64  `json:"landingPageId,omitempty"`
	Id            string `json:"id,omitempty"`
	Code          int64  `json:"code,omitempty"`
	Message       string `json:"message,omitempty"`
}

创建页面返回数据结构

type CreativeSelectionType

type CreativeSelectionType string

CreativeSelectionType : 创意选择模式

const (
	CreativeSelectionType_BY_TURNS       CreativeSelectionType = "CREATIVE_SELECTION_TYPE_BY_TURNS"
	CreativeSelectionType_AUTO_OPTIMIZED CreativeSelectionType = "CREATIVE_SELECTION_TYPE_AUTO_OPTIMIZED"
)

List of CreativeSelectionType

type CreativeStruct

type CreativeStruct struct {
	DeepLinkUrl          string                                 `json:"deep_link_url,omitempty"`
	AdcreativeTemplateId int64                                  `json:"adcreative_template_id,omitempty"`
	AdcreativeElements   *AdcreativeCreativeElementsWithOptions `json:"adcreative_elements,omitempty"`
}

创意规格结构体

type CreativetoolsTextGetResponse added in v1.3.0

type CreativetoolsTextGetResponse struct {
	Code      int64                             `json:"code,omitempty"`
	Message   string                            `json:"message,omitempty"`
	MessageCn string                            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                 `json:"errors,omitempty"`
	Data      *CreativetoolsTextGetResponseData `json:"data,omitempty"`
}

type CreativetoolsTextGetResponseData added in v1.3.0

type CreativetoolsTextGetResponseData struct {
	ReturnNumber int64             `json:"return_number,omitempty"`
	ReturnTexts  *[]TextListStruct `json:"return_texts,omitempty"`
}

type CreditRollSpec

type CreditRollSpec struct {
	LimitAmount int64 `json:"limit_amount,omitempty"`
	UsedAmount  int64 `json:"used_amount,omitempty"`
	UsableAmout int64 `json:"usable_amout,omitempty"`
}

固定信用金更多信息

type CropCustomizedSpec

type CropCustomizedSpec struct {
	Width  int64 `json:"width,omitempty"`
	Height int64 `json:"height,omitempty"`
	AxisX  int64 `json:"axis_x,omitempty"`
	AxisY  int64 `json:"axis_y,omitempty"`
}

裁剪信息

type CropCustomizedSpecAndResize

type CropCustomizedSpecAndResize struct {
	CropWidth    int64 `json:"crop_width,omitempty"`
	CropHeight   int64 `json:"crop_height,omitempty"`
	AxisX        int64 `json:"axis_x,omitempty"`
	AxisY        int64 `json:"axis_y,omitempty"`
	ResizeWidth  int64 `json:"resize_width,omitempty"`
	ResizeHeight int64 `json:"resize_height,omitempty"`
}

自定义裁剪后缩放信息

type CropOperationSpec

type CropOperationSpec struct {
	CropCustomizedSpec          *CropCustomizedSpec          `json:"crop_customized_spec,omitempty"`
	CropSmartSpec               *CropSmartSpec               `json:"crop_smart_spec,omitempty"`
	ResizeSpec                  *ResizeSpec                  `json:"resize_spec,omitempty"`
	CropCustomizedSpecAndResize *CropCustomizedSpecAndResize `json:"crop_customized_spec_and_resize,omitempty"`
}

处理操作信息

type CropSmartSpec

type CropSmartSpec struct {
	Width  int64 `json:"width,omitempty"`
	Height int64 `json:"height,omitempty"`
}

智能裁剪信息

type CrossCityRule

type CrossCityRule struct {
	Route     *[]string  `json:"route,omitempty"`
	DateRange *DateRange `json:"date_range,omitempty"`
	Frequency int64      `json:"frequency,omitempty"`
}

跨城市规则

type CtrFunnelStruct

type CtrFunnelStruct struct {
	Value              float64 `json:"value,omitempty"`
	Score              int64   `json:"score,omitempty"`
	ScoreDesc          string  `json:"score_desc,omitempty"`
	RankCategory       int64   `json:"rank_category,omitempty"`
	RankSecondCategory int64   `json:"rank_second_category,omitempty"`
	RankOverall        int64   `json:"rank_overall,omitempty"`
}

点击率分析

type CtrLevelStruct added in v1.3.0

type CtrLevelStruct struct {
	Value              string         `json:"value,omitempty"`
	Score              string         `json:"score,omitempty"`
	RankOverall        string         `json:"rank_overall,omitempty"`
	RankFirstCategory  string         `json:"rank_first_category,omitempty"`
	RankSecondCategory string         `json:"rank_second_category,omitempty"`
	SelfTrends         *[]PointStruct `json:"self_trends,omitempty"`
	BenchmarkTrends    *[]PointStruct `json:"benchmark_trends,omitempty"`
}

点击率水平

type CustomAudience

type CustomAudience struct {
	AudienceId       int64         `json:"audience_id,omitempty"`
	AccountId        int64         `json:"account_id,omitempty"`
	Name             string        `json:"name,omitempty"`
	OuterAudienceId  string        `json:"outer_audience_id,omitempty"`
	Description      string        `json:"description,omitempty"`
	Type_            AudienceType  `json:"type,omitempty"`
	Status           ProcessStatus `json:"status,omitempty"`
	ErrorCode        int64         `json:"error_code,omitempty"`
	UserCount        int64         `json:"user_count,omitempty"`
	CreatedTime      string        `json:"created_time,omitempty"`
	LastModifiedTime string        `json:"last_modified_time,omitempty"`
	AudienceSpec     *AudienceSpec `json:"audience_spec,omitempty"`
}

custom_audience返回结构

type CustomAudienceEstimationsGetRequest

type CustomAudienceEstimationsGetRequest struct {
	AccountId    int64                   `json:"account_id,omitempty"`
	Type_        string                  `json:"type,omitempty"`
	AudienceSpec *EstimationAudienceSpec `json:"audience_spec,omitempty"`
}

type CustomAudienceEstimationsGetResponse

type CustomAudienceEstimationsGetResponse struct {
	Code      int64                                     `json:"code,omitempty"`
	Message   string                                    `json:"message,omitempty"`
	MessageCn string                                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                         `json:"errors,omitempty"`
	Data      *CustomAudienceEstimationsGetResponseData `json:"data,omitempty"`
}

type CustomAudienceEstimationsGetResponseData

type CustomAudienceEstimationsGetResponseData struct {
	UserCount int64 `json:"user_count,omitempty"`
}

type CustomAudienceFilesAddResponse

type CustomAudienceFilesAddResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *CustomAudienceFilesAddResponseData `json:"data,omitempty"`
}

type CustomAudienceFilesAddResponseData

type CustomAudienceFilesAddResponseData struct {
	CustomAudienceFileId int64 `json:"custom_audience_file_id,omitempty"`
}

type CustomAudienceFilesGetResponse

type CustomAudienceFilesGetResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *CustomAudienceFilesGetResponseData `json:"data,omitempty"`
}

type CustomAudienceFilesGetResponseData

type CustomAudienceFilesGetResponseData struct {
	List     *[]DataFile `json:"list,omitempty"`
	PageInfo *PageInfo   `json:"page_info,omitempty"`
}

type CustomAudienceInsights

type CustomAudienceInsights struct {
	DimensionType DimensionType        `json:"dimension_type,omitempty"`
	MatchRate     float64              `json:"match_rate,omitempty"`
	Distribution  *[]RangeDistribution `json:"distribution,omitempty"`
}

custom_audience洞察分析结构

type CustomAudienceInsightsGetResponse

type CustomAudienceInsightsGetResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *CustomAudienceInsightsGetResponseData `json:"data,omitempty"`
}

type CustomAudienceInsightsGetResponseData

type CustomAudienceInsightsGetResponseData struct {
	List *[]CustomAudienceInsights `json:"list,omitempty"`
}

type CustomAudienceReportsGetResponse

type CustomAudienceReportsGetResponse struct {
	Code      int64                                 `json:"code,omitempty"`
	Message   string                                `json:"message,omitempty"`
	MessageCn string                                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                     `json:"errors,omitempty"`
	Data      *CustomAudienceReportsGetResponseData `json:"data,omitempty"`
}

type CustomAudienceReportsGetResponseData

type CustomAudienceReportsGetResponseData struct {
	List *[]AudienceReport `json:"list,omitempty"`
}

type CustomAudiencesAddRequest

type CustomAudiencesAddRequest struct {
	AccountId       int64         `json:"account_id,omitempty"`
	Name            string        `json:"name,omitempty"`
	Type_           AudienceType  `json:"type,omitempty"`
	OuterAudienceId string        `json:"outer_audience_id,omitempty"`
	Description     string        `json:"description,omitempty"`
	AudienceSpec    *AudienceSpec `json:"audience_spec,omitempty"`
	Platform        DataPlatform  `json:"platform,omitempty"`
}

type CustomAudiencesAddResponse

type CustomAudiencesAddResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *CustomAudiencesAddResponseData `json:"data,omitempty"`
}

type CustomAudiencesAddResponseData

type CustomAudiencesAddResponseData struct {
	AudienceId int64 `json:"audience_id,omitempty"`
}

type CustomAudiencesDeleteRequest

type CustomAudiencesDeleteRequest struct {
	AccountId  int64 `json:"account_id,omitempty"`
	AudienceId int64 `json:"audience_id,omitempty"`
}

type CustomAudiencesDeleteResponse

type CustomAudiencesDeleteResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type CustomAudiencesGetResponse

type CustomAudiencesGetResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *CustomAudiencesGetResponseData `json:"data,omitempty"`
}

type CustomAudiencesGetResponseData

type CustomAudiencesGetResponseData struct {
	List     *[]CustomAudience `json:"list,omitempty"`
	PageInfo *PageInfo         `json:"page_info,omitempty"`
}

type CustomAudiencesUpdateRequest

type CustomAudiencesUpdateRequest struct {
	AccountId   int64  `json:"account_id,omitempty"`
	AudienceId  int64  `json:"audience_id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type CustomAudiencesUpdateResponse

type CustomAudiencesUpdateResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type CustomDataSaltGetRequest

type CustomDataSaltGetRequest struct {
	AccountId int64 `json:"account_id,omitempty"`
}

type CustomDataSaltGetResponse

type CustomDataSaltGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *CustomDataSaltGetResponseData `json:"data,omitempty"`
}

type CustomDataSaltGetResponseData

type CustomDataSaltGetResponseData struct {
	List *[]Salt `json:"list,omitempty"`
}

type CustomFeature

type CustomFeature struct {
	AccountId             int64        `json:"account_id,omitempty"`
	FeatureId             int64        `json:"feature_id,omitempty"`
	Name                  string       `json:"name,omitempty"`
	Description           string       `json:"description,omitempty"`
	FeatureClassId        int64        `json:"feature_class_id,omitempty"`
	FeatureSpec           *FeatureSpec `json:"feature_spec,omitempty"`
	IsSupportedTimeWindow bool         `json:"is_supported_time_window,omitempty"`
	TimeWindow            *[]int64     `json:"time_window,omitempty"`
	CreatedTime           string       `json:"created_time,omitempty"`
}

custom_feature_class返回结构

type CustomFeaturesGetResponse

type CustomFeaturesGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *CustomFeaturesGetResponseData `json:"data,omitempty"`
}

type CustomFeaturesGetResponseData

type CustomFeaturesGetResponseData struct {
	List     *[]CustomFeature `json:"list,omitempty"`
	PageInfo *PageInfo        `json:"page_info,omitempty"`
}

type CustomFileFeatureSpec

type CustomFileFeatureSpec struct {
	DataType           FeatureValueDataType `json:"data_type,omitempty"`
	IsMultiValued      bool                 `json:"is_multi_valued,omitempty"`
	PossibleValuesSize int64                `json:"possible_values_size,omitempty"`
}

用户上传自定义特征文件规则

type CustomLocationDateRange

type CustomLocationDateRange struct {
	StartDate string `json:"start_date,omitempty"`
	EndDate   string `json:"end_date,omitempty"`
}

时间范围

type CustomLocationRule

type CustomLocationRule struct {
	PoiType       LbsPoiType               `json:"poi_type,omitempty"`
	DateRange     *CustomLocationDateRange `json:"date_range,omitempty"`
	FrequencySpec *FrequencySpec           `json:"frequency_spec,omitempty"`
	AreaList      *[]AreaSpec              `json:"area_list,omitempty"`
}

自定义地理位置规则

type CustomLocationsItem

type CustomLocationsItem struct {
	Longitude float64 `json:"longitude,omitempty"`
	Latitude  float64 `json:"latitude,omitempty"`
	Radius    int64   `json:"radius,omitempty"`
}

option_list_item

type CustomTagFile

type CustomTagFile struct {
	TagId           int64             `json:"tag_id,omitempty"`
	CustomTagFileId int64             `json:"custom_tag_file_id,omitempty"`
	Name            string            `json:"name,omitempty"`
	UserIdType      UserIdType        `json:"user_id_type,omitempty"`
	OperationType   OperationType     `json:"operation_type,omitempty"`
	OpenAppId       string            `json:"open_app_id,omitempty"`
	ProcessStatus   FileProcessStatus `json:"process_status,omitempty"`
	ProcessCode     int64             `json:"process_code,omitempty"`
	ErrorMessage    string            `json:"error_message,omitempty"`
	LineCount       int64             `json:"line_count,omitempty"`
	ValidLineCount  int64             `json:"valid_line_count,omitempty"`
	UserCount       int64             `json:"user_count,omitempty"`
	CreatedTime     string            `json:"created_time,omitempty"`
}

custom_tag_file返回结构

type CustomTagFilesAddResponse

type CustomTagFilesAddResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *CustomTagFilesAddResponseData `json:"data,omitempty"`
}

type CustomTagFilesAddResponseData

type CustomTagFilesAddResponseData struct {
	CustomTagFileId int64 `json:"custom_tag_file_id,omitempty"`
}

type CustomTagFilesGetResponse

type CustomTagFilesGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *CustomTagFilesGetResponseData `json:"data,omitempty"`
}

type CustomTagFilesGetResponseData

type CustomTagFilesGetResponseData struct {
	List     *[]CustomTagFile `json:"list,omitempty"`
	PageInfo *PageInfo        `json:"page_info,omitempty"`
}

type CustomTagsAddRequest

type CustomTagsAddRequest struct {
	AccountId   int64        `json:"account_id,omitempty"`
	ParentTagId int64        `json:"parent_tag_id,omitempty"`
	Name        string       `json:"name,omitempty"`
	Description string       `json:"description,omitempty"`
	TagCode     string       `json:"tag_code,omitempty"`
	Platform    DataPlatform `json:"platform,omitempty"`
}

type CustomTagsAddResponse

type CustomTagsAddResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *CustomTagsAddResponseData `json:"data,omitempty"`
}

type CustomTagsAddResponseData

type CustomTagsAddResponseData struct {
	TagId int64 `json:"tag_id,omitempty"`
}

type CustomTagsDeleteRequest

type CustomTagsDeleteRequest struct {
	AccountId int64 `json:"account_id,omitempty"`
	TagId     int64 `json:"tag_id,omitempty"`
}

type CustomTagsDeleteResponse

type CustomTagsDeleteResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type CustomTagsGetResponse

type CustomTagsGetResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *CustomTagsGetResponseData `json:"data,omitempty"`
}

type CustomTagsGetResponseData

type CustomTagsGetResponseData struct {
	List     *[]Tag    `json:"list,omitempty"`
	PageInfo *PageInfo `json:"page_info,omitempty"`
}

type CustomTagsUpdateRequest

type CustomTagsUpdateRequest struct {
	AccountId   int64  `json:"account_id,omitempty"`
	TagId       int64  `json:"tag_id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type CustomTagsUpdateResponse

type CustomTagsUpdateResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type CustomerSystemStatus

type CustomerSystemStatus string

CustomerSystemStatus : 客户系统状态,详见 <a href='api_customer_system_status' target='_blank'>[客户系统状态]</a>

const (
	CustomerSystemStatus_NORMAL             CustomerSystemStatus = "CUSTOMER_STATUS_NORMAL"
	CustomerSystemStatus_PENDING            CustomerSystemStatus = "CUSTOMER_STATUS_PENDING"
	CustomerSystemStatus_DENIED             CustomerSystemStatus = "CUSTOMER_STATUS_DENIED"
	CustomerSystemStatus_FROZEN             CustomerSystemStatus = "CUSTOMER_STATUS_FROZEN"
	CustomerSystemStatus_TOBE_ACCEPTED      CustomerSystemStatus = "CUSTOMER_STATUS_TOBE_ACCEPTED"
	CustomerSystemStatus_TOBE_ACTIVATED     CustomerSystemStatus = "CUSTOMER_STATUS_TOBE_ACTIVATED"
	CustomerSystemStatus_SUSPEND            CustomerSystemStatus = "CUSTOMER_STATUS_SUSPEND"
	CustomerSystemStatus_MATERIAL_PREPARED  CustomerSystemStatus = "CUSTOMER_STATUS_MATERIAL_PREPARED"
	CustomerSystemStatus_DELETED            CustomerSystemStatus = "CUSTOMER_STATUS_DELETED"
	CustomerSystemStatus_FROZEN_TEMPORARILY CustomerSystemStatus = "CUSTOMER_STATUS_FROZEN_TEMPORARILY"
	CustomerSystemStatus_UNREGISTERED       CustomerSystemStatus = "CUSTOMER_STATUS_UNREGISTERED"
)

List of CustomerSystemStatus

type CvrFunnelStruct

type CvrFunnelStruct struct {
	Value              float64 `json:"value,omitempty"`
	Score              int64   `json:"score,omitempty"`
	ScoreDesc          string  `json:"score_desc,omitempty"`
	RankCategory       int64   `json:"rank_category,omitempty"`
	RankSecondCategory int64   `json:"rank_second_category,omitempty"`
	RankOverall        int64   `json:"rank_overall,omitempty"`
}

转化率分析

type DailyCostGetListStruct

type DailyCostGetListStruct struct {
	AccountId       int64  `json:"account_id,omitempty"`
	WechatAccountId string `json:"wechat_account_id,omitempty"`
	Date            string `json:"date,omitempty"`
	Cost            int64  `json:"cost,omitempty"`
}

返回结构

type DailyCostGetResponse

type DailyCostGetResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *DailyCostGetResponseData `json:"data,omitempty"`
}

type DailyCostGetResponseData

type DailyCostGetResponseData struct {
	List     *[]DailyCostGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                     `json:"page_info,omitempty"`
}

type DailyReportsGetListStruct

type DailyReportsGetListStruct struct {
	AccountId                           int64   `json:"account_id,omitempty"`
	Date                                string  `json:"date,omitempty"`
	ViewCount                           int64   `json:"view_count,omitempty"`
	DownloadCount                       int64   `json:"download_count,omitempty"`
	ActivatedCount                      int64   `json:"activated_count,omitempty"`
	ActivatedRate                       float64 `json:"activated_rate,omitempty"`
	ThousandDisplayPrice                int64   `json:"thousand_display_price,omitempty"`
	ValidClickCount                     int64   `json:"valid_click_count,omitempty"`
	Ctr                                 float64 `json:"ctr,omitempty"`
	Cpc                                 int64   `json:"cpc,omitempty"`
	Cost                                int64   `json:"cost,omitempty"`
	KeyPageViewCost                     int64   `json:"key_page_view_cost,omitempty"`
	CouponClickCount                    int64   `json:"coupon_click_count,omitempty"`
	CouponIssueCount                    int64   `json:"coupon_issue_count,omitempty"`
	CouponGetCount                      int64   `json:"coupon_get_count,omitempty"`
	PlatformPageViewCount               int64   `json:"platform_page_view_count,omitempty"`
	PlatformPageViewRate                float64 `json:"platform_page_view_rate,omitempty"`
	WebCommodityPageViewCount           int64   `json:"web_commodity_page_view_count,omitempty"`
	WebCommodityPageViewCost            int64   `json:"web_commodity_page_view_cost,omitempty"`
	WebRegisterCount                    int64   `json:"web_register_count,omitempty"`
	PageConsultCount                    int64   `json:"page_consult_count,omitempty"`
	PageConsultCost                     int64   `json:"page_consult_cost,omitempty"`
	PagePhoneCallDirectCount            int64   `json:"page_phone_call_direct_count,omitempty"`
	PagePhoneCallDirectCost             int64   `json:"page_phone_call_direct_cost,omitempty"`
	PagePhoneCallBackCount              int64   `json:"page_phone_call_back_count,omitempty"`
	PagePhoneCallBackCost               int64   `json:"page_phone_call_back_cost,omitempty"`
	OwnPageNavigationCount              int64   `json:"own_page_navigation_count,omitempty"`
	OwnPageNaviCost                     int64   `json:"own_page_navi_cost,omitempty"`
	PlatformPageNavigationCount         int64   `json:"platform_page_navigation_count,omitempty"`
	PlatformPageNavigationCost          int64   `json:"platform_page_navigation_cost,omitempty"`
	PlatformShopNavigationCount         int64   `json:"platform_shop_navigation_count,omitempty"`
	PlatformShopNavigationCost          int64   `json:"platform_shop_navigation_cost,omitempty"`
	WebApplicationCount                 int64   `json:"web_application_count,omitempty"`
	WebApplicationCost                  int64   `json:"web_application_cost,omitempty"`
	PageReservationCount                int64   `json:"page_reservation_count,omitempty"`
	PageReservationRate                 float64 `json:"page_reservation_rate,omitempty"`
	PageReservationCost                 int64   `json:"page_reservation_cost,omitempty"`
	WebAddToCartCount                   int64   `json:"web_add_to_cart_count,omitempty"`
	WebAddToCartCost                    int64   `json:"web_add_to_cart_cost,omitempty"`
	AddToCartPrice                      int64   `json:"add_to_cart_price,omitempty"`
	OwnPageCouponGetCount               int64   `json:"own_page_coupon_get_count,omitempty"`
	OwnPageCouponGetCost                int64   `json:"own_page_coupon_get_cost,omitempty"`
	PlatformCouponGetCount              int64   `json:"platform_coupon_get_count,omitempty"`
	PlatformCouponGetCost               int64   `json:"platform_coupon_get_cost,omitempty"`
	WebOrderCount                       int64   `json:"web_order_count,omitempty"`
	WebOrderRate                        float64 `json:"web_order_rate,omitempty"`
	AppOrderRate                        float64 `json:"app_order_rate,omitempty"`
	WebOrderCost                        int64   `json:"web_order_cost,omitempty"`
	WebCheckoutAmount                   int64   `json:"web_checkout_amount,omitempty"`
	WebCheckoutCount                    int64   `json:"web_checkout_count,omitempty"`
	WebCheckoutCost                     int64   `json:"web_checkout_cost,omitempty"`
	OrderAmount                         int64   `json:"order_amount,omitempty"`
	OrderUnitPrice                      int64   `json:"order_unit_price,omitempty"`
	OrderRoi                            float64 `json:"order_roi,omitempty"`
	DeliverCount                        int64   `json:"deliver_count,omitempty"`
	DeliverCost                         int64   `json:"deliver_cost,omitempty"`
	SignInCount                         int64   `json:"sign_in_count,omitempty"`
	SignInCost                          int64   `json:"sign_in_cost,omitempty"`
	DownloadRate                        float64 `json:"download_rate,omitempty"`
	DownloadCost                        int64   `json:"download_cost,omitempty"`
	InstallCount                        int64   `json:"install_count,omitempty"`
	InstallCost                         int64   `json:"install_cost,omitempty"`
	ClickActivatedRate                  float64 `json:"click_activated_rate,omitempty"`
	ActivatedCost                       int64   `json:"activated_cost,omitempty"`
	RetentionCount                      int64   `json:"retention_count,omitempty"`
	RetentionRate                       float64 `json:"retention_rate,omitempty"`
	RetentionCost                       int64   `json:"retention_cost,omitempty"`
	KeyPageViewCount                    int64   `json:"key_page_view_count,omitempty"`
	AppCommodityPageViewCount           int64   `json:"app_commodity_page_view_count,omitempty"`
	AppCommodityPageViewRate            float64 `json:"app_commodity_page_view_rate,omitempty"`
	WebCommodityPageViewRate            float64 `json:"web_commodity_page_view_rate,omitempty"`
	AppCommodityPageViewCost            int64   `json:"app_commodity_page_view_cost,omitempty"`
	AppRegisterCount                    int64   `json:"app_register_count,omitempty"`
	AppRegisterCost                     int64   `json:"app_register_cost,omitempty"`
	WebRegisterCost                     int64   `json:"web_register_cost,omitempty"`
	AppApplicationCount                 int64   `json:"app_application_count,omitempty"`
	AppApplicationCost                  int64   `json:"app_application_cost,omitempty"`
	AppAddToCartCount                   int64   `json:"app_add_to_cart_count,omitempty"`
	AddToCartAmount                     int64   `json:"add_to_cart_amount,omitempty"`
	AppAddToCartCost                    int64   `json:"app_add_to_cart_cost,omitempty"`
	AppOrderCount                       int64   `json:"app_order_count,omitempty"`
	AppOrderCost                        int64   `json:"app_order_cost,omitempty"`
	AppCheckoutCount                    int64   `json:"app_checkout_count,omitempty"`
	AppCheckoutAmount                   int64   `json:"app_checkout_amount,omitempty"`
	AppCheckoutCost                     int64   `json:"app_checkout_cost,omitempty"`
	PlatformCouponClickCount            int64   `json:"platform_coupon_click_count,omitempty"`
	PlatformCouponGetRate               float64 `json:"platform_coupon_get_rate,omitempty"`
	FollowCount                         int64   `json:"follow_count,omitempty"`
	FollowCost                          int64   `json:"follow_cost,omitempty"`
	ForwardCount                        int64   `json:"forward_count,omitempty"`
	ForwardCost                         int64   `json:"forward_cost,omitempty"`
	ReadCount                           int64   `json:"read_count,omitempty"`
	ReadCost                            int64   `json:"read_cost,omitempty"`
	PraiseCount                         int64   `json:"praise_count,omitempty"`
	PraiseCost                          int64   `json:"praise_cost,omitempty"`
	CommentCount                        int64   `json:"comment_count,omitempty"`
	CommentCost                         int64   `json:"comment_cost,omitempty"`
	IntePhoneCount                      int64   `json:"inte_phone_count,omitempty"`
	PhoneCallCount                      int64   `json:"phone_call_count,omitempty"`
	ExternalFormReservationCount        int64   `json:"external_form_reservation_count,omitempty"`
	AppAdPayingUsers                    int64   `json:"app_ad_paying_users,omitempty"`
	AdPurValWeb                         int64   `json:"ad_pur_val_web,omitempty"`
	AdPurValApp                         int64   `json:"ad_pur_val_app,omitempty"`
	GameCreateRoleCount                 int64   `json:"game_create_role_count,omitempty"`
	GameAuthorizeCount                  int64   `json:"game_authorize_count,omitempty"`
	GameTutorialFinishCount             int64   `json:"game_tutorial_finish_count,omitempty"`
	EffectiveLeadsCount                 int64   `json:"effective_leads_count,omitempty"`
	EffectiveCost                       int64   `json:"effective_cost,omitempty"`
	EffectiveReserveCount               int64   `json:"effective_reserve_count,omitempty"`
	EffectiveConsultCount               int64   `json:"effective_consult_count,omitempty"`
	EffectivePhoneCount                 int64   `json:"effective_phone_count,omitempty"`
	PotentialReserveCount               int64   `json:"potential_reserve_count,omitempty"`
	PotentialConsultCount               int64   `json:"potential_consult_count,omitempty"`
	PotentialPhoneCount                 int64   `json:"potential_phone_count,omitempty"`
	AppCheckoutRate                     float64 `json:"app_checkout_rate,omitempty"`
	WebCheckoutRate                     float64 `json:"web_checkout_rate,omitempty"`
	AppActivatedCheckoutRate            float64 `json:"app_activated_checkout_rate,omitempty"`
	WebActivatedCheckoutRate            float64 `json:"web_activated_checkout_rate,omitempty"`
	AppRegisterRate                     float64 `json:"app_register_rate,omitempty"`
	WebRegRate                          float64 `json:"web_reg_rate,omitempty"`
	PagePhoneCallDirectRate             float64 `json:"page_phone_call_direct_rate,omitempty"`
	PagePhoneCallBackRate               float64 `json:"page_phone_call_back_rate,omitempty"`
	PageConsultRate                     float64 `json:"page_consult_rate,omitempty"`
	DeliverRate                         float64 `json:"deliver_rate,omitempty"`
	InstallRate                         float64 `json:"install_rate,omitempty"`
	ArppuCost                           int64   `json:"arppu_cost,omitempty"`
	ArpuCost                            int64   `json:"arpu_cost,omitempty"`
	WebArppuCost                        int64   `json:"web_arppu_cost,omitempty"`
	WebArpuCost                         int64   `json:"web_arpu_cost,omitempty"`
	AppAdPurArpuCost                    int64   `json:"app_ad_pur_arpu_cost,omitempty"`
	AppAdPurArppuCost                   int64   `json:"app_ad_pur_arppu_cost,omitempty"`
	WebAdPurArpuCost                    int64   `json:"web_ad_pur_arpu_cost,omitempty"`
	CheoutFd                            int64   `json:"cheout_fd,omitempty"`
	CheoutTd                            int64   `json:"cheout_td,omitempty"`
	CheoutOw                            int64   `json:"cheout_ow,omitempty"`
	CheoutTw                            int64   `json:"cheout_tw,omitempty"`
	CheoutOm                            int64   `json:"cheout_om,omitempty"`
	CheoutFdReward                      float64 `json:"cheout_fd_reward,omitempty"`
	CheoutTdReward                      float64 `json:"cheout_td_reward,omitempty"`
	CheoutOwReward                      float64 `json:"cheout_ow_reward,omitempty"`
	CheoutTwReward                      float64 `json:"cheout_tw_reward,omitempty"`
	CheoutOmReward                      float64 `json:"cheout_om_reward,omitempty"`
	CheoutTotalReward                   float64 `json:"cheout_total_reward,omitempty"`
	FromFollowUv                        int64   `json:"from_follow_uv,omitempty"`
	FromFollowCost                      int64   `json:"from_follow_cost,omitempty"`
	AddDesktopPv                        int64   `json:"add_desktop_pv,omitempty"`
	AddDesktopCost                      int64   `json:"add_desktop_cost,omitempty"`
	FirstPayCount                       int64   `json:"first_pay_count,omitempty"`
	FirstPayRate                        float64 `json:"first_pay_rate,omitempty"`
	PreCreWeb                           int64   `json:"pre_cre_web,omitempty"`
	PreCreApp                           int64   `json:"pre_cre_app,omitempty"`
	PreCreWebVal                        int64   `json:"pre_cre_web_val,omitempty"`
	PreCreAppVal                        int64   `json:"pre_cre_app_val,omitempty"`
	CreWeb                              int64   `json:"cre_web,omitempty"`
	CreApp                              int64   `json:"cre_app,omitempty"`
	CreWebVal                           int64   `json:"cre_web_val,omitempty"`
	CreAppVal                           int64   `json:"cre_app_val,omitempty"`
	WithdrDepWeb                        int64   `json:"withdr_dep_web,omitempty"`
	WithdrDepApp                        int64   `json:"withdr_dep_app,omitempty"`
	WithdrDepWebVal                     int64   `json:"withdr_dep_web_val,omitempty"`
	WithdrDepAppVal                     int64   `json:"withdr_dep_app_val,omitempty"`
	FirstPayCost                        int64   `json:"first_pay_cost,omitempty"`
	LandingPageClickCount               int64   `json:"landing_page_click_count,omitempty"`
	WebCartAmount                       int64   `json:"web_cart_amount,omitempty"`
	ScanFollowCount                     int64   `json:"scan_follow_count,omitempty"`
	ScanFollowUserCount                 int64   `json:"scan_follow_user_count,omitempty"`
	ScanFollowUserCost                  int64   `json:"scan_follow_user_cost,omitempty"`
	ScanFollowUserRate                  float64 `json:"scan_follow_user_rate,omitempty"`
	AppOrderAmount                      int64   `json:"app_order_amount,omitempty"`
	WebOrderAmount                      int64   `json:"web_order_amount,omitempty"`
	PhoneConsultCount                   int64   `json:"phone_consult_count,omitempty"`
	ToolConsultCount                    int64   `json:"tool_consult_count,omitempty"`
	LotteryLeadsCount                   int64   `json:"lottery_leads_count,omitempty"`
	LotteryLeadsCost                    int64   `json:"lottery_leads_cost,omitempty"`
	ConversionsCount                    int64   `json:"conversions_count,omitempty"`
	ConversionsRate                     float64 `json:"conversions_rate,omitempty"`
	ConversionsCost                     int64   `json:"conversions_cost,omitempty"`
	DeepConversionsCount                int64   `json:"deep_conversions_count,omitempty"`
	DeepConversionsRate                 float64 `json:"deep_conversions_rate,omitempty"`
	DeepConversionsCost                 int64   `json:"deep_conversions_cost,omitempty"`
	FirstMemcardWebCount                int64   `json:"first_memcard_web_count,omitempty"`
	FirstMemcardAppCount                int64   `json:"first_memcard_app_count,omitempty"`
	MemcardWebCount                     int64   `json:"memcard_web_count,omitempty"`
	MemcardAppCount                     int64   `json:"memcard_app_count,omitempty"`
	FirstMemcardWebRate                 float64 `json:"first_memcard_web_rate,omitempty"`
	FirstMemcardAppRate                 float64 `json:"first_memcard_app_rate,omitempty"`
	FirstMemcardWebCost                 int64   `json:"first_memcard_web_cost,omitempty"`
	FirstMemcardAppCost                 int64   `json:"first_memcard_app_cost,omitempty"`
	ValuableClickCount                  int64   `json:"valuable_click_count,omitempty"`
	ValuableClickRate                   float64 `json:"valuable_click_rate,omitempty"`
	ValuableClickCost                   int64   `json:"valuable_click_cost,omitempty"`
	VideoPlayCount                      int64   `json:"video_play_count,omitempty"`
	ClickImageCount                     int64   `json:"click_image_count,omitempty"`
	ClickDetailCount                    int64   `json:"click_detail_count,omitempty"`
	ClickHeadCount                      int64   `json:"click_head_count,omitempty"`
	ClickNickCount                      int64   `json:"click_nick_count,omitempty"`
	ClickPoiCount                       int64   `json:"click_poi_count,omitempty"`
	VideoInnerPlayCount                 int64   `json:"video_inner_play_count,omitempty"`
	LanButtonClickCount                 int64   `json:"lan_button_click_count,omitempty"`
	LanJumpButtonClickers               int64   `json:"lan_jump_button_clickers,omitempty"`
	LanJumpButtonClickCost              int64   `json:"lan_jump_button_click_cost,omitempty"`
	LanJumpButtonCtr                    float64 `json:"lan_jump_button_ctr,omitempty"`
	LanButtonClickCost                  int64   `json:"lan_button_click_cost,omitempty"`
	CpnClickButtonCount                 int64   `json:"cpn_click_button_count,omitempty"`
	CpnClickButtonUv                    int64   `json:"cpn_click_button_uv,omitempty"`
	KeyPageUv                           int64   `json:"key_page_uv,omitempty"`
	SpecialPageExpUv                    int64   `json:"special_page_exp_uv,omitempty"`
	SpecialPageExpCost                  int64   `json:"special_page_exp_cost,omitempty"`
	ViewCommodityPageUv                 int64   `json:"view_commodity_page_uv,omitempty"`
	EffectLeadsPurchaseCount            int64   `json:"effect_leads_purchase_count,omitempty"`
	ReservationUv                       int64   `json:"reservation_uv,omitempty"`
	OverallLeadsPurchaseCount           int64   `json:"overall_leads_purchase_count,omitempty"`
	LeadsPurchaseCount                  int64   `json:"leads_purchase_count,omitempty"`
	LeadsPurchaseRate                   float64 `json:"leads_purchase_rate,omitempty"`
	LeadsPurchaseCost                   int64   `json:"leads_purchase_cost,omitempty"`
	LeadsPurchaseUv                     int64   `json:"leads_purchase_uv,omitempty"`
	ValidLeadsUv                        int64   `json:"valid_leads_uv,omitempty"`
	PhoneCallUv                         int64   `json:"phone_call_uv,omitempty"`
	ValidPhoneUv                        int64   `json:"valid_phone_uv,omitempty"`
	PotentialCustomerPhoneUv            int64   `json:"potential_customer_phone_uv,omitempty"`
	WebRegisterUv                       int64   `json:"web_register_uv,omitempty"`
	WebApplyUv                          int64   `json:"web_apply_uv,omitempty"`
	WebCreditUv                         int64   `json:"web_credit_uv,omitempty"`
	AppApplyUv                          int64   `json:"app_apply_uv,omitempty"`
	AppPreCreditUv                      int64   `json:"app_pre_credit_uv,omitempty"`
	AppCreditUv                         int64   `json:"app_credit_uv,omitempty"`
	AppWithdrawUv                       int64   `json:"app_withdraw_uv,omitempty"`
	WechatAppRegisterUv                 int64   `json:"wechat_app_register_uv,omitempty"`
	NoInterestCount                     int64   `json:"no_interest_count,omitempty"`
	FirstDayOrderCount                  int64   `json:"first_day_order_count,omitempty"`
	FirstDayOrderAmount                 int64   `json:"first_day_order_amount,omitempty"`
	AddWishlistCount                    int64   `json:"add_wishlist_count,omitempty"`
	VideoOuterPlay10Count               int64   `json:"video_outer_play10_count,omitempty"`
	VideoOuterPlay25Count               int64   `json:"video_outer_play25_count,omitempty"`
	VideoOuterPlay50Count               int64   `json:"video_outer_play50_count,omitempty"`
	VideoOuterPlay75Count               int64   `json:"video_outer_play75_count,omitempty"`
	VideoOuterPlay95Count               int64   `json:"video_outer_play95_count,omitempty"`
	VideoOuterPlay100Count              int64   `json:"video_outer_play100_count,omitempty"`
	VideoOuterPlayTimeCount             float64 `json:"video_outer_play_time_count,omitempty"`
	VideoOuterPlayTimeAvgRate           float64 `json:"video_outer_play_time_avg_rate,omitempty"`
	VideoOuterPlayRate                  float64 `json:"video_outer_play_rate,omitempty"`
	VideoOuterPlayCost                  int64   `json:"video_outer_play_cost,omitempty"`
	VideoOuterPlayCount                 int64   `json:"video_outer_play_count,omitempty"`
	VideoOuterPlay3sCount               int64   `json:"video_outer_play3s_count,omitempty"`
	VideoOuterPlay5sCount               int64   `json:"video_outer_play5s_count,omitempty"`
	VideoOuterPlay7sCount               int64   `json:"video_outer_play7s_count,omitempty"`
	EffectLeadsPurchaseCost             int64   `json:"effect_leads_purchase_cost,omitempty"`
	CreWebCost                          int64   `json:"cre_web_cost,omitempty"`
	CreAppCost                          int64   `json:"cre_app_cost,omitempty"`
	PreCreWebCost                       int64   `json:"pre_cre_web_cost,omitempty"`
	PreCreAppCost                       int64   `json:"pre_cre_app_cost,omitempty"`
	RequestConversionsCount             int64   `json:"request_conversions_count,omitempty"`
	RequestConversionsCost              int64   `json:"request_conversions_cost,omitempty"`
	IncomeRoi1                          float64 `json:"income_roi_1,omitempty"`
	IncomeRoi3                          float64 `json:"income_roi_3,omitempty"`
	IncomeRoi7                          float64 `json:"income_roi_7,omitempty"`
	IncomeRoi14                         float64 `json:"income_roi_14,omitempty"`
	ActivatedTotalPaymentCost           int64   `json:"activated_total_payment_cost,omitempty"`
	PaymentAmountActivatedD3            int64   `json:"payment_amount_activated_d3,omitempty"`
	PaymentAmountActivatedD7            int64   `json:"payment_amount_activated_d7,omitempty"`
	PaymentAmountActivatedD14           int64   `json:"payment_amount_activated_d14,omitempty"`
	PaymentAmountActivatedD30           int64   `json:"payment_amount_activated_d30,omitempty"`
	FirstDayPayCount                    int64   `json:"first_day_pay_count,omitempty"`
	FirstDayPayCost                     int64   `json:"first_day_pay_cost,omitempty"`
	FirstDayFirstPayCost                int64   `json:"first_day_first_pay_cost,omitempty"`
	FirstDayFirstPayCount               int64   `json:"first_day_first_pay_count,omitempty"`
	PaymentCostActivatedD1              int64   `json:"payment_cost_activated_d1,omitempty"`
	FirstDayPayAmount                   int64   `json:"first_day_pay_amount,omitempty"`
	RoiActivatedD1                      float64 `json:"roi_activated_d1,omitempty"`
	RoiActivatedD3                      float64 `json:"roi_activated_d3,omitempty"`
	RoiActivatedD7                      float64 `json:"roi_activated_d7,omitempty"`
	RoiActivatedD14                     float64 `json:"roi_activated_d14,omitempty"`
	RoiActivatedD30                     float64 `json:"roi_activated_d30,omitempty"`
	FirstDayFirstPayRate                float64 `json:"first_day_first_pay_rate,omitempty"`
	CampaignId                          int64   `json:"campaign_id,omitempty"`
	CampaignName                        string  `json:"campaign_name,omitempty"`
	AdgroupId                           int64   `json:"adgroup_id,omitempty"`
	AdgroupName                         string  `json:"adgroup_name,omitempty"`
	AdId                                int64   `json:"ad_id,omitempty"`
	AdName                              string  `json:"ad_name,omitempty"`
	PromotedObjectType                  string  `json:"promoted_object_type,omitempty"`
	PromotedObjectId                    string  `json:"promoted_object_id,omitempty"`
	UnionPositionId                     int64   `json:"union_position_id,omitempty"`
	IndustryParentName                  string  `json:"industry_parent_name,omitempty"`
	PlacementName                       string  `json:"placement_name,omitempty"`
	TemplateId                          int64   `json:"template_id,omitempty"`
	AddToCartCost                       int64   `json:"add_to_cart_cost,omitempty"`
	WebAddToCartRate                    float64 `json:"web_add_to_cart_rate,omitempty"`
	AppAddToCartRate                    float64 `json:"app_add_to_cart_rate,omitempty"`
	IsExpandTargeting                   bool    `json:"is_expand_targeting,omitempty"`
	SiteSet                             string  `json:"site_set,omitempty"`
	MaterialId                          int64   `json:"material_id,omitempty"`
	Signature                           string  `json:"signature,omitempty"`
	WechatAccountId                     string  `json:"wechat_account_id,omitempty"`
	WechatAgencyId                      string  `json:"wechat_agency_id,omitempty"`
	CostDeviationRate                   float64 `json:"cost_deviation_rate,omitempty"`
	CompensationAmount                  int64   `json:"compensation_amount,omitempty"`
	ViewUserCount                       int64   `json:"view_user_count,omitempty"`
	AvgViewPerUser                      float64 `json:"avg_view_per_user,omitempty"`
	ClickUserCount                      int64   `json:"click_user_count,omitempty"`
	ImageClickUserCount                 int64   `json:"image_click_user_count,omitempty"`
	VideoClickUserCount                 int64   `json:"video_click_user_count,omitempty"`
	LinkClickUserCount                  int64   `json:"link_click_user_count,omitempty"`
	PortraitClickUserCount              int64   `json:"portrait_click_user_count,omitempty"`
	NicknameClickUserCount              int64   `json:"nickname_click_user_count,omitempty"`
	PoiClickUserCount                   int64   `json:"poi_click_user_count,omitempty"`
	PlatformKeyPageViewUserCount        int64   `json:"platform_key_page_view_user_count,omitempty"`
	PlatformKeyPageAvgViewPerUser       float64 `json:"platform_key_page_avg_view_per_user,omitempty"`
	PlatformKeyPageViewDuration         float64 `json:"platform_key_page_view_duration,omitempty"`
	CpnClickButtonCost                  int64   `json:"cpn_click_button_cost,omitempty"`
	PraiseUserCount                     int64   `json:"praise_user_count,omitempty"`
	CommentUserCount                    int64   `json:"comment_user_count,omitempty"`
	OrderCount                          int64   `json:"order_count,omitempty"`
	OrderRate                           float64 `json:"order_rate,omitempty"`
	QuestReservationPvCost              int64   `json:"quest_reservation_pv_cost,omitempty"`
	LeadsRate                           float64 `json:"leads_rate,omitempty"`
	LeadsUserCount                      int64   `json:"leads_user_count,omitempty"`
	LeadsCost                           int64   `json:"leads_cost,omitempty"`
	LeadsUserRate                       float64 `json:"leads_user_rate,omitempty"`
	ValidLeadsCost                      int64   `json:"valid_leads_cost,omitempty"`
	ValidLeadsRate                      float64 `json:"valid_leads_rate,omitempty"`
	PageConsultUserCount                int64   `json:"page_consult_user_count,omitempty"`
	ValidPageConsultUserCount           int64   `json:"valid_page_consult_user_count,omitempty"`
	WithdrDepWebUserCount               int64   `json:"withdr_dep_web_user_count,omitempty"`
	WechatMinigameRegisterCost          int64   `json:"wechat_minigame_register_cost,omitempty"`
	WechatMinigameRegisterRate          float64 `json:"wechat_minigame_register_rate,omitempty"`
	WechatMinigameArpu                  float64 `json:"wechat_minigame_arpu,omitempty"`
	WechatMinigameRetentionCount        int64   `json:"wechat_minigame_retention_count,omitempty"`
	WechatMinigameCheckoutCount         int64   `json:"wechat_minigame_checkout_count,omitempty"`
	WechatMinigameCheckoutAmount        int64   `json:"wechat_minigame_checkout_amount,omitempty"`
	OfficialAccountFollowCount          int64   `json:"official_account_follow_count,omitempty"`
	OfficialAccountFollowCost           int64   `json:"official_account_follow_cost,omitempty"`
	OfficialAccountFollowRate           float64 `json:"official_account_follow_rate,omitempty"`
	OfficialAccountRegisterUserCount    int64   `json:"official_account_register_user_count,omitempty"`
	OfficialAccountRegisterRate         float64 `json:"official_account_register_rate,omitempty"`
	OfficialAccountRegisterCost         int64   `json:"official_account_register_cost,omitempty"`
	OfficialAccountRegisterAmount       int64   `json:"official_account_register_amount,omitempty"`
	OfficialAccountRegisterRoi          int64   `json:"official_account_register_roi,omitempty"`
	OfficialAccountApplyCount           int64   `json:"official_account_apply_count,omitempty"`
	OfficialAccountApplyUserCount       int64   `json:"official_account_apply_user_count,omitempty"`
	OfficialAccountApplyRate            float64 `json:"official_account_apply_rate,omitempty"`
	OfficialAccountApplyCost            int64   `json:"official_account_apply_cost,omitempty"`
	OfficialAccountApplyAmount          int64   `json:"official_account_apply_amount,omitempty"`
	OfficialAccountApplyRoi             int64   `json:"official_account_apply_roi,omitempty"`
	OfficialAccountOrderCount           int64   `json:"official_account_order_count,omitempty"`
	OfficialAccountFirstDayOrderCount   int64   `json:"official_account_first_day_order_count,omitempty"`
	OfficialAccountOrderUserCount       int64   `json:"official_account_order_user_count,omitempty"`
	OfficialAccountOrderRate            float64 `json:"official_account_order_rate,omitempty"`
	OfficialAccountOrderCost            int64   `json:"official_account_order_cost,omitempty"`
	OfficialAccountOrderAmount          int64   `json:"official_account_order_amount,omitempty"`
	OfficialAccountFirstDayOrderAmount  int64   `json:"official_account_first_day_order_amount,omitempty"`
	OfficialAccountOrderRoi             int64   `json:"official_account_order_roi,omitempty"`
	OfficialAccountConsultCount         int64   `json:"official_account_consult_count,omitempty"`
	OfficialAccountReaderCount          int64   `json:"official_account_reader_count,omitempty"`
	OfficialAccountCreditApplyUserCount int64   `json:"official_account_credit_apply_user_count,omitempty"`
	OfficialAccountCreditUserCount      int64   `json:"official_account_credit_user_count,omitempty"`
	CouponGetCost                       int64   `json:"coupon_get_cost,omitempty"`
	CouponGetRate                       float64 `json:"coupon_get_rate,omitempty"`
	CouponUseCount                      int64   `json:"coupon_use_count,omitempty"`
	ForwardUserCount                    int64   `json:"forward_user_count,omitempty"`
	VideoOuterPlayUserCount             int64   `json:"video_outer_play_user_count,omitempty"`
	VideoInnerPlayUserCount             int64   `json:"video_inner_play_user_count,omitempty"`
}

返回结构

type DailyReportsGetResponse

type DailyReportsGetResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *DailyReportsGetResponseData `json:"data,omitempty"`
}

type DailyReportsGetResponseData

type DailyReportsGetResponseData struct {
	List     *[]DailyReportsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                        `json:"page_info,omitempty"`
}

type DataFile

type DataFile struct {
	AudienceId           int64             `json:"audience_id,omitempty"`
	CustomAudienceFileId int64             `json:"custom_audience_file_id,omitempty"`
	Name                 string            `json:"name,omitempty"`
	UserIdType           UserIdType        `json:"user_id_type,omitempty"`
	OperationType        OperationType     `json:"operation_type,omitempty"`
	OpenAppId            string            `json:"open_app_id,omitempty"`
	SaltId               string            `json:"salt_id,omitempty"`
	ProcessStatus        FileProcessStatus `json:"process_status,omitempty"`
	ProcessCode          int64             `json:"process_code,omitempty"`
	ErrorMessage         string            `json:"error_message,omitempty"`
	LineCount            int64             `json:"line_count,omitempty"`
	ValidLineCount       int64             `json:"valid_line_count,omitempty"`
	UserCount            int64             `json:"user_count,omitempty"`
	Size                 int64             `json:"size,omitempty"`
	CreatedTime          string            `json:"created_time,omitempty"`
}

data_file返回结构

type DataPlatform

type DataPlatform string

DataPlatform : 数据应用

const (
	DataPlatform_DMP DataPlatform = "DMP"
	DataPlatform_TDC DataPlatform = "TDC"
	DataPlatform_TDP DataPlatform = "TDP"
)

List of DataPlatform

type DateRange

type DateRange struct {
	StartDate string `json:"start_date,omitempty"`
	EndDate   string `json:"end_date,omitempty"`
}

日期范围

type DateRangeTransaction

type DateRangeTransaction struct {
	StartDate string `json:"start_date,omitempty"`
	EndDate   string `json:"end_date,omitempty"`
}

日期范围

type DateSpec

type DateSpec struct {
	BeginDate string `json:"begin_date,omitempty"`
	EndDate   string `json:"end_date,omitempty"`
}

投放日期信息

type DeepBehaviorOptimizationGoalPermissionStruct

type DeepBehaviorOptimizationGoalPermissionStruct struct {
	OptimizationGoal                 OptimizationGoal `json:"optimization_goal,omitempty"`
	DeepBehaviorOptimizationGoalList *[]string        `json:"deep_behavior_optimization_goal_list,omitempty"`
}

返回结构

type DeepConversionBehaviorGoal

type DeepConversionBehaviorGoal string

DeepConversionBehaviorGoal : 优化转化行为目标,不可更改,如修改目标价格,需在结构体中传入已设置的优化转化行为目标。

const (
	DeepConversionBehaviorGoal_ONE_DAY_RETENTION                   DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_ONE_DAY_RETENTION"
	DeepConversionBehaviorGoal_APP_PURCHASE                        DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_APP_PURCHASE"
	DeepConversionBehaviorGoal_ECOMMERCE_ORDER                     DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_ECOMMERCE_ORDER"
	DeepConversionBehaviorGoal_ECOMMERCE_CHECKOUT                  DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT"
	DeepConversionBehaviorGoal_PROMOTION_CLICK_KEY_PAGE            DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE"
	DeepConversionBehaviorGoal_ONLINE_CONSULTATION                 DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_ONLINE_CONSULTATION"
	DeepConversionBehaviorGoal_TELEPHONE_CONSULTATION              DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION"
	DeepConversionBehaviorGoal_DELIVERY                            DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_DELIVERY"
	DeepConversionBehaviorGoal_PAGE_CONFIRM_EFFECTIVE_LEADS        DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_PAGE_CONFIRM_EFFECTIVE_LEADS"
	DeepConversionBehaviorGoal_FIRST_PURCHASE                      DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_FIRST_PURCHASE"
	DeepConversionBehaviorGoal_VIEW_COMMODITY_PAGE                 DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE"
	DeepConversionBehaviorGoal_CREDIT                              DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_CREDIT"
	DeepConversionBehaviorGoal_WITHDRAW_DEPOSITS                   DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS"
	DeepConversionBehaviorGoal_APPLY                               DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_APPLY"
	DeepConversionBehaviorGoal_PRE_CREDIT                          DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_PRE_CREDIT"
	DeepConversionBehaviorGoal_APP_REGISTER                        DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_APP_REGISTER"
	DeepConversionBehaviorGoal_LEADS                               DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_LEADS"
	DeepConversionBehaviorGoal_PAGE_RESERVATION                    DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_PAGE_RESERVATION"
	DeepConversionBehaviorGoal_CONFIRM_EFFECTIVE_LEADS_CONSULT     DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT"
	DeepConversionBehaviorGoal_CONFIRM_EFFECTIVE_LEADS_PHONE       DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE"
	DeepConversionBehaviorGoal_PURCHASE_MEMBER_CARD                DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD"
	DeepConversionBehaviorGoal_CONFIRM_EFFECTIVE_LEADS_RESERVATION DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION"
	DeepConversionBehaviorGoal_LEADS_COLLECT                       DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_LEADS_COLLECT"
	DeepConversionBehaviorGoal_PROMOTION_VIEW_KEY_PAGE             DeepConversionBehaviorGoal = "OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE"
)

List of DeepConversionBehaviorGoal

type DeepConversionBehaviorSpec

type DeepConversionBehaviorSpec struct {
	Goal      DeepConversionBehaviorGoal `json:"goal,omitempty"`
	BidAmount int64                      `json:"bid_amount,omitempty"`
}

oCPC/oCPM 优化转化行为配置

type DeepConversionSpec

type DeepConversionSpec struct {
	DeepConversionType         DeepConversionType          `json:"deep_conversion_type,omitempty"`
	DeepConversionBehaviorSpec *DeepConversionBehaviorSpec `json:"deep_conversion_behavior_spec,omitempty"`
	DeepConversionWorthSpec    *DeepConversionWorthSpec    `json:"deep_conversion_worth_spec,omitempty"`
}

oCPC/oCPM深度优化内容

type DeepConversionType

type DeepConversionType string

DeepConversionType : oCPC/oCPM深度优化价值配置

const (
	DeepConversionType_WORTH    DeepConversionType = "DEEP_CONVERSION_WORTH"
	DeepConversionType_BEHAVIOR DeepConversionType = "DEEP_CONVERSION_BEHAVIOR"
)

List of DeepConversionType

type DeepConversionWorthGoal

type DeepConversionWorthGoal string

DeepConversionWorthGoal : 优化ROI目标,不可更改,如修改深度优化效果值,需在结构体中传入已设置的优化ROI目标

const (
	DeepConversionWorthGoal_30DAYPURCHASEROAS     DeepConversionWorthGoal = "GOAL_30DAY_PURCHASE_ROAS"
	DeepConversionWorthGoal_30DAYMONETIZATIONROAS DeepConversionWorthGoal = "GOAL_30DAY_MONETIZATION_ROAS"
	DeepConversionWorthGoal_30DAYORDERROAS        DeepConversionWorthGoal = "GOAL_30DAY_ORDER_ROAS"
	DeepConversionWorthGoal_1DAYPURCHASEROAS      DeepConversionWorthGoal = "GOAL_1DAY_PURCHASE_ROAS"
	DeepConversionWorthGoal_1DAYMONETIZATIONROAS  DeepConversionWorthGoal = "GOAL_1DAY_MONETIZATION_ROAS"
)

List of DeepConversionWorthGoal

type DeepConversionWorthSpec

type DeepConversionWorthSpec struct {
	Goal        DeepConversionWorthGoal `json:"goal,omitempty"`
	ExpectedRoi float64                 `json:"expected_roi,omitempty"`
}

oCPC/oCPM 优化 ROI 配置

type DeepLinkEnabled

type DeepLinkEnabled struct {
	IosDeepLinkEnabled     bool `json:"ios_deep_link_enabled,omitempty"`
	AndroidDeepLinkEnabled bool `json:"android_deep_link_enabled,omitempty"`
	H5DeepLinkEnabled      bool `json:"h5_deep_link_enabled,omitempty"`
}

应用直达选项

type DeepOptimizationActionType

type DeepOptimizationActionType string

DeepOptimizationActionType : oCPC/oCPM深度优化方式配置 当深度优化类型=优化深度转化行为时,此前支持选择“优化方式”;目前深度优化能力升级,两阶段/双目标优化方式已进行合并,因此优化方式字段即将下线,可以不再输入。如调用该字段,系统会默认按两阶段优化方式进行创建, <a href='https://e.qq.com/ads/learning/data/optimization/skill/012/' target='_blank'>了解更多</a>

const (
	DeepOptimizationActionType_DOUBLE_GOAL_BID DeepOptimizationActionType = "DEEP_OPTIMIZATION_ACTION_TYPE_DOUBLE_GOAL_BID"
	DeepOptimizationActionType_TWO_STAGE_BID   DeepOptimizationActionType = "DEEP_OPTIMIZATION_ACTION_TYPE_TWO_STAGE_BID"
)

List of DeepOptimizationActionType

type DeepWorthOptimizationGoalPermissionStruct

type DeepWorthOptimizationGoalPermissionStruct struct {
	OptimizationGoal              OptimizationGoal `json:"optimization_goal,omitempty"`
	DeepWorthOptimizationGoalList *[]string        `json:"deep_worth_optimization_goal_list,omitempty"`
}

返回结构

type DeleteAdItem added in v1.4.1

type DeleteAdItem struct {
	AdId int64 `json:"ad_id,omitempty"`
}

删除广告

type DeleteAdgroupItem added in v1.4.1

type DeleteAdgroupItem struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

删除广告组

type DeleteCampaignItem added in v1.4.1

type DeleteCampaignItem struct {
	CampaignId int64 `json:"campaign_id,omitempty"`
}

删除推广计划

type DeliveryDetailStruct

type DeliveryDetailStruct struct {
	DeliveryUpdateTime string `json:"delivery_update_time,omitempty"`
	DeliveryDetail     string `json:"delivery_detail,omitempty"`
}

快递详情元素

type DestinationType

type DestinationType string

DestinationType : 落地页类型

const (
	DestinationType_DEFAULT                         DestinationType = "PAGE_TYPE_DEFAULT"
	DestinationType_TSA_APP                         DestinationType = "PAGE_TYPE_TSA_APP"
	DestinationType_TSA_WEB_NONE_ECOMMERCE          DestinationType = "PAGE_TYPE_TSA_WEB_NONE_ECOMMERCE"
	DestinationType_CANVAS_WECHAT                   DestinationType = "PAGE_TYPE_CANVAS_WECHAT"
	DestinationType_MINI_PROGRAM_WECHAT             DestinationType = "PAGE_TYPE_MINI_PROGRAM_WECHAT"
	DestinationType_FENGYE_ECOMMERCE                DestinationType = "PAGE_TYPE_FENGYE_ECOMMERCE"
	DestinationType_MINI_GAME_WECHAT                DestinationType = "PAGE_TYPE_MINI_GAME_WECHAT"
	DestinationType_MINI_PROGRAM_QQ                 DestinationType = "PAGE_TYPE_MINI_PROGRAM_QQ"
	DestinationType_MINI_PROGRAM_CANVAS_WECHAT      DestinationType = "PAGE_TYPE_MINI_PROGRAM_CANVAS_WECHAT"
	DestinationType_MINI_GAME_QQ                    DestinationType = "PAGE_TYPE_MINI_GAME_QQ"
	DestinationType_ARTICAL_WECHAT                  DestinationType = "PAGE_TYPE_ARTICAL_WECHAT"
	DestinationType_MOMENTS_SIMPLE_NATIVE_WECHAT    DestinationType = "PAGE_TYPE_MOMENTS_SIMPLE_NATIVE_WECHAT"
	DestinationType_FULL_SCREEN_WECHAT              DestinationType = "PAGE_TYPE_FULL_SCREEN_WECHAT"
	DestinationType_YUEBAO_QUICKAPP                 DestinationType = "PAGE_TYPE_YUEBAO_QUICKAPP"
	DestinationType_YUEBAO_OFFICIAL_ACCOUNT_ARTICLE DestinationType = "PAGE_TYPE_YUEBAO_OFFICIAL_ACCOUNT_ARTICLE"
)

List of DestinationType

type DestinationTypeRead

type DestinationTypeRead string

DestinationTypeRead : 落地页类型

const (
	DestinationTypeRead_TSA_APP                         DestinationTypeRead = "PAGE_TYPE_TSA_APP"
	DestinationTypeRead_TSA_WEB_NONE_ECOMMERCE          DestinationTypeRead = "PAGE_TYPE_TSA_WEB_NONE_ECOMMERCE"
	DestinationTypeRead_CANVAS_WECHAT                   DestinationTypeRead = "PAGE_TYPE_CANVAS_WECHAT"
	DestinationTypeRead_UNSUPPORTED                     DestinationTypeRead = "PAGE_TYPE_UNSUPPORTED"
	DestinationTypeRead_FENGYE_ECOMMERCE                DestinationTypeRead = "PAGE_TYPE_FENGYE_ECOMMERCE"
	DestinationTypeRead_YUEBAO_QUICKAPP                 DestinationTypeRead = "PAGE_TYPE_YUEBAO_QUICKAPP"
	DestinationTypeRead_YUEBAO_OFFICIAL_ACCOUNT_ARTICLE DestinationTypeRead = "PAGE_TYPE_YUEBAO_OFFICIAL_ACCOUNT_ARTICLE"
)

List of DestinationTypeRead

type DetailCompeteDetailStruct

type DetailCompeteDetailStruct struct {
	CompeteAttribution    *[]CompeteAttributionStruct  `json:"compete_attribution,omitempty"`
	CompeteBudgetDetails  *CompeteBudgetDetailsStruct  `json:"compete_budget_details,omitempty"`
	CompeteBidDetails     *CompeteBidDetailsStruct     `json:"compete_bid_details,omitempty"`
	CompeteUserAcceptance *CompeteUserAcceptanceStruct `json:"compete_user_acceptance,omitempty"`
	CompetePctrTrends     *CompetePctrTrendsStruct     `json:"compete_pctr_trends,omitempty"`
	CompetePcvrTrends     *CompetePcvrTrendsStruct     `json:"compete_pcvr_trends,omitempty"`
	CompeteWinAdgroup     *CompeteWinAdgroupStruct     `json:"compete_win_adgroup,omitempty"`
	CompeteSurroundings   *CompeteSurroundingsStruct   `json:"compete_surroundings,omitempty"`
}

诊断详情-竞争力明细

type DetailCpaDetailStruct

type DetailCpaDetailStruct struct {
	EffectData       *CpaEffectDataStruct `json:"effect_data,omitempty"`
	EffectDataTrends *CpaEffectDataTrends `json:"effect_data_trends,omitempty"`
}

诊断详情-成本明细

type DetailCreativeDetailStruct added in v1.3.0

type DetailCreativeDetailStruct struct {
	IsVideo             bool                       `json:"is_video,omitempty"`
	IsWechatMoment      bool                       `json:"is_wechat_moment,omitempty"`
	PlayDuration        string                     `json:"play_duration,omitempty"`
	PlayProgress        string                     `json:"play_progress,omitempty"`
	CtrLevel            *CtrLevelStruct            `json:"ctr_level,omitempty"`
	EffectivePlayRate   *EffectivePlayRateStruct   `json:"effective_play_rate,omitempty"`
	NoInterestClickRate *NoInterestClickRateStruct `json:"no_interest_click_rate,omitempty"`
}

诊断详情-定向明细

type DetailFunnelStruct

type DetailFunnelStruct struct {
	TargetingWidenessRate *TargetingWidenessRateFunnelStruct `json:"targeting_wideness_rate,omitempty"`
	CompeteWinRate        *CompeteWinRateFunnelStruct        `json:"compete_win_rate,omitempty"`
	ExposureCount         *ExposureCountFunnelStruct         `json:"exposure_count,omitempty"`
	Ctr                   *CtrFunnelStruct                   `json:"ctr,omitempty"`
	Cvr                   *CvrFunnelStruct                   `json:"cvr,omitempty"`
	Cpa                   *CpaFunnelStruct                   `json:"cpa,omitempty"`
}

诊断详情-漏斗分析明细

type DetailListStruct added in v1.4.0

type DetailListStruct struct {
	ScopeObjectId    int64                `json:"scope_object_id,omitempty"`
	ScopeObjectName  string               `json:"scope_object_name,omitempty"`
	DetailResultType TaskDetailResultType `json:"detail_result_type,omitempty"`
	Message          string               `json:"message,omitempty"`
}

返回结构

type DetailTargetDetailStruct

type DetailTargetDetailStruct struct {
	ExpandTargetingOpened bool           `json:"expand_targeting_opened,omitempty"`
	Score                 int64          `json:"score,omitempty"`
	Trends                *[]PointStruct `json:"trends,omitempty"`
	Conclusion            string         `json:"conclusion,omitempty"`
}

诊断详情-定向明细

type DetailedFundStatement

type DetailedFundStatement struct {
	TradeType            WechatAccountTradeType   `json:"trade_type,omitempty"`
	Time                 int64                    `json:"time,omitempty"`
	Amount               int64                    `json:"amount,omitempty"`
	WechatAccountId      string                   `json:"wechat_account_id,omitempty"`
	WechatAccountName    string                   `json:"wechat_account_name,omitempty"`
	FundType             WechatMpOpenFundType     `json:"fund_type,omitempty"`
	ExternalBillNo       string                   `json:"external_bill_no,omitempty"`
	Description          string                   `json:"description,omitempty"`
	Operator             string                   `json:"operator,omitempty"`
	BillNo               string                   `json:"bill_no,omitempty"`
	RepaymentChannelType string                   `json:"repayment_channel_type,omitempty"`
	CompanyName          string                   `json:"company_name,omitempty"`
	ContactName          string                   `json:"contact_name,omitempty"`
	ContactPhone         string                   `json:"contact_phone,omitempty"`
	Status               WechatAccountTradeStatus `json:"status,omitempty"`
}

资金明细

type DeviceBrandModel

type DeviceBrandModel struct {
	IncludedList *[]int64 `json:"included_list,omitempty"`
	ExcludedList *[]int64 `json:"excluded_list,omitempty"`
}

设备品牌型号定向

type DiagnosisConclusionSpec

type DiagnosisConclusionSpec struct {
	TimeRange        *DiagnosisConclusionSpecTimeRange `json:"time_range,omitempty"`
	DiagnosisScore   int64                             `json:"diagnosis_score,omitempty"`
	SameIndustryRank int64                             `json:"same_industry_rank,omitempty"`
}

整体曝光评估结果

type DiagnosisConclusionSpecTimeRange

type DiagnosisConclusionSpecTimeRange struct {
	StartTime int64 `json:"start_time,omitempty"`
	EndTime   int64 `json:"end_time,omitempty"`
}

诊断周期使用的数据源起止时间,最多展示近30天的全量数据

type DiagnosisGetListStruct

type DiagnosisGetListStruct struct {
	AdgroupId                 int64                      `json:"adgroup_id,omitempty"`
	WechatDiagnosisResultSpec *WechatDiagnosisResultSpec `json:"wechat_diagnosis_result_spec,omitempty"`
}

广告诊断信息列表

type DiagnosisGetResponse

type DiagnosisGetResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *DiagnosisGetResponseData `json:"data,omitempty"`
}

type DiagnosisGetResponseData

type DiagnosisGetResponseData struct {
	List     *[]DiagnosisGetListStruct `json:"list,omitempty"`
	PageInfo *PageInfo                 `json:"page_info,omitempty"`
}

type Dimension added in v1.4.1

type Dimension struct {
	Second     int64  `json:"second,omitempty"`
	MaterialId string `json:"material_id,omitempty"`
	Date       string `json:"date,omitempty"`
	AccountId  int64  `json:"account_id,omitempty"`
}

维度数据

type DimensionType

type DimensionType string

DimensionType : 透视维度

const (
	DimensionType_AGE                      DimensionType = "AGE"
	DimensionType_GENDER                   DimensionType = "GENDER"
	DimensionType_EDUCATION                DimensionType = "EDUCATION"
	DimensionType_RESIDENT_AREA_CODE       DimensionType = "RESIDENT_AREA_CODE"
	DimensionType_USER_BUSINESS_INTEREST   DimensionType = "USER_BUSINESS_INTEREST"
	DimensionType_RELATIONSHIP_STATUS      DimensionType = "RELATIONSHIP_STATUS"
	DimensionType_LOCARD_INTEREST          DimensionType = "LOCARD_INTEREST"
	DimensionType_LOCARD_BEHAVIOR_CATEGORY DimensionType = "LOCARD_BEHAVIOR_CATEGORY"
)

List of DimensionType

type DpAdcreativeCreativeElementsMp added in v1.4.0

type DpAdcreativeCreativeElementsMp struct {
	Title       string    `json:"title,omitempty"`
	Description string    `json:"description,omitempty"`
	ImageList   *[]string `json:"image_list,omitempty"`
}

创意元素

type DpApiDestinationType added in v1.4.0

type DpApiDestinationType string

DpApiDestinationType : 落地页类型

const (
	DpApiDestinationType_DEFAULT                      DpApiDestinationType = "PAGE_TYPE_DEFAULT"
	DpApiDestinationType_TSA_APP                      DpApiDestinationType = "PAGE_TYPE_TSA_APP"
	DpApiDestinationType_TSA_WEB_NONE_ECOMMERCE       DpApiDestinationType = "PAGE_TYPE_TSA_WEB_NONE_ECOMMERCE"
	DpApiDestinationType_CANVAS_WECHAT                DpApiDestinationType = "PAGE_TYPE_CANVAS_WECHAT"
	DpApiDestinationType_MINI_PROGRAM_WECHAT          DpApiDestinationType = "PAGE_TYPE_MINI_PROGRAM_WECHAT"
	DpApiDestinationType_FENGYE_ECOMMERCE             DpApiDestinationType = "PAGE_TYPE_FENGYE_ECOMMERCE"
	DpApiDestinationType_MINI_GAME_WECHAT             DpApiDestinationType = "PAGE_TYPE_MINI_GAME_WECHAT"
	DpApiDestinationType_MINI_PROGRAM_QQ              DpApiDestinationType = "PAGE_TYPE_MINI_PROGRAM_QQ"
	DpApiDestinationType_MINI_PROGRAM_CANVAS_WECHAT   DpApiDestinationType = "PAGE_TYPE_MINI_PROGRAM_CANVAS_WECHAT"
	DpApiDestinationType_MINI_GAME_QQ                 DpApiDestinationType = "PAGE_TYPE_MINI_GAME_QQ"
	DpApiDestinationType_ARTICAL_WECHAT               DpApiDestinationType = "PAGE_TYPE_ARTICAL_WECHAT"
	DpApiDestinationType_MOMENTS_SIMPLE_NATIVE_WECHAT DpApiDestinationType = "PAGE_TYPE_MOMENTS_SIMPLE_NATIVE_WECHAT"
	DpApiDestinationType_FULL_SCREEN_WECHAT           DpApiDestinationType = "PAGE_TYPE_FULL_SCREEN_WECHAT"
	DpApiDestinationType_WECHAT_CHANNELS              DpApiDestinationType = "PAGE_TYPE_WECHAT_CHANNELS"
)

List of DpApiDestinationType

type DpApiReportLevel added in v1.4.0

type DpApiReportLevel string

DpApiReportLevel : 报表类型

const (
	DpApiReportLevel_ADVERTISER_WECHAT DpApiReportLevel = "REPORT_LEVEL_ADVERTISER_WECHAT"
	DpApiReportLevel_ADGROUP_WECHAT    DpApiReportLevel = "REPORT_LEVEL_ADGROUP_WECHAT"
)

List of DpApiReportLevel

type DpMiniProgramSpec added in v1.4.0

type DpMiniProgramSpec struct {
	MiniProgramId   string `json:"mini_program_id,omitempty"`
	MiniProgramPath string `json:"mini_program_path,omitempty"`
}

小程序落地页,mini_program_id和mini_program_path要同时填写

type DpPageInfo added in v1.4.0

type DpPageInfo struct {
	Page      int64 `json:"page,omitempty"`
	PageSize  int64 `json:"page_size,omitempty"`
	TotalPage int64 `json:"total_page,omitempty"`
	TotalNum  int64 `json:"total_num,omitempty"`
}

拉取创意结构

type DpPageSpec added in v1.4.0

type DpPageSpec struct {
	MiniProgramSpec *DpMiniProgramSpec `json:"mini_program_spec,omitempty"`
}

落地页信息

type DpWriteTargetingSetting added in v1.4.0

type DpWriteTargetingSetting struct {
	Age    *[]AgeStruct `json:"age,omitempty"`
	Gender *[]string    `json:"gender,omitempty"`
}

定向详细设置

type DynamicAdImagesAddRequest

type DynamicAdImagesAddRequest struct {
	AccountId             int64                 `json:"account_id,omitempty"`
	ProductCatalogId      int64                 `json:"product_catalog_id,omitempty"`
	ProductMode           ProductMode           `json:"product_mode,omitempty"`
	ProductSource         string                `json:"product_source,omitempty"`
	DynamicAdTemplateSize DynamicAdTemplateSize `json:"dynamic_ad_template_size,omitempty"`
	DynamicAdTemplateId   int64                 `json:"dynamic_ad_template_id,omitempty"`
	ImageMattingEnabled   bool                  `json:"image_matting_enabled,omitempty"`
}

type DynamicAdImagesAddResponse

type DynamicAdImagesAddResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *DynamicAdImagesAddResponseData `json:"data,omitempty"`
}

type DynamicAdImagesAddResponseData

type DynamicAdImagesAddResponseData struct {
	ImageId string `json:"image_id,omitempty"`
}

type DynamicAdImagesGetListStruct

type DynamicAdImagesGetListStruct struct {
	ImageId             string `json:"image_id,omitempty"`
	DynamicAdTemplateId int64  `json:"dynamic_ad_template_id,omitempty"`
	Width               int64  `json:"width,omitempty"`
	Height              int64  `json:"height,omitempty"`
	SampleImageUrl      string `json:"sample_image_url,omitempty"`
}

返回结构

type DynamicAdImagesGetResponse

type DynamicAdImagesGetResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *DynamicAdImagesGetResponseData `json:"data,omitempty"`
}

type DynamicAdImagesGetResponseData

type DynamicAdImagesGetResponseData struct {
	List     *[]DynamicAdImagesGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                           `json:"page_info,omitempty"`
}

type DynamicAdSpec

type DynamicAdSpec struct {
	ProductCatalogId int64       `json:"product_catalog_id,omitempty"`
	ProductMode      ProductMode `json:"product_mode,omitempty"`
	ProductSource    string      `json:"product_source,omitempty"`
}

动态商品广告属性

type DynamicAdTemplateOwnershipType

type DynamicAdTemplateOwnershipType string

DynamicAdTemplateOwnershipType : 动态商品模板所属类型

const (
	DynamicAdTemplateOwnershipType_PRIVATE_TEMPLATE DynamicAdTemplateOwnershipType = "PRIVATE_TEMPLATE"
	DynamicAdTemplateOwnershipType_PUBLIC_TEMPLATE  DynamicAdTemplateOwnershipType = "PUBLIC_TEMPLATE"
)

List of DynamicAdTemplateOwnershipType

type DynamicAdTemplateSize

type DynamicAdTemplateSize string

DynamicAdTemplateSize : 模板使用尺寸

const (
	DynamicAdTemplateSize_1280720  DynamicAdTemplateSize = "SIZE_1280_720"
	DynamicAdTemplateSize_10801920 DynamicAdTemplateSize = "SIZE_1080_1920"
	DynamicAdTemplateSize_1000560  DynamicAdTemplateSize = "SIZE_1000_560"
	DynamicAdTemplateSize_960540   DynamicAdTemplateSize = "SIZE_960_540"
	DynamicAdTemplateSize_960334   DynamicAdTemplateSize = "SIZE_960_334"
	DynamicAdTemplateSize_960274   DynamicAdTemplateSize = "SIZE_960_274"
	DynamicAdTemplateSize_900500   DynamicAdTemplateSize = "SIZE_900_500"
	DynamicAdTemplateSize_800800   DynamicAdTemplateSize = "SIZE_800_800"
	DynamicAdTemplateSize_800640   DynamicAdTemplateSize = "SIZE_800_640"
	DynamicAdTemplateSize_800450   DynamicAdTemplateSize = "SIZE_800_450"
	DynamicAdTemplateSize_7201280  DynamicAdTemplateSize = "SIZE_720_1280"
	DynamicAdTemplateSize_640316   DynamicAdTemplateSize = "SIZE_640_316"
	DynamicAdTemplateSize_640960   DynamicAdTemplateSize = "SIZE_640_960"
	DynamicAdTemplateSize_640800   DynamicAdTemplateSize = "SIZE_640_800"
	DynamicAdTemplateSize_640360   DynamicAdTemplateSize = "SIZE_640_360"
	DynamicAdTemplateSize_6401136  DynamicAdTemplateSize = "SIZE_640_1136"
	DynamicAdTemplateSize_582166   DynamicAdTemplateSize = "SIZE_582_166"
	DynamicAdTemplateSize_498280   DynamicAdTemplateSize = "SIZE_498_280"
	DynamicAdTemplateSize_480360   DynamicAdTemplateSize = "SIZE_480_360"
	DynamicAdTemplateSize_480320   DynamicAdTemplateSize = "SIZE_480_320"
	DynamicAdTemplateSize_480270   DynamicAdTemplateSize = "SIZE_480_270"
	DynamicAdTemplateSize_465230   DynamicAdTemplateSize = "SIZE_465_230"
	DynamicAdTemplateSize_354222   DynamicAdTemplateSize = "SIZE_354_222"
	DynamicAdTemplateSize_240180   DynamicAdTemplateSize = "SIZE_240_180"
	DynamicAdTemplateSize_230152   DynamicAdTemplateSize = "SIZE_230_152"
	DynamicAdTemplateSize_147147   DynamicAdTemplateSize = "SIZE_147_147"
)

List of DynamicAdTemplateSize

type DynamicAdTemplateType

type DynamicAdTemplateType string

DynamicAdTemplateType : 动态商品模板类型

const (
	DynamicAdTemplateType_IMAGE_TEMPLATE DynamicAdTemplateType = "DYNAMIC_AD_IMAGE_TEMPLATE"
	DynamicAdTemplateType_VIDEO_TEMPLATE DynamicAdTemplateType = "DYNAMIC_AD_VIDEO_TEMPLATE"
)

List of DynamicAdTemplateType

type DynamicAdTemplatesGetListStruct

type DynamicAdTemplatesGetListStruct struct {
	DynamicAdTemplateId        int64                 `json:"dynamic_ad_template_id,omitempty"`
	DynamicAdTemplateName      string                `json:"dynamic_ad_template_name,omitempty"`
	DynamicAdTemplateType      DynamicAdTemplateType `json:"dynamic_ad_template_type,omitempty"`
	ProductItemDisplayQuantity ProductMode           `json:"product_item_display_quantity,omitempty"`
	DynamicAdTemplateWidth     int64                 `json:"dynamic_ad_template_width,omitempty"`
	DynamicAdTemplateHeight    int64                 `json:"dynamic_ad_template_height,omitempty"`
	ImageUrl                   string                `json:"image_url,omitempty"`
	VideoUrl                   string                `json:"video_url,omitempty"`
}

返回结构

type DynamicAdTemplatesGetResponse

type DynamicAdTemplatesGetResponse struct {
	Code      int64                              `json:"code,omitempty"`
	Message   string                             `json:"message,omitempty"`
	MessageCn string                             `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                  `json:"errors,omitempty"`
	Data      *DynamicAdTemplatesGetResponseData `json:"data,omitempty"`
}

type DynamicAdTemplatesGetResponseData

type DynamicAdTemplatesGetResponseData struct {
	List     *[]DynamicAdTemplatesGetListStruct `json:"list,omitempty"`
	PageInfo *PageInfo                          `json:"page_info,omitempty"`
}

type DynamicAdVideoAddRequest

type DynamicAdVideoAddRequest struct {
	AccountId           int64       `json:"account_id,omitempty"`
	ProductCatalogId    int64       `json:"product_catalog_id,omitempty"`
	ProductMode         ProductMode `json:"product_mode,omitempty"`
	ProductSource       string      `json:"product_source,omitempty"`
	VideoMaxDuration    int64       `json:"video_max_duration,omitempty"`
	DynamicAdTemplateId int64       `json:"dynamic_ad_template_id,omitempty"`
}

type DynamicAdVideoAddResponse

type DynamicAdVideoAddResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *DynamicAdVideoAddResponseData `json:"data,omitempty"`
}

type DynamicAdVideoAddResponseData

type DynamicAdVideoAddResponseData struct {
	VideoId              string `json:"video_id,omitempty"`
	VideoPreviewImageUrl string `json:"video_preview_image_url,omitempty"`
	VideoPreviewImageId  int64  `json:"video_preview_image_id,omitempty"`
}

type DynamicAdcreativeSpec

type DynamicAdcreativeSpec struct {
	ProductCatalogId int64       `json:"product_catalog_id,omitempty"`
	ProductMode      ProductMode `json:"product_mode,omitempty"`
	ProductSource    string      `json:"product_source,omitempty"`
}

动态商品广告属性

type DynamicCreativeElements

type DynamicCreativeElements struct {
	Image                      string                             `json:"image,omitempty"`
	Image2                     string                             `json:"image2,omitempty"`
	Image3                     string                             `json:"image3,omitempty"`
	Title                      string                             `json:"title,omitempty"`
	Description                string                             `json:"description,omitempty"`
	Corporate                  *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                      string                             `json:"video,omitempty"`
	ImageOptions               *[]string                          `json:"image_options,omitempty"`
	TitleOptions               *[]string                          `json:"title_options,omitempty"`
	DescriptionOptions         *[]string                          `json:"description_options,omitempty"`
	VideoOptions               *[]string                          `json:"video_options,omitempty"`
	DeepLinkType               string                             `json:"deep_link_type,omitempty"`
	LinkNameType               LinkNameType                       `json:"link_name_type,omitempty"`
	ImageList                  *[]string                          `json:"image_list,omitempty"`
	ElementStory               *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	Url                        string                             `json:"url,omitempty"`
	ButtonText                 string                             `json:"button_text,omitempty"`
	BottomText                 string                             `json:"bottom_text,omitempty"`
	MiniProgramId              string                             `json:"mini_program_id,omitempty"`
	MiniProgramPath            string                             `json:"mini_program_path,omitempty"`
	Label                      *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                *[]string                          `json:"product_tags,omitempty"`
	LogoDescription            string                             `json:"logo_description,omitempty"`
	LeftBottomTxt              string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect            string                             `json:"animation_effect,omitempty"`
	Phone                      string                             `json:"phone,omitempty"`
	ShortVideoStruct           *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	LongVideoStruct            *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent              *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                *AdcreativeCardContent             `json:"card_content,omitempty"`
	VideoPopupButton           *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	ButtonUrl                  string                             `json:"button_url,omitempty"`
	Brand                      *BrandStruct                       `json:"brand,omitempty"`
	Caption                    string                             `json:"caption,omitempty"`
	CountdownExpiringTimestamp int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

创意元素

type DynamicCreativeElementsRead

type DynamicCreativeElementsRead struct {
	Image                         string                             `json:"image,omitempty"`
	Image2                        string                             `json:"image2,omitempty"`
	Image3                        string                             `json:"image3,omitempty"`
	Title                         string                             `json:"title,omitempty"`
	Description                   string                             `json:"description,omitempty"`
	Corporate                     *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                         string                             `json:"video,omitempty"`
	ImageOptions                  *[]string                          `json:"image_options,omitempty"`
	TitleOptions                  *[]string                          `json:"title_options,omitempty"`
	DescriptionOptions            *[]string                          `json:"description_options,omitempty"`
	VideoOptions                  *[]string                          `json:"video_options,omitempty"`
	DeepLinkType                  string                             `json:"deep_link_type,omitempty"`
	LinkNameType                  LinkNameType                       `json:"link_name_type,omitempty"`
	ImageList                     *[]string                          `json:"image_list,omitempty"`
	ElementStory                  *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	MultiShareOptimizationEnabled bool                               `json:"multi_share_optimization_enabled,omitempty"`
	Url                           string                             `json:"url,omitempty"`
	ButtonText                    string                             `json:"button_text,omitempty"`
	BottomText                    string                             `json:"bottom_text,omitempty"`
	ActivityType                  string                             `json:"activity_type,omitempty"`
	MiniProgramId                 string                             `json:"mini_program_id,omitempty"`
	MiniProgramPath               string                             `json:"mini_program_path,omitempty"`
	Label                         *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                   *[]string                          `json:"product_tags,omitempty"`
	LogoDescription               string                             `json:"logo_description,omitempty"`
	LeftButton                    string                             `json:"left_button,omitempty"`
	RightButton                   string                             `json:"right_button,omitempty"`
	LeftBottomTxt                 string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect               string                             `json:"animation_effect,omitempty"`
	Phone                         string                             `json:"phone,omitempty"`
	Canvas                        string                             `json:"canvas,omitempty"`
	Caption                       string                             `json:"caption,omitempty"`
	MyappPageId                   string                             `json:"myapp_page_id,omitempty"`
	LogoPage                      *AdcreativeLogoPage                `json:"logo_page,omitempty"`
	VideoPopupUrl                 string                             `json:"video_popup_url,omitempty"`
	VideoPopupButton              *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	VideoPopupButtonText          string                             `json:"video_popup_button_text,omitempty"`
	VideoPopupButtonUrl           string                             `json:"video_popup_button_url,omitempty"`
	ButtonUrl                     string                             `json:"button_url,omitempty"`
	Brand                         *BrandStruct                       `json:"brand,omitempty"`
	MyappLandingPageInfo          *AdcreativeMyappLandingPageInfo    `json:"myapp_landing_page_info,omitempty"`
	LongVideo1                    string                             `json:"long_video1,omitempty"`
	LongVideo2                    string                             `json:"long_video2,omitempty"`
	ShortVideoStruct              *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	QzoneVideoPageId              string                             `json:"qzone_video_page_id,omitempty"`
	Qq                            string                             `json:"qq,omitempty"`
	LeftCanvas                    string                             `json:"left_canvas,omitempty"`
	RightCanvas                   string                             `json:"right_canvas,omitempty"`
	SunText                       string                             `json:"sun_text,omitempty"`
	CloudText                     string                             `json:"cloud_text,omitempty"`
	OvercastText                  string                             `json:"overcast_text,omitempty"`
	RainText                      string                             `json:"rain_text,omitempty"`
	SnowText                      string                             `json:"snow_text,omitempty"`
	FogText                       string                             `json:"fog_text,omitempty"`
	SandText                      string                             `json:"sand_text,omitempty"`
	HazeText                      string                             `json:"haze_text,omitempty"`
	LabelledImg                   *AdcreativeLabelledImg             `json:"labelled_img,omitempty"`
	ShareImg                      string                             `json:"share_img,omitempty"`
	LongVideoStruct               *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent                 *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                   *AdcreativeCardContent             `json:"card_content,omitempty"`
	CountdownExpiringTimestamp    int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

创意元素

type DynamicCreativesAddRequest

type DynamicCreativesAddRequest struct {
	DynamicCreativeName       string                   `json:"dynamic_creative_name,omitempty"`
	DynamicCreativeTemplateId int64                    `json:"dynamic_creative_template_id,omitempty"`
	DynamicCreativeElements   *DynamicCreativeElements `json:"dynamic_creative_elements,omitempty"`
	CampaignType              CampaignType             `json:"campaign_type,omitempty"`
	PromotedObjectType        PromotedObjectType       `json:"promoted_object_type,omitempty"`
	PageType                  DestinationType          `json:"page_type,omitempty"`
	AutomaticSiteEnabled      bool                     `json:"automatic_site_enabled,omitempty"`
	SiteSet                   *[]string                `json:"site_set,omitempty"`
	PromotedObjectId          string                   `json:"promoted_object_id,omitempty"`
	PageSpec                  *DynamicPageSpec         `json:"page_spec,omitempty"`
	DeepLinkUrl               string                   `json:"deep_link_url,omitempty"`
	ImpressionTrackingUrl     string                   `json:"impression_tracking_url,omitempty"`
	ClickTrackingUrl          string                   `json:"click_tracking_url,omitempty"`
	FeedsVideoCommentSwitch   bool                     `json:"feeds_video_comment_switch,omitempty"`
	UnionMarketSwitch         bool                     `json:"union_market_switch,omitempty"`
	AccountId                 int64                    `json:"account_id,omitempty"`
}

type DynamicCreativesAddResponse

type DynamicCreativesAddResponse struct {
	Code      int64                            `json:"code,omitempty"`
	Message   string                           `json:"message,omitempty"`
	MessageCn string                           `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                `json:"errors,omitempty"`
	Data      *DynamicCreativesAddResponseData `json:"data,omitempty"`
}

type DynamicCreativesAddResponseData

type DynamicCreativesAddResponseData struct {
	DynamicCreativeId int64 `json:"dynamic_creative_id,omitempty"`
}

type DynamicCreativesGetListStruct

type DynamicCreativesGetListStruct struct {
	DynamicCreativeId         int64                        `json:"dynamic_creative_id,omitempty"`
	OuterAdcreativeId         int64                        `json:"outer_adcreative_id,omitempty"`
	DynamicCreativeName       string                       `json:"dynamic_creative_name,omitempty"`
	DynamicCreativeTemplateId int64                        `json:"dynamic_creative_template_id,omitempty"`
	DynamicCreativeElements   *DynamicCreativeElementsRead `json:"dynamic_creative_elements,omitempty"`
	PageType                  PageTypeRead                 `json:"page_type,omitempty"`
	PageSpec                  *DynamicPageSpec             `json:"page_spec,omitempty"`
	DeepLinkUrl               string                       `json:"deep_link_url,omitempty"`
	AutomaticSiteEnabled      bool                         `json:"automatic_site_enabled,omitempty"`
	SiteSet                   *[]string                    `json:"site_set,omitempty"`
	PromotedObjectType        PromotedObjectType           `json:"promoted_object_type,omitempty"`
	PromotedObjectId          string                       `json:"promoted_object_id,omitempty"`
	CreatedTime               int64                        `json:"created_time,omitempty"`
	LastModifiedTime          int64                        `json:"last_modified_time,omitempty"`
	IsDeleted                 bool                         `json:"is_deleted,omitempty"`
	CampaignType              CampaignType                 `json:"campaign_type,omitempty"`
	ImpressionTrackingUrl     string                       `json:"impression_tracking_url,omitempty"`
	ClickTrackingUrl          string                       `json:"click_tracking_url,omitempty"`
	FeedsVideoCommentSwitch   bool                         `json:"feeds_video_comment_switch,omitempty"`
	UnionMarketSwitch         bool                         `json:"union_market_switch,omitempty"`
}

返回结构

type DynamicCreativesGetResponse

type DynamicCreativesGetResponse struct {
	Code      int64                            `json:"code,omitempty"`
	Message   string                           `json:"message,omitempty"`
	MessageCn string                           `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                `json:"errors,omitempty"`
	Data      *DynamicCreativesGetResponseData `json:"data,omitempty"`
}

type DynamicCreativesGetResponseData

type DynamicCreativesGetResponseData struct {
	List     *[]DynamicCreativesGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500                 `json:"page_info,omitempty"`
}

type DynamicCreativesUpdateRequest

type DynamicCreativesUpdateRequest struct {
	DynamicCreativeId         int64                    `json:"dynamic_creative_id,omitempty"`
	DynamicCreativeTemplateId int64                    `json:"dynamic_creative_template_id,omitempty"`
	DynamicCreativeElements   *DynamicCreativeElements `json:"dynamic_creative_elements,omitempty"`
	DeepLinkUrl               string                   `json:"deep_link_url,omitempty"`
	ImpressionTrackingUrl     string                   `json:"impression_tracking_url,omitempty"`
	ClickTrackingUrl          string                   `json:"click_tracking_url,omitempty"`
	FeedsVideoCommentSwitch   bool                     `json:"feeds_video_comment_switch,omitempty"`
	UnionMarketSwitch         bool                     `json:"union_market_switch,omitempty"`
	AccountId                 int64                    `json:"account_id,omitempty"`
}

type DynamicCreativesUpdateResponse

type DynamicCreativesUpdateResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *DynamicCreativesUpdateResponseData `json:"data,omitempty"`
}

type DynamicCreativesUpdateResponseData

type DynamicCreativesUpdateResponseData struct {
	DynamicCreativeId int64 `json:"dynamic_creative_id,omitempty"`
}

type DynamicPageSpec

type DynamicPageSpec struct {
	PageId  int64  `json:"page_id,omitempty"`
	PageUrl string `json:"page_url,omitempty"`
}

落地页信息

type EcInfo

type EcInfo struct {
	ProductPrice     int64 `json:"product_price,omitempty"`
	ProductMetaClass int64 `json:"product_meta_class,omitempty"`
}

电商标的物信息

type EcommerceOrderGetResponse

type EcommerceOrderGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *EcommerceOrderGetResponseData `json:"data,omitempty"`
}

type EcommerceOrderGetResponseData

type EcommerceOrderGetResponseData struct {
	List     *[]EcommerceOrderListStruct `json:"list,omitempty"`
	PageInfo *PageInfo                   `json:"page_info,omitempty"`
}

type EcommerceOrderListStruct

type EcommerceOrderListStruct struct {
	AccountId              int64                `json:"account_id,omitempty"`
	EcommerceOrderId       string               `json:"ecommerce_order_id,omitempty"`
	CustomizedPageName     string               `json:"customized_page_name,omitempty"`
	CommodityPackageDetail string               `json:"commodity_package_detail,omitempty"`
	Quantity               int64                `json:"quantity,omitempty"`
	Price                  int64                `json:"price,omitempty"`
	TotalPrice             int64                `json:"total_price,omitempty"`
	EcommerceOrderTime     string               `json:"ecommerce_order_time,omitempty"`
	EcommerceOrderStatus   EcommerceOrderStatus `json:"ecommerce_order_status,omitempty"`
	UserName               string               `json:"user_name,omitempty"`
	UserPhone              string               `json:"user_phone,omitempty"`
	UserProvince           string               `json:"user_province,omitempty"`
	UserCity               string               `json:"user_city,omitempty"`
	UserArea               string               `json:"user_area,omitempty"`
	UserAddress            string               `json:"user_address,omitempty"`
	UserIp                 string               `json:"user_ip,omitempty"`
	UserMessage            string               `json:"user_message,omitempty"`
	DestinationUrl         string               `json:"destination_url,omitempty"`
	AdgroupId              int64                `json:"adgroup_id,omitempty"`
	AdgroupName            string               `json:"adgroup_name,omitempty"`
	FromAccountId          int64                `json:"from_account_id,omitempty"`
	DeliverySpec           *OrderDeliverySpec   `json:"delivery_spec,omitempty"`
}

订单列表配置

type EcommerceOrderStatus

type EcommerceOrderStatus string

EcommerceOrderStatus : 订单状态

const (
	EcommerceOrderStatus_AWAITING_ORDER EcommerceOrderStatus = "AWAITING_ORDER"
	EcommerceOrderStatus_SHIPPING_SOON  EcommerceOrderStatus = "SHIPPING_SOON"
	EcommerceOrderStatus_SHIPPED        EcommerceOrderStatus = "SHIPPED"
	EcommerceOrderStatus_DELIVERED      EcommerceOrderStatus = "DELIVERED"
	EcommerceOrderStatus_RETURNED       EcommerceOrderStatus = "RETURNED"
)

List of EcommerceOrderStatus

type EcommerceOrderUpdateRequest

type EcommerceOrderUpdateRequest struct {
	AccountId              int64          `json:"account_id,omitempty"`
	EcommerceOrderId       string         `json:"ecommerce_order_id,omitempty"`
	DeliveryTrackingNumber string         `json:"delivery_tracking_number,omitempty"`
	ExpressCompany         ExpressCompany `json:"express_company,omitempty"`
}

type EcommerceOrderUpdateResponse

type EcommerceOrderUpdateResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type EcommerceType added in v1.3.0

type EcommerceType string

EcommerceType : 电商类型

const (
	EcommerceType_PRODUCT    EcommerceType = "ECOMMERCE_TYPE_PRODUCT"
	EcommerceType_SHOP       EcommerceType = "ECOMMERCE_TYPE_SHOP"
	EcommerceType_AGGREGATOR EcommerceType = "ECOMMERCE_TYPE_AGGREGATOR"
)

List of EcommerceType

type EffectivePlayRateStruct added in v1.3.0

type EffectivePlayRateStruct struct {
	Value              string         `json:"value,omitempty"`
	Score              string         `json:"score,omitempty"`
	RankOverall        string         `json:"rank_overall,omitempty"`
	RankFirstCategory  string         `json:"rank_first_category,omitempty"`
	RankSecondCategory string         `json:"rank_second_category,omitempty"`
	SelfTrends         *[]PointStruct `json:"self_trends,omitempty"`
	BenchmarkTrends    *[]PointStruct `json:"benchmark_trends,omitempty"`
}

视频有效播放率(is_video为true有效)

type ElementButtonRead

type ElementButtonRead struct {
	Title               string               `json:"title,omitempty"`
	Url                 string               `json:"url,omitempty"`
	AppIosSpec          *AppIosSpec          `json:"app_ios_spec,omitempty"`
	AppAndroidSpec      *AppAndroidSpec      `json:"app_android_spec,omitempty"`
	MiniProgramSpec     *MiniProgramSpec     `json:"mini_program_spec,omitempty"`
	MiniGameProgramSpec *MiniGameProgramSpec `json:"mini_game_program_spec,omitempty"`
	FengyeSpec          *FengyeSpec          `json:"fengye_spec,omitempty"`
	CardSpec            *CardSpec            `json:"card_spec,omitempty"`
	FollowSpec          *FollowSpec          `json:"follow_spec,omitempty"`
	ServiceSpec         *ServiceSpec         `json:"service_spec,omitempty"`
}

按钮组件元素

type ElementFloat

type ElementFloat struct {
	Title           string           `json:"title,omitempty"`
	Desc            string           `json:"desc,omitempty"`
	FloatButtonSpec *FloatButtonSpec `json:"float_button_spec,omitempty"`
	ImageIdList     string           `json:"image_id_list,omitempty"`
}

悬浮组件

type ElementForm

type ElementForm struct {
	Title string `json:"title,omitempty"`
}

表单组件元素

type ElementGoods

type ElementGoods struct {
	GoodsButtonSpec *GoodsButtonSpec `json:"goods_button_spec,omitempty"`
}

商品组件

type ElementImage

type ElementImage struct {
	ImageIdList *[]string `json:"image_id_list,omitempty"`
}

图片组件元素

type ElementShelf

type ElementShelf struct {
	ShelfSpec *[]ShelfSpecStruct `json:"shelf_spec,omitempty"`
}

图文复合组件

type ElementSwipe added in v1.4.1

type ElementSwipe struct {
	JumpUrl   string `json:"jump_url,omitempty"`
	SwipeText string `json:"swipe_text,omitempty"`
}

上划组件元素

type ElementText

type ElementText struct {
	Text string `json:"text,omitempty"`
}

文本组件元素

type ElementType

type ElementType string

ElementType : 创意元素类型

const (
	ElementType_TEXT      ElementType = "ELEMENT_TYPE_TEXT"
	ElementType_IMAGE     ElementType = "ELEMENT_TYPE_IMAGE"
	ElementType_VIDEO     ElementType = "ELEMENT_TYPE_VIDEO"
	ElementType_URL       ElementType = "ELEMENT_TYPE_URL"
	ElementType_ENUM      ElementType = "ELEMENT_TYPE_ENUM"
	ElementType_CANVAS    ElementType = "ELEMENT_TYPE_CANVAS"
	ElementType_STRUCT    ElementType = "ELEMENT_TYPE_STRUCT"
	ElementType_REFERENCE ElementType = "ELEMENT_TYPE_REFERENCE"
	ElementType_BOOLEAN   ElementType = "ELEMENT_TYPE_BOOLEAN"
	ElementType_PHONE     ElementType = "ELEMENT_TYPE_PHONE"
	ElementType_FORM      ElementType = "ELEMENT_TYPE_FORM"
	ElementType_CONSULT   ElementType = "ELEMENT_TYPE_CONSULT"
	ElementType_NUMBER    ElementType = "ELEMENT_TYPE_NUMBER"
)

List of ElementType

type ElementVideo

type ElementVideo struct {
	VideoId int64 `json:"video_id,omitempty"`
}

视频组件元素

type ElementWebview added in v1.4.1

type ElementWebview struct {
	Url string `json:"url,omitempty"`
}

webview组件元素

type EstimationAudienceSpec

type EstimationAudienceSpec struct {
	CombineSpec *CombineSpec `json:"combine_spec,omitempty"`
}

人群信息

type EstimationGetRequest

type EstimationGetRequest struct {
	CampaignSpec *CampaignTargeting              `json:"campaign_spec,omitempty"`
	SceneSpec    *EstimationSceneTargeting       `json:"scene_spec,omitempty"`
	AccountId    int64                           `json:"account_id,omitempty"`
	Adcreative   *[]CreativeStruct               `json:"adcreative,omitempty"`
	Targeting    *EstimationReadTargetingSetting `json:"targeting,omitempty"`
	Adgroup      *AdgroupSetting                 `json:"adgroup,omitempty"`
}

type EstimationGetResponse

type EstimationGetResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *EstimationGetResponseData `json:"data,omitempty"`
}

type EstimationGetResponseData

type EstimationGetResponseData struct {
	MaxActiveUserCount      int64           `json:"max_active_user_count,omitempty"`
	ApproximateCount        int64           `json:"approximate_count,omitempty"`
	Impression              int64           `json:"impression,omitempty"`
	MinBidAmount            int64           `json:"min_bid_amount,omitempty"`
	MaxBidAmount            int64           `json:"max_bid_amount,omitempty"`
	SuggestMinBidAmount     int64           `json:"suggest_min_bid_amount,omitempty"`
	SuggestMaxBidAmount     int64           `json:"suggest_max_bid_amount,omitempty"`
	SuggestBidContentOcpa   string          `json:"suggest_bid_content_ocpa,omitempty"`
	MinUsersDaily           int64           `json:"min_users_daily,omitempty"`
	MaxUsersDaily           int64           `json:"max_users_daily,omitempty"`
	MinExposureDaily        int64           `json:"min_exposure_daily,omitempty"`
	MaxExposureDaily        int64           `json:"max_exposure_daily,omitempty"`
	TargetingStatus         TargetingStatus `json:"targeting_status,omitempty"`
	SuggestTargeting        *[]string       `json:"suggest_targeting,omitempty"`
	IsRealExposureSupported bool            `json:"is_real_exposure_supported,omitempty"`
}

type EstimationReadTargetingSetting

type EstimationReadTargetingSetting struct {
	Age                              *[]AgeStruct                       `json:"age,omitempty"`
	Gender                           *[]string                          `json:"gender,omitempty"`
	Education                        *[]string                          `json:"education,omitempty"`
	MaritalStatus                    *[]string                          `json:"marital_status,omitempty"`
	WorkingStatus                    *[]string                          `json:"working_status,omitempty"`
	GeoLocation                      *GeoLocations                      `json:"geo_location,omitempty"`
	UserOs                           *[]string                          `json:"user_os,omitempty"`
	NewDevice                        *[]string                          `json:"new_device,omitempty"`
	DevicePrice                      *[]string                          `json:"device_price,omitempty"`
	NetworkType                      *[]string                          `json:"network_type,omitempty"`
	NetworkOperator                  *[]string                          `json:"network_operator,omitempty"`
	NetworkScene                     *[]string                          `json:"network_scene,omitempty"`
	DressingIndex                    *[]string                          `json:"dressing_index,omitempty"`
	UvIndex                          *[]string                          `json:"uv_index,omitempty"`
	MakeupIndex                      *[]string                          `json:"makeup_index,omitempty"`
	Climate                          *[]string                          `json:"climate,omitempty"`
	Temperature                      *[]TemperatureStruct               `json:"temperature,omitempty"`
	AppInstallStatus                 *[]string                          `json:"app_install_status,omitempty"`
	MiniGameQqStatus                 *[]string                          `json:"mini_game_qq_status,omitempty"`
	ConsumptionStatus                *[]string                          `json:"consumption_status,omitempty"`
	GameConsumptionLevel             *[]string                          `json:"game_consumption_level,omitempty"`
	PaidUser                         *[]string                          `json:"paid_user,omitempty"`
	ResidentialCommunityPrice        *[]ResidentialCommunityPriceStruct `json:"residential_community_price,omitempty"`
	WechatAdBehavior                 *LimitWechatAdBehavior             `json:"wechat_ad_behavior,omitempty"`
	CustomAudience                   *[]int64                           `json:"custom_audience,omitempty"`
	ExcludedCustomAudience           *[]int64                           `json:"excluded_custom_audience,omitempty"`
	DeprecatedCustomAudience         *[]int64                           `json:"deprecated_custom_audience,omitempty"`
	DeprecatedExcludedCustomAudience *[]int64                           `json:"deprecated_excluded_custom_audience,omitempty"`
	BehaviorOrInterest               *BehaviorOrInterest                `json:"behavior_or_interest,omitempty"`
	AirQualityIndex                  *[]string                          `json:"air_quality_index,omitempty"`
	WechatOfficialAccountCategory    *[]int64                           `json:"wechat_official_account_category,omitempty"`
	MobileUnionCategory              *[]int64                           `json:"mobile_union_category,omitempty"`
	FinancialSituation               *[]string                          `json:"financial_situation,omitempty"`
	ConsumptionType                  *[]string                          `json:"consumption_type,omitempty"`
}

定向详细设置

type EstimationSceneTargeting

type EstimationSceneTargeting struct {
	DisplayScene        *[]string `json:"display_scene,omitempty"`
	MobileUnion         *[]string `json:"mobile_union,omitempty"`
	ExcludeMobileUnion  *[]string `json:"exclude_mobile_union,omitempty"`
	MobileUnionIndustry *[]string `json:"mobile_union_industry,omitempty"`
}

场景定向

type ExcludeSimpleRule

type ExcludeSimpleRule []SimpleRule

排除的人群

type ExcludedConvertedAudience added in v1.3.0

type ExcludedConvertedAudience string

ExcludedConvertedAudience : 排除已转化用户定向范围<br/> 同应用,仅当推广目标为应用下载时可以使用,没有选择自定义转化行为(excluded_dimension)时 ,使用该定向出价需要满足是oCPC、oCPM广告;<br/> 同商品,仅当SDPA商品广告下使用,不支持自定义转化行为默认排除已下单、和已付费用户,不限制出价方式;<br/> 非同应用、非同商品,没有选择自定义转化行为(excluded_dimension)时 ,使用该定向出价需要满足是oCPC、oCPM广告;

const (
	ExcludedConvertedAudience_CAMPAIGN         ExcludedConvertedAudience = "EXCLUDED_DIMENSION_CAMPAIGN"
	ExcludedConvertedAudience_UID              ExcludedConvertedAudience = "EXCLUDED_DIMENSION_UID"
	ExcludedConvertedAudience_BUSINESS_MANAGER ExcludedConvertedAudience = "EXCLUDED_DIMENSION_BUSINESS_MANAGER"
	ExcludedConvertedAudience_COMPANY_ACCOUNT  ExcludedConvertedAudience = "EXCLUDED_DIMENSION_COMPANY_ACCOUNT"
	ExcludedConvertedAudience_APP              ExcludedConvertedAudience = "EXCLUDED_DIMENSION_APP"
	ExcludedConvertedAudience_PRODUCT          ExcludedConvertedAudience = "EXCLUDED_DIMENSION_PRODUCT"
)

List of ExcludedConvertedAudience

type ExcludedConvertedAudienceStruct added in v1.3.0

type ExcludedConvertedAudienceStruct struct {
	ExcludedDimension      ExcludedConvertedAudience `json:"excluded_dimension,omitempty"`
	ConversionBehaviorList *[]string                 `json:"conversion_behavior_list,omitempty"`
}

排除已转化用户定向

type ExposureCountFunnelStruct

type ExposureCountFunnelStruct struct {
	Value              float64 `json:"value,omitempty"`
	Score              int64   `json:"score,omitempty"`
	ScoreDesc          string  `json:"score_desc,omitempty"`
	RankCategory       int64   `json:"rank_category,omitempty"`
	RankSecondCategory int64   `json:"rank_second_category,omitempty"`
	RankOverall        int64   `json:"rank_overall,omitempty"`
}

曝光量分析

type ExposureDetailStruct

type ExposureDetailStruct struct {
	EffectData                 *ExposureEffectDataStruct                 `json:"effect_data,omitempty"`
	EffectDataTrends           *[]ExposureEffectDataTrendsItem           `json:"effect_data_trends,omitempty"`
	TargetingLabelContribution *ExposureTargetingLabelContributionStruct `json:"targeting_label_contribution,omitempty"`
}

诊断详情-曝光明细

type ExposureEffectDataStruct

type ExposureEffectDataStruct struct {
	Count       int64   `json:"count,omitempty"`
	CategoryWin float64 `json:"category_win,omitempty"`
	CategoryAvg float64 `json:"category_avg,omitempty"`
}

效果数据(曝光)

type ExposureEffectDataTrendsItem

type ExposureEffectDataTrendsItem struct {
	Date   string         `json:"date,omitempty"`
	Trends *[]PointStruct `json:"trends,omitempty"`
}

单日曝光趋势

type ExposureTargetingLabelContributionStruct

type ExposureTargetingLabelContributionStruct struct {
	Locard   *[]LabelContributionListItem `json:"locard,omitempty"`
	Audience *[]LabelContributionListItem `json:"audience,omitempty"`
}

定向标签(曝光)贡献度

type ExpressCompany

type ExpressCompany string

ExpressCompany : 快递公司

const (
	ExpressCompany_UNKNOWN            ExpressCompany = "UNKNOWN"
	ExpressCompany_SF_EXPRESS         ExpressCompany = "SF_EXPRESS"
	ExpressCompany_STO                ExpressCompany = "STO"
	ExpressCompany_YTO                ExpressCompany = "YTO"
	ExpressCompany_ZTO                ExpressCompany = "ZTO"
	ExpressCompany_BEST_EXPRESS       ExpressCompany = "BEST_EXPRESS"
	ExpressCompany_YUNDA_EXPRESS      ExpressCompany = "YUNDA_EXPRESS"
	ExpressCompany_TTK_EXPRESS        ExpressCompany = "TTK_EXPRESS"
	ExpressCompany_EMS                ExpressCompany = "EMS"
	ExpressCompany_CHINA_POST_EXPRESS ExpressCompany = "CHINA_POST_EXPRESS"
	ExpressCompany_JUST_IN_TIME       ExpressCompany = "JUST_IN_TIME"
	ExpressCompany_JD_EXPRESS         ExpressCompany = "JD_EXPRESS"
	ExpressCompany_DEPPON_EXPRESS     ExpressCompany = "DEPPON_EXPRESS"
)

List of ExpressCompany

type ExtractRuleType

type ExtractRuleType string

ExtractRuleType : 行为人群提取类型

const (
	ExtractRuleType_FILTER      ExtractRuleType = "FILTER"
	ExtractRuleType_AGGREGATION ExtractRuleType = "AGGREGATION"
)

List of ExtractRuleType

type FeatureDataSourceType

type FeatureDataSourceType string

FeatureDataSourceType : 数据源类型

const (
	FeatureDataSourceType_PROPERTY_DATA FeatureDataSourceType = "PROPERTY_DATA"
	FeatureDataSourceType_USER_ACTION   FeatureDataSourceType = "USER_ACTION"
	FeatureDataSourceType_CUSTOM_FILE   FeatureDataSourceType = "CUSTOM_FILE"
)

List of FeatureDataSourceType

type FeatureSpec

type FeatureSpec struct {
	DataSourceType          FeatureDataSourceType    `json:"data_source_type,omitempty"`
	PropertyDataFeatureSpec *PropertyDataFeatureSpec `json:"property_data_feature_spec,omitempty"`
	CustomFileFeatureSpec   *CustomFileFeatureSpec   `json:"custom_file_feature_spec,omitempty"`
}

特征规则

type FeatureValueDataType

type FeatureValueDataType string

FeatureValueDataType : 特征值数据类型

const (
	FeatureValueDataType_CATEGORICAL          FeatureValueDataType = "CATEGORICAL"
	FeatureValueDataType_DISCRETE_NUMERICAL   FeatureValueDataType = "DISCRETE_NUMERICAL"
	FeatureValueDataType_CONTINUOUS_NUMERICAL FeatureValueDataType = "CONTINUOUS_NUMERICAL"
)

List of FeatureValueDataType

type FengyeSpec

type FengyeSpec struct {
	Title    string `json:"title,omitempty"`
	FengyeId string `json:"fengye_id,omitempty"`
}

枫叶信息

type FieldType

type FieldType string

FieldType : 创意元素传参类型

const (
	FieldType_STRING        FieldType = "FIELD_TYPE_STRING"
	FieldType_ENUM          FieldType = "FIELD_TYPE_ENUM"
	FieldType_INTEGER       FieldType = "FIELD_TYPE_INTEGER"
	FieldType_STRUCT        FieldType = "FIELD_TYPE_STRUCT"
	FieldType_INTEGER_ARRAY FieldType = "FIELD_TYPE_INTEGER_ARRAY"
	FieldType_ENUM_ARRAY    FieldType = "FIELD_TYPE_ENUM_ARRAY"
	FieldType_STRING_ARRAY  FieldType = "FIELD_TYPE_STRING_ARRAY"
	FieldType_STRUCT_ARRAY  FieldType = "FIELD_TYPE_STRUCT_ARRAY"
	FieldType_BOOLEAN       FieldType = "FIELD_TYPE_BOOLEAN"
)

List of FieldType

type FileProcessStatus

type FileProcessStatus string

FileProcessStatus : 处理状态

const (
	FileProcessStatus_PENDING    FileProcessStatus = "PENDING"
	FileProcessStatus_PROCESSING FileProcessStatus = "PROCESSING"
	FileProcessStatus_SUCCESS    FileProcessStatus = "SUCCESS"
	FileProcessStatus_ERROR      FileProcessStatus = "ERROR"
)

List of FileProcessStatus

type FilteringStruct

type FilteringStruct struct {
	Field    string    `json:"field,omitempty"`
	Operator string    `json:"operator,omitempty"`
	Values   *[]string `json:"values,omitempty"`
}

过滤条件

type FloatButtonSpec

type FloatButtonSpec struct {
	LinkSpec            *LinkSpec            `json:"link_spec,omitempty"`
	AppDownloadSpec     *AppDownloadSpec     `json:"app_download_spec,omitempty"`
	MiniProgramSpec     *MiniProgramSpec     `json:"mini_program_spec,omitempty"`
	MiniGameProgramSpec *MiniGameProgramSpec `json:"mini_game_program_spec,omitempty"`
	FengyeSpec          *FengyeSpec          `json:"fengye_spec,omitempty"`
	CardSpec            *CardSpec            `json:"card_spec,omitempty"`
	FollowSpec          *FollowSpec          `json:"follow_spec,omitempty"`
	ServiceSpec         *ServiceSpec         `json:"service_spec,omitempty"`
}

悬浮组件按钮

type FloatingZone added in v1.3.0

type FloatingZone struct {
	FloatingZoneSwitch     bool   `json:"floating_zone_switch,omitempty"`
	FloatingZoneImageId    string `json:"floating_zone_image_id,omitempty"`
	FloatingZoneName       string `json:"floating_zone_name,omitempty"`
	FloatingZoneDesc       string `json:"floating_zone_desc,omitempty"`
	FloatingZoneButtonText string `json:"floating_zone_button_text,omitempty"`
}

浮层卡片创意内容

type FollowSpec

type FollowSpec struct {
	Title string `json:"title,omitempty"`
}

关注公众号信息

type FormConfigDetailData added in v1.3.0

type FormConfigDetailData struct {
	Title      string `json:"title,omitempty"`
	SubTitle   string `json:"sub_title,omitempty"`
	SubmitText string `json:"submit_text,omitempty"`
}

表单属性

type FormListItemData added in v1.3.0

type FormListItemData struct {
	ComponentName string `json:"component_name,omitempty"`
	ComponentId   string `json:"component_id,omitempty"`
	CreatedTime   string `json:"created_time,omitempty"`
}

表单列表每一项目

type FrequencySpec

type FrequencySpec struct {
	Comparator        Comparator `json:"comparator,omitempty"`
	FrequencyMinValue int64      `json:"frequency_min_value,omitempty"`
	FrequencyMaxValue int64      `json:"frequency_max_value,omitempty"`
}

频次定义

type FundStatementsDailyGetListStruct

type FundStatementsDailyGetListStruct struct {
	TradeType   TradeType      `json:"trade_type,omitempty"`
	Amount      int64          `json:"amount,omitempty"`
	Description string         `json:"description,omitempty"`
	FundType    AccountTypeMap `json:"fund_type,omitempty"`
	Time        int64          `json:"time,omitempty"`
}

返回结构

type FundStatementsDailyGetResponse

type FundStatementsDailyGetResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *FundStatementsDailyGetResponseData `json:"data,omitempty"`
}

type FundStatementsDailyGetResponseData

type FundStatementsDailyGetResponseData struct {
	List *[]FundStatementsDailyGetListStruct `json:"list,omitempty"`
}

type FundStatementsDetailedGetListStruct

type FundStatementsDetailedGetListStruct struct {
	Time           int64     `json:"time,omitempty"`
	ExternalBillNo string    `json:"external_bill_no,omitempty"`
	TradeType      TradeType `json:"trade_type,omitempty"`
	Amount         int64     `json:"amount,omitempty"`
	Description    string    `json:"description,omitempty"`
}

返回结构

type FundStatementsDetailedGetResponse

type FundStatementsDetailedGetResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *FundStatementsDetailedGetResponseData `json:"data,omitempty"`
}

type FundStatementsDetailedGetResponseData

type FundStatementsDetailedGetResponseData struct {
	List     *[]FundStatementsDetailedGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                                  `json:"page_info,omitempty"`
}

type FundStatus

type FundStatus string

FundStatus : 资金状态

const (
	FundStatus_NORMAL     FundStatus = "FUND_STATUS_NORMAL"
	FundStatus_NOT_ENOUGH FundStatus = "FUND_STATUS_NOT_ENOUGH"
	FundStatus_CLOSED     FundStatus = "FUND_STATUS_CLOSED"
	FundStatus_FROZEN     FundStatus = "FUND_STATUS_FROZEN"
	FundStatus_UNKNOWN    FundStatus = "FUND_STATUS_UNKNOWN"
)

List of FundStatus

type FundTransferAddRequest

type FundTransferAddRequest struct {
	Amount         int64          `json:"amount,omitempty"`
	TransferType   string         `json:"transfer_type,omitempty"`
	ExternalBillNo string         `json:"external_bill_no,omitempty"`
	Memo           string         `json:"memo,omitempty"`
	AccountId      int64          `json:"account_id,omitempty"`
	FundType       AccountTypeMap `json:"fund_type,omitempty"`
}

type FundTransferAddResponse

type FundTransferAddResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *FundTransferAddResponseData `json:"data,omitempty"`
}

type FundTransferAddResponseData

type FundTransferAddResponseData struct {
	Amount         int64          `json:"amount,omitempty"`
	ExternalBillNo string         `json:"external_bill_no,omitempty"`
	FundType       AccountTypeMap `json:"fund_type,omitempty"`
	Time           int64          `json:"time,omitempty"`
	IsRepeated     bool           `json:"is_repeated,omitempty"`
}

type FundsGetListStruct

type FundsGetListStruct struct {
	Balance      int64          `json:"balance,omitempty"`
	FundStatus   FundStatus     `json:"fund_status,omitempty"`
	RealtimeCost int64          `json:"realtime_cost,omitempty"`
	FundType     AccountTypeMap `json:"fund_type,omitempty"`
}

返回结构

type FundsGetResponse

type FundsGetResponse struct {
	Code      int64                 `json:"code,omitempty"`
	Message   string                `json:"message,omitempty"`
	MessageCn string                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct     `json:"errors,omitempty"`
	Data      *FundsGetResponseData `json:"data,omitempty"`
}

type FundsGetResponseData

type FundsGetResponseData struct {
	List *[]FundsGetListStruct `json:"list,omitempty"`
}

type GeoLocations

type GeoLocations struct {
	LocationTypes     *[]string              `json:"location_types,omitempty"`
	Regions           *[]int64               `json:"regions,omitempty"`
	BusinessDistricts *[]int64               `json:"business_districts,omitempty"`
	CustomLocations   *[]CustomLocationsItem `json:"custom_locations,omitempty"`
}

地理位置定向

type GoodsButtonSpec

type GoodsButtonSpec struct {
	Title string `json:"title,omitempty"`
}

商品按钮

type GrantBusinessPermission

type GrantBusinessPermission struct {
	GrantPermissionTypeList *[]string `json:"grant_permission_type_list,omitempty"`
}

授权给商务管家账号认领所有广告账号的权限信息

type GrantInfo

type GrantInfo struct {
	AudienceId int64                               `json:"audience_id,omitempty"`
	GrantType  AudienceGrantType                   `json:"grant_type,omitempty"`
	GrantSpec  *AudienceGrantRelationsGetGrantSpec `json:"grant_spec,omitempty"`
}

权限信息

type HeaderStruct

type HeaderStruct struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

单个header

type HistoryCpcSpec

type HistoryCpcSpec struct {
	Date      string `json:"date,omitempty"`
	ActualCpc int64  `json:"actual_cpc,omitempty"`
	TargetCpc int64  `json:"target_cpc,omitempty"`
}

type HourRange

type HourRange struct {
	BeginHour int64 `json:"begin_hour,omitempty"`
	EndHour   int64 `json:"end_hour,omitempty"`
}

查询的具体时段范围

type HourlyReportsGetListStruct

type HourlyReportsGetListStruct struct {
	AccountId                           int64   `json:"account_id,omitempty"`
	Hour                                int64   `json:"hour,omitempty"`
	ViewCount                           int64   `json:"view_count,omitempty"`
	DownloadCount                       int64   `json:"download_count,omitempty"`
	ActivatedCount                      int64   `json:"activated_count,omitempty"`
	ActivatedRate                       float64 `json:"activated_rate,omitempty"`
	ThousandDisplayPrice                int64   `json:"thousand_display_price,omitempty"`
	ValidClickCount                     int64   `json:"valid_click_count,omitempty"`
	Ctr                                 float64 `json:"ctr,omitempty"`
	Cpc                                 int64   `json:"cpc,omitempty"`
	Cost                                int64   `json:"cost,omitempty"`
	KeyPageViewCost                     int64   `json:"key_page_view_cost,omitempty"`
	CouponClickCount                    int64   `json:"coupon_click_count,omitempty"`
	CouponIssueCount                    int64   `json:"coupon_issue_count,omitempty"`
	CouponGetCount                      int64   `json:"coupon_get_count,omitempty"`
	PlatformPageViewCount               int64   `json:"platform_page_view_count,omitempty"`
	PlatformPageViewRate                float64 `json:"platform_page_view_rate,omitempty"`
	WebCommodityPageViewCount           int64   `json:"web_commodity_page_view_count,omitempty"`
	WebCommodityPageViewCost            int64   `json:"web_commodity_page_view_cost,omitempty"`
	WebRegisterCount                    int64   `json:"web_register_count,omitempty"`
	PageConsultCount                    int64   `json:"page_consult_count,omitempty"`
	PageConsultCost                     int64   `json:"page_consult_cost,omitempty"`
	PagePhoneCallDirectCount            int64   `json:"page_phone_call_direct_count,omitempty"`
	PagePhoneCallDirectCost             int64   `json:"page_phone_call_direct_cost,omitempty"`
	PagePhoneCallBackCount              int64   `json:"page_phone_call_back_count,omitempty"`
	PagePhoneCallBackCost               int64   `json:"page_phone_call_back_cost,omitempty"`
	OwnPageNavigationCount              int64   `json:"own_page_navigation_count,omitempty"`
	OwnPageNaviCost                     int64   `json:"own_page_navi_cost,omitempty"`
	PlatformPageNavigationCount         int64   `json:"platform_page_navigation_count,omitempty"`
	PlatformPageNavigationCost          int64   `json:"platform_page_navigation_cost,omitempty"`
	PlatformShopNavigationCount         int64   `json:"platform_shop_navigation_count,omitempty"`
	PlatformShopNavigationCost          int64   `json:"platform_shop_navigation_cost,omitempty"`
	WebApplicationCount                 int64   `json:"web_application_count,omitempty"`
	WebApplicationCost                  int64   `json:"web_application_cost,omitempty"`
	PageReservationCount                int64   `json:"page_reservation_count,omitempty"`
	PageReservationRate                 float64 `json:"page_reservation_rate,omitempty"`
	PageReservationCost                 int64   `json:"page_reservation_cost,omitempty"`
	AddToCartPrice                      int64   `json:"add_to_cart_price,omitempty"`
	OwnPageCouponGetCount               int64   `json:"own_page_coupon_get_count,omitempty"`
	OwnPageCouponGetCost                int64   `json:"own_page_coupon_get_cost,omitempty"`
	PlatformCouponGetCount              int64   `json:"platform_coupon_get_count,omitempty"`
	PlatformCouponGetCost               int64   `json:"platform_coupon_get_cost,omitempty"`
	WebOrderCount                       int64   `json:"web_order_count,omitempty"`
	WebOrderRate                        float64 `json:"web_order_rate,omitempty"`
	AppOrderRate                        float64 `json:"app_order_rate,omitempty"`
	WebOrderCost                        int64   `json:"web_order_cost,omitempty"`
	WebCheckoutAmount                   int64   `json:"web_checkout_amount,omitempty"`
	WebCheckoutCount                    int64   `json:"web_checkout_count,omitempty"`
	WebCheckoutCost                     int64   `json:"web_checkout_cost,omitempty"`
	OrderAmount                         int64   `json:"order_amount,omitempty"`
	OrderUnitPrice                      int64   `json:"order_unit_price,omitempty"`
	OrderRoi                            float64 `json:"order_roi,omitempty"`
	DeliverCount                        int64   `json:"deliver_count,omitempty"`
	DeliverCost                         int64   `json:"deliver_cost,omitempty"`
	SignInCount                         int64   `json:"sign_in_count,omitempty"`
	SignInCost                          int64   `json:"sign_in_cost,omitempty"`
	DownloadRate                        float64 `json:"download_rate,omitempty"`
	DownloadCost                        int64   `json:"download_cost,omitempty"`
	InstallCount                        int64   `json:"install_count,omitempty"`
	InstallCost                         int64   `json:"install_cost,omitempty"`
	ClickActivatedRate                  float64 `json:"click_activated_rate,omitempty"`
	ActivatedCost                       int64   `json:"activated_cost,omitempty"`
	RetentionCount                      int64   `json:"retention_count,omitempty"`
	RetentionRate                       float64 `json:"retention_rate,omitempty"`
	RetentionCost                       int64   `json:"retention_cost,omitempty"`
	KeyPageViewCount                    int64   `json:"key_page_view_count,omitempty"`
	AppCommodityPageViewCount           int64   `json:"app_commodity_page_view_count,omitempty"`
	AppCommodityPageViewRate            float64 `json:"app_commodity_page_view_rate,omitempty"`
	WebCommodityPageViewRate            float64 `json:"web_commodity_page_view_rate,omitempty"`
	AppCommodityPageViewCost            int64   `json:"app_commodity_page_view_cost,omitempty"`
	AppRegisterCount                    int64   `json:"app_register_count,omitempty"`
	AppRegisterCost                     int64   `json:"app_register_cost,omitempty"`
	WebRegisterCost                     int64   `json:"web_register_cost,omitempty"`
	AppApplicationCount                 int64   `json:"app_application_count,omitempty"`
	AppApplicationCost                  int64   `json:"app_application_cost,omitempty"`
	AppAddToCartCount                   int64   `json:"app_add_to_cart_count,omitempty"`
	AddToCartAmount                     int64   `json:"add_to_cart_amount,omitempty"`
	AppAddToCartCost                    int64   `json:"app_add_to_cart_cost,omitempty"`
	AppOrderCount                       int64   `json:"app_order_count,omitempty"`
	AppOrderCost                        int64   `json:"app_order_cost,omitempty"`
	AppCheckoutCount                    int64   `json:"app_checkout_count,omitempty"`
	AppCheckoutAmount                   int64   `json:"app_checkout_amount,omitempty"`
	AppCheckoutCost                     int64   `json:"app_checkout_cost,omitempty"`
	PlatformCouponClickCount            int64   `json:"platform_coupon_click_count,omitempty"`
	PlatformCouponGetRate               float64 `json:"platform_coupon_get_rate,omitempty"`
	FollowCount                         int64   `json:"follow_count,omitempty"`
	FollowCost                          int64   `json:"follow_cost,omitempty"`
	ForwardCount                        int64   `json:"forward_count,omitempty"`
	ForwardCost                         int64   `json:"forward_cost,omitempty"`
	ReadCount                           int64   `json:"read_count,omitempty"`
	ReadCost                            int64   `json:"read_cost,omitempty"`
	PraiseCount                         int64   `json:"praise_count,omitempty"`
	PraiseCost                          int64   `json:"praise_cost,omitempty"`
	CommentCount                        int64   `json:"comment_count,omitempty"`
	CommentCost                         int64   `json:"comment_cost,omitempty"`
	IntePhoneCount                      int64   `json:"inte_phone_count,omitempty"`
	PhoneCallCount                      int64   `json:"phone_call_count,omitempty"`
	ExternalFormReservationCount        int64   `json:"external_form_reservation_count,omitempty"`
	AppAdPayingUsers                    int64   `json:"app_ad_paying_users,omitempty"`
	AdPurValWeb                         int64   `json:"ad_pur_val_web,omitempty"`
	AdPurValApp                         int64   `json:"ad_pur_val_app,omitempty"`
	GameCreateRoleCount                 int64   `json:"game_create_role_count,omitempty"`
	GameAuthorizeCount                  int64   `json:"game_authorize_count,omitempty"`
	GameTutorialFinishCount             int64   `json:"game_tutorial_finish_count,omitempty"`
	EffectiveLeadsCount                 int64   `json:"effective_leads_count,omitempty"`
	EffectiveCost                       int64   `json:"effective_cost,omitempty"`
	EffectiveReserveCount               int64   `json:"effective_reserve_count,omitempty"`
	EffectiveConsultCount               int64   `json:"effective_consult_count,omitempty"`
	EffectivePhoneCount                 int64   `json:"effective_phone_count,omitempty"`
	PotentialReserveCount               int64   `json:"potential_reserve_count,omitempty"`
	PotentialConsultCount               int64   `json:"potential_consult_count,omitempty"`
	PotentialPhoneCount                 int64   `json:"potential_phone_count,omitempty"`
	AppCheckoutRate                     float64 `json:"app_checkout_rate,omitempty"`
	WebCheckoutRate                     float64 `json:"web_checkout_rate,omitempty"`
	AppActivatedCheckoutRate            float64 `json:"app_activated_checkout_rate,omitempty"`
	WebActivatedCheckoutRate            float64 `json:"web_activated_checkout_rate,omitempty"`
	AppRegisterRate                     float64 `json:"app_register_rate,omitempty"`
	WebRegRate                          float64 `json:"web_reg_rate,omitempty"`
	PagePhoneCallDirectRate             float64 `json:"page_phone_call_direct_rate,omitempty"`
	PagePhoneCallBackRate               float64 `json:"page_phone_call_back_rate,omitempty"`
	PageConsultRate                     float64 `json:"page_consult_rate,omitempty"`
	DeliverRate                         float64 `json:"deliver_rate,omitempty"`
	InstallRate                         float64 `json:"install_rate,omitempty"`
	ArppuCost                           int64   `json:"arppu_cost,omitempty"`
	ArpuCost                            int64   `json:"arpu_cost,omitempty"`
	WebArppuCost                        int64   `json:"web_arppu_cost,omitempty"`
	WebArpuCost                         int64   `json:"web_arpu_cost,omitempty"`
	AppAdPurArpuCost                    int64   `json:"app_ad_pur_arpu_cost,omitempty"`
	AppAdPurArppuCost                   int64   `json:"app_ad_pur_arppu_cost,omitempty"`
	WebAdPurArpuCost                    int64   `json:"web_ad_pur_arpu_cost,omitempty"`
	CheoutFd                            int64   `json:"cheout_fd,omitempty"`
	CheoutTd                            int64   `json:"cheout_td,omitempty"`
	CheoutOw                            int64   `json:"cheout_ow,omitempty"`
	CheoutTw                            int64   `json:"cheout_tw,omitempty"`
	CheoutOm                            int64   `json:"cheout_om,omitempty"`
	CheoutFdReward                      float64 `json:"cheout_fd_reward,omitempty"`
	CheoutTdReward                      float64 `json:"cheout_td_reward,omitempty"`
	CheoutOwReward                      float64 `json:"cheout_ow_reward,omitempty"`
	CheoutTwReward                      float64 `json:"cheout_tw_reward,omitempty"`
	CheoutOmReward                      float64 `json:"cheout_om_reward,omitempty"`
	CheoutTotalReward                   float64 `json:"cheout_total_reward,omitempty"`
	FromFollowUv                        int64   `json:"from_follow_uv,omitempty"`
	FromFollowCost                      int64   `json:"from_follow_cost,omitempty"`
	AddDesktopPv                        int64   `json:"add_desktop_pv,omitempty"`
	AddDesktopCost                      int64   `json:"add_desktop_cost,omitempty"`
	FirstPayCount                       int64   `json:"first_pay_count,omitempty"`
	FirstPayRate                        float64 `json:"first_pay_rate,omitempty"`
	PreCreWeb                           int64   `json:"pre_cre_web,omitempty"`
	PreCreApp                           int64   `json:"pre_cre_app,omitempty"`
	PreCreWebVal                        int64   `json:"pre_cre_web_val,omitempty"`
	PreCreAppVal                        int64   `json:"pre_cre_app_val,omitempty"`
	CreWeb                              int64   `json:"cre_web,omitempty"`
	CreApp                              int64   `json:"cre_app,omitempty"`
	CreWebVal                           int64   `json:"cre_web_val,omitempty"`
	CreAppVal                           int64   `json:"cre_app_val,omitempty"`
	WithdrDepWeb                        int64   `json:"withdr_dep_web,omitempty"`
	WithdrDepApp                        int64   `json:"withdr_dep_app,omitempty"`
	WithdrDepWebVal                     int64   `json:"withdr_dep_web_val,omitempty"`
	WithdrDepAppVal                     int64   `json:"withdr_dep_app_val,omitempty"`
	FirstPayCost                        int64   `json:"first_pay_cost,omitempty"`
	LandingPageClickCount               int64   `json:"landing_page_click_count,omitempty"`
	WebCartAmount                       int64   `json:"web_cart_amount,omitempty"`
	ScanFollowCount                     int64   `json:"scan_follow_count,omitempty"`
	ScanFollowUserCount                 int64   `json:"scan_follow_user_count,omitempty"`
	ScanFollowUserCost                  int64   `json:"scan_follow_user_cost,omitempty"`
	ScanFollowUserRate                  float64 `json:"scan_follow_user_rate,omitempty"`
	AppOrderAmount                      int64   `json:"app_order_amount,omitempty"`
	WebOrderAmount                      int64   `json:"web_order_amount,omitempty"`
	PhoneConsultCount                   int64   `json:"phone_consult_count,omitempty"`
	ToolConsultCount                    int64   `json:"tool_consult_count,omitempty"`
	LotteryLeadsCount                   int64   `json:"lottery_leads_count,omitempty"`
	LotteryLeadsCost                    int64   `json:"lottery_leads_cost,omitempty"`
	ConversionsCount                    int64   `json:"conversions_count,omitempty"`
	ConversionsRate                     float64 `json:"conversions_rate,omitempty"`
	ConversionsCost                     int64   `json:"conversions_cost,omitempty"`
	DeepConversionsCount                int64   `json:"deep_conversions_count,omitempty"`
	DeepConversionsRate                 float64 `json:"deep_conversions_rate,omitempty"`
	DeepConversionsCost                 int64   `json:"deep_conversions_cost,omitempty"`
	FirstMemcardWebCount                int64   `json:"first_memcard_web_count,omitempty"`
	FirstMemcardAppCount                int64   `json:"first_memcard_app_count,omitempty"`
	MemcardWebCount                     int64   `json:"memcard_web_count,omitempty"`
	MemcardAppCount                     int64   `json:"memcard_app_count,omitempty"`
	FirstMemcardWebRate                 float64 `json:"first_memcard_web_rate,omitempty"`
	FirstMemcardAppRate                 float64 `json:"first_memcard_app_rate,omitempty"`
	FirstMemcardWebCost                 int64   `json:"first_memcard_web_cost,omitempty"`
	FirstMemcardAppCost                 int64   `json:"first_memcard_app_cost,omitempty"`
	ValuableClickCount                  int64   `json:"valuable_click_count,omitempty"`
	ValuableClickRate                   float64 `json:"valuable_click_rate,omitempty"`
	ValuableClickCost                   int64   `json:"valuable_click_cost,omitempty"`
	VideoPlayCount                      int64   `json:"video_play_count,omitempty"`
	ClickImageCount                     int64   `json:"click_image_count,omitempty"`
	ClickDetailCount                    int64   `json:"click_detail_count,omitempty"`
	ClickHeadCount                      int64   `json:"click_head_count,omitempty"`
	ClickNickCount                      int64   `json:"click_nick_count,omitempty"`
	ClickPoiCount                       int64   `json:"click_poi_count,omitempty"`
	VideoInnerPlayCount                 int64   `json:"video_inner_play_count,omitempty"`
	LanButtonClickCount                 int64   `json:"lan_button_click_count,omitempty"`
	LanJumpButtonClickers               int64   `json:"lan_jump_button_clickers,omitempty"`
	LanJumpButtonClickCost              int64   `json:"lan_jump_button_click_cost,omitempty"`
	LanJumpButtonCtr                    float64 `json:"lan_jump_button_ctr,omitempty"`
	LanButtonClickCost                  int64   `json:"lan_button_click_cost,omitempty"`
	CpnClickButtonCount                 int64   `json:"cpn_click_button_count,omitempty"`
	CpnClickButtonUv                    int64   `json:"cpn_click_button_uv,omitempty"`
	KeyPageUv                           int64   `json:"key_page_uv,omitempty"`
	SpecialPageExpUv                    int64   `json:"special_page_exp_uv,omitempty"`
	SpecialPageExpCost                  int64   `json:"special_page_exp_cost,omitempty"`
	ViewCommodityPageUv                 int64   `json:"view_commodity_page_uv,omitempty"`
	EffectLeadsPurchaseCount            int64   `json:"effect_leads_purchase_count,omitempty"`
	ReservationUv                       int64   `json:"reservation_uv,omitempty"`
	OverallLeadsPurchaseCount           int64   `json:"overall_leads_purchase_count,omitempty"`
	LeadsPurchaseCount                  int64   `json:"leads_purchase_count,omitempty"`
	LeadsPurchaseRate                   float64 `json:"leads_purchase_rate,omitempty"`
	LeadsPurchaseCost                   int64   `json:"leads_purchase_cost,omitempty"`
	LeadsPurchaseUv                     int64   `json:"leads_purchase_uv,omitempty"`
	ValidLeadsUv                        int64   `json:"valid_leads_uv,omitempty"`
	PhoneCallUv                         int64   `json:"phone_call_uv,omitempty"`
	ValidPhoneUv                        int64   `json:"valid_phone_uv,omitempty"`
	PotentialCustomerPhoneUv            int64   `json:"potential_customer_phone_uv,omitempty"`
	WebRegisterUv                       int64   `json:"web_register_uv,omitempty"`
	WebApplyUv                          int64   `json:"web_apply_uv,omitempty"`
	WebCreditUv                         int64   `json:"web_credit_uv,omitempty"`
	AppApplyUv                          int64   `json:"app_apply_uv,omitempty"`
	AppPreCreditUv                      int64   `json:"app_pre_credit_uv,omitempty"`
	AppCreditUv                         int64   `json:"app_credit_uv,omitempty"`
	AppWithdrawUv                       int64   `json:"app_withdraw_uv,omitempty"`
	WechatAppRegisterUv                 int64   `json:"wechat_app_register_uv,omitempty"`
	NoInterestCount                     int64   `json:"no_interest_count,omitempty"`
	FirstDayOrderCount                  int64   `json:"first_day_order_count,omitempty"`
	FirstDayOrderAmount                 int64   `json:"first_day_order_amount,omitempty"`
	AddWishlistCount                    int64   `json:"add_wishlist_count,omitempty"`
	VideoOuterPlay10Count               int64   `json:"video_outer_play10_count,omitempty"`
	VideoOuterPlay25Count               int64   `json:"video_outer_play25_count,omitempty"`
	VideoOuterPlay50Count               int64   `json:"video_outer_play50_count,omitempty"`
	VideoOuterPlay75Count               int64   `json:"video_outer_play75_count,omitempty"`
	VideoOuterPlay95Count               int64   `json:"video_outer_play95_count,omitempty"`
	VideoOuterPlay100Count              int64   `json:"video_outer_play100_count,omitempty"`
	VideoOuterPlayTimeCount             float64 `json:"video_outer_play_time_count,omitempty"`
	VideoOuterPlayTimeAvgRate           float64 `json:"video_outer_play_time_avg_rate,omitempty"`
	VideoOuterPlayRate                  float64 `json:"video_outer_play_rate,omitempty"`
	VideoOuterPlayCost                  int64   `json:"video_outer_play_cost,omitempty"`
	VideoOuterPlayCount                 int64   `json:"video_outer_play_count,omitempty"`
	VideoOuterPlay3sCount               int64   `json:"video_outer_play3s_count,omitempty"`
	VideoOuterPlay5sCount               int64   `json:"video_outer_play5s_count,omitempty"`
	VideoOuterPlay7sCount               int64   `json:"video_outer_play7s_count,omitempty"`
	EffectLeadsPurchaseCost             int64   `json:"effect_leads_purchase_cost,omitempty"`
	CreWebCost                          int64   `json:"cre_web_cost,omitempty"`
	CreAppCost                          int64   `json:"cre_app_cost,omitempty"`
	PreCreWebCost                       int64   `json:"pre_cre_web_cost,omitempty"`
	PreCreAppCost                       int64   `json:"pre_cre_app_cost,omitempty"`
	RequestConversionsCount             int64   `json:"request_conversions_count,omitempty"`
	RequestConversionsCost              int64   `json:"request_conversions_cost,omitempty"`
	IncomeRoi1                          float64 `json:"income_roi_1,omitempty"`
	IncomeRoi3                          float64 `json:"income_roi_3,omitempty"`
	IncomeRoi7                          float64 `json:"income_roi_7,omitempty"`
	IncomeRoi14                         float64 `json:"income_roi_14,omitempty"`
	ActivatedTotalPaymentCost           int64   `json:"activated_total_payment_cost,omitempty"`
	PaymentAmountActivatedD3            int64   `json:"payment_amount_activated_d3,omitempty"`
	PaymentAmountActivatedD7            int64   `json:"payment_amount_activated_d7,omitempty"`
	PaymentAmountActivatedD14           int64   `json:"payment_amount_activated_d14,omitempty"`
	PaymentAmountActivatedD30           int64   `json:"payment_amount_activated_d30,omitempty"`
	FirstDayPayCount                    int64   `json:"first_day_pay_count,omitempty"`
	FirstDayPayCost                     int64   `json:"first_day_pay_cost,omitempty"`
	FirstDayFirstPayCost                int64   `json:"first_day_first_pay_cost,omitempty"`
	FirstDayFirstPayCount               int64   `json:"first_day_first_pay_count,omitempty"`
	PaymentCostActivatedD1              int64   `json:"payment_cost_activated_d1,omitempty"`
	FirstDayPayAmount                   int64   `json:"first_day_pay_amount,omitempty"`
	RoiActivatedD1                      float64 `json:"roi_activated_d1,omitempty"`
	RoiActivatedD3                      float64 `json:"roi_activated_d3,omitempty"`
	RoiActivatedD7                      float64 `json:"roi_activated_d7,omitempty"`
	RoiActivatedD14                     float64 `json:"roi_activated_d14,omitempty"`
	RoiActivatedD30                     float64 `json:"roi_activated_d30,omitempty"`
	FirstDayFirstPayRate                float64 `json:"first_day_first_pay_rate,omitempty"`
	CampaignId                          int64   `json:"campaign_id,omitempty"`
	CampaignName                        string  `json:"campaign_name,omitempty"`
	WebAddToCartCount                   int64   `json:"web_add_to_cart_count,omitempty"`
	WebAddToCartCost                    int64   `json:"web_add_to_cart_cost,omitempty"`
	AdgroupId                           int64   `json:"adgroup_id,omitempty"`
	AdgroupName                         string  `json:"adgroup_name,omitempty"`
	AdId                                int64   `json:"ad_id,omitempty"`
	AdName                              string  `json:"ad_name,omitempty"`
	PromotedObjectType                  string  `json:"promoted_object_type,omitempty"`
	PromotedObjectId                    string  `json:"promoted_object_id,omitempty"`
	WechatAccountId                     string  `json:"wechat_account_id,omitempty"`
	WechatAgencyId                      string  `json:"wechat_agency_id,omitempty"`
	CostDeviationRate                   float64 `json:"cost_deviation_rate,omitempty"`
	CompensationAmount                  int64   `json:"compensation_amount,omitempty"`
	ViewUserCount                       int64   `json:"view_user_count,omitempty"`
	AvgViewPerUser                      float64 `json:"avg_view_per_user,omitempty"`
	ClickUserCount                      int64   `json:"click_user_count,omitempty"`
	ImageClickUserCount                 int64   `json:"image_click_user_count,omitempty"`
	VideoClickUserCount                 int64   `json:"video_click_user_count,omitempty"`
	LinkClickUserCount                  int64   `json:"link_click_user_count,omitempty"`
	PortraitClickUserCount              int64   `json:"portrait_click_user_count,omitempty"`
	NicknameClickUserCount              int64   `json:"nickname_click_user_count,omitempty"`
	PoiClickUserCount                   int64   `json:"poi_click_user_count,omitempty"`
	PlatformKeyPageViewUserCount        int64   `json:"platform_key_page_view_user_count,omitempty"`
	PlatformKeyPageAvgViewPerUser       float64 `json:"platform_key_page_avg_view_per_user,omitempty"`
	PlatformKeyPageViewDuration         float64 `json:"platform_key_page_view_duration,omitempty"`
	CpnClickButtonCost                  int64   `json:"cpn_click_button_cost,omitempty"`
	PraiseUserCount                     int64   `json:"praise_user_count,omitempty"`
	CommentUserCount                    int64   `json:"comment_user_count,omitempty"`
	OrderCount                          int64   `json:"order_count,omitempty"`
	OrderRate                           float64 `json:"order_rate,omitempty"`
	QuestReservationPvCost              int64   `json:"quest_reservation_pv_cost,omitempty"`
	LeadsRate                           float64 `json:"leads_rate,omitempty"`
	LeadsUserCount                      int64   `json:"leads_user_count,omitempty"`
	LeadsCost                           int64   `json:"leads_cost,omitempty"`
	LeadsUserRate                       float64 `json:"leads_user_rate,omitempty"`
	ValidLeadsCost                      int64   `json:"valid_leads_cost,omitempty"`
	ValidLeadsRate                      float64 `json:"valid_leads_rate,omitempty"`
	PageConsultUserCount                int64   `json:"page_consult_user_count,omitempty"`
	ValidPageConsultUserCount           int64   `json:"valid_page_consult_user_count,omitempty"`
	WithdrDepWebUserCount               int64   `json:"withdr_dep_web_user_count,omitempty"`
	WechatMinigameRegisterCost          int64   `json:"wechat_minigame_register_cost,omitempty"`
	WechatMinigameRegisterRate          float64 `json:"wechat_minigame_register_rate,omitempty"`
	WechatMinigameArpu                  float64 `json:"wechat_minigame_arpu,omitempty"`
	WechatMinigameRetentionCount        int64   `json:"wechat_minigame_retention_count,omitempty"`
	WechatMinigameCheckoutCount         int64   `json:"wechat_minigame_checkout_count,omitempty"`
	WechatMinigameCheckoutAmount        int64   `json:"wechat_minigame_checkout_amount,omitempty"`
	OfficialAccountFollowCount          int64   `json:"official_account_follow_count,omitempty"`
	OfficialAccountFollowCost           int64   `json:"official_account_follow_cost,omitempty"`
	OfficialAccountFollowRate           float64 `json:"official_account_follow_rate,omitempty"`
	OfficialAccountRegisterUserCount    int64   `json:"official_account_register_user_count,omitempty"`
	OfficialAccountRegisterRate         float64 `json:"official_account_register_rate,omitempty"`
	OfficialAccountRegisterCost         int64   `json:"official_account_register_cost,omitempty"`
	OfficialAccountRegisterAmount       int64   `json:"official_account_register_amount,omitempty"`
	OfficialAccountRegisterRoi          int64   `json:"official_account_register_roi,omitempty"`
	OfficialAccountApplyCount           int64   `json:"official_account_apply_count,omitempty"`
	OfficialAccountApplyUserCount       int64   `json:"official_account_apply_user_count,omitempty"`
	OfficialAccountApplyRate            float64 `json:"official_account_apply_rate,omitempty"`
	OfficialAccountApplyCost            int64   `json:"official_account_apply_cost,omitempty"`
	OfficialAccountApplyAmount          int64   `json:"official_account_apply_amount,omitempty"`
	OfficialAccountApplyRoi             int64   `json:"official_account_apply_roi,omitempty"`
	OfficialAccountOrderCount           int64   `json:"official_account_order_count,omitempty"`
	OfficialAccountFirstDayOrderCount   int64   `json:"official_account_first_day_order_count,omitempty"`
	OfficialAccountOrderUserCount       int64   `json:"official_account_order_user_count,omitempty"`
	OfficialAccountOrderRate            float64 `json:"official_account_order_rate,omitempty"`
	OfficialAccountOrderCost            int64   `json:"official_account_order_cost,omitempty"`
	OfficialAccountOrderAmount          int64   `json:"official_account_order_amount,omitempty"`
	OfficialAccountFirstDayOrderAmount  int64   `json:"official_account_first_day_order_amount,omitempty"`
	OfficialAccountOrderRoi             int64   `json:"official_account_order_roi,omitempty"`
	OfficialAccountConsultCount         int64   `json:"official_account_consult_count,omitempty"`
	OfficialAccountReaderCount          int64   `json:"official_account_reader_count,omitempty"`
	OfficialAccountCreditApplyUserCount int64   `json:"official_account_credit_apply_user_count,omitempty"`
	OfficialAccountCreditUserCount      int64   `json:"official_account_credit_user_count,omitempty"`
	CouponGetCost                       int64   `json:"coupon_get_cost,omitempty"`
	CouponGetRate                       float64 `json:"coupon_get_rate,omitempty"`
	CouponUseCount                      int64   `json:"coupon_use_count,omitempty"`
	ForwardUserCount                    int64   `json:"forward_user_count,omitempty"`
	VideoOuterPlayUserCount             int64   `json:"video_outer_play_user_count,omitempty"`
	VideoInnerPlayUserCount             int64   `json:"video_inner_play_user_count,omitempty"`
	PoiId                               string  `json:"poi_id,omitempty"`
}

返回结构

type HourlyReportsGetResponse

type HourlyReportsGetResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *HourlyReportsGetResponseData `json:"data,omitempty"`
}

type HourlyReportsGetResponseData

type HourlyReportsGetResponseData struct {
	List     *[]HourlyReportsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                         `json:"page_info,omitempty"`
}

type ImageOperationType

type ImageOperationType string

ImageOperationType : 操作类型

const (
	ImageOperationType_CROP_CUSTOMIZED            ImageOperationType = "OPERATION_TYPE_CROP_CUSTOMIZED"
	ImageOperationType_CROP_SMART                 ImageOperationType = "OPERATION_TYPE_CROP_SMART"
	ImageOperationType_RESIZE                     ImageOperationType = "OPERATION_TYPE_RESIZE"
	ImageOperationType_CROP_CUSTOMIZED_AND_RESIZE ImageOperationType = "OPERATION_TYPE_CROP_CUSTOMIZED_AND_RESIZE"
)

List of ImageOperationType

type ImageProcessingAddRequest

type ImageProcessingAddRequest struct {
	AccountId     int64              `json:"account_id,omitempty"`
	ImageId       string             `json:"image_id,omitempty"`
	OperationType ImageOperationType `json:"operation_type,omitempty"`
	OperationSpec *CropOperationSpec `json:"operation_spec,omitempty"`
	FileSizeMax   int64              `json:"file_size_max,omitempty"`
}

type ImageProcessingAddResponse

type ImageProcessingAddResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *ImageProcessingAddResponseData `json:"data,omitempty"`
}

type ImageProcessingAddResponseData

type ImageProcessingAddResponseData struct {
	ImageId string `json:"image_id,omitempty"`
}

type ImageRestriction

type ImageRestriction struct {
	Width      int64     `json:"width,omitempty"`
	Height     int64     `json:"height,omitempty"`
	FileSize   int64     `json:"file_size,omitempty"`
	FileFormat *[]string `json:"file_format,omitempty"`
}

图片需满足的限制条件,仅当element_type是ELEMENT_TYPE_IMAGE_ARRAY或ELEMENT_TYPE_IMAGE时返回

type ImageSourceType

type ImageSourceType string

ImageSourceType : 图片来源

const (
	ImageSourceType_UNSUPPORTED     ImageSourceType = "SOURCE_TYPE_UNSUPPORTED"
	ImageSourceType_LOCAL           ImageSourceType = "SOURCE_TYPE_LOCAL"
	ImageSourceType_MUSE            ImageSourceType = "SOURCE_TYPE_MUSE"
	ImageSourceType_API             ImageSourceType = "SOURCE_TYPE_API"
	ImageSourceType_QUICK_DRAW      ImageSourceType = "SOURCE_TYPE_QUICK_DRAW"
	ImageSourceType_VIDEO_SNAPSHOTS ImageSourceType = "SOURCE_TYPE_VIDEO_SNAPSHOTS"
	ImageSourceType_TCC             ImageSourceType = "SOURCE_TYPE_TCC"
)

List of ImageSourceType

type ImageType

type ImageType string

ImageType : 图片类型

const (
	ImageType_IMAGE_TYPE_GIF           ImageType = "IMAGE_TYPE_GIF"
	ImageType_IMAGE_TYPE_JPG           ImageType = "IMAGE_TYPE_JPG"
	ImageType_IMAGE_TYPE_PNG           ImageType = "IMAGE_TYPE_PNG"
	ImageType_IMAGE_TYPE_SWF           ImageType = "IMAGE_TYPE_SWF"
	ImageType_IMAGE_TYPE_PSD           ImageType = "IMAGE_TYPE_PSD"
	ImageType_IMAGE_TYPE_BMP           ImageType = "IMAGE_TYPE_BMP"
	ImageType_IMAGE_TYPE_TIFF_INTEL    ImageType = "IMAGE_TYPE_TIFF_INTEL"
	ImageType_IMAGE_TYPE_TIFF_MOTOROLA ImageType = "IMAGE_TYPE_TIFF_MOTOROLA"
	ImageType_IMAGE_TYPE_JPC           ImageType = "IMAGE_TYPE_JPC"
	ImageType_IMAGE_TYPE_JP2           ImageType = "IMAGE_TYPE_JP2"
	ImageType_IMAGE_TYPE_JPX           ImageType = "IMAGE_TYPE_JPX"
	ImageType_IMAGE_TYPE_JB2           ImageType = "IMAGE_TYPE_JB2"
	ImageType_IMAGE_TYPE_SWC           ImageType = "IMAGE_TYPE_SWC"
	ImageType_IMAGE_TYPE_IFF           ImageType = "IMAGE_TYPE_IFF"
	ImageType_IMAGE_TYPE_WBMP          ImageType = "IMAGE_TYPE_WBMP"
	ImageType_IMAGE_TYPE_XBM           ImageType = "IMAGE_TYPE_XBM"
	ImageType_IMAGE_TYPE_WEBP          ImageType = "IMAGE_TYPE_WEBP"
	ImageType_IMAGE_TYPE_FLV           ImageType = "IMAGE_TYPE_FLV"
	ImageType_IMAGE_TYPE_WAV           ImageType = "IMAGE_TYPE_WAV"
	ImageType_IMAGE_TYPE_MP3           ImageType = "IMAGE_TYPE_MP3"
	ImageType_IMAGE_TYPE_MP4           ImageType = "IMAGE_TYPE_MP4"
	ImageType_IMAGE_TYPE_AVI           ImageType = "IMAGE_TYPE_AVI"
	ImageType_IMAGE_TYPE_MOV           ImageType = "IMAGE_TYPE_MOV"
	ImageType_TYPE_GIF                 ImageType = "TYPE_GIF"
	ImageType_TYPE_JPG                 ImageType = "TYPE_JPG"
	ImageType_TYPE_PNG                 ImageType = "TYPE_PNG"
	ImageType_TYPE_SWF                 ImageType = "TYPE_SWF"
	ImageType_TYPE_PSD                 ImageType = "TYPE_PSD"
	ImageType_TYPE_BMP                 ImageType = "TYPE_BMP"
	ImageType_TYPE_TIFF_INTEL          ImageType = "TYPE_TIFF_INTEL"
	ImageType_TYPE_TIFF_MOTOROLA       ImageType = "TYPE_TIFF_MOTOROLA"
	ImageType_TYPE_JPC                 ImageType = "TYPE_JPC"
	ImageType_TYPE_JP2                 ImageType = "TYPE_JP2"
	ImageType_TYPE_JPX                 ImageType = "TYPE_JPX"
	ImageType_TYPE_JB2                 ImageType = "TYPE_JB2"
	ImageType_TYPE_SWC                 ImageType = "TYPE_SWC"
	ImageType_TYPE_IFF                 ImageType = "TYPE_IFF"
	ImageType_TYPE_WBMP                ImageType = "TYPE_WBMP"
	ImageType_TYPE_XBM                 ImageType = "TYPE_XBM"
	ImageType_TYPE_WEBP                ImageType = "TYPE_WEBP"
	ImageType_TYPE_FLV                 ImageType = "TYPE_FLV"
	ImageType_TYPE_WAV                 ImageType = "TYPE_WAV"
	ImageType_TYPE_MP3                 ImageType = "TYPE_MP3"
	ImageType_TYPE_MP4                 ImageType = "TYPE_MP4"
	ImageType_TYPE_AVI                 ImageType = "TYPE_AVI"
	ImageType_TYPE_MOV                 ImageType = "TYPE_MOV"
)

List of ImageType

type ImageUploadType

type ImageUploadType string

ImageUploadType : 上传方式

const (
	ImageUploadType_FILE  ImageUploadType = "UPLOAD_TYPE_FILE"
	ImageUploadType_BYTES ImageUploadType = "UPLOAD_TYPE_BYTES"
)

List of ImageUploadType

type ImagesAddResponse

type ImagesAddResponse struct {
	Code      int64                  `json:"code,omitempty"`
	Message   string                 `json:"message,omitempty"`
	MessageCn string                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct      `json:"errors,omitempty"`
	Data      *ImagesAddResponseData `json:"data,omitempty"`
}

type ImagesAddResponseData

type ImagesAddResponseData struct {
	ImageId     string    `json:"image_id,omitempty"`
	PreviewUrl  string    `json:"preview_url,omitempty"`
	Description string    `json:"description,omitempty"`
	Width       int64     `json:"width,omitempty"`
	Height      int64     `json:"height,omitempty"`
	FileSize    int64     `json:"file_size,omitempty"`
	Type_       ImageType `json:"type,omitempty"`
	Signature   string    `json:"signature,omitempty"`
}

type ImagesGetListStruct

type ImagesGetListStruct struct {
	ImageId           string          `json:"image_id,omitempty"`
	Description       string          `json:"description,omitempty"`
	SourceSignature   string          `json:"source_signature,omitempty"`
	PreviewUrl        string          `json:"preview_url,omitempty"`
	SourceType        ImageSourceType `json:"source_type,omitempty"`
	CreatedTime       int64           `json:"created_time,omitempty"`
	LastModifiedTime  int64           `json:"last_modified_time,omitempty"`
	ProductCatalogId  int64           `json:"product_catalog_id,omitempty"`
	ProductOuterId    string          `json:"product_outer_id,omitempty"`
	SourceReferenceId string          `json:"source_reference_id,omitempty"`
	OwnerAccountId    string          `json:"owner_account_id,omitempty"`
	Width             int64           `json:"width,omitempty"`
	Height            int64           `json:"height,omitempty"`
	FileSize          int64           `json:"file_size,omitempty"`
	Type_             ImageType       `json:"type,omitempty"`
	Signature         string          `json:"signature,omitempty"`
}

返回结构

type ImagesGetResponse

type ImagesGetResponse struct {
	Code      int64                  `json:"code,omitempty"`
	Message   string                 `json:"message,omitempty"`
	MessageCn string                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct      `json:"errors,omitempty"`
	Data      *ImagesGetResponseData `json:"data,omitempty"`
}

type ImagesGetResponseData

type ImagesGetResponseData struct {
	List     *[]ImagesGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500       `json:"page_info,omitempty"`
}

type ImagesUpdateRequest added in v1.3.0

type ImagesUpdateRequest struct {
	ImageId     string  `json:"image_id,omitempty"`
	Description *string `json:"description,omitempty"`
	AccountId   int64   `json:"account_id,omitempty"`
}

type ImagesUpdateResponse added in v1.3.0

type ImagesUpdateResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *ImagesUpdateResponseData `json:"data,omitempty"`
}

type ImagesUpdateResponseData added in v1.3.0

type ImagesUpdateResponseData struct {
	ImageId string `json:"image_id,omitempty"`
}

type IncludeSimpleRule

type IncludeSimpleRule []SimpleRule

包含的人群

type IndividualQualification

type IndividualQualification struct {
	IdentificationUrl          string `json:"identification_url,omitempty"`
	IdentificationUrl2         string `json:"identification_url2,omitempty"`
	PhotoUrl                   string `json:"photo_url,omitempty"`
	IdentificationFrontImageId string `json:"identification_front_image_id,omitempty"`
	IdentificationBackImageId  string `json:"identification_back_image_id,omitempty"`
}

个人身份证明

type IndividualQualificationRead

type IndividualQualificationRead struct {
	IdentificationFrontImageId string `json:"identification_front_image_id,omitempty"`
	IdentificationBackImageId  string `json:"identification_back_image_id,omitempty"`
}

个人身份证明

type IndustryQualificationsSpec

type IndustryQualificationsSpec struct {
	SystemIndustryId  int64     `json:"system_industry_id,omitempty"`
	BusinessScopeId   int64     `json:"business_scope_id,omitempty"`
	QualificationCode string    `json:"qualification_code,omitempty"`
	ImageIdList       *[]string `json:"image_id_list,omitempty"`
}

行业资质信息,当且仅当qualification_type=INDUSTRY_QUALIFICATION时可填且必填

type IndustryQualificationsStruct

type IndustryQualificationsStruct struct {
	QualificationId     int64               `json:"qualification_id,omitempty"`
	SystemIndustryId    int64               `json:"system_industry_id,omitempty"`
	BusinessScopeId     int64               `json:"business_scope_id,omitempty"`
	QualificationCode   string              `json:"qualification_code,omitempty"`
	ImageIdList         *[]string           `json:"image_id_list,omitempty"`
	QualificationStatus QualificationStatus `json:"qualification_status,omitempty"`
	ExpiredDate         string              `json:"expired_date,omitempty"`
	RejectMessage       string              `json:"reject_message,omitempty"`
	CreatedTime         int64               `json:"created_time,omitempty"`
	LastModifiedTime    int64               `json:"last_modified_time,omitempty"`
}

行业资质信息

type IntOptimizationGoal

type IntOptimizationGoal string

IntOptimizationGoal : 优化目标类型,支持的优化目标及对应的深度优化目标可通过“<a href='/docs/api/tools/capabilities/optimization_goal_permissions_get' target='_blank'>查询优化目标权限</a>”接口进行查询

const (
	IntOptimizationGoal_NONE                                IntOptimizationGoal = "OPTIMIZATIONGOAL_NONE"
	IntOptimizationGoal_BRAND_CONVERSION                    IntOptimizationGoal = "OPTIMIZATIONGOAL_BRAND_CONVERSION"
	IntOptimizationGoal_FOLLOW                              IntOptimizationGoal = "OPTIMIZATIONGOAL_FOLLOW"
	IntOptimizationGoal_CLICK                               IntOptimizationGoal = "OPTIMIZATIONGOAL_CLICK"
	IntOptimizationGoal_IMPRESSION                          IntOptimizationGoal = "OPTIMIZATIONGOAL_IMPRESSION"
	IntOptimizationGoal_APP_DOWNLOAD                        IntOptimizationGoal = "OPTIMIZATIONGOAL_APP_DOWNLOAD"
	IntOptimizationGoal_APP_ACTIVATE                        IntOptimizationGoal = "OPTIMIZATIONGOAL_APP_ACTIVATE"
	IntOptimizationGoal_APP_REGISTER                        IntOptimizationGoal = "OPTIMIZATIONGOAL_APP_REGISTER"
	IntOptimizationGoal_ONE_DAY_RETENTION                   IntOptimizationGoal = "OPTIMIZATIONGOAL_ONE_DAY_RETENTION"
	IntOptimizationGoal_APP_PURCHASE                        IntOptimizationGoal = "OPTIMIZATIONGOAL_APP_PURCHASE"
	IntOptimizationGoal_ECOMMERCE_ORDER                     IntOptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_ORDER"
	IntOptimizationGoal_ECOMMERCE_CHECKOUT                  IntOptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT"
	IntOptimizationGoal_LEADS                               IntOptimizationGoal = "OPTIMIZATIONGOAL_LEADS"
	IntOptimizationGoal_ECOMMERCE_CART                      IntOptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_CART"
	IntOptimizationGoal_PROMOTION_CLICK_KEY_PAGE            IntOptimizationGoal = "OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE"
	IntOptimizationGoal_VIEW_COMMODITY_PAGE                 IntOptimizationGoal = "OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE"
	IntOptimizationGoal_ONLINE_CONSULTATION                 IntOptimizationGoal = "OPTIMIZATIONGOAL_ONLINE_CONSULTATION"
	IntOptimizationGoal_TELEPHONE_CONSULTATION              IntOptimizationGoal = "OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION"
	IntOptimizationGoal_PAGE_RESERVATION                    IntOptimizationGoal = "OPTIMIZATIONGOAL_PAGE_RESERVATION"
	IntOptimizationGoal_DELIVERY                            IntOptimizationGoal = "OPTIMIZATIONGOAL_DELIVERY"
	IntOptimizationGoal_MESSAGE_AFTER_FOLLOW                IntOptimizationGoal = "OPTIMIZATIONGOAL_MESSAGE_AFTER_FOLLOW"
	IntOptimizationGoal_CLICK_MENU_AFTER_FOLLOW             IntOptimizationGoal = "OPTIMIZATIONGOAL_CLICK_MENU_AFTER_FOLLOW"
	IntOptimizationGoal_PAGE_EFFECTIVE_ONLINE_CONSULT       IntOptimizationGoal = "OPTIMIZATIONGOAL_PAGE_EFFECTIVE_ONLINE_CONSULT"
	IntOptimizationGoal_PAGE_EFFECTIVE_PHONE_CALL           IntOptimizationGoal = "OPTIMIZATIONGOAL_PAGE_EFFECTIVE_PHONE_CALL"
	IntOptimizationGoal_CONFIRM_EFFECTIVE_LEADS_CONSULT     IntOptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT"
	IntOptimizationGoal_CONFIRM_EFFECTIVE_LEADS_PHONE       IntOptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE"
	IntOptimizationGoal_LEADS_COLLECT                       IntOptimizationGoal = "OPTIMIZATIONGOAL_LEADS_COLLECT"
	IntOptimizationGoal_FIRST_PURCHASE                      IntOptimizationGoal = "OPTIMIZATIONGOAL_FIRST_PURCHASE"
	IntOptimizationGoal_APPLY                               IntOptimizationGoal = "OPTIMIZATIONGOAL_APPLY"
	IntOptimizationGoal_PRE_CREDIT                          IntOptimizationGoal = "OPTIMIZATIONGOAL_PRE_CREDIT"
	IntOptimizationGoal_CREDIT                              IntOptimizationGoal = "OPTIMIZATIONGOAL_CREDIT"
	IntOptimizationGoal_WITHDRAW_DEPOSITS                   IntOptimizationGoal = "OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS"
	IntOptimizationGoal_PROMOTION_VIEW_KEY_PAGE             IntOptimizationGoal = "OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE"
	IntOptimizationGoal_MOBILE_APP_CREATE_ROLE              IntOptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_CREATE_ROLE"
	IntOptimizationGoal_CANVAS_CLICK                        IntOptimizationGoal = "OPTIMIZATIONGOAL_CANVAS_CLICK"
	IntOptimizationGoal_PROMOTION_CLAIM_OFFER               IntOptimizationGoal = "OPTIMIZATIONGOAL_PROMOTION_CLAIM_OFFER"
	IntOptimizationGoal_ECOMMERCE_ADD_TO_WISHLIST           IntOptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_ADD_TO_WISHLIST"
	IntOptimizationGoal_CONFIRM_EFFECTIVE_LEADS_RESERVATION IntOptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION"
	IntOptimizationGoal_PAGE_RECEIPT                        IntOptimizationGoal = "OPTIMIZATIONGOAL_PAGE_RECEIPT"
	IntOptimizationGoal_PAGE_SCAN_CODE                      IntOptimizationGoal = "OPTIMIZATIONGOAL_PAGE_SCAN_CODE"
	IntOptimizationGoal_SELECT_COURSE                       IntOptimizationGoal = "OPTIMIZATIONGOAL_SELECT_COURSE"
	IntOptimizationGoal_CONFIRM_POTENTIAL_CUSTOMER_PHONE    IntOptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_POTENTIAL_CUSTOMER_PHONE"
	IntOptimizationGoal_MOBILE_APP_AD_INCOME                IntOptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_AD_INCOME"
	IntOptimizationGoal_MOBILE_APP_ACCREDIT                 IntOptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_ACCREDIT"
	IntOptimizationGoal_PURCHASE_MEMBER_CARD                IntOptimizationGoal = "OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD"
)

List of IntOptimizationGoal

type Intention

type Intention struct {
	TargetingTags *[]int64 `json:"targeting_tags,omitempty"`
}

行为兴趣意向定向的意向部分

type Interest

type Interest struct {
	TargetingTags  *[]string `json:"targeting_tags,omitempty"`
	CategoryIdList *[]int64  `json:"category_id_list,omitempty"`
	KeywordList    *[]string `json:"keyword_list,omitempty"`
}

行为兴趣意向定向的兴趣部分

type InterestTargetingTagSpec

type InterestTargetingTagSpec struct {
	QueryMode TargetingTagQueryMode      `json:"query_mode,omitempty"`
	QuerySpec *TargetingTagsGetQuerySpec `json:"query_spec,omitempty"`
}

获取兴趣定向标签的条件,type 为 INTEREST 时必填

type ItemType added in v1.3.0

type ItemType string

ItemType : 表单项类型

const (
	ItemType_NAME   ItemType = "NAME"
	ItemType_PHONE  ItemType = "PHONE"
	ItemType_TEXT   ItemType = "TEXT"
	ItemType_SELECT ItemType = "SELECT"
)

List of ItemType

type Keyword

type Keyword struct {
	Words *[]string `json:"words,omitempty"`
}

关键词定向

type KeywordSpec

type KeywordSpec struct {
	IncludeKeyword *[]string `json:"include_keyword,omitempty"`
	ExcludeKeyword *[]string `json:"exclude_keyword,omitempty"`
}

Keyword人群信息

type LabelAudiencesAddRequest

type LabelAudiencesAddRequest struct {
	AccountId int64 `json:"account_id,omitempty"`
	LabelId   int64 `json:"label_id,omitempty"`
}

type LabelAudiencesAddResponse

type LabelAudiencesAddResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *LabelAudiencesAddResponseData `json:"data,omitempty"`
}

type LabelAudiencesAddResponseData

type LabelAudiencesAddResponseData struct {
	AudienceId int64 `json:"audience_id,omitempty"`
}

type LabelContributionListItem

type LabelContributionListItem struct {
	Label        string  `json:"label,omitempty"`
	Count        int64   `json:"count,omitempty"`
	Contribution int64   `json:"contribution,omitempty"`
	Ratio        float64 `json:"ratio,omitempty"`
}

标签贡献度

type LabelsGetResponse

type LabelsGetResponse struct {
	Code      int64                  `json:"code,omitempty"`
	Message   string                 `json:"message,omitempty"`
	MessageCn string                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct      `json:"errors,omitempty"`
	Data      *LabelsGetResponseData `json:"data,omitempty"`
}

type LabelsGetResponseData

type LabelsGetResponseData struct {
	List     *[]LabelsLabel `json:"list,omitempty"`
	PageInfo *PageInfo      `json:"page_info,omitempty"`
}

type LabelsLabel

type LabelsLabel struct {
	LabelId          int64  `json:"label_id,omitempty"`
	AudienceId       int64  `json:"audience_id,omitempty"`
	DisplayLabelName string `json:"display_label_name,omitempty"`
	Description      string `json:"description,omitempty"`
	UserCount        int64  `json:"user_count,omitempty"`
}

label返回结构

type LableDirection

type LableDirection string

LableDirection : 标签方向

const (
	LableDirection_LEFT  LableDirection = "LABEL_DIRECTION_LEFT"
	LableDirection_RIGHT LableDirection = "LABEL_DIRECTION_RIGHT"
)

List of LableDirection

type LastModifiedTimeRange

type LastModifiedTimeRange struct {
	BeginTime int64 `json:"begin_time,omitempty"`
	EndTime   int64 `json:"end_time,omitempty"`
}

广告组信息最后更新时间范围,一次最多允许获取7天的数据,最远可获取2018.01.01的数据

type LbsAreaType

type LbsAreaType string

LbsAreaType : LBS自定义区域类型

const (
	LbsAreaType_CIRCLE LbsAreaType = "CIRCLE"
)

List of LbsAreaType

type LbsPoiType

type LbsPoiType string

LbsPoiType : LBS兴趣点类型

const (
	LbsPoiType_ALL       LbsPoiType = "ALL"
	LbsPoiType_TRAVEL_IN LbsPoiType = "TRAVEL_IN"
)

List of LbsPOIType

type LbsSpec

type LbsSpec struct {
	LbsType            LbsType             `json:"lbs_type,omitempty"`
	CrossCityRule      *CrossCityRule      `json:"cross_city_rule,omitempty"`
	PoiRule            *PoiRule            `json:"poi_rule,omitempty"`
	CustomLocationRule *CustomLocationRule `json:"custom_location_rule,omitempty"`
}

LBS人群信息

type LbsType

type LbsType string

LbsType : LBS类型

const (
	LbsType_LBSTYPE_BUSINESS LbsType = "LBSTYPE_BUSINESS"
	LbsType_LBSTYPE_LANDMARK LbsType = "LBSTYPE_LANDMARK"
	LbsType_LBSTYPE_SUBWAY   LbsType = "LBSTYPE_SUBWAY"
	LbsType_POI              LbsType = "POI"
	LbsType_CROSS_CITY       LbsType = "CROSS_CITY"
	LbsType_CUSTOM_LOCATION  LbsType = "CUSTOM_LOCATION"
)

List of LbsType

type LeadCluesGetListStruct

type LeadCluesGetListStruct struct {
	AccountId           int64  `json:"account_id,omitempty"`
	LeadsId             int64  `json:"leads_id,omitempty"`
	ClickId             string `json:"click_id,omitempty"`
	WechatAppid         string `json:"wechat_appid,omitempty"`
	AgencyId            string `json:"agency_id,omitempty"`
	AgencyName          string `json:"agency_name,omitempty"`
	CampaignId          int64  `json:"campaign_id,omitempty"`
	CampaignName        string `json:"campaign_name,omitempty"`
	AdgroupId           string `json:"adgroup_id,omitempty"`
	AdgroupName         string `json:"adgroup_name,omitempty"`
	CreativeId          string `json:"creative_id,omitempty"`
	CreativeName        string `json:"creative_name,omitempty"`
	ComponentId         string `json:"component_id,omitempty"`
	ComponentName       string `json:"component_name,omitempty"`
	PageId              string `json:"page_id,omitempty"`
	PageName            string `json:"page_name,omitempty"`
	PageUrl             string `json:"page_url,omitempty"`
	LeadsType           string `json:"leads_type,omitempty"`
	LeadsSource         string `json:"leads_source,omitempty"`
	LeadsPotentialScore string `json:"leads_potential_score,omitempty"`
	LeadsFollowTag      string `json:"leads_follow_tag,omitempty"`
	LeadsName           string `json:"leads_name,omitempty"`
	LeadsTelephone      string `json:"leads_telephone,omitempty"`
	TelephoneLocation   string `json:"telephone_location,omitempty"`
	LeadsArea           string `json:"leads_area,omitempty"`
	LeadsEmail          string `json:"leads_email,omitempty"`
	LeadsQq             string `json:"leads_qq,omitempty"`
	LeadsWechat         string `json:"leads_wechat,omitempty"`
	LeadsGender         string `json:"leads_gender,omitempty"`
	Nationality         string `json:"nationality,omitempty"`
	WorkingYears        string `json:"working_years,omitempty"`
	Age                 string `json:"age,omitempty"`
	Profession          string `json:"profession,omitempty"`
	IdNumber            string `json:"id_number,omitempty"`
	Address             string `json:"address,omitempty"`
	Bundle              string `json:"bundle,omitempty"`
	PosType             int64  `json:"pos_type,omitempty"`
	LeadsCreateTime     string `json:"leads_create_time,omitempty"`
	LeadsActionTime     string `json:"leads_action_time,omitempty"`
	LeadsTags           string `json:"leads_tags,omitempty"`
	ShopName            string `json:"shop_name,omitempty"`
	ShopAddress         string `json:"shop_address,omitempty"`
}

返回结构

type LeadCluesGetRequest

type LeadCluesGetRequest struct {
	AccountId             int64              `json:"account_id,omitempty"`
	TimeRange             *TimeRange         `json:"time_range,omitempty"`
	Filtering             *[]FilteringStruct `json:"filtering,omitempty"`
	Page                  int64              `json:"page,omitempty"`
	PageSize              int64              `json:"page_size,omitempty"`
	LastSearchAfterValues *[]string          `json:"last_search_after_values,omitempty"`
}

type LeadCluesGetResponse

type LeadCluesGetResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *LeadCluesGetResponseData `json:"data,omitempty"`
}

type LeadCluesGetResponseData

type LeadCluesGetResponseData struct {
	LeadsInfo *[]LeadCluesGetListStruct `json:"leads_info,omitempty"`
	PageInfo  *Conf                     `json:"page_info,omitempty"`
}

type LeadCluesLeadsConvertType

type LeadCluesLeadsConvertType string

LeadCluesLeadsConvertType : 线索状态

const (
	LeadCluesLeadsConvertType_DEPRECATED              LeadCluesLeadsConvertType = "LEADS_CONVERT_STATUS_DEPRECATED"
	LeadCluesLeadsConvertType_POTENTIAL_CUSTOMER      LeadCluesLeadsConvertType = "LEADS_CONVERT_STATUS_POTENTIAL_CUSTOMER"
	LeadCluesLeadsConvertType_HIGH_INTENTION_CUSTOMER LeadCluesLeadsConvertType = "LEADS_CONVERT_STATUS_HIGH_INTENTION_CUSTOMER"
	LeadCluesLeadsConvertType_TRANS_COMPLETED         LeadCluesLeadsConvertType = "LEADS_CONVERT_STATUS_TRANS_COMPLETED"
)

List of LeadCluesLeadsConvertType

type LeadCluesLeadsIneffectReason added in v1.3.0

type LeadCluesLeadsIneffectReason string

LeadCluesLeadsIneffectReason : 无效原因

const (
	LeadCluesLeadsIneffectReason_EMPTY               LeadCluesLeadsIneffectReason = "LEADS_INEFFECT_REASON_EMPTY"
	LeadCluesLeadsIneffectReason_IDENTITY_MISMATCHED LeadCluesLeadsIneffectReason = "LEADS_INEFFECT_REASON_IDENTITY_MISMATCHED"
	LeadCluesLeadsIneffectReason_REGION_MISMATCHED   LeadCluesLeadsIneffectReason = "LEADS_INEFFECT_REASON_REGION_MISMATCHED"
	LeadCluesLeadsIneffectReason_DATA_DUPLICATION    LeadCluesLeadsIneffectReason = "LEADS_INEFFECT_REASON_DATA_DUPLICATION"
	LeadCluesLeadsIneffectReason_TEL_NOT_CONNECTED   LeadCluesLeadsIneffectReason = "LEADS_INEFFECT_REASON_TEL_NOT_CONNECTED"
	LeadCluesLeadsIneffectReason_NO_INTENTION        LeadCluesLeadsIneffectReason = "LEADS_INEFFECT_REASON_NO_INTENTION"
	LeadCluesLeadsIneffectReason_UNKNOWN             LeadCluesLeadsIneffectReason = "LEADS_INEFFECT_REASON_UNKNOWN"
)

List of LeadCluesLeadsIneffectReason

type LeadCluesLeadsIntentionScore added in v1.3.0

type LeadCluesLeadsIntentionScore string

LeadCluesLeadsIntentionScore : 线索评分

const (
	LeadCluesLeadsIntentionScore_1 LeadCluesLeadsIntentionScore = "LEADS_INTENTION_SCORE_LEVEL_1"
	LeadCluesLeadsIntentionScore_2 LeadCluesLeadsIntentionScore = "LEADS_INTENTION_SCORE_LEVEL_2"
	LeadCluesLeadsIntentionScore_3 LeadCluesLeadsIntentionScore = "LEADS_INTENTION_SCORE_LEVEL_3"
	LeadCluesLeadsIntentionScore_4 LeadCluesLeadsIntentionScore = "LEADS_INTENTION_SCORE_LEVEL_4"
	LeadCluesLeadsIntentionScore_5 LeadCluesLeadsIntentionScore = "LEADS_INTENTION_SCORE_LEVEL_5"
	LeadCluesLeadsIntentionScore_6 LeadCluesLeadsIntentionScore = "LEADS_INTENTION_SCORE_LEVEL_6"
)

List of LeadCluesLeadsIntentionScore

type LeadCluesUpdateRequest

type LeadCluesUpdateRequest struct {
	AccountId int64                    `json:"account_id,omitempty"`
	Leads     *[]LeadsStatusInfoStruct `json:"leads,omitempty"`
}

type LeadCluesUpdateResponse

type LeadCluesUpdateResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type LeadsFormAddRequest added in v1.3.0

type LeadsFormAddRequest struct {
	AccountId     int64                    `json:"account_id,omitempty"`
	ComponentName string                   `json:"component_name,omitempty"`
	Title         string                   `json:"title,omitempty"`
	SubTitle      string                   `json:"sub_title,omitempty"`
	SubmitText    string                   `json:"submit_text,omitempty"`
	Items         *[]CreateControlListItem `json:"items,omitempty"`
}

type LeadsFormAddResponse added in v1.3.0

type LeadsFormAddResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *LeadsFormAddResponseData `json:"data,omitempty"`
}

type LeadsFormAddResponseData added in v1.3.0

type LeadsFormAddResponseData struct {
	ComponentId string `json:"component_id,omitempty"`
}

type LeadsFormGetResponse added in v1.3.0

type LeadsFormGetResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *LeadsFormGetResponseData `json:"data,omitempty"`
}

type LeadsFormGetResponseData added in v1.3.0

type LeadsFormGetResponseData struct {
	AccountId     int64                        `json:"account_id,omitempty"`
	ComponentId   string                       `json:"component_id,omitempty"`
	ComponentName string                       `json:"component_name,omitempty"`
	CreatedTime   string                       `json:"created_time,omitempty"`
	FormConfig    *FormConfigDetailData        `json:"form_config,omitempty"`
	ItemList      *[]ControlListItemDetailData `json:"item_list,omitempty"`
}

type LeadsFormListGetResponse added in v1.3.0

type LeadsFormListGetResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *LeadsFormListGetResponseData `json:"data,omitempty"`
}

type LeadsFormListGetResponseData added in v1.3.0

type LeadsFormListGetResponseData struct {
	PageInfo *Conf               `json:"page_info,omitempty"`
	List     *[]FormListItemData `json:"list,omitempty"`
}

type LeadsStatusInfoStruct

type LeadsStatusInfoStruct struct {
	LeadsId             int64                        `json:"leads_id,omitempty"`
	LeadsConvertType    LeadCluesLeadsConvertType    `json:"leads_convert_type,omitempty"`
	LeadsIneffectReason LeadCluesLeadsIneffectReason `json:"leads_ineffect_reason,omitempty"`
	LeadsIntentionScore LeadCluesLeadsIntentionScore `json:"leads_intention_score,omitempty"`
}

回传信息结构

type LearningStatus

type LearningStatus string

LearningStatus : 学习状态

const (
	LearningStatus_PROCESSING       LearningStatus = "LEARNING_STATUS_PROCESSING"
	LearningStatus_SUGGEST_CONTINUE LearningStatus = "LEARNING_STATUS_SUGGEST_CONTINUE"
	LearningStatus_SUGGEST_STOP     LearningStatus = "LEARNING_STATUS_SUGGEST_STOP"
	LearningStatus_SUGGEST_IMPROVE  LearningStatus = "LEARNING_STATUS_SUGGEST_IMPROVE"
	LearningStatus_UNKNOWN          LearningStatus = "LEARNING_STATUS_UNKNOWN"
	LearningStatus_WIP              LearningStatus = "LEARNING_STATUS_WIP"
	LearningStatus_FINISHED         LearningStatus = "LEARNING_STATUS_FINISHED"
	LearningStatus_FAILED           LearningStatus = "LEARNING_STATUS_FAILED"
)

List of LearningStatus

type LengthAdjustment added in v1.4.1

type LengthAdjustment struct {
	TargetLength           int64                  `json:"target_length,omitempty"`
	LengthAdjustmentMethod LengthAdjustmentMethod `json:"length_adjustment_method,omitempty"`
}

调整时长

type LengthAdjustmentMethod added in v1.4.1

type LengthAdjustmentMethod string

LengthAdjustmentMethod : 调整时长方式:溢出剪裁、智能变速

const (
	LengthAdjustmentMethod_OVERFLOW_CLIP      LengthAdjustmentMethod = "OVERFLOW_CLIP"
	LengthAdjustmentMethod_SMART_SPEED_CHANGE LengthAdjustmentMethod = "SMART_SPEED_CHANGE"
)

List of LengthAdjustmentMethod

type LimitWechatAdBehavior

type LimitWechatAdBehavior struct {
	Actions         *[]string `json:"actions,omitempty"`
	ExcludedActions *[]string `json:"excluded_actions,omitempty"`
}

微信广告行为定向

type LinkJdInfo added in v1.3.0

type LinkJdInfo struct {
	EcommerceType EcommerceType `json:"ecommerce_type,omitempty"`
	ItemId        string        `json:"item_id,omitempty"`
	ShopId        string        `json:"shop_id,omitempty"`
	ItemCategory  *[]Category   `json:"item_category,omitempty"`
	ShopCategory  *[]Category   `json:"shop_category,omitempty"`
}

京东POP商户投放商品信息

type LinkNameType

type LinkNameType string

LinkNameType : 链接名称类型

const (
	LinkNameType_VIEW_DETAILS            LinkNameType = "VIEW_DETAILS"
	LinkNameType_GET_COUPONS             LinkNameType = "GET_COUPONS"
	LinkNameType_MAKE_AN_APPOINTMENT     LinkNameType = "MAKE_AN_APPOINTMENT"
	LinkNameType_BUY_NOW                 LinkNameType = "BUY_NOW"
	LinkNameType_GO_SHOPPING             LinkNameType = "GO_SHOPPING"
	LinkNameType_ENTER_MINI_PROGRAM      LinkNameType = "ENTER_MINI_PROGRAM"
	LinkNameType_ENTER_MINI_GAME         LinkNameType = "ENTER_MINI_GAME"
	LinkNameType_APPLY_NOW               LinkNameType = "APPLY_NOW"
	LinkNameType_RESERVATION_BUY         LinkNameType = "RESERVATION_BUY"
	LinkNameType_CONSULT_NOW             LinkNameType = "CONSULT_NOW"
	LinkNameType_BOOK_DRIVE              LinkNameType = "BOOK_DRIVE"
	LinkNameType_ENTER_OFFICIAL_ACCOUNTS LinkNameType = "ENTER_OFFICIAL_ACCOUNTS"
	LinkNameType_PLAY_NOW                LinkNameType = "PLAY_NOW"
	LinkNameType_OPEN_MINI_GAME          LinkNameType = "OPEN_MINI_GAME"
	LinkNameType_DOWNLOAD_APP            LinkNameType = "DOWNLOAD_APP"
	LinkNameType_DOWNLOAD_GAME           LinkNameType = "DOWNLOAD_GAME"
	LinkNameType_GET_SAMPLES             LinkNameType = "GET_SAMPLES"
	LinkNameType_GET_IT_NOW              LinkNameType = "GET_IT_NOW"
	LinkNameType_BUY_ASAP                LinkNameType = "BUY_ASAP"
	LinkNameType_DOWNLOAD_NOW            LinkNameType = "DOWNLOAD_NOW"
	LinkNameType_VIEW_APPS               LinkNameType = "VIEW_APPS"
	LinkNameType_MORE_INFO               LinkNameType = "MORE_INFO"
	LinkNameType_GET_VOUCHERS            LinkNameType = "GET_VOUCHERS"
	LinkNameType_FOLLOW_OFFICIAL_ACCOUNT LinkNameType = "FOLLOW_OFFICIAL_ACCOUNT"
	LinkNameType_READ_NOVELS             LinkNameType = "READ_NOVELS"
	LinkNameType_GO_TO_JD                LinkNameType = "GO_TO_JD"
	LinkNameType_GO_TO_PDD               LinkNameType = "GO_TO_PDD"
	LinkNameType_GO_TO_SUNING            LinkNameType = "GO_TO_SUNING"
	LinkNameType_GO_TO_VIP               LinkNameType = "GO_TO_VIP"
	LinkNameType_GO_TO_XIAOHONGSHU       LinkNameType = "GO_TO_XIAOHONGSHU"
	LinkNameType_GO_TO_KUAISHOU          LinkNameType = "GO_TO_KUAISHOU"
	LinkNameType_WATCH_LIVE              LinkNameType = "WATCH_LIVE"
	LinkNameType_RESERVE_NOW             LinkNameType = "RESERVE_NOW"
)

List of LinkNameType

type LinkNameTypeMp

type LinkNameTypeMp string

LinkNameTypeMp : 链接名称类型

const (
	LinkNameTypeMp_VIEW_DETAILS            LinkNameTypeMp = "VIEW_DETAILS"
	LinkNameTypeMp_GET_COUPONS             LinkNameTypeMp = "GET_COUPONS"
	LinkNameTypeMp_MAKE_AN_APPOINTMENT     LinkNameTypeMp = "MAKE_AN_APPOINTMENT"
	LinkNameTypeMp_BUY_NOW                 LinkNameTypeMp = "BUY_NOW"
	LinkNameTypeMp_GO_SHOPPING             LinkNameTypeMp = "GO_SHOPPING"
	LinkNameTypeMp_ENTER_MINI_PROGRAM      LinkNameTypeMp = "ENTER_MINI_PROGRAM"
	LinkNameTypeMp_ENTER_MINI_GAME         LinkNameTypeMp = "ENTER_MINI_GAME"
	LinkNameTypeMp_APPLY_NOW               LinkNameTypeMp = "APPLY_NOW"
	LinkNameTypeMp_BOOK_NOW                LinkNameTypeMp = "BOOK_NOW"
	LinkNameTypeMp_RESERVATION_BUY         LinkNameTypeMp = "RESERVATION_BUY"
	LinkNameTypeMp_CONSULT_NOW             LinkNameTypeMp = "CONSULT_NOW"
	LinkNameTypeMp_BOOK_DRIVE              LinkNameTypeMp = "BOOK_DRIVE"
	LinkNameTypeMp_ENTER_OFFICIAL_ACCOUNTS LinkNameTypeMp = "ENTER_OFFICIAL_ACCOUNTS"
	LinkNameTypeMp_PLAY_NOW                LinkNameTypeMp = "PLAY_NOW"
	LinkNameTypeMp_OPEN_MINI_GAME          LinkNameTypeMp = "OPEN_MINI_GAME"
	LinkNameTypeMp_DOWNLOAD_APP            LinkNameTypeMp = "DOWNLOAD_APP"
	LinkNameTypeMp_DOWNLOAD_GAME           LinkNameTypeMp = "DOWNLOAD_GAME"
	LinkNameTypeMp_GET_SAMPLES             LinkNameTypeMp = "GET_SAMPLES"
	LinkNameTypeMp_GET_IT_NOW              LinkNameTypeMp = "GET_IT_NOW"
	LinkNameTypeMp_BUY_ASAP                LinkNameTypeMp = "BUY_ASAP"
	LinkNameTypeMp_DOWNLOAD_NOW            LinkNameTypeMp = "DOWNLOAD_NOW"
	LinkNameTypeMp_VIEW_APPS               LinkNameTypeMp = "VIEW_APPS"
	LinkNameTypeMp_MORE_INFO               LinkNameTypeMp = "MORE_INFO"
	LinkNameTypeMp_GET_VOUCHERS            LinkNameTypeMp = "GET_VOUCHERS"
	LinkNameTypeMp_FOLLOW_OFFICIAL_ACCOUNT LinkNameTypeMp = "FOLLOW_OFFICIAL_ACCOUNT"
	LinkNameTypeMp_READ_NOVELS             LinkNameTypeMp = "READ_NOVELS"
	LinkNameTypeMp_GO_TO_JD                LinkNameTypeMp = "GO_TO_JD"
	LinkNameTypeMp_GO_TO_PDD               LinkNameTypeMp = "GO_TO_PDD"
	LinkNameTypeMp_GO_TO_SUNING            LinkNameTypeMp = "GO_TO_SUNING"
	LinkNameTypeMp_GO_TO_VIP               LinkNameTypeMp = "GO_TO_VIP"
	LinkNameTypeMp_GO_TO_XIAOHONGSHU       LinkNameTypeMp = "GO_TO_XIAOHONGSHU"
	LinkNameTypeMp_GO_TO_KUAISHOU          LinkNameTypeMp = "GO_TO_KUAISHOU"
	LinkNameTypeMp_WATCH_LIVE              LinkNameTypeMp = "WATCH_LIVE"
	LinkNameTypeMp_RESERVE_NOW             LinkNameTypeMp = "RESERVE_NOW"
)

List of LinkNameTypeMP

type LinkPageSpec

type LinkPageSpec struct {
	PageId          int64                      `json:"page_id,omitempty"`
	PageUrl         string                     `json:"page_url,omitempty"`
	MiniProgramSpec *AdcreativeMiniProgramSpec `json:"mini_program_spec,omitempty"`
	MiniGameSpec    *MiniGameSpec              `json:"mini_game_spec,omitempty"`
}

文字链跳转信息

type LinkPageType

type LinkPageType string

LinkPageType : 文字链跳转类型类型

const (
	LinkPageType_NOT_USED            LinkPageType = "LINK_PAGE_TYPE_NOT_USED"
	LinkPageType_DEFAULT             LinkPageType = "LINK_PAGE_TYPE_DEFAULT"
	LinkPageType_CANVAS_WECHAT       LinkPageType = "LINK_PAGE_TYPE_CANVAS_WECHAT"
	LinkPageType_ARTICAL_WECHAT      LinkPageType = "LINK_PAGE_TYPE_ARTICAL_WECHAT"
	LinkPageType_MINI_PROGRAM_WECHAT LinkPageType = "LINK_PAGE_TYPE_MINI_PROGRAM_WECHAT"
	LinkPageType_MINI_GAME_WECHAT    LinkPageType = "LINK_PAGE_TYPE_MINI_GAME_WECHAT"
	LinkPageType_FENGYE_ECOMMERCE    LinkPageType = "LINK_PAGE_TYPE_FENGYE_ECOMMERCE"
)

List of LinkPageType

type LinkSpec

type LinkSpec struct {
	Title string `json:"title,omitempty"`
	Url   string `json:"url,omitempty"`
}

外链信息

type ListStruct added in v1.3.0

type ListStruct struct {
	WechatQualificationName string                                 `json:"wechat_qualification_name,omitempty"`
	WechatQualificationUrl  string                                 `json:"wechat_qualification_url,omitempty"`
	WechatQualificationId   int64                                  `json:"wechat_qualification_id,omitempty"`
	ReviewStatus            LocalBusinessQualificationReviewStatus `json:"review_status,omitempty"`
	AuditMessage            string                                 `json:"audit_message,omitempty"`
}

返回结构

type LocalAddRequest added in v1.4.0

type LocalAddRequest struct {
	Adgroup    *AdgroupCreateSpec    `json:"adgroup,omitempty"`
	Campaign   *CampaignCreateSpec   `json:"campaign,omitempty"`
	Adcreative *AdCreativeCreateSpec `json:"adcreative,omitempty"`
}

type LocalAddResponse added in v1.4.0

type LocalAddResponse struct {
	Code      int64                 `json:"code,omitempty"`
	Message   string                `json:"message,omitempty"`
	MessageCn string                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct     `json:"errors,omitempty"`
	Data      *LocalAddResponseData `json:"data,omitempty"`
}

type LocalAddResponseData added in v1.4.0

type LocalAddResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type LocalAdsSpec added in v1.3.0

type LocalAdsSpec struct {
	ShopName         string `json:"shop_name,omitempty"`
	Address          string `json:"address,omitempty"`
	Telphone         string `json:"telphone,omitempty"`
	SystemIndustryId string `json:"system_industry_id,omitempty"`
}

本地门店信息

type LocalBusinessQualificationReviewStatus added in v1.4.0

type LocalBusinessQualificationReviewStatus string

LocalBusinessQualificationReviewStatus : 审核状态

const (
	LocalBusinessQualificationReviewStatus_PENDING LocalBusinessQualificationReviewStatus = "LOCAL_BUSINESS_QUALIFICATION_REVIEW_STATUS_PENDING"
	LocalBusinessQualificationReviewStatus_NORMAL  LocalBusinessQualificationReviewStatus = "LOCAL_BUSINESS_QUALIFICATION_REVIEW_STATUS_NORMAL"
	LocalBusinessQualificationReviewStatus_DENIED  LocalBusinessQualificationReviewStatus = "LOCAL_BUSINESS_QUALIFICATION_REVIEW_STATUS_DENIED"
)

List of LocalBusinessQualificationReviewStatus

type LocalEndadsmanuallyAddRequest added in v1.3.0

type LocalEndadsmanuallyAddRequest struct {
	AccountId int64 `json:"account_id,omitempty"`
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type LocalEndadsmanuallyAddResponse added in v1.3.0

type LocalEndadsmanuallyAddResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *LocalEndadsmanuallyAddResponseData `json:"data,omitempty"`
}

type LocalEndadsmanuallyAddResponseData added in v1.3.0

type LocalEndadsmanuallyAddResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type LocalEstimatedamountGetRequest added in v1.3.0

type LocalEstimatedamountGetRequest struct {
	AccountId    int64        `json:"account_id,omitempty"`
	CityLevel    CityLevel    `json:"city_level,omitempty"`
	PackageLevel PackageLevel `json:"package_level,omitempty"`
}

type LocalEstimatedamountGetResponse added in v1.3.0

type LocalEstimatedamountGetResponse struct {
	Code      int64                                `json:"code,omitempty"`
	Message   string                               `json:"message,omitempty"`
	MessageCn string                               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                    `json:"errors,omitempty"`
	Data      *LocalEstimatedamountGetResponseData `json:"data,omitempty"`
}

type LocalEstimatedamountGetResponseData added in v1.3.0

type LocalEstimatedamountGetResponseData struct {
	EstimatedViews        int64 `json:"estimated_views,omitempty"`
	EstimatedCouponAmount int64 `json:"estimated_coupon_amount,omitempty"`
}

type LocalGetRequest added in v1.4.0

type LocalGetRequest struct {
	AccountId int64              `json:"account_id,omitempty"`
	DateRange *DateRange         `json:"date_range,omitempty"`
	Filtering *[]FilteringStruct `json:"filtering,omitempty"`
	Level     DpApiReportLevel   `json:"level,omitempty"`
	Page      int64              `json:"page,omitempty"`
	PageSize  int64              `json:"page_size,omitempty"`
}

type LocalGetResponse added in v1.4.0

type LocalGetResponse struct {
	Code      int64                 `json:"code,omitempty"`
	Message   string                `json:"message,omitempty"`
	MessageCn string                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct     `json:"errors,omitempty"`
	Data      *LocalGetResponseData `json:"data,omitempty"`
}

type LocalGetResponseData added in v1.4.0

type LocalGetResponseData struct {
	List     *[]AllDataSpec `json:"list,omitempty"`
	PageInfo *DpPageInfo    `json:"page_info,omitempty"`
}

type LocalStoresAddRequest added in v1.3.0

type LocalStoresAddRequest struct {
	AccountId int64     `json:"account_id,omitempty"`
	PoiList   *[]string `json:"poi_list,omitempty"`
}

type LocalStoresAddResponse added in v1.3.0

type LocalStoresAddResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *LocalStoresAddResponseData `json:"data,omitempty"`
}

type LocalStoresAddResponseData added in v1.3.0

type LocalStoresAddResponseData struct {
	PoiList *[]string `json:"poi_list,omitempty"`
}

type LocalStoresAddressParsingResultGetRequest added in v1.3.0

type LocalStoresAddressParsingResultGetRequest struct {
	AccountId        int64     `json:"account_id,omitempty"`
	StoreAddressList *[]string `json:"store_address_list,omitempty"`
}

type LocalStoresAddressParsingResultGetResponse added in v1.3.0

type LocalStoresAddressParsingResultGetResponse struct {
	Code      int64                                           `json:"code,omitempty"`
	Message   string                                          `json:"message,omitempty"`
	MessageCn string                                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                               `json:"errors,omitempty"`
	Data      *LocalStoresAddressParsingResultGetResponseData `json:"data,omitempty"`
}

type LocalStoresAddressParsingResultGetResponseData added in v1.3.0

type LocalStoresAddressParsingResultGetResponseData struct {
	SuccessList *[]SuccessPoiInfoStruct `json:"success_list,omitempty"`
	FailList    *[]string               `json:"fail_list,omitempty"`
}

type LocalStoresDeleteRequest added in v1.3.0

type LocalStoresDeleteRequest struct {
	AccountId int64     `json:"account_id,omitempty"`
	PoiList   *[]string `json:"poi_list,omitempty"`
}

type LocalStoresDeleteResponse added in v1.3.0

type LocalStoresDeleteResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *LocalStoresDeleteResponseData `json:"data,omitempty"`
}

type LocalStoresDeleteResponseData added in v1.3.0

type LocalStoresDeleteResponseData struct {
	PoiList *[]string `json:"poi_list,omitempty"`
}

type LocalStoresGetListStruct added in v1.3.0

type LocalStoresGetListStruct struct {
	PoiId              string    `json:"poi_id,omitempty"`
	LocalStoreName     string    `json:"local_store_name,omitempty"`
	LocalStoreProvince string    `json:"local_store_province,omitempty"`
	LocalStoreCity     string    `json:"local_store_city,omitempty"`
	LocalStoreAddress  string    `json:"local_store_address,omitempty"`
	CreatedTime        int64     `json:"created_time,omitempty"`
	LastModifiedTime   int64     `json:"last_modified_time,omitempty"`
	SystemStatus       SysStatus `json:"system_status,omitempty"`
}

返回结构

type LocalStoresGetResponse added in v1.3.0

type LocalStoresGetResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *LocalStoresGetResponseData `json:"data,omitempty"`
}

type LocalStoresGetResponseData added in v1.3.0

type LocalStoresGetResponseData struct {
	List     *[]LocalStoresGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                       `json:"page_info,omitempty"`
}

type LocalStoresSearchInfoGetListStruct added in v1.3.0

type LocalStoresSearchInfoGetListStruct struct {
	PoiId              string `json:"poi_id,omitempty"`
	LocalStoreName     string `json:"local_store_name,omitempty"`
	LocalStoreProvince string `json:"local_store_province,omitempty"`
	LocalStoreCity     string `json:"local_store_city,omitempty"`
	LocalStoreAddress  string `json:"local_store_address,omitempty"`
}

返回结构

type LocalStoresSearchInfoGetResponse added in v1.3.0

type LocalStoresSearchInfoGetResponse struct {
	Code      int64                                 `json:"code,omitempty"`
	Message   string                                `json:"message,omitempty"`
	MessageCn string                                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                     `json:"errors,omitempty"`
	Data      *LocalStoresSearchInfoGetResponseData `json:"data,omitempty"`
}

type LocalStoresSearchInfoGetResponseData added in v1.3.0

type LocalStoresSearchInfoGetResponseData struct {
	List     *[]LocalStoresSearchInfoGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                                 `json:"page_info,omitempty"`
}

type LocalUpdateRequest added in v1.4.0

type LocalUpdateRequest struct {
	AccountId  int64                 `json:"account_id,omitempty"`
	AdgroupId  int64                 `json:"adgroup_id,omitempty"`
	Adgroup    *AdgroupUpdateSpec    `json:"adgroup,omitempty"`
	Campaign   *CampaignUpdateSpec   `json:"campaign,omitempty"`
	Adcreative *AdCreativeUpdateSpec `json:"adcreative,omitempty"`
}

type LocalUpdateResponse added in v1.4.0

type LocalUpdateResponse struct {
	Code      int64                    `json:"code,omitempty"`
	Message   string                   `json:"message,omitempty"`
	MessageCn string                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct        `json:"errors,omitempty"`
	Data      *LocalUpdateResponseData `json:"data,omitempty"`
}

type LocalUpdateResponseData added in v1.4.0

type LocalUpdateResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type LocardBehaviorsListItem

type LocardBehaviorsListItem struct {
	Id   string `json:"id,omitempty"`
	Text string `json:"text,omitempty"`
}

罗卡行为标签

type LocardInterestsListItem

type LocardInterestsListItem struct {
	Id   string `json:"id,omitempty"`
	Text string `json:"text,omitempty"`
}

罗卡兴趣标签

type LongVideoStruct

type LongVideoStruct struct {
	LongVideo1 int64 `json:"long_video1,omitempty"`
	LongVideo2 int64 `json:"long_video2,omitempty"`
}

完整视频结构

type LookalikeSpec

type LookalikeSpec struct {
	SeedAudienceId  int64 `json:"seed_audience_id,omitempty"`
	ExpandUserCount int64 `json:"expand_user_count,omitempty"`
}

Lookalike人群信息

type ManualAdjustment added in v1.4.1

type ManualAdjustment struct {
	SizeAdjustment   *SizeAdjustment   `json:"size_adjustment,omitempty"`
	LengthAdjustment *LengthAdjustment `json:"length_adjustment,omitempty"`
	MusicAdjustment  *MusicAdjustment  `json:"music_adjustment,omitempty"`
}

手工调整视频

type MatchRuleType

type MatchRuleType string

MatchRuleType : 匹配规则类型

const (
	MatchRuleType_URL    MatchRuleType = "URL"
	MatchRuleType_ACTION MatchRuleType = "ACTION"
)

List of MatchRuleType

type MediaSourceType

type MediaSourceType string

MediaSourceType : 视频来源

const (
	MediaSourceType_UNSUPPORTED     MediaSourceType = "SOURCE_TYPE_UNSUPPORTED"
	MediaSourceType_LOCAL           MediaSourceType = "SOURCE_TYPE_LOCAL"
	MediaSourceType_API             MediaSourceType = "SOURCE_TYPE_API"
	MediaSourceType_VIDEO_MAKER_XSJ MediaSourceType = "SOURCE_TYPE_VIDEO_MAKER_XSJ"
	MediaSourceType_TCC             MediaSourceType = "SOURCE_TYPE_TCC"
)

List of MediaSourceType

type MediaSystemStatus

type MediaSystemStatus string

MediaSystemStatus : 转码状态

const (
	MediaSystemStatus_VALID   MediaSystemStatus = "MEDIA_STATUS_VALID"
	MediaSystemStatus_PENDING MediaSystemStatus = "MEDIA_STATUS_PENDING"
	MediaSystemStatus_ERROR   MediaSystemStatus = "MEDIA_STATUS_ERROR"
)

List of MediaSystemStatus

type MediaType

type MediaType string

MediaType : 视频类型

const (
	MediaType_MEDIA_TYPE_MP4 MediaType = "MEDIA_TYPE_MP4"
	MediaType_MEDIA_TYPE_AVI MediaType = "MEDIA_TYPE_AVI"
	MediaType_MEDIA_TYPE_MOV MediaType = "MEDIA_TYPE_MOV"
	MediaType_MEDIA_TYPE_FLV MediaType = "MEDIA_TYPE_FLV"
	MediaType_VIDEO_TYPE_MP4 MediaType = "VIDEO_TYPE_MP4"
	MediaType_VIDEO_TYPE_AVI MediaType = "VIDEO_TYPE_AVI"
	MediaType_VIDEO_TYPE_MOV MediaType = "VIDEO_TYPE_MOV"
)

List of MediaType

type Memo

type Memo struct {
	WechatFundSpec *WechatFundSpec `json:"wechat_fund_spec,omitempty"`
}

更多信息

type MetricDetailData added in v1.4.0

type MetricDetailData struct {
	Cost                  int64 `json:"cost,omitempty"`
	ExpPv                 int64 `json:"exp_pv,omitempty"`
	CanvasCpnCouponsGetPv int64 `json:"canvas_cpn_coupons_get_pv,omitempty"`
	CanvasCpnCouponsCost  int64 `json:"canvas_cpn_coupons_cost,omitempty"`
	CanvasCpnCouponsUsePv int64 `json:"canvas_cpn_coupons_use_pv,omitempty"`
	Purchase              int64 `json:"purchase,omitempty"`
}

报表效果数据

type Metrics added in v1.4.1

type Metrics struct {
	VideoOuterPlayIndex  float64 `json:"video_outer_play_index,omitempty"`
	VideoOuterClickIndex float64 `json:"video_outer_click_index,omitempty"`
	VideoOffsetIndex     float64 `json:"video_offset_index,omitempty"`
}

数据指标

type MiniGameProgramSpec

type MiniGameProgramSpec struct {
	Title             string `json:"title,omitempty"`
	MiniGameProgramId string `json:"mini_game_program_id,omitempty"`
}

小游戏信息

type MiniGameSpec

type MiniGameSpec struct {
	MiniGameTrackingParameter string `json:"mini_game_tracking_parameter,omitempty"`
}

小游戏落地页信息

type MiniGameWechatSpec added in v1.4.1

type MiniGameWechatSpec struct {
	MiniGameProgramId string `json:"mini_game_program_id,omitempty"`
}

微信小游戏信息

type MiniParamMatcherGroup

type MiniParamMatcherGroup struct {
	ParamMatcher *[]ParamMatcher `json:"param_matcher,omitempty"`
}

匹配规则组

type MiniProgramSpec

type MiniProgramSpec struct {
	Title           string `json:"title,omitempty"`
	MiniProgramId   string `json:"mini_program_id,omitempty"`
	MiniProgramPath string `json:"mini_program_path,omitempty"`
}

小程序信息

type MiniprogramAmount

type MiniprogramAmount struct {
	ReceivedAmount  int64 `json:"received_amount,omitempty"`
	UsedAmount      int64 `json:"used_amount,omitempty"`
	LockedAmount    int64 `json:"locked_amount,omitempty"`
	RepaidAmount    int64 `json:"repaid_amount,omitempty"`
	NeedRepayAmount int64 `json:"need_repay_amount,omitempty"`
}

小程序启动金更多信息

type MpInfoRead

type MpInfoRead struct {
	WechatAccountId        string                     `json:"wechat_account_id,omitempty"`
	WechatAccountName      string                     `json:"wechat_account_name,omitempty"`
	SystemStatus           WechatCustomerSystemStatus `json:"system_status,omitempty"`
	IndustryName           string                     `json:"industry_name,omitempty"`
	ContactPerson          string                     `json:"contact_person,omitempty"`
	ContactPersonTelephone string                     `json:"contact_person_telephone,omitempty"`
	BusinessType           WechatBusinessType         `json:"business_type,omitempty"`
	BusinessContent        string                     `json:"business_content,omitempty"`
	RejectMessage          string                     `json:"reject_message,omitempty"`
	ProfilePhoto           string                     `json:"profile_photo,omitempty"`
	BrandIntroduction      string                     `json:"brand_introduction,omitempty"`
	IntroductionUrl        string                     `json:"introduction_url,omitempty"`
	SystemIndustryId       int64                      `json:"system_industry_id,omitempty"`
}

<p>微信广告开户信息,满足如下条件时使用</p><li>输入参数 account_id 不为空时使用</li><li>微信公众号开通广告业务或开通通用账号权限</li>

type MpInfoUpdate

type MpInfoUpdate struct {
	SystemIndustryId       int64              `json:"system_industry_id,omitempty"`
	ContactPerson          string             `json:"contact_person,omitempty"`
	ContactPersonTelephone string             `json:"contact_person_telephone,omitempty"`
	BusinessType           WechatBusinessType `json:"business_type,omitempty"`
	BusinessContent        string             `json:"business_content,omitempty"`
	Name                   string             `json:"name,omitempty"`
	ProfilePhoto           string             `json:"profile_photo,omitempty"`
	BrandIntroduction      string             `json:"brand_introduction,omitempty"`
	IntroductionUrl        string             `json:"introduction_url,omitempty"`
}

<p>微信广告开户信息,当输入参数 account_id 不为空时使用, 用于微信公众号开通微信广告业务(需提前绑定公众号),或开通微信通用账号业务,其中通用账号能力为邀请制开放。</p><li>公众号开通广告业务:绑定公众号后,如绑定的微信公众账号尚未开通广告服务,可通过填写该结构进行开通,其中 system_industry_id、contact_person、contact_person_telephone 必填。</li><li>通用账号业务:除business_type,business_content字段外,均为必填字段。</li><li>账号信息修改:可通过填写该结构进行信息修正,但当且仅当微信广告信息审核拒绝时,才允许进行更新</li>

type MusicAdjustment added in v1.4.1

type MusicAdjustment struct {
	MusicAdjustmentMethod MusicAdjustmentMethodEnum `json:"music_adjustment_method,omitempty"`
}

添加背景音乐

type MusicAdjustmentMethodEnum added in v1.4.1

type MusicAdjustmentMethodEnum string

MusicAdjustmentMethodEnum : 添加音乐方式:推荐音乐

const (
	MusicAdjustmentMethodEnum_RECOMMENDATION MusicAdjustmentMethodEnum = "RECOMMENDATION"
)

List of MusicAdjustmentMethodEnum

type NoInterestClickRateStruct added in v1.3.0

type NoInterestClickRateStruct struct {
	Value              string         `json:"value,omitempty"`
	Score              string         `json:"score,omitempty"`
	RankOverall        string         `json:"rank_overall,omitempty"`
	RankFirstCategory  string         `json:"rank_first_category,omitempty"`
	RankSecondCategory string         `json:"rank_second_category,omitempty"`
	SelfTrends         *[]PointStruct `json:"self_trends,omitempty"`
	BenchmarkTrends    *[]PointStruct `json:"benchmark_trends,omitempty"`
}

朋友圈广告不感兴趣点击率(is_wechat_moment为true有效)

type NumberRestriction

type NumberRestriction struct {
	Min int64 `json:"min,omitempty"`
	Max int64 `json:"max,omitempty"`
}

数值型需满足的限制条件,仅当element_type是ELEMENT_TYPE_INTEGER时返回

type OauthTokenResponse

type OauthTokenResponse struct {
	Code      int64                   `json:"code,omitempty"`
	Message   string                  `json:"message,omitempty"`
	MessageCn string                  `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct       `json:"errors,omitempty"`
	Data      *OauthTokenResponseData `json:"data,omitempty"`
}

type OauthTokenResponseData

type OauthTokenResponseData struct {
	AuthorizerInfo        *AuthorizerStruct `json:"authorizer_info,omitempty"`
	AccessToken           string            `json:"access_token,omitempty"`
	RefreshToken          string            `json:"refresh_token,omitempty"`
	AccessTokenExpiresIn  int64             `json:"access_token_expires_in,omitempty"`
	RefreshTokenExpiresIn int64             `json:"refresh_token_expires_in,omitempty"`
}

type OcpaCategoryLevel added in v1.3.0

type OcpaCategoryLevel string

OcpaCategoryLevel : 类目层级

const (
	OcpaCategoryLevel_FIRST_CATEGORY  OcpaCategoryLevel = "LEVEL_FIRST_CATEGORY"
	OcpaCategoryLevel_SECOND_CATEGORY OcpaCategoryLevel = "LEVEL_SECOND_CATEGORY"
	OcpaCategoryLevel_THIRD_CATEGORY  OcpaCategoryLevel = "LEVEL_THIRD_CATEGORY"
)

List of OcpaCategoryLevel

type OcpaLearningSpec

type OcpaLearningSpec struct {
	AdgroupIdList *[]int64 `json:"adgroup_id_list,omitempty"`
}

获取学习状态所需条件

type OperateSuggestion

type OperateSuggestion string

OperateSuggestion : 操作建议

const (
	OperateSuggestion_OBSERVATION OperateSuggestion = "OPERATE_SUGGESTION_OBSERVATION"
	OperateSuggestion_OPERATION   OperateSuggestion = "OPERATE_SUGGESTION_OPERATION"
	OperateSuggestion_PAUSE       OperateSuggestion = "OPERATE_SUGGESTION_PAUSE"
	OperateSuggestion_FINE_PLAY   OperateSuggestion = "OPERATE_SUGGESTION_FINE_PLAY"
)

List of OperateSuggestion

type OperationSpec

type OperationSpec struct {
	ConfigureStatusSpec *ConfigureStatusSpec `json:"configure_status_spec,omitempty"`
	BidAmountSpec       *BidAmountSpec       `json:"bid_amount_spec,omitempty"`
	DateSpec            *DateSpec            `json:"date_spec,omitempty"`
	TimeSeriesSpec      *TimeSeriesSpec      `json:"time_series_spec,omitempty"`
}

处理操作信息

type OperationType

type OperationType string

OperationType : 文件操作类型

const (
	OperationType_CREATE OperationType = "CREATE"
	OperationType_DELETE OperationType = "DELETE"
	OperationType_APPEND OperationType = "APPEND"
	OperationType_REDUCE OperationType = "REDUCE"
)

List of OperationType

type Operator

type Operator string

Operator : 运算符

const (
	Operator_LT          Operator = "LT"
	Operator_GT          Operator = "GT"
	Operator_EQ          Operator = "EQ"
	Operator_NE          Operator = "NE"
	Operator_CONTAIN     Operator = "CONTAIN"
	Operator_NOT_CONTAIN Operator = "NOT_CONTAIN"
)

List of Operator

type OptBidStruct

type OptBidStruct struct {
	AdjustBidStrategyFlag   bool   `json:"adjust_bid_strategy_flag,omitempty"`
	CurrentBidStrategy      string `json:"current_bid_strategy,omitempty"`
	OptimizeBidStrategy     string `json:"optimize_bid_strategy,omitempty"`
	AdjustBidAmountFlag     bool   `json:"adjust_bid_amount_flag,omitempty"`
	CurrentBidAmount        int64  `json:"current_bid_amount,omitempty"`
	OptimizeBidAmount       int64  `json:"optimize_bid_amount,omitempty"`
	AdjustDeepBidAmountFlag bool   `json:"adjust_deep_bid_amount_flag,omitempty"`
	CurrentDeepBidAmount    int64  `json:"current_deep_bid_amount,omitempty"`
	OptimizeDeepBidAmount   int64  `json:"optimize_deep_bid_amount,omitempty"`
}

出价优化

type OptBudgetStruct

type OptBudgetStruct struct {
	RaiseDayBudgetFlag            bool  `json:"raise_day_budget_flag,omitempty"`
	CurrentAdgroupDayBudget       int64 `json:"current_adgroup_day_budget,omitempty"`
	CurrentCampaignDayBudget      int64 `json:"current_campaign_day_budget,omitempty"`
	CurrentAccountDayBudget       int64 `json:"current_account_day_budget,omitempty"`
	AdgroupCostDaily              int64 `json:"adgroup_cost_daily,omitempty"`
	CampaignCostDaily             int64 `json:"campaign_cost_daily,omitempty"`
	AccountCostDaily              int64 `json:"account_cost_daily,omitempty"`
	AdgroupBalance                int64 `json:"adgroup_balance,omitempty"`
	CampaignBalance               int64 `json:"campaign_balance,omitempty"`
	AccountBalance                int64 `json:"account_balance,omitempty"`
	OptimizeAdgroupDayBudgetFlag  bool  `json:"optimize_adgroup_day_budget_flag,omitempty"`
	OptimizeCampaignDayBudgetFlag bool  `json:"optimize_campaign_day_budget_flag,omitempty"`
	OptimizeAccountDayBudgetFlag  bool  `json:"optimize_account_day_budget_flag,omitempty"`
	OptimizeAdgroupDayBudget      int64 `json:"optimize_adgroup_day_budget,omitempty"`
	OptimizeCampaignDayBudget     int64 `json:"optimize_campaign_day_budget,omitempty"`
	OptimizeAccountDayBudget      int64 `json:"optimize_account_day_budget,omitempty"`
	RaiseAccountBalanceFlag       bool  `json:"raise_account_balance_flag,omitempty"`
	RecommendRecharge             int64 `json:"recommend_recharge,omitempty"`
}

预算优化

type OptTargetingStruct

type OptTargetingStruct struct {
	OpenAutoExpandFlag                   bool                       `json:"open_auto_expand_flag,omitempty"`
	ExpandTargetingRule                  *[]string                  `json:"expand_targeting_rule,omitempty"`
	OpenExpandSeedPopulationFlag         bool                       `json:"open_expand_seed_population_flag,omitempty"`
	OpenExpandSeedPopulationSelectedFlag bool                       `json:"open_expand_seed_population_selected_flag,omitempty"`
	ExpandSeedPopulations                *[]int64                   `json:"expand_seed_populations,omitempty"`
	AddMoreLocardLabelsFlag              bool                       `json:"add_more_locard_labels_flag,omitempty"`
	LocardBehaviors                      *[]LocardBehaviorsListItem `json:"locard_behaviors,omitempty"`
	LocardInterests                      *[]LocardInterestsListItem `json:"locard_interests,omitempty"`
}

定向优化

type OptimizationGoal

type OptimizationGoal string

OptimizationGoal : 广告优化目标类型

const (
	OptimizationGoal_NONE                                OptimizationGoal = "OPTIMIZATIONGOAL_NONE"
	OptimizationGoal_BRAND_CONVERSION                    OptimizationGoal = "OPTIMIZATIONGOAL_BRAND_CONVERSION"
	OptimizationGoal_FOLLOW                              OptimizationGoal = "OPTIMIZATIONGOAL_FOLLOW"
	OptimizationGoal_CLICK                               OptimizationGoal = "OPTIMIZATIONGOAL_CLICK"
	OptimizationGoal_IMPRESSION                          OptimizationGoal = "OPTIMIZATIONGOAL_IMPRESSION"
	OptimizationGoal_APP_DOWNLOAD                        OptimizationGoal = "OPTIMIZATIONGOAL_APP_DOWNLOAD"
	OptimizationGoal_APP_ACTIVATE                        OptimizationGoal = "OPTIMIZATIONGOAL_APP_ACTIVATE"
	OptimizationGoal_APP_REGISTER                        OptimizationGoal = "OPTIMIZATIONGOAL_APP_REGISTER"
	OptimizationGoal_ONE_DAY_RETENTION                   OptimizationGoal = "OPTIMIZATIONGOAL_ONE_DAY_RETENTION"
	OptimizationGoal_APP_PURCHASE                        OptimizationGoal = "OPTIMIZATIONGOAL_APP_PURCHASE"
	OptimizationGoal_ECOMMERCE_ORDER                     OptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_ORDER"
	OptimizationGoal_ECOMMERCE_CHECKOUT                  OptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_CHECKOUT"
	OptimizationGoal_LEADS                               OptimizationGoal = "OPTIMIZATIONGOAL_LEADS"
	OptimizationGoal_ECOMMERCE_CART                      OptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_CART"
	OptimizationGoal_PROMOTION_CLICK_KEY_PAGE            OptimizationGoal = "OPTIMIZATIONGOAL_PROMOTION_CLICK_KEY_PAGE"
	OptimizationGoal_VIEW_COMMODITY_PAGE                 OptimizationGoal = "OPTIMIZATIONGOAL_VIEW_COMMODITY_PAGE"
	OptimizationGoal_ONLINE_CONSULTATION                 OptimizationGoal = "OPTIMIZATIONGOAL_ONLINE_CONSULTATION"
	OptimizationGoal_TELEPHONE_CONSULTATION              OptimizationGoal = "OPTIMIZATIONGOAL_TELEPHONE_CONSULTATION"
	OptimizationGoal_PAGE_RESERVATION                    OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_RESERVATION"
	OptimizationGoal_DELIVERY                            OptimizationGoal = "OPTIMIZATIONGOAL_DELIVERY"
	OptimizationGoal_MESSAGE_AFTER_FOLLOW                OptimizationGoal = "OPTIMIZATIONGOAL_MESSAGE_AFTER_FOLLOW"
	OptimizationGoal_CLICK_MENU_AFTER_FOLLOW             OptimizationGoal = "OPTIMIZATIONGOAL_CLICK_MENU_AFTER_FOLLOW"
	OptimizationGoal_PAGE_EFFECTIVE_ONLINE_CONSULT       OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_EFFECTIVE_ONLINE_CONSULT"
	OptimizationGoal_PAGE_EFFECTIVE_PHONE_CALL           OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_EFFECTIVE_PHONE_CALL"
	OptimizationGoal_CLICK_KEY_PAGE                      OptimizationGoal = "OPTIMIZATIONGOAL_CLICK_KEY_PAGE"
	OptimizationGoal_MOBILE_APP_START                    OptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_START"
	OptimizationGoal_PAGE_DELIVER                        OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_DELIVER"
	OptimizationGoal_PAGE_MAKE_PHONE_CALL                OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_MAKE_PHONE_CALL"
	OptimizationGoal_PAGE_ONLINE_CONSULT                 OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_ONLINE_CONSULT"
	OptimizationGoal_MOBILE_APP_CHECKOUT                 OptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_CHECKOUT"
	OptimizationGoal_APP_INSTALL                         OptimizationGoal = "OPTIMIZATIONGOAL_APP_INSTALL"
	OptimizationGoal_CONFIRM_EFFECTIVE_LEADS_CONSULT     OptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_CONSULT"
	OptimizationGoal_CONFIRM_EFFECTIVE_LEADS_PHONE       OptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_PHONE"
	OptimizationGoal_LEADS_COLLECT                       OptimizationGoal = "OPTIMIZATIONGOAL_LEADS_COLLECT"
	OptimizationGoal_FIRST_PURCHASE                      OptimizationGoal = "OPTIMIZATIONGOAL_FIRST_PURCHASE"
	OptimizationGoal_APPLY                               OptimizationGoal = "OPTIMIZATIONGOAL_APPLY"
	OptimizationGoal_PRE_CREDIT                          OptimizationGoal = "OPTIMIZATIONGOAL_PRE_CREDIT"
	OptimizationGoal_CREDIT                              OptimizationGoal = "OPTIMIZATIONGOAL_CREDIT"
	OptimizationGoal_WITHDRAW_DEPOSITS                   OptimizationGoal = "OPTIMIZATIONGOAL_WITHDRAW_DEPOSITS"
	OptimizationGoal_PROMOTION_VIEW_KEY_PAGE             OptimizationGoal = "OPTIMIZATIONGOAL_PROMOTION_VIEW_KEY_PAGE"
	OptimizationGoal_MOBILE_APP_CREATE_ROLE              OptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_CREATE_ROLE"
	OptimizationGoal_CANVAS_CLICK                        OptimizationGoal = "OPTIMIZATIONGOAL_CANVAS_CLICK"
	OptimizationGoal_PROMOTION_CLAIM_OFFER               OptimizationGoal = "OPTIMIZATIONGOAL_PROMOTION_CLAIM_OFFER"
	OptimizationGoal_ECOMMERCE_ADD_TO_WISHLIST           OptimizationGoal = "OPTIMIZATIONGOAL_ECOMMERCE_ADD_TO_WISHLIST"
	OptimizationGoal_CONFIRM_EFFECTIVE_LEADS_RESERVATION OptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_EFFECTIVE_LEADS_RESERVATION"
	OptimizationGoal_PAGE_RECEIPT                        OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_RECEIPT"
	OptimizationGoal_PAGE_SCAN_CODE                      OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_SCAN_CODE"
	OptimizationGoal_SELECT_COURSE                       OptimizationGoal = "OPTIMIZATIONGOAL_SELECT_COURSE"
	OptimizationGoal_CONFIRM_POTENTIAL_CUSTOMER_PHONE    OptimizationGoal = "OPTIMIZATIONGOAL_CONFIRM_POTENTIAL_CUSTOMER_PHONE"
	OptimizationGoal_MOBILE_APP_AD_INCOME                OptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_AD_INCOME"
	OptimizationGoal_MOBILE_APP_ACCREDIT                 OptimizationGoal = "OPTIMIZATIONGOAL_MOBILE_APP_ACCREDIT"
	OptimizationGoal_PURCHASE_MEMBER_CARD                OptimizationGoal = "OPTIMIZATIONGOAL_PURCHASE_MEMBER_CARD"
	OptimizationGoal_PAGE_CONFIRM_EFFECTIVE_LEADS        OptimizationGoal = "OPTIMIZATIONGOAL_PAGE_CONFIRM_EFFECTIVE_LEADS"
	OptimizationGoal_ADD_DESKTOP                         OptimizationGoal = "OPTIMIZATIONGOAL_ADD_DESKTOP"
	OptimizationGoal_RESERVATION                         OptimizationGoal = "OPTIMIZATIONGOAL_RESERVATION"
	OptimizationGoal_FIRST_ECOMMERCE_ORDER               OptimizationGoal = "OPTIMIZATIONGOAL_FIRST_ECOMMERCE_ORDER"
	OptimizationGoal_LIKE                                OptimizationGoal = "OPTIMIZATIONGOAL_LIKE"
)

List of OptimizationGoal

type OptimizationGoalPermissionsGetResponse

type OptimizationGoalPermissionsGetResponse struct {
	Code      int64                                       `json:"code,omitempty"`
	Message   string                                      `json:"message,omitempty"`
	MessageCn string                                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                           `json:"errors,omitempty"`
	Data      *OptimizationGoalPermissionsGetResponseData `json:"data,omitempty"`
}

type OptimizationGoalPermissionsGetResponseData

type OptimizationGoalPermissionsGetResponseData struct {
	OptimizationGoalPermissionList             *[]string                                       `json:"optimization_goal_permission_list,omitempty"`
	DeepBehaviorOptimizationGoalPermissionList *[]DeepBehaviorOptimizationGoalPermissionStruct `json:"deep_behavior_optimization_goal_permission_list,omitempty"`
	DeepWorthOptimizationGoalPermissionList    *[]DeepWorthOptimizationGoalPermissionStruct    `json:"deep_worth_optimization_goal_permission_list,omitempty"`
}

type OptimizeContentMainStruct

type OptimizeContentMainStruct struct {
	Status           *OptimizeSubStatusStruct  `json:"status,omitempty"`
	OptimizeContents *OptimizeSubContentStruct `json:"optimize_contents,omitempty"`
}

诊断详情-优化操作明细

type OptimizeStatus

type OptimizeStatus string

OptimizeStatus : 优化状态

const (
	OptimizeStatus_NONE     OptimizeStatus = "OPTIMIZE_STATUS_NONE"
	OptimizeStatus_PENDING  OptimizeStatus = "OPTIMIZE_STATUS_PENDING"
	OptimizeStatus_FINISHED OptimizeStatus = "OPTIMIZE_STATUS_FINISHED"
)

List of OptimizeStatus

type OptimizeSubContentStruct

type OptimizeSubContentStruct struct {
	Targeting *OptTargetingStruct `json:"targeting,omitempty"`
	Bid       *OptBidStruct       `json:"bid,omitempty"`
	Budget    *OptBudgetStruct    `json:"budget,omitempty"`
}

优化内容

type OptimizeSubStatusStruct

type OptimizeSubStatusStruct struct {
	Targeting                 OptimizeStatus `json:"targeting,omitempty"`
	TargetingExpand           OptimizeStatus `json:"targeting_expand,omitempty"`
	TargetingLocard           OptimizeStatus `json:"targeting_locard,omitempty"`
	Bid                       OptimizeStatus `json:"bid,omitempty"`
	BidStrategy               OptimizeStatus `json:"bid_strategy,omitempty"`
	BidAmount                 OptimizeStatus `json:"bid_amount,omitempty"`
	Budget                    OptimizeStatus `json:"budget,omitempty"`
	DailyBudget               OptimizeStatus `json:"daily_budget,omitempty"`
	AccountBalance            OptimizeStatus `json:"account_balance,omitempty"`
	TargetingStatusDesc       string         `json:"targeting_status_desc,omitempty"`
	TargetingExpandStatusDesc string         `json:"targeting_expand_status_desc,omitempty"`
	TargetingLocardStatusDesc string         `json:"targeting_locard_status_desc,omitempty"`
	BidStatusDesc             string         `json:"bid_status_desc,omitempty"`
	BidStrategyStatusDesc     string         `json:"bid_strategy_status_desc,omitempty"`
	BidAmountStatusDesc       string         `json:"bid_amount_status_desc,omitempty"`
	BudgetStatusDesc          string         `json:"budget_status_desc,omitempty"`
	DailyBudgetStatusDesc     string         `json:"daily_budget_status_desc,omitempty"`
	AccountBalanceStatusDesc  string         `json:"account_balance_status_desc,omitempty"`
}

优化状态(0: 无需优化 'OPTIMIZE_STATUS_NONE', 1: 待优化 'OPTIMIZE_STATUS_PENDING', 2: 已优化 'OPTIMIZE_STATUS_FINISHED')

type OrderByStruct

type OrderByStruct struct {
	SortField string  `json:"sort_field,omitempty"`
	SortType  Sortord `json:"sort_type,omitempty"`
}

排序字段结构

type OrderDeliverySpec

type OrderDeliverySpec struct {
	DeliveryTrackingNumber string                  `json:"delivery_tracking_number,omitempty"`
	ExpressCompany         ExpressCompany          `json:"express_company,omitempty"`
	DeliveryInfoList       *[]DeliveryDetailStruct `json:"delivery_info_list,omitempty"`
}

物流详情

type OverrideCanvasHeadOption added in v1.3.0

type OverrideCanvasHeadOption string

OverrideCanvasHeadOption : 原生推广页顶部素材和广告创意素材之间的替换关系,(仅在朋友圈广告使用原生推广页情况下有效)

const (
	OverrideCanvasHeadOption_CANVAS_OVERRIDE_CREATIVE OverrideCanvasHeadOption = "OPTION_CANVAS_OVERRIDE_CREATIVE"
	OverrideCanvasHeadOption_CREATIVE_OVERRIDE_CANVAS OverrideCanvasHeadOption = "OPTION_CREATIVE_OVERRIDE_CANVAS"
	OverrideCanvasHeadOption_KEEP_DIFFERENT           OverrideCanvasHeadOption = "OPTION_KEEP_DIFFERENT"
)

List of OverrideCanvasHeadOption

type PackageAuditStatus

type PackageAuditStatus string

PackageAuditStatus : 渠道包审核结果状态

const (
	PackageAuditStatus_DIRTY_WORD            PackageAuditStatus = "AUDIT_STATUS_DIRTY_WORD"
	PackageAuditStatus_PIRATED_SIGNATURE     PackageAuditStatus = "AUDIT_STATUS_PIRATED_SIGNATURE"
	PackageAuditStatus_VIRUS                 PackageAuditStatus = "AUDIT_STATUS_VIRUS"
	PackageAuditStatus_ADMINISTRATOR_DELETE  PackageAuditStatus = "AUDIT_STATUS_ADMINISTRATOR_DELETE"
	PackageAuditStatus_MISS_RESOURCE         PackageAuditStatus = "AUDIT_STATUS_MISS_RESOURCE"
	PackageAuditStatus_REJECT                PackageAuditStatus = "AUDIT_STATUS_REJECT"
	PackageAuditStatus_GO_ILLEGAL            PackageAuditStatus = "AUDIT_STATUS_GO_ILLEGAL"
	PackageAuditStatus_OFFLINE               PackageAuditStatus = "AUDIT_STATUS_OFFLINE"
	PackageAuditStatus_INTERNAL_SERVER_ERROR PackageAuditStatus = "AUDIT_STATUS_INTERNAL_SERVER_ERROR"
	PackageAuditStatus_ONLINE                PackageAuditStatus = "AUDIT_STATUS_ONLINE"
	PackageAuditStatus_NEW_VERSION           PackageAuditStatus = "AUDIT_STATUS_NEW_VERSION"
)

List of PackageAuditStatus

type PackageLevel added in v1.3.0

type PackageLevel string

PackageLevel : 套餐级别

const (
	PackageLevel_UNKNOWN PackageLevel = "PACKAGE_LEVEL_UNKNOWN"
	PackageLevel_2000    PackageLevel = "PACKAGE_LEVEL_2000"
	PackageLevel_5000    PackageLevel = "PACKAGE_LEVEL_5000"
	PackageLevel_9000    PackageLevel = "PACKAGE_LEVEL_9000"
)

List of PackageLevel

type PackageStatus

type PackageStatus string

PackageStatus : 渠道包在系统中的状态

const (
	PackageStatus_NORMAL         PackageStatus = "PACKAGE_STATUS_NORMAL"
	PackageStatus_PENDING        PackageStatus = "PACKAGE_STATUS_PENDING"
	PackageStatus_DENIED         PackageStatus = "PACKAGE_STATUS_DENIED"
	PackageStatus_UPDATE_DENIED  PackageStatus = "PACKAGE_STATUS_UPDATE_DENIED"
	PackageStatus_OFFLINE        PackageStatus = "PACKAGE_STATUS_OFFLINE"
	PackageStatus_DISABLE        PackageStatus = "PACKAGE_STATUS_DISABLE"
	PackageStatus_REVIEW_PENDING PackageStatus = "PACKAGE_STATUS_REVIEW_PENDING"
)

List of PackageStatus

type PackageSysStatus added in v1.1.1

type PackageSysStatus string

PackageSysStatus : 渠道包状态

const (
	PackageSysStatus_PENDING PackageSysStatus = "CHANNEL_PACKAGE_STATUS_PENDING"
	PackageSysStatus_NORMAL  PackageSysStatus = "CHANNEL_PACKAGE_STATUS_NORMAL"
	PackageSysStatus_DENIED  PackageSysStatus = "CHANNEL_PACKAGE_STATUS_DENIED"
	PackageSysStatus_OFFLINE PackageSysStatus = "CHANNEL_PACKAGE_STATUS_OFFLINE"
)

List of PackageSysStatus

type PageAuditStatus added in v1.3.0

type PageAuditStatus string

PageAuditStatus : 蹊径落地页状态

const (
	PageAuditStatus_EDITING  PageAuditStatus = "LANDING_PAGE_STATUS_EDITING"
	PageAuditStatus_PENDING  PageAuditStatus = "LANDING_PAGE_STATUS_PENDING"
	PageAuditStatus_APPROVED PageAuditStatus = "LANDING_PAGE_STATUS_APPROVED"
	PageAuditStatus_REJECTED PageAuditStatus = "LANDING_PAGE_STATUS_REJECTED"
	PageAuditStatus_DELETED  PageAuditStatus = "LANDING_PAGE_STATUS_DELETED"
)

List of PageAuditStatus

type PageElementsStruct

type PageElementsStruct struct {
	ElementShelf   *ElementShelf      `json:"element_shelf,omitempty"`
	ElementFloat   *ElementFloat      `json:"element_float,omitempty"`
	ElementGoods   *ElementGoods      `json:"element_goods,omitempty"`
	ElementSwipe   *ElementSwipe      `json:"element_swipe,omitempty"`
	ElementWebview *ElementWebview    `json:"element_webview,omitempty"`
	ImageSpec      *ElementImage      `json:"image_spec,omitempty"`
	VideoSpec      *ElementVideo      `json:"video_spec,omitempty"`
	TextSpec       *ElementText       `json:"text_spec,omitempty"`
	ButtonSpec     *ElementButtonRead `json:"button_spec,omitempty"`
	FormSpec       *ElementForm       `json:"form_spec,omitempty"`
	ElementType    PageElementsType   `json:"element_type,omitempty"`
}

组件素材内容,组件的同步顺序与原生页的展示顺序一致,即第一个同步组件为顶部展示元素

type PageElementsType

type PageElementsType string

PageElementsType : 原生页中组件类型

const (
	PageElementsType_IMAGE                    PageElementsType = "IMAGE"
	PageElementsType_VIDEO                    PageElementsType = "VIDEO"
	PageElementsType_TEXT                     PageElementsType = "TEXT"
	PageElementsType_BUTTON                   PageElementsType = "BUTTON"
	PageElementsType_FORM                     PageElementsType = "FORM"
	PageElementsType_CAROUSEL                 PageElementsType = "CAROUSEL"
	PageElementsType_ELEMENT_TYPE_UNSUPPORTED PageElementsType = "ELEMENT_TYPE_UNSUPPORTED"
	PageElementsType_CARD_ROTATE_IMAGE        PageElementsType = "CARD_ROTATE_IMAGE"
	PageElementsType_SHELF                    PageElementsType = "SHELF"
	PageElementsType_FLOAT_BUTTON             PageElementsType = "FLOAT_BUTTON"
	PageElementsType_GOODS                    PageElementsType = "GOODS"
	PageElementsType_COMMON_COMPONENT         PageElementsType = "COMMON_COMPONENT"
	PageElementsType_SWIPE_WEBVIEW            PageElementsType = "SWIPE_WEBVIEW"
	PageElementsType_WEBVIEW                  PageElementsType = "WEBVIEW"
)

List of PageElementsType

type PageInfo

type PageInfo struct {
	Page        int64 `json:"page,omitempty"`
	PageSize    int64 `json:"page_size,omitempty"`
	TotalNumber int64 `json:"total_number,omitempty"`
	TotalPage   int64 `json:"total_page,omitempty"`
}

分页配置信息

type PageOperateResponses

type PageOperateResponses struct {
	PageServiceId string `json:"page_service_id,omitempty"`
	Code          int64  `json:"code,omitempty"`
	Message       string `json:"message,omitempty"`
}

创建页面返回数据结构

type PagePublishStatus added in v1.3.0

type PagePublishStatus string

PagePublishStatus : 蹊径落地页发布状态

const (
	PagePublishStatus_UNPUBLISH PagePublishStatus = "LANDING_PAGE_STATUS_UNPUBLISH"
	PagePublishStatus_PUBLISHED PagePublishStatus = "LANDING_PAGE_STATUS_PUBLISHED"
	PagePublishStatus_OFFLINE   PagePublishStatus = "LANDING_PAGE_STATUS_OFFLINE"
	PagePublishStatus_DELETING  PagePublishStatus = "LANDING_PAGE_STATUS_DELETING"
	PagePublishStatus_DELETED   PagePublishStatus = "LANDING_PAGE_STATUS_DELETED"
)

List of PagePublishStatus

type PageSource added in v1.4.1

type PageSource string

PageSource : 查询类型

const (
	PageSource_GRANT PageSource = "GRANT"
	PageSource_OWNER PageSource = "OWNER"
)

List of PageSource

type PageSpec

type PageSpec struct {
	PageId                   int64                      `json:"page_id,omitempty"`
	PageUrl                  string                     `json:"page_url,omitempty"`
	MiniProgramSpec          *AdcreativeMiniProgramSpec `json:"mini_program_spec,omitempty"`
	MiniGameSpec             *MiniGameSpec              `json:"mini_game_spec,omitempty"`
	OverrideCanvasHeadOption OverrideCanvasHeadOption   `json:"override_canvas_head_option,omitempty"`
}

落地页信息

type PageStruct added in v1.3.0

type PageStruct struct {
	PageId             int64             `json:"page_id,omitempty"`
	PageServiceId      string            `json:"page_service_id,omitempty"`
	PageName           string            `json:"page_name,omitempty"`
	PageType           PageType          `json:"page_type,omitempty"`
	PagePublishStatus  PagePublishStatus `json:"page_publish_status,omitempty"`
	PageStatus         PageAuditStatus   `json:"page_status,omitempty"`
	PageLastModifyTime string            `json:"page_last_modify_time,omitempty"`
	PageAccountId      int64             `json:"page_account_id,omitempty"`
}

获取落地页列表落地页数据结构

type PageType added in v1.3.0

type PageType string

PageType : 蹊径落地页类型

const (
	PageType_DEFAULT_H5         PageType = "XJ_DEFAULT_H5"
	PageType_ANDROID_APP_H5     PageType = "XJ_ANDROID_APP_H5"
	PageType_IOS_APP_H5         PageType = "XJ_IOS_APP_H5"
	PageType_WEBSITE_H5         PageType = "XJ_WEBSITE_H5"
	PageType_ANDROID_APP_NATIVE PageType = "XJ_ANDROID_APP_NATIVE"
	PageType_IOS_APP_NATIVE     PageType = "XJ_IOS_APP_NATIVE"
	PageType_WEBSITE_NATIVE     PageType = "XJ_WEBSITE_NATIVE"
	PageType_FENGLING_LBS       PageType = "XJ_FENGLING_LBS"
)

List of PageType

type PageTypeRead

type PageTypeRead string

PageTypeRead : 落地页类型

const (
	PageTypeRead_DEFAULT                         PageTypeRead = "PAGE_TYPE_DEFAULT"
	PageTypeRead_TSA_APP                         PageTypeRead = "PAGE_TYPE_TSA_APP"
	PageTypeRead_TSA_WEB_NONE_ECOMMERCE          PageTypeRead = "PAGE_TYPE_TSA_WEB_NONE_ECOMMERCE"
	PageTypeRead_FENGYE_ECOMMERCE                PageTypeRead = "PAGE_TYPE_FENGYE_ECOMMERCE"
	PageTypeRead_CANVAS                          PageTypeRead = "PAGE_TYPE_CANVAS"
	PageTypeRead_MINI_PROGRAM                    PageTypeRead = "PAGE_TYPE_MINI_PROGRAM"
	PageTypeRead_CANVAS_WECHAT                   PageTypeRead = "PAGE_TYPE_CANVAS_WECHAT"
	PageTypeRead_MINI_PROGRAM_WECHAT             PageTypeRead = "PAGE_TYPE_MINI_PROGRAM_WECHAT"
	PageTypeRead_UNSUPPORTED                     PageTypeRead = "PAGE_TYPE_UNSUPPORTED"
	PageTypeRead_MINI_GAME_WECHAT                PageTypeRead = "PAGE_TYPE_MINI_GAME_WECHAT"
	PageTypeRead_MINI_PROGRAM_QQ                 PageTypeRead = "PAGE_TYPE_MINI_PROGRAM_QQ"
	PageTypeRead_MINI_GAME_QQ                    PageTypeRead = "PAGE_TYPE_MINI_GAME_QQ"
	PageTypeRead_MINI_PROGRAM_CANVAS_WECHAT      PageTypeRead = "PAGE_TYPE_MINI_PROGRAM_CANVAS_WECHAT"
	PageTypeRead_MOMENTS_SIMPLE_NATIVE_WECHAT    PageTypeRead = "PAGE_TYPE_MOMENTS_SIMPLE_NATIVE_WECHAT"
	PageTypeRead_FULL_SCREEN_WECHAT              PageTypeRead = "PAGE_TYPE_FULL_SCREEN_WECHAT"
	PageTypeRead_YUEBAO_QUICKAPP                 PageTypeRead = "PAGE_TYPE_YUEBAO_QUICKAPP"
	PageTypeRead_YUEBAO_OFFICIAL_ACCOUNT_ARTICLE PageTypeRead = "PAGE_TYPE_YUEBAO_OFFICIAL_ACCOUNT_ARTICLE"
)

List of PageTypeRead

type PagesGetListStruct

type PagesGetListStruct struct {
	PageId           int64               `json:"page_id,omitempty"`
	PageName         string              `json:"page_name,omitempty"`
	PreviewUrl       string              `json:"preview_url,omitempty"`
	CreatedTime      int64               `json:"created_time,omitempty"`
	LastModifiedTime int64               `json:"last_modified_time,omitempty"`
	PromotedObjectId string              `json:"promoted_object_id,omitempty"`
	ProductCatalogId int64               `json:"product_catalog_id,omitempty"`
	PageType         DestinationTypeRead `json:"page_type,omitempty"`
}

返回结构

type PagesGetResponse

type PagesGetResponse struct {
	Code      int64                 `json:"code,omitempty"`
	Message   string                `json:"message,omitempty"`
	MessageCn string                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct     `json:"errors,omitempty"`
	Data      *PagesGetResponseData `json:"data,omitempty"`
}

type PagesGetResponseData

type PagesGetResponseData struct {
	List     *[]PagesGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                 `json:"page_info,omitempty"`
}

type ParamMatcher

type ParamMatcher struct {
	ParamName  string   `json:"param_name,omitempty"`
	ParamValue string   `json:"param_value,omitempty"`
	Operator   Operator `json:"operator,omitempty"`
}

匹配规则

type ParamMatcherGroup

type ParamMatcherGroup struct {
	ParamMatcher *[]ParamMatcher `json:"param_matcher,omitempty"`
}

匹配规则组

type PaymentType

type PaymentType string

PaymentType : 付款类型

const (
	PaymentType_REALTIME PaymentType = "PAYMENT_TYPE_REALTIME"
	PaymentType_PREPAID  PaymentType = "PAYMENT_TYPE_PREPAID"
)

List of PaymentType

type PlayablePageAuditStatus

type PlayablePageAuditStatus string

PlayablePageAuditStatus : 互动推广页状态

const (
	PlayablePageAuditStatus_PLAYABLE_PAGE_AUDIT_STATUS_UNKNOWN  PlayablePageAuditStatus = "PLAYABLE_PAGE_AUDIT_STATUS_UNKNOWN"
	PlayablePageAuditStatus_PLAYABLE_PAGE_AUDIT_STATUS_PENDING  PlayablePageAuditStatus = "PLAYABLE_PAGE_AUDIT_STATUS_PENDING"
	PlayablePageAuditStatus_PLAYABLE_PAGE_AUDIT_STATUS_APPROVED PlayablePageAuditStatus = "PLAYABLE_PAGE_AUDIT_STATUS_APPROVED"
	PlayablePageAuditStatus_PLAYABLE_PAGE_AUDIT_STATUS_REJECTED PlayablePageAuditStatus = "PLAYABLE_PAGE_AUDIT_STATUS_REJECTED"
	PlayablePageAuditStatus_UNKNOWN                             PlayablePageAuditStatus = "UNKNOWN"
)

List of PlayablePageAuditStatus

type PlayablePageDirection

type PlayablePageDirection string

PlayablePageDirection : 互动推广页展示方向

const (
	PlayablePageDirection_HORIZONTAL_VERTICAL PlayablePageDirection = "PLAYABLE_PAGE_DIRECTION_HORIZONTAL_VERTICAL"
	PlayablePageDirection_VERTICAL            PlayablePageDirection = "PLAYABLE_PAGE_DIRECTION_VERTICAL"
	PlayablePageDirection_HORIZONTAL          PlayablePageDirection = "PLAYABLE_PAGE_DIRECTION_HORIZONTAL"
)

List of PlayablePageDirection

type PlayablePagesAddResponse

type PlayablePagesAddResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *PlayablePagesAddResponseData `json:"data,omitempty"`
}

type PlayablePagesAddResponseData

type PlayablePagesAddResponseData struct {
	LandingPageId          string `json:"landing_page_id,omitempty"`
	PlayablePageId         string `json:"playable_page_id,omitempty"`
	PlayablePageMaterialId string `json:"playable_page_material_id,omitempty"`
}

type PlayablePagesGetListStruct

type PlayablePagesGetListStruct struct {
	LandingPageId          string                  `json:"landing_page_id,omitempty"`
	PlayablePageId         string                  `json:"playable_page_id,omitempty"`
	PlayablePageMaterialId string                  `json:"playable_page_material_id,omitempty"`
	PlayablePageName       string                  `json:"playable_page_name,omitempty"`
	PlayablePageCdnBaseUrl string                  `json:"playable_page_cdn_base_url,omitempty"`
	PlayablePageDirection  PlayablePageDirection   `json:"playable_page_direction,omitempty"`
	AuditStatus            PlayablePageAuditStatus `json:"audit_status,omitempty"`
	AuditMsg               string                  `json:"audit_msg,omitempty"`
	CreatedTime            int64                   `json:"created_time,omitempty"`
	LastModifiedTime       int64                   `json:"last_modified_time,omitempty"`
}

返回结构

type PlayablePagesGetResponse

type PlayablePagesGetResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *PlayablePagesGetResponseData `json:"data,omitempty"`
}

type PlayablePagesGetResponseData

type PlayablePagesGetResponseData struct {
	List     *[]PlayablePagesGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                         `json:"page_info,omitempty"`
}

type PoiRule

type PoiRule struct {
	RegionId      *[]int64   `json:"region_id,omitempty"`
	PoiCategoryId *[]int64   `json:"poi_category_id,omitempty"`
	DateRange     *DateRange `json:"date_range,omitempty"`
	DayOfWeek     *[]string  `json:"day_of_week,omitempty"`
	Frequency     int64      `json:"frequency,omitempty"`
}

POI规则

type PointStruct

type PointStruct struct {
	Time  string  `json:"time,omitempty"`
	Value float64 `json:"value,omitempty"`
}

趋势节点

type PreviewAdcreative

type PreviewAdcreative struct {
	AdcreativeName                string                      `json:"adcreative_name,omitempty"`
	SiteSet                       *[]string                   `json:"site_set,omitempty"`
	PromotedObjectType            PromotedObjectType          `json:"promoted_object_type,omitempty"`
	PromotedObjectId              string                      `json:"promoted_object_id,omitempty"`
	PageType                      PageTypeRead                `json:"page_type,omitempty"`
	PageSpec                      *PageSpec                   `json:"page_spec,omitempty"`
	QqMiniGameTrackingQueryString string                      `json:"qq_mini_game_tracking_query_string,omitempty"`
	DeepLinkUrl                   string                      `json:"deep_link_url,omitempty"`
	UniversalLinkUrl              string                      `json:"universal_link_url,omitempty"`
	ProfileId                     int64                       `json:"profile_id,omitempty"`
	CreatedTime                   int64                       `json:"created_time,omitempty"`
	LastModifiedTime              int64                       `json:"last_modified_time,omitempty"`
	ShareContentSpec              *ShareContentSpec           `json:"share_content_spec,omitempty"`
	DynamicAdcreativeSpec         *DynamicAdcreativeSpec      `json:"dynamic_adcreative_spec,omitempty"`
	IsDeleted                     bool                        `json:"is_deleted,omitempty"`
	IsDynamicCreative             bool                        `json:"is_dynamic_creative,omitempty"`
	MultiShareOptimizationEnabled bool                        `json:"multi_share_optimization_enabled,omitempty"`
	ComponentId                   int64                       `json:"component_id,omitempty"`
	OnlineEnabled                 bool                        `json:"online_enabled,omitempty"`
	RevisedAdcreativeSpec         *RevisedAdcreativeSpec      `json:"revised_adcreative_spec,omitempty"`
	Category                      *[]int64                    `json:"category,omitempty"`
	Label                         *[]string                   `json:"label,omitempty"`
	UnionMarketSwitch             bool                        `json:"union_market_switch,omitempty"`
	PlayablePageMaterialId        string                      `json:"playable_page_material_id,omitempty"`
	VideoEndPage                  *VideoEndPageSpec           `json:"video_end_page,omitempty"`
	FeedsVideoCommentSwitch       bool                        `json:"feeds_video_comment_switch,omitempty"`
	ConversionDataType            ConversionDataType          `json:"conversion_data_type,omitempty"`
	ConversionTargetType          ConversionTargetType        `json:"conversion_target_type,omitempty"`
	AdcreativeTemplateId          int64                       `json:"adcreative_template_id,omitempty"`
	AdcreativeElements            *AdcreativeCreativeElements `json:"adcreative_elements,omitempty"`
}

广告创意

type PreviewPageSpec

type PreviewPageSpec struct {
	PageId  int64  `json:"page_id,omitempty"`
	PageUrl string `json:"page_url,omitempty"`
}

落地页信息

type ProcessStatus

type ProcessStatus string

ProcessStatus : 处理状态

const (
	ProcessStatus_PENDING    ProcessStatus = "PENDING"
	ProcessStatus_PROCESSING ProcessStatus = "PROCESSING"
	ProcessStatus_SUCCESS    ProcessStatus = "SUCCESS"
	ProcessStatus_ERROR      ProcessStatus = "ERROR"
	ProcessStatus_FROZEN     ProcessStatus = "FROZEN"
	ProcessStatus_THAWING    ProcessStatus = "THAWING"
	ProcessStatus_LOCKING    ProcessStatus = "LOCKING"
)

List of ProcessStatus

type ProductCatalogsAddRequest

type ProductCatalogsAddRequest struct {
	AccountId        int64           `json:"account_id,omitempty"`
	CatalogName      string          `json:"catalog_name,omitempty"`
	CatalogScaleType CatalogScale    `json:"catalog_scale_type,omitempty"`
	CatalogType      CatalogType     `json:"catalog_type,omitempty"`
	IndustryType     CatalogIndustry `json:"industry_type,omitempty"`
}

type ProductCatalogsAddResponse

type ProductCatalogsAddResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *ProductCatalogsAddResponseData `json:"data,omitempty"`
}

type ProductCatalogsAddResponseData

type ProductCatalogsAddResponseData struct {
	ProductCatalogId int64 `json:"product_catalog_id,omitempty"`
}

type ProductCatalogsGetListStruct

type ProductCatalogsGetListStruct struct {
	ProductCatalogId        int64              `json:"product_catalog_id,omitempty"`
	ProductCatalogName      string             `json:"product_catalog_name,omitempty"`
	ProductCatalogType      CatalogType        `json:"product_catalog_type,omitempty"`
	ProductCatalogVertical  CatalogVertical    `json:"product_catalog_vertical,omitempty"`
	ProductCatalogStatus    CatalogStatus      `json:"product_catalog_status,omitempty"`
	ProductRecommendMethods *[]RecommendMethod `json:"product_recommend_methods,omitempty"`
	DeepLinkEnabled         *DeepLinkEnabled   `json:"deep_link_enabled,omitempty"`
}

返回结构

type ProductCatalogsGetResponse

type ProductCatalogsGetResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *ProductCatalogsGetResponseData `json:"data,omitempty"`
}

type ProductCatalogsGetResponseData

type ProductCatalogsGetResponseData struct {
	List     *[]ProductCatalogsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                           `json:"page_info,omitempty"`
}

type ProductCatalogsReportsGetListStruct

type ProductCatalogsReportsGetListStruct struct {
	Date                      string  `json:"date,omitempty"`
	ProductCatalogId          int64   `json:"product_catalog_id,omitempty"`
	AdgroupId                 int64   `json:"adgroup_id,omitempty"`
	ProductOuterId            string  `json:"product_outer_id,omitempty"`
	FirstCategoryId           int64   `json:"first_category_id,omitempty"`
	SecondCategoryId          int64   `json:"second_category_id,omitempty"`
	ThirdCategoryId           int64   `json:"third_category_id,omitempty"`
	ViewCount                 int64   `json:"view_count,omitempty"`
	ValidClickCount           int64   `json:"valid_click_count,omitempty"`
	Ctr                       float64 `json:"ctr,omitempty"`
	Cpc                       int64   `json:"cpc,omitempty"`
	ThousandDisplayPrice      int64   `json:"thousand_display_price,omitempty"`
	Cost                      int64   `json:"cost,omitempty"`
	ActivatedCount            int64   `json:"activated_count,omitempty"`
	ActivatedCost             int64   `json:"activated_cost,omitempty"`
	ActivatedRate             float64 `json:"activated_rate,omitempty"`
	WebKeyPageViewCost        int64   `json:"web_key_page_view_cost,omitempty"`
	WebCommodityPageViewCount int64   `json:"web_commodity_page_view_count,omitempty"`
	WebCommodityPageViewCost  int64   `json:"web_commodity_page_view_cost,omitempty"`
	WebRegisterCount          int64   `json:"web_register_count,omitempty"`
	PagePhoneCallDirectCount  int64   `json:"page_phone_call_direct_count,omitempty"`
	OwnPageNavigationCount    int64   `json:"own_page_navigation_count,omitempty"`
	OwnPageNavigationCost     int64   `json:"own_page_navigation_cost,omitempty"`
	WebApplicationCount       int64   `json:"web_application_count,omitempty"`
	WebApplicationCost        int64   `json:"web_application_cost,omitempty"`
	WebOrderCount             int64   `json:"web_order_count,omitempty"`
	WebOrderRate              float64 `json:"web_order_rate,omitempty"`
	AppOrderRate              float64 `json:"app_order_rate,omitempty"`
	WebOrderCost              int64   `json:"web_order_cost,omitempty"`
	WebCheckoutAmount         int64   `json:"web_checkout_amount,omitempty"`
	WebCheckoutCount          int64   `json:"web_checkout_count,omitempty"`
	WebCheckoutCost           int64   `json:"web_checkout_cost,omitempty"`
	DownloadRate              float64 `json:"download_rate,omitempty"`
	DownloadCost              int64   `json:"download_cost,omitempty"`
	InstallCost               int64   `json:"install_cost,omitempty"`
	ClickActivatedRate        float64 `json:"click_activated_rate,omitempty"`
	RetentionCount            int64   `json:"retention_count,omitempty"`
	RetentionRate             float64 `json:"retention_rate,omitempty"`
	RetentionCost             int64   `json:"retention_cost,omitempty"`
	AppKeyPageViewCount       int64   `json:"app_key_page_view_count,omitempty"`
	WebKeyPageViewCount       int64   `json:"web_key_page_view_count,omitempty"`
	AppCommodityPageViewCount int64   `json:"app_commodity_page_view_count,omitempty"`
	AppCommodityPageViewRate  float64 `json:"app_commodity_page_view_rate,omitempty"`
	WebCommodityPageViewRate  float64 `json:"web_commodity_page_view_rate,omitempty"`
	AppCommodityPageViewCost  int64   `json:"app_commodity_page_view_cost,omitempty"`
	AppRegisterCount          int64   `json:"app_register_count,omitempty"`
	AppRegisterCost           int64   `json:"app_register_cost,omitempty"`
	AppApplicationCount       int64   `json:"app_application_count,omitempty"`
	AppApplicationCost        int64   `json:"app_application_cost,omitempty"`
	AppOrderCount             int64   `json:"app_order_count,omitempty"`
	AppOrderCost              int64   `json:"app_order_cost,omitempty"`
	FollowCost                int64   `json:"follow_cost,omitempty"`
	ForwardCost               int64   `json:"forward_cost,omitempty"`
	ReadCost                  int64   `json:"read_cost,omitempty"`
	PraiseCount               int64   `json:"praise_count,omitempty"`
	PraiseCost                int64   `json:"praise_cost,omitempty"`
	CommentCount              int64   `json:"comment_count,omitempty"`
	LikeOrComment             int64   `json:"like_or_comment,omitempty"`
	CommentCost               int64   `json:"comment_cost,omitempty"`
	AppCheckoutRate           float64 `json:"app_checkout_rate,omitempty"`
	AppRegisterRate           float64 `json:"app_register_rate,omitempty"`
	Impression                int64   `json:"impression,omitempty"`
	Click                     int64   `json:"click,omitempty"`
	Download                  int64   `json:"download,omitempty"`
	Follow                    int64   `json:"follow,omitempty"`
	Activation                int64   `json:"activation,omitempty"`
	Share                     int64   `json:"share,omitempty"`
	Read                      int64   `json:"read,omitempty"`
	AppPaymentCount           int64   `json:"app_payment_count,omitempty"`
	Reservation               int64   `json:"reservation,omitempty"`
	AppInstallation           int64   `json:"app_installation,omitempty"`
	AppPaymentAmount          int64   `json:"app_payment_amount,omitempty"`
	AppAddToCarCount          int64   `json:"app_add_to_car_count,omitempty"`
	AppAddToCarCost           int64   `json:"app_add_to_car_cost,omitempty"`
}

返回结构

type ProductCatalogsReportsGetResponse

type ProductCatalogsReportsGetResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *ProductCatalogsReportsGetResponseData `json:"data,omitempty"`
}

type ProductCatalogsReportsGetResponseData

type ProductCatalogsReportsGetResponseData struct {
	List *[]ProductCatalogsReportsGetListStruct `json:"list,omitempty"`
}

type ProductCategoriesListGetResponse added in v1.1.1

type ProductCategoriesListGetResponse struct {
	Code      int64                                 `json:"code,omitempty"`
	Message   string                                `json:"message,omitempty"`
	MessageCn string                                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                     `json:"errors,omitempty"`
	Data      *ProductCategoriesListGetResponseData `json:"data,omitempty"`
}

type ProductCategoriesListGetResponseData added in v1.1.1

type ProductCategoriesListGetResponseData struct {
	List     *[]CategoryItem `json:"list,omitempty"`
	PageInfo *Conf           `json:"page_info,omitempty"`
}

type ProductInform added in v1.3.0

type ProductInform struct {
	ContentType      ActionProductInformType `json:"content_type,omitempty"`
	ProductCatalogId string                  `json:"product_catalog_id,omitempty"`
	ProductId        *[]string               `json:"product_id,omitempty"`
	CategoryPath     *[]string               `json:"category_path,omitempty"`
}

商品信息

type ProductItemSpec

type ProductItemSpec struct {
	ProductOuterId            string            `json:"product_outer_id,omitempty"`
	ProductName               string            `json:"product_name,omitempty"`
	Description               string            `json:"description,omitempty"`
	CreatedTime               string            `json:"created_time,omitempty"`
	LastModifiedTime          string            `json:"last_modified_time,omitempty"`
	ExpirationTime            string            `json:"expiration_time,omitempty"`
	ImageUrl                  string            `json:"image_url,omitempty"`
	AdditionalImageUrl        *[]string         `json:"additional_image_url,omitempty"`
	VideoDuration             string            `json:"video_duration,omitempty"`
	VideoUrl                  string            `json:"video_url,omitempty"`
	PlayCount                 int64             `json:"play_count,omitempty"`
	PublishTime               string            `json:"publish_time,omitempty"`
	AdditionalVideoUrl        *[]string         `json:"additional_video_url,omitempty"`
	PcPageUrl                 string            `json:"pc_page_url,omitempty"`
	MobileH5PageUrl           string            `json:"mobile_h5_page_url,omitempty"`
	AndroidPageUrl            string            `json:"android_page_url,omitempty"`
	IosPageUrl                string            `json:"ios_page_url,omitempty"`
	WechatPageUrl             string            `json:"wechat_page_url,omitempty"`
	AdditionalMobileH5PageUrl string            `json:"additional_mobile_h5_page_url,omitempty"`
	AdditionalAndroidPageUrl  string            `json:"additional_android_page_url,omitempty"`
	AdditionalIosPageUrl      string            `json:"additional_ios_page_url,omitempty"`
	AdditionalWechatPageUrl   string            `json:"additional_wechat_page_url,omitempty"`
	MiniProgramId             string            `json:"mini_program_id,omitempty"`
	MiniProgramPath           string            `json:"mini_program_path,omitempty"`
	AdditionalMiniProgramId   string            `json:"additional_mini_program_id,omitempty"`
	AdditionalMiniProgramPath string            `json:"additional_mini_program_path,omitempty"`
	UniversalLink             string            `json:"universal_link,omitempty"`
	AdditionalUniversalLink   string            `json:"additional_universal_link,omitempty"`
	ProductShortName          string            `json:"product_short_name,omitempty"`
	ProductSaleStatus         ProductSaleStatus `json:"product_sale_status,omitempty"`
	Price                     float64           `json:"price,omitempty"`
	OriginalPrice             float64           `json:"original_price,omitempty"`
	Discount                  float64           `json:"discount,omitempty"`
	SalePrice                 float64           `json:"sale_price,omitempty"`
	StartTime                 string            `json:"start_time,omitempty"`
	EndTime                   string            `json:"end_time,omitempty"`
	SalesVolume               int64             `json:"sales_volume,omitempty"`
	StockVolume               int64             `json:"stock_volume,omitempty"`
	Slogan                    string            `json:"slogan,omitempty"`
	CustomLabel               *[]string         `json:"custom_label,omitempty"`
	FirstCategoryId           int64             `json:"first_category_id,omitempty"`
	SecondCategoryId          int64             `json:"second_category_id,omitempty"`
	ThirdCategoryId           int64             `json:"third_category_id,omitempty"`
	FourthCategoryId          int64             `json:"fourth_category_id,omitempty"`
	FirstCategoryName         string            `json:"first_category_name,omitempty"`
	SecondCategoryName        string            `json:"second_category_name,omitempty"`
	ThirdCategoryName         string            `json:"third_category_name,omitempty"`
	FourthCategoryName        string            `json:"fourth_category_name,omitempty"`
	FirstCategoryUrl          string            `json:"first_category_url,omitempty"`
	SecondCategoryUrl         string            `json:"second_category_url,omitempty"`
	ThirdCategoryUrl          string            `json:"third_category_url,omitempty"`
	FourthCategoryUrl         string            `json:"fourth_category_url,omitempty"`
	BrandId                   int64             `json:"brand_id,omitempty"`
	BrandName                 string            `json:"brand_name,omitempty"`
	BrandUrl                  string            `json:"brand_url,omitempty"`
	PromotionId               int64             `json:"promotion_id,omitempty"`
	PromotionName             string            `json:"promotion_name,omitempty"`
	PromotionUrl              string            `json:"promotion_url,omitempty"`
	ShopId                    int64             `json:"shop_id,omitempty"`
	ShopName                  string            `json:"shop_name,omitempty"`
	ShopUrl                   string            `json:"shop_url,omitempty"`
	ShopCustomInfo            string            `json:"shop_custom_info,omitempty"`
	ShopIdList                *[]string         `json:"shop_id_list,omitempty"`
	ProductViewCount          int64             `json:"product_view_count,omitempty"`
	FavoriteCount             int64             `json:"favorite_count,omitempty"`
	Rating                    float64           `json:"rating,omitempty"`
	FavourableCommentRate     float64           `json:"favourable_comment_rate,omitempty"`
	ProductOwnerType          ProductOwnerType  `json:"product_owner_type,omitempty"`
	Author                    string            `json:"author,omitempty"`
	FullText                  string            `json:"full_text,omitempty"`
	LikeCount                 int64             `json:"like_count,omitempty"`
	ForwardCount              int64             `json:"forward_count,omitempty"`
	CommentCount              int64             `json:"comment_count,omitempty"`
	AuthorFansCount           int64             `json:"author_fans_count,omitempty"`
	SemanticLabels            *[]string         `json:"semantic_labels,omitempty"`
	DetailImg                 *[]string         `json:"detail_img,omitempty"`
	ShowCount                 int64             `json:"show_count,omitempty"`
	PlayRate                  float64           `json:"play_rate,omitempty"`
	MakeMoneyOnline           string            `json:"make_money_online,omitempty"`
	LiveBroadcast             string            `json:"live_broadcast,omitempty"`
	PlatformAttribute         string            `json:"platform_attribute,omitempty"`
	CustomData                string            `json:"custom_data,omitempty"`
}

商品信息

type ProductItemsAddListStruct

type ProductItemsAddListStruct struct {
	ProductId      string `json:"product_id,omitempty"`
	ProductOuterId string `json:"product_outer_id,omitempty"`
}

返回结构

type ProductItemsAddRequest

type ProductItemsAddRequest struct {
	AccountId           int64              `json:"account_id,omitempty"`
	ProductCatalogId    int64              `json:"product_catalog_id,omitempty"`
	FeedId              int64              `json:"feed_id,omitempty"`
	ProductItemSpecList *[]ProductItemSpec `json:"product_item_spec_list,omitempty"`
}

type ProductItemsAddResponse

type ProductItemsAddResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *ProductItemsAddResponseData `json:"data,omitempty"`
}

type ProductItemsAddResponseData

type ProductItemsAddResponseData struct {
	List *[]ProductItemsAddListStruct `json:"list,omitempty"`
}

type ProductItemsDetailGetResponse

type ProductItemsDetailGetResponse struct {
	Code      int64                              `json:"code,omitempty"`
	Message   string                             `json:"message,omitempty"`
	MessageCn string                             `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                  `json:"errors,omitempty"`
	Data      *ProductItemsDetailGetResponseData `json:"data,omitempty"`
}

type ProductItemsDetailGetResponseData

type ProductItemsDetailGetResponseData struct {
	FeedId          int64            `json:"feed_id,omitempty"`
	SystemStatus    AuditStatus      `json:"system_status,omitempty"`
	RejectMessage   string           `json:"reject_message,omitempty"`
	ProductItemSpec *ProductItemSpec `json:"product_item_spec,omitempty"`
}

type ProductItemsGetListStruct

type ProductItemsGetListStruct struct {
	ProductOuterId     string  `json:"product_outer_id,omitempty"`
	ProductName        string  `json:"product_name,omitempty"`
	ProductImageUrl    string  `json:"product_image_url,omitempty"`
	ProductShortName   string  `json:"product_short_name,omitempty"`
	Price              float64 `json:"price,omitempty"`
	FirstCategoryId    int64   `json:"first_category_id,omitempty"`
	FirstCategoryName  string  `json:"first_category_name,omitempty"`
	SecondCategoryId   int64   `json:"second_category_id,omitempty"`
	SecondCategoryName string  `json:"second_category_name,omitempty"`
	ThirdCategoryId    int64   `json:"third_category_id,omitempty"`
	ThirdCategoryName  string  `json:"third_category_name,omitempty"`
	FourthCategoryId   int64   `json:"fourth_category_id,omitempty"`
	FourthCategoryName string  `json:"fourth_category_name,omitempty"`
	BrandName          string  `json:"brand_name,omitempty"`
	BrandId            int64   `json:"brand_id,omitempty"`
	Description        string  `json:"description,omitempty"`
	CustomData         string  `json:"custom_data,omitempty"`
}

返回结构

type ProductItemsGetResponse

type ProductItemsGetResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *ProductItemsGetResponseData `json:"data,omitempty"`
}

type ProductItemsGetResponseData

type ProductItemsGetResponseData struct {
	List *[]ProductItemsGetListStruct `json:"list,omitempty"`
}

type ProductItemsUpdateRequest

type ProductItemsUpdateRequest struct {
	AccountId         int64             `json:"account_id,omitempty"`
	CatalogId         int64             `json:"catalog_id,omitempty"`
	ProductOuterId    string            `json:"product_outer_id,omitempty"`
	Price             *float64          `json:"price,omitempty"`
	SalePrice         *float64          `json:"sale_price,omitempty"`
	PricePc           *float64          `json:"price_pc,omitempty"`
	PriceMobile       *float64          `json:"price_mobile,omitempty"`
	PriceApp          *float64          `json:"price_app,omitempty"`
	StockVolume       int64             `json:"stock_volume,omitempty"`
	Discount          *float64          `json:"discount,omitempty"`
	ExpirationTime    int64             `json:"expiration_time,omitempty"`
	ProductSaleStatus ProductSaleStatus `json:"product_sale_status,omitempty"`
	ProductVisibility ProductVisibility `json:"product_visibility,omitempty"`
}

type ProductItemsUpdateResponse

type ProductItemsUpdateResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type ProductItemsVerticalsGetResponse added in v1.3.0

type ProductItemsVerticalsGetResponse struct {
	Code      int64                                 `json:"code,omitempty"`
	Message   string                                `json:"message,omitempty"`
	MessageCn string                                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                     `json:"errors,omitempty"`
	Data      *ProductItemsVerticalsGetResponseData `json:"data,omitempty"`
}

type ProductItemsVerticalsGetResponseData added in v1.3.0

type ProductItemsVerticalsGetResponseData struct {
	List *[]VerticalItemSpec `json:"list,omitempty"`
}

type ProductMode

type ProductMode string

ProductMode : 用于投放的的商品数量

const (
	ProductMode_SINGLE   ProductMode = "SINGLE"
	ProductMode_MULTIPLE ProductMode = "MULTIPLE"
)

List of ProductMode

type ProductOwnerType

type ProductOwnerType string

ProductOwnerType : 商品所有者类型,”自营“,”商家“

const (
	ProductOwnerType_SOP ProductOwnerType = "PRODUCT_OWNER_TYPE_SOP"
	ProductOwnerType_POP ProductOwnerType = "PRODUCT_OWNER_TYPE_POP"
)

List of ProductOwnerType

type ProductPromotedObjectTypeSelect

type ProductPromotedObjectTypeSelect string

ProductPromotedObjectTypeSelect : 推广目标类型

const (
	ProductPromotedObjectTypeSelect_APP_ANDROID                ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_APP_ANDROID"
	ProductPromotedObjectTypeSelect_APP_IOS                    ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_APP_IOS"
	ProductPromotedObjectTypeSelect_APP_ANDROID_MYAPP          ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_APP_ANDROID_MYAPP"
	ProductPromotedObjectTypeSelect_APP_ANDROID_UNION          ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_APP_ANDROID_UNION"
	ProductPromotedObjectTypeSelect_QQ_BROWSER_MINI_PROGRAM    ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_QQ_BROWSER_MINI_PROGRAM"
	ProductPromotedObjectTypeSelect_LOCAL_ADS                  ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_LOCAL_ADS"
	ProductPromotedObjectTypeSelect_EXCHANGE_APP_ANDROID_MYAPP ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_EXCHANGE_APP_ANDROID_MYAPP"
	ProductPromotedObjectTypeSelect_DIANPING_SHOP              ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_DIANPING_SHOP"
	ProductPromotedObjectTypeSelect_UNSUPPORTED                ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_UNSUPPORTED"
	ProductPromotedObjectTypeSelect_MINI_GAME_WECHAT           ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_MINI_GAME_WECHAT"
	ProductPromotedObjectTypeSelect_MINI_GAME_QQ               ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_MINI_GAME_QQ"
	ProductPromotedObjectTypeSelect_JD                         ProductPromotedObjectTypeSelect = "PROMOTED_OBJECT_TYPE_JD"
)

List of ProductPromotedObjectTypeSelect

type ProductSaleStatus

type ProductSaleStatus string

ProductSaleStatus : 商品在线状态

const (
	ProductSaleStatus_UNKNOWN ProductSaleStatus = "PRODUCT_SALE_STATUS_UNKNOWN"
	ProductSaleStatus_ONLINE  ProductSaleStatus = "PRODUCT_SALE_STATUS_ONLINE"
	ProductSaleStatus_OFFLINE ProductSaleStatus = "PRODUCT_SALE_STATUS_OFFLINE"
)

List of ProductSaleStatus

type ProductTypeDianpingShop

type ProductTypeDianpingShop struct {
	ShopName      string  `json:"shop_name,omitempty"`
	Address       string  `json:"address,omitempty"`
	City          string  `json:"city,omitempty"`
	District      string  `json:"district,omitempty"`
	BusinessArea  string  `json:"business_area,omitempty"`
	StreetNumber  string  `json:"street_number,omitempty"`
	Longitude     float64 `json:"longitude,omitempty"`
	Latitude      float64 `json:"latitude,omitempty"`
	ShopDetailUrl string  `json:"shop_detail_url,omitempty"`
	Ratings       int64   `json:"ratings,omitempty"`
	AveragePrice  int64   `json:"average_price,omitempty"`
}

只有product_type为PRODUCT_TYPE_DIANPING_SHOP时才能使用

type ProductVisibility

type ProductVisibility string

ProductVisibility : 商品可见性,详见 <a href='product_visibility' target='_blank'>[商品可见性]</a>

const (
	ProductVisibility_VISIBLE   ProductVisibility = "PRODUCT_VISIBILITY_VISIBLE"
	ProductVisibility_INVISIBLE ProductVisibility = "PRODUCT_VISIBILITY_INVISIBLE"
)

List of ProductVisibility

type ProductsSystemStatusGetResponse

type ProductsSystemStatusGetResponse struct {
	Code      int64                                `json:"code,omitempty"`
	Message   string                               `json:"message,omitempty"`
	MessageCn string                               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                    `json:"errors,omitempty"`
	Data      *ProductsSystemStatusGetResponseData `json:"data,omitempty"`
}

type ProductsSystemStatusGetResponseData

type ProductsSystemStatusGetResponseData struct {
	List     *[]AuditRejectItem `json:"list,omitempty"`
	PageInfo *PageInfo          `json:"page_info,omitempty"`
}

type ProfileType

type ProfileType string

ProfileType : 朋友圈头像及昵称跳转页类型

const (
	ProfileType_DEFINITION    ProfileType = "PROFILE_TYPE_DEFINITION"
	ProfileType_AUTO_GENERATE ProfileType = "PROFILE_TYPE_AUTO_GENERATE"
	ProfileType_WEAPP         ProfileType = "PROFILE_TYPE_WEAPP"
)

List of ProfileType

type ProfilesAddRequest

type ProfilesAddRequest struct {
	AccountId          int64              `json:"account_id,omitempty"`
	PromotedObjectType PromotedObjectType `json:"promoted_object_type,omitempty"`
	PromotedObjectId   string             `json:"promoted_object_id,omitempty"`
	ProfileType        ProfileType        `json:"profile_type,omitempty"`
	HeadImageId        string             `json:"head_image_id,omitempty"`
	ProfileName        string             `json:"profile_name,omitempty"`
	Description        string             `json:"description,omitempty"`
}

type ProfilesAddResponse

type ProfilesAddResponse struct {
	Code      int64                    `json:"code,omitempty"`
	Message   string                   `json:"message,omitempty"`
	MessageCn string                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct        `json:"errors,omitempty"`
	Data      *ProfilesAddResponseData `json:"data,omitempty"`
}

type ProfilesAddResponseData

type ProfilesAddResponseData struct {
	ProfileId int64 `json:"profile_id,omitempty"`
}

type ProfilesDeleteRequest

type ProfilesDeleteRequest struct {
	AccountId int64 `json:"account_id,omitempty"`
	ProfileId int64 `json:"profile_id,omitempty"`
}

type ProfilesDeleteResponse

type ProfilesDeleteResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *ProfilesDeleteResponseData `json:"data,omitempty"`
}

type ProfilesDeleteResponseData

type ProfilesDeleteResponseData struct {
	ProfileId int64 `json:"profile_id,omitempty"`
}

type ProfilesGetListStruct

type ProfilesGetListStruct struct {
	ProfileType        ProfileType        `json:"profile_type,omitempty"`
	ProfileId          int64              `json:"profile_id,omitempty"`
	PromotedObjectType PromotedObjectType `json:"promoted_object_type,omitempty"`
	PromotedObjectId   string             `json:"promoted_object_id,omitempty"`
	HeadImageId        string             `json:"head_image_id,omitempty"`
	HeadImageUrl       string             `json:"head_image_url,omitempty"`
	ProfileName        string             `json:"profile_name,omitempty"`
	Description        string             `json:"description,omitempty"`
	CreatedTime        int64              `json:"created_time,omitempty"`
	LastModifiedTime   int64              `json:"last_modified_time,omitempty"`
	ProfileUrl         string             `json:"profile_url,omitempty"`
	SystemStatus       SysStatus          `json:"system_status,omitempty"`
}

返回结构

type ProfilesGetResponse

type ProfilesGetResponse struct {
	Code      int64                    `json:"code,omitempty"`
	Message   string                   `json:"message,omitempty"`
	MessageCn string                   `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct        `json:"errors,omitempty"`
	Data      *ProfilesGetResponseData `json:"data,omitempty"`
}

type ProfilesGetResponseData

type ProfilesGetResponseData struct {
	List     *[]ProfilesGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                    `json:"page_info,omitempty"`
}

type PromotedObjectAppAndroidSpec added in v1.3.0

type PromotedObjectAppAndroidSpec struct {
	Packname           string                      `json:"packname,omitempty"`
	Version            string                      `json:"version,omitempty"`
	Icon               string                      `json:"icon,omitempty"`
	AverageRating      string                      `json:"average_rating,omitempty"`
	PackageSize        string                      `json:"package_size,omitempty"`
	Genres             *[]string                   `json:"genres,omitempty"`
	PackageDownloadUrl string                      `json:"package_download_url,omitempty"`
	ChannelPackageSpec *[]ChannelPackageSpecStruct `json:"channel_package_spec,omitempty"`
}

android应用信息

type PromotedObjectAppIosSpec added in v1.3.0

type PromotedObjectAppIosSpec struct {
	Packname           string    `json:"packname,omitempty"`
	Version            string    `json:"version,omitempty"`
	Icon               string    `json:"icon,omitempty"`
	Icon512            string    `json:"icon_512,omitempty"`
	AverageRating      string    `json:"average_rating,omitempty"`
	PackageSize        string    `json:"package_size,omitempty"`
	Genres             *[]string `json:"genres,omitempty"`
	PackageDownloadUrl string    `json:"package_download_url,omitempty"`
}

IOS应用信息

type PromotedObjectGetSpec added in v1.3.0

type PromotedObjectGetSpec struct {
	JdItem               *EcInfo                       `json:"jd_item,omitempty"`
	JdShop               *EcInfo                       `json:"jd_shop,omitempty"`
	AppIosSpec           *PromotedObjectAppIosSpec     `json:"app_ios_spec,omitempty"`
	AppAndroidSpec       *PromotedObjectAppAndroidSpec `json:"app_android_spec,omitempty"`
	AppAndroidUnionSpec  *AppAndroidUnionSpec          `json:"app_android_union_spec,omitempty"`
	AppAndroidMyappSpec  *AppAndroidMyappSpec          `json:"app_android_myapp_spec,omitempty"`
	DianpingShop         *ProductTypeDianpingShop      `json:"dianping_shop,omitempty"`
	MiniGameWechatSpec   *MiniGameWechatSpec           `json:"mini_game_wechat_spec,omitempty"`
	QqBrowserMiniProgram *QqBrowserMiniProgram         `json:"qq_browser_mini_program,omitempty"`
	LocalAdsSpec         *LocalAdsSpec                 `json:"local_ads_spec,omitempty"`
}

推广目标详细信息

type PromotedObjectSpec

type PromotedObjectSpec struct {
	JdItem            *EcInfo                  `json:"jd_item,omitempty"`
	JdShop            *EcInfo                  `json:"jd_shop,omitempty"`
	DianpingShop      *ProductTypeDianpingShop `json:"dianping_shop,omitempty"`
	ProductTypeLinkJd *LinkJdInfo              `json:"product_type_link_jd,omitempty"`
}

推广目标详细信息

type PromotedObjectType

type PromotedObjectType string

PromotedObjectType : 推广目标类型

const (
	PromotedObjectType_APP_ANDROID                PromotedObjectType = "PROMOTED_OBJECT_TYPE_APP_ANDROID"
	PromotedObjectType_APP_IOS                    PromotedObjectType = "PROMOTED_OBJECT_TYPE_APP_IOS"
	PromotedObjectType_DIANPING_SHOP              PromotedObjectType = "PROMOTED_OBJECT_TYPE_DIANPING_SHOP"
	PromotedObjectType_ECOMMERCE                  PromotedObjectType = "PROMOTED_OBJECT_TYPE_ECOMMERCE"
	PromotedObjectType_LINK_WECHAT                PromotedObjectType = "PROMOTED_OBJECT_TYPE_LINK_WECHAT"
	PromotedObjectType_APP_ANDROID_MYAPP          PromotedObjectType = "PROMOTED_OBJECT_TYPE_APP_ANDROID_MYAPP"
	PromotedObjectType_APP_ANDROID_UNION          PromotedObjectType = "PROMOTED_OBJECT_TYPE_APP_ANDROID_UNION"
	PromotedObjectType_LOCAL_ADS_WECHAT           PromotedObjectType = "PROMOTED_OBJECT_TYPE_LOCAL_ADS_WECHAT"
	PromotedObjectType_QQ_BROWSER_MINI_PROGRAM    PromotedObjectType = "PROMOTED_OBJECT_TYPE_QQ_BROWSER_MINI_PROGRAM"
	PromotedObjectType_LINK                       PromotedObjectType = "PROMOTED_OBJECT_TYPE_LINK"
	PromotedObjectType_QQ_MESSAGE                 PromotedObjectType = "PROMOTED_OBJECT_TYPE_QQ_MESSAGE"
	PromotedObjectType_QZONE_VIDEO_PAGE           PromotedObjectType = "PROMOTED_OBJECT_TYPE_QZONE_VIDEO_PAGE"
	PromotedObjectType_LOCAL_ADS                  PromotedObjectType = "PROMOTED_OBJECT_TYPE_LOCAL_ADS"
	PromotedObjectType_ARTICLE                    PromotedObjectType = "PROMOTED_OBJECT_TYPE_ARTICLE"
	PromotedObjectType_LEAD_AD                    PromotedObjectType = "PROMOTED_OBJECT_TYPE_LEAD_AD"
	PromotedObjectType_TENCENT_KE                 PromotedObjectType = "PROMOTED_OBJECT_TYPE_TENCENT_KE"
	PromotedObjectType_EXCHANGE_APP_ANDROID_MYAPP PromotedObjectType = "PROMOTED_OBJECT_TYPE_EXCHANGE_APP_ANDROID_MYAPP"
	PromotedObjectType_QZONE_PAGE_ARTICLE         PromotedObjectType = "PROMOTED_OBJECT_TYPE_QZONE_PAGE_ARTICLE"
	PromotedObjectType_QZONE_PAGE_IFRAMED         PromotedObjectType = "PROMOTED_OBJECT_TYPE_QZONE_PAGE_IFRAMED"
	PromotedObjectType_QZONE_PAGE                 PromotedObjectType = "PROMOTED_OBJECT_TYPE_QZONE_PAGE"
	PromotedObjectType_APP_PC                     PromotedObjectType = "PROMOTED_OBJECT_TYPE_APP_PC"
	PromotedObjectType_MINI_GAME_WECHAT           PromotedObjectType = "PROMOTED_OBJECT_TYPE_MINI_GAME_WECHAT"
	PromotedObjectType_JD                         PromotedObjectType = "PROMOTED_OBJECT_TYPE_JD"
	PromotedObjectType_MINI_GAME_QQ               PromotedObjectType = "PROMOTED_OBJECT_TYPE_MINI_GAME_QQ"
	PromotedObjectType_COUPON_WECHAT              PromotedObjectType = "PROMOTED_OBJECT_TYPE_COUPON_WECHAT"
)

List of PromotedObjectType

type PromotedObjectTypeWithoutJd added in v1.3.0

type PromotedObjectTypeWithoutJd string

PromotedObjectTypeWithoutJd : 推广目标类型

const (
	PromotedObjectTypeWithoutJd_APP_ANDROID                PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_APP_ANDROID"
	PromotedObjectTypeWithoutJd_APP_IOS                    PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_APP_IOS"
	PromotedObjectTypeWithoutJd_DIANPING_SHOP              PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_DIANPING_SHOP"
	PromotedObjectTypeWithoutJd_ECOMMERCE                  PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_ECOMMERCE"
	PromotedObjectTypeWithoutJd_LINK_WECHAT                PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_LINK_WECHAT"
	PromotedObjectTypeWithoutJd_APP_ANDROID_MYAPP          PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_APP_ANDROID_MYAPP"
	PromotedObjectTypeWithoutJd_APP_ANDROID_UNION          PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_APP_ANDROID_UNION"
	PromotedObjectTypeWithoutJd_LOCAL_ADS_WECHAT           PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_LOCAL_ADS_WECHAT"
	PromotedObjectTypeWithoutJd_QQ_BROWSER_MINI_PROGRAM    PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_QQ_BROWSER_MINI_PROGRAM"
	PromotedObjectTypeWithoutJd_LINK                       PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_LINK"
	PromotedObjectTypeWithoutJd_QQ_MESSAGE                 PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_QQ_MESSAGE"
	PromotedObjectTypeWithoutJd_QZONE_VIDEO_PAGE           PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_QZONE_VIDEO_PAGE"
	PromotedObjectTypeWithoutJd_LOCAL_ADS                  PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_LOCAL_ADS"
	PromotedObjectTypeWithoutJd_ARTICLE                    PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_ARTICLE"
	PromotedObjectTypeWithoutJd_LEAD_AD                    PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_LEAD_AD"
	PromotedObjectTypeWithoutJd_TENCENT_KE                 PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_TENCENT_KE"
	PromotedObjectTypeWithoutJd_EXCHANGE_APP_ANDROID_MYAPP PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_EXCHANGE_APP_ANDROID_MYAPP"
	PromotedObjectTypeWithoutJd_QZONE_PAGE_ARTICLE         PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_QZONE_PAGE_ARTICLE"
	PromotedObjectTypeWithoutJd_QZONE_PAGE_IFRAMED         PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_QZONE_PAGE_IFRAMED"
	PromotedObjectTypeWithoutJd_QZONE_PAGE                 PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_QZONE_PAGE"
	PromotedObjectTypeWithoutJd_APP_PC                     PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_APP_PC"
	PromotedObjectTypeWithoutJd_MINI_GAME_WECHAT           PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_MINI_GAME_WECHAT"
	PromotedObjectTypeWithoutJd_COUPON_WECHAT              PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_COUPON_WECHAT"
	PromotedObjectTypeWithoutJd_MINI_GAME_QQ               PromotedObjectTypeWithoutJd = "PROMOTED_OBJECT_TYPE_MINI_GAME_QQ"
)

List of PromotedObjectTypeWithoutJd

type PromotedObjectsAddRequest

type PromotedObjectsAddRequest struct {
	PromotedObjectType PromotedObjectType  `json:"promoted_object_type,omitempty"`
	PromotedObjectId   string              `json:"promoted_object_id,omitempty"`
	PromotedObjectSpec *PromotedObjectSpec `json:"promoted_object_spec,omitempty"`
	AccountId          int64               `json:"account_id,omitempty"`
}

type PromotedObjectsAddResponse

type PromotedObjectsAddResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *PromotedObjectsAddResponseData `json:"data,omitempty"`
}

type PromotedObjectsAddResponseData

type PromotedObjectsAddResponseData struct {
	PromotedObjectId string `json:"promoted_object_id,omitempty"`
}

type PromotedObjectsGetListStruct

type PromotedObjectsGetListStruct struct {
	PromotedObjectName string                          `json:"promoted_object_name,omitempty"`
	PromotedObjectId   string                          `json:"promoted_object_id,omitempty"`
	PromotedObjectType ProductPromotedObjectTypeSelect `json:"promoted_object_type,omitempty"`
	PromotedObjectSpec *PromotedObjectGetSpec          `json:"promoted_object_spec,omitempty"`
	CreatedTime        int64                           `json:"created_time,omitempty"`
	LastModifiedTime   int64                           `json:"last_modified_time,omitempty"`
}

返回结构

type PromotedObjectsGetResponse

type PromotedObjectsGetResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *PromotedObjectsGetResponseData `json:"data,omitempty"`
}

type PromotedObjectsGetResponseData

type PromotedObjectsGetResponseData struct {
	List     *[]PromotedObjectsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                           `json:"page_info,omitempty"`
}

type PromotedObjectsUpdateRequest

type PromotedObjectsUpdateRequest struct {
	PromotedObjectType PromotedObjectType  `json:"promoted_object_type,omitempty"`
	PromotedObjectId   string              `json:"promoted_object_id,omitempty"`
	PromotedObjectSpec *PromotedObjectSpec `json:"promoted_object_spec,omitempty"`
	AccountId          int64               `json:"account_id,omitempty"`
}

type PromotedObjectsUpdateResponse

type PromotedObjectsUpdateResponse struct {
	Code      int64                              `json:"code,omitempty"`
	Message   string                             `json:"message,omitempty"`
	MessageCn string                             `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                  `json:"errors,omitempty"`
	Data      *PromotedObjectsUpdateResponseData `json:"data,omitempty"`
}

type PromotedObjectsUpdateResponseData

type PromotedObjectsUpdateResponseData struct {
	PromotedObjectId string `json:"promoted_object_id,omitempty"`
}

type PropertiesUserId

type PropertiesUserId struct {
	HashQq        string `json:"hash_qq,omitempty"`
	HashPhone     string `json:"hash_phone,omitempty"`
	HashIdfa      string `json:"hash_idfa,omitempty"`
	HashImei      string `json:"hash_imei,omitempty"`
	HashMac       string `json:"hash_mac,omitempty"`
	WechatOpenid  string `json:"wechat_openid,omitempty"`
	WechatUnionid string `json:"wechat_unionid,omitempty"`
}

用户ID

type PropertyDataFeatureSpec

type PropertyDataFeatureSpec struct {
	UserPropertySetId  int64                `json:"user_property_set_id,omitempty"`
	PropertyDataKey    string               `json:"property_data_key,omitempty"`
	DataType           FeatureValueDataType `json:"data_type,omitempty"`
	IsMultiValued      bool                 `json:"is_multi_valued,omitempty"`
	PossibleValuesSize int64                `json:"possible_values_size,omitempty"`
}

属性数据特征规则

type QqBrowserMiniProgram added in v1.3.0

type QqBrowserMiniProgram struct {
	Packname string `json:"packname,omitempty"`
	Icon     string `json:"icon,omitempty"`
}

QQ 浏览器小程序信息

type QualificationSpec

type QualificationSpec struct {
	IndustrySpec           *IndustryQualificationsSpec           `json:"industry_spec,omitempty"`
	AdSpec                 *AdQualificationsSpec                 `json:"ad_spec,omitempty"`
	AdditionalIndustrySpec *AdditionalIndustryQualificationsSpec `json:"additional_industry_spec,omitempty"`
	IndustryWechatSpec     *WechatIndustryQualificationsSpec     `json:"industry_wechat_spec,omitempty"`
	AdWechatSpec           *WechatAdQualificationsSpec           `json:"ad_wechat_spec,omitempty"`
}

资质信息

type QualificationStatus

type QualificationStatus string

QualificationStatus : 资质状态

const (
	QualificationStatus_NORMAL       QualificationStatus = "QUALIFICATION_STATUS_NORMAL"
	QualificationStatus_PENDING      QualificationStatus = "QUALIFICATION_STATUS_PENDING"
	QualificationStatus_DENIED       QualificationStatus = "QUALIFICATION_STATUS_DENIED"
	QualificationStatus_EXPIRED      QualificationStatus = "QUALIFICATION_STATUS_EXPIRED"
	QualificationStatus_SOON_EXPIRED QualificationStatus = "QUALIFICATION_STATUS_SOON_EXPIRED"
)

List of QualificationStatus

type QualificationType

type QualificationType string

QualificationType : 资质类型

const (
	QualificationType_INDUSTRY_QUALIFICATION            QualificationType = "INDUSTRY_QUALIFICATION"
	QualificationType_AD_QUALIFICATION                  QualificationType = "AD_QUALIFICATION"
	QualificationType_ADDITIONAL_INDUSTRY_QUALIFICATION QualificationType = "ADDITIONAL_INDUSTRY_QUALIFICATION"
	QualificationType_INDUSTRY_QUALIFICATION_WECHAT     QualificationType = "INDUSTRY_QUALIFICATION_WECHAT"
	QualificationType_AD_QUALIFICATION_WECHAT           QualificationType = "AD_QUALIFICATION_WECHAT"
)

List of QualificationType

type QualificationsAddRequest

type QualificationsAddRequest struct {
	QualificationType QualificationType  `json:"qualification_type,omitempty"`
	QualificationSpec *QualificationSpec `json:"qualification_spec,omitempty"`
	AccountId         int64              `json:"account_id,omitempty"`
}

type QualificationsAddResponse

type QualificationsAddResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *QualificationsAddResponseData `json:"data,omitempty"`
}

type QualificationsAddResponseData

type QualificationsAddResponseData struct {
	QualificationId int64 `json:"qualification_id,omitempty"`
}

type QualificationsDeleteRequest

type QualificationsDeleteRequest struct {
	QualificationType QualificationType `json:"qualification_type,omitempty"`
	QualificationId   int64             `json:"qualification_id,omitempty"`
	AccountId         int64             `json:"account_id,omitempty"`
}

type QualificationsDeleteResponse

type QualificationsDeleteResponse struct {
	Code      int64                             `json:"code,omitempty"`
	Message   string                            `json:"message,omitempty"`
	MessageCn string                            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                 `json:"errors,omitempty"`
	Data      *QualificationsDeleteResponseData `json:"data,omitempty"`
}

type QualificationsDeleteResponseData

type QualificationsDeleteResponseData struct {
	QualificationId int64 `json:"qualification_id,omitempty"`
}

type QualificationsGetResponse

type QualificationsGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *QualificationsGetResponseData `json:"data,omitempty"`
}

type QualificationsGetResponseData

type QualificationsGetResponseData struct {
	IndustryQualifications           *[]IndustryQualificationsStruct           `json:"industry_qualifications,omitempty"`
	AdQualifications                 *[]AdQualificationsStruct                 `json:"ad_qualifications,omitempty"`
	AdditionalIndustryQualifications *[]AdditionalIndustryQualificationsStruct `json:"additional_industry_qualifications,omitempty"`
	IndustryQualificationsWechat     *[]WechatIndustryQualificationsStruct     `json:"industry_qualifications_wechat,omitempty"`
	AdQualificationsWechat           *[]WechatAdQualificationsStruct           `json:"ad_qualifications_wechat,omitempty"`
}

type QualificationsUpdateRequest

type QualificationsUpdateRequest struct {
	QualificationType QualificationType `json:"qualification_type,omitempty"`
	QualificationId   int64             `json:"qualification_id,omitempty"`
	ImageIdList       *[]string         `json:"image_id_list,omitempty"`
	AccountId         int64             `json:"account_id,omitempty"`
}

type QualificationsUpdateResponse

type QualificationsUpdateResponse struct {
	Code      int64                             `json:"code,omitempty"`
	Message   string                            `json:"message,omitempty"`
	MessageCn string                            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                 `json:"errors,omitempty"`
	Data      *QualificationsUpdateResponseData `json:"data,omitempty"`
}

type QualificationsUpdateResponseData

type QualificationsUpdateResponseData struct {
	QualificationId int64 `json:"qualification_id,omitempty"`
}

type RangeDistribution

type RangeDistribution struct {
	DimensionValue string  `json:"dimension_value,omitempty"`
	Percentage     int64   `json:"percentage,omitempty"`
	Tgi            float64 `json:"tgi,omitempty"`
}

人群分布信息结构

type ReadTargetingSetting

type ReadTargetingSetting struct {
	Age                              *[]AgeStruct                       `json:"age,omitempty"`
	Gender                           *[]string                          `json:"gender,omitempty"`
	Education                        *[]string                          `json:"education,omitempty"`
	MaritalStatus                    *[]string                          `json:"marital_status,omitempty"`
	WorkingStatus                    *[]string                          `json:"working_status,omitempty"`
	GeoLocation                      *GeoLocations                      `json:"geo_location,omitempty"`
	UserOs                           *[]string                          `json:"user_os,omitempty"`
	NewDevice                        *[]string                          `json:"new_device,omitempty"`
	DevicePrice                      *[]string                          `json:"device_price,omitempty"`
	DeviceBrandModel                 *DeviceBrandModel                  `json:"device_brand_model,omitempty"`
	NetworkType                      *[]string                          `json:"network_type,omitempty"`
	NetworkOperator                  *[]string                          `json:"network_operator,omitempty"`
	NetworkScene                     *[]string                          `json:"network_scene,omitempty"`
	DressingIndex                    *[]string                          `json:"dressing_index,omitempty"`
	UvIndex                          *[]string                          `json:"uv_index,omitempty"`
	MakeupIndex                      *[]string                          `json:"makeup_index,omitempty"`
	Climate                          *[]string                          `json:"climate,omitempty"`
	Temperature                      *[]TemperatureStruct               `json:"temperature,omitempty"`
	AirQualityIndex                  *[]string                          `json:"air_quality_index,omitempty"`
	AppInstallStatus                 *[]string                          `json:"app_install_status,omitempty"`
	MiniGameQqStatus                 *[]string                          `json:"mini_game_qq_status,omitempty"`
	ConsumptionStatus                *[]string                          `json:"consumption_status,omitempty"`
	GameConsumptionLevel             *[]string                          `json:"game_consumption_level,omitempty"`
	ResidentialCommunityPrice        *[]ResidentialCommunityPriceStruct `json:"residential_community_price,omitempty"`
	FinancialSituation               *[]string                          `json:"financial_situation,omitempty"`
	ConsumptionType                  *[]string                          `json:"consumption_type,omitempty"`
	WechatAdBehavior                 *WechatAdBehavior                  `json:"wechat_ad_behavior,omitempty"`
	CustomAudience                   *[]int64                           `json:"custom_audience,omitempty"`
	ExcludedCustomAudience           *[]int64                           `json:"excluded_custom_audience,omitempty"`
	BehaviorOrInterest               *BehaviorOrInterest                `json:"behavior_or_interest,omitempty"`
	WechatOfficialAccountCategory    *[]int64                           `json:"wechat_official_account_category,omitempty"`
	MobileUnionCategory              *[]int64                           `json:"mobile_union_category,omitempty"`
	BusinessInterest                 *[]int64                           `json:"business_interest,omitempty"`
	Keyword                          *Keyword                           `json:"keyword,omitempty"`
	AppBehavior                      *AppBehavior                       `json:"app_behavior,omitempty"`
	PaidUser                         *[]string                          `json:"paid_user,omitempty"`
	DeprecatedCustomAudience         *[]int64                           `json:"deprecated_custom_audience,omitempty"`
	DeprecatedExcludedCustomAudience *[]int64                           `json:"deprecated_excluded_custom_audience,omitempty"`
	DeprecatedRegion                 *[]int64                           `json:"deprecated_region,omitempty"`
}

定向详细设置

type ReadTargetingSettingForAdgroup

type ReadTargetingSettingForAdgroup struct {
	Age                              *[]AgeStruct                       `json:"age,omitempty"`
	Gender                           *[]string                          `json:"gender,omitempty"`
	Education                        *[]string                          `json:"education,omitempty"`
	MaritalStatus                    *[]string                          `json:"marital_status,omitempty"`
	WorkingStatus                    *[]string                          `json:"working_status,omitempty"`
	GeoLocation                      *GeoLocations                      `json:"geo_location,omitempty"`
	UserOs                           *[]string                          `json:"user_os,omitempty"`
	NewDevice                        *[]string                          `json:"new_device,omitempty"`
	DevicePrice                      *[]string                          `json:"device_price,omitempty"`
	DeviceBrandModel                 *DeviceBrandModel                  `json:"device_brand_model,omitempty"`
	NetworkType                      *[]string                          `json:"network_type,omitempty"`
	NetworkOperator                  *[]string                          `json:"network_operator,omitempty"`
	NetworkScene                     *[]string                          `json:"network_scene,omitempty"`
	DressingIndex                    *[]string                          `json:"dressing_index,omitempty"`
	UvIndex                          *[]string                          `json:"uv_index,omitempty"`
	MakeupIndex                      *[]string                          `json:"makeup_index,omitempty"`
	Climate                          *[]string                          `json:"climate,omitempty"`
	Temperature                      *[]TemperatureStruct               `json:"temperature,omitempty"`
	AirQualityIndex                  *[]string                          `json:"air_quality_index,omitempty"`
	AppInstallStatus                 *[]string                          `json:"app_install_status,omitempty"`
	ConsumptionStatus                *[]string                          `json:"consumption_status,omitempty"`
	GameConsumptionLevel             *[]string                          `json:"game_consumption_level,omitempty"`
	ResidentialCommunityPrice        *[]ResidentialCommunityPriceStruct `json:"residential_community_price,omitempty"`
	FinancialSituation               *[]string                          `json:"financial_situation,omitempty"`
	ConsumptionType                  *[]string                          `json:"consumption_type,omitempty"`
	WechatAdBehavior                 *WechatAdBehavior                  `json:"wechat_ad_behavior,omitempty"`
	CustomAudience                   *[]int64                           `json:"custom_audience,omitempty"`
	ExcludedCustomAudience           *[]int64                           `json:"excluded_custom_audience,omitempty"`
	BehaviorOrInterest               *BehaviorOrInterest                `json:"behavior_or_interest,omitempty"`
	WechatOfficialAccountCategory    *[]int64                           `json:"wechat_official_account_category,omitempty"`
	MobileUnionCategory              *[]int64                           `json:"mobile_union_category,omitempty"`
	BusinessInterest                 *[]int64                           `json:"business_interest,omitempty"`
	Keyword                          *Keyword                           `json:"keyword,omitempty"`
	AppBehavior                      *AppBehavior                       `json:"app_behavior,omitempty"`
	PaidUser                         *[]string                          `json:"paid_user,omitempty"`
	DeprecatedCustomAudience         *[]int64                           `json:"deprecated_custom_audience,omitempty"`
	DeprecatedExcludedCustomAudience *[]int64                           `json:"deprecated_excluded_custom_audience,omitempty"`
	DeprecatedRegion                 *[]int64                           `json:"deprecated_region,omitempty"`
	MiniGameQqStatus                 *[]string                          `json:"mini_game_qq_status,omitempty"`
	ExcludedConvertedAudience        *ExcludedConvertedAudienceStruct   `json:"excluded_converted_audience,omitempty"`
}

定向详细设置

type RealtimeCostGetListStruct

type RealtimeCostGetListStruct struct {
	CampaignId int64 `json:"campaign_id,omitempty"`
	AdgroupId  int64 `json:"adgroup_id,omitempty"`
	Cost       int64 `json:"cost,omitempty"`
}

返回结构

type RealtimeCostGetResponse

type RealtimeCostGetResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *RealtimeCostGetResponseData `json:"data,omitempty"`
}

type RealtimeCostGetResponseData

type RealtimeCostGetResponseData struct {
	List     *[]RealtimeCostGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                        `json:"page_info,omitempty"`
}

type RecommendMethod

type RecommendMethod struct {
	MethodId           int64        `json:"method_id,omitempty"`
	MethodName         string       `json:"method_name,omitempty"`
	MethodDescription  string       `json:"method_description,omitempty"`
	SubMethodOperators *[]string    `json:"sub_method_operators,omitempty"`
	SubMethods         *[]SubMethod `json:"sub_methods,omitempty"`
}

推荐方式

type RecommendedRating

type RecommendedRating string

RecommendedRating : 实验全量的推荐程度,从一星到五星代表推荐程度由低至高

const (
	RecommendedRating_PENDING RecommendedRating = "RECOMMENDED_RATING_PENDING"
	RecommendedRating_ONE     RecommendedRating = "RECOMMENDED_RATING_ONE"
	RecommendedRating_TWO     RecommendedRating = "RECOMMENDED_RATING_TWO"
	RecommendedRating_THREE   RecommendedRating = "RECOMMENDED_RATING_THREE"
	RecommendedRating_FOUR    RecommendedRating = "RECOMMENDED_RATING_FOUR"
	RecommendedRating_FIVE    RecommendedRating = "RECOMMENDED_RATING_FIVE"
)

List of RecommendedRating

type ReportConversionsPredictRequest added in v1.4.1

type ReportConversionsPredictRequest struct {
	Filtering *[]FilteringStruct `json:"filtering,omitempty"`
	AccountId int64              `json:"account_id,omitempty"`
}

type ReportConversionsPredictResponse added in v1.4.1

type ReportConversionsPredictResponse struct {
	Code      int64                                 `json:"code,omitempty"`
	Message   string                                `json:"message,omitempty"`
	MessageCn string                                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                     `json:"errors,omitempty"`
	Data      *ReportConversionsPredictResponseData `json:"data,omitempty"`
}

type ReportConversionsPredictResponseData added in v1.4.1

type ReportConversionsPredictResponseData struct {
	List *[]CollectionStruct `json:"list,omitempty"`
}

type ReportDateRange

type ReportDateRange struct {
	StartDate string `json:"start_date,omitempty"`
	EndDate   string `json:"end_date,omitempty"`
}

日期范围

type ReportLevel added in v1.1.1

type ReportLevel string

ReportLevel : 获取报表类型级别

const (
	ReportLevel_ADVERTISER               ReportLevel = "REPORT_LEVEL_ADVERTISER"
	ReportLevel_CAMPAIGN                 ReportLevel = "REPORT_LEVEL_CAMPAIGN"
	ReportLevel_ADGROUP                  ReportLevel = "REPORT_LEVEL_ADGROUP"
	ReportLevel_AD                       ReportLevel = "REPORT_LEVEL_AD"
	ReportLevel_PROMOTED_OBJECT          ReportLevel = "REPORT_LEVEL_PROMOTED_OBJECT"
	ReportLevel_UNION_POSITION           ReportLevel = "REPORT_LEVEL_UNION_POSITION"
	ReportLevel_CREATIVE_TEMPLATE        ReportLevel = "REPORT_LEVEL_CREATIVE_TEMPLATE"
	ReportLevel_DEEPLINK_ADGROUP         ReportLevel = "REPORT_LEVEL_DEEPLINK_ADGROUP"
	ReportLevel_EXPAND_TARGETING_ADGROUP ReportLevel = "REPORT_LEVEL_EXPAND_TARGETING_ADGROUP"
	ReportLevel_MATERIAL_VIDEO           ReportLevel = "REPORT_LEVEL_MATERIAL_VIDEO"
	ReportLevel_MATERIAL_IMAGE           ReportLevel = "REPORT_LEVEL_MATERIAL_IMAGE"
	ReportLevel_PRODUCT_CATELOG          ReportLevel = "REPORT_LEVEL_PRODUCT_CATELOG"
	ReportLevel_ADVERTISER_WECHAT        ReportLevel = "REPORT_LEVEL_ADVERTISER_WECHAT"
	ReportLevel_CAMPAIGN_WECHAT          ReportLevel = "REPORT_LEVEL_CAMPAIGN_WECHAT"
	ReportLevel_ADGROUP_WECHAT           ReportLevel = "REPORT_LEVEL_ADGROUP_WECHAT"
	ReportLevel_AD_WECHAT                ReportLevel = "REPORT_LEVEL_AD_WECHAT"
)

List of ReportLevel

type ReportLevelHourly added in v1.1.1

type ReportLevelHourly string

ReportLevelHourly : 获取报表类型级别

const (
	ReportLevelHourly_ADVERTISER        ReportLevelHourly = "REPORT_LEVEL_ADVERTISER"
	ReportLevelHourly_CAMPAIGN          ReportLevelHourly = "REPORT_LEVEL_CAMPAIGN"
	ReportLevelHourly_ADGROUP           ReportLevelHourly = "REPORT_LEVEL_ADGROUP"
	ReportLevelHourly_AD                ReportLevelHourly = "REPORT_LEVEL_AD"
	ReportLevelHourly_PROMOTED_OBJECT   ReportLevelHourly = "REPORT_LEVEL_PROMOTED_OBJECT"
	ReportLevelHourly_ADVERTISER_WECHAT ReportLevelHourly = "REPORT_LEVEL_ADVERTISER_WECHAT"
	ReportLevelHourly_CAMPAIGN_WECHAT   ReportLevelHourly = "REPORT_LEVEL_CAMPAIGN_WECHAT"
	ReportLevelHourly_ADGROUP_WECHAT    ReportLevelHourly = "REPORT_LEVEL_ADGROUP_WECHAT"
	ReportLevelHourly_AD_WECHAT         ReportLevelHourly = "REPORT_LEVEL_AD_WECHAT"
)

List of ReportLevelHourly

type ReportTaskSpec

type ReportTaskSpec struct {
	Level string `json:"level,omitempty"`
	Date  string `json:"date,omitempty"`
}

报表任务所需条件

type ReportVideoFrameRequest added in v1.4.1

type ReportVideoFrameRequest struct {
	Filtering *[]FilteringStruct `json:"filtering,omitempty"`
	DateRange *DateRange         `json:"date_range,omitempty"`
	GroupBy   *[]string          `json:"group_by,omitempty"`
	AccountId int64              `json:"account_id,omitempty"`
}

type ReportVideoFrameResponse added in v1.4.1

type ReportVideoFrameResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *ReportVideoFrameResponseData `json:"data,omitempty"`
}

type ReportVideoFrameResponseData added in v1.4.1

type ReportVideoFrameResponseData struct {
	List     *[]CollectionStruct `json:"list,omitempty"`
	PageInfo *Conf               `json:"page_info,omitempty"`
}

type ResidentialCommunityPriceStruct

type ResidentialCommunityPriceStruct struct {
	Min int64 `json:"min,omitempty"`
	Max int64 `json:"max,omitempty"`
}

居住社区价格

type ResizeSpec

type ResizeSpec struct {
	Width  int64 `json:"width,omitempty"`
	Height int64 `json:"height,omitempty"`
}

缩放信息

type ResourceType

type ResourceType string

ResourceType : 操作层级

const (
	ResourceType_RESOURCE_TYPE_ADGROUP ResourceType = "RESOURCE_TYPE_ADGROUP"
)

List of ResourceType

type ResponseDetailStruct

type ResponseDetailStruct struct {
	Funnel           *DetailFunnelStruct         `json:"funnel,omitempty"`
	TargetDetail     *DetailTargetDetailStruct   `json:"target_detail,omitempty"`
	CompeteDetail    *DetailCompeteDetailStruct  `json:"compete_detail,omitempty"`
	ExposureDetail   *ExposureDetailStruct       `json:"exposure_detail,omitempty"`
	ClickDetail      *ClickDetailStruct          `json:"click_detail,omitempty"`
	ConversionDetail *ConversionDetailStruct     `json:"conversion_detail,omitempty"`
	CpaDetail        *DetailCpaDetailStruct      `json:"cpa_detail,omitempty"`
	CreativeDetail   *DetailCreativeDetailStruct `json:"creative_detail,omitempty"`
	Optimization     *OptimizeContentMainStruct  `json:"optimization,omitempty"`
}

诊断详细信息

type RevisedAdcreativeElements

type RevisedAdcreativeElements struct {
	Image                      string                             `json:"image,omitempty"`
	Image2                     string                             `json:"image2,omitempty"`
	Image3                     string                             `json:"image3,omitempty"`
	Title                      string                             `json:"title,omitempty"`
	Description                string                             `json:"description,omitempty"`
	Corporate                  *AdcreativeCorporate               `json:"corporate,omitempty"`
	Video                      string                             `json:"video,omitempty"`
	LinkNameType               LinkNameTypeMp                     `json:"link_name_type,omitempty"`
	ImageList                  *[]string                          `json:"image_list,omitempty"`
	ElementStory               *[]AdcreativeElementStoryArrayItem `json:"element_story,omitempty"`
	Url                        string                             `json:"url,omitempty"`
	ButtonText                 string                             `json:"button_text,omitempty"`
	BottomText                 string                             `json:"bottom_text,omitempty"`
	MiniProgramId              string                             `json:"mini_program_id,omitempty"`
	MiniProgramPath            string                             `json:"mini_program_path,omitempty"`
	Label                      *[]AdcreativeLabel                 `json:"label,omitempty"`
	ProductTags                *[]string                          `json:"product_tags,omitempty"`
	LogoDescription            string                             `json:"logo_description,omitempty"`
	LeftBottomTxt              string                             `json:"left_bottom_txt,omitempty"`
	AnimationEffect            string                             `json:"animation_effect,omitempty"`
	Phone                      string                             `json:"phone,omitempty"`
	ShortVideoStruct           *ShortVideoStruct                  `json:"short_video_struct,omitempty"`
	LongVideoStruct            *LongVideoStruct                   `json:"long_video_struct,omitempty"`
	BannerContent              *AdcreativeBannerContent           `json:"banner_content,omitempty"`
	CardContent                *AdcreativeCardContent             `json:"card_content,omitempty"`
	VideoPopupUrl              string                             `json:"video_popup_url,omitempty"`
	VideoPopupButton           *AdcreativeVideoPopupButton        `json:"video_popup_button,omitempty"`
	Brand                      *AdCreativeBrand                   `json:"brand,omitempty"`
	Caption                    string                             `json:"caption,omitempty"`
	LabelledImg                *AdcreativeLabelledImg             `json:"labelled_img,omitempty"`
	FullScreenImage            string                             `json:"full_screen_image,omitempty"`
	ZipUrl                     string                             `json:"zip_url,omitempty"`
	EndPage                    *AdCreativeEndPage                 `json:"end_page,omitempty"`
	CountdownExpiringTimestamp int64                              `json:"countdown_expiring_timestamp,omitempty"`
}

修改后的创意元素,填写要求同adcreative_elements,当且仅当 online_enabled = true 时,此字段允许写入

type RevisedAdcreativeSpec

type RevisedAdcreativeSpec struct {
	RevisedAdcreativeElements *RevisedAdcreativeElements `json:"revised_adcreative_elements,omitempty"`
	RevisedPageSpec           *RevisedPageSpec           `json:"revised_page_spec,omitempty"`
}

修改后的创意内容,当且仅当 online_enabled = true 时,此字段允许写入

type RevisedPageSpec

type RevisedPageSpec struct {
	PageId  int64  `json:"page_id,omitempty"`
	PageUrl string `json:"page_url,omitempty"`
}

修改后的落地页,填写要求同page_spec,当且仅当 online_enabled = true 时,此字段允许写入

type RoleType

type RoleType string

RoleType : 角色

const (
	RoleType_UNKNOWN                  RoleType = "ROLE_TYPE_UNKNOWN"
	RoleType_ADMIN                    RoleType = "ROLE_TYPE_ADMIN"
	RoleType_OBSERVER                 RoleType = "ROLE_TYPE_OBSERVER"
	RoleType_OPERATOR                 RoleType = "ROLE_TYPE_OPERATOR"
	RoleType_TREASURER                RoleType = "ROLE_TYPE_TREASURER"
	RoleType_ASSISTANT                RoleType = "ROLE_TYPE_ASSISTANT"
	RoleType_SELF_OPERATOR            RoleType = "ROLE_TYPE_SELF_OPERATOR"
	RoleType_ROOT                     RoleType = "ROLE_TYPE_ROOT"
	RoleType_AGENCY_BOSS              RoleType = "ROLE_TYPE_AGENCY_BOSS"
	RoleType_AGENCY_ADMIN             RoleType = "ROLE_TYPE_AGENCY_ADMIN"
	RoleType_AGENCY_OBSERVER          RoleType = "ROLE_TYPE_AGENCY_OBSERVER"
	RoleType_AGENCY_TREASURER         RoleType = "ROLE_TYPE_AGENCY_TREASURER"
	RoleType_AGENCY_OPERATOR          RoleType = "ROLE_TYPE_AGENCY_OPERATOR"
	RoleType_AGENCY_PROVIDER_OPERATOR RoleType = "ROLE_TYPE_AGENCY_PROVIDER_OPERATOR"
	RoleType_AGENCY_PROVIDER_OBSERVER RoleType = "ROLE_TYPE_AGENCY_PROVIDER_OBSERVER"
	RoleType_AGENCY_YYB               RoleType = "ROLE_TYPE_AGENCY_YYB"
	RoleType_AGENCY_AGENT_OPERATOR    RoleType = "ROLE_TYPE_AGENCY_AGENT_OPERATOR"
	RoleType_AGENCY_SELF_OPERATOR     RoleType = "ROLE_TYPE_AGENCY_SELF_OPERATOR"
	RoleType_AGENCY_MDM_BOSS          RoleType = "ROLE_TYPE_AGENCY_MDM_BOSS"
	RoleType_AGENCY_MDM_ADMIN         RoleType = "ROLE_TYPE_AGENCY_MDM_ADMIN"
	RoleType_AGENCY_MDM_TREASURER     RoleType = "ROLE_TYPE_AGENCY_MDM_TREASURER"
	RoleType_AGENCY_MDM_OBSERVER      RoleType = "ROLE_TYPE_AGENCY_MDM_OBSERVER"
	RoleType_AGENCY_MDM_OPERATOR      RoleType = "ROLE_TYPE_AGENCY_MDM_OPERATOR"
)

List of RoleType

type Salt

type Salt struct {
	SaltId    string `json:"salt_id,omitempty"`
	SaltValue string `json:"salt_value,omitempty"`
}

salt返回结构

type SceneTargeting

type SceneTargeting struct {
	MobileUnion                 *[]string `json:"mobile_union,omitempty"`
	ExcludeMobileUnion          *[]string `json:"exclude_mobile_union,omitempty"`
	MobileUnionIndustry         *[]string `json:"mobile_union_industry,omitempty"`
	UnionPositionPackage        *[]int64  `json:"union_position_package,omitempty"`
	ExcludeUnionPositionPackage *[]int64  `json:"exclude_union_position_package,omitempty"`
	TencentNews                 *[]string `json:"tencent_news,omitempty"`
	DisplayScene                *[]string `json:"display_scene,omitempty"`
}

场景定向

type SceneTargetingForWrite

type SceneTargetingForWrite struct {
	MobileUnion                 *[]string `json:"mobile_union,omitempty"`
	ExcludeMobileUnion          *[]string `json:"exclude_mobile_union,omitempty"`
	MobileUnionIndustry         *[]string `json:"mobile_union_industry,omitempty"`
	UnionPositionPackage        *[]int64  `json:"union_position_package,omitempty"`
	ExcludeUnionPositionPackage *[]int64  `json:"exclude_union_position_package,omitempty"`
	TencentNews                 *[]string `json:"tencent_news,omitempty"`
	DisplayScene                *[]string `json:"display_scene,omitempty"`
}

场景定向

type ServiceSpec

type ServiceSpec struct {
	Title string `json:"title,omitempty"`
}

客服组建信息

type ShareContentSpec

type ShareContentSpec struct {
	ShareTitle       string `json:"share_title,omitempty"`
	ShareDescription string `json:"share_description,omitempty"`
}

分享信息,仅在部分朋友圈创意形式下设置有效,具体可通过创意形式查询工具或 adcreative_templates/get 接口进行查询

type ShelfButtonSpec

type ShelfButtonSpec struct {
	LinkSpec        *LinkSpec        `json:"link_spec,omitempty"`
	AppDownloadSpec *AppDownloadSpec `json:"app_download_spec,omitempty"`
	MiniProgramSpec *MiniProgramSpec `json:"mini_program_spec,omitempty"`
}

按钮信息

type ShelfSpecStruct

type ShelfSpecStruct struct {
	ShelfButtonSpec *ShelfButtonSpec `json:"shelf_button_spec,omitempty"`
	Title           string           `json:"title,omitempty"`
	Desc            string           `json:"desc,omitempty"`
	ImageIdList     string           `json:"image_id_list,omitempty"`
}

图文复合组件

type ShopAddRequest added in v1.4.0

type ShopAddRequest struct {
	Adgroup    *AdgroupCreateSpec    `json:"adgroup,omitempty"`
	Campaign   *CampaignCreateSpec   `json:"campaign,omitempty"`
	Adcreative *AdCreativeCreateSpec `json:"adcreative,omitempty"`
}

type ShopAddResponse added in v1.4.0

type ShopAddResponse struct {
	Code      int64                `json:"code,omitempty"`
	Message   string               `json:"message,omitempty"`
	MessageCn string               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct    `json:"errors,omitempty"`
	Data      *ShopAddResponseData `json:"data,omitempty"`
}

type ShopAddResponseData added in v1.4.0

type ShopAddResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type ShopGetRequest added in v1.4.0

type ShopGetRequest struct {
	AccountId int64              `json:"account_id,omitempty"`
	DateRange *DateRange         `json:"date_range,omitempty"`
	Filtering *[]FilteringStruct `json:"filtering,omitempty"`
	Level     DpApiReportLevel   `json:"level,omitempty"`
	Page      int64              `json:"page,omitempty"`
	PageSize  int64              `json:"page_size,omitempty"`
}

type ShopGetResponse added in v1.4.0

type ShopGetResponse struct {
	Code      int64                `json:"code,omitempty"`
	Message   string               `json:"message,omitempty"`
	MessageCn string               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct    `json:"errors,omitempty"`
	Data      *ShopGetResponseData `json:"data,omitempty"`
}

type ShopGetResponseData added in v1.4.0

type ShopGetResponseData struct {
	List     *[]AllDataSpec `json:"list,omitempty"`
	PageInfo *DpPageInfo    `json:"page_info,omitempty"`
}

type ShopUpdateRequest added in v1.4.0

type ShopUpdateRequest struct {
	AccountId  int64                 `json:"account_id,omitempty"`
	AdgroupId  int64                 `json:"adgroup_id,omitempty"`
	Adgroup    *AdgroupUpdateSpec    `json:"adgroup,omitempty"`
	Campaign   *CampaignUpdateSpec   `json:"campaign,omitempty"`
	Adcreative *AdCreativeUpdateSpec `json:"adcreative,omitempty"`
}

type ShopUpdateResponse added in v1.4.0

type ShopUpdateResponse struct {
	Code      int64                   `json:"code,omitempty"`
	Message   string                  `json:"message,omitempty"`
	MessageCn string                  `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct       `json:"errors,omitempty"`
	Data      *ShopUpdateResponseData `json:"data,omitempty"`
}

type ShopUpdateResponseData added in v1.4.0

type ShopUpdateResponseData struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
}

type ShortVideoStruct

type ShortVideoStruct struct {
	ShortVideo1 int64 `json:"short_video1,omitempty"`
	ShortVideo2 int64 `json:"short_video2,omitempty"`
}

短视频结构

type SimpleCanvasSubType added in v1.3.0

type SimpleCanvasSubType string

SimpleCanvasSubType : 简版原生页子类型(灰度中),仅在简版原生页下生效,其他情况改字段内容会被忽略

const (
	SimpleCanvasSubType_UNKNOWN   SimpleCanvasSubType = "SIMPLE_CANVAS_SUB_TYPE_UNKNOWN"
	SimpleCanvasSubType_DEFAULT   SimpleCanvasSubType = "SIMPLE_CANVAS_SUB_TYPE_DEFAULT"
	SimpleCanvasSubType_URL       SimpleCanvasSubType = "SIMPLE_CANVAS_SUB_TYPE_URL"
	SimpleCanvasSubType_SLIDE_UP  SimpleCanvasSubType = "SIMPLE_CANVAS_SUB_TYPE_SLIDE_UP"
	SimpleCanvasSubType_WEB_STORE SimpleCanvasSubType = "SIMPLE_CANVAS_SUB_TYPE_WEB_STORE"
)

List of SimpleCanvasSubType

type SimpleRule

type SimpleRule struct {
	AudienceId int64 `json:"audience_id,omitempty"`
	TimeWindow int64 `json:"time_window,omitempty"`
}

组合人群简单规则

type SiteSet

type SiteSet string

SiteSet : 投放站点集合

const (
	SiteSet_TENCENT_NEWS         SiteSet = "SITE_SET_TENCENT_NEWS"
	SiteSet_TENCENT_VIDEO        SiteSet = "SITE_SET_TENCENT_VIDEO"
	SiteSet_TENCENT_KUAIBAO      SiteSet = "SITE_SET_TENCENT_KUAIBAO"
	SiteSet_QZONE                SiteSet = "SITE_SET_QZONE"
	SiteSet_QQCLIENT             SiteSet = "SITE_SET_QQCLIENT"
	SiteSet_MUSIC                SiteSet = "SITE_SET_MUSIC"
	SiteSet_MOBILE_UNION         SiteSet = "SITE_SET_MOBILE_UNION"
	SiteSet_QQCOM                SiteSet = "SITE_SET_QQCOM"
	SiteSet_WECHAT               SiteSet = "SITE_SET_WECHAT"
	SiteSet_MOBILE_INNER         SiteSet = "SITE_SET_MOBILE_INNER"
	SiteSet_MOBILE_MYAPP         SiteSet = "SITE_SET_MOBILE_MYAPP"
	SiteSet_PENGYOU              SiteSet = "SITE_SET_PENGYOU"
	SiteSet_TUAN                 SiteSet = "SITE_SET_TUAN"
	SiteSet_MEISHI               SiteSet = "SITE_SET_MEISHI"
	SiteSet_PIAO                 SiteSet = "SITE_SET_PIAO"
	SiteSet_MAIL                 SiteSet = "SITE_SET_MAIL"
	SiteSet_PC_UNION             SiteSet = "SITE_SET_PC_UNION"
	SiteSet_YINGYONGBAO_PC       SiteSet = "SITE_SET_YINGYONGBAO_PC"
	SiteSet_PAIPAISEARCH         SiteSet = "SITE_SET_PAIPAISEARCH"
	SiteSet_QQSHOP               SiteSet = "SITE_SET_QQSHOP"
	SiteSet_PAIPAIDAOGOU         SiteSet = "SITE_SET_PAIPAIDAOGOU"
	SiteSet_QZONESEARCH          SiteSet = "SITE_SET_QZONESEARCH"
	SiteSet_WEBUNION_DELETED     SiteSet = "SITE_SET_WEBUNION_DELETED"
	SiteSet_EXPRESSPORTAL        SiteSet = "SITE_SET_EXPRESSPORTAL"
	SiteSet_WEIBO                SiteSet = "SITE_SET_WEIBO"
	SiteSet_WANGGOU              SiteSet = "SITE_SET_WANGGOU"
	SiteSet_MOBILE_UNION_DELETED SiteSet = "SITE_SET_MOBILE_UNION_DELETED"
	SiteSet_THIRDPARTY           SiteSet = "SITE_SET_THIRDPARTY"
	SiteSet_JD_WAICAI            SiteSet = "SITE_SET_JD_WAICAI"
	SiteSet_KANDIAN              SiteSet = "SITE_SET_KANDIAN"
	SiteSet_QQ_MUSIC_GAME        SiteSet = "SITE_SET_QQ_MUSIC_GAME"
	SiteSet_KUAISHOU             SiteSet = "SITE_SET_KUAISHOU"
	SiteSet_PCQQ                 SiteSet = "SITE_SET_PCQQ"
	SiteSet_MINI_GAME_WECHAT     SiteSet = "SITE_SET_MINI_GAME_WECHAT"
	SiteSet_MINI_GAME_QQ         SiteSet = "SITE_SET_MINI_GAME_QQ"
	SiteSet_MOBILE_GAME          SiteSet = "SITE_SET_MOBILE_GAME"
)

List of SiteSet

type SiteSetDefinition

type SiteSetDefinition string

SiteSetDefinition : 投放版位

const (
	SiteSetDefinition_QZONE                SiteSetDefinition = "SITE_SET_QZONE"
	SiteSetDefinition_QQCLIENT             SiteSetDefinition = "SITE_SET_QQCLIENT"
	SiteSetDefinition_MUSIC                SiteSetDefinition = "SITE_SET_MUSIC"
	SiteSetDefinition_MOBILE_UNION         SiteSetDefinition = "SITE_SET_MOBILE_UNION"
	SiteSetDefinition_QQCOM                SiteSetDefinition = "SITE_SET_QQCOM"
	SiteSetDefinition_WECHAT               SiteSetDefinition = "SITE_SET_WECHAT"
	SiteSetDefinition_MOBILE_MYAPP         SiteSetDefinition = "SITE_SET_MOBILE_MYAPP"
	SiteSetDefinition_MOBILE_YYB           SiteSetDefinition = "SITE_SET_MOBILE_YYB"
	SiteSetDefinition_QQSHOPPING           SiteSetDefinition = "SITE_SET_QQSHOPPING"
	SiteSetDefinition_MOBILE_INNER         SiteSetDefinition = "SITE_SET_MOBILE_INNER"
	SiteSetDefinition_TENCENT_NEWS         SiteSetDefinition = "SITE_SET_TENCENT_NEWS"
	SiteSetDefinition_TENCENT_VIDEO        SiteSetDefinition = "SITE_SET_TENCENT_VIDEO"
	SiteSetDefinition_TENCENT_KUAIBAO      SiteSetDefinition = "SITE_SET_TENCENT_KUAIBAO"
	SiteSetDefinition_PENGYOU              SiteSetDefinition = "SITE_SET_PENGYOU"
	SiteSetDefinition_TUAN                 SiteSetDefinition = "SITE_SET_TUAN"
	SiteSetDefinition_MEISHI               SiteSetDefinition = "SITE_SET_MEISHI"
	SiteSetDefinition_PIAO                 SiteSetDefinition = "SITE_SET_PIAO"
	SiteSetDefinition_MAIL                 SiteSetDefinition = "SITE_SET_MAIL"
	SiteSetDefinition_PC_UNION             SiteSetDefinition = "SITE_SET_PC_UNION"
	SiteSetDefinition_YINGYONGBAO_PC       SiteSetDefinition = "SITE_SET_YINGYONGBAO_PC"
	SiteSetDefinition_PAIPAISEARCH         SiteSetDefinition = "SITE_SET_PAIPAISEARCH"
	SiteSetDefinition_QQSHOP               SiteSetDefinition = "SITE_SET_QQSHOP"
	SiteSetDefinition_PAIPAIDAOGOU         SiteSetDefinition = "SITE_SET_PAIPAIDAOGOU"
	SiteSetDefinition_QZONESEARCH          SiteSetDefinition = "SITE_SET_QZONESEARCH"
	SiteSetDefinition_WEBUNION_DELETED     SiteSetDefinition = "SITE_SET_WEBUNION_DELETED"
	SiteSetDefinition_EXPRESSPORTAL        SiteSetDefinition = "SITE_SET_EXPRESSPORTAL"
	SiteSetDefinition_WEIBO                SiteSetDefinition = "SITE_SET_WEIBO"
	SiteSetDefinition_WANGGOU              SiteSetDefinition = "SITE_SET_WANGGOU"
	SiteSetDefinition_MOBILE_UNION_DELETED SiteSetDefinition = "SITE_SET_MOBILE_UNION_DELETED"
	SiteSetDefinition_THIRDPARTY           SiteSetDefinition = "SITE_SET_THIRDPARTY"
	SiteSetDefinition_JD_WAICAI            SiteSetDefinition = "SITE_SET_JD_WAICAI"
	SiteSetDefinition_PCQQ                 SiteSetDefinition = "SITE_SET_PCQQ"
	SiteSetDefinition_KUAISHOU             SiteSetDefinition = "SITE_SET_KUAISHOU"
	SiteSetDefinition_KANDIAN              SiteSetDefinition = "SITE_SET_KANDIAN"
	SiteSetDefinition_QQ_MUSIC_GAME        SiteSetDefinition = "SITE_SET_QQ_MUSIC_GAME"
	SiteSetDefinition_MOMENTS              SiteSetDefinition = "SITE_SET_MOMENTS"
	SiteSetDefinition_MINI_GAME_WECHAT     SiteSetDefinition = "SITE_SET_MINI_GAME_WECHAT"
	SiteSetDefinition_MINI_GAME_QQ         SiteSetDefinition = "SITE_SET_MINI_GAME_QQ"
	SiteSetDefinition_MOBILE_GAME          SiteSetDefinition = "SITE_SET_MOBILE_GAME"
	SiteSetDefinition_TENCENT_VIDEO_OTT    SiteSetDefinition = "SITE_SET_TENCENT_VIDEO_OTT"
)

List of SiteSetDefinition

type SiteSetPackageStruct added in v1.3.0

type SiteSetPackageStruct struct {
	SiteSet            *[]string `json:"site_set,omitempty"`
	BidCoefficient     float64   `json:"bid_coefficient,omitempty"`
	DeepBidCoefficient float64   `json:"deep_bid_coefficient,omitempty"`
}

版位调价

type SizeAdjustment added in v1.4.1

type SizeAdjustment struct {
	TargetSize           SizeType                 `json:"target_size,omitempty"`
	SizeAdjustmentMethod SizeAdjustmentMethodEnum `json:"size_adjustment_method,omitempty"`
	Color                string                   `json:"color,omitempty"`
}

调整尺寸

type SizeAdjustmentMethodEnum added in v1.4.1

type SizeAdjustmentMethodEnum string

SizeAdjustmentMethodEnum : 调整尺寸方式:高斯模糊、指定颜色、智能裁剪、智能取图

const (
	SizeAdjustmentMethodEnum_GAUSSIAN    SizeAdjustmentMethodEnum = "GAUSSIAN"
	SizeAdjustmentMethodEnum_COLOR       SizeAdjustmentMethodEnum = "COLOR"
	SizeAdjustmentMethodEnum_SMART_CLIP  SizeAdjustmentMethodEnum = "SMART_CLIP"
	SizeAdjustmentMethodEnum_SMART_IMAGE SizeAdjustmentMethodEnum = "SMART_IMAGE"
)

List of SizeAdjustmentMethodEnum

type SizeType added in v1.4.1

type SizeType string

SizeType : 目标尺寸:朋友圈竖版视频、微信激励视频、闪屏、9:16、4:3、16:9

const (
	SizeType_VERTICALVERSION_750_1536  SizeType = "VERTICALVERSION_750_1536"
	SizeType_VERTICALVERSION_750_1334  SizeType = "VERTICALVERSION_750_1334"
	SizeType_VERTICALVERSION_1080_1920 SizeType = "VERTICALVERSION_1080_1920"
	SizeType_VERTICALVERSION           SizeType = "VERTICALVERSION"
	SizeType_HORIZONTALVERSION_4_3     SizeType = "HORIZONTALVERSION_4_3"
	SizeType_HORIZONTALVERSION         SizeType = "HORIZONTALVERSION"
)

List of SizeType

type SmartAdjustment added in v1.4.1

type SmartAdjustment struct {
	AdcreativeTemplateId int64              `json:"adcreative_template_id,omitempty"`
	CampaignType         CampaignType       `json:"campaign_type,omitempty"`
	PromotedObjectType   PromotedObjectType `json:"promoted_object_type,omitempty"`
	SiteSet              *[]string          `json:"site_set,omitempty"`
}

根据创意规格一键适配

type Sortord

type Sortord string

Sortord : 排序方式

const (
	Sortord_ASCENDING  Sortord = "ASCENDING"
	Sortord_DESCENDING Sortord = "DESCENDING"
)

List of Sortord

type SourceType

type SourceType string

SourceType : 配置来源

const (
	SourceType_UNKNOWN         SourceType = "UNKNOWN"
	SourceType_SOURCE_TYPE_EQQ SourceType = "SOURCE_TYPE_EQQ"
	SourceType_SOURCE_TYPE_CRM SourceType = "SOURCE_TYPE_CRM"
)

List of SourceType

type SpeedMode

type SpeedMode string

SpeedMode : 投放速度模式

const (
	SpeedMode_FAST             SpeedMode = "SPEED_MODE_FAST"
	SpeedMode_STANDARD         SpeedMode = "SPEED_MODE_STANDARD"
	SpeedMode_NONE             SpeedMode = "SPEED_MODE_NONE"
	SpeedMode_ABSOLUTE_UNIFORM SpeedMode = "SPEED_MODE_ABSOLUTE_UNIFORM"
)

List of SpeedMode

type SplitTestStatus

type SplitTestStatus string

SplitTestStatus : 拆分对比实验状态

const (
	SplitTestStatus_NORMAL  SplitTestStatus = "SPLIT_TEST_STATUS_NORMAL"
	SplitTestStatus_SUSPEND SplitTestStatus = "SPLIT_TEST_STATUS_SUSPEND"
	SplitTestStatus_PUBLISH SplitTestStatus = "SPLIT_TEST_STATUS_PUBLISH"
)

List of SplitTestStatus

type SplitTestsAddRequest

type SplitTestsAddRequest struct {
	AccountId          int64    `json:"account_id,omitempty"`
	SplitTestName      string   `json:"split_test_name,omitempty"`
	BeginTime          int64    `json:"begin_time,omitempty"`
	EndTime            int64    `json:"end_time,omitempty"`
	AdgroupIdList      *[]int64 `json:"adgroup_id_list,omitempty"`
	SmartExpandEnabled bool     `json:"smart_expand_enabled,omitempty"`
}

type SplitTestsAddResponse

type SplitTestsAddResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *SplitTestsAddResponseData `json:"data,omitempty"`
}

type SplitTestsAddResponseData

type SplitTestsAddResponseData struct {
	SplitTestId int64 `json:"split_test_id,omitempty"`
}

type SplitTestsDeleteRequest

type SplitTestsDeleteRequest struct {
	AccountId   int64 `json:"account_id,omitempty"`
	SplitTestId int64 `json:"split_test_id,omitempty"`
}

type SplitTestsDeleteResponse

type SplitTestsDeleteResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *SplitTestsDeleteResponseData `json:"data,omitempty"`
}

type SplitTestsDeleteResponseData

type SplitTestsDeleteResponseData struct {
	SplitTestId int64 `json:"split_test_id,omitempty"`
}

type SplitTestsGetListStruct

type SplitTestsGetListStruct struct {
	AccountId                int64             `json:"account_id,omitempty"`
	SplitTestId              int64             `json:"split_test_id,omitempty"`
	SplitTestStatus          SplitTestStatus   `json:"split_test_status,omitempty"`
	SplitTestName            string            `json:"split_test_name,omitempty"`
	BeginTime                int64             `json:"begin_time,omitempty"`
	EndTime                  int64             `json:"end_time,omitempty"`
	SmartExpandEnabled       bool              `json:"smart_expand_enabled,omitempty"`
	AdgroupIdList            *[]int64          `json:"adgroup_id_list,omitempty"`
	RecommendedRating        RecommendedRating `json:"recommended_rating,omitempty"`
	RecommendedAdgroupIdList *[]int64          `json:"recommended_adgroup_id_list,omitempty"`
}

返回结构

type SplitTestsGetResponse

type SplitTestsGetResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *SplitTestsGetResponseData `json:"data,omitempty"`
}

type SplitTestsGetResponseData

type SplitTestsGetResponseData struct {
	List     *[]SplitTestsGetListStruct `json:"list,omitempty"`
	PageInfo *PageInfo                  `json:"page_info,omitempty"`
}

type SplitTestsUpdateRequest

type SplitTestsUpdateRequest struct {
	AccountId       int64           `json:"account_id,omitempty"`
	SplitTestId     int64           `json:"split_test_id,omitempty"`
	SplitTestStatus SplitTestStatus `json:"split_test_status,omitempty"`
	SplitTestName   string          `json:"split_test_name,omitempty"`
	AdgroupIdList   *[]int64        `json:"adgroup_id_list,omitempty"`
}

type SplitTestsUpdateResponse

type SplitTestsUpdateResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *SplitTestsUpdateResponseData `json:"data,omitempty"`
}

type SplitTestsUpdateResponseData

type SplitTestsUpdateResponseData struct {
	SplitTestId int64 `json:"split_test_id,omitempty"`
}

type Status added in v1.4.1

type Status string

Status : 任务状态枚举

const (
	Status_PROCESSING Status = "TASK_STATUS_PROCESSING"
	Status_SUCCESS    Status = "TASK_STATUS_SUCCESS"
	Status_FAIL       Status = "TASK_STATUS_FAIL"
)

List of Status

type StatusSpec

type StatusSpec struct {
	OcpaLearningSpec *OcpaLearningSpec `json:"ocpa_learning_spec,omitempty"`
}

获取系统状态所需条件

type StatusType

type StatusType string

StatusType : 状态类型

const (
	StatusType_STATUS_TYPE_OCPA_LEARNING StatusType = "STATUS_TYPE_OCPA_LEARNING"
)

List of StatusType

type SubMethod

type SubMethod struct {
	SubMethodId          int64  `json:"sub_method_id,omitempty"`
	SubMethodName        string `json:"sub_method_name,omitempty"`
	SubMethodDescription string `json:"sub_method_description,omitempty"`
}

子推荐方式

type SuccessPoiInfoStruct added in v1.3.0

type SuccessPoiInfoStruct struct {
	PoiId              string `json:"poi_id,omitempty"`
	OriginAddress      string `json:"origin_address,omitempty"`
	LocalStoreName     string `json:"local_store_name,omitempty"`
	LocalStoreProvince string `json:"local_store_province,omitempty"`
	LocalStoreCity     string `json:"local_store_city,omitempty"`
	LocalStoreAddress  string `json:"local_store_address,omitempty"`
}

校验成功的门店poi信息

type Summary added in v1.4.0

type Summary struct {
	TaskId           int64            `json:"task_id,omitempty"`
	TaskName         string           `json:"task_name,omitempty"`
	TaskType         TaskType         `json:"task_type,omitempty"`
	TaskScope        TaskScope        `json:"task_scope,omitempty"`
	Status           TaskStatus       `json:"status,omitempty"`
	ResultStatus     TaskResultStatus `json:"result_status,omitempty"`
	CreatedTime      int64            `json:"created_time,omitempty"`
	EndTime          int64            `json:"end_time,omitempty"`
	SuccessCount     int64            `json:"success_count,omitempty"`
	FailCount        int64            `json:"fail_count,omitempty"`
	SystemErrorCount int64            `json:"system_error_count,omitempty"`
	Progress         int64            `json:"progress,omitempty"`
}

任务概要

type SupportBillingSpec

type SupportBillingSpec struct {
	BillingEvent BillingEvent `json:"billing_event,omitempty"`
	MinPrice     int64        `json:"min_price,omitempty"`
	MaxPrice     int64        `json:"max_price,omitempty"`
}

支持的计费信息

type SupportDynamicAbilitySpecList

type SupportDynamicAbilitySpecList struct {
	DynamicAbilityType         *[]string `json:"dynamic_ability_type,omitempty"`
	ProductItemDisplayQuantity *[]string `json:"product_item_display_quantity,omitempty"`
}

动态广告支持情况

type SysStatus

type SysStatus string

SysStatus : 广告主在系统中的状态

const (
	SysStatus_NORMAL            SysStatus = "AD_STATUS_NORMAL"
	SysStatus_PENDING           SysStatus = "AD_STATUS_PENDING"
	SysStatus_DENIED            SysStatus = "AD_STATUS_DENIED"
	SysStatus_FROZEN            SysStatus = "AD_STATUS_FROZEN"
	SysStatus_PREPARE           SysStatus = "AD_STATUS_PREPARE"
	SysStatus_DELETED           SysStatus = "AD_STATUS_DELETED"
	SysStatus_PARTIALLY_PENDING SysStatus = "AD_STATUS_PARTIALLY_PENDING"
	SysStatus_PARTIALLY_NORMAL  SysStatus = "AD_STATUS_PARTIALLY_NORMAL"
	SysStatus_INVALID           SysStatus = "AD_STATUS_INVALID"
)

List of SysStatus

type SystemStatusGetListStruct

type SystemStatusGetListStruct struct {
	AdgroupId      int64          `json:"adgroup_id,omitempty"`
	LearningStatus LearningStatus `json:"learning_status,omitempty"`
}

返回结构

type SystemStatusGetResponse

type SystemStatusGetResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *SystemStatusGetResponseData `json:"data,omitempty"`
}

type SystemStatusGetResponseData

type SystemStatusGetResponseData struct {
	List *[]SystemStatusGetListStruct `json:"list,omitempty"`
}

type Tag

type Tag struct {
	TagId       int64  `json:"tag_id,omitempty"`
	ParentTagId int64  `json:"parent_tag_id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	TagCode     string `json:"tag_code,omitempty"`
	UserCount   int64  `json:"user_count,omitempty"`
	CreatedTime string `json:"created_time,omitempty"`
}

type TagClass

type TagClass string

TagClass : 行为兴趣标签返回类型,仅当type=BEHAVIOR、INTEREST时有效

const (
	TagClass_CATEGORY TagClass = "CATEGORY"
	TagClass_KEYWORD  TagClass = "KEYWORD"
)

List of TagClass

type TagSpec

type TagSpec struct {
	BehaviorSpec *BehaviorTargetingTagSpec `json:"behavior_spec,omitempty"`
	InterestSpec *InterestTargetingTagSpec `json:"interest_spec,omitempty"`
}

获取定向标签的条件

type TargetingAdvancedRecommendType added in v1.3.0

type TargetingAdvancedRecommendType string

TargetingAdvancedRecommendType : 优质推荐类型

const (
	TargetingAdvancedRecommendType_SYSTEMATIC   TargetingAdvancedRecommendType = "ADVANCED_RECOMMEND_TYPE_SYSTEMATIC"
	TargetingAdvancedRecommendType_INDUSTRY_HOT TargetingAdvancedRecommendType = "ADVANCED_RECOMMEND_TYPE_INDUSTRY_HOT"
)

List of TargetingAdvancedRecommendType

type TargetingDiagnosisConclusionSpec

type TargetingDiagnosisConclusionSpec struct {
	TargetingDiagnosisScore  int64                   `json:"targeting_diagnosis_score,omitempty"`
	ContractOccupiedScore    int64                   `json:"contract_occupied_score,omitempty"`
	ContractOccupiedSpecList *[]ContractOccupiedSpec `json:"contract_occupied_spec_list,omitempty"`
	CompititionScore         int64                   `json:"compitition_score,omitempty"`
	CompititionSpecList      *[]CompititionSpec      `json:"compitition_spec_list,omitempty"`
	Conclusion               string                  `json:"conclusion,omitempty"`
}

定向维度的曝光评估结果

type TargetingStatus

type TargetingStatus string

TargetingStatus : 定向状态

const (
	TargetingStatus_NARROW        TargetingStatus = "TARGETING_STATUS_NARROW"
	TargetingStatus_SUITABLE      TargetingStatus = "TARGETING_STATUS_SUITABLE"
	TargetingStatus_WIDE          TargetingStatus = "TARGETING_STATUS_WIDE"
	TargetingStatus_UNPREDICTABLE TargetingStatus = "TARGETING_STATUS_UNPREDICTABLE"
)

List of TargetingStatus

type TargetingTagQueryMode

type TargetingTagQueryMode string

TargetingTagQueryMode : 定向标签查询方式

const (
	TargetingTagQueryMode_SEARCH             TargetingTagQueryMode = "TARGETING_TAG_QUERY_MODE_SEARCH"
	TargetingTagQueryMode_RECOMMEND          TargetingTagQueryMode = "TARGETING_TAG_QUERY_MODE_RECOMMEND"
	TargetingTagQueryMode_COMMON             TargetingTagQueryMode = "TARGETING_TAG_QUERY_MODE_COMMON"
	TargetingTagQueryMode_ADVANCED_RECOMMEND TargetingTagQueryMode = "TARGETING_TAG_QUERY_MODE_ADVANCED_RECOMMEND"
	TargetingTagQueryMode_VERIFY_QUERY_LIST  TargetingTagQueryMode = "TARGETING_TAG_QUERY_MODE_VERIFY_QUERY_LIST"
)

List of TargetingTagQueryMode

type TargetingTagReportsGetListStruct

type TargetingTagReportsGetListStruct struct {
	Date                         string  `json:"date,omitempty"`
	Gender                       string  `json:"gender,omitempty"`
	ViewCount                    int64   `json:"view_count,omitempty"`
	DownloadCount                int64   `json:"download_count,omitempty"`
	ActivatedCount               int64   `json:"activated_count,omitempty"`
	ActivatedRate                float64 `json:"activated_rate,omitempty"`
	ThousandDisplayPrice         int64   `json:"thousand_display_price,omitempty"`
	ValidClickCount              int64   `json:"valid_click_count,omitempty"`
	Ctr                          float64 `json:"ctr,omitempty"`
	Cpc                          int64   `json:"cpc,omitempty"`
	Cost                         int64   `json:"cost,omitempty"`
	KeyPageViewCost              int64   `json:"key_page_view_cost,omitempty"`
	CouponClickCount             int64   `json:"coupon_click_count,omitempty"`
	CouponIssueCount             int64   `json:"coupon_issue_count,omitempty"`
	CouponGetCount               int64   `json:"coupon_get_count,omitempty"`
	WebCommodityPageViewCount    int64   `json:"web_commodity_page_view_count,omitempty"`
	WebCommodityPageViewCost     int64   `json:"web_commodity_page_view_cost,omitempty"`
	WebRegisterCount             int64   `json:"web_register_count,omitempty"`
	PageConsultCount             int64   `json:"page_consult_count,omitempty"`
	PageConsultCost              int64   `json:"page_consult_cost,omitempty"`
	PagePhoneCallDirectCount     int64   `json:"page_phone_call_direct_count,omitempty"`
	PagePhoneCallDirectCost      int64   `json:"page_phone_call_direct_cost,omitempty"`
	PagePhoneCallBackCount       int64   `json:"page_phone_call_back_count,omitempty"`
	PagePhoneCallBackCost        int64   `json:"page_phone_call_back_cost,omitempty"`
	OwnPageNavigationCount       int64   `json:"own_page_navigation_count,omitempty"`
	OwnPageNaviCost              int64   `json:"own_page_navi_cost,omitempty"`
	PlatformPageNavigationCount  int64   `json:"platform_page_navigation_count,omitempty"`
	PlatformPageNavigationCost   int64   `json:"platform_page_navigation_cost,omitempty"`
	WebApplicationCount          int64   `json:"web_application_count,omitempty"`
	WebApplicationCost           int64   `json:"web_application_cost,omitempty"`
	PageReservationCount         int64   `json:"page_reservation_count,omitempty"`
	PageReservationRate          float64 `json:"page_reservation_rate,omitempty"`
	PageReservationCost          int64   `json:"page_reservation_cost,omitempty"`
	WebAddToCartCount            int64   `json:"web_add_to_cart_count,omitempty"`
	WebAddToCartCost             int64   `json:"web_add_to_cart_cost,omitempty"`
	AddToCartPrice               int64   `json:"add_to_cart_price,omitempty"`
	OwnPageCouponGetCount        int64   `json:"own_page_coupon_get_count,omitempty"`
	OwnPageCouponGetCost         int64   `json:"own_page_coupon_get_cost,omitempty"`
	PlatformCouponGetCount       int64   `json:"platform_coupon_get_count,omitempty"`
	PlatformCouponGetCost        int64   `json:"platform_coupon_get_cost,omitempty"`
	WebOrderCount                int64   `json:"web_order_count,omitempty"`
	WebOrderRate                 float64 `json:"web_order_rate,omitempty"`
	AppOrderRate                 float64 `json:"app_order_rate,omitempty"`
	WebOrderCost                 int64   `json:"web_order_cost,omitempty"`
	WebCheckoutAmount            int64   `json:"web_checkout_amount,omitempty"`
	WebCheckoutCount             int64   `json:"web_checkout_count,omitempty"`
	WebCheckoutCost              int64   `json:"web_checkout_cost,omitempty"`
	OrderAmount                  int64   `json:"order_amount,omitempty"`
	OrderRoi                     float64 `json:"order_roi,omitempty"`
	DeliverCount                 int64   `json:"deliver_count,omitempty"`
	DeliverCost                  int64   `json:"deliver_cost,omitempty"`
	SignInCount                  int64   `json:"sign_in_count,omitempty"`
	SignInCost                   int64   `json:"sign_in_cost,omitempty"`
	DownloadRate                 float64 `json:"download_rate,omitempty"`
	DownloadCost                 int64   `json:"download_cost,omitempty"`
	InstallCount                 int64   `json:"install_count,omitempty"`
	InstallCost                  int64   `json:"install_cost,omitempty"`
	ClickActivatedRate           float64 `json:"click_activated_rate,omitempty"`
	ActivatedCost                int64   `json:"activated_cost,omitempty"`
	RetentionCount               int64   `json:"retention_count,omitempty"`
	RetentionCost                int64   `json:"retention_cost,omitempty"`
	KeyPageViewCount             int64   `json:"key_page_view_count,omitempty"`
	AppCommodityPageViewCount    int64   `json:"app_commodity_page_view_count,omitempty"`
	AppCommodityPageViewCost     int64   `json:"app_commodity_page_view_cost,omitempty"`
	AppRegisterCount             int64   `json:"app_register_count,omitempty"`
	AppRegisterCost              int64   `json:"app_register_cost,omitempty"`
	WebRegisterCost              int64   `json:"web_register_cost,omitempty"`
	AppApplicationCount          int64   `json:"app_application_count,omitempty"`
	AppApplicationCost           int64   `json:"app_application_cost,omitempty"`
	AppAddToCartCount            int64   `json:"app_add_to_cart_count,omitempty"`
	AppAddToCartCost             int64   `json:"app_add_to_cart_cost,omitempty"`
	AppOrderCount                int64   `json:"app_order_count,omitempty"`
	AppOrderCost                 int64   `json:"app_order_cost,omitempty"`
	AppCheckoutCount             int64   `json:"app_checkout_count,omitempty"`
	AppCheckoutAmount            int64   `json:"app_checkout_amount,omitempty"`
	AppCheckoutCost              int64   `json:"app_checkout_cost,omitempty"`
	FollowCount                  int64   `json:"follow_count,omitempty"`
	FollowCost                   int64   `json:"follow_cost,omitempty"`
	ForwardCount                 int64   `json:"forward_count,omitempty"`
	ForwardCost                  int64   `json:"forward_cost,omitempty"`
	ReadCount                    int64   `json:"read_count,omitempty"`
	ReadCost                     int64   `json:"read_cost,omitempty"`
	PraiseCount                  int64   `json:"praise_count,omitempty"`
	PraiseCost                   int64   `json:"praise_cost,omitempty"`
	CommentCount                 int64   `json:"comment_count,omitempty"`
	CommentCost                  int64   `json:"comment_cost,omitempty"`
	FromFollowUv                 int64   `json:"from_follow_uv,omitempty"`
	FromFollowCost               int64   `json:"from_follow_cost,omitempty"`
	AddDesktopPv                 int64   `json:"add_desktop_pv,omitempty"`
	AddDesktopCost               int64   `json:"add_desktop_cost,omitempty"`
	Age                          string  `json:"age,omitempty"`
	RegionId                     int64   `json:"region_id,omitempty"`
	CityId                       int64   `json:"city_id,omitempty"`
	Province                     string  `json:"province,omitempty"`
	City                         string  `json:"city,omitempty"`
	ViewUserCount                int64   `json:"view_user_count,omitempty"`
	AvgViewPerUser               float64 `json:"avg_view_per_user,omitempty"`
	ClickUserCount               int64   `json:"click_user_count,omitempty"`
	ValuableClickCount           int64   `json:"valuable_click_count,omitempty"`
	ValuableClickCost            int64   `json:"valuable_click_cost,omitempty"`
	ClickDetailCount             int64   `json:"click_detail_count,omitempty"`
	LinkClickUserCount           int64   `json:"link_click_user_count,omitempty"`
	ClickHeadCount               int64   `json:"click_head_count,omitempty"`
	PortraitClickUserCount       int64   `json:"portrait_click_user_count,omitempty"`
	ClickNickCount               int64   `json:"click_nick_count,omitempty"`
	NicknameClickUserCount       int64   `json:"nickname_click_user_count,omitempty"`
	ClickPoiCount                int64   `json:"click_poi_count,omitempty"`
	PoiClickUserCount            int64   `json:"poi_click_user_count,omitempty"`
	PraiseUserCount              int64   `json:"praise_user_count,omitempty"`
	CommentUserCount             int64   `json:"comment_user_count,omitempty"`
	ConversionsCount             int64   `json:"conversions_count,omitempty"`
	ConversionsCost              int64   `json:"conversions_cost,omitempty"`
	ConversionsRate              float64 `json:"conversions_rate,omitempty"`
	DeepConversionsCount         int64   `json:"deep_conversions_count,omitempty"`
	DeepConversionsCost          int64   `json:"deep_conversions_cost,omitempty"`
	DeepConversionsRate          float64 `json:"deep_conversions_rate,omitempty"`
	OrderCount                   int64   `json:"order_count,omitempty"`
	OrderUnitPrice               int64   `json:"order_unit_price,omitempty"`
	LeadsUserCount               int64   `json:"leads_user_count,omitempty"`
	ValidLeadsUv                 int64   `json:"valid_leads_uv,omitempty"`
	ValidLeadsCost               int64   `json:"valid_leads_cost,omitempty"`
	OfficialAccountFollowCount   int64   `json:"official_account_follow_count,omitempty"`
	CouponUseCount               int64   `json:"coupon_use_count,omitempty"`
	TargetingType                string  `json:"targeting_type,omitempty"`
	TargetingTag                 string  `json:"targeting_tag,omitempty"`
	TagClass                     string  `json:"tag_class,omitempty"`
	BehaviorScene                string  `json:"behavior_scene,omitempty"`
	BehaviorTimeWindow           string  `json:"behavior_time_window,omitempty"`
	BehaviorIntensity            string  `json:"behavior_intensity,omitempty"`
	PlatformPageViewCount        int64   `json:"platform_page_view_count,omitempty"`
	PlatformShopNavigationCount  int64   `json:"platform_shop_navigation_count,omitempty"`
	PlatformShopNavigationCost   int64   `json:"platform_shop_navigation_cost,omitempty"`
	RetentionRate                float64 `json:"retention_rate,omitempty"`
	AppCommodityPageViewRate     float64 `json:"app_commodity_page_view_rate,omitempty"`
	WebCommodityPageViewRate     float64 `json:"web_commodity_page_view_rate,omitempty"`
	AddToCartAmount              int64   `json:"add_to_cart_amount,omitempty"`
	PlatformCouponClickCount     int64   `json:"platform_coupon_click_count,omitempty"`
	PlatformCouponGetRate        float64 `json:"platform_coupon_get_rate,omitempty"`
	IntePhoneCount               int64   `json:"inte_phone_count,omitempty"`
	PhoneCallCount               int64   `json:"phone_call_count,omitempty"`
	ExternalFormReservationCount int64   `json:"external_form_reservation_count,omitempty"`
	AppAdPayingUsers             int64   `json:"app_ad_paying_users,omitempty"`
	AdPurValWeb                  int64   `json:"ad_pur_val_web,omitempty"`
	AdPurValApp                  int64   `json:"ad_pur_val_app,omitempty"`
	GameCreateRoleCount          int64   `json:"game_create_role_count,omitempty"`
	GameAuthorizeCount           int64   `json:"game_authorize_count,omitempty"`
	GameTutorialFinishCount      int64   `json:"game_tutorial_finish_count,omitempty"`
	EffectiveLeadsCount          int64   `json:"effective_leads_count,omitempty"`
	EffectiveCost                int64   `json:"effective_cost,omitempty"`
	EffectiveReserveCount        int64   `json:"effective_reserve_count,omitempty"`
	EffectiveConsultCount        int64   `json:"effective_consult_count,omitempty"`
	EffectivePhoneCount          int64   `json:"effective_phone_count,omitempty"`
	PotentialReserveCount        int64   `json:"potential_reserve_count,omitempty"`
	PotentialConsultCount        int64   `json:"potential_consult_count,omitempty"`
	PotentialPhoneCount          int64   `json:"potential_phone_count,omitempty"`
	AppCheckoutRate              float64 `json:"app_checkout_rate,omitempty"`
	WebCheckoutRate              float64 `json:"web_checkout_rate,omitempty"`
	AppActivatedCheckoutRate     float64 `json:"app_activated_checkout_rate,omitempty"`
	WebActivatedCheckoutRate     float64 `json:"web_activated_checkout_rate,omitempty"`
	AppRegisterRate              float64 `json:"app_register_rate,omitempty"`
	WebRegRate                   float64 `json:"web_reg_rate,omitempty"`
	PagePhoneCallDirectRate      float64 `json:"page_phone_call_direct_rate,omitempty"`
	PagePhoneCallBackRate        float64 `json:"page_phone_call_back_rate,omitempty"`
	PageConsultRate              float64 `json:"page_consult_rate,omitempty"`
	DeliverRate                  float64 `json:"deliver_rate,omitempty"`
	InstallRate                  float64 `json:"install_rate,omitempty"`
	ArppuCost                    int64   `json:"arppu_cost,omitempty"`
	ArpuCost                     int64   `json:"arpu_cost,omitempty"`
	WebArppuCost                 int64   `json:"web_arppu_cost,omitempty"`
	WebArpuCost                  int64   `json:"web_arpu_cost,omitempty"`
	AppAdPurArpuCost             int64   `json:"app_ad_pur_arpu_cost,omitempty"`
	AppAdPurArppuCost            int64   `json:"app_ad_pur_arppu_cost,omitempty"`
	WebAdPurArpuCost             int64   `json:"web_ad_pur_arpu_cost,omitempty"`
	CheoutFd                     int64   `json:"cheout_fd,omitempty"`
	CheoutTd                     int64   `json:"cheout_td,omitempty"`
	CheoutOw                     int64   `json:"cheout_ow,omitempty"`
	CheoutTw                     int64   `json:"cheout_tw,omitempty"`
	CheoutOm                     int64   `json:"cheout_om,omitempty"`
	CheoutFdReward               float64 `json:"cheout_fd_reward,omitempty"`
	CheoutTdReward               float64 `json:"cheout_td_reward,omitempty"`
	CheoutOwReward               float64 `json:"cheout_ow_reward,omitempty"`
	CheoutTwReward               float64 `json:"cheout_tw_reward,omitempty"`
	CheoutOmReward               float64 `json:"cheout_om_reward,omitempty"`
	CheoutTotalReward            float64 `json:"cheout_total_reward,omitempty"`
	FirstPayCount                int64   `json:"first_pay_count,omitempty"`
	FirstPayRate                 float64 `json:"first_pay_rate,omitempty"`
	PreCreWeb                    int64   `json:"pre_cre_web,omitempty"`
	PreCreApp                    int64   `json:"pre_cre_app,omitempty"`
	PreCreWebVal                 int64   `json:"pre_cre_web_val,omitempty"`
	PreCreAppVal                 int64   `json:"pre_cre_app_val,omitempty"`
	CreWeb                       int64   `json:"cre_web,omitempty"`
	CreApp                       int64   `json:"cre_app,omitempty"`
	CreWebVal                    int64   `json:"cre_web_val,omitempty"`
	CreAppVal                    int64   `json:"cre_app_val,omitempty"`
	WithdrDepWeb                 int64   `json:"withdr_dep_web,omitempty"`
	WithdrDepApp                 int64   `json:"withdr_dep_app,omitempty"`
	WithdrDepWebVal              int64   `json:"withdr_dep_web_val,omitempty"`
	WithdrDepAppVal              int64   `json:"withdr_dep_app_val,omitempty"`
	FirstPayCost                 int64   `json:"first_pay_cost,omitempty"`
	LandingPageClickCount        int64   `json:"landing_page_click_count,omitempty"`
	WebCartAmount                int64   `json:"web_cart_amount,omitempty"`
	ScanFollowCount              int64   `json:"scan_follow_count,omitempty"`
	ScanFollowUserCount          int64   `json:"scan_follow_user_count,omitempty"`
	ScanFollowUserCost           int64   `json:"scan_follow_user_cost,omitempty"`
	ScanFollowUserRate           float64 `json:"scan_follow_user_rate,omitempty"`
	AppOrderAmount               int64   `json:"app_order_amount,omitempty"`
	WebOrderAmount               int64   `json:"web_order_amount,omitempty"`
	CreWebCost                   int64   `json:"cre_web_cost,omitempty"`
	CreAppCost                   int64   `json:"cre_app_cost,omitempty"`
	PreCreWebCost                int64   `json:"pre_cre_web_cost,omitempty"`
	PreCreAppCost                int64   `json:"pre_cre_app_cost,omitempty"`
	GenderName                   string  `json:"gender_name,omitempty"`
	AccountId                    int64   `json:"account_id,omitempty"`
	CampaignId                   int64   `json:"campaign_id,omitempty"`
	AdgroupId                    int64   `json:"adgroup_id,omitempty"`
	AdId                         int64   `json:"ad_id,omitempty"`
	AudienceId                   int64   `json:"audience_id,omitempty"`
	PromotedObjectType           string  `json:"promoted_object_type,omitempty"`
	PromotedObjectId             string  `json:"promoted_object_id,omitempty"`
	PlatformPageViewRate         float64 `json:"platform_page_view_rate,omitempty"`
	ValuableClickRate            float64 `json:"valuable_click_rate,omitempty"`
	VideoPlayCount               int64   `json:"video_play_count,omitempty"`
	ClickImageCount              int64   `json:"click_image_count,omitempty"`
	VideoInnerPlayCount          int64   `json:"video_inner_play_count,omitempty"`
	LanButtonClickCount          int64   `json:"lan_button_click_count,omitempty"`
	LanJumpButtonClickers        int64   `json:"lan_jump_button_clickers,omitempty"`
	LanJumpButtonClickCost       int64   `json:"lan_jump_button_click_cost,omitempty"`
	LanJumpButtonCtr             float64 `json:"lan_jump_button_ctr,omitempty"`
	LanButtonClickCost           int64   `json:"lan_button_click_cost,omitempty"`
	CpnClickButtonCount          int64   `json:"cpn_click_button_count,omitempty"`
	CpnClickButtonUv             int64   `json:"cpn_click_button_uv,omitempty"`
	KeyPageUv                    int64   `json:"key_page_uv,omitempty"`
	SpecialPageExpUv             int64   `json:"special_page_exp_uv,omitempty"`
	SpecialPageExpCost           int64   `json:"special_page_exp_cost,omitempty"`
	ViewCommodityPageUv          int64   `json:"view_commodity_page_uv,omitempty"`
	EffectLeadsPurchaseCount     int64   `json:"effect_leads_purchase_count,omitempty"`
	ReservationUv                int64   `json:"reservation_uv,omitempty"`
	OverallLeadsPurchaseCount    int64   `json:"overall_leads_purchase_count,omitempty"`
	LeadsPurchaseCount           int64   `json:"leads_purchase_count,omitempty"`
	LeadsPurchaseRate            float64 `json:"leads_purchase_rate,omitempty"`
	LeadsPurchaseCost            int64   `json:"leads_purchase_cost,omitempty"`
	LeadsPurchaseUv              int64   `json:"leads_purchase_uv,omitempty"`
	PhoneCallUv                  int64   `json:"phone_call_uv,omitempty"`
	ValidPhoneUv                 int64   `json:"valid_phone_uv,omitempty"`
	PotentialCustomerPhoneUv     int64   `json:"potential_customer_phone_uv,omitempty"`
	WebRegisterUv                int64   `json:"web_register_uv,omitempty"`
	WebApplyUv                   int64   `json:"web_apply_uv,omitempty"`
	WebCreditUv                  int64   `json:"web_credit_uv,omitempty"`
	AppApplyUv                   int64   `json:"app_apply_uv,omitempty"`
	AppPreCreditUv               int64   `json:"app_pre_credit_uv,omitempty"`
	AppCreditUv                  int64   `json:"app_credit_uv,omitempty"`
	AppWithdrawUv                int64   `json:"app_withdraw_uv,omitempty"`
	WechatAppRegisterUv          int64   `json:"wechat_app_register_uv,omitempty"`
	NoInterestCount              int64   `json:"no_interest_count,omitempty"`
	FirstDayOrderCount           int64   `json:"first_day_order_count,omitempty"`
	FirstDayOrderAmount          int64   `json:"first_day_order_amount,omitempty"`
	AddWishlistCount             int64   `json:"add_wishlist_count,omitempty"`
	EffectLeadsPurchaseCost      int64   `json:"effect_leads_purchase_cost,omitempty"`
	RequestConversionsCount      int64   `json:"request_conversions_count,omitempty"`
	RequestConversionsCost       int64   `json:"request_conversions_cost,omitempty"`
	IncomeRoi1                   float64 `json:"income_roi_1,omitempty"`
	IncomeRoi3                   float64 `json:"income_roi_3,omitempty"`
	IncomeRoi7                   float64 `json:"income_roi_7,omitempty"`
	IncomeRoi14                  float64 `json:"income_roi_14,omitempty"`
	ActivatedTotalPaymentCost    int64   `json:"activated_total_payment_cost,omitempty"`
	PaymentAmountActivatedD3     int64   `json:"payment_amount_activated_d3,omitempty"`
	PaymentAmountActivatedD7     int64   `json:"payment_amount_activated_d7,omitempty"`
	PaymentAmountActivatedD14    int64   `json:"payment_amount_activated_d14,omitempty"`
	PaymentAmountActivatedD30    int64   `json:"payment_amount_activated_d30,omitempty"`
	FirstDayPayCount             int64   `json:"first_day_pay_count,omitempty"`
	FirstDayPayCost              int64   `json:"first_day_pay_cost,omitempty"`
	FirstDayFirstPayCost         int64   `json:"first_day_first_pay_cost,omitempty"`
	FirstDayFirstPayCount        int64   `json:"first_day_first_pay_count,omitempty"`
	PaymentCostActivatedD1       int64   `json:"payment_cost_activated_d1,omitempty"`
	FirstDayPayAmount            int64   `json:"first_day_pay_amount,omitempty"`
	RoiActivatedD1               float64 `json:"roi_activated_d1,omitempty"`
	RoiActivatedD3               float64 `json:"roi_activated_d3,omitempty"`
	RoiActivatedD7               float64 `json:"roi_activated_d7,omitempty"`
	RoiActivatedD14              float64 `json:"roi_activated_d14,omitempty"`
	RoiActivatedD30              float64 `json:"roi_activated_d30,omitempty"`
	FirstDayFirstPayRate         float64 `json:"first_day_first_pay_rate,omitempty"`
}

返回结构

type TargetingTagReportsGetResponse

type TargetingTagReportsGetResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *TargetingTagReportsGetResponseData `json:"data,omitempty"`
}

type TargetingTagReportsGetResponseData

type TargetingTagReportsGetResponseData struct {
	List     *[]TargetingTagReportsGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                               `json:"page_info,omitempty"`
}

type TargetingTagsGetListStruct

type TargetingTagsGetListStruct struct {
	Id         int64     `json:"id,omitempty"`
	Name       string    `json:"name,omitempty"`
	ParentId   int64     `json:"parent_id,omitempty"`
	ParentName string    `json:"parent_name,omitempty"`
	CityLevel  CityLevel `json:"city_level,omitempty"`
	TagClass   TagClass  `json:"tag_class,omitempty"`
}

返回结构

type TargetingTagsGetQuerySpec added in v1.3.0

type TargetingTagsGetQuerySpec struct {
	Query                  string                         `json:"query,omitempty"`
	QueryList              *[]string                      `json:"query_list,omitempty"`
	MaxResultNumber        int64                          `json:"max_result_number,omitempty"`
	ExcludingTargetingTags *[]string                      `json:"excluding_targeting_tags,omitempty"`
	AdvancedRecommendType  TargetingAdvancedRecommendType `json:"advanced_recommend_type,omitempty"`
}

查询定向标签的条件,当 query_mode 为 TARGETING_TAG_QUERY_MODE_VERIFY_QUERY_LIST、TARGETING_TAG_QUERY_MODE_SEARCH 和 TARGETING_TAG_QUERY_MODE_RECOMMEND 时必填

type TargetingTagsGetResponse

type TargetingTagsGetResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *TargetingTagsGetResponseData `json:"data,omitempty"`
}

type TargetingTagsGetResponseData

type TargetingTagsGetResponseData struct {
	List *[]TargetingTagsGetListStruct `json:"list,omitempty"`
}

type TargetingWidenessRateFunnelStruct

type TargetingWidenessRateFunnelStruct struct {
	Value              float64 `json:"value,omitempty"`
	Score              int64   `json:"score,omitempty"`
	ScoreDesc          string  `json:"score_desc,omitempty"`
	RankCategory       int64   `json:"rank_category,omitempty"`
	RankSecondCategory int64   `json:"rank_second_category,omitempty"`
	RankOverall        int64   `json:"rank_overall,omitempty"`
}

定向通过率分析

type TargetingsAddRequest

type TargetingsAddRequest struct {
	TargetingName string                 `json:"targeting_name,omitempty"`
	Description   string                 `json:"description,omitempty"`
	AccountId     int64                  `json:"account_id,omitempty"`
	Targeting     *WriteTargetingSetting `json:"targeting,omitempty"`
}

type TargetingsAddResponse

type TargetingsAddResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *TargetingsAddResponseData `json:"data,omitempty"`
}

type TargetingsAddResponseData

type TargetingsAddResponseData struct {
	TargetingId int64 `json:"targeting_id,omitempty"`
}

type TargetingsDeleteRequest

type TargetingsDeleteRequest struct {
	TargetingId int64 `json:"targeting_id,omitempty"`
	AccountId   int64 `json:"account_id,omitempty"`
}

type TargetingsDeleteResponse

type TargetingsDeleteResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *TargetingsDeleteResponseData `json:"data,omitempty"`
}

type TargetingsDeleteResponseData

type TargetingsDeleteResponseData struct {
	TargetingId int64 `json:"targeting_id,omitempty"`
}

type TargetingsGetListStruct

type TargetingsGetListStruct struct {
	TargetingId                   int64                 `json:"targeting_id,omitempty"`
	TargetingName                 string                `json:"targeting_name,omitempty"`
	IsIncludeUnsupportedTargeting bool                  `json:"is_include_unsupported_targeting,omitempty"`
	Description                   string                `json:"description,omitempty"`
	IsDeleted                     bool                  `json:"is_deleted,omitempty"`
	CreatedTime                   int64                 `json:"created_time,omitempty"`
	LastModifiedTime              int64                 `json:"last_modified_time,omitempty"`
	AdLockStatus                  AdLockStatus          `json:"ad_lock_status,omitempty"`
	TargetingTranslation          string                `json:"targeting_translation,omitempty"`
	Targeting                     *ReadTargetingSetting `json:"targeting,omitempty"`
}

返回结构

type TargetingsGetResponse

type TargetingsGetResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *TargetingsGetResponseData `json:"data,omitempty"`
}

type TargetingsGetResponseData

type TargetingsGetResponseData struct {
	List     *[]TargetingsGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500           `json:"page_info,omitempty"`
}

type TargetingsUpdateRequest

type TargetingsUpdateRequest struct {
	TargetingId   int64                  `json:"targeting_id,omitempty"`
	TargetingName string                 `json:"targeting_name,omitempty"`
	Description   string                 `json:"description,omitempty"`
	AccountId     int64                  `json:"account_id,omitempty"`
	Targeting     *WriteTargetingSetting `json:"targeting,omitempty"`
}

type TargetingsUpdateResponse

type TargetingsUpdateResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *TargetingsUpdateResponseData `json:"data,omitempty"`
}

type TargetingsUpdateResponseData

type TargetingsUpdateResponseData struct {
	TargetingId int64 `json:"targeting_id,omitempty"`
}

type TaskDetailResultType added in v1.4.0

type TaskDetailResultType string

TaskDetailResultType : 任务详情每项执行结果类型

const (
	TaskDetailResultType_PENDING      TaskDetailResultType = "TASK_DETAIL_RESULT_TYPE_PENDING"
	TaskDetailResultType_FAIL         TaskDetailResultType = "TASK_DETAIL_RESULT_TYPE_FAIL"
	TaskDetailResultType_SUCCESS      TaskDetailResultType = "TASK_DETAIL_RESULT_TYPE_SUCCESS"
	TaskDetailResultType_SYSTEM_ERROR TaskDetailResultType = "TASK_DETAIL_RESULT_TYPE_SYSTEM_ERROR"
)

List of TaskDetailResultType

type TaskResultStatus added in v1.4.0

type TaskResultStatus string

TaskResultStatus : 任务结果状态

const (
	TaskResultStatus_UNKNOWN      TaskResultStatus = "TASK_RESULT_STATUS_UNKNOWN"
	TaskResultStatus_PENDING      TaskResultStatus = "TASK_RESULT_STATUS_PENDING"
	TaskResultStatus_PROCESSING   TaskResultStatus = "TASK_RESULT_STATUS_PROCESSING"
	TaskResultStatus_SUCCESS      TaskResultStatus = "TASK_RESULT_STATUS_SUCCESS"
	TaskResultStatus_FAIL         TaskResultStatus = "TASK_RESULT_STATUS_FAIL"
	TaskResultStatus_PARTIAL_FAIL TaskResultStatus = "TASK_RESULT_STATUS_PARTIAL_FAIL"
	TaskResultStatus_SYSTEM_ERROR TaskResultStatus = "TASK_RESULT_STATUS_SYSTEM_ERROR"
	TaskResultStatus_DELETED      TaskResultStatus = "TASK_RESULT_STATUS_DELETED"
)

List of TaskResultStatus

type TaskScope added in v1.4.0

type TaskScope string

TaskScope : 任务操作业务对象范围

const (
	TaskScope_UNKNOWN        TaskScope = "TASK_SCOPE_UNKNOWN"
	TaskScope_CAMPAIGN       TaskScope = "TASK_SCOPE_CAMPAIGN"
	TaskScope_ADGROUP        TaskScope = "TASK_SCOPE_ADGROUP"
	TaskScope_ADVERTISER     TaskScope = "TASK_SCOPE_ADVERTISER"
	TaskScope_SCHEDULED_TASK TaskScope = "TASK_SCOPE_SCHEDULED_TASK"
	TaskScope_AD             TaskScope = "TASK_SCOPE_AD"
)

List of TaskScope

type TaskSpec

type TaskSpec struct {
	ReportTaskSpec                               *ReportTaskSpec                               `json:"report_task_spec,omitempty"`
	TaskTypeAdHourlyReportSpec                   *TaskTypeAdHourlyReportSpec                   `json:"task_type_ad_hourly_report_spec,omitempty"`
	TaskTypeWechatMomentsAdgroupHourlyReportSpec *TaskTypeWechatMomentsAdgroupHourlyReportSpec `json:"task_type_wechat_moments_adgroup_hourly_report_spec,omitempty"`
	TaskTypeWechatAdgroupHourlyReportSpec        *TaskTypeWechatAdgroupHourlyReportSpec        `json:"task_type_wechat_adgroup_hourly_report_spec,omitempty"`
	TaskTypeWechatAdgroupDailyReportSpec         *TaskTypeWechatAdgroupDailyReportSpec         `json:"task_type_wechat_adgroup_daily_report_spec,omitempty"`
	TaskTypeWechatAdHourlyReportSpec             *TaskTypeWechatAdHourlyReportSpec             `json:"task_type_wechat_ad_hourly_report_spec,omitempty"`
	TaskTypeWechatAdDailyReportSpec              *TaskTypeWechatAdDailyReportSpec              `json:"task_type_wechat_ad_daily_report_spec,omitempty"`
	TaskTypeWechatAdvertisingDataSpec            *TaskTypeWechatAdvertisingDataSpec            `json:"task_type_wechat_advertising_data_spec,omitempty"`
	TaskTypeWechatPoiHourlyReportSpec            *TaskTypeWechatPoiHourlyReportSpec            `json:"task_type_wechat_poi_hourly_report_spec,omitempty"`
	TaskTypeCreateAndroidChannelPackageSpec      *TaskTypeCreateAndroidChannelPackageSpec      `json:"task_type_create_android_channel_package_spec,omitempty"`
	TaskTypeUpdateAndroidChannelPackageSpec      *TaskTypeUpdateAndroidChannelPackageSpec      `json:"task_type_update_android_channel_package_spec,omitempty"`
	TaskTypeCreateAndroidUnionChannelPackageSpec *TaskTypeCreateAndroidUnionChannelPackageSpec `json:"task_type_create_android_union_channel_package_spec,omitempty"`
	TaskTypeUpdateAndroidUnionChannelPackageSpec *TaskTypeUpdateAndroidUnionChannelPackageSpec `json:"task_type_update_android_union_channel_package_spec,omitempty"`
	TaskTypeUnionPositionReportSpec              *TaskTypeUnionPositionReportSpec              `json:"task_type_union_position_report_spec,omitempty"`
}

任务所需条件

type TaskStatus

type TaskStatus string

TaskStatus : 任务状态

const (
	TaskStatus_PENDING    TaskStatus = "TASK_STATUS_PENDING"
	TaskStatus_PROCESSING TaskStatus = "TASK_STATUS_PROCESSING"
	TaskStatus_EXPIRED    TaskStatus = "TASK_STATUS_EXPIRED"
	TaskStatus_COMPLETED  TaskStatus = "TASK_STATUS_COMPLETED"
	TaskStatus_CANCELLED  TaskStatus = "TASK_STATUS_CANCELLED"
	TaskStatus_FAIL       TaskStatus = "TASK_STATUS_FAIL"
	TaskStatus_DELETED    TaskStatus = "TASK_STATUS_DELETED"
)

List of TaskStatus

type TaskType

type TaskType string

TaskType : 任务类型(部分任务待废弃)具体请参考

const (
	TaskType_TASK_TYPE_REPORT_AGENCY_ADVERTISER_HOURLY                        TaskType = "TASK_TYPE_REPORT_AGENCY_ADVERTISER_HOURLY"
	TaskType_TASK_TYPE_TSA_IMEI                                               TaskType = "TASK_TYPE_TSA_IMEI"
	TaskType_TASK_TYPE_CREATIVE_PICTURE_REPORT                                TaskType = "TASK_TYPE_CREATIVE_PICTURE_REPORT"
	TaskType_TASK_TYPE_AD_HOURLY_REPORT                                       TaskType = "TASK_TYPE_AD_HOURLY_REPORT"
	TaskType_TASK_TYPE_ADGROUP_HOURLY_REPORT                                  TaskType = "TASK_TYPE_ADGROUP_HOURLY_REPORT"
	TaskType_TASK_TYPE_WECHAT_MOMENTS_ADGROUP_HOURLY_REPORT                   TaskType = "TASK_TYPE_WECHAT_MOMENTS_ADGROUP_HOURLY_REPORT"
	TaskType_TASK_TYPE_ADGROUP_DAILY_REPORT                                   TaskType = "TASK_TYPE_ADGROUP_DAILY_REPORT"
	TaskType_TASK_TYPE_INDUSTRY_CREATIVE_TEMPLATE_REPORT                      TaskType = "TASK_TYPE_INDUSTRY_CREATIVE_TEMPLATE_REPORT"
	TaskType_TASK_TYPE_WECHAT_ADGROUP_HOURLY_REPORT                           TaskType = "TASK_TYPE_WECHAT_ADGROUP_HOURLY_REPORT"
	TaskType_TASK_TYPE_WECHAT_ADGROUP_DAILY_REPORT                            TaskType = "TASK_TYPE_WECHAT_ADGROUP_DAILY_REPORT"
	TaskType_TASK_TYPE_WECHAT_AD_HOURLY_REPORT                                TaskType = "TASK_TYPE_WECHAT_AD_HOURLY_REPORT"
	TaskType_TASK_TYPE_WECHAT_AD_DAILY_REPORT                                 TaskType = "TASK_TYPE_WECHAT_AD_DAILY_REPORT"
	TaskType_TASK_TYPE_WECHAT_ADVERTISING_DATA                                TaskType = "TASK_TYPE_WECHAT_ADVERTISING_DATA"
	TaskType_TASK_TYPE_POI_HOURLY_REPORT                                      TaskType = "TASK_TYPE_POI_HOURLY_REPORT"
	TaskType_TASK_TYPE_WECHAT_POI_HOURLY_REPORT                               TaskType = "TASK_TYPE_WECHAT_POI_HOURLY_REPORT"
	TaskType_TASK_TYPE_ENCRYPTED_CUSTOM_IMEI                                  TaskType = "TASK_TYPE_ENCRYPTED_CUSTOM_IMEI"
	TaskType_TASK_TYPE_ENCRYPTED_TENCENT_IMEI                                 TaskType = "TASK_TYPE_ENCRYPTED_TENCENT_IMEI"
	TaskType_TASK_TYPE_CLEAR_TENCENT_IMEI                                     TaskType = "TASK_TYPE_CLEAR_TENCENT_IMEI"
	TaskType_TASK_TYPE_DEVICE_INFO                                            TaskType = "TASK_TYPE_DEVICE_INFO"
	TaskType_TASK_TYPE_REBATE_DETAIL                                          TaskType = "TASK_TYPE_REBATE_DETAIL"
	TaskType_TASK_TYPE_DEVICE_DETAIL_CPC                                      TaskType = "TASK_TYPE_DEVICE_DETAIL_CPC"
	TaskType_TASK_TYPE_OM_ADVERTISING_INFO                                    TaskType = "TASK_TYPE_OM_ADVERTISING_INFO"
	TaskType_TASK_TYPE_CREATE_ANDROID_CHANNEL_PACKAGE                         TaskType = "TASK_TYPE_CREATE_ANDROID_CHANNEL_PACKAGE"
	TaskType_TASK_TYPE_UPDATE_ANDROID_CHANNEL_PACKAGE                         TaskType = "TASK_TYPE_UPDATE_ANDROID_CHANNEL_PACKAGE"
	TaskType_TASK_TYPE_CREATE_ANDROID_UNION_CHANNEL_PACKAGE                   TaskType = "TASK_TYPE_CREATE_ANDROID_UNION_CHANNEL_PACKAGE"
	TaskType_TASK_TYPE_UPDATE_ANDROID_UNION_CHANNEL_PACKAGE                   TaskType = "TASK_TYPE_UPDATE_ANDROID_UNION_CHANNEL_PACKAGE"
	TaskType_TASK_TYPE_UNION_POSITION_REPORT                                  TaskType = "TASK_TYPE_UNION_POSITION_REPORT"
	TaskType_TASK_TYPE_UPDATE_ANDROID_UNION_CHANNEL_PACKAGE_BY_URL            TaskType = "TASK_TYPE_UPDATE_ANDROID_UNION_CHANNEL_PACKAGE_BY_URL"
	TaskType_TASK_TYPE_BATCH_REQUEST                                          TaskType = "TASK_TYPE_BATCH_REQUEST"
	TaskType_TASK_TYPE_CLICK_FORWARDED_DATA                                   TaskType = "TASK_TYPE_CLICK_FORWARDED_DATA"
	TaskType_TASK_TYPE_UPDATE_UNION_POSITION_PACKAGE                          TaskType = "TASK_TYPE_UPDATE_UNION_POSITION_PACKAGE"
	TaskType_TASK_TYPE_UPDATE_EXCLUDE_UNION_POSITION_PACKAGE                  TaskType = "TASK_TYPE_UPDATE_EXCLUDE_UNION_POSITION_PACKAGE"
	TaskType_TASK_TYPE_UPDATE_TARGETING_ID                                    TaskType = "TASK_TYPE_UPDATE_TARGETING_ID"
	TaskType_TASK_TYPE_UPDATE_BID_STRATEGY                                    TaskType = "TASK_TYPE_UPDATE_BID_STRATEGY"
	TaskType_TASK_TYPE_UPDATE_DEEP_CONVERSION_BEHAVIOR_BID                    TaskType = "TASK_TYPE_UPDATE_DEEP_CONVERSION_BEHAVIOR_BID"
	TaskType_TASK_TYPE_CREATE_SCHEDULED_UPDATE_CAMPAIGN_DAILY_BUDGET          TaskType = "TASK_TYPE_CREATE_SCHEDULED_UPDATE_CAMPAIGN_DAILY_BUDGET"
	TaskType_TASK_TYPE_CREATE_SCHEDULED_UPDATE_ADGROUP_DAILY_BUDGET           TaskType = "TASK_TYPE_CREATE_SCHEDULED_UPDATE_ADGROUP_DAILY_BUDGET"
	TaskType_TASK_TYPE_DELETE_SCHEDULED_TASK                                  TaskType = "TASK_TYPE_DELETE_SCHEDULED_TASK"
	TaskType_TASK_TYPE_UPDATE_ADGROUP_APP_ANDROID_CHANNEL_PACKAGE_ID          TaskType = "TASK_TYPE_UPDATE_ADGROUP_APP_ANDROID_CHANNEL_PACKAGE_ID"
	TaskType_TASK_TYPE_UPDATE_CAMPAIGN_SPEED_MODE                             TaskType = "TASK_TYPE_UPDATE_CAMPAIGN_SPEED_MODE"
	TaskType_TASK_TYPE_DELETE_CAMPAIGN                                        TaskType = "TASK_TYPE_DELETE_CAMPAIGN"
	TaskType_TASK_TYPE_DELETE_ADGROUP                                         TaskType = "TASK_TYPE_DELETE_ADGROUP"
	TaskType_TASK_TYPE_DELETE_AD                                              TaskType = "TASK_TYPE_DELETE_AD"
	TaskType_TASK_TYPE_UPDATE_UNION_POSITION_PACKAGE_SUB_TASK                 TaskType = "TASK_TYPE_UPDATE_UNION_POSITION_PACKAGE_SUB_TASK"
	TaskType_TASK_TYPE_UPDATE_EXCLUDE_UNION_POSITION_PACKAGE_SUB_TASK         TaskType = "TASK_TYPE_UPDATE_EXCLUDE_UNION_POSITION_PACKAGE_SUB_TASK"
	TaskType_TASK_TYPE_UPDATE_TARGETING_ID_SUB_TASK                           TaskType = "TASK_TYPE_UPDATE_TARGETING_ID_SUB_TASK"
	TaskType_TASK_TYPE_UPDATE_BID_STRATEGY_SUB_TASK                           TaskType = "TASK_TYPE_UPDATE_BID_STRATEGY_SUB_TASK"
	TaskType_TASK_TYPE_CREATE_SCHEDULED_UPDATE_CAMPAIGN_DAILY_BUDGET_SUB_TASK TaskType = "TASK_TYPE_CREATE_SCHEDULED_UPDATE_CAMPAIGN_DAILY_BUDGET_SUB_TASK"
	TaskType_TASK_TYPE_CREATE_SCHEDULED_UPDATE_ADGROUP_DAILY_BUDGET_SUB_TASK  TaskType = "TASK_TYPE_CREATE_SCHEDULED_UPDATE_ADGROUP_DAILY_BUDGET_SUB_TASK"
	TaskType_TASK_TYPE_DELETE_SCHEDULED_TASK_SUB_TASK                         TaskType = "TASK_TYPE_DELETE_SCHEDULED_TASK_SUB_TASK"
	TaskType_TASK_TYPE_UPDATE_ADGROUP_APP_ANDROID_CHANNEL_PACKAGE_ID_SUB_TASK TaskType = "TASK_TYPE_UPDATE_ADGROUP_APP_ANDROID_CHANNEL_PACKAGE_ID_SUB_TASK"
	TaskType_TASK_TYPE_UPDATE_CAMPAIGN_SPEED_MODE_SUB_TASK                    TaskType = "TASK_TYPE_UPDATE_CAMPAIGN_SPEED_MODE_SUB_TASK"
	TaskType_TASK_TYPE_DELETE_CAMPAIGN_SUB_TASK                               TaskType = "TASK_TYPE_DELETE_CAMPAIGN_SUB_TASK"
	TaskType_TASK_TYPE_DELETE_ADGROUP_SUB_TASK                                TaskType = "TASK_TYPE_DELETE_ADGROUP_SUB_TASK"
	TaskType_TASK_TYPE_DELETE_AD_SUB_TASK                                     TaskType = "TASK_TYPE_DELETE_AD_SUB_TASK"
	TaskType_UNKNOWN                                                          TaskType = "UNKNOWN"
)

List of TaskType

type TaskTypeAdHourlyReportSpec

type TaskTypeAdHourlyReportSpec struct {
	Date string `json:"date,omitempty"`
}

广告小时报表查询条件

type TaskTypeCreateAndroidChannelPackageSpec

type TaskTypeCreateAndroidChannelPackageSpec struct {
	MyappAuthKey              string                             `json:"myapp_auth_key,omitempty"`
	AndroidAppId              int64                              `json:"android_app_id,omitempty"`
	AndroidChannelPackageSpec *[]CreateAndroidChannelPackageSpec `json:"android_channel_package_spec,omitempty"`
}

创建应用宝渠道包接口任务所需条件

type TaskTypeCreateAndroidUnionChannelPackageSpec

type TaskTypeCreateAndroidUnionChannelPackageSpec struct {
	AndroidUnionAppId              int64                                   `json:"android_union_app_id,omitempty"`
	AndroidUnionChannelPackageSpec *[]CreateAndroidUnionChannelPackageSpec `json:"android_union_channel_package_spec,omitempty"`
}

创建广告渠道包接口任务所需条件

type TaskTypeUnionPositionReportSpec

type TaskTypeUnionPositionReportSpec struct {
	Date string `json:"date,omitempty"`
}

优量汇广告位报表查询条件

type TaskTypeUpdateAndroidChannelPackageSpec

type TaskTypeUpdateAndroidChannelPackageSpec struct {
	MyappAuthKey              string                             `json:"myapp_auth_key,omitempty"`
	AndroidAppId              int64                              `json:"android_app_id,omitempty"`
	AndroidChannelPackageSpec *[]UpdateAndroidChannelPackageSpec `json:"android_channel_package_spec,omitempty"`
}

更新应用宝渠道包接口任务所需条件

type TaskTypeUpdateAndroidUnionChannelPackageSpec

type TaskTypeUpdateAndroidUnionChannelPackageSpec struct {
	AndroidUnionAppId              int64                                   `json:"android_union_app_id,omitempty"`
	AndroidUnionChannelPackageSpec *[]UpdateAndroidUnionChannelPackageSpec `json:"android_union_channel_package_spec,omitempty"`
}

更新广告渠道包接口任务所需条件

type TaskTypeWechatAdDailyReportSpec

type TaskTypeWechatAdDailyReportSpec struct {
	Date string `json:"date,omitempty"`
}

广告组天报表查询条件

type TaskTypeWechatAdHourlyReportSpec

type TaskTypeWechatAdHourlyReportSpec struct {
	Date string `json:"date,omitempty"`
}

广告小时报表查询条件

type TaskTypeWechatAdgroupDailyReportSpec

type TaskTypeWechatAdgroupDailyReportSpec struct {
	Date string `json:"date,omitempty"`
}

广告组天报表查询条件

type TaskTypeWechatAdgroupHourlyReportSpec

type TaskTypeWechatAdgroupHourlyReportSpec struct {
	Date      string     `json:"date,omitempty"`
	HourRange *HourRange `json:"hour_range,omitempty"`
}

广告组小时报表查询条件

type TaskTypeWechatAdvertisingDataSpec

type TaskTypeWechatAdvertisingDataSpec struct {
	LastModifiedTimeRange *LastModifiedTimeRange `json:"last_modified_time_range,omitempty"`
	Fields                *[]string              `json:"fields,omitempty"`
}

获取微信数据任务查询条件

type TaskTypeWechatMomentsAdgroupHourlyReportSpec

type TaskTypeWechatMomentsAdgroupHourlyReportSpec struct {
	Date string `json:"date,omitempty"`
}

微信朋友圈广告组小时报表查询条件

type TaskTypeWechatPoiHourlyReportSpec

type TaskTypeWechatPoiHourlyReportSpec struct {
	Date string `json:"date,omitempty"`
}

微信门店小时报表查询条件

type TemperatureStruct

type TemperatureStruct struct {
	Min int64 `json:"min,omitempty"`
	Max int64 `json:"max,omitempty"`
}

温度信息结构

type TemplatesPageType

type TemplatesPageType string

TemplatesPageType : 蹊径落地页类型

const (
	TemplatesPageType_ANDROID TemplatesPageType = "PAGE_TYPE_XIJING_ANDROID"
	TemplatesPageType_IOS     TemplatesPageType = "PAGE_TYPE_XIJING_IOS"
	TemplatesPageType_WEBSITE TemplatesPageType = "PAGE_TYPE_XIJING_WEBSITE"
)

List of TemplatesPageType

type TextListStruct added in v1.3.0

type TextListStruct struct {
	Text string `json:"text,omitempty"`
	Tag  string `json:"tag,omitempty"`
}

文案信息结构

type TextRestriction

type TextRestriction struct {
	MinLength   int64  `json:"min_length,omitempty"`
	MaxLength   int64  `json:"max_length,omitempty"`
	TextPattern string `json:"text_pattern,omitempty"`
}

文本需满足的限制条件,仅当element_type是ELEMENT_TYPE_TEXT时返回

type TimeData

type TimeData struct {
	Date                  string     `json:"date,omitempty"`
	Hour                  int64      `json:"hour,omitempty"`
	Domain                string     `json:"domain,omitempty"`
	ActionType            ActionType `json:"action_type,omitempty"`
	CustomAction          string     `json:"custom_action,omitempty"`
	RawActionCount        int64      `json:"raw_action_count,omitempty"`
	IdentifiedActionCount int64      `json:"identified_action_count,omitempty"`
	IdentifiedUserCount   int64      `json:"identified_user_count,omitempty"`
}

TimeData返回结构

type TimeGranularity

type TimeGranularity string

TimeGranularity : 异步报表粒度

const (
	TimeGranularity_DAILY   TimeGranularity = "DAILY"
	TimeGranularity_HOURLY  TimeGranularity = "HOURLY"
	TimeGranularity_SUMMARY TimeGranularity = "SUMMARY"
)

List of TimeGranularity

type TimeLine

type TimeLine string

TimeLine : 时间口径

const (
	TimeLine_REQUEST_TIME   TimeLine = "REQUEST_TIME"
	TimeLine_REPORTING_TIME TimeLine = "REPORTING_TIME"
	TimeLine_ACTIVE_TIME    TimeLine = "ACTIVE_TIME"
)

List of TimeLine

type TimeRange

type TimeRange struct {
	StartTime int64 `json:"start_time,omitempty"`
	EndTime   int64 `json:"end_time,omitempty"`
}

时间范围,根据表单最后提交时间进行查询。最长跨度1年

type TimeSeriesSpec

type TimeSeriesSpec struct {
	TimeSeries string `json:"time_series,omitempty"`
}

投放时间信息

type Trace

type Trace struct {
	ClickId string `json:"click_id,omitempty"`
}

跟踪信息

type TrackingReportListStruct

type TrackingReportListStruct struct {
	Date            string     `json:"date,omitempty"`
	Hour            int64      `json:"hour,omitempty"`
	RawClicks       int64      `json:"raw_clicks,omitempty"`
	Var1minClicks   int64      `json:"1min_clicks,omitempty"`
	Var2minClicks   int64      `json:"2min_clicks,omitempty"`
	Var15minClicks  int64      `json:"15min_clicks,omitempty"`
	RequestFail     int64      `json:"request_fail,omitempty"`
	ResponseFail    int64      `json:"response_fail,omitempty"`
	HttpStatusError int64      `json:"http_status_error,omitempty"`
	OtherError      int64      `json:"other_error,omitempty"`
	SourceType      SourceType `json:"source_type,omitempty"`
}

点击追踪报表结构体

type TrackingReportsGetResponse

type TrackingReportsGetResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *TrackingReportsGetResponseData `json:"data,omitempty"`
}

type TrackingReportsGetResponseData

type TrackingReportsGetResponseData struct {
	List     *[]TrackingReportListStruct `json:"list,omitempty"`
	PageInfo *Conf                       `json:"page_info,omitempty"`
}

type TradeType

type TradeType string

TradeType : 交易类型

const (
	TradeType_CHARGE        TradeType = "CHARGE"
	TradeType_PAY           TradeType = "PAY"
	TradeType_TRANSFER_BACK TradeType = "TRANSFER_BACK"
	TradeType_EXPIRE        TradeType = "EXPIRE"
)

List of TradeType

type TrafficSufficiencyTrendStruct

type TrafficSufficiencyTrendStruct struct {
	Score      int64          `json:"score,omitempty"`
	Trends     *[]PointStruct `json:"trends,omitempty"`
	Conclusion string         `json:"conclusion,omitempty"`
}

流量充足度情况

type TransferType added in v1.3.0

type TransferType string

TransferType : 转账类型

const (
	TransferType_AGENCY_TO_ADVERTISER TransferType = "AGENCY_TO_ADVERTISER"
	TransferType_ADVERTISER_TO_AGENCY TransferType = "ADVERTISER_TO_AGENCY"
)

List of TransferType

type UiVisibility

type UiVisibility string

UiVisibility : 定向包类型

const (
	UiVisibility_INVISIBLE UiVisibility = "INVISIBLE"
	UiVisibility_VISIBLE   UiVisibility = "VISIBLE"
)

List of UIVisibility

type UnionChannelPackageData

type UnionChannelPackageData struct {
	AndroidUnionAppId int64                 `json:"android_union_app_id,omitempty"`
	PackageName       string                `json:"package_name,omitempty"`
	ChannelPackageId  int64                 `json:"channel_package_id,omitempty"`
	VersionCode       int64                 `json:"version_code,omitempty"`
	VersionName       string                `json:"version_name,omitempty"`
	CreatedTime       int64                 `json:"created_time,omitempty"`
	LastModifiedTime  int64                 `json:"last_modified_time,omitempty"`
	SystemStatus      UnionPackageSysStatus `json:"system_status,omitempty"`
	SystemMessage     string                `json:"system_message,omitempty"`
}

渠道包信息

type UnionChannelPackageInfo

type UnionChannelPackageInfo struct {
	AndroidUnionAppId int64                  `json:"android_union_app_id,omitempty"`
	PackageName       string                 `json:"package_name,omitempty"`
	Status            UnionChannelTaskStatus `json:"status,omitempty"`
	CreatedTime       int64                  `json:"created_time,omitempty"`
	LastModifiedTime  int64                  `json:"last_modified_time,omitempty"`
}

广告渠道包任务处理信息

type UnionChannelTaskStatus

type UnionChannelTaskStatus string

UnionChannelTaskStatus : 渠道包任务处理状态

const (
	UnionChannelTaskStatus_APPLYING           UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_APPLYING"
	UnionChannelTaskStatus_SUCCESS            UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_SUCCESS"
	UnionChannelTaskStatus_APP_ERROR          UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_APP_ERROR"
	UnionChannelTaskStatus_APP_STATUS_ERROR   UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_APP_STATUS_ERROR"
	UnionChannelTaskStatus_PACKAGE_NAME_ERROR UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_PACKAGE_NAME_ERROR"
	UnionChannelTaskStatus_CHANNEL_NAME_ERROR UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_CHANNEL_NAME_ERROR"
	UnionChannelTaskStatus_PKG_MD5_ERROR      UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_PKG_MD5_ERROR"
	UnionChannelTaskStatus_PKG_ERROR          UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_PKG_ERROR"
	UnionChannelTaskStatus_SYSTEM_ERROR       UnionChannelTaskStatus = "UNION_CHANNEL_TASK_STATUS_SYSTEM_ERROR"
)

List of UnionChannelTaskStatus

type UnionPackageSysStatus added in v1.1.1

type UnionPackageSysStatus string

UnionPackageSysStatus : 渠道包状态

const (
	UnionPackageSysStatus_PASSED          UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_PASSED"
	UnionPackageSysStatus_REVIEWING       UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_REVIEWING"
	UnionPackageSysStatus_DENIED          UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_DENIED"
	UnionPackageSysStatus_DENIED_AGAIN    UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_DENIED_AGAIN"
	UnionPackageSysStatus_REVIEWING_AGAIN UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_REVIEWING_AGAIN"
	UnionPackageSysStatus_ON_OFFLINE      UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_ON_OFFLINE"
	UnionPackageSysStatus_OFFLINE         UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_OFFLINE"
	UnionPackageSysStatus_DRAFT           UnionPackageSysStatus = "CHANNEL_PACKAGE_STATUS_DRAFT"
)

List of UnionPackageSysStatus

type UnionPackageType

type UnionPackageType string

UnionPackageType : 流量包类型 枚举列表:UNION_PACKAGE_TYPE_INCLUDE(定投)、UNION_PACKAGE_TYPE_EXCLUDE(屏蔽)

const (
	UnionPackageType_INCLUDE UnionPackageType = "UNION_PACKAGE_TYPE_INCLUDE"
	UnionPackageType_EXCLUDE UnionPackageType = "UNION_PACKAGE_TYPE_EXCLUDE"
)

List of UnionPackageType

type UnionPositionPackagesAddRequest

type UnionPositionPackagesAddRequest struct {
	AccountId           int64              `json:"account_id,omitempty"`
	UnionPackageName    string             `json:"union_package_name,omitempty"`
	PromotedObjectType  PromotedObjectType `json:"promoted_object_type,omitempty"`
	PromotedObjectId    string             `json:"promoted_object_id,omitempty"`
	UnionPackageType    UnionPackageType   `json:"union_package_type,omitempty"`
	UnionPositionIdList *[]int64           `json:"union_position_id_list,omitempty"`
}

type UnionPositionPackagesAddResponse

type UnionPositionPackagesAddResponse struct {
	Code      int64                                 `json:"code,omitempty"`
	Message   string                                `json:"message,omitempty"`
	MessageCn string                                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                     `json:"errors,omitempty"`
	Data      *UnionPositionPackagesAddResponseData `json:"data,omitempty"`
}

type UnionPositionPackagesAddResponseData

type UnionPositionPackagesAddResponseData struct {
	UnionPackageId int64 `json:"union_package_id,omitempty"`
}

type UnionPositionPackagesDeleteRequest

type UnionPositionPackagesDeleteRequest struct {
	AccountId      int64 `json:"account_id,omitempty"`
	UnionPackageId int64 `json:"union_package_id,omitempty"`
}

type UnionPositionPackagesDeleteResponse

type UnionPositionPackagesDeleteResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type UnionPositionPackagesGetListStruct

type UnionPositionPackagesGetListStruct struct {
	UnionPackageId      int64            `json:"union_package_id,omitempty"`
	UnionPackageName    string           `json:"union_package_name,omitempty"`
	UnionPackageType    UnionPackageType `json:"union_package_type,omitempty"`
	UnionPositionIdList *[]int64         `json:"union_position_id_list,omitempty"`
	CreatedTime         int64            `json:"created_time,omitempty"`
	LastModifiedTime    int64            `json:"last_modified_time,omitempty"`
}

返回结构

type UnionPositionPackagesGetResponse

type UnionPositionPackagesGetResponse struct {
	Code      int64                                 `json:"code,omitempty"`
	Message   string                                `json:"message,omitempty"`
	MessageCn string                                `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                     `json:"errors,omitempty"`
	Data      *UnionPositionPackagesGetResponseData `json:"data,omitempty"`
}

type UnionPositionPackagesGetResponseData

type UnionPositionPackagesGetResponseData struct {
	List     *[]UnionPositionPackagesGetListStruct `json:"list,omitempty"`
	PageInfo *PageInfo                             `json:"page_info,omitempty"`
}

type UnsupportBidModeStruct added in v1.3.0

type UnsupportBidModeStruct struct {
	SiteSet     *[]string `json:"site_set,omitempty"`
	BidModeList *[]string `json:"bid_mode_list,omitempty"`
}

不支持的出价方式

type UnsupportBillingSpec

type UnsupportBillingSpec struct {
	SiteSet       *[]string     `json:"site_set,omitempty"`
	BillingEvent  BillingEvent  `json:"billing_event,omitempty"`
	MinPrice      int64         `json:"min_price,omitempty"`
	MaxPrice      int64         `json:"max_price,omitempty"`
	UnsupportType UnsupportType `json:"unsupport_type,omitempty"`
}

支持的计费信息

type UnsupportSite

type UnsupportSite struct {
	SiteSet *[]string `json:"site_set,omitempty"`
}

不支持的版位

type UnsupportSpec

type UnsupportSpec struct {
	SiteSet       *[]string     `json:"site_set,omitempty"`
	Name          string        `json:"name,omitempty"`
	UnsupportType UnsupportType `json:"unsupport_type,omitempty"`
}

不支持的属性

type UnsupportType

type UnsupportType string

UnsupportType : 不支持类型

const (
	UnsupportType_UNSUPPORTED UnsupportType = "UNSUPPORT_TYPE_UNSUPPORTED"
	UnsupportType_NORMAL      UnsupportType = "UNSUPPORT_TYPE_NORMAL"
	UnsupportType_EXPOSURE    UnsupportType = "UNSUPPORT_TYPE_EXPOSURE"
	UnsupportType_DISPLAY     UnsupportType = "UNSUPPORT_TYPE_DISPLAY"
)

List of UnsupportType

type UpdateAdgroupAppAndroidChannelPackageIdItem added in v1.4.0

type UpdateAdgroupAppAndroidChannelPackageIdItem struct {
	AdgroupId                  int64  `json:"adgroup_id,omitempty"`
	AppAndroidChannelPackageId string `json:"app_android_channel_package_id,omitempty"`
}

修改广告组安卓应用渠道包 id

type UpdateAndroidChannelPackageSpec

type UpdateAndroidChannelPackageSpec struct {
	ChannelPackageId string `json:"channel_package_id,omitempty"`
	DownloadUrl      string `json:"download_url,omitempty"`
}

更新应用宝渠道包接口任务所需条件

type UpdateAndroidUnionChannelPackageSpec

type UpdateAndroidUnionChannelPackageSpec struct {
	ChannelPackageId int64  `json:"channel_package_id,omitempty"`
	PackageName      string `json:"package_name,omitempty"`
	DownloadUrl      string `json:"download_url,omitempty"`
}

更新广告渠道包接口任务所需条件

type UpdateBidAmountStruct

type UpdateBidAmountStruct struct {
	AdgroupId int64 `json:"adgroup_id,omitempty"`
	BidAmount int64 `json:"bid_amount,omitempty"`
}

更新单个广告组出价条件

type UpdateBidStrategyItem added in v1.4.0

type UpdateBidStrategyItem struct {
	AdgroupId   int64       `json:"adgroup_id,omitempty"`
	BidStrategy BidStrategy `json:"bid_strategy,omitempty"`
}

修改定向包

type UpdateCampaignSpeedModeItem added in v1.4.1

type UpdateCampaignSpeedModeItem struct {
	CampaignId int64     `json:"campaign_id,omitempty"`
	SpeedMode  SpeedMode `json:"speed_mode,omitempty"`
}

修改推广计划投放速度模式

type UpdateDatetimeStruct

type UpdateDatetimeStruct struct {
	AdgroupId  int64  `json:"adgroup_id,omitempty"`
	BeginDate  string `json:"begin_date,omitempty"`
	EndDate    string `json:"end_date,omitempty"`
	TimeSeries string `json:"time_series,omitempty"`
}

更新单个广告组投放时间条件

type UpdateDeepConversionBehaviorBidItem added in v1.4.0

type UpdateDeepConversionBehaviorBidItem struct {
	AdgroupId                 int64 `json:"adgroup_id,omitempty"`
	DeepConversionBehaviorBid int64 `json:"deep_conversion_behavior_bid,omitempty"`
}

修改广告深度优化行为目标出价

type UpdateExcludeUnionPositionPackageItem added in v1.4.0

type UpdateExcludeUnionPositionPackageItem struct {
	AdgroupId                   int64    `json:"adgroup_id,omitempty"`
	ExcludeUnionPositionPackage *[]int64 `json:"exclude_union_position_package,omitempty"`
}

修改屏蔽优量汇流量包信息

type UpdateTargetingIdItem added in v1.4.0

type UpdateTargetingIdItem struct {
	AdgroupId   int64 `json:"adgroup_id,omitempty"`
	TargetingId int64 `json:"targeting_id,omitempty"`
}

修改定向包

type UpdateUnionPositionPackageItem added in v1.4.0

type UpdateUnionPositionPackageItem struct {
	AdgroupId            int64    `json:"adgroup_id,omitempty"`
	UnionPositionPackage *[]int64 `json:"union_position_package,omitempty"`
}

修改定投优量汇流量包信息

type UrlMatchRule

type UrlMatchRule struct {
	UrlMatcherGroup *[]UrlMatcherGroup `json:"url_matcher_group,omitempty"`
}

url匹配规则

type UrlMatcher

type UrlMatcher struct {
	ParamValue string   `json:"param_value,omitempty"`
	Operator   Operator `json:"operator,omitempty"`
}

匹配规则

type UrlMatcherGroup

type UrlMatcherGroup struct {
	UrlMatcher *[]UrlMatcher `json:"url_matcher,omitempty"`
}

匹配规则组

type UrlRestriction

type UrlRestriction struct {
	UrlPattern string `json:"url_pattern,omitempty"`
}

链接需满足的限制条件,仅当element_type是ELEMENT_TYPE_URL时返回

type UserAction

type UserAction struct {
	ActionTime       int64                  `json:"action_time,omitempty"`
	UserId           *ActionsUserId         `json:"user_id,omitempty"`
	ActionType       ActionType             `json:"action_type,omitempty"`
	ActionParam      map[string]interface{} `json:"action_param,omitempty"`
	CustomAction     string                 `json:"custom_action,omitempty"`
	Trace            *Trace                 `json:"trace,omitempty"`
	Url              string                 `json:"url,omitempty"`
	ProductInform    *ProductInform         `json:"product_inform,omitempty"`
	Channel          ActionChannelType      `json:"channel,omitempty"`
	ExternalActionId string                 `json:"external_action_id,omitempty"`
}

行为上报数据

type UserActionSet

type UserActionSet struct {
	UserActionSetId int64               `json:"user_action_set_id,omitempty"`
	Type_           AmUserActionSetType `json:"type,omitempty"`
	MobileAppId     int64               `json:"mobile_app_id,omitempty"`
	Name            string              `json:"name,omitempty"`
	Description     string              `json:"description,omitempty"`
	ActivateStatus  bool                `json:"activate_status,omitempty"`
	CreatedTime     string              `json:"created_time,omitempty"`
}

UserActionSet返回结构

type UserActionSetReportsGetResponse

type UserActionSetReportsGetResponse struct {
	Code      int64                                `json:"code,omitempty"`
	Message   string                               `json:"message,omitempty"`
	MessageCn string                               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                    `json:"errors,omitempty"`
	Data      *UserActionSetReportsGetResponseData `json:"data,omitempty"`
}

type UserActionSetReportsGetResponseData

type UserActionSetReportsGetResponseData struct {
	List *[]TimeData `json:"list,omitempty"`
}

type UserActionSetStruct

type UserActionSetStruct struct {
	Type_ UserActionSetType `json:"type,omitempty"`
	Id    int64             `json:"id,omitempty"`
}

用户行为数据源结构体

type UserActionSetType

type UserActionSetType string

UserActionSetType : 数据源类型

const (
	UserActionSetType_WEB     UserActionSetType = "USER_ACTION_SET_TYPE_WEB"
	UserActionSetType_IOS     UserActionSetType = "USER_ACTION_SET_TYPE_IOS"
	UserActionSetType_ANDROID UserActionSetType = "USER_ACTION_SET_TYPE_ANDROID"
)

List of UserActionSetType

type UserActionSetsAddRequest

type UserActionSetsAddRequest struct {
	AccountId   int64               `json:"account_id,omitempty"`
	Type_       AmUserActionSetType `json:"type,omitempty"`
	MobileAppId int64               `json:"mobile_app_id,omitempty"`
	WechatAppId string              `json:"wechat_app_id,omitempty"`
	Name        string              `json:"name,omitempty"`
	Description string              `json:"description,omitempty"`
	Usages      *[]string           `json:"usages,omitempty"`
}

type UserActionSetsAddResponse

type UserActionSetsAddResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *UserActionSetsAddResponseData `json:"data,omitempty"`
}

type UserActionSetsAddResponseData

type UserActionSetsAddResponseData struct {
	UserActionSetId int64 `json:"user_action_set_id,omitempty"`
}

type UserActionSetsGetResponse

type UserActionSetsGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *UserActionSetsGetResponseData `json:"data,omitempty"`
}

type UserActionSetsGetResponseData

type UserActionSetsGetResponseData struct {
	List *[]UserActionSet `json:"list,omitempty"`
}

type UserActionSpec

type UserActionSpec struct {
	UserActionSetId       int64                  `json:"user_action_set_id,omitempty"`
	MatchRuleType         MatchRuleType          `json:"match_rule_type,omitempty"`
	ExtractType           ExtractRuleType        `json:"extract_type,omitempty"`
	TimeWindow            int64                  `json:"time_window,omitempty"`
	UrlMatchRule          *UrlMatchRule          `json:"url_match_rule,omitempty"`
	ActionMatchRule       *ActionMatchRule       `json:"action_match_rule,omitempty"`
	ActionAggregationRule *ActionAggregationRule `json:"action_aggregation_rule,omitempty"`
}

UserAction人群信息

type UserActionsAddRequest

type UserActionsAddRequest struct {
	AccountId       int64         `json:"account_id,omitempty"`
	UserActionSetId int64         `json:"user_action_set_id,omitempty"`
	Actions         *[]UserAction `json:"actions,omitempty"`
}

type UserActionsAddResponse

type UserActionsAddResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type UserIdType

type UserIdType string

UserIdType : 号码包用户ID类型

const (
	UserIdType_GDT_OPENID        UserIdType = "GDT_OPENID"
	UserIdType_HASH_IDFA         UserIdType = "HASH_IDFA"
	UserIdType_HASH_IMEI         UserIdType = "HASH_IMEI"
	UserIdType_HASH_MAC          UserIdType = "HASH_MAC"
	UserIdType_HASH_MOBILE_PHONE UserIdType = "HASH_MOBILE_PHONE"
	UserIdType_HASH_QQ           UserIdType = "HASH_QQ"
	UserIdType_IDFA              UserIdType = "IDFA"
	UserIdType_IMEI              UserIdType = "IMEI"
	UserIdType_MAC               UserIdType = "MAC"
	UserIdType_MOBILE_QQ_OPENID  UserIdType = "MOBILE_QQ_OPENID"
	UserIdType_QQ                UserIdType = "QQ"
	UserIdType_WX_OPENID         UserIdType = "WX_OPENID"
	UserIdType_WECHAT_OPENID     UserIdType = "WECHAT_OPENID"
	UserIdType_SALTED_HASH_IMEI  UserIdType = "SALTED_HASH_IMEI"
	UserIdType_SALTED_HASH_IDFA  UserIdType = "SALTED_HASH_IDFA"
	UserIdType_OAID              UserIdType = "OAID"
	UserIdType_HASH_OAID         UserIdType = "HASH_OAID"
)

List of UserIdType

type UserPropertiesAddProperty

type UserPropertiesAddProperty struct {
	OuterUserId  string            `json:"outer_user_id,omitempty"`
	UserId       *PropertiesUserId `json:"user_id,omitempty"`
	PropertyData string            `json:"property_data,omitempty"`
}

用户属性数据

type UserPropertiesAddRequest

type UserPropertiesAddRequest struct {
	AccountId         int64                        `json:"account_id,omitempty"`
	UserPropertySetId int64                        `json:"user_property_set_id,omitempty"`
	WechatAppId       string                       `json:"wechat_app_id,omitempty"`
	Property          *[]UserPropertiesAddProperty `json:"property,omitempty"`
}

type UserPropertiesAddResponse

type UserPropertiesAddResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type UserPropertySet

type UserPropertySet struct {
	UserPropertySetId int64  `json:"user_property_set_id,omitempty"`
	Name              string `json:"name,omitempty"`
	Description       string `json:"description,omitempty"`
	CreatedTime       string `json:"created_time,omitempty"`
}

UserPropertySet返回结构

type UserPropertySetsAddRequest

type UserPropertySetsAddRequest struct {
	AccountId   int64  `json:"account_id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type UserPropertySetsAddResponse

type UserPropertySetsAddResponse struct {
	Code      int64                            `json:"code,omitempty"`
	Message   string                           `json:"message,omitempty"`
	MessageCn string                           `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                `json:"errors,omitempty"`
	Data      *UserPropertySetsAddResponseData `json:"data,omitempty"`
}

type UserPropertySetsAddResponseData

type UserPropertySetsAddResponseData struct {
	UserPropertySetId int64 `json:"user_property_set_id,omitempty"`
}

type UserPropertySetsGetResponse

type UserPropertySetsGetResponse struct {
	Code      int64                            `json:"code,omitempty"`
	Message   string                           `json:"message,omitempty"`
	MessageCn string                           `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                `json:"errors,omitempty"`
	Data      *UserPropertySetsGetResponseData `json:"data,omitempty"`
}

type UserPropertySetsGetResponseData

type UserPropertySetsGetResponseData struct {
	List *[]UserPropertySet `json:"list,omitempty"`
}

type UserPropertySetsUpdateRequest

type UserPropertySetsUpdateRequest struct {
	AccountId         int64  `json:"account_id,omitempty"`
	UserPropertySetId int64  `json:"user_property_set_id,omitempty"`
	Name              string `json:"name,omitempty"`
	Description       string `json:"description,omitempty"`
}

type UserPropertySetsUpdateResponse

type UserPropertySetsUpdateResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type VerticalItemSpec added in v1.3.0

type VerticalItemSpec struct {
	Id                  int64     `json:"id,omitempty"`
	Name                string    `json:"name,omitempty"`
	Description         string    `json:"description,omitempty"`
	SupportCatalogTypes *[]string `json:"support_catalog_types,omitempty"`
	Type_               string    `json:"type,omitempty"`
}

商品信息

type VideoEndPageSpec

type VideoEndPageSpec struct {
	EndPageId   string           `json:"end_page_id,omitempty"`
	EndPageType VideoEndPageType `json:"end_page_type,omitempty"`
}

视频播放结束页

type VideoEndPageType

type VideoEndPageType string

VideoEndPageType : 视频播放结束页类型

const (
	VideoEndPageType_VIDEO_END_PAGE_TYPE_PLAY_H5 VideoEndPageType = "VIDEO_END_PAGE_TYPE_PLAY_H5"
)

List of VideoEndPageType

type VideoRestriction

type VideoRestriction struct {
	Width       int64     `json:"width,omitempty"`
	Height      int64     `json:"height,omitempty"`
	MinWidth    int64     `json:"min_width,omitempty"`
	MinHeight   int64     `json:"min_height,omitempty"`
	RatioWidth  int64     `json:"ratio_width,omitempty"`
	RatioHeight int64     `json:"ratio_height,omitempty"`
	FileSize    int64     `json:"file_size,omitempty"`
	FileFormat  *[]string `json:"file_format,omitempty"`
	MinDuration int64     `json:"min_duration,omitempty"`
	MaxDuration int64     `json:"max_duration,omitempty"`
}

视频需满足的限制条件,仅当element_type是ELEMENT_TYPE_VIDEO时返回

type VideomakerAutoadjustmentsAddResponse added in v1.4.1

type VideomakerAutoadjustmentsAddResponse struct {
	Code      int64                                     `json:"code,omitempty"`
	Message   string                                    `json:"message,omitempty"`
	MessageCn string                                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                         `json:"errors,omitempty"`
	Data      *VideomakerAutoadjustmentsAddResponseData `json:"data,omitempty"`
}

type VideomakerAutoadjustmentsAddResponseData added in v1.4.1

type VideomakerAutoadjustmentsAddResponseData struct {
	Code    int64     `json:"code,omitempty"`
	TaskIds *[]string `json:"task_ids,omitempty"`
}

type VideomakerSubtitlesAddResponse added in v1.4.1

type VideomakerSubtitlesAddResponse struct {
	Code      int64                               `json:"code,omitempty"`
	Message   string                              `json:"message,omitempty"`
	MessageCn string                              `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                   `json:"errors,omitempty"`
	Data      *VideomakerSubtitlesAddResponseData `json:"data,omitempty"`
}

type VideomakerSubtitlesAddResponseData added in v1.4.1

type VideomakerSubtitlesAddResponseData struct {
	Code   int64  `json:"code,omitempty"`
	TaskId string `json:"task_id,omitempty"`
}

type VideomakerTasksGetResponse added in v1.4.1

type VideomakerTasksGetResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *VideomakerTasksGetResponseData `json:"data,omitempty"`
}

type VideomakerTasksGetResponseData added in v1.4.1

type VideomakerTasksGetResponseData struct {
	Code    int64  `json:"code,omitempty"`
	TaskId  string `json:"task_id,omitempty"`
	Status  Status `json:"status,omitempty"`
	VideoId string `json:"video_id,omitempty"`
}

type VideosAddResponse

type VideosAddResponse struct {
	Code      int64                  `json:"code,omitempty"`
	Message   string                 `json:"message,omitempty"`
	MessageCn string                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct      `json:"errors,omitempty"`
	Data      *VideosAddResponseData `json:"data,omitempty"`
}

type VideosAddResponseData

type VideosAddResponseData struct {
	VideoId int64 `json:"video_id,omitempty"`
}

type VideosGetListStruct

type VideosGetListStruct struct {
	VideoId                  int64             `json:"video_id,omitempty"`
	Width                    int64             `json:"width,omitempty"`
	Height                   int64             `json:"height,omitempty"`
	VideoFrames              int64             `json:"video_frames,omitempty"`
	VideoFps                 float64           `json:"video_fps,omitempty"`
	VideoCodec               string            `json:"video_codec,omitempty"`
	VideoBitRate             int64             `json:"video_bit_rate,omitempty"`
	AudioCodec               string            `json:"audio_codec,omitempty"`
	AudioBitRate             int64             `json:"audio_bit_rate,omitempty"`
	FileSize                 int64             `json:"file_size,omitempty"`
	Type_                    MediaType         `json:"type,omitempty"`
	Signature                string            `json:"signature,omitempty"`
	SystemStatus             MediaSystemStatus `json:"system_status,omitempty"`
	Description              string            `json:"description,omitempty"`
	PreviewUrl               string            `json:"preview_url,omitempty"`
	KeyFrameImageUrl         string            `json:"key_frame_image_url,omitempty"`
	CreatedTime              int64             `json:"created_time,omitempty"`
	LastModifiedTime         int64             `json:"last_modified_time,omitempty"`
	VideoProfileName         string            `json:"video_profile_name,omitempty"`
	AudioSampleRate          int64             `json:"audio_sample_rate,omitempty"`
	MaxKeyframeInterval      int64             `json:"max_keyframe_interval,omitempty"`
	MinKeyframeInterval      int64             `json:"min_keyframe_interval,omitempty"`
	SampleAspectRatio        string            `json:"sample_aspect_ratio,omitempty"`
	AudioProfileName         string            `json:"audio_profile_name,omitempty"`
	ScanType                 string            `json:"scan_type,omitempty"`
	ImageDurationMillisecond int64             `json:"image_duration_millisecond,omitempty"`
	AudioDurationMillisecond int64             `json:"audio_duration_millisecond,omitempty"`
	SourceType               MediaSourceType   `json:"source_type,omitempty"`
	ProductCatalogId         string            `json:"product_catalog_id,omitempty"`
	ProductOuterId           string            `json:"product_outer_id,omitempty"`
	SourceReferenceId        string            `json:"source_reference_id,omitempty"`
	OwnerAccountId           string            `json:"owner_account_id,omitempty"`
}

返回结构

type VideosGetResponse

type VideosGetResponse struct {
	Code      int64                  `json:"code,omitempty"`
	Message   string                 `json:"message,omitempty"`
	MessageCn string                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct      `json:"errors,omitempty"`
	Data      *VideosGetResponseData `json:"data,omitempty"`
}

type VideosGetResponseData

type VideosGetResponseData struct {
	List     *[]VideosGetListStruct `json:"list,omitempty"`
	PageInfo *ConfPageSize500       `json:"page_info,omitempty"`
}

type VideosUpdateRequest added in v1.3.0

type VideosUpdateRequest struct {
	AccountId   int64   `json:"account_id,omitempty"`
	VideoId     int64   `json:"video_id,omitempty"`
	Description *string `json:"description,omitempty"`
}

type VideosUpdateResponse added in v1.3.0

type VideosUpdateResponse struct {
	Code      int64                     `json:"code,omitempty"`
	Message   string                    `json:"message,omitempty"`
	MessageCn string                    `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct         `json:"errors,omitempty"`
	Data      *VideosUpdateResponseData `json:"data,omitempty"`
}

type VideosUpdateResponseData added in v1.3.0

type VideosUpdateResponseData struct {
	VideoId int64 `json:"video_id,omitempty"`
}

type ViewerIdType

type ViewerIdType string

ViewerIdType : 受众id类型

const (
	ViewerIdType_QQ        ViewerIdType = "USER_ID_TYPE_QQ"
	ViewerIdType_WECHAT_ID ViewerIdType = "USER_ID_TYPE_WECHAT_ID"
	ViewerIdType_QQ_ID     ViewerIdType = "USER_ID_TYPE_QQ_ID"
)

List of ViewerIdType

type WebsiteReadStruct

type WebsiteReadStruct struct {
	WebsiteDomain string        `json:"website_domain,omitempty"`
	IcpImageId    string        `json:"icp_image_id,omitempty"`
	SystemStatus  WebsiteStatus `json:"system_status,omitempty"`
	RejectMessage string        `json:"reject_message,omitempty"`
}

推广版位结构

type WebsiteStatus

type WebsiteStatus string

WebsiteStatus : 推广版位系统状态

const (
	WebsiteStatus_NORMAL  WebsiteStatus = "WEBSITE_STATUS_NORMAL"
	WebsiteStatus_PENDING WebsiteStatus = "WEBSITE_STATUS_PENDING"
	WebsiteStatus_DENIED  WebsiteStatus = "WEBSITE_STATUS_DENIED"
)

List of WebsiteStatus

type WebsiteUpdateStruct

type WebsiteUpdateStruct struct {
	WebsiteDomain string `json:"website_domain,omitempty"`
	IcpImageId    string `json:"icp_image_id,omitempty"`
}

推广站点结构

type WechatAccountFundType added in v1.3.0

type WechatAccountFundType string

WechatAccountFundType : 微信资金账户类型

const (
	WechatAccountFundType_UNKNOWN    WechatAccountFundType = "FUND_UNKNOWN"
	WechatAccountFundType_CASH       WechatAccountFundType = "FUND_CASH"
	WechatAccountFundType_GIFT       WechatAccountFundType = "FUND_GIFT"
	WechatAccountFundType_INNER      WechatAccountFundType = "FUND_INNER"
	WechatAccountFundType_CREDIT     WechatAccountFundType = "FUND_CREDIT"
	WechatAccountFundType_DEBT_TEMP  WechatAccountFundType = "FUND_DEBT_TEMP"
	WechatAccountFundType_DEBT_FIXED WechatAccountFundType = "FUND_DEBT_FIXED"
	WechatAccountFundType_TCC_GIFT   WechatAccountFundType = "FUND_TCC_GIFT"
)

List of WechatAccountFundType

type WechatAccountTradeStatus

type WechatAccountTradeStatus string

WechatAccountTradeStatus : 账户交易状态

const (
	WechatAccountTradeStatus_PROCESSING  WechatAccountTradeStatus = "TRADE_STATUS_PROCESSING"
	WechatAccountTradeStatus_TRANSFERRED WechatAccountTradeStatus = "TRADE_STATUS_TRANSFERRED"
	WechatAccountTradeStatus_DISAPPROVED WechatAccountTradeStatus = "TRADE_STATUS_DISAPPROVED"
	WechatAccountTradeStatus_UNSUPPORTED WechatAccountTradeStatus = "TRADE_STATUS_UNSUPPORTED"
)

List of WechatAccountTradeStatus

type WechatAccountTradeType

type WechatAccountTradeType string

WechatAccountTradeType : 交易类型

const (
	WechatAccountTradeType_AGENCY_CHARGE                 WechatAccountTradeType = "AGENCY_CHARGE"
	WechatAccountTradeType_AGENCY_TRANSFER_TO_ADVERTISER WechatAccountTradeType = "AGENCY_TRANSFER_TO_ADVERTISER"
	WechatAccountTradeType_AGENCY_REFUND_FROM_ADVERTISER WechatAccountTradeType = "AGENCY_REFUND_FROM_ADVERTISER"
	WechatAccountTradeType_AGENCY_CREDIT_REPAY           WechatAccountTradeType = "AGENCY_CREDIT_REPAY"
	WechatAccountTradeType_AGENCY_REFUND                 WechatAccountTradeType = "AGENCY_REFUND"
	WechatAccountTradeType_ADVERTISER_CHARGE             WechatAccountTradeType = "ADVERTISER_CHARGE"
	WechatAccountTradeType_ADVERTISER_TRANSFER           WechatAccountTradeType = "ADVERTISER_TRANSFER"
)

List of WechatAccountTradeType

type WechatAdBehavior

type WechatAdBehavior struct {
	Actions         *[]string `json:"actions,omitempty"`
	ExcludedActions *[]string `json:"excluded_actions,omitempty"`
}

微信再营销,原微信广告行为定向升级为微信再营销

type WechatAdFollowersGetListStruct

type WechatAdFollowersGetListStruct struct {
	Openid           string             `json:"openid,omitempty"`
	WechatAdgroupId  int64              `json:"wechat_adgroup_id,omitempty"`
	WechatCampaignId int64              `json:"wechat_campaign_id,omitempty"`
	WechatAccountId  string             `json:"wechat_account_id,omitempty"`
	WechatAgencyId   string             `json:"wechat_agency_id,omitempty"`
	CampaignId       int64              `json:"campaign_id,omitempty"`
	AdgroupId        int64              `json:"adgroup_id,omitempty"`
	SubscribeTime    int64              `json:"subscribe_time,omitempty"`
	PositionType     WechatPositionType `json:"position_type,omitempty"`
}

返回结构

type WechatAdFollowersGetResponse

type WechatAdFollowersGetResponse struct {
	Code      int64                             `json:"code,omitempty"`
	Message   string                            `json:"message,omitempty"`
	MessageCn string                            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                 `json:"errors,omitempty"`
	Data      *WechatAdFollowersGetResponseData `json:"data,omitempty"`
}

type WechatAdFollowersGetResponseData

type WechatAdFollowersGetResponseData struct {
	List     *[]WechatAdFollowersGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                             `json:"page_info,omitempty"`
}

type WechatAdLabelsGetListStruct

type WechatAdLabelsGetListStruct struct {
	LabelCategory string    `json:"label_category,omitempty"`
	Label         *[]string `json:"label,omitempty"`
}

返回结构

type WechatAdLabelsGetResponse

type WechatAdLabelsGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *WechatAdLabelsGetResponseData `json:"data,omitempty"`
}

type WechatAdLabelsGetResponseData

type WechatAdLabelsGetResponseData struct {
	List *[]WechatAdLabelsGetListStruct `json:"list,omitempty"`
}

type WechatAdQualificationsSpec

type WechatAdQualificationsSpec struct {
	QualificationName string `json:"qualification_name,omitempty"`
	ImageId           string `json:"image_id,omitempty"`
}

微信广告资质信息,当且仅当qualification_type=AD_QUALIFICATION_WECHAT时可填且必填

type WechatAdQualificationsStruct

type WechatAdQualificationsStruct struct {
	QualificationId     int64               `json:"qualification_id,omitempty"`
	QualificationName   string              `json:"qualification_name,omitempty"`
	ImageUrl            string              `json:"image_url,omitempty"`
	ExpiredDate         string              `json:"expired_date,omitempty"`
	QualificationStatus QualificationStatus `json:"qualification_status,omitempty"`
	RejectMessage       string              `json:"reject_message,omitempty"`
}

微信广告资质信息

type WechatAdvertiserAccountType added in v1.1.1

type WechatAdvertiserAccountType string

WechatAdvertiserAccountType : 微信广告账户类型

const (
	WechatAdvertiserAccountType_OFFICIAL_ACCOUNTS WechatAdvertiserAccountType = "ACCOUNT_TYPE_OFFICIAL_ACCOUNTS"
	WechatAdvertiserAccountType_MINI_PROGRAM      WechatAdvertiserAccountType = "ACCOUNT_TYPE_MINI_PROGRAM"
	WechatAdvertiserAccountType_MINI_GAME         WechatAdvertiserAccountType = "ACCOUNT_TYPE_MINI_GAME"
)

List of WechatAdvertiserAccountType

type WechatAdvertiserDetailGetListStruct

type WechatAdvertiserDetailGetListStruct struct {
	AccountId         int64                       `json:"account_id,omitempty"`
	WechatAccountName string                      `json:"wechat_account_name,omitempty"`
	SystemIndustryId  int64                       `json:"system_industry_id,omitempty"`
	WechatAccountId   string                      `json:"wechat_account_id,omitempty"`
	AccountType       WechatAdvertiserAccountType `json:"account_type,omitempty"`
	CorporationName   string                      `json:"corporation_name,omitempty"`
	AuthStatus        WechatAuthStatus            `json:"auth_status,omitempty"`
	AuthTime          int64                       `json:"auth_time,omitempty"`
	AgencyIdList      *[]int64                    `json:"agency_id_list,omitempty"`
	StaffWechatIdList *[]string                   `json:"staff_wechat_id_list,omitempty"`
	DailyBudget       int64                       `json:"daily_budget,omitempty"`
}

返回结构

type WechatAdvertiserDetailGetResponse

type WechatAdvertiserDetailGetResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *WechatAdvertiserDetailGetResponseData `json:"data,omitempty"`
}

type WechatAdvertiserDetailGetResponseData

type WechatAdvertiserDetailGetResponseData struct {
	List     *[]WechatAdvertiserDetailGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                                  `json:"page_info,omitempty"`
}

type WechatAdvertiserGetListStruct

type WechatAdvertiserGetListStruct struct {
	AccountId       int64  `json:"account_id,omitempty"`
	WechatAccountId string `json:"wechat_account_id,omitempty"`
}

返回结构

type WechatAdvertiserGetResponse

type WechatAdvertiserGetResponse struct {
	Code      int64                            `json:"code,omitempty"`
	Message   string                           `json:"message,omitempty"`
	MessageCn string                           `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                `json:"errors,omitempty"`
	Data      *WechatAdvertiserGetResponseData `json:"data,omitempty"`
}

type WechatAdvertiserGetResponseData

type WechatAdvertiserGetResponseData struct {
	List     *[]WechatAdvertiserGetListStruct `json:"list,omitempty"`
	PageInfo *PageInfo                        `json:"page_info,omitempty"`
}

type WechatAdvertiserLocalBusinessAddResponse added in v1.3.0

type WechatAdvertiserLocalBusinessAddResponse struct {
	Code      int64                                         `json:"code,omitempty"`
	Message   string                                        `json:"message,omitempty"`
	MessageCn string                                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                             `json:"errors,omitempty"`
	Data      *WechatAdvertiserLocalBusinessAddResponseData `json:"data,omitempty"`
}

type WechatAdvertiserLocalBusinessAddResponseData added in v1.3.0

type WechatAdvertiserLocalBusinessAddResponseData struct {
	AccountId int64 `json:"account_id,omitempty"`
}

type WechatAdvertiserLocalBusinessGetResponse added in v1.3.0

type WechatAdvertiserLocalBusinessGetResponse struct {
	Code      int64                                         `json:"code,omitempty"`
	Message   string                                        `json:"message,omitempty"`
	MessageCn string                                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                             `json:"errors,omitempty"`
	Data      *WechatAdvertiserLocalBusinessGetResponseData `json:"data,omitempty"`
}

type WechatAdvertiserLocalBusinessGetResponseData added in v1.3.0

type WechatAdvertiserLocalBusinessGetResponseData struct {
	HeadImageUrl        string                          `json:"head_image_url,omitempty"`
	Name                string                          `json:"name,omitempty"`
	Description         string                          `json:"description,omitempty"`
	ContactPerson       string                          `json:"contact_person,omitempty"`
	ContactPersonMobile string                          `json:"contact_person_mobile,omitempty"`
	ContactPersonCardId string                          `json:"contact_person_card_id,omitempty"`
	ContactPersonTele   string                          `json:"contact_person_tele,omitempty"`
	Corporation         string                          `json:"corporation,omitempty"`
	CorporationLicence  string                          `json:"corporation_licence,omitempty"`
	BusinessContent     string                          `json:"business_content,omitempty"`
	IndustryId          int64                           `json:"industry_id,omitempty"`
	AccountId           int64                           `json:"account_id,omitempty"`
	BusinessId          string                          `json:"business_id,omitempty"`
	RejectMessage       string                          `json:"reject_message,omitempty"`
	ReviewStatus        WechatLocalBusinessReviewStatus `json:"review_status,omitempty"`
}

type WechatAdvertiserLocalBusinessUpdateResponse added in v1.3.0

type WechatAdvertiserLocalBusinessUpdateResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type WechatAdvertiserSpecificationGetListStruct

type WechatAdvertiserSpecificationGetListStruct struct {
	AccountId         int64                          `json:"account_id,omitempty"`
	WechatAccountName string                         `json:"wechat_account_name,omitempty"`
	SystemIndustryId  int64                          `json:"system_industry_id,omitempty"`
	WechatAccountId   string                         `json:"wechat_account_id,omitempty"`
	WechatAccountType WechatSpecificationAccountType `json:"wechat_account_type,omitempty"`
	CorporationName   string                         `json:"corporation_name,omitempty"`
	AuthStatus        WechatAuthStatus               `json:"auth_status,omitempty"`
	AuthTime          int64                          `json:"auth_time,omitempty"`
	AgencyIdList      *[]int64                       `json:"agency_id_list,omitempty"`
	StaffWechatIdList *[]string                      `json:"staff_wechat_id_list,omitempty"`
	DailyBudget       int64                          `json:"daily_budget,omitempty"`
}

返回结构

type WechatAdvertiserSpecificationGetResponse

type WechatAdvertiserSpecificationGetResponse struct {
	Code      int64                                         `json:"code,omitempty"`
	Message   string                                        `json:"message,omitempty"`
	MessageCn string                                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                             `json:"errors,omitempty"`
	Data      *WechatAdvertiserSpecificationGetResponseData `json:"data,omitempty"`
}

type WechatAdvertiserSpecificationGetResponseData

type WechatAdvertiserSpecificationGetResponseData struct {
	List     *[]WechatAdvertiserSpecificationGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                                         `json:"page_info,omitempty"`
}

type WechatAgencyGetResponse

type WechatAgencyGetResponse struct {
	Code      int64                        `json:"code,omitempty"`
	Message   string                       `json:"message,omitempty"`
	MessageCn string                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct            `json:"errors,omitempty"`
	Data      *WechatAgencyGetResponseData `json:"data,omitempty"`
}

type WechatAgencyGetResponseData

type WechatAgencyGetResponseData struct {
	AccountId          int64                     `json:"account_id,omitempty"`
	WechatAccountId    string                    `json:"wechat_account_id,omitempty"`
	WechatAccountName  string                    `json:"wechat_account_name,omitempty"`
	CorporationName    string                    `json:"corporation_name,omitempty"`
	AdminName          string                    `json:"admin_name,omitempty"`
	AdminPhoneNumber   string                    `json:"admin_phone_number,omitempty"`
	AdminWechatId      string                    `json:"admin_wechat_id,omitempty"`
	CertificationImage string                    `json:"certification_image,omitempty"`
	CorporationLicence string                    `json:"corporation_licence,omitempty"`
	AdvertiserInfoSpec *AdvertiserInfoSpecStruct `json:"advertiser_info_spec,omitempty"`
}

type WechatAuthStatus

type WechatAuthStatus string

WechatAuthStatus : 微信广告账户授权状态,当直客请求时该字段无意义,将返回UNKNOWN

const (
	WechatAuthStatus_PRE_AUTHORIZATION     WechatAuthStatus = "STATUS_PRE_AUTHORIZATION"
	WechatAuthStatus_CONFIRM_AUTHORIZATION WechatAuthStatus = "STATUS_CONFIRM_AUTHORIZATION"
	WechatAuthStatus_REQUEST_CANCELATION   WechatAuthStatus = "STATUS_REQUEST_CANCELATION"
)

List of WechatAuthStatus

type WechatBusinessType

type WechatBusinessType string

WechatBusinessType : 经营性质类型

const (
	WechatBusinessType_ONLINE_INCLUDE_THIRD_PARTY_MERCHANTS WechatBusinessType = "ONLINE_INCLUDE_THIRD_PARTY_MERCHANTS"
	WechatBusinessType_ONLINE_EXCLUDE_THIRD_PARTY_MERCHANTS WechatBusinessType = "ONLINE_EXCLUDE_THIRD_PARTY_MERCHANTS"
	WechatBusinessType_OFFLINE                              WechatBusinessType = "OFFLINE"
)

List of WechatBusinessType

type WechatCostDiagnosisResultSpec

type WechatCostDiagnosisResultSpec struct {
	DiagnosisConclusion string            `json:"diagnosis_conclusion,omitempty"`
	OverallCpc          int64             `json:"overall_cpc,omitempty"`
	HistoryCpcSpecList  *[]HistoryCpcSpec `json:"history_cpc_spec_list,omitempty"`
}

微信广告的成本诊断结论<br>仅微信的oCPA广告会返回此字段

type WechatCustomerSystemStatus added in v1.1.1

type WechatCustomerSystemStatus string

WechatCustomerSystemStatus : 系统状态

const (
	WechatCustomerSystemStatus_NORMAL  WechatCustomerSystemStatus = "MP_STATUS_NORMAL"
	WechatCustomerSystemStatus_PENDING WechatCustomerSystemStatus = "MP_STATUS_PENDING"
	WechatCustomerSystemStatus_DENIED  WechatCustomerSystemStatus = "MP_STATUS_DENIED"
)

List of WechatCustomerSystemStatus

type WechatDailyCostGetListStruct

type WechatDailyCostGetListStruct struct {
	AccountId       int64  `json:"account_id,omitempty"`
	WechatAccountId string `json:"wechat_account_id,omitempty"`
	Date            string `json:"date,omitempty"`
	Cost            int64  `json:"cost,omitempty"`
}

返回结构

type WechatDailyCostGetResponse

type WechatDailyCostGetResponse struct {
	Code      int64                           `json:"code,omitempty"`
	Message   string                          `json:"message,omitempty"`
	MessageCn string                          `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct               `json:"errors,omitempty"`
	Data      *WechatDailyCostGetResponseData `json:"data,omitempty"`
}

type WechatDailyCostGetResponseData

type WechatDailyCostGetResponseData struct {
	List     *[]WechatDailyCostGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                           `json:"page_info,omitempty"`
}

type WechatDiagnosisResultSpec

type WechatDiagnosisResultSpec struct {
	WechatCostDiagnosisResultSpec     *WechatCostDiagnosisResultSpec     `json:"wechat_cost_diagnosis_result_spec,omitempty"`
	WechatExposureDiagnosisResultSpec *WechatExposureDiagnosisResultSpec `json:"wechat_exposure_diagnosis_result_spec,omitempty"`
}

微信广告的诊断结论<br>仅微信广告会返回此字段

type WechatEcommerceProductSpec

type WechatEcommerceProductSpec struct {
	Result bool `json:"result,omitempty"`
}

朋友圈电商推广能力

type WechatExposureDiagnosisResultSpec

type WechatExposureDiagnosisResultSpec struct {
	DiagnosisConclusionSpec            *DiagnosisConclusionSpec            `json:"diagnosis_conclusion_spec,omitempty"`
	TargetingDiagnosisConclusionSpec   *TargetingDiagnosisConclusionSpec   `json:"targeting_diagnosis_conclusion_spec,omitempty"`
	CostDiagnosisConclusionSpec        *CostDiagnosisConclusionSpec        `json:"cost_diagnosis_conclusion_spec,omitempty"`
	CompititionDiagnosisConclusionSpec *CompititionDiagnosisConclusionSpec `json:"compitition_diagnosis_conclusion_spec,omitempty"`
}

微信广告的曝光诊断结论

type WechatFundSpec

type WechatFundSpec struct {
	UsableAmount int64 `json:"usable_amount,omitempty"`
	LockedAmount int64 `json:"locked_amount,omitempty"`
}

微信账户更多信息

type WechatFundStatementsDetailedGetResponse

type WechatFundStatementsDetailedGetResponse struct {
	Code      int64                                        `json:"code,omitempty"`
	Message   string                                       `json:"message,omitempty"`
	MessageCn string                                       `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                            `json:"errors,omitempty"`
	Data      *WechatFundStatementsDetailedGetResponseData `json:"data,omitempty"`
}

type WechatFundStatementsDetailedGetResponseData

type WechatFundStatementsDetailedGetResponseData struct {
	List     *[]DetailedFundStatement `json:"list,omitempty"`
	PageInfo *Conf                    `json:"page_info,omitempty"`
}

type WechatFundTransferAddRequest added in v1.3.0

type WechatFundTransferAddRequest struct {
	AccountId    int64                 `json:"account_id,omitempty"`
	FundType     WechatAccountFundType `json:"fund_type,omitempty"`
	Amount       int64                 `json:"amount,omitempty"`
	TransferType TransferType          `json:"transfer_type,omitempty"`
	Operator     string                `json:"operator,omitempty"`
}

type WechatFundTransferAddResponse added in v1.3.0

type WechatFundTransferAddResponse struct {
	Code      int64             `json:"code,omitempty"`
	Message   string            `json:"message,omitempty"`
	MessageCn string            `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct `json:"errors,omitempty"`
}

type WechatFundsGetListStruct

type WechatFundsGetListStruct struct {
	FundType        WechatMpOpenFundType `json:"fund_type,omitempty"`
	Balance         int64                `json:"balance,omitempty"`
	CreditRollSpec  *CreditRollSpec      `json:"credit_roll_spec,omitempty"`
	MiniprogramSpec *MiniprogramAmount   `json:"miniprogram_spec,omitempty"`
}

返回结构

type WechatFundsGetResponse

type WechatFundsGetResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *WechatFundsGetResponseData `json:"data,omitempty"`
}

type WechatFundsGetResponseData

type WechatFundsGetResponseData struct {
	List *[]WechatFundsGetListStruct `json:"list,omitempty"`
	Memo *Memo                       `json:"memo,omitempty"`
}

type WechatIndustryQualificationsSpec

type WechatIndustryQualificationsSpec struct {
	QualificationName string `json:"qualification_name,omitempty"`
	ImageId           string `json:"image_id,omitempty"`
}

微信行业资质信息,当且仅当qualification_type=INDUSTRY_QUALIFICATION_WECHAT时可填且必填

type WechatIndustryQualificationsStruct

type WechatIndustryQualificationsStruct struct {
	QualificationId     int64               `json:"qualification_id,omitempty"`
	QualificationName   string              `json:"qualification_name,omitempty"`
	ImageUrl            string              `json:"image_url,omitempty"`
	ExpiredDate         string              `json:"expired_date,omitempty"`
	QualificationStatus QualificationStatus `json:"qualification_status,omitempty"`
	RejectMessage       string              `json:"reject_message,omitempty"`
}

微信行业资质信息

type WechatLinkAd

type WechatLinkAd struct {
	Url string `json:"url,omitempty"`
}

电商推广条件

type WechatLinkAdSpec

type WechatLinkAdSpec struct {
	Result bool `json:"result,omitempty"`
}

品牌活动页投放能力

type WechatLocalBusinessQualificationType added in v1.3.0

type WechatLocalBusinessQualificationType string

WechatLocalBusinessQualificationType : 资质类型

const (
	WechatLocalBusinessQualificationType_BUSINESS_LICENSE       WechatLocalBusinessQualificationType = "STUFF_BUSINESS_LICENSE"
	WechatLocalBusinessQualificationType_ID_CARD_FRONT          WechatLocalBusinessQualificationType = "STUFF_ID_CARD_FRONT"
	WechatLocalBusinessQualificationType_ID_CARD_REVERSE        WechatLocalBusinessQualificationType = "STUFF_ID_CARD_REVERSE"
	WechatLocalBusinessQualificationType_INDUSTRY_QUALIFICATION WechatLocalBusinessQualificationType = "STUFF_INDUSTRY_QUALIFICATION"
)

List of WechatLocalBusinessQualificationType

type WechatLocalBusinessReviewStatus added in v1.4.0

type WechatLocalBusinessReviewStatus string

WechatLocalBusinessReviewStatus : 审核状态

const (
	WechatLocalBusinessReviewStatus_PENDING WechatLocalBusinessReviewStatus = "ADVERTISER_REVIEW_STATUS_PENDING"
	WechatLocalBusinessReviewStatus_NORMAL  WechatLocalBusinessReviewStatus = "ADVERTISER_REVIEW_STATUS_NORMAL"
	WechatLocalBusinessReviewStatus_DENIED  WechatLocalBusinessReviewStatus = "ADVERTISER_REVIEW_STATUS_DENIED"
)

List of WechatLocalBusinessReviewStatus

type WechatMpOpenFundType

type WechatMpOpenFundType string

WechatMpOpenFundType : 资金账户类型

const (
	WechatMpOpenFundType_UNSUPPORTED       WechatMpOpenFundType = "FUND_TYPE_UNSUPPORTED"
	WechatMpOpenFundType_UNKNOWN           WechatMpOpenFundType = "FUND_TYPE_UNKNOWN"
	WechatMpOpenFundType_CASH              WechatMpOpenFundType = "FUND_TYPE_CASH"
	WechatMpOpenFundType_GIFT              WechatMpOpenFundType = "FUND_TYPE_GIFT"
	WechatMpOpenFundType_SPECIAL_PROMOTION WechatMpOpenFundType = "FUND_TYPE_SPECIAL_PROMOTION"
	WechatMpOpenFundType_PAYMENT_DUE       WechatMpOpenFundType = "FUND_TYPE_PAYMENT_DUE"
	WechatMpOpenFundType_CREDIT_TEMPORARY  WechatMpOpenFundType = "FUND_TYPE_CREDIT_TEMPORARY"
	WechatMpOpenFundType_CREDIT_ROLL       WechatMpOpenFundType = "FUND_TYPE_CREDIT_ROLL"
	WechatMpOpenFundType_TCC_GIFT          WechatMpOpenFundType = "FUND_TYPE_TCC_GIFT"
	WechatMpOpenFundType_UNSUPPPORTED      WechatMpOpenFundType = "FUND_TYPE_UNSUPPPORTED"
	WechatMpOpenFundType_MINIPROGRAM       WechatMpOpenFundType = "FUND_TYPE_MINIPROGRAM"
	WechatMpOpenFundType_CREDIT            WechatMpOpenFundType = "FUND_TYPE_CREDIT"
	WechatMpOpenFundType_INNER             WechatMpOpenFundType = "FUND_TYPE_INNER"
	WechatMpOpenFundType_DEBT_TEMP         WechatMpOpenFundType = "FUND_TYPE_DEBT_TEMP"
	WechatMpOpenFundType_DEBT_FIXED        WechatMpOpenFundType = "FUND_TYPE_DEBT_FIXED"
)

List of WechatMpOpenFundType

type WechatOcpa

type WechatOcpa struct {
	PromotedObjectType   PromotedObjectType `json:"promoted_object_type,omitempty"`
	PromotedObjectId     string             `json:"promoted_object_id,omitempty"`
	AdcreativeTemplateId int64              `json:"adcreative_template_id,omitempty"`
}

oCPC/oCPM投放能力

type WechatOcpaSpecStruct

type WechatOcpaSpecStruct struct {
	OptimizationGoal OptimizationGoal `json:"optimization_goal,omitempty"`
	MaxPrice         int64            `json:"max_price,omitempty"`
	MinPrice         int64            `json:"min_price,omitempty"`
}

oCPC/oCPM投放能力

type WechatPageResourceStatus added in v1.3.0

type WechatPageResourceStatus string

WechatPageResourceStatus : 微信原生页视频资源状态

const (
	WechatPageResourceStatus_STATUS_VALID   WechatPageResourceStatus = "VIDEO_RESOURCE_STATUS_VALID"
	WechatPageResourceStatus_STATUS_PENDING WechatPageResourceStatus = "VIDEO_RESOURCE_STATUS_PENDING"
	WechatPageResourceStatus_ERROR          WechatPageResourceStatus = "VIDEO_RESOURCE_ERROR"
)

List of WechatPageResourceStatus

type WechatPageSourceType

type WechatPageSourceType string

WechatPageSourceType : 视频/图片等素材的创建来源类型

const (
	WechatPageSourceType_EQQ WechatPageSourceType = "SOURCE_TYPE_EQQ"
	WechatPageSourceType_MP  WechatPageSourceType = "SOURCE_TYPE_MP"
)

List of WechatPageSourceType

type WechatPagesAddRequest

type WechatPagesAddRequest struct {
	PageName             string                `json:"page_name,omitempty"`
	PageTemplateId       int64                 `json:"page_template_id,omitempty"`
	ShareContentSpec     *ShareContentSpec     `json:"share_content_spec,omitempty"`
	AccountId            int64                 `json:"account_id,omitempty"`
	PageElementsSpecList *[]PageElementsStruct `json:"page_elements_spec_list,omitempty"`
}

type WechatPagesAddResponse

type WechatPagesAddResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *WechatPagesAddResponseData `json:"data,omitempty"`
}

type WechatPagesAddResponseData

type WechatPagesAddResponseData struct {
	PageId int64 `json:"page_id,omitempty"`
}

type WechatPagesDeleteRequest

type WechatPagesDeleteRequest struct {
	PageId    int64 `json:"page_id,omitempty"`
	AccountId int64 `json:"account_id,omitempty"`
}

type WechatPagesDeleteResponse

type WechatPagesDeleteResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *WechatPagesDeleteResponseData `json:"data,omitempty"`
}

type WechatPagesDeleteResponseData

type WechatPagesDeleteResponseData struct {
	PageId int64 `json:"page_id,omitempty"`
}

type WechatPagesGetListStruct

type WechatPagesGetListStruct struct {
	PageId               int64                    `json:"page_id,omitempty"`
	PageName             string                   `json:"page_name,omitempty"`
	CreatedTime          int64                    `json:"created_time,omitempty"`
	LastModifiedTime     int64                    `json:"last_modified_time,omitempty"`
	PageTemplateId       int64                    `json:"page_template_id,omitempty"`
	ShareContentSpec     *ShareContentSpec        `json:"share_content_spec,omitempty"`
	PreviewUrl           string                   `json:"preview_url,omitempty"`
	PageType             PageTypeRead             `json:"page_type,omitempty"`
	SourceType           WechatPageSourceType     `json:"source_type,omitempty"`
	VideoResourceStatus  WechatPageResourceStatus `json:"video_resource_status,omitempty"`
	CanvasType           CanvasType               `json:"canvas_type,omitempty"`
	PageElementsSpecList *[]PageElementsStruct    `json:"page_elements_spec_list,omitempty"`
}

返回结构

type WechatPagesGetResponse

type WechatPagesGetResponse struct {
	Code      int64                       `json:"code,omitempty"`
	Message   string                      `json:"message,omitempty"`
	MessageCn string                      `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct           `json:"errors,omitempty"`
	Data      *WechatPagesGetResponseData `json:"data,omitempty"`
}

type WechatPagesGetResponseData

type WechatPagesGetResponseData struct {
	List     *[]WechatPagesGetListStruct `json:"list,omitempty"`
	PageInfo *Conf                       `json:"page_info,omitempty"`
}

type WechatPositionType

type WechatPositionType string

WechatPositionType : 微信广告位信息

const (
	WechatPositionType_WECHAT_OFFICIAL_ACCOUNT_BOTTOM          WechatPositionType = "POSITION_TYPE_WECHAT_OFFICIAL_ACCOUNT_BOTTOM"
	WechatPositionType_WECHAT_OFFICIAL_ACCOUNT_TOP             WechatPositionType = "POSITION_TYPE_WECHAT_OFFICIAL_ACCOUNT_TOP"
	WechatPositionType_WECHAT_TENCENT_NEWS                     WechatPositionType = "POSITION_TYPE_WECHAT_TENCENT_NEWS"
	WechatPositionType_WECHAT_OFFICIAL_ACCOUNT_VIDEO           WechatPositionType = "POSITION_TYPE_WECHAT_OFFICIAL_ACCOUNT_VIDEO"
	WechatPositionType_WECHAT_OFFICIAL_ACCOUNT_MUTUAL_ELECTION WechatPositionType = "POSITION_TYPE_WECHAT_OFFICIAL_ACCOUNT_MUTUAL_ELECTION"
	WechatPositionType_WECHAT_OFFICIAL_ACCOUNT_MIDDLE          WechatPositionType = "POSITION_TYPE_WECHAT_OFFICIAL_ACCOUNT_MIDDLE"
	WechatPositionType_TENCENT_MAILBOX                         WechatPositionType = "POSITION_TYPE_TENCENT_MAILBOX"
	WechatPositionType_WECHAT_MINI_PROGRAM_BANNER              WechatPositionType = "POSITION_TYPE_WECHAT_MINI_PROGRAM_BANNER"
	WechatPositionType_WECHAT_REWARD                           WechatPositionType = "POSITION_TYPE_WECHAT_REWARD"
	WechatPositionType_WECHAT_OFFICIAL_ACCOUNT_MIDDLE_PRODUCT  WechatPositionType = "POSITION_TYPE_WECHAT_OFFICIAL_ACCOUNT_MIDDLE_PRODUCT"
	WechatPositionType_WECHAT_MINI_PROGRAM_INTERSTITIAL        WechatPositionType = "POSITION_TYPE_WECHAT_MINI_PROGRAM_INTERSTITIAL"
	WechatPositionType_WECHAT_AD_BOX                           WechatPositionType = "POSITION_TYPE_WECHAT_AD_BOX"
	WechatPositionType_WECHAT_MOMENTS                          WechatPositionType = "POSITION_TYPE_WECHAT_MOMENTS"
	WechatPositionType_WECHAT_NULL                             WechatPositionType = "POSITION_TYPE_WECHAT_NULL"
	WechatPositionType_WECHAT_OTHERS                           WechatPositionType = "POSITION_TYPE_WECHAT_OTHERS"
)

List of WechatPositionType

type WechatPromotedObjectType

type WechatPromotedObjectType string

WechatPromotedObjectType : 推广目标类型

const (
	WechatPromotedObjectType_APP_ANDROID      WechatPromotedObjectType = "PROMOTED_OBJECT_TYPE_APP_ANDROID"
	WechatPromotedObjectType_APP_IOS          WechatPromotedObjectType = "PROMOTED_OBJECT_TYPE_APP_IOS"
	WechatPromotedObjectType_ECOMMERCE        WechatPromotedObjectType = "PROMOTED_OBJECT_TYPE_ECOMMERCE"
	WechatPromotedObjectType_LINK_WECHAT      WechatPromotedObjectType = "PROMOTED_OBJECT_TYPE_LINK_WECHAT"
	WechatPromotedObjectType_LOCAL_ADS_WECHAT WechatPromotedObjectType = "PROMOTED_OBJECT_TYPE_LOCAL_ADS_WECHAT"
	WechatPromotedObjectType_LEAD_AD          WechatPromotedObjectType = "PROMOTED_OBJECT_TYPE_LEAD_AD"
	WechatPromotedObjectType_MINI_GAME_WECHAT WechatPromotedObjectType = "PROMOTED_OBJECT_TYPE_MINI_GAME_WECHAT"
)

List of WechatPromotedObjectType

type WechatQualificationsAddResponse added in v1.3.0

type WechatQualificationsAddResponse struct {
	Code      int64                                `json:"code,omitempty"`
	Message   string                               `json:"message,omitempty"`
	MessageCn string                               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                    `json:"errors,omitempty"`
	Data      *WechatQualificationsAddResponseData `json:"data,omitempty"`
}

type WechatQualificationsAddResponseData added in v1.3.0

type WechatQualificationsAddResponseData struct {
	WechatQualificationId int64 `json:"wechat_qualification_id,omitempty"`
}

type WechatQualificationsDeleteRequest added in v1.3.0

type WechatQualificationsDeleteRequest struct {
	AccountId             int64 `json:"account_id,omitempty"`
	WechatQualificationId int64 `json:"wechat_qualification_id,omitempty"`
}

type WechatQualificationsDeleteResponse added in v1.3.0

type WechatQualificationsDeleteResponse struct {
	Code      int64                                   `json:"code,omitempty"`
	Message   string                                  `json:"message,omitempty"`
	MessageCn string                                  `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                       `json:"errors,omitempty"`
	Data      *WechatQualificationsDeleteResponseData `json:"data,omitempty"`
}

type WechatQualificationsDeleteResponseData added in v1.3.0

type WechatQualificationsDeleteResponseData struct {
	WechatQualificationId int64 `json:"wechat_qualification_id,omitempty"`
}

type WechatQualificationsGetResponse added in v1.3.0

type WechatQualificationsGetResponse struct {
	Code      int64                                `json:"code,omitempty"`
	Message   string                               `json:"message,omitempty"`
	MessageCn string                               `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                    `json:"errors,omitempty"`
	Data      *WechatQualificationsGetResponseData `json:"data,omitempty"`
}

type WechatQualificationsGetResponseData added in v1.3.0

type WechatQualificationsGetResponseData struct {
	List *[]ListStruct `json:"list,omitempty"`
}

type WechatSpecificationAccountType

type WechatSpecificationAccountType string

WechatSpecificationAccountType : 微信广告账户类型

const (
	WechatSpecificationAccountType_OFFICIAL_ACCOUNTS WechatSpecificationAccountType = "WECHAT_ACCOUNT_TYPE_OFFICIAL_ACCOUNTS"
	WechatSpecificationAccountType_MINI_PROGRAM      WechatSpecificationAccountType = "WECHAT_ACCOUNT_TYPE_MINI_PROGRAM"
	WechatSpecificationAccountType_MINI_GAME         WechatSpecificationAccountType = "WECHAT_ACCOUNT_TYPE_MINI_GAME"
)

List of WechatSpecificationAccountType

type WriteTargetingSetting

type WriteTargetingSetting struct {
	Age                           *[]AgeStruct                       `json:"age,omitempty"`
	Gender                        *[]string                          `json:"gender,omitempty"`
	Education                     *[]string                          `json:"education,omitempty"`
	MaritalStatus                 *[]string                          `json:"marital_status,omitempty"`
	WorkingStatus                 *[]string                          `json:"working_status,omitempty"`
	GeoLocation                   *GeoLocations                      `json:"geo_location,omitempty"`
	UserOs                        *[]string                          `json:"user_os,omitempty"`
	NewDevice                     *[]string                          `json:"new_device,omitempty"`
	DevicePrice                   *[]string                          `json:"device_price,omitempty"`
	DeviceBrandModel              *DeviceBrandModel                  `json:"device_brand_model,omitempty"`
	NetworkType                   *[]string                          `json:"network_type,omitempty"`
	NetworkOperator               *[]string                          `json:"network_operator,omitempty"`
	NetworkScene                  *[]string                          `json:"network_scene,omitempty"`
	DressingIndex                 *[]string                          `json:"dressing_index,omitempty"`
	UvIndex                       *[]string                          `json:"uv_index,omitempty"`
	MakeupIndex                   *[]string                          `json:"makeup_index,omitempty"`
	Climate                       *[]string                          `json:"climate,omitempty"`
	Temperature                   *[]TemperatureStruct               `json:"temperature,omitempty"`
	AirQualityIndex               *[]string                          `json:"air_quality_index,omitempty"`
	AppInstallStatus              *[]string                          `json:"app_install_status,omitempty"`
	MiniGameQqStatus              *[]string                          `json:"mini_game_qq_status,omitempty"`
	ConsumptionStatus             *[]string                          `json:"consumption_status,omitempty"`
	GameConsumptionLevel          *[]string                          `json:"game_consumption_level,omitempty"`
	ResidentialCommunityPrice     *[]ResidentialCommunityPriceStruct `json:"residential_community_price,omitempty"`
	FinancialSituation            *[]string                          `json:"financial_situation,omitempty"`
	ConsumptionType               *[]string                          `json:"consumption_type,omitempty"`
	WechatAdBehavior              *WechatAdBehavior                  `json:"wechat_ad_behavior,omitempty"`
	CustomAudience                *[]int64                           `json:"custom_audience,omitempty"`
	ExcludedCustomAudience        *[]int64                           `json:"excluded_custom_audience,omitempty"`
	BehaviorOrInterest            *BehaviorOrInterest                `json:"behavior_or_interest,omitempty"`
	WechatOfficialAccountCategory *[]int64                           `json:"wechat_official_account_category,omitempty"`
	MobileUnionCategory           *[]int64                           `json:"mobile_union_category,omitempty"`
}

定向详细设置

type WriteTargetingSettingForAdgroup

type WriteTargetingSettingForAdgroup struct {
	Age                           *[]AgeStruct                       `json:"age,omitempty"`
	Gender                        *[]string                          `json:"gender,omitempty"`
	Education                     *[]string                          `json:"education,omitempty"`
	MaritalStatus                 *[]string                          `json:"marital_status,omitempty"`
	WorkingStatus                 *[]string                          `json:"working_status,omitempty"`
	GeoLocation                   *GeoLocations                      `json:"geo_location,omitempty"`
	UserOs                        *[]string                          `json:"user_os,omitempty"`
	NewDevice                     *[]string                          `json:"new_device,omitempty"`
	DevicePrice                   *[]string                          `json:"device_price,omitempty"`
	DeviceBrandModel              *DeviceBrandModel                  `json:"device_brand_model,omitempty"`
	NetworkType                   *[]string                          `json:"network_type,omitempty"`
	NetworkOperator               *[]string                          `json:"network_operator,omitempty"`
	NetworkScene                  *[]string                          `json:"network_scene,omitempty"`
	DressingIndex                 *[]string                          `json:"dressing_index,omitempty"`
	UvIndex                       *[]string                          `json:"uv_index,omitempty"`
	MakeupIndex                   *[]string                          `json:"makeup_index,omitempty"`
	Climate                       *[]string                          `json:"climate,omitempty"`
	Temperature                   *[]TemperatureStruct               `json:"temperature,omitempty"`
	AirQualityIndex               *[]string                          `json:"air_quality_index,omitempty"`
	AppInstallStatus              *[]string                          `json:"app_install_status,omitempty"`
	ConsumptionStatus             *[]string                          `json:"consumption_status,omitempty"`
	GameConsumptionLevel          *[]string                          `json:"game_consumption_level,omitempty"`
	ResidentialCommunityPrice     *[]ResidentialCommunityPriceStruct `json:"residential_community_price,omitempty"`
	FinancialSituation            *[]string                          `json:"financial_situation,omitempty"`
	ConsumptionType               *[]string                          `json:"consumption_type,omitempty"`
	WechatAdBehavior              *WechatAdBehavior                  `json:"wechat_ad_behavior,omitempty"`
	CustomAudience                *[]int64                           `json:"custom_audience,omitempty"`
	ExcludedCustomAudience        *[]int64                           `json:"excluded_custom_audience,omitempty"`
	BehaviorOrInterest            *BehaviorOrInterest                `json:"behavior_or_interest,omitempty"`
	WechatOfficialAccountCategory *[]int64                           `json:"wechat_official_account_category,omitempty"`
	MobileUnionCategory           *[]int64                           `json:"mobile_union_category,omitempty"`
	MiniGameQqStatus              *[]string                          `json:"mini_game_qq_status,omitempty"`
	ExcludedConvertedAudience     *ExcludedConvertedAudienceStruct   `json:"excluded_converted_audience,omitempty"`
}

定向详细设置

type XijingPageAddPagesStruct added in v1.3.0

type XijingPageAddPagesStruct struct {
	PageType          TemplatesPageType `json:"page_type,omitempty"`
	PageName          string            `json:"page_name,omitempty"`
	PageTitle         string            `json:"page_title,omitempty"`
	MobileAppId       string            `json:"mobile_app_id,omitempty"`
	PageTemplateId    string            `json:"page_template_id,omitempty"`
	ComponentSpecList *[]string         `json:"component_spec_list,omitempty"`
}

落地页配置结构

type XijingPageAddRequest

type XijingPageAddRequest struct {
	AccountId    int64                       `json:"account_id,omitempty"`
	IsAutoSubmit int64                       `json:"is_auto_submit,omitempty"`
	Pages        *[]XijingPageAddPagesStruct `json:"pages,omitempty"`
}

type XijingPageAddResponse

type XijingPageAddResponse struct {
	Code      int64                      `json:"code,omitempty"`
	Message   string                     `json:"message,omitempty"`
	MessageCn string                     `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct          `json:"errors,omitempty"`
	Data      *XijingPageAddResponseData `json:"data,omitempty"`
}

type XijingPageAddResponseData

type XijingPageAddResponseData struct {
	List *[]CreatePageResponse `json:"list,omitempty"`
}

type XijingPageByComponentsAddPagesStruct added in v1.3.0

type XijingPageByComponentsAddPagesStruct struct {
	PageType          ComponentsPageType `json:"page_type,omitempty"`
	PageName          string             `json:"page_name,omitempty"`
	PageTitle         string             `json:"page_title,omitempty"`
	MobileAppId       string             `json:"mobile_app_id,omitempty"`
	BgColor           string             `json:"bg_color,omitempty"`
	BgImageId         string             `json:"bg_image_id,omitempty"`
	ComponentSpecList *[]string          `json:"component_spec_list,omitempty"`
}

落地页配置结构

type XijingPageByComponentsAddRequest

type XijingPageByComponentsAddRequest struct {
	AccountId    int64                                   `json:"account_id,omitempty"`
	IsAutoSubmit int64                                   `json:"is_auto_submit,omitempty"`
	Pages        *[]XijingPageByComponentsAddPagesStruct `json:"pages,omitempty"`
}

type XijingPageByComponentsAddResponse

type XijingPageByComponentsAddResponse struct {
	Code      int64                                  `json:"code,omitempty"`
	Message   string                                 `json:"message,omitempty"`
	MessageCn string                                 `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct                      `json:"errors,omitempty"`
	Data      *XijingPageByComponentsAddResponseData `json:"data,omitempty"`
}

type XijingPageByComponentsAddResponseData

type XijingPageByComponentsAddResponseData struct {
	List *[]CreatePageResponse `json:"list,omitempty"`
}

type XijingPageDeleteRequest

type XijingPageDeleteRequest struct {
	AccountId  int64     `json:"account_id,omitempty"`
	PageIdList *[]string `json:"page_id_list,omitempty"`
}

type XijingPageDeleteResponse

type XijingPageDeleteResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *XijingPageDeleteResponseData `json:"data,omitempty"`
}

type XijingPageDeleteResponseData

type XijingPageDeleteResponseData struct {
	List *[]PageOperateResponses `json:"list,omitempty"`
}

type XijingPageListGetResponse added in v1.3.0

type XijingPageListGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *XijingPageListGetResponseData `json:"data,omitempty"`
}

type XijingPageListGetResponseData added in v1.3.0

type XijingPageListGetResponseData struct {
	List       *[]PageStruct `json:"list,omitempty"`
	TotalPages int64         `json:"total_pages,omitempty"`
	PageSize   int64         `json:"page_size,omitempty"`
	PageIndex  int64         `json:"page_index,omitempty"`
}

type XijingPageUpdateRequest

type XijingPageUpdateRequest struct {
	AccountId            int64     `json:"account_id,omitempty"`
	IsSubmittedForReview bool      `json:"is_submitted_for_review,omitempty"`
	PageIdList           *[]string `json:"page_id_list,omitempty"`
}

type XijingPageUpdateResponse

type XijingPageUpdateResponse struct {
	Code      int64                         `json:"code,omitempty"`
	Message   string                        `json:"message,omitempty"`
	MessageCn string                        `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct             `json:"errors,omitempty"`
	Data      *XijingPageUpdateResponseData `json:"data,omitempty"`
}

type XijingPageUpdateResponseData

type XijingPageUpdateResponseData struct {
	List *[]PageOperateResponses `json:"list,omitempty"`
}

type XijingTemplateGetResponse

type XijingTemplateGetResponse struct {
	Code      int64                          `json:"code,omitempty"`
	Message   string                         `json:"message,omitempty"`
	MessageCn string                         `json:"message_cn,omitempty"`
	Errors    *[]ApiErrorStruct              `json:"errors,omitempty"`
	Data      *XijingTemplateGetResponseData `json:"data,omitempty"`
}

type XijingTemplateGetResponseData

type XijingTemplateGetResponseData struct {
	PageTemplateId    string            `json:"page_template_id,omitempty"`
	PageType          TemplatesPageType `json:"page_type,omitempty"`
	PageName          string            `json:"page_name,omitempty"`
	PageTitle         string            `json:"page_title,omitempty"`
	ComponentSpecList *[]string         `json:"component_spec_list,omitempty"`
	MobileAppId       string            `json:"mobile_app_id,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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