app

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppBindItem

type AppBindItem struct {
	// CampaignId 推广计划id
	CampaignId int `json:"campaignId,omitempty"`
	// AdgroupId 推广单元id
	AdgroupId int `json:"adgroupId,omitempty"`
	// Name app名称
	Name string `json:"name,omitempty"`
	// Version app版本
	Version string `json:"version,omitempty"`
	// Platform app操作系统
	Platform int `json:"platform,omitempty"`
	// CbindId 绑定关系id
	CbindId int `json:"cbindId,omitempty"`
	// ChannelPackage app渠道包名称
	ChannelPackage string `json:"channelPackage,omitempty"`
	// Status 状态
	Status int `json:"status,omitempty"`
	// BidRatio 动态溢价系数
	BidRatio float64 `json:"bidRatio,omitempty"`
	// AppSource app来源
	AppSource int `json:"appSource,omitempty"`
	// ChannelId Android包唯一标识
	ChannelId int64 `json:"channelId,omitempty"`
	// AppStoreId IOS包唯一标识
	AppStoreId int64 `json:"appStoreId,omitempty"`
	// PackageName app包名
	PackageName string `json:"packageName,omitempty"`
}

AppBindItem APP绑定对象

type AppInfoItem

type AppInfoItem struct {
	// Name app名称
	Name string `json:"name,omitempty"`
	// Version app版本
	Version string `json:"version,omitempty"`
	// Platform app操作系统
	Platform int `json:"platform,omitempty"`
	// VersionId app版本Id
	VersionId int `json:"versionId,omitempty"`
	// AppId app唯一标识
	AppId int `json:"appId,omitempty"`
	// PackageName app包名
	PackageName string `json:"packageName,omitempty"`
	// Status app状态
	Status int `json:"status,omitempty"`
	// AppSource app来源
	AppSource int `json:"appSource,omitempty"`
	// ChannelId Android包唯一标识
	ChannelId int `json:"channelId,omitempty"`
	// AppStoreId IOS包唯一标识
	AppStoreId int `json:"appStoreId,omitempty"`
	// Icon app图标
	Icon string `json:"icon,omitempty"`
	// DownloadUrl app下载地址
	DownloadUrl string `json:"downloadUrl,omitempty"`
	// ChannelName app渠道包名称
	ChannelName string `json:"channelName,omitempty"`
}

AppInfoItem APP对象

type AppInfoItemList

type AppInfoItemList struct {
	AppInfoList []AppInfoItem `json:"appInfoList,omitempty"`
	TotalCount  int           `json:"totalCount,omitempty"`
}

type GetAdgroupAppBindRequest

type GetAdgroupAppBindRequest struct {
	// IDType 查询id的层级
	IdType int `json:"idType,omitempty"`
	// Ids id列表
	Ids []int64 `json:"ids,omitempty"`
	// Name app名称
	Name string `json:"name,omitempty"`
	// Platform app操作系统
	Platform []int `json:"platform,omitempty"`
	// Status 状态
	Status []int `json:"status,omitempty"`
	// OrderBy 排序字段, 默认修改时间排序,支持platform,status
	OrderBy string `json:"orderBy,omitempty"`
	// Desc 是否降序
	Desc bool `json:"desc,omitempty"`
	// Limit 分页信息,第一个参数偏移量,第二个参数是页面大小
	Limit []int `json:"limit,omitempty"`
}

GetAdgroupAppBindRequest 查询APP绑定

func (GetAdgroupAppBindRequest) Url

type GetAdgroupAppBindResponse

type GetAdgroupAppBindResponse struct {
	Data []AppBindItem `json:"data,omitempty"`
}

GetAdgroupAppBindResponse 查询APP绑定 API Response

type GetAppListRequest

type GetAppListRequest struct {
	// Platforms app操作系统
	Platforms []int `json:"platforms,omitempty"`
	// Limit 分页信息,第一个参数偏移量,第二个参数是页面大小
	Limit []int `json:"limit,omitempty"`
}

GetAppListRequest 获取APP素材 API Request

func (GetAppListRequest) Url

func (r GetAppListRequest) Url() string

type GetAppListResponse

type GetAppListResponse struct {
	Data []AppInfoItemList `json:"data,omitempty"`
}

GetAppListResponse 获取APP素材 API Response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL