Versions in this module Expand all Collapse all v1 v1.7.2 Mar 24, 2021 Changes in this version + var SpecialUrlInterfaceList = map[string]url.URL + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type AuthMiddleware struct + func (a *AuthMiddleware) Handle(req *http.Request, ...) (rsp *http.Response, err error) + type DiffHostMiddleware struct + func (d *DiffHostMiddleware) Handle(req *http.Request, ...) (rsp *http.Response, err error) + type HeaderMiddleware struct + func (h *HeaderMiddleware) Handle(req *http.Request, ...) (rsp *http.Response, err error) + type LogMiddleware struct + func (l *LogMiddleware) Handle(req *http.Request, ...) (rsp *http.Response, err error) + type Middleware interface + Handle func(req *http.Request, ...) (rsp *http.Response, err error) + type SDKClient struct + ApiVersion string + Client *api.APIClient + Config *config.SDKConfig + Ctx *context.Context + Version string + func Init(cfg *config.SDKConfig) *SDKClient + func (c *SDKClient) AdDiagnosis() *api.AdDiagnosisApiService + func (c *SDKClient) AdLabel() *api.AdLabelApiService + func (c *SDKClient) AdcreativePreviews() *api.AdcreativePreviewsApiService + func (c *SDKClient) AdcreativeTemplateDetail() *api.AdcreativeTemplateDetailApiService + func (c *SDKClient) AdcreativeTemplatePreview() *api.AdcreativeTemplatePreviewApiService + func (c *SDKClient) AdcreativeTemplatePreviews() *api.AdcreativeTemplatePreviewsApiService + func (c *SDKClient) AdcreativeTemplates() *api.AdcreativeTemplatesApiService + func (c *SDKClient) Adcreatives() *api.AdcreativesApiService + func (c *SDKClient) AdcreativesRelatedCapability() *api.AdcreativesRelatedCapabilityApiService + func (c *SDKClient) Adgroups() *api.AdgroupsApiService + func (c *SDKClient) Ads() *api.AdsApiService + func (c *SDKClient) Advertiser() *api.AdvertiserApiService + func (c *SDKClient) AgencyInnerTransfer() *api.AgencyInnerTransferApiService + func (c *SDKClient) AgencyPeerTransfer() *api.AgencyPeerTransferApiService + func (c *SDKClient) AgencyRealtimeCost() *api.AgencyRealtimeCostApiService + func (c *SDKClient) AndroidChannelPackages() *api.AndroidChannelPackagesApiService + func (c *SDKClient) AndroidUnionChannelPackages() *api.AndroidUnionChannelPackagesApiService + func (c *SDKClient) AssetPermissions() *api.AssetPermissionsApiService + func (c *SDKClient) AssetPrePermissions() *api.AssetPrePermissionsApiService + func (c *SDKClient) AsyncReportFiles() *api.AsyncReportFilesApiService + func (c *SDKClient) AsyncReports() *api.AsyncReportsApiService + func (c *SDKClient) AsyncTaskFiles() *api.AsyncTaskFilesApiService + func (c *SDKClient) AsyncTasks() *api.AsyncTasksApiService + func (c *SDKClient) AudienceGrantRelations() *api.AudienceGrantRelationsApiService + func (c *SDKClient) Authorization() *api.AuthorizationApiService + func (c *SDKClient) BatchAsyncRequestSpecification() *api.BatchAsyncRequestSpecificationApiService + func (c *SDKClient) BatchAsyncRequests() *api.BatchAsyncRequestsApiService + func (c *SDKClient) BatchOperation() *api.BatchOperationApiService + func (c *SDKClient) BatchRequests() *api.BatchRequestsApiService + func (c *SDKClient) BidSimulation() *api.BidSimulationApiService + func (c *SDKClient) Brand() *api.BrandApiService + func (c *SDKClient) BusinessManagerRelations() *api.BusinessManagerRelationsApiService + func (c *SDKClient) BusinessMdmAccountRelations() *api.BusinessMdmAccountRelationsApiService + func (c *SDKClient) Campaigns() *api.CampaignsApiService + func (c *SDKClient) Capabilities() *api.CapabilitiesApiService + func (c *SDKClient) Channels() *api.ChannelsApiService + func (c *SDKClient) ComplianceValidation() *api.ComplianceValidationApiService + func (c *SDKClient) Conversions() *api.ConversionsApiService + func (c *SDKClient) CreativetoolsText() *api.CreativetoolsTextApiService + func (c *SDKClient) CustomAudienceEstimations() *api.CustomAudienceEstimationsApiService + func (c *SDKClient) CustomAudienceFiles() *api.CustomAudienceFilesApiService + func (c *SDKClient) CustomAudienceInsights() *api.CustomAudienceInsightsApiService + func (c *SDKClient) CustomAudienceReports() *api.CustomAudienceReportsApiService + func (c *SDKClient) CustomAudiences() *api.CustomAudiencesApiService + func (c *SDKClient) CustomDataSalt() *api.CustomDataSaltApiService + func (c *SDKClient) CustomFeatures() *api.CustomFeaturesApiService + func (c *SDKClient) CustomTagFiles() *api.CustomTagFilesApiService + func (c *SDKClient) CustomTags() *api.CustomTagsApiService + func (c *SDKClient) DailyCost() *api.DailyCostApiService + func (c *SDKClient) DailyReports() *api.DailyReportsApiService + func (c *SDKClient) Diagnosis() *api.DiagnosisApiService + func (c *SDKClient) DplabelAdLabel() *api.DplabelAdLabelApiService + func (c *SDKClient) DynamicAdImages() *api.DynamicAdImagesApiService + func (c *SDKClient) DynamicAdTemplates() *api.DynamicAdTemplatesApiService + func (c *SDKClient) DynamicAdVideo() *api.DynamicAdVideoApiService + func (c *SDKClient) DynamicCreatives() *api.DynamicCreativesApiService + func (c *SDKClient) EcommerceOrder() *api.EcommerceOrderApiService + func (c *SDKClient) Estimation() *api.EstimationApiService + func (c *SDKClient) FundStatementsDaily() *api.FundStatementsDailyApiService + func (c *SDKClient) FundStatementsDetailed() *api.FundStatementsDetailedApiService + func (c *SDKClient) FundTransfer() *api.FundTransferApiService + func (c *SDKClient) Funds() *api.FundsApiService + func (c *SDKClient) HourlyReports() *api.HourlyReportsApiService + func (c *SDKClient) ImageProcessing() *api.ImageProcessingApiService + func (c *SDKClient) Images() *api.ImagesApiService + func (c *SDKClient) LabelAudiences() *api.LabelAudiencesApiService + func (c *SDKClient) Labels() *api.LabelsApiService + func (c *SDKClient) LeadClues() *api.LeadCluesApiService + func (c *SDKClient) LeadsForm() *api.LeadsFormApiService + func (c *SDKClient) LeadsFormList() *api.LeadsFormListApiService + func (c *SDKClient) Local() *api.LocalApiService + func (c *SDKClient) LocalEndadsmanually() *api.LocalEndadsmanuallyApiService + func (c *SDKClient) LocalEstimatedamount() *api.LocalEstimatedamountApiService + func (c *SDKClient) LocalStores() *api.LocalStoresApiService + func (c *SDKClient) LocalStoresAddressParsingResult() *api.LocalStoresAddressParsingResultApiService + func (c *SDKClient) LocalStoresSearchInfo() *api.LocalStoresSearchInfoApiService + func (c *SDKClient) Oauth() *api.OauthApiService + func (c *SDKClient) OptimizationGoalPermissions() *api.OptimizationGoalPermissionsApiService + func (c *SDKClient) OuterClues() *api.OuterCluesApiService + func (c *SDKClient) OuterCluesContact() *api.OuterCluesContactApiService + func (c *SDKClient) Pages() *api.PagesApiService + func (c *SDKClient) PlayablePages() *api.PlayablePagesApiService + func (c *SDKClient) ProductCatalogs() *api.ProductCatalogsApiService + func (c *SDKClient) ProductCatalogsReports() *api.ProductCatalogsReportsApiService + func (c *SDKClient) ProductCategoriesList() *api.ProductCategoriesListApiService + func (c *SDKClient) ProductItems() *api.ProductItemsApiService + func (c *SDKClient) ProductItemsDetail() *api.ProductItemsDetailApiService + func (c *SDKClient) ProductItemsVerticals() *api.ProductItemsVerticalsApiService + func (c *SDKClient) ProductsSystemStatus() *api.ProductsSystemStatusApiService + func (c *SDKClient) Profiles() *api.ProfilesApiService + func (c *SDKClient) PromotedObjects() *api.PromotedObjectsApiService + func (c *SDKClient) Qualifications() *api.QualificationsApiService + func (c *SDKClient) RealtimeCost() *api.RealtimeCostApiService + func (c *SDKClient) Report() *api.ReportApiService + func (c *SDKClient) Shop() *api.ShopApiService + func (c *SDKClient) SplitTests() *api.SplitTestsApiService + func (c *SDKClient) SystemStatus() *api.SystemStatusApiService + func (c *SDKClient) TargetingTagReports() *api.TargetingTagReportsApiService + func (c *SDKClient) TargetingTags() *api.TargetingTagsApiService + func (c *SDKClient) Targetings() *api.TargetingsApiService + func (c *SDKClient) TargetingsShare() *api.TargetingsShareApiService + func (c *SDKClient) TrackingReports() *api.TrackingReportsApiService + func (c *SDKClient) UnionPositionPackages() *api.UnionPositionPackagesApiService + func (c *SDKClient) UserActionSetReports() *api.UserActionSetReportsApiService + func (c *SDKClient) UserActionSets() *api.UserActionSetsApiService + func (c *SDKClient) UserActions() *api.UserActionsApiService + func (c *SDKClient) UserProperties() *api.UserPropertiesApiService + func (c *SDKClient) UserPropertySets() *api.UserPropertySetsApiService + func (c *SDKClient) VideomakerAutoadjustments() *api.VideomakerAutoadjustmentsApiService + func (c *SDKClient) VideomakerSubtitles() *api.VideomakerSubtitlesApiService + func (c *SDKClient) VideomakerTasks() *api.VideomakerTasksApiService + func (c *SDKClient) VideomakerVideocaptures() *api.VideomakerVideocapturesApiService + func (c *SDKClient) Videos() *api.VideosApiService + func (c *SDKClient) WechatAdFollowers() *api.WechatAdFollowersApiService + func (c *SDKClient) WechatAdLabels() *api.WechatAdLabelsApiService + func (c *SDKClient) WechatAdvertiser() *api.WechatAdvertiserApiService + func (c *SDKClient) WechatAdvertiserDetail() *api.WechatAdvertiserDetailApiService + func (c *SDKClient) WechatAdvertiserLocalBusiness() *api.WechatAdvertiserLocalBusinessApiService + func (c *SDKClient) WechatAdvertiserSpecification() *api.WechatAdvertiserSpecificationApiService + func (c *SDKClient) WechatAgency() *api.WechatAgencyApiService + func (c *SDKClient) WechatDailyCost() *api.WechatDailyCostApiService + func (c *SDKClient) WechatFundStatementsDetailed() *api.WechatFundStatementsDetailedApiService + func (c *SDKClient) WechatFundTransfer() *api.WechatFundTransferApiService + func (c *SDKClient) WechatFunds() *api.WechatFundsApiService + func (c *SDKClient) WechatPages() *api.WechatPagesApiService + func (c *SDKClient) WechatPagesCsgrouplist() *api.WechatPagesCsgrouplistApiService + func (c *SDKClient) WechatPagesGrantinfo() *api.WechatPagesGrantinfoApiService + func (c *SDKClient) WechatQualifications() *api.WechatQualificationsApiService + func (c *SDKClient) XijingPage() *api.XijingPageApiService + func (c *SDKClient) XijingPageByComponents() *api.XijingPageByComponentsApiService + func (c *SDKClient) XijingPageList() *api.XijingPageListApiService + func (c *SDKClient) XijingTemplate() *api.XijingTemplateApiService + func (tads *SDKClient) AppendMiddleware(middleware Middleware) *SDKClient + func (tads *SDKClient) GenMiddlewareHandleFunc(middleware Middleware, ...) func(req *http.Request) (rsp *http.Response, err error) + func (tads *SDKClient) GetAccessToken() string + func (tads *SDKClient) GetDebugFile() string + func (tads *SDKClient) GetVersion() string + func (tads *SDKClient) IsDebug() bool + func (tads *SDKClient) IsMonitor() bool + func (tads *SDKClient) RoundTrip(req *http.Request) (rsp *http.Response, err error) + func (tads *SDKClient) SetAccessToken(accessToken string) *SDKClient + func (tads *SDKClient) SetDebug(debug bool) *SDKClient + func (tads *SDKClient) SetDebugFile(debugFile string) *SDKClient + func (tads *SDKClient) SetHeader(key string, value string) *SDKClient + func (tads *SDKClient) SetHeaders(header http.Header) *SDKClient + func (tads *SDKClient) SetHost(host string, schema string) *SDKClient + func (tads *SDKClient) SetIpPort(ip string, port int, schema string) + func (tads *SDKClient) SetMonitor(monitor bool) *SDKClient + func (tads *SDKClient) UseProduction() *SDKClient + func (tads *SDKClient) UseSandbox() *SDKClient