oceanengine

package module
v1.2.0 Latest Latest
Warning

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

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

README

巨量引擎MarketingAPI Golang SDK

Go Reference Go goreleaser GitHub go.mod Go version of a Go module GoReportCard GitHub license GitHub release

  • Oauth2 授权 (api/oauth)
    • 生成授权链接 [ Url(clt *core.SDKClient, redirectUrl string, state string) string ]
    • 获取AccessToken [ AccessToken(clt *core.SDKClient, authCode String) (*oauth.AccessTokenResponseData, error) ]
    • 刷新Token [ RefreshToken(clt *core.SDKClient, refreshToken string) (*oauth.AccessTokenResponseData, error)]
    • 获取已授权账户 [ AdvertiserGet(clt *core.SDKClient, accessToken string) ([]oauth.Advertiser, error) ]
    • 获取授权User信息 [ UserInfo(clt *core.SDKClient, accessToken string) (*oauth.UserInfoResponseData, error) ]
  • 账号服务
    • 广告主信息与资质管理 (api/advertiser)
      • 广告主信息 [ Info(clt *core.SDKClient, accessToken string, req *advertiser.InfoRequest) ([]advertiser.Info, error) ]
      • 广告主公开信息 [ PublicInfo(clt *core.SDKClient, accessToken string, req *advertiser.PublicInfoRequest) ([]advertiser.PublicInfo, error) ]
      • 获取广告主头像信息 [ AvatarGet(clt *core.SDK, accessToken string, advertiserID uint64) (*advertiser.AvatarGetResponseData, error) ]
    • 代理商账号管理 (api/agent)
      • 广告主列表 [ AdvertiserSelect(clt *core.SDKClient, accessToken string, req *agent.AdvertiserSelectRequest) (*agent.AdvertiserSelectResponseData, error) ]
      • 修改广告主 [ AdvertiserUpdate(clt *core.SDKClient, accessToken string, req *agent.AdvertiserUpdateRequest) (*agent.AdvertiserUpdateResponseData, error) ]
      • 二级代理商列表 [ ChildAgentSelect(clt *core.SDKClient, accessToken string, req *agent.ChildAgentSelectRequest) ([]uint64, error) ]
      • 获取代理商信息 [ Info(clt *core.SDKClient, accessToken string, req *agent.InfoRequest) ([]agent.Info, error) ]
    • 账号管家管理 (api/majordomo)
      • 广告主列表 [ MajordomoSelect(clt *core.SDKClient, accessToken string, req *majordomo.AdvertiserSelectRequest) ([]majordomo.AdvertiserSelectResponseList, error) ]
    • 资金和流水管理 (api)
      • 查询账号余额 [ advertiser.FundGet(clt *core.SDKClient, accessToken string, advertiserID uint64) (*advertiser.FundGetResponseData, error) ]
      • 查询账号日流水 [ advertiser.FundDailyStat(clt *core.SDKClient, accessToken string, req *advertiser.FundDailyStatRequest) (*advertiser.FundDailyStatResponseData, error) ]
      • 查询账号流水明细 [ advertiser.FundTransactionGet(clt *core.SDKClient, accessToken string, req *advertiser.FundTransactionGetRequest) ([]advertiser.FundTransactionGetResponseList, error) ]
      • 代理商转账 [ agent.AdvertiserRecharge(clt *core.SDKClient, accessToken string, req *agent.AdvertiserRechargeRequest) (string, error) ]
      • 代理商退款 [ agent.AdvertiserRefund(clt *core.SDKClient, accessToken string, req *agent.AdvertiserRefundRequest) (string, error) ]
  • 广告投放
    • 广告账户预算 (api)
      • 获取账户日预算 [ advertiser.BudgetGet(clt *core.SDKClient, accessToken string, req *advertiser.BudgetGetRequest) ([]advertiser.BudgetGetResponseList, error) ]
      • 更新账户日预算 [ advertiser.UpdateBudget(clt *core.SDKClient, accessToken string, req *advertiser.UpdateBudgetRequest) error ]
    • 广告组 (api/campaign)
      • 获取广告组 [ Get(clt *core.SDKClient, accessToken string, req *campaign.GetRequest) (*campaign.GetResponseData, error) ]
      • 创建广告组 [ Create(clt *core.SDKClient, accessToken string, req *campaign.CreateRequest) (uint64, error) ]
      • 修改广告组 [ Update(clt *core.SDKClient, accessToken string, req *campaign.UpdateRequest) (uint64, error) ]
      • 广告组更新状态 [ UpdateStatus(clt *core.SDKClient, accessToken string, req *campaign.UpdateStatusRequest) (*campaign.UpdateResponseData, error) ]
    • 广告计划模块 (api/ad)
      • 获取广告计划 [ Get(clt *core.SDKClient, accessToken string, req *ad.GetRequest) (*ad.GetResponseData, error) ]
      • 更新计划状态 [ UpdateStatus(clt *core.SDKClient, accessToken string, req *ad.UpdateStatusRequest) (*ad.UpdateResponseData, error) ]
      • 更新计划预算 [ UpdateBudget(clt *core.SDKClient, accessToken string, req *ad.UpdateBudgetRequest) (*ad.UpdateResponseData, error) ]
      • 更新计划出价 [ UpdateBid(clt *core.SDKClient, accessToken string, req *ad.UpdateBidRequest) (*ad.UpdateResponseData, error) ]
  • 数据报表
    • 广告数据报表 (api/report)
      • 广告主数据 [ AdvertiserGet(clt *core.SDKClient, accessToken string, req *report.GetRequest) (*report.GetResponseData, error) ]
      • 广告组数据 [ CampaignGet(clt *core.SDKClient, accessToken string, req *report.GetRequest) (*report.GetResponseData, error) ]
      • 广告计划数据 [ AdGet(clt *core.SDKClient, accessToken string, req *report.GetRequest) (*report.GetResponseData, error) ]
      • 广告创意数据 [ CreativeGet(clt *core.SDKClient, accessToken string, req *report.GetRequest) (*report.GetResponseData, error) ]
      • 多合一数据报表接口 [ IntegratedGet(clt *core.SDKClient, accessToken string, req *report.IntegratedRequest) (*report.IntegratedResponseData, error) ]
      • 视频素材报表 [ VideoGet(clt *core.SDKClient, accessToken string, req *report.IntegratedRequest) (*report.IntegratedResponseData, error) ]
      • 视频互动流失数据 [ VideoFrameGet(clt *core.SDKClient, accessToken string, req *report.VideoFrameRequest) ([]report.VideoFrameResponseDataList, error) ]
      • 分级模糊数据 [ MistyGet(clt *core.SDKClient, accessToken string, req *report.IntegratedRequest) (*report.IntegratedResponseData, error) ]
    • 受众分析数据报表 (api/report/audience)
      • 行为兴趣数据 [ InterestActionList(clt *core.SDKClient, accessToken string, req *audience.ListRequest) (*audience.ListResponseData, error) ]
      • 抖音达人数据 [ AwemeList(clt *core.SDKClient, accessToken string, req *audience.ListRequest) (*audience.ListResponseData, error) ]
      • 省级数据 [ Province(clt *core.SDKClient, accessToken string, req *audience.Request) ([]audience.ResponseData, error) ]
      • 市级数据 [ City(clt *core.SDKClient, accessToken string, req *audience.Request) ([]audience.ResponseData, error) ]
      • 性别数据 [ Gender(clt *core.SDKClient, accessToken string, req *audience.Request) ([]audience.ResponseData, error) ]
      • 兴趣数据 [ Tag(clt *core.SDKClient, accessToken string, req *audience.Request) ([]audience.ResponseData, error) ]
      • 年龄数据 [ Age(clt *core.SDKClient, accessToken string, req *audience.Request) ([]audience.ResponseData, error) ]
    • 电商直播数据报表 (api/report/liveroom)
      • 直播间属性报表 [ AttributeGet(clt *core.SDKClient, accessToken string, req *liveroom.Request) (*liveroom.ResponseData, error) ]
      • 直播间分析报表 [ AnalysisGet(clt *core.SDKClient, accessToken string, req *liveroom.Request) (*liveroom.ResponseData, error) ]
      • 直播间流量来源报表 [ FlowCategoryGet(clt *core.SDKClient, accessToken string, req *liveroom.Request) (*liveroom.ResponseData, error) ]
      • 直播间商品分析报表 [ ProductGet(clt *core.SDKClient, accessToken string, req *liveroom.Request) (*liveroom.ResponseData, error) ]
      • 直播受众分析报表 [ AudiencePortraitGet(clt *core.SDKClient, accessToken string, req *liveroom.Request) (*liveroom.ResponseData, error) ]
  • DMP人群管理 (api/dmp)
    • 数据源文件上传 [ datasource.FileUpload(clt *core.SDKClient, accessToken string, req *datasource.FileUploadRequest) (string, error) ]
    • 数据源创建 [ datasource.Create(clt *core.SDKClient, accessToken string, req *datasource.CreateRequest) (string, error) ]
    • 数据源更新 [ datasource.Update(clt *core.SDKClient, accessToken string, req *datasource.UpdateRequest) error ]
    • 数据源详细信息 [ datasource.Read(clt *core.SDKClient, accessToken string, req *datasource.ReadRequest) ([]datasource.DataSource, error) ]
    • 人群包列表 [ customaudience.Select(clt *core.SDKClient, accessToken string, req *customaudience.SelectRequest) (*customaudience.SelectResponseData, error) ]
    • 人群包详细信息 [ customaudience.Read(clt *core.SDKClient, accessToken string, req *customaudience.ReadRequest) ([]customaudience.CustomAudience, error) ]
    • 发布人群包 [ customaudience.Publish(clt *core.SDKClient, accessToken string, req *customaudience.PublishRequest) error ]
    • 推送人群包 [ customaudience.Push(clt *core.SDKClient, accessToken string, req *customaudience.PushRequest) error ]
    • 删除人群包 [ customaudience.Delete(clt *core.SDKClient, accessToken string, req *customaudience.DeleteRequest) error ]
  • 素材管理 (api/file)
    • 上传广告主图片 [ ImageAdvertiser(clt *core.SDKClient, accessToken string, req *file.ImageAdvertiserRequest) (*file.Image, error) ]
    • 上传广告图片 [ ImageAd(clt *core.SDKClient, accessToken string, req *file.ImageAdRequest) (*file.Image, error) ]
    • 上传视频 [ VideoAd(clt *core.SDKClient, accessToken string, req *file.VideoAdRequest) (*file.Video, error) ]
    • 获取图片素材 [ ImageGet(clt *core.SDKClient, accessToken string, req *file.ImageGetRequest) (*file.ImageGetResponseData, error) ]
    • 获取视频素材 [ VideoGet(clt *core.SDKClient, accessToken string, req *file.VideoGetRequest) (*file.VideoGetResponseData, error) ]
    • 获取视频智能封面 [ VideoCoverSuggest(clt *core.SDKClient, accessToken string, req *file.VideoCoverSuggestRequest) (*file.VideoCoverSuggestResponseData, error) ]
    • 获取同主体下广告主图片素材 [ ImageAdGet(clt *core.SDKClient, accessToken string, req *file.ImageAdGetRequest) ([]file.Image, error) ]
    • 获取同主体下广告主视频素材 [ VideoAdGet(clt *core.SDKClient, accessToken string, req *file.VideoAdGetRequest) ([]file.Video, error) ]
    • 素材推送 [ MaterialBind(clt *core.SDKClient, accessToken string, req *file.MaterialBindRequest) ([]file.FailedMaterialBind, error) ]
    • 批量删除视频素材 [ VideoDelete(clt *core.SDKClient, accessToken string, req *file.VideoDeleteRequest) ([]string, error) ]
    • 更新视频 [ VideoUpdate(clt *core.SDKClient, accessToken string, req *file.VideoUpdateRequest) ([]file.VideoForUpdate, error) ]
  • 数据上报管理 (api/track)
    • 转化回传 [ Active(req *track.ActiveRequest) error ]
  • 事件管理(api/conversion)
    • 转化回传 [ Conversion(req *conversion.Request) error ]

Documentation

Overview

巨量引擎openapi golang sdk

Directories

Path Synopsis
Package marketingapi 巨量引擎marketing-api
Package marketingapi 巨量引擎marketing-api
api/ad
Package ad 广告组相关API
Package ad 广告组相关API
api/advertiser
Package advertiser 账号服务相关API
Package advertiser 账号服务相关API
api/agent
Package agent 代理商账号管理相关API
Package agent 代理商账号管理相关API
api/campaign
Package campaign 广告计划相关API
Package campaign 广告计划相关API
api/conversion
Package conversion 数据回传管理相关API [事件管理操作手册](https://event-manager.oceanengine.com/docs/8650/event_manager_docs/)
Package conversion 数据回传管理相关API [事件管理操作手册](https://event-manager.oceanengine.com/docs/8650/event_manager_docs/)
api/dmp
Package dmp DMP人群管理相关API
Package dmp DMP人群管理相关API
api/dmp/customaudience
Package customaudience 人群包相关API
Package customaudience 人群包相关API
api/dmp/datasource
Package datasource 数据源相关API
Package datasource 数据源相关API
api/file
Package file 素材管理相关API
Package file 素材管理相关API
api/majordomo
Package majordomo 管家账号相关API
Package majordomo 管家账号相关API
api/oauth
Package oauth OAuth授权相关API
Package oauth OAuth授权相关API
api/report
Package report 数据报表相关API
Package report 数据报表相关API
api/report/audience
Package audience 受众分析相关API
Package audience 受众分析相关API
api/report/liveroom
Package liveroom 电商直播间数据报表相关API
Package liveroom 电商直播间数据报表相关API
core
Package core 包含SDKClient
Package core 包含SDKClient
model
Package model 包含API所需结构体
Package model 包含API所需结构体
model/ad
Package ad 广告计划相关API models
Package ad 广告计划相关API models
model/agent
Package agent 代理商相关API models
Package agent 代理商相关API models
model/conversion
Package conversion 新版转换回传API models
Package conversion 新版转换回传API models
model/dmp
Package dmp DMP人群管理API models
Package dmp DMP人群管理API models
model/dmp/customaudience
Package customaudience人群包相关API models
Package customaudience人群包相关API models
model/dmp/datasource
Package datasource 数据源相关API models
Package datasource 数据源相关API models
model/file
Package file 素材管理相关API models
Package file 素材管理相关API models
model/majordomo
Package majordomo 管家账号相关API models
Package majordomo 管家账号相关API models
model/oauth
Package oauth OAuth授权相关API models
Package oauth OAuth授权相关API models
model/report
Package report 数据报表相关API models
Package report 数据报表相关API models
model/report/audience
Package audience 受众分析数据报表 API models
Package audience 受众分析数据报表 API models
model/report/liveroom
Package liveroom 直播分析数据报表 API models
Package liveroom 直播分析数据报表 API models
model/sip
Package sip SPI推送相关API models
Package sip SPI推送相关API models
model/tools
Package tools 工具相关API models
Package tools 工具相关API models
model/track
Package track 数据上报管理相关API models
Package track 数据上报管理相关API models

Jump to

Keyboard shortcuts

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