Documentation ¶
Index ¶
- type AccountRole
- type AccountSource
- type AccountStatus
- type ActionScene
- type ActivateType
- type AdDeliveryRange
- type AdOptStatus
- type AdStatus
- type AdvertiserRole
- type AdvertiserStatus
- type AudienceAge
- type AudienceGender
- type AudienceLevel
- type AudiencePlatform
- type AudienceStatIDType
- type Behavior
- type BudgetMode
- type CampaignDPA
- type CampaignStatus
- type Carrier
- type CreativeDisplayMode
- type CreativeOpStatus
- type CreativeStatus
- type DeepBidType
- type FlowControlMode
- type ImageMode
- type InterestActionType
- type LandingType
- type OrderType
- type PlayableOrientation
- type PricingType
- type ScheduleType
- type SmartBidType
- type StatGroupBy
- type StatInventoryType
- type StatTimeGranularity
- type SuperiorPopularityType
- type TrackEventType
- type TrackMatchType
- type TrackOS
- type TransactionType
- type UnionVideoType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRole ¶
type AccountRole string
const ( ADVERTISER AccountRole = "ADVERTISER" // 广告主 CUSTOMER_ADMIN AccountRole = "CUSTOMER_ADMIN" // 管家-管理员 AGENT AccountRole = "AGENT" // 代理商 CHILD_AGENT AccountRole = "CHILD_AGENT" // 二级代理商 CUSTOMER_OPERATOR AccountRole = "CUSTOMER_OPERATOR" // 管家-操作者 )
type AccountSource ¶
type AccountSource string
账户类型
const ( NORMAL_ADVERTISER AccountSource = "NORMAL_ADVERTISER" // 普通广告主 LUBAN_ACCOUNT AccountSource = "LUBAN_ACCOUNT" // 鲁班广告主 )
type AccountStatus ¶
type AccountStatus string
广告主状态
const ( ACCOUNT_STATUS_DISABLE AccountStatus = "STATUS_DISABLE" // 已禁用 ACCOUNT_STATUS_PENDING_CONFIRM AccountStatus = "STATUS_PENDING_CONFIRM" // 申请待审核 ACCOUNT_STATUS_PENDING_VERIFIED AccountStatus = "STATUS_PENDING_VERIFIED" // 待验证 ACCOUNT_STATUS_CONFIRM_FAIL AccountStatus = "STATUS_CONFIRM_FAIL" // 审核不通过 ACCOUNT_STATUS_ENABLE AccountStatus = "STATUS_ENABLE" // 已审核 ACCOUNT_STATUS_CONFIRM_FAIL_END AccountStatus = "STATUS_CONFIRM_FAIL_END" // CRM审核不通过 ACCOUNT_STATUS_PENDING_CONFIRM_MODIFY AccountStatus = "STATUS_PENDING_CONFIRM_MODIFY" // 修改待审核 ACCOUNT_STATUS_CONFIRM_MODIFY_FAIL AccountStatus = "STATUS_CONFIRM_MODIFY_FAIL" // 修改审核不通过 ACCOUNT_STATUS_LIMIT AccountStatus = "STATUS_LIMIT" // 限制 ACCOUNT_STATUS_WAIT_FOR_BPM_AUDIT AccountStatus = "STATUS_WAIT_FOR_BPM_AUDIT" // 等待CRM审核 ACCOUNT_STATUS_WAIT_FOR_PUBLIC_AUTH AccountStatus = "STATUS_WAIT_FOR_PUBLIC_AUTH" // 待对公验证 ACCOUNT_STATUS_SELF_SERVICE_UNAUDITED AccountStatus = "STATUS_SELF_SERVICE_UNAUDITED" // 自助开户待验证资质 )
type ActionScene ¶
type ActionScene string
行为场景
const ( E_COMMERCE_SCENE ActionScene = "E-COMMERCE" // 电商行为场景 NEWS_SCENE ActionScene = "NEWS" // 资讯行为场景 APP_SCENE ActionScene = "APP" // app行为场景 )
type ActivateType ¶
type ActivateType string
const ( ActivateType_WITH_IN_A_MONTH ActivateType = "WITH_IN_A_MONTH" // 一个月以内 ActivateType_ONE_MONTH_2_THREE_MONTH ActivateType = "ONE_MONTH_2_THREE_MONTH" // 一个月到三个月 ActivateType_THREE_MONTH_EAILIER ActivateType = "THREE_MONTH_EAILIER" // 三个月或更早 )
type AdDeliveryRange ¶
type AdDeliveryRange string
const ( AdDeliveryRange_DEFAULT AdDeliveryRange = "DEFAULT" // 默认 AdDeliveryRange_UNION AdDeliveryRange = "UNION" // 只投放到资讯联盟(穿山甲) AdDeliveryRange_UNIVERSAL AdDeliveryRange = "UNIVERSAL" // 通投智选 )
type AdOptStatus ¶ added in v1.0.10
type AdOptStatus string
const ( AdOptStatus_ENABLE AdOptStatus = "AD_STATUS_ENABLE" // 启用 AdOptStatus_DISABLE AdOptStatus = "AD_STATUS_DISABLE" // 暂停 )
type AdStatus ¶
type AdStatus string
广告计划投放状态 多个状态同时存在将优先显示高优先级状态,状态优先级从高→低为: 投放中 → 计划新建 → 审核不通过 → 新建待审 → 修改审核 → 已删除 → 已完成 → 计划暂停 → 广告组暂停 → 未达到投放时间 → 不在投放时段 → 计划消耗达到预算 → 广告组消耗达到预算 → 账户余额不足
const ( AD_STATUS_DELIVERY_OK AdStatus = "AD_STATUS_DELIVERY_OK" // 投放中 AD_STATUS_DISABLE AdStatus = "AD_STATUS_DISABLE" // 计划暂停 AD_STATUS_AUDIT AdStatus = "AD_STATUS_AUDIT" // 新建审核中 AD_STATUS_REAUDIT AdStatus = "AD_STATUS_REAUDIT" // 修改审核中 AD_STATUS_DONE AdStatus = "AD_STATUS_DONE" // 已完成(投放达到结束时间) AD_STATUS_CREATE AdStatus = "AD_STATUS_CREATE" // 计划新建 AD_STATUS_AUDIT_DENY AdStatus = "AD_STATUS_AUDIT_DENY" // 审核不通过 AD_STATUS_BALANCE_EXCEED AdStatus = "AD_STATUS_BALANCE_EXCEED" // 账户余额不足 AD_STATUS_BUDGET_EXCEED AdStatus = "AD_STATUS_BUDGET_EXCEED" // 超出预算 AD_STATUS_NOT_START AdStatus = "AD_STATUS_NOT_START" // 未到达投放时间 AD_STATUS_NO_SCHEDULE AdStatus = "AD_STATUS_NO_SCHEDULE" // 不在投放时段 AD_STATUS_CAMPAIGN_DISABLE AdStatus = "AD_STATUS_CAMPAIGN_DISABLE" // 已被广告组暂停 AD_STATUS_CAMPAIGN_EXCEED AdStatus = "AD_STATUS_CAMPAIGN_EXCEED" // 广告组超出预算 AD_STATUS_DELETE AdStatus = "AD_STATUS_DELETE" // 已删除 AD_STATUS_ALL AdStatus = "AD_STATUS_ALL" // 所有包含已删除 AD_STATUS_NOT_DELETE AdStatus = "AD_STATUS_NOT_DELETE" // 所有不包含已删除(状态过滤默认值) AD_STATUS_ADVERTISER_BUDGET_EXCEED AdStatus = "AD_STATUS_ADVERTISER_BUDGET_EXCEED" // 超出广告主日预算 )
type AdvertiserRole ¶
type AdvertiserRole string
广告主角色
const ( ROLE_ADVERTISER AdvertiserRole = "ROLE_ADVERTISER" // 普通广告主(直客) ROLE_CHILD_ADVERTISER AdvertiserRole = "ROLE_CHILD_ADVERTISER" // 普通广告主(代理商子客户) ROLE_CHILD_AGENT AdvertiserRole = "ROLE_CHILD_AGENT" // 二级代理商 ROLE_AGENT AdvertiserRole = "ROLE_AGENT" // 一级代理商 )
type AdvertiserStatus ¶
type AdvertiserStatus string
广告主状态
const ( ADVERTISER_STATUS_DISABLE AdvertiserStatus = "STATUS_DISABLE" // 已禁用 ADVERTISER_STATUS_PENDING_CONFIRM AdvertiserStatus = "STATUS_PENDING_CONFIRM" // 申请待审核 ADVERTISER_STATUS_PENDING_VERIFIED AdvertiserStatus = "STATUS_PENDING_VERIFIED" // 待验证 ADVERTISER_STATUS_CONFIRM_FAIL AdvertiserStatus = "STATUS_CONFIRM_FAIL" // 审核不通过 ADVERTISER_STATUS_ENABLE AdvertiserStatus = "STATUS_ENABLE" // 已审核 ADVERTISER_STATUS_CONFIRM_FAIL_END AdvertiserStatus = "STATUS_CONFIRM_FAIL_END" // CRM审核不通过 ADVERTISER_STATUS_PENDING_CONFIRM_MODIFY AdvertiserStatus = "STATUS_PENDING_CONFIRM_MODIFY" // 修改待审核 ADVERTISER_STATUS_CONFIRM_MODIFY_FAIL AdvertiserStatus = "STATUS_CONFIRM_MODIFY_FAIL" // 修改审核不通过 ADVERTISER_STATUS_LIMIT AdvertiserStatus = "STATUS_LIMIT" // 限制 ADVERTISER_STATUS_WAIT_FOR_BPM_AUDIT AdvertiserStatus = "STATUS_WAIT_FOR_BPM_AUDIT" // 等待CRM审核 ADVERTISER_STATUS_WAIT_FOR_PUBLIC_AUTH AdvertiserStatus = "STATUS_WAIT_FOR_PUBLIC_AUTH" // 待对公验证 ADVERTISER_STATUS_SELF_SERVICE_UNAUDITED AdvertiserStatus = "STATUS_SELF_SERVICE_UNAUDITED" // 自助开户待验证资质 )
type AudienceAge ¶
type AudienceAge string
const ( AGE_BETWEEN_18_23 AudienceAge = "AGE_BETWEEN_18_23" // 18-23岁 AGE_BETWEEN_24_30 AudienceAge = "AGE_BETWEEN_24_30" // 24-30岁 AGE_BETWEEN_31_40 AudienceAge = "AGE_BETWEEN_31_40" // 31-40岁 AGE_BETWEEN_41_49 AudienceAge = "AGE_BETWEEN_41_49" // 41-49岁 AGE_ABOVE_50 AudienceAge = "AGE_ABOVE_50" // 大于等于50岁 )
type AudienceGender ¶
type AudienceGender string
const ( AudienceGender_NONE AudienceGender = "NONE" // 不限 AudienceGender_MALE AudienceGender = "GENDER_MALE" // 男 AudienceGender_FEMALE AudienceGender = "GENDER_FEMALE" // 女 )
type AudienceLevel ¶
type AudienceLevel string
类目词级别/抖音达人级别
const ( FIRST_LEVEL AudienceLevel = "FIRST_LEVEL" // 一级类目词/一级达人分类 SECOND_LEVEL AudienceLevel = "SECOND_LEVEL" // 二级类目词/二级达人分类 THIRD_LEVEL AudienceLevel = "THIRD_LEVEL" // 三级类目词/三级达人分类 FOURTH_LEVEL AudienceLevel = "FOURTH_LEVEL" // 四级类目词 KEYWORD_AWEME AudienceLevel = "KEYWORD_AWEME" // 关键词/抖音达人 )
type AudiencePlatform ¶
type AudiencePlatform string
const ( AudiencePlatform_ANDROID AudiencePlatform = "ANDROID" AudiencePlatform_IOS AudiencePlatform = "IOS" AudiencePlatform_PC AudiencePlatform = "PC" AudiencePlatform_IPAD AudiencePlatform = "IPAD" AudiencePlatform_WAP AudiencePlatform = "WAP" )
type AudienceStatIDType ¶
type AudienceStatIDType string
const ( AUDIENCE_STAT_ID_TYPE_ADVERTISER AudienceStatIDType = "AUDIENCE_STAT_ID_TYPE_ADVERTISER" AUDIENCE_STAT_ID_TYPE_CAMPAIGN AudienceStatIDType = "AUDIENCE_STAT_ID_TYPE_CAMPAIGN" AUDIENCE_STAT_ID_TYPE_AD AudienceStatIDType = "AUDIENCE_STAT_ID_TYPE_AD" AUDIENCE_STAT_ID_TYPE_CREATIVE AudienceStatIDType = "AUDIENCE_STAT_ID_TYPE_CREATIVE" )
type BudgetMode ¶
type BudgetMode string
const ( BUDGET_MODE_INFINITE BudgetMode = "BUDGET_MODE_INFINITE" // 不限 BUDGET_MODE_DAY BudgetMode = "BUDGET_MODE_DAY" // 日预算 BUDGET_MODE_TOTAL BudgetMode = "BUDGET_MODE_TOTAL" // 总预算 )
type CampaignDPA ¶
type CampaignDPA string
const ( CAMPAIGN_DPA_DEFAULT_NOT CampaignDPA = "CAMPAIGN_DPA_DEFAULT_NOT" // 非 DPA 推广目的 CAMPAIGN_DPA_SINGLE_DELIVERY CampaignDPA = "CAMPAIGN_DPA_SINGLE_DELIVERY" // DPA 推广目的,SDPA 单商品推广 CAMPAIGN_DPA_MULTI_DELIVERY CampaignDPA = "CAMPAIGN_DPA_MULTI_DELIVERY" // DPA 推广目的,DPA 商品推广 )
type CampaignStatus ¶
type CampaignStatus string
const ( CAMPAIGN_STATUS_ENABLE CampaignStatus = "CAMPAIGN_STATUS_ENABLE" // 启用 CAMPAIGN_STATUS_DISABLE CampaignStatus = "CAMPAIGN_STATUS_DISABLE" // 暂停 CAMPAIGN_STATUS_DELETE CampaignStatus = "CAMPAIGN_STATUS_DELETE" // 删除 CAMPAIGN_STATUS_ALL CampaignStatus = "CAMPAIGN_STATUS_ALL" // 所有包含已删除 CAMPAIGN_STATUS_NOT_DELETE CampaignStatus = "CAMPAIGN_STATUS_NOT_DELETE" // 所有不包含已删除(状态过滤默认值) CAMPAIGN_STATUS_ADVERTISER_BUDGET_EXCEED CampaignStatus = "CAMPAIGN_STATUS_ADVERTISER_BUDGET_EXCEED" // 超出广告主日预算 )
type CreativeDisplayMode ¶
type CreativeDisplayMode string
创意展现方式
const ( CREATIVE_DISPLAY_MODE_CTR CreativeDisplayMode = "CREATIVE_DISPLAY_MODE_CTR" // 优选(优先投放预估点击率高的创意素材) CREATIVE_DISPLAY_MODE_RANDOM CreativeDisplayMode = "CREATIVE_DISPLAY_MODE_RANDOM" // 轮播 )
type CreativeOpStatus ¶
type CreativeOpStatus string
创意操作状态
const ( CREATIVE_OP_STATUS_ENABLE CreativeOpStatus = "CREATIVE_STATUS_ENABLE" // 启用 CREATIVE_OP_STATUS_DISABLE CreativeOpStatus = "CREATIVE_STATUS_DISABLE" // 暂停 CREATIVE_OP_STATUS_DELETE CreativeOpStatus = "CREATIVE_STATUS_DELETE" // 删除 )
type CreativeStatus ¶
type CreativeStatus string
创意状态
const ( CREATIVE_STATUS_DELIVERY_OK CreativeStatus = "CREATIVE_STATUS_DELIVERY_OK" // 投放中 CREATIVE_STATUS_NOT_START CreativeStatus = "CREATIVE_STATUS_NOT_START" // 未到达投放时间 CREATIVE_STATUS_NO_SCHEDULE CreativeStatus = "CREATIVE_STATUS_NO_SCHEDULE" // 不在投放时段 CREATIVE_STATUS_DISABLE CreativeStatus = "CREATIVE_STATUS_DISABLE" // 创意暂停 CREATIVE_STATUS_CAMPAIGN_DISABLE CreativeStatus = "CREATIVE_STATUS_CAMPAIGN_DISABLE" // 已被广告组暂停 CREATIVE_STATUS_CAMPAIGN_EXCEED CreativeStatus = "CREATIVE_STATUS_CAMPAIGN_EXCEED" // 广告组超出预算 CREATIVE_STATUS_AUDIT CreativeStatus = "CREATIVE_STATUS_AUDIT" // 新建审核中 CREATIVE_STATUS_REAUDIT CreativeStatus = "CREATIVE_STATUS_REAUDIT" // 修改审核中 CREATIVE_STATUS_DELETE CreativeStatus = "CREATIVE_STATUS_DELETE" // 已删除 CREATIVE_STATUS_DONE CreativeStatus = "CREATIVE_STATUS_DONE" // 已完成(投放达到结束时间) CREATIVE_STATUS_AD_DISABLE CreativeStatus = "CREATIVE_STATUS_AD_DISABLE" // 广告计划暂停 CREATIVE_STATUS_AUDIT_DENY CreativeStatus = "CREATIVE_STATUS_AUDIT_DENY" // 审核不通过 CREATIVE_STATUS_BALANCE_EXCEED CreativeStatus = "CREATIVE_STATUS_BALANCE_EXCEED" // 账户余额不足 CREATIVE_STATUS_BUDGET_EXCEED CreativeStatus = "CREATIVE_STATUS_BUDGET_EXCEED" // 超出预算 CREATIVE_STATUS_DATA_ERROR CreativeStatus = "CREATIVE_STATUS_DATA_ERROR" // 数据错误(数据错误时返回,极少出现) CREATIVE_STATUS_PRE_ONLINE CreativeStatus = "CREATIVE_STATUS_PRE_ONLINE" // 预上线 CREATIVE_STATUS_AD_AUDIT CreativeStatus = "CREATIVE_STATUS_AD_AUDIT" // 广告计划新建审核中 CREATIVE_STATUS_AD_REAUDIT CreativeStatus = "CREATIVE_STATUS_AD_REAUDIT" // 广告计划修改审核中 CREATIVE_STATUS_AD_AUDIT_DENY CreativeStatus = "CREATIVE_STATUS_AD_AUDIT_DENY" // 广告计划审核不通过 CREATIVE_STATUS_ALL CreativeStatus = "CREATIVE_STATUS_ALL" // 所有包含已删除 CREATIVE_STATUS_NOT_DELETE CreativeStatus = "CREATIVE_STATUS_NOT_DELETE" // 所有不包含已删除(状态过滤默认值) CREATIVE_STATUS_ADVERTISER_BUDGET_EXCEED CreativeStatus = "CREATIVE_STATUS_ADVERTISER_BUDGET_EXCEED" // 超出账户日预算 )
type DeepBidType ¶
type DeepBidType string
const ( DeepBidType_DEEP_BID_DEFAULT DeepBidType = "DEEP_BID_DEFAULT" //不启用,无深度优化 DeepBidType_DEEP_BID_PACING DeepBidType = "DEEP_BID_PACING" // 自动优化(手动出价方式下) DeepBidType_DEEP_BID_MIN DeepBidType = "DEEP_BID_MIN" // 自定义双出价(手动出价方式下) DeepBidType_SMARTBID DeepBidType = "SMARTBID" // 自动优化(自动出价方式下) DeepBidType_AUTO_MIN_SECOND_STAGE DeepBidType = "AUTO_MIN_SECOND_STAGE" // 自定义双出价(自动出价方式下) DeepBidType_ROI_COEFFICIENT DeepBidType = "ROI_COEFFICIENT" // ROI系数 DeepBidType_ROI_PACING DeepBidType = "ROI_PACING" // ROI系数——自动优化 DeepBidType_MIN_SECOND_STAGE DeepBidType = "MIN_SECOND_STAGE" // 两阶段优化 DeepBidType_PACING_SECOND_STAGE DeepBidType = "PACING_SECOND_STAGE" // 动态两阶段 DeepBidType_BID_PER_ACTION DeepBidType = "BID_PER_ACTION" // 每次付费出价 )
type FlowControlMode ¶
type FlowControlMode string
const ( FLOW_CONTROL_MODE_FAST FlowControlMode = "FLOW_CONTROL_MODE_FAST" // 优先跑量(对应CPC的加速投放 FLOW_CONTROL_MODE_SMOOTH FlowControlMode = "FLOW_CONTROL_MODE_SMOOTH" // 优先低成本(对应CPC的标准投放) FLOW_CONTROL_MODE_BALANCE FlowControlMode = "FLOW_CONTROL_MODE_BALANCE" // 均衡投放(新增字段) )
type ImageMode ¶
type ImageMode string
素材类型 不符合下列素材类型尺寸比例,投放后台不显示
const ( CREATIVE_IMAGE_MODE_SMALL ImageMode = "CREATIVE_IMAGE_MODE_SMALL" // 小图,宽高比1.52,大小1.5M以下,下限:456 & 300,上限:1368 & 900 CREATIVE_IMAGE_MODE_LARGE ImageMode = "CREATIVE_IMAGE_MODE_LARGE" // 大图,横版大图宽高比1.78,大小1.5M以下,下限:1280 & 720,上限:2560 & 1440 CREATIVE_IMAGE_MODE_GROUP ImageMode = "CREATIVE_IMAGE_MODE_GROUP" // 组图,宽高比1.52,大小1.5M以下,下限:456 & 300,上限:1368 & 900 CREATIVE_IMAGE_MODE_VIDEO ImageMode = "CREATIVE_IMAGE_MODE_VIDEO" // 横版视频,封面图宽高比1.78(下限:1280 & 720,上限:2560 & 1440)),视频资源支持mp4、mpeg、3gp、avi文件格式,宽高比16:9,大小不超过1000M CREATIVE_IMAGE_MODE_GIF ImageMode = "CREATIVE_IMAGE_MODE_GIF" // GIF图,宽高比(690, 388),大小不超过1.5M CREATIVE_IMAGE_MODE_LARGE_VERTICAL ImageMode = "CREATIVE_IMAGE_MODE_LARGE_VERTICAL" // 大图竖图,宽高比0.56,大小1.5M以下,下限:720 & 1280,上限:1440 & 2560 CREATIVE_IMAGE_MODE_VIDEO_VERTICAL ImageMode = "CREATIVE_IMAGE_MODE_VIDEO_VERTICAL" // 竖版视频,封面图宽高比0.56(9:16),下限:720 & 1280,上限:1440 & 2560,视频资源支持mp4、mpeg、3gp、avi文件格式,大小不超过100M TOUTIAO_SEARCH_AD_IMAGE ImageMode = "TOUTIAO_SEARCH_AD_IMAGE" // 搜索大图; 仅限搜索广告使用,下限:345 & 138,上限:690 & 276 SEARCH_AD_SMALL_IMAGE ImageMode = "SEARCH_AD_SMALL_IMAGE" // 搜索小图; 仅限搜索广告使用,下限:108 & 72,上限:432 & 288 CREATIVE_IMAGE_MODE_UNION_SPLASH ImageMode = "CREATIVE_IMAGE_MODE_UNION_SPLASH" // 穿山甲开屏图片; 仅限穿山甲开屏使用,下限:1080 & 1920,上限:2160 & 3840,比例0.56 CREATIVE_IMAGE_MODE_UNION_SPLASH_VIDEO ImageMode = "CREATIVE_IMAGE_MODE_UNION_SPLASH_VIDEO" // 穿山甲开屏视频; 仅限穿山甲开屏使用,宽高比(0.56,9:16),视频码率≥516kbps,大小≤100M,分辨率≥720*1280,1s<时长<6s CREATIVE_IMAGE_MODE_DISPLAY_WINDOW ImageMode = "CREATIVE_IMAGE_MODE_DISPLAY_WINDOW" // 搜索橱窗,宽高比1,下限:109 & 109,上限:109 & 109 MATERIAL_IMAGE_MODE_TITLE ImageMode = "MATERIAL_IMAGE_MODE_TITLE" // 标题类型,非创意的素材类型,仅报表接口会区分此素材类型 CREATIVE_IMAGE_MODE_AWEME_LIVE ImageMode = "CREATIVE_IMAGE_MODE_AWEME_LIVE" // 直播画面类型 )
type InterestActionType ¶
type InterestActionType string
行为兴趣类型
const ( ACTION InterestActionType = "ACTION" // 行为 INTEREST InterestActionType = "INTEREST" // 兴趣 )
type LandingType ¶
type LandingType string
推广目的类型
const ( LINK LandingType = "LINK" // 销售线索收集 APP LandingType = "APP" // 应用推广 DPA LandingType = "DPA" // 商品目录推广 GOODS LandingType = "GOODS" // 商品推广(鲁班) STORE LandingType = "STORE" // 门店推广 AWEME LandingType = "AWEME" // 抖音号推广 SHOP LandingType = "SHOP" // 电商店铺推广 ARTICLE LandingType = "ARTICLE" // 头条文章推广,目前API暂不支持该推广目的的设定,可在平台侧选择该推广目的类型 )
type PlayableOrientation ¶
type PlayableOrientation string
试玩素材方向
const ( ORIENTATION_BOTH PlayableOrientation = "BOTH" // 横竖屏均适配 ORIENTATION_PORTRAIT PlayableOrientation = "PORTRAIT" // 只适配竖屏 ORIENTATION_VALIDATE_SUCCESS PlayableOrientation = "VALIDATE_SUCCESS" // 校验通过 ORIENTATION_LANDSCAPE PlayableOrientation = "LANDSCAPE" // 只适配横屏 )
type PricingType ¶
type PricingType string
计划出价类型
const ( PRICING_CPC PricingType = "PRICING_CPC" // CPC(点击付费),出价范围(单位元):0.2-100; 日预算范围(单位元):大于100;总预算范围:大于最低日预算乘投放天数 PRICING_CPM PricingType = "PRICING_CPM" // CPM(展示付费),出价范围(单位元): 4-100; 日预算范围(单位元):大于100; 总预算范围:大于最低日预算乘投放天数 PRICING_OCPC PricingType = "PRICING_OCPC" // OCPC(已下线,仅投放范围为穿山甲可用) PRICING_OCPM PricingType = "PRICING_OCPM" // OCPM(转化量付费),出价范围(单位元):0.1-10000; 日预算范围(单位元):大于300;总预算范围:大于最低日预算乘投放天数 PRICING_CPV PricingType = "PRICING_CPV" // CPV ,出价范围(单位元):0.07-100; 日预算范围(单位元):大于100; 总预算范围:大于最低日预算乘投放天数; (CPV广告只支持投放到头条系广告位,不支持投放到视频信息流如西瓜、火山、抖音) PRICING_CPA PricingType = "PRICING_CPA" // CPA(已下线,不支持进行出价方式为CPA的投放行为) )
type ScheduleType ¶
type ScheduleType string
计划投放时间类型
const ( SCHEDULE_FROM_NOW ScheduleType = "SCHEDULE_FROM_NOW" // 从现在开始一直投放 SCHEDULE_START_END ScheduleType = "SCHEDULE_START_END" // 选择起始时间 )
type SmartBidType ¶
type SmartBidType string
const ( SMART_BID_CUSTOM SmartBidType = "SMART_BID_CUSTOM" // 手动出价,即不使用自动出价 SMART_BID_CONSERVATIVE SmartBidType = "SMART_BID_CONSERVATIVE" // 自动出价 )
type StatGroupBy ¶
type StatGroupBy string
分组条件
const ( STAT_GROUP_BY_FIELD_ID StatGroupBy = "STAT_GROUP_BY_FIELD_ID" // ID 类型-按照 ID 分组 STAT_GROUP_BY_ADVERTISER_ID StatGroupBy = "STAT_GROUP_BY_ADVERTISER_ID" // ID 类型-按照广告主分组 STAT_GROUP_BY_CAMPAIGN_ID StatGroupBy = "STAT_GROUP_BY_CAMPAIGN_ID" // ID 类型-按照广告组分组 STAT_GROUP_BY_AD_ID StatGroupBy = "STAT_GROUP_BY_AD_ID" // ID 类型-按照广告计划分组 STAT_GROUP_BY_CREATIVE_ID StatGroupBy = "STAT_GROUP_BY_CREATIVE_ID" // ID 类型-按照创意分组 STAT_GROUP_BY_FIELD_STAT_TIME StatGroupBy = "STAT_GROUP_BY_FIELD_STAT_TIME" // 时间类型-按照时间分组 STAT_GROUP_BY_TIME_MONTH StatGroupBy = "STAT_GROUP_BY_TIME_MONTH" // 时间类型-按照月分组 STAT_GROUP_BY_TIME_WEEK StatGroupBy = "STAT_GROUP_BY_TIME_WEEK" // 时间类型-按照周分组 STAT_GROUP_BY_TIME_DAY StatGroupBy = "STAT_GROUP_BY_TIME_DAY" // 时间类型-按照天分组 STAT_GROUP_BY_TIME_HOUR StatGroupBy = "STAT_GROUP_BY_TIME_HOUR" // 时间类型-按照小时分组 STAT_GROUP_BY_PRICING StatGroupBy = "STAT_GROUP_BY_PRICING" // 细分基础类型-按照出价类型分组 STAT_GROUP_BY_IMAGE_MODE StatGroupBy = "STAT_GROUP_BY_IMAGE_MODE" // 细分基础类型-按照素材类型分组 STAT_GROUP_BY_INVENTORY StatGroupBy = "STAT_GROUP_BY_INVENTORY" // 细分基础类型-按照投放位置分组 STAT_GROUP_BY_CAMPAIGN_TYPE StatGroupBy = "STAT_GROUP_BY_CAMPAIGN_TYPE" // 细分基础类型-按照广告组类型分组 STAT_GROUP_BY_CREATIVE_MATERIAL_MODE StatGroupBy = "STAT_GROUP_BY_CREATIVE_MATERIAL_MODE" // 细分基础类型-按照创意类型分组 STAT_GROUP_BY_EXTERNAL_ACTION StatGroupBy = "STAT_GROUP_BY_EXTERNAL_ACTION" // 细分基础类型-按照转化类型分组 STAT_GROUP_BY_LANDING_TYPE StatGroupBy = "STAT_GROUP_BY_LANDING_TYPE" // 细分基础类型-按照推广类型分组 STAT_GROUP_BY_PRICING_CATEGORY StatGroupBy = "STAT_GROUP_BY_PRICING_CATEGORY" // 细分基础类型-按照广告类型分组 STAT_GROUP_BY_PROVINCE_NAME StatGroupBy = "STAT_GROUP_BY_PROVINCE_NAME" // 细分受众类型-按照省份分组 STAT_GROUP_BY_CITY_NAME StatGroupBy = "STAT_GROUP_BY_CITY_NAME" // 细分受众类型-按照城市分组 STAT_GROUP_BY_GENDER StatGroupBy = "STAT_GROUP_BY_GENDER" // 细分受众类型-按照性别分组 STAT_GROUP_BY_AGE StatGroupBy = "STAT_GROUP_BY_AGE" // 细分受众类型-按照年龄分组 STAT_GROUP_BY_PLATFORM StatGroupBy = "STAT_GROUP_BY_PLATFORM" // 细分受众类型-按照平台分组 STAT_GROUP_BY_AC StatGroupBy = "STAT_GROUP_BY_AC" // 细分受众类型-按照网络类型分组 STAT_GROUP_BY_AD_TAG StatGroupBy = "STAT_GROUP_BY_AD_TAG" // 细分受众类型-按照兴趣分类分组 STAT_GROUP_BY_INTEREST_TAG StatGroupBy = "STAT_GROUP_BY_INTEREST_TAG" // 细分受众类型-按照兴趣标签分组 STAT_GROUP_BY_BIDWORD_ID StatGroupBy = "STAT_GROUP_BY_BIDWORD_ID" // 关键词词类型-按照关键词分组 STAT_GROUP_BY_QUERY StatGroupBy = "STAT_GROUP_BY_QUERY" // 关键词词类型-按照搜索词分组 STAT_GROUP_BY_PRODUCT_ID StatGroupBy = "STAT_GROUP_BY_PRODUCT_ID" // DPA 类型-按照商品 ID 分组 STAT_GROUP_BY_PRODUCT_PLATFORM_ID StatGroupBy = "STAT_GROUP_BY_PRODUCT_PLATFORM_ID" // DPA 类型-按照商品库 ID 分组 STAT_GROUP_BY_MATERIAL_ID StatGroupBy = "STAT_GROUP_BY_MATERIAL_ID" // 素材类型-按照素材 ID 分组 STAT_GROUP_BY_PLAYABLE_ID StatGroupBy = "STAT_GROUP_BY_PLAYABLE_ID" // 素材类型-按照试玩素材 ID 分组 )
type StatInventoryType ¶
type StatInventoryType string
投放位置 (INVENTORY_BEAUTY/INVENTORY_PIPIXIA/INVENTORY_AUTOMOBILE/INVENTORY_STUDY/INVENTORY_FACE_U枚举值仅在报表接口可用) 信息流(INVENTORY_FEED)与详情页(INVENTORY_TEXT_LINK)合并为头条系(依然使用INVENTORY_FEED字段,名称更改为头条系)
const ( INVENTORY_FEED StatInventoryType = "INVENTORY_FEED" // 头条信息流(广告投放) INVENTORY_TEXT_LINK StatInventoryType = "INVENTORY_TEXT_LINK" // 头条文章详情页(已废弃) INVENTORY_VIDEO_FEED StatInventoryType = "INVENTORY_VIDEO_FEED" // 西瓜信息流(广告投放) INVENTORY_HOTSOON_FEED StatInventoryType = "INVENTORY_HOTSOON_FEED" // 火山信息流(广告投放) INVENTORY_AWEME_FEED StatInventoryType = "INVENTORY_AWEME_FEED" // 抖音信息流(广告投放) INVENTORY_UNION_SLOT StatInventoryType = "INVENTORY_UNION_SLOT" // 穿山甲(广告投放) UNION_BOUTIQUE_GAME StatInventoryType = "UNION_BOUTIQUE_GAME" // 穿山甲精选休闲游戏(广告投放) INVENTORY_UNION_SPLASH_SLOT StatInventoryType = "INVENTORY_UNION_SPLASH_SLOT" // 穿山甲开屏广告(广告投放) INVENTORY_AWEME_SEARCH StatInventoryType = "INVENTORY_AWEME_SEARCH" // 搜索广告——抖音位(广告投放) INVENTORY_SEARCH StatInventoryType = "INVENTORY_SEARCH" // 搜索广告——头条位(广告投放) INVENTORY_UNIVERSAL StatInventoryType = "INVENTORY_UNIVERSAL" // 通投智选(广告投放) INVENTORY_BEAUTY StatInventoryType = "INVENTORY_BEAUTY" // 轻颜相机 INVENTORY_PIPIXIA StatInventoryType = "INVENTORY_PIPIXIA" // 皮皮虾 INVENTORY_AUTOMOBILE StatInventoryType = "INVENTORY_AUTOMOBILE" // 懂车帝 INVENTORY_STUDY StatInventoryType = "INVENTORY_STUDY" // 好好学习 INVENTORY_FACE_U StatInventoryType = "INVENTORY_FACE_U" // faceu )
type StatTimeGranularity ¶
type StatTimeGranularity string
时间粒度
const ( STAT_TIME_GRANULARITY_DAILY StatTimeGranularity = "STAT_TIME_GRANULARITY_DAILY" // 按天维度 STAT_TIME_GRANULARITY_HOURLY StatTimeGranularity = "STAT_TIME_GRANULARITY_HOURLY" // 按小时维度 STAT_TIME_GRANULARITY_WEEK StatTimeGranularity = "STAT_TIME_GRANULARITY_WEEK" // 按星期粒度 STAT_TIME_GRANULARITY_MONTH StatTimeGranularity = "STAT_TIME_GRANULARITY_MONTH" // 按月粒度 )
type SuperiorPopularityType ¶
type SuperiorPopularityType string
const ( SuperiorPopularityType_NONE SuperiorPopularityType = "NONE" // 不限 SuperiorPopularityType_GAME SuperiorPopularityType = "GAME" // 游戏优质媒体 )
type TrackEventType ¶
type TrackEventType = int
const ( Track_ACTIVE TrackEventType = 0 // 激活;用户下载安装完毕应用之后,在联网环境下打开应用 Track_REGISTER TrackEventType = 1 // 注册; 完成应用下载并且在联网环境打开应用后,完成个人账号/游戏角色注册信息提交 Track_PAY TrackEventType = 2 // 付费; 用户在推广的落地页场景下发生交易并完成至少一笔付款,具体支付形式取决于广告主业务模式 Track_FORM TrackEventType = 3 // 表单; 页面内完成表单填写并提交 Track_CONSULT TrackEventType = 4 // 在线咨询; 用户点击在线咨询按钮 Track_CONSULT_EFFECTIVE TrackEventType = 5 // 有效咨询; 点击页面“在线咨询”,且在咨询对话框中内容达到≥1条以上对话记录的,记录一次转化。广告主可自定义有效的标准。 Track_NEXT_DAY_ACTIVE TrackEventType = 6 // 次留; 用户激活后次日联网环境下打开应用; // 关键页面浏览 Track_VIEW_CONTENT TrackEventType = 7 Track_LEADS TrackEventType = 19 // 有效获客; 用户完成了一次有价值的动作,如预约到店,完成授权等,支持广告主根据业务场景自定义 Track_IN_APP_PURCHASE TrackEventType = 20 // app内下单; 在应用内完成一次订单提交,例如:点击“立即下单” Track_IN_APP_VISIT TrackEventType = 21 // app内访问;用户成功打开访问应用 Track_IN_APP_CART TrackEventType = 22 // app内添加购物车; 在应用内成功将商品加入购物车,例如:点击“加入购物车” Track_IN_APP_PAY TrackEventType = 23 // app内付费; 在应用内完成一次订单付费。目前主要是电商行业使用,常规建议使用付费事件 Track_KEY_ACTION TrackEventType = 25 // 关键行为; 用户在应用内发生的关键行为/行为集合,若是关键行为集合一般是有关联的行为路径。(举例:某直播类客户以注册+发送弹幕作为关键行为转化目标,电商用注册+收藏商品+加入购物车+下单等) Track_AUTHORIZE TrackEventType = 28 // 授权; 完成授权电商/支付/社交等账号登陆 Track_IN_APP_KEY_PAGEVIEW TrackEventType = 29 // app内详情页到站uv; 成功访问应用内指定页面的UV数 Track_CLICK_PRODUCT TrackEventType = 179 // 点击商品; 从多商品页点击某一商品,进入商品详情页,例如:点击某一商品,表达兴趣 Track_WISHLIST TrackEventType = 128 // 加入收藏/心愿单 Track_COUPON TrackEventType = 213 // 领取优惠券 Track_PURCHASE TrackEventType = 175 // 立即购买 Track_ADD_RECEIVER TrackEventType = 212 // 添加/选定收货信息、电话 Track_ADD_PAYMENT TrackEventType = 127 // 添加/选定支付信息,绑定支付宝、微信、银行卡等 Track_CONFIRM_ORDER TrackEventType = 176 // 提交订单 Track_CONFIRM_RECEIVE TrackEventType = 214 // 订单提交/确认收货 Track_ENTER_LIVE_ROOM TrackEventType = 202 // 进入直播间 Track_FOLLOW_LIVE_ROOM TrackEventType = 204 // 直播间内点击关注按钮; 点击关注/收藏直播间 Track_COMMENT_LIVE_ROOM TrackEventType = 205 // 直播间内评论 Track_GIFT_LIVE_ROOM TrackEventType = 206 // 直播间内打赏 Track_CLICK_CART_LIVE_ROOM TrackEventType = 207 // 直播间内点击购物车按钮 Track_PRODUCT_LIVE_ROOM TrackEventType = 208 // 直播间内商品点击 Track_REDIRECT_LIVE_ROOM TrackEventType = 209 // 直播间进入种草页跳转到第三方 Track_ADD_CART_LIVE_ROOM TrackEventType = 210 // 直播-加购; 由直播间路径加购 Track_PURCHASE_LIVE_ROOM TrackEventType = 211 // 直播-下单; 由直播间路径下单 Track_INFO_CONFIRM TrackEventType = 194 // 回访_信息确认; 线索经联系确认是本人提交的信息,或者是本人有初步意向了解 Track_ADD_CONTACT TrackEventType = 195 // 回访_加为好友; 线索和销售建立了交流,比如互加好友,建立联系,可以持续跟进 Track_POTENTIAL_CUSTOMER TrackEventType = 196 // 回访_高潜成交; 线索有较强意向成交或者处于成交流程,尚未完结 Track_PAY_POTENTIAL TrackEventType = 218 // 支付_存在意向; 在表单提交成功(获取用户手机号)之后在落地页的支付行为-支付成功 )
type TrackMatchType ¶
type TrackMatchType = int
const ( Track_CLICK TrackMatchType = 0 Track_IMPRESSION TrackMatchType = 1 Track_VALID_IMPRESSION TrackMatchType = 2 )
type TransactionType ¶
type TransactionType string
const ( RECHARGE TransactionType = "RECHARGE" // 充值 TRANSFER TransactionType = "TRANSFER" // 转账 )
type UnionVideoType ¶
type UnionVideoType string
const ( UnionVideoType_ORIGINAL_VIDEO UnionVideoType = "ORIGINAL_VIDEO" // 原生视频 UnionVideoType_REWARDED_VIDEO UnionVideoType = "REWARDED_VIDEO" // 激励视频 UnionVideoType_SPLASH_VIDEO UnionVideoType = "SPLASH_VIDEO" // 穿山甲开屏 )
Source Files ¶
- account_role.go
- account_soruce.go
- account_status.go
- action_scene.go
- activate_type.go
- ad_delivery_range.go
- ad_opt_status.go
- ad_status.go
- advertiser_role.go
- advertiser_status.go
- audience_age.go
- audience_gender.go
- audience_level.go
- audience_platform.go
- audience_stat_id_type.go
- behavior.go
- budget_mode.go
- campaign_dpa.go
- campaign_status.go
- carrier.go
- creative_display_mode.go
- creative_op_status.go
- creative_status.go
- deep_bid_type.go
- flow_control_mode.go
- image_mode.go
- interest_action_type.go
- landing_type.go
- order_type.go
- playable_orientation.go
- pricing_type.go
- schedule_type.go
- smart_bid_type.go
- stat_group_by_field.go
- stat_inventory_type.go
- stat_time_granularity.go
- superior_popularity_type.go
- track_event_type.go
- track_match_type.go
- track_os.go
- transaction_type.go
- union_video_type.go
Click to show internal directories.
Click to hide internal directories.