Documentation
¶
Index ¶
- Variables
- type APIResponse
- type AuthMiddleware
- type DiffHostMiddleware
- type HeaderMiddleware
- type LogMiddleware
- type Middleware
- type SDKClient
- func (c *SDKClient) AdDiagnosis() *api.AdDiagnosisApiService
- func (c *SDKClient) AdgroupNegativewords() *api.AdgroupNegativewordsApiService
- func (c *SDKClient) Adgroups() *api.AdgroupsApiService
- func (c *SDKClient) AgencyRealtimeCost() *api.AgencyRealtimeCostApiService
- func (c *SDKClient) AndroidChannel() *api.AndroidChannelApiService
- func (tads *SDKClient) AppendMiddleware(middleware Middleware) *SDKClient
- func (c *SDKClient) AsyncReportFiles() *api.AsyncReportFilesApiService
- func (c *SDKClient) AsyncReports() *api.AsyncReportsApiService
- func (c *SDKClient) AudienceGrantRelations() *api.AudienceGrantRelationsApiService
- func (c *SDKClient) Bidword() *api.BidwordApiService
- func (c *SDKClient) BidwordFlow() *api.BidwordFlowApiService
- func (c *SDKClient) Brand() *api.BrandApiService
- func (c *SDKClient) BusinessPoint() *api.BusinessPointApiService
- func (c *SDKClient) Conversions() *api.ConversionsApiService
- func (c *SDKClient) CreativeTemplate() *api.CreativeTemplateApiService
- func (c *SDKClient) CreativeTemplateList() *api.CreativeTemplateListApiService
- func (c *SDKClient) CustomAudienceFiles() *api.CustomAudienceFilesApiService
- func (c *SDKClient) CustomAudiences() *api.CustomAudiencesApiService
- func (c *SDKClient) DailyBalanceReport() *api.DailyBalanceReportApiService
- func (c *SDKClient) DailyReports() *api.DailyReportsApiService
- func (c *SDKClient) DynamicCreatives() *api.DynamicCreativesApiService
- func (c *SDKClient) Estimation() *api.EstimationApiService
- func (c *SDKClient) ExtendPackage() *api.ExtendPackageApiService
- func (c *SDKClient) FundStatementsDetailed() *api.FundStatementsDetailedApiService
- func (c *SDKClient) FundTransfer() *api.FundTransferApiService
- func (c *SDKClient) Funds() *api.FundsApiService
- func (c *SDKClient) GameFeature() *api.GameFeatureApiService
- func (c *SDKClient) GameFeatureTags() *api.GameFeatureTagsApiService
- 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 (c *SDKClient) HourlyReports() *api.HourlyReportsApiService
- func (c *SDKClient) Images() *api.ImagesApiService
- func (tads *SDKClient) IsDebug() bool
- func (tads *SDKClient) IsMonitor() bool
- func (c *SDKClient) KeywordRecommend() *api.KeywordRecommendApiService
- func (c *SDKClient) LocalStores() *api.LocalStoresApiService
- func (c *SDKClient) LocalStoresAddressParsingResult() *api.LocalStoresAddressParsingResultApiService
- func (c *SDKClient) LocalStoresCategories() *api.LocalStoresCategoriesApiService
- func (c *SDKClient) LocalStoresSearchInfo() *api.LocalStoresSearchInfoApiService
- func (c *SDKClient) LocalStoresWxpayMerchants() *api.LocalStoresWxpayMerchantsApiService
- func (c *SDKClient) MarketingTargetAssets() *api.MarketingTargetAssetsApiService
- func (c *SDKClient) MarketingTargetTypes() *api.MarketingTargetTypesApiService
- func (c *SDKClient) MaterialLabels() *api.MaterialLabelsApiService
- func (c *SDKClient) MergeFundTypeDailyBalanceReport() *api.MergeFundTypeDailyBalanceReportApiService
- func (c *SDKClient) MergeFundTypeFundStatementsDetailed() *api.MergeFundTypeFundStatementsDetailedApiService
- func (c *SDKClient) MergeFundTypeFunds() *api.MergeFundTypeFundsApiService
- func (c *SDKClient) MergeFundTypeSubcustomerTransfer() *api.MergeFundTypeSubcustomerTransferApiService
- func (c *SDKClient) Oauth() *api.OauthApiService
- func (c *SDKClient) Pages() *api.PagesApiService
- func (c *SDKClient) Profiles() *api.ProfilesApiService
- func (c *SDKClient) Programmed() *api.ProgrammedApiService
- func (c *SDKClient) ProgrammedTemplate() *api.ProgrammedTemplateApiService
- func (c *SDKClient) RealtimeCost() *api.RealtimeCostApiService
- 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 (c *SDKClient) SubcustomerTransfer() *api.SubcustomerTransferApiService
- func (c *SDKClient) TargetingTagReports() *api.TargetingTagReportsApiService
- func (c *SDKClient) UnionPositionPackages() *api.UnionPositionPackagesApiService
- func (c *SDKClient) Videos() *api.VideosApiService
- func (c *SDKClient) WechatPages() *api.WechatPagesApiService
- func (c *SDKClient) WechatPagesCustom() *api.WechatPagesCustomApiService
- func (c *SDKClient) Wildcards() *api.WildcardsApiService
Constants ¶
This section is empty.
Variables ¶
View Source
var SpecialUrlInterfaceList = map[string]url.URL{ "/async_task_files/get": url.URL{Host: "https://dl.e.qq.com/v1.1", Path: "/async_task_files/get"}, "/async_report_files/get": url.URL{Host: "https://dl.e.qq.com/v1.1", Path: "/async_report_files/get"}, "/authorization/wechat_bind": url.URL{Host: "https://developers.e.qq.com", Path: "/authorization/wechat_bind"}, "/oauth/token": url.URL{Host: "https://api.e.qq.com", Path: "/oauth/token"}, "/oauth/authorize": url.URL{Host: "https://developers.e.qq.com", Path: "/oauth/authorize"}, }
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AuthMiddleware ¶
type AuthMiddleware struct {
// contains filtered or unexported fields
}
AuthMiddleware ...
type DiffHostMiddleware ¶
type DiffHostMiddleware struct {
// contains filtered or unexported fields
}
DiffHostMiddleware ...
type HeaderMiddleware ¶
type HeaderMiddleware struct {
// contains filtered or unexported fields
}
HeaderMiddleware ...
type LogMiddleware ¶
type LogMiddleware struct {
// contains filtered or unexported fields
}
LogMiddleware ...
type Middleware ¶
type Middleware interface {
Handle(req *http.Request, next func(req *http.Request) (rsp *http.Response, err error)) (rsp *http.Response, err error)
}
Middleware ...
type SDKClient ¶
type SDKClient struct { http.RoundTripper Config *config.SDKConfig Client *api.APIClient Ctx *context.Context Version string ApiVersion string // contains filtered or unexported fields }
SDKClient ...
func (*SDKClient) AdDiagnosis ¶
func (c *SDKClient) AdDiagnosis() *api.AdDiagnosisApiService
func (*SDKClient) AdgroupNegativewords ¶
func (c *SDKClient) AdgroupNegativewords() *api.AdgroupNegativewordsApiService
func (*SDKClient) AgencyRealtimeCost ¶
func (c *SDKClient) AgencyRealtimeCost() *api.AgencyRealtimeCostApiService
func (*SDKClient) AndroidChannel ¶
func (c *SDKClient) AndroidChannel() *api.AndroidChannelApiService
func (*SDKClient) AppendMiddleware ¶
func (tads *SDKClient) AppendMiddleware(middleware Middleware) *SDKClient
AppendMiddleware ...
func (*SDKClient) AsyncReportFiles ¶
func (c *SDKClient) AsyncReportFiles() *api.AsyncReportFilesApiService
func (*SDKClient) AsyncReports ¶
func (c *SDKClient) AsyncReports() *api.AsyncReportsApiService
func (*SDKClient) AudienceGrantRelations ¶
func (c *SDKClient) AudienceGrantRelations() *api.AudienceGrantRelationsApiService
func (*SDKClient) BidwordFlow ¶
func (c *SDKClient) BidwordFlow() *api.BidwordFlowApiService
func (*SDKClient) BusinessPoint ¶
func (c *SDKClient) BusinessPoint() *api.BusinessPointApiService
func (*SDKClient) Conversions ¶
func (c *SDKClient) Conversions() *api.ConversionsApiService
func (*SDKClient) CreativeTemplate ¶
func (c *SDKClient) CreativeTemplate() *api.CreativeTemplateApiService
func (*SDKClient) CreativeTemplateList ¶
func (c *SDKClient) CreativeTemplateList() *api.CreativeTemplateListApiService
func (*SDKClient) CustomAudienceFiles ¶
func (c *SDKClient) CustomAudienceFiles() *api.CustomAudienceFilesApiService
func (*SDKClient) CustomAudiences ¶
func (c *SDKClient) CustomAudiences() *api.CustomAudiencesApiService
func (*SDKClient) DailyBalanceReport ¶
func (c *SDKClient) DailyBalanceReport() *api.DailyBalanceReportApiService
func (*SDKClient) DailyReports ¶
func (c *SDKClient) DailyReports() *api.DailyReportsApiService
func (*SDKClient) DynamicCreatives ¶
func (c *SDKClient) DynamicCreatives() *api.DynamicCreativesApiService
func (*SDKClient) Estimation ¶
func (c *SDKClient) Estimation() *api.EstimationApiService
func (*SDKClient) ExtendPackage ¶
func (c *SDKClient) ExtendPackage() *api.ExtendPackageApiService
func (*SDKClient) FundStatementsDetailed ¶
func (c *SDKClient) FundStatementsDetailed() *api.FundStatementsDetailedApiService
func (*SDKClient) FundTransfer ¶
func (c *SDKClient) FundTransfer() *api.FundTransferApiService
func (*SDKClient) GameFeature ¶
func (c *SDKClient) GameFeature() *api.GameFeatureApiService
func (*SDKClient) GameFeatureTags ¶
func (c *SDKClient) GameFeatureTags() *api.GameFeatureTagsApiService
func (*SDKClient) GenMiddlewareHandleFunc ¶
func (tads *SDKClient) GenMiddlewareHandleFunc( middleware Middleware, beforeFunc func(req *http.Request) (rsp *http.Response, err error), ) func(req *http.Request) (rsp *http.Response, err error)
GenMiddlewareHandleFunc ...
func (*SDKClient) GetAccessToken ¶
GetAccessToken ...
func (*SDKClient) HourlyReports ¶
func (c *SDKClient) HourlyReports() *api.HourlyReportsApiService
func (*SDKClient) KeywordRecommend ¶
func (c *SDKClient) KeywordRecommend() *api.KeywordRecommendApiService
func (*SDKClient) LocalStores ¶
func (c *SDKClient) LocalStores() *api.LocalStoresApiService
func (*SDKClient) LocalStoresAddressParsingResult ¶
func (c *SDKClient) LocalStoresAddressParsingResult() *api.LocalStoresAddressParsingResultApiService
func (*SDKClient) LocalStoresCategories ¶
func (c *SDKClient) LocalStoresCategories() *api.LocalStoresCategoriesApiService
func (*SDKClient) LocalStoresSearchInfo ¶
func (c *SDKClient) LocalStoresSearchInfo() *api.LocalStoresSearchInfoApiService
func (*SDKClient) LocalStoresWxpayMerchants ¶
func (c *SDKClient) LocalStoresWxpayMerchants() *api.LocalStoresWxpayMerchantsApiService
func (*SDKClient) MarketingTargetAssets ¶
func (c *SDKClient) MarketingTargetAssets() *api.MarketingTargetAssetsApiService
func (*SDKClient) MarketingTargetTypes ¶
func (c *SDKClient) MarketingTargetTypes() *api.MarketingTargetTypesApiService
func (*SDKClient) MaterialLabels ¶
func (c *SDKClient) MaterialLabels() *api.MaterialLabelsApiService
func (*SDKClient) MergeFundTypeDailyBalanceReport ¶
func (c *SDKClient) MergeFundTypeDailyBalanceReport() *api.MergeFundTypeDailyBalanceReportApiService
func (*SDKClient) MergeFundTypeFundStatementsDetailed ¶
func (c *SDKClient) MergeFundTypeFundStatementsDetailed() *api.MergeFundTypeFundStatementsDetailedApiService
func (*SDKClient) MergeFundTypeFunds ¶
func (c *SDKClient) MergeFundTypeFunds() *api.MergeFundTypeFundsApiService
func (*SDKClient) MergeFundTypeSubcustomerTransfer ¶
func (c *SDKClient) MergeFundTypeSubcustomerTransfer() *api.MergeFundTypeSubcustomerTransferApiService
func (*SDKClient) Profiles ¶ added in v1.7.41
func (c *SDKClient) Profiles() *api.ProfilesApiService
func (*SDKClient) Programmed ¶
func (c *SDKClient) Programmed() *api.ProgrammedApiService
func (*SDKClient) ProgrammedTemplate ¶
func (c *SDKClient) ProgrammedTemplate() *api.ProgrammedTemplateApiService
func (*SDKClient) RealtimeCost ¶
func (c *SDKClient) RealtimeCost() *api.RealtimeCostApiService
func (*SDKClient) SetAccessToken ¶
SetAccessToken ...
func (*SDKClient) SetDebugFile ¶
SetDebugFile ...
func (*SDKClient) SetHeaders ¶
SetHeaders ...
func (*SDKClient) SetMonitor ¶
SetMonitor ...
func (*SDKClient) SubcustomerTransfer ¶
func (c *SDKClient) SubcustomerTransfer() *api.SubcustomerTransferApiService
func (*SDKClient) TargetingTagReports ¶
func (c *SDKClient) TargetingTagReports() *api.TargetingTagReportsApiService
func (*SDKClient) UnionPositionPackages ¶
func (c *SDKClient) UnionPositionPackages() *api.UnionPositionPackagesApiService
func (*SDKClient) WechatPages ¶
func (c *SDKClient) WechatPages() *api.WechatPagesApiService
func (*SDKClient) WechatPagesCustom ¶
func (c *SDKClient) WechatPagesCustom() *api.WechatPagesCustomApiService
Click to show internal directories.
Click to hide internal directories.