Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApprovalRoleType ¶ added in v1.0.2
type ApprovalRoleType int
ApprovalRoleType 授权账号类型
const ( // ApprovalRoleType_BRAND 品牌 ApprovalRoleType_BRAND ApprovalRoleType = 4 // ApprovalRoleType_AGENCY 代理商 ApprovalRoleType_AGENCY ApprovalRoleType = 601 )
type CrowdActionType ¶ added in v1.0.2
type CrowdActionType string
CrowdActionType 行为类型
const ( CrowdActionType_IMP CrowdActionType = "imp" CrowdActionType_READ CrowdActionType = "read" )
type DeveloperRoleType ¶ added in v1.0.2
type DeveloperRoleType int
DeveloperRoleType 应用角色类型
const ( // DeveloperRoleType_BRAND 品牌开发者 DeveloperRoleType_BRAND DeveloperRoleType = 1 // DeveloperRoleType_AGENCY 代理商开发者, DeveloperRoleType_AGENCY DeveloperRoleType = 2 // DeveloperRoleType_SERVICE_PROVIDER 服务商开发者 DeveloperRoleType_SERVICE_PROVIDER DeveloperRoleType = 3 )
type EventType ¶
type EventType int
EventType 事件枚举
const ( // EventType_UNKNOWN 未知事件 EventType_UNKNOWN EventType = 0 // EventType_ORDER 商品成交 EventType_ORDER EventType = 1 // EventType_PAGE_VIEW 中间页曝光 EventType_PAGE_VIEW EventType = 2 // EventType_PAGE_CLICK 中间页点击 EventType_PAGE_CLICK EventType = 3 // EventType_FORM_SUBMIT 表单提交; 用户在页面内完成表单填写并提交,可以作为优化目标 EventType_FORM_SUBMIT EventType = 101 // EventType_FORM_EFFICIENT 有效表单; 提交线索的用户进一步完成了一次有价值的行为,具体行为取决于广告主业务模式,如预约到店等 EventType_FORM_EFFICIENT EventType = 102 // EventType_PHONE_CALL 电话拨打; 用户点击给商家拨打电话,可以作为优化目标 EventType_PHONE_CALL EventType = 103 // EventType_PHONE_EFFECIENT 电话接通; 商家给用户拨打电话,可接通 EventType_PHONE_EFFECIENT EventType = 104 // EventType_WECHAT_COPY 微信复制; 用户完成个人或公众号微信复制行为,引导用户微信加粉,可以作为优化目标 EventType_WECHAT_COPY EventType = 121 // EventType_WECHAT_FOLLOW 微信加好友; 用户完成个人或公众号微信加粉 EventType_WECHAT_FOLLOW EventType = 122 // EventType_REGISTER 注册 EventType_REGISTER EventType = 123 // EventType_WECHAT_MINIAPP 微信小程序访问 EventType_WECHAT_MINIAPP EventType = 124 // EventType_IDCERT 身份认证; 用户完成身份认证,比如金融类可能会用身份证号、人脸识别做身份认证 EventType_IDCERT EventType = 131 // EventType_PURCHASE 付费; 用户完成商品购买行为,可以作为优化目标 EventType_PURCHASE EventType = 141 // EventType_NEGATIVE 负向样本; 不可直接作为广告的优化目标使用,但回传后将有利于优化整体广告效果 EventType_NEGATIVE EventType = 200 // EventType_APP_OPEN APP打开; APP端内口令码搜索 EventType_APP_OPEN EventType = 401 // EventType_APP_ENTER_SHOP APP进店; 平台客户内店铺详情页浏览量 EventType_APP_ENTER_SHOP EventType = 402 // EventType_APP_INTERACT APP互动; 店铺内产生互动行为(用户明确表达转化意愿) EventType_APP_INTERACT EventType = 403 // EventType_APP_PAY APP支付; 线上订单付款成功 EventType_APP_PAY EventType = 404 )
type KeywordGenType ¶ added in v1.0.2
type KeywordGenType int
KeywordGenType 单元选词方式
const ( // KeywordGenType_UNSPECIFIED 无意义默认值 KeywordGenType_UNSPECIFIED KeywordGenType = -1 // KeywordGenType_MANUAL 手动选词 KeywordGenType_MANUAL KeywordGenType = 0 // KeywordGenType_INTELLIGENT 智能拓词 KeywordGenType_INTELLIGENT KeywordGenType = 1 // KeywordGenType_MANUAL_INTELLIGENT 手动+智能 KeywordGenType_MANUAL_INTELLIGENT KeywordGenType = 2 )
type KeywordTargetAction ¶ added in v1.0.2
type KeywordTargetAction int
KeywordTargetAction 关键词定向行为
const ( // KeywordTargetAction_SEARCH 搜索 KeywordTargetAction_SEARCH KeywordTargetAction = 1 // KeywordTargetAction_INTERACTIVE 互动 KeywordTargetAction_INTERACTIVE KeywordTargetAction = 2 // KeywordTargetAction_READ 阅读 KeywordTargetAction_READ KeywordTargetAction = 3 )
type LandingPageType ¶ added in v1.0.2
type LandingPageType int
LandingPageType 落地页链接类型
const ( // LandingPageTYpe_UNSPECIFIED 默认值,无实际意义 LandingPageType_UNSPECIFIED LandingPageType = 0 // LandingPageType_FORM 表单 LandingPageType_FORM LandingPageType = 1 // LandingPageType_LINK 外跳链接 LandingPageType_LINK LandingPageType = 2 )
type OAuthScope ¶ added in v1.0.2
type OAuthScope string
OAuthScope 权限
const ( // OAuthScope_REPORT_SERVICE 获取广告账户报表信息) 需要在授权 URL 的 scope 参数上添加 report_service,进行授权后才能访问获取广告账户报表信息的接口。 OAuthScope_REPORT_SERVICE OAuthScope = "report_service" // OAuthScope_AD_QUERY 获取广告计划、广告组、广告创意信息) 需要在授权 URL 的 scope 参数上添加 ad_query 进行授权后才能访问查询广告的接口。 OAuthScope_AD_QUERY OAuthScope = "ad_query" // OAuthScope_AD_MANAGE (创建&修改广告计划、广告组、广告创意) 需要在授权 URL 的 scope 参数上添加 ad_manage 进行授权后才能访问搭建广告的接口。 OAuthScope_AD_MANAGE OAuthScope = "ad_manage" )
type PhraseMatchType ¶ added in v1.0.2
type PhraseMatchType int
PhraseMatchType 匹配方式
const ( // PraseMatchType_EXACT 精确匹配 PhraseMatchType_EXACT PhraseMatchType = 0 // PhraseMatchType_PHRASE 短语匹配 PhraseMatchType_PHRASE PhraseMatchType = 1 // PhraseMatchType_SMART 智能匹配 PhraseMatchType_SMART PhraseMatchType = 2 )
type PlatformType ¶ added in v1.0.2
type PlatformType int
PlatformType 平台类型,1:聚光,2:蒲公英
const ( // PlatformType_SPOTLIGHT 聚光 PlatformType_SPOTLIGHT PlatformType = 1 // PlatformType_DANDELION 蒲公英 PlatformType_DANDELION PlatformType = 2 )
type TargetDevice ¶ added in v1.0.2
type TargetDevice string
TargetDevice 定向设备
const ( // TargetDevice_IOS ios TargetDevice_IOS TargetDevice = "ios" // TargetDevice_ANDROID android TargetDevice_ANDROID TargetDevice = "android" // TargetDevice_ALL all TargetDevice_ALL TargetDevice = "all" )
type TargetGender ¶ added in v1.0.2
type TargetGender string
TargetGender 定向性别
const ( // TargetGender_ALL 全部 TargetGender_ALL TargetGender = "all" // TargetGender_MALE 男 TargetGender_MALE TargetGender = "0" // TargetGender_FEMALE 女 TargetGender_FEMALE TargetGender = "1" )
type UnitTargetType ¶ added in v1.0.2
type UnitTargetType int
UnitTargetType 定向类型
const ( // UnitTargetType_UNIVERSAL 通投 UnitTargetType_UNIVERSAL UnitTargetType = 1 // UnitTargetType_INTELLIGENT 智能定向 UnitTargetType_INTELLIGENT UnitTargetType = 2 // UnitTargetType_ADVANCED 高级定向 UnitTargetType_ADVANCED UnitTargetType = 3 )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.