Documentation ¶
Overview ¶
搜索报告 通过报告接口,您可以拉取到广告的投放数据,同时支持实现实时、异步获取数据报告两种拉取方式。
Index ¶
- func GetAccountLiveData(clt *core.SDKClient, auth model.RequestHeader, dataType int, device int) (*model.ResponseHeader, []report.AccountLiveData, error)
- func GetKeywordLiveData(clt *core.SDKClient, auth model.RequestHeader, ...) (*model.ResponseHeader, []report.KeywordLiveData, error)
- func GetProfessionalReportId(clt *core.SDKClient, auth model.RequestHeader, reqBody *report.ReportRequest) (*model.ResponseHeader, string, error)
- func GetRealTimeData(clt *core.SDKClient, auth model.RequestHeader, ...) (*model.ResponseHeader, []report.RealTimeResult, error)
- func GetReportFileUrl(clt *core.SDKClient, auth model.RequestHeader, reportId string) (*model.ResponseHeader, string, error)
- func GetReportState(clt *core.SDKClient, auth model.RequestHeader, reportId string) (*model.ResponseHeader, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountLiveData ¶
func GetAccountLiveData(clt *core.SDKClient, auth model.RequestHeader, dataType int, device int) (*model.ResponseHeader, []report.AccountLiveData, error)
GetAccountLiveData 账户实时数据 通过此接口获取账户和计划当天累计数据信息。
func GetKeywordLiveData ¶
func GetKeywordLiveData(clt *core.SDKClient, auth model.RequestHeader, reqBody *report.GetKeywordLiveDataRequest) (*model.ResponseHeader, []report.KeywordLiveData, error)
GetKeywordLiveData 关键词实时数据 通过此接口获取关键词实时数据报告信息。
func GetProfessionalReportId ¶
func GetProfessionalReportId(clt *core.SDKClient, auth model.RequestHeader, reqBody *report.ReportRequest) (*model.ResponseHeader, string, error)
GetProfessionalReportId 创建异步报告(获取异步报告id) 创建异步报告,获取报告ID(reportId) 基于reportType可创建多种数据报告的异步任务,具体报告规则可参数基础数据报告介绍
func GetRealTimeData ¶
func GetRealTimeData(clt *core.SDKClient, auth model.RequestHeader, realTimeRequest *report.RealTimeRequest) (*model.ResponseHeader, []report.RealTimeResult, error)
GetRealTimeData 推广报告
func GetReportFileUrl ¶
func GetReportFileUrl(clt *core.SDKClient, auth model.RequestHeader, reportId string) (*model.ResponseHeader, string, error)
GetReportFileUrl 获取异步报告文件URL 获取报告下载地址。当报告成功生成后,使用reportId请求,返回相应的报告下载地址。
func GetReportState ¶
func GetReportState(clt *core.SDKClient, auth model.RequestHeader, reportId string) (*model.ResponseHeader, int, error)
GetReportState 获取异步报告状态 查询报告当前的生成状态。请求中提供报告ID,返回报告的处理状态。 说明:在获取Report文件url前,请调用此方法。待确认报表已生成时,再获取下载的url
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.