dmp

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

DMP API model

https://open.taobao.com/API.htm?docId=23625&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DmpCrowdDto added in v1.2.0

type DmpCrowdDto struct {
	// 过期时间
	ValidDate string `json:"valid_date,omitempty" xml:"valid_date,omitempty"`
	// 用户ID
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 人群名称
	CrowdName string `json:"crowd_name,omitempty" xml:"crowd_name,omitempty"`
	// 选项
	Selects []DmpSelectTagOptionDto `json:"selects,omitempty" xml:"selects>dmp_select_tag_option_dto,omitempty"`
	// 覆盖人数
	Coverage int64 `json:"coverage,omitempty" xml:"coverage,omitempty"`
	// 人群ID
	CrowdId int64 `json:"crowd_id,omitempty" xml:"crowd_id,omitempty"`
	// 放大倍数
	LookalikeMultiple int64 `json:"lookalike_multiple,omitempty" xml:"lookalike_multiple,omitempty"`
}

DmpCrowdDto

type DmpSelectTagOptionDto added in v1.2.0

type DmpSelectTagOptionDto struct {
	// 标签选项的提交值
	Values string `json:"values,omitempty" xml:"values,omitempty"`
	// 分组id,在标签获取的接口中会返回
	OptionGroupId int64 `json:"option_group_id,omitempty" xml:"option_group_id,omitempty"`
	// 标签ID
	TagId int64 `json:"tag_id,omitempty" xml:"tag_id,omitempty"`
}

DmpSelectTagOptionDto

type TaobaoDmpCrowdsGetAPIRequest added in v1.2.0

type TaobaoDmpCrowdsGetAPIRequest struct {
	model.Params
}

查询人群服务 API请求 taobao.dmp.crowds.get

查询人群服务

func NewTaobaoDmpCrowdsGetRequest

func NewTaobaoDmpCrowdsGetRequest() *TaobaoDmpCrowdsGetAPIRequest

初始化TaobaoDmpCrowdsGetAPIRequest对象

func (TaobaoDmpCrowdsGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoDmpCrowdsGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoDmpCrowdsGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoDmpCrowdsGetAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

type TaobaoDmpCrowdsGetAPIResponse

type TaobaoDmpCrowdsGetAPIResponse struct {
	model.CommonResponse
	TaobaoDmpCrowdsGetAPIResponseModel
}

查询人群服务 API返回值 taobao.dmp.crowds.get

查询人群服务

type TaobaoDmpCrowdsGetAPIResponseModel added in v1.2.0

type TaobaoDmpCrowdsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"dmp_crowds_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 1
	Results []DmpCrowdDto `json:"results,omitempty" xml:"results>dmp_crowd_dto,omitempty"`
}

查询人群服务 成功返回结果

Jump to

Keyboard shortcuts

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