adpreview

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package adpreview 广告预览相关API models

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDType

type IDType string

IDType 查询条件

const (
	// ID_TYPE_AD 按广告计划ID搜索
	ID_TYPE_AD IDType = "ID_TYPE_AD"
	// ID_TYPE_CREATIVE 按广告创意的ID搜索
	ID_TYPE_CREATIVE IDType = "ID_TYPE_CREATIVE"
)

type QrcodeGetRequest

type QrcodeGetRequest struct {
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// IDType 查询条件
	IDType IDType `json:"id_type,omitempty"`
	// ID 广告计划或者广告创意的ID,根据id_type进行相应id的填写
	ID uint64 `json:"id,omitempty"`
}

QrcodeGetRequest 获取广告预览二维码

func (QrcodeGetRequest) Encode

func (r QrcodeGetRequest) Encode() string

Encode implement GetRequest interface

type QrcodeGetResponse

type QrcodeGetResponse struct {
	model.BaseResponse
	// Data json返回值
	Data *QrcodeGetResponseData `json:"data,omitempty"`
}

QrcodeGetResponse 获取广告预览二维码

type QrcodeGetResponseData

type QrcodeGetResponseData struct {
	// AdvertiserID 广告主id
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// IDType 查询条件
	IDType IDType `json:"id_type,omitempty"`
	// ID 广告计划或者广告创意的ID,根据id_type进行相应id的填写
	ID uint64 `json:"id,omitempty"`
	// QrcodeMsgURL 广告预览的二维码信息url
	QrcodeMsgURL string `json:"qrcode_msg_url,omitempty"`
}

QrcodeGetResponseData json返回值

Directories

Path Synopsis
Package v3 广告升级版预览相关API models
Package v3 广告升级版预览相关API models

Jump to

Keyboard shortcuts

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