advertiser

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package advertiser 账号服务相关API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvatarGet added in v1.2.3

func AvatarGet(clt *core.SDKClient, accessToken string, advertiserID uint64) (*advertiser.AvatarGetResponseData, error)

AvatarGet 获取广告主头像信息

func BudgetGet added in v1.2.3

func BudgetGet(clt *core.SDKClient, accessToken string, advertiserIDs []uint64) ([]advertiser.BudgetGetResponseList, error)

BudgetGet 获取账户日预算 此接口可以获取广告主账号设置的预算类型与预算,可以一次查询100个广告主账号预算;

func FundDailyStat

FundDailyStat 查询账号日流水 获取广告主日流水信息,一般每天8点会出来前一天的数据,如果当天存在数据延迟可往后再尝试。

func FundGet added in v1.2.3

func FundGet(clt *core.SDKClient, accessToken string, advertiserID uint64) (*advertiser.FundGetResponseData, error)

FundGet 查询账号余额 获取广告主或代理商账户余额信息。

func FundTransactionGet added in v1.2.3

FundTransactionGet 查询账号流水明细 获取广告主或代理商账户流水明细信息。接口规则如下: 1.假设某广告主A是代理商下广告主,对于A来说,如果流水类型是转账,而收款方是A则意味着是转账加款,如果付款方是A则意味着是转账退款。 2.假设某广告主B是直客广告主,未在任何代理商下,如果交易流水类型为充值,则收款方和付款方将都显示广告主B,如果金额为正则是充值交易,金额为负则是退款交易。

func Info

func Info(clt *core.SDKClient, accessToken string, req *advertiser.InfoRequest) ([]advertiser.Info, error)

Info 广告主信息 获取广告主账户详细信息,可指定fields查询所需元素。 目前上线了新版的代理商鉴权,如果查询报no permission错误,请前往代理商一站式平台为账号申请对应的权限。

func PublicInfo

func PublicInfo(clt *core.SDKClient, accessToken string, req *advertiser.PublicInfoRequest) ([]advertiser.PublicInfo, error)

PublicInfo 广告主公开信息

func QualificationCreate added in v1.9.11

func QualificationCreate(clt *core.SDKClient, accessToken string, req *advertiser.QualificationCreateRequest) error

QualificationCreate 批量上传投放资质

func QualificationGet added in v1.9.11

func QualificationGet(clt *core.SDKClient, accessToken string, advertiserID uint64) (*advertiser.Qualification, error)

QualificationGet 获取广告主资质(新版) 获取广告主资质信息为全量接口,会返回广告主所有资质,注意如果广告主没有任何资质,这个接口的data将会是空。

func QualificationSelect added in v1.9.11

func QualificationSelect(clt *core.SDKClient, accessToken string, advertiserID uint64) ([]advertiser.AdQualification, error)

QualificationSelect 获取投放资质信息(新版) 获取广告主资质信息,资质分为描述,营业执照,开户资质,投放资质。不同类型的资质有不同的字段,具体字段见下表。

func QualificationSubmit added in v1.9.11

func QualificationSubmit(clt *core.SDKClient, accessToken string, req *advertiser.QualificationSubmitRequest) error

QualificationSubmit 提交广告主资质(新版) 提交广告主资质信息为全量接口。更新的时候需要全量先获取所有资质,然后更新相应资质。

func TransferableFundGet added in v1.5.8

func TransferableFundGet(clt *core.SDKClient, accessToken string, advertiserID uint64) (*advertiser.TransferableFund, error)

TransferableFundGet 查询账户可转余额 通过此接口可获取广告主、代理商或组织账户下的可转资金余额信息。

func UpdateBudget

func UpdateBudget(clt *core.SDKClient, accessToken string, req *advertiser.UpdateBudgetRequest) error

UpdateBudget 更新账户日预算 此接口可以更新广告主账号设置的预算类型与预算。 账户预算类别:不限预算、日预算 范围1000<=X <= 9999999.99、仅支持最多2位小数

Types

This section is empty.

Jump to

Keyboard shortcuts

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