native

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package native 原生广告投放工具

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenAccountNativeRequest

type OpenAccountNativeRequest struct {
	// AdvertiserID 广告主 ID
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// OpenAccountNative 开启/关闭原生扩量开关
	// 1开启 0关闭
	OpenAccountNative int `json:"open_account_native"`
}

OpenAccountNativeRequest 开启原生扩量开关 API Request

func (OpenAccountNativeRequest) Encode

func (r OpenAccountNativeRequest) Encode() []byte

Encode implement PostRequest interface

func (OpenAccountNativeRequest) Url

Url implement PostRequest interface

type OpenAccountNativeResponse

type OpenAccountNativeResponse struct {
	// OpenAccountNative 操作结果 true:成功 false:失败
	OpenAccountNative bool `json:"open_account_native,omitempty"`
}

OpenAccountNativeResponse 开启原生扩量开关 API Response

Jump to

Keyboard shortcuts

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