api

package
v1.7.43 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	Cfg       *config.Configuration
	SDKConfig *config.SDKConfig

	AdDiagnosisApi *AdDiagnosisApiService

	AdcreativePreviewsApi *AdcreativePreviewsApiService

	AdcreativePreviewsQrcodeApi *AdcreativePreviewsQrcodeApiService

	AdgroupNegativewordsApi *AdgroupNegativewordsApiService

	AdgroupsApi *AdgroupsApiService

	AgencyRealtimeCostApi *AgencyRealtimeCostApiService

	AndroidChannelApi *AndroidChannelApiService

	AsyncReportFilesApi *AsyncReportFilesApiService

	AsyncReportsApi *AsyncReportsApiService

	AudienceGrantRelationsApi *AudienceGrantRelationsApiService

	BatchRequestsApi *BatchRequestsApiService

	BidwordApi *BidwordApiService

	BidwordFlowApi *BidwordFlowApiService

	BrandApi *BrandApiService

	BusinessPointApi *BusinessPointApiService

	ConversionsApi *ConversionsApiService

	CreativeTemplateApi *CreativeTemplateApiService

	CreativeTemplateListApi *CreativeTemplateListApiService

	CustomAudienceFilesApi *CustomAudienceFilesApiService

	CustomAudiencesApi *CustomAudiencesApiService

	DailyBalanceReportApi *DailyBalanceReportApiService

	DailyReportsApi *DailyReportsApiService

	DynamicCreativeReviewResultsApi *DynamicCreativeReviewResultsApiService

	DynamicCreativesApi *DynamicCreativesApiService

	EstimationApi *EstimationApiService

	ExtendPackageApi *ExtendPackageApiService

	FundStatementsDetailedApi *FundStatementsDetailedApiService

	FundTransferApi *FundTransferApiService

	FundsApi *FundsApiService

	GameFeatureApi *GameFeatureApiService

	GameFeatureTagsApi *GameFeatureTagsApiService

	HourlyReportsApi *HourlyReportsApiService

	ImagesApi *ImagesApiService

	KeywordRecommendApi *KeywordRecommendApiService

	LocalStoresApi *LocalStoresApiService

	LocalStoresAddressParsingResultApi *LocalStoresAddressParsingResultApiService

	LocalStoresCategoriesApi *LocalStoresCategoriesApiService

	LocalStoresSearchInfoApi *LocalStoresSearchInfoApiService

	LocalStoresWxpayMerchantsApi *LocalStoresWxpayMerchantsApiService

	MarketingTargetAssetsApi *MarketingTargetAssetsApiService

	MarketingTargetTypesApi *MarketingTargetTypesApiService

	MaterialLabelsApi *MaterialLabelsApiService

	MergeFundTypeDailyBalanceReportApi *MergeFundTypeDailyBalanceReportApiService

	MergeFundTypeFundStatementsDetailedApi *MergeFundTypeFundStatementsDetailedApiService

	MergeFundTypeFundsApi *MergeFundTypeFundsApiService

	MergeFundTypeSubcustomerTransferApi *MergeFundTypeSubcustomerTransferApiService

	OauthApi *OauthApiService

	PagesApi *PagesApiService

	ProfilesApi *ProfilesApiService

	ProgrammedApi *ProgrammedApiService

	ProgrammedTemplateApi *ProgrammedTemplateApiService

	RealtimeCostApi *RealtimeCostApiService

	SubcustomerTransferApi *SubcustomerTransferApiService

	TargetingTagReportsApi *TargetingTagReportsApiService

	UnionPositionPackagesApi *UnionPositionPackagesApiService

	VideosApi *VideosApiService

	WechatPagesApi *WechatPagesApiService

	WechatPagesCustomApi *WechatPagesCustomApiService

	WildcardsApi *WildcardsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Marketing API API v3.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(sdkConfig *config.SDKConfig) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type AdDiagnosisApiService

type AdDiagnosisApiService service

func (*AdDiagnosisApiService) Get

func (a *AdDiagnosisApiService) Get(ctx context.Context, accountId int64, adgroupIdList []int64, localVarOptionals *AdDiagnosisGetOpts) (AdDiagnosisGetResponseData, http.Header, error)

type AdDiagnosisGetOpts

type AdDiagnosisGetOpts struct {
	Fields optional.Interface
}

type AdcreativePreviewsApiService added in v1.7.42

type AdcreativePreviewsApiService service

func (*AdcreativePreviewsApiService) Add added in v1.7.42

func (a *AdcreativePreviewsApiService) Add(ctx context.Context, data AdcreativePreviewsAddRequest) (AdcreativePreviewsAddResponseData, http.Header, error)

AdcreativePreviewsApiService 绑定广告预览受众

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdcreativePreviewsAddResponse

func (*AdcreativePreviewsApiService) Get added in v1.7.42

func (a *AdcreativePreviewsApiService) Get(ctx context.Context, accountId int64, filtering []FilteringStruct, localVarOptionals *AdcreativePreviewsGetOpts) (AdcreativePreviewsGetResponseData, http.Header, error)

type AdcreativePreviewsGetOpts added in v1.7.42

type AdcreativePreviewsGetOpts struct {
	Fields optional.Interface
}

type AdcreativePreviewsQrcodeApiService added in v1.7.42

type AdcreativePreviewsQrcodeApiService service

func (*AdcreativePreviewsQrcodeApiService) Get added in v1.7.42

func (a *AdcreativePreviewsQrcodeApiService) Get(ctx context.Context, accountId int64, adgroupId int64, localVarOptionals *AdcreativePreviewsQrcodeGetOpts) (AdcreativePreviewsQrcodeGetResponseData, http.Header, error)

type AdcreativePreviewsQrcodeGetOpts added in v1.7.42

type AdcreativePreviewsQrcodeGetOpts struct {
	Fields optional.Interface
}

type AdgroupNegativewordsApiService

type AdgroupNegativewordsApiService service

func (*AdgroupNegativewordsApiService) Add

func (a *AdgroupNegativewordsApiService) Add(ctx context.Context, data AdgroupNegativewordsAddRequest) (AdgroupNegativewordsAddResponseData, http.Header, error)

AdgroupNegativewordsApiService 新增广告组否定词

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupNegativewordsAddResponse

func (*AdgroupNegativewordsApiService) Get

func (a *AdgroupNegativewordsApiService) Get(ctx context.Context, accountId int64, adgroupIds []int64, localVarOptionals *AdgroupNegativewordsGetOpts) (AdgroupNegativewordsGetResponseData, http.Header, error)

func (*AdgroupNegativewordsApiService) Update

func (a *AdgroupNegativewordsApiService) Update(ctx context.Context, data AdgroupNegativewordsUpdateRequest) (AdgroupNegativewordsUpdateResponseData, http.Header, error)

AdgroupNegativewordsApiService 修改广告组否定词

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupNegativewordsUpdateResponse

type AdgroupNegativewordsGetOpts

type AdgroupNegativewordsGetOpts struct {
	Fields optional.Interface
}

type AdgroupsApiService

type AdgroupsApiService service

func (*AdgroupsApiService) Add

func (a *AdgroupsApiService) Add(ctx context.Context, data AdgroupsAddRequest) (AdgroupsAddResponseData, http.Header, error)

AdgroupsApiService 创建广告组

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupsAddResponse

func (*AdgroupsApiService) Delete

func (a *AdgroupsApiService) Delete(ctx context.Context, data AdgroupsDeleteRequest) (AdgroupsDeleteResponseData, http.Header, error)

AdgroupsApiService 删除广告组

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupsDeleteResponse

func (*AdgroupsApiService) Get

func (a *AdgroupsApiService) Get(ctx context.Context, accountId int64, localVarOptionals *AdgroupsGetOpts) (AdgroupsGetResponseData, http.Header, error)

func (*AdgroupsApiService) Update

func (a *AdgroupsApiService) Update(ctx context.Context, data AdgroupsUpdateRequest) (AdgroupsUpdateResponseData, http.Header, error)

AdgroupsApiService 更新广告组

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupsUpdateResponse

func (*AdgroupsApiService) UpdateBidAmount added in v1.7.43

func (a *AdgroupsApiService) UpdateBidAmount(ctx context.Context, data AdgroupsUpdateBidAmountRequest) (AdgroupsUpdateBidAmountResponseData, http.Header, error)

AdgroupsApiService 更新广告组出价

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupsUpdateBidAmountResponse

func (*AdgroupsApiService) UpdateConfiguredStatus added in v1.7.43

func (a *AdgroupsApiService) UpdateConfiguredStatus(ctx context.Context, data AdgroupsUpdateConfiguredStatusRequest) (AdgroupsUpdateConfiguredStatusResponseData, http.Header, error)

AdgroupsApiService 更新广告组状态

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupsUpdateConfiguredStatusResponse

func (*AdgroupsApiService) UpdateDailyBudget added in v1.7.43

func (a *AdgroupsApiService) UpdateDailyBudget(ctx context.Context, data AdgroupsUpdateDailyBudgetRequest) (AdgroupsUpdateDailyBudgetResponseData, http.Header, error)

AdgroupsApiService 更新广告组日限额信息

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AdgroupsUpdateDailyBudgetResponse

type AdgroupsGetOpts

type AdgroupsGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	IsDeleted optional.Bool
	Fields    optional.Interface
}

type AgencyRealtimeCostApiService

type AgencyRealtimeCostApiService service

func (*AgencyRealtimeCostApiService) Get

func (a *AgencyRealtimeCostApiService) Get(ctx context.Context, advertiserId int64, localVarOptionals *AgencyRealtimeCostGetOpts) (AgencyRealtimeCostGetResponseData, http.Header, error)

type AgencyRealtimeCostGetOpts

type AgencyRealtimeCostGetOpts struct {
	Fields optional.Interface
}

type AndroidChannelApiService

type AndroidChannelApiService service

func (*AndroidChannelApiService) Get

func (a *AndroidChannelApiService) Get(ctx context.Context, accountId int64, appId int64, localVarOptionals *AndroidChannelGetOpts) (AndroidChannelGetResponseData, http.Header, error)

type AndroidChannelGetOpts

type AndroidChannelGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type AsyncReportFilesApiService

type AsyncReportFilesApiService service

func (*AsyncReportFilesApiService) Get

func (a *AsyncReportFilesApiService) Get(ctx context.Context, accountId int64, taskId int64, fileId int64, localVarOptionals *AsyncReportFilesGetOpts) (string, http.Header, error)

type AsyncReportFilesGetOpts

type AsyncReportFilesGetOpts struct {
	Fields optional.Interface
}

type AsyncReportsApiService

type AsyncReportsApiService service

func (*AsyncReportsApiService) Add

func (a *AsyncReportsApiService) Add(ctx context.Context, data AsyncReportsAddRequest) (AsyncReportsAddResponseData, http.Header, error)

AsyncReportsApiService 创建异步报表任务

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AsyncReportsAddResponse

func (*AsyncReportsApiService) Get

func (a *AsyncReportsApiService) Get(ctx context.Context, accountId int64, localVarOptionals *AsyncReportsGetOpts) (AsyncReportsGetResponseData, http.Header, error)

type AsyncReportsGetOpts

type AsyncReportsGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type AudienceGrantRelationsApiService

type AudienceGrantRelationsApiService service

func (*AudienceGrantRelationsApiService) Add

func (a *AudienceGrantRelationsApiService) Add(ctx context.Context, data AudienceGrantRelationsAddRequest) (interface{}, http.Header, error)

AudienceGrantRelationsApiService 添加人群授权

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return AudienceGrantRelationsAddResponse

func (*AudienceGrantRelationsApiService) Get

func (a *AudienceGrantRelationsApiService) Get(ctx context.Context, accountId int64, localVarOptionals *AudienceGrantRelationsGetOpts) (AudienceGrantRelationsGetResponseData, http.Header, error)

type AudienceGrantRelationsGetOpts

type AudienceGrantRelationsGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type BatchRequestsApiService added in v1.7.43

type BatchRequestsApiService service

func (*BatchRequestsApiService) Add added in v1.7.43

func (a *BatchRequestsApiService) Add(ctx context.Context, data BatchRequestsAddRequest) (BatchRequestsAddResponseData, http.Header, error)

BatchRequestsApiService 创建批量请求

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return BatchRequestsAddResponse

type BidwordApiService

type BidwordApiService service

func (*BidwordApiService) Add

func (a *BidwordApiService) Add(ctx context.Context, data BidwordAddRequest) (BidwordAddResponseData, http.Header, error)

BidwordApiService 创建关键词

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return BidwordAddResponse

func (*BidwordApiService) Delete

func (a *BidwordApiService) Delete(ctx context.Context, data BidwordDeleteRequest) (BidwordDeleteResponseData, http.Header, error)

BidwordApiService 删除关键词

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return BidwordDeleteResponse

func (*BidwordApiService) Get

func (a *BidwordApiService) Get(ctx context.Context, accountId int64, localVarOptionals *BidwordGetOpts) (BidwordGetResponseData, http.Header, error)

func (*BidwordApiService) Update

func (a *BidwordApiService) Update(ctx context.Context, data BidwordUpdateRequest) (BidwordUpdateResponseData, http.Header, error)

BidwordApiService 更新关键词

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return BidwordUpdateResponse

type BidwordFlowApiService

type BidwordFlowApiService service

func (*BidwordFlowApiService) Get

func (a *BidwordFlowApiService) Get(ctx context.Context, accountId int64, bidwordList []string, localVarOptionals *BidwordFlowGetOpts) (BidwordFlowGetResponseData, http.Header, error)

type BidwordFlowGetOpts

type BidwordFlowGetOpts struct {
	OrderBy optional.Interface
	Fields  optional.Interface
}

type BidwordGetOpts

type BidwordGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	IsDeleted optional.Bool
	Fields    optional.Interface
}

type BrandApiService

type BrandApiService service

func (*BrandApiService) Add

func (a *BrandApiService) Add(ctx context.Context, accountId int64, name string, brandImageFile *os.File) (BrandAddResponseData, http.Header, error)

BrandApiService 创建品牌形象

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param accountId
  • @param name
  • @param brandImageFile

@return BrandAddResponse

func (*BrandApiService) Get

func (a *BrandApiService) Get(ctx context.Context, accountId int64, localVarOptionals *BrandGetOpts) (BrandGetResponseData, http.Header, error)

type BrandGetOpts

type BrandGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type BusinessPointApiService

type BusinessPointApiService service

func (*BusinessPointApiService) Get

func (a *BusinessPointApiService) Get(ctx context.Context, siteSets []string, accountId int64, localVarOptionals *BusinessPointGetOpts) (BusinessPointGetResponseData, http.Header, error)

type BusinessPointGetOpts

type BusinessPointGetOpts struct {
	Fields optional.Interface
}

type ConversionsApiService

type ConversionsApiService service

func (*ConversionsApiService) Add

func (a *ConversionsApiService) Add(ctx context.Context, data ConversionsAddRequest) (ConversionsAddResponseData, http.Header, error)

ConversionsApiService 新增转化归因

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ConversionsAddResponse

func (*ConversionsApiService) Get

func (a *ConversionsApiService) Get(ctx context.Context, accountId int64, localVarOptionals *ConversionsGetOpts) (ConversionsGetResponseData, http.Header, error)

type ConversionsGetOpts

type ConversionsGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type CreativeTemplateApiService

type CreativeTemplateApiService service

func (*CreativeTemplateApiService) Get

func (a *CreativeTemplateApiService) Get(ctx context.Context, accountId int64, marketingGoal string, marketingTargetType string, marketingCarrierType string, deliveryMode string, localVarOptionals *CreativeTemplateGetOpts) (CreativeTemplateGetResponseData, http.Header, error)

type CreativeTemplateGetOpts

type CreativeTemplateGetOpts struct {
	MarketingSubGoal     optional.String
	AutomaticSiteEnabled optional.Bool
	SiteSet              optional.Interface
	DynamicCreativeType  optional.String
	CreativeTemplateId   optional.Int64
	Fields               optional.Interface
}

type CreativeTemplateListApiService

type CreativeTemplateListApiService service

func (*CreativeTemplateListApiService) Get

func (a *CreativeTemplateListApiService) Get(ctx context.Context, accountId int64, marketingGoal string, marketingTargetType string, marketingCarrierType string, localVarOptionals *CreativeTemplateListGetOpts) (CreativeTemplateListGetResponseData, http.Header, error)

type CreativeTemplateListGetOpts

type CreativeTemplateListGetOpts struct {
	MarketingSubGoal        optional.String
	SiteSet                 optional.String
	DynamicAbilityType      optional.String
	WechatSceneSpecPosition optional.Interface
	CreativeTemplateId      optional.Int64
	Page                    optional.Int64
	PageSize                optional.Int64
	Fields                  optional.Interface
}

type CustomAudienceFilesAddOpts

type CustomAudienceFilesAddOpts struct {
	OperationType optional.String
	OpenAppId     optional.String
}

type CustomAudienceFilesApiService

type CustomAudienceFilesApiService service

func (*CustomAudienceFilesApiService) Add

func (a *CustomAudienceFilesApiService) Add(ctx context.Context, accountId int64, audienceId int64, userIdType string, file *os.File, localVarOptionals *CustomAudienceFilesAddOpts) (CustomAudienceFilesAddResponseData, http.Header, error)

func (*CustomAudienceFilesApiService) Get

func (a *CustomAudienceFilesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *CustomAudienceFilesGetOpts) (CustomAudienceFilesGetResponseData, http.Header, error)

type CustomAudienceFilesGetOpts

type CustomAudienceFilesGetOpts struct {
	AudienceId           optional.Int64
	CustomAudienceFileId optional.Int64
	Page                 optional.Int64
	PageSize             optional.Int64
	Fields               optional.Interface
}

type CustomAudiencesApiService

type CustomAudiencesApiService service

func (*CustomAudiencesApiService) Add

func (a *CustomAudiencesApiService) Add(ctx context.Context, data CustomAudiencesAddRequest) (CustomAudiencesAddResponseData, http.Header, error)

CustomAudiencesApiService 创建客户人群

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return CustomAudiencesAddResponse

func (*CustomAudiencesApiService) Delete

func (a *CustomAudiencesApiService) Delete(ctx context.Context, data CustomAudiencesDeleteRequest) (interface{}, http.Header, error)

CustomAudiencesApiService 删除客户人群

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return CustomAudiencesDeleteResponse

func (*CustomAudiencesApiService) Get

func (a *CustomAudiencesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *CustomAudiencesGetOpts) (CustomAudiencesGetResponseData, http.Header, error)

type CustomAudiencesGetOpts

type CustomAudiencesGetOpts struct {
	AudienceId optional.Int64
	Page       optional.Int64
	PageSize   optional.Int64
	Fields     optional.Interface
}

type DailyBalanceReportApiService

type DailyBalanceReportApiService service

func (*DailyBalanceReportApiService) Get

func (a *DailyBalanceReportApiService) Get(ctx context.Context, accountId int64, dateRange DateRangeTransaction, localVarOptionals *DailyBalanceReportGetOpts) (DailyBalanceReportGetResponseData, http.Header, error)

type DailyBalanceReportGetOpts

type DailyBalanceReportGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type DailyReportsApiService

type DailyReportsApiService service

func (*DailyReportsApiService) Get

func (a *DailyReportsApiService) Get(ctx context.Context, accountId int64, level string, dateRange ReportDateRange, groupBy []string, fields []string, localVarOptionals *DailyReportsGetOpts) (DailyReportsGetResponseData, http.Header, error)

type DailyReportsGetOpts

type DailyReportsGetOpts struct {
	Filtering optional.Interface
	OrderBy   optional.Interface
	TimeLine  optional.String
	Page      optional.Int64
	PageSize  optional.Int64
}

type DynamicCreativeReviewResultsApiService added in v1.7.42

type DynamicCreativeReviewResultsApiService service

func (*DynamicCreativeReviewResultsApiService) Get added in v1.7.42

func (a *DynamicCreativeReviewResultsApiService) Get(ctx context.Context, accountId int64, dynamicCreativeIdList []int64, localVarOptionals *DynamicCreativeReviewResultsGetOpts) (DynamicCreativeReviewResultsGetResponseData, http.Header, error)

type DynamicCreativeReviewResultsGetOpts added in v1.7.42

type DynamicCreativeReviewResultsGetOpts struct {
	Fields optional.Interface
}

type DynamicCreativesApiService

type DynamicCreativesApiService service

func (*DynamicCreativesApiService) Add

func (a *DynamicCreativesApiService) Add(ctx context.Context, data DynamicCreativesAddRequest) (DynamicCreativesAddResponseData, http.Header, error)

DynamicCreativesApiService 创建动态创意

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DynamicCreativesAddResponse

func (*DynamicCreativesApiService) Delete

func (a *DynamicCreativesApiService) Delete(ctx context.Context, data DynamicCreativesDeleteRequest) (DynamicCreativesDeleteResponseData, http.Header, error)

DynamicCreativesApiService 删除广告创意

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DynamicCreativesDeleteResponse

func (*DynamicCreativesApiService) Get

func (a *DynamicCreativesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *DynamicCreativesGetOpts) (DynamicCreativesGetResponseData, http.Header, error)

func (*DynamicCreativesApiService) Update

func (a *DynamicCreativesApiService) Update(ctx context.Context, data DynamicCreativesUpdateRequest) (DynamicCreativesUpdateResponseData, http.Header, error)

DynamicCreativesApiService 更新创意

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return DynamicCreativesUpdateResponse

type DynamicCreativesGetOpts

type DynamicCreativesGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
	IsDeleted optional.Bool
}

type EstimationApiService

type EstimationApiService service

func (*EstimationApiService) Get

func (a *EstimationApiService) Get(ctx context.Context, data EstimationGetRequest) (EstimationGetResponseData, http.Header, error)

EstimationApiService 预估覆盖人数

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return EstimationGetResponse

type ExtendPackageApiService

type ExtendPackageApiService service

func (*ExtendPackageApiService) Add

func (a *ExtendPackageApiService) Add(ctx context.Context, data ExtendPackageAddRequest) (ExtendPackageAddResponseData, http.Header, error)

ExtendPackageApiService 创建应用分包

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ExtendPackageAddResponse

func (*ExtendPackageApiService) Get

func (a *ExtendPackageApiService) Get(ctx context.Context, accountId int64, packageId int64, localVarOptionals *ExtendPackageGetOpts) (ExtendPackageGetResponseData, http.Header, error)

func (*ExtendPackageApiService) Update

func (a *ExtendPackageApiService) Update(ctx context.Context, data ExtendPackageUpdateRequest) (ExtendPackageUpdateResponseData, http.Header, error)

ExtendPackageApiService 更新应用子包版本

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ExtendPackageUpdateResponse

type ExtendPackageGetOpts

type ExtendPackageGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type FundStatementsDetailedApiService

type FundStatementsDetailedApiService service

func (*FundStatementsDetailedApiService) Get

func (a *FundStatementsDetailedApiService) Get(ctx context.Context, advertiserId int64, fundType string, dateRange DateRangeTransaction, localVarOptionals *FundStatementsDetailedGetOpts) (FundStatementsDetailedGetResponseData, http.Header, error)

type FundStatementsDetailedGetOpts

type FundStatementsDetailedGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type FundTransferApiService

type FundTransferApiService service

func (*FundTransferApiService) Add

func (a *FundTransferApiService) Add(ctx context.Context, data FundTransferAddRequest) (FundTransferAddResponseData, http.Header, error)

FundTransferApiService 发起代理商与子客户之间转账

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return FundTransferAddResponse

type FundsApiService

type FundsApiService service

func (*FundsApiService) Get

func (a *FundsApiService) Get(ctx context.Context, advertiserId int64, localVarOptionals *FundsGetOpts) (FundsGetResponseData, http.Header, error)

type FundsGetOpts

type FundsGetOpts struct {
	Fields optional.Interface
}

type GameFeatureApiService

type GameFeatureApiService service

func (*GameFeatureApiService) Add

func (a *GameFeatureApiService) Add(ctx context.Context, data GameFeatureAddRequest) (GameFeatureAddResponseData, http.Header, error)

GameFeatureApiService 新增游戏App特征

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return GameFeatureAddResponse

func (*GameFeatureApiService) Get

func (a *GameFeatureApiService) Get(ctx context.Context, accountId int64, marketingTargetType string, marketingTargetDetailId string, localVarOptionals *GameFeatureGetOpts) (GameFeatureGetResponseData, http.Header, error)

type GameFeatureGetOpts

type GameFeatureGetOpts struct {
	Fields optional.Interface
}

type GameFeatureTagsApiService

type GameFeatureTagsApiService service

func (*GameFeatureTagsApiService) Get

func (a *GameFeatureTagsApiService) Get(ctx context.Context, accountId int64, type_ string, localVarOptionals *GameFeatureTagsGetOpts) (GameFeatureTagsGetResponseData, http.Header, error)

type GameFeatureTagsGetOpts

type GameFeatureTagsGetOpts struct {
	Fields optional.Interface
}

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type HourlyReportsApiService

type HourlyReportsApiService service

func (*HourlyReportsApiService) Get

func (a *HourlyReportsApiService) Get(ctx context.Context, accountId int64, level string, dateRange ReportDateRange, groupBy []string, fields []string, localVarOptionals *HourlyReportsGetOpts) (HourlyReportsGetResponseData, http.Header, error)

type HourlyReportsGetOpts

type HourlyReportsGetOpts struct {
	Filtering optional.Interface
	OrderBy   optional.Interface
	TimeLine  optional.String
	Page      optional.Int64
	PageSize  optional.Int64
}

type ImagesAddOpts

type ImagesAddOpts struct {
	ImageFile      optional.Interface
	Bytes          optional.String
	ImageUsage     optional.String
	Description    optional.String
	ResizeWidth    optional.Int64
	ResizeHeight   optional.Int64
	ResizeFileSize optional.Int64
}

type ImagesApiService

type ImagesApiService service

func (*ImagesApiService) Add

func (a *ImagesApiService) Add(ctx context.Context, advertiserId int64, uploadType string, imageSignature string, localVarOptionals *ImagesAddOpts) (ImagesAddResponseData, http.Header, error)

func (*ImagesApiService) Delete

func (a *ImagesApiService) Delete(ctx context.Context, data ImagesDeleteRequest) (ImagesDeleteResponseData, http.Header, error)

ImagesApiService 删除图片

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ImagesDeleteResponse

func (*ImagesApiService) Get

func (a *ImagesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *ImagesGetOpts) (ImagesGetResponseData, http.Header, error)

func (*ImagesApiService) Update

func (a *ImagesApiService) Update(ctx context.Context, data ImagesUpdateRequest) (ImagesUpdateResponseData, http.Header, error)

ImagesApiService 修改图片信息

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ImagesUpdateResponse

type ImagesGetOpts

type ImagesGetOpts struct {
	Filtering        optional.Interface
	Page             optional.Int64
	PageSize         optional.Int64
	LabelId          optional.Int64
	BusinessScenario optional.Int64
	Fields           optional.Interface
}

type KeywordRecommendApiService

type KeywordRecommendApiService service

func (*KeywordRecommendApiService) Get

func (a *KeywordRecommendApiService) Get(ctx context.Context, siteSets []string, recommendCategory string, accountId int64, systemIndustryId int64, localVarOptionals *KeywordRecommendGetOpts) (KeywordRecommendGetResponseData, http.Header, error)

type KeywordRecommendGetOpts

type KeywordRecommendGetOpts struct {
	QueryWord         optional.Interface
	BusinessPointId   optional.String
	AdgroupId         optional.Int64
	CampaignId        optional.Int64
	IncludeWord       optional.Interface
	ExcludeWord       optional.Interface
	FilterAdWord      optional.Bool
	FilterAccountWord optional.Bool
	RecommendReasons  optional.Interface
	Province          optional.Interface
	City              optional.Interface
	OrderBy           optional.Interface
	Fields            optional.Interface
}

type LocalStoresAddressParsingResultApiService

type LocalStoresAddressParsingResultApiService service

func (*LocalStoresAddressParsingResultApiService) Get

func (a *LocalStoresAddressParsingResultApiService) Get(ctx context.Context, data LocalStoresAddressParsingResultGetRequest) (LocalStoresAddressParsingResultGetResponseData, http.Header, error)

LocalStoresAddressParsingResultApiService 解析门店地址

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return LocalStoresAddressParsingResultGetResponse

type LocalStoresApiService

type LocalStoresApiService service

func (*LocalStoresApiService) Add

func (a *LocalStoresApiService) Add(ctx context.Context, data LocalStoresAddRequest) (LocalStoresAddResponseData, http.Header, error)

LocalStoresApiService 批量录入门店

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return LocalStoresAddResponse

func (*LocalStoresApiService) Delete

func (a *LocalStoresApiService) Delete(ctx context.Context, data LocalStoresDeleteRequest) (LocalStoresDeleteResponseData, http.Header, error)

LocalStoresApiService 批量删除门店信息

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return LocalStoresDeleteResponse

func (*LocalStoresApiService) Get

func (a *LocalStoresApiService) Get(ctx context.Context, accountId int64, localVarOptionals *LocalStoresGetOpts) (LocalStoresGetResponseData, http.Header, error)

func (*LocalStoresApiService) Update

func (a *LocalStoresApiService) Update(ctx context.Context, data LocalStoresUpdateRequest) (LocalStoresUpdateResponseData, http.Header, error)

LocalStoresApiService 更新门店信息

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return LocalStoresUpdateResponse

type LocalStoresCategoriesApiService

type LocalStoresCategoriesApiService service

func (*LocalStoresCategoriesApiService) Get

func (a *LocalStoresCategoriesApiService) Get(ctx context.Context, localVarOptionals *LocalStoresCategoriesGetOpts) (LocalStoresCategoriesGetResponseData, http.Header, error)

type LocalStoresCategoriesGetOpts

type LocalStoresCategoriesGetOpts struct {
	VerticalId optional.Int64
	Fields     optional.Interface
}

type LocalStoresGetOpts

type LocalStoresGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type LocalStoresSearchInfoApiService

type LocalStoresSearchInfoApiService service

func (*LocalStoresSearchInfoApiService) Get

func (a *LocalStoresSearchInfoApiService) Get(ctx context.Context, accountId int64, keyWord string, localVarOptionals *LocalStoresSearchInfoGetOpts) (LocalStoresSearchInfoGetResponseData, http.Header, error)

type LocalStoresSearchInfoGetOpts

type LocalStoresSearchInfoGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type LocalStoresWxpayMerchantsApiService

type LocalStoresWxpayMerchantsApiService service

func (*LocalStoresWxpayMerchantsApiService) Get

func (a *LocalStoresWxpayMerchantsApiService) Get(ctx context.Context, accountId int64, localVarOptionals *LocalStoresWxpayMerchantsGetOpts) (LocalStoresWxpayMerchantsGetResponseData, http.Header, error)

type LocalStoresWxpayMerchantsGetOpts

type LocalStoresWxpayMerchantsGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type MarketingTargetAssetsApiService

type MarketingTargetAssetsApiService service

func (*MarketingTargetAssetsApiService) Get

func (a *MarketingTargetAssetsApiService) Get(ctx context.Context, accountId int64, marketingTargetType string, localVarOptionals *MarketingTargetAssetsGetOpts) (MarketingTargetAssetsGetResponseData, http.Header, error)

type MarketingTargetAssetsGetOpts

type MarketingTargetAssetsGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type MarketingTargetTypesApiService

type MarketingTargetTypesApiService service

func (*MarketingTargetTypesApiService) Get

func (a *MarketingTargetTypesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *MarketingTargetTypesGetOpts) (MarketingTargetTypesGetResponseData, http.Header, error)

type MarketingTargetTypesGetOpts

type MarketingTargetTypesGetOpts struct {
	Fields optional.Interface
}

type MaterialLabelsApiService

type MaterialLabelsApiService service

func (*MaterialLabelsApiService) Add

func (a *MaterialLabelsApiService) Add(ctx context.Context, data MaterialLabelsAddRequest) (MaterialLabelsAddResponseData, http.Header, error)

MaterialLabelsApiService 创建素材标签

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return MaterialLabelsAddResponse

func (*MaterialLabelsApiService) Bind

func (a *MaterialLabelsApiService) Bind(ctx context.Context, data MaterialLabelsBindRequest) (MaterialLabelsBindResponseData, http.Header, error)

MaterialLabelsApiService 绑定标签素材关联关系

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return MaterialLabelsBindResponse

func (*MaterialLabelsApiService) Delete

func (a *MaterialLabelsApiService) Delete(ctx context.Context, data MaterialLabelsDeleteRequest) (interface{}, http.Header, error)

MaterialLabelsApiService 删除素材标签

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return MaterialLabelsDeleteResponse

func (*MaterialLabelsApiService) Get

func (a *MaterialLabelsApiService) Get(ctx context.Context, accountId int64, localVarOptionals *MaterialLabelsGetOpts) (MaterialLabelsGetResponseData, http.Header, error)

func (*MaterialLabelsApiService) Update

func (a *MaterialLabelsApiService) Update(ctx context.Context, data MaterialLabelsUpdateRequest) (interface{}, http.Header, error)

MaterialLabelsApiService 更新素材标签

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return MaterialLabelsUpdateResponse

type MaterialLabelsGetOpts

type MaterialLabelsGetOpts struct {
	LabelId                optional.Int64
	LabelName              optional.String
	FirstLabelLevelIdList  optional.Interface
	SecondLabelLevelIdList optional.Interface
	NeedCount              optional.Bool
	BusinessScenario       optional.String
	OrderBy                optional.Interface
	Page                   optional.Int64
	PageSize               optional.Int64
	Fields                 optional.Interface
}

type MergeFundTypeDailyBalanceReportApiService

type MergeFundTypeDailyBalanceReportApiService service

func (*MergeFundTypeDailyBalanceReportApiService) Get

func (a *MergeFundTypeDailyBalanceReportApiService) Get(ctx context.Context, accountId int64, dateRange DateRangeTransaction, localVarOptionals *MergeFundTypeDailyBalanceReportGetOpts) (MergeFundTypeDailyBalanceReportGetResponseData, http.Header, error)

type MergeFundTypeDailyBalanceReportGetOpts

type MergeFundTypeDailyBalanceReportGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type MergeFundTypeFundStatementsDetailedApiService

type MergeFundTypeFundStatementsDetailedApiService service

func (*MergeFundTypeFundStatementsDetailedApiService) Get

func (a *MergeFundTypeFundStatementsDetailedApiService) Get(ctx context.Context, advertiserId int64, fundType string, dateRange DateRangeTransaction, localVarOptionals *MergeFundTypeFundStatementsDetailedGetOpts) (MergeFundTypeFundStatementsDetailedGetResponseData, http.Header, error)

type MergeFundTypeFundStatementsDetailedGetOpts

type MergeFundTypeFundStatementsDetailedGetOpts struct {
	Page     optional.Int64
	PageSize optional.Int64
	Fields   optional.Interface
}

type MergeFundTypeFundsApiService

type MergeFundTypeFundsApiService service

func (*MergeFundTypeFundsApiService) Get

func (a *MergeFundTypeFundsApiService) Get(ctx context.Context, advertiserId int64, localVarOptionals *MergeFundTypeFundsGetOpts) (MergeFundTypeFundsGetResponseData, http.Header, error)

type MergeFundTypeFundsGetOpts

type MergeFundTypeFundsGetOpts struct {
	Fields optional.Interface
}

type MergeFundTypeSubcustomerTransferApiService

type MergeFundTypeSubcustomerTransferApiService service

func (*MergeFundTypeSubcustomerTransferApiService) Add

func (a *MergeFundTypeSubcustomerTransferApiService) Add(ctx context.Context, data MergeFundTypeSubcustomerTransferAddRequest) (MergeFundTypeSubcustomerTransferAddResponseData, http.Header, error)

MergeFundTypeSubcustomerTransferApiService 资金合并类型同商务管家子客间转账

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return MergeFundTypeSubcustomerTransferAddResponse

type OauthApiService

type OauthApiService service

func (*OauthApiService) Authorize

func (a *OauthApiService) Authorize(ctx context.Context, clientId int64, redirectUri string, localVarOptionals *OauthAuthorizeOpts) (string, http.Header, error)

func (*OauthApiService) Token

func (a *OauthApiService) Token(ctx context.Context, clientId int64, clientSecret string, grantType string, localVarOptionals *OauthTokenOpts) (OauthTokenResponseData, http.Header, error)

type OauthAuthorizeOpts

type OauthAuthorizeOpts struct {
	State       optional.String
	Scope       optional.String
	AccountType optional.String
	Fields      optional.Interface
}

type OauthTokenOpts

type OauthTokenOpts struct {
	AuthorizationCode optional.String
	RefreshToken      optional.String
	RedirectUri       optional.String
	Fields            optional.Interface
}

type PagesApiService

type PagesApiService service

func (*PagesApiService) Get

func (a *PagesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *PagesGetOpts) (PagesGetResponseData, http.Header, error)

type PagesGetOpts

type PagesGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type ProfilesApiService added in v1.7.41

type ProfilesApiService service

func (*ProfilesApiService) Add added in v1.7.41

func (a *ProfilesApiService) Add(ctx context.Context, data ProfilesAddRequest) (ProfilesAddResponseData, http.Header, error)

ProfilesApiService 创建朋友圈头像昵称跳转页

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ProfilesAddResponse

func (*ProfilesApiService) Delete added in v1.7.41

func (a *ProfilesApiService) Delete(ctx context.Context, data ProfilesDeleteRequest) (ProfilesDeleteResponseData, http.Header, error)

ProfilesApiService 删除朋友圈头像昵称跳转页

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ProfilesDeleteResponse

func (*ProfilesApiService) Get added in v1.7.41

func (a *ProfilesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *ProfilesGetOpts) (ProfilesGetResponseData, http.Header, error)

type ProfilesGetOpts added in v1.7.41

type ProfilesGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type ProgrammedApiService

type ProgrammedApiService service

func (*ProgrammedApiService) Add

func (a *ProgrammedApiService) Add(ctx context.Context, data ProgrammedAddRequest) (ProgrammedAddResponseData, http.Header, error)

ProgrammedApiService 创建模板预览接口

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ProgrammedAddResponse

func (*ProgrammedApiService) Get

func (a *ProgrammedApiService) Get(ctx context.Context, data ProgrammedGetRequest) (ProgrammedGetResponseData, http.Header, error)

ProgrammedApiService 获取模板预览接口

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ProgrammedGetResponse

func (*ProgrammedApiService) Update

func (a *ProgrammedApiService) Update(ctx context.Context, data ProgrammedUpdateRequest) (ProgrammedUpdateResponseData, http.Header, error)

ProgrammedApiService 更新模板预览接口

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ProgrammedUpdateResponse

type ProgrammedTemplateApiService

type ProgrammedTemplateApiService service

func (*ProgrammedTemplateApiService) Get

func (a *ProgrammedTemplateApiService) Get(ctx context.Context, data ProgrammedTemplateGetRequest) (ProgrammedTemplateGetResponseData, http.Header, error)

ProgrammedTemplateApiService 获取模板列表接口

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return ProgrammedTemplateGetResponse

type RealtimeCostApiService

type RealtimeCostApiService service

func (*RealtimeCostApiService) Get

func (a *RealtimeCostApiService) Get(ctx context.Context, advertiserId int64, level string, date string, localVarOptionals *RealtimeCostGetOpts) (RealtimeCostGetResponseData, http.Header, error)

type RealtimeCostGetOpts

type RealtimeCostGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type SubcustomerTransferApiService

type SubcustomerTransferApiService service

func (*SubcustomerTransferApiService) Add

func (a *SubcustomerTransferApiService) Add(ctx context.Context, data SubcustomerTransferAddRequest) (SubcustomerTransferAddResponseData, http.Header, error)

SubcustomerTransferApiService 同商务管家子客间转账

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return SubcustomerTransferAddResponse

type TargetingTagReportsApiService

type TargetingTagReportsApiService service

func (*TargetingTagReportsApiService) Get

func (a *TargetingTagReportsApiService) Get(ctx context.Context, accountId int64, type_ string, level string, dateRange ReportDateRange, groupBy []string, fields []string, localVarOptionals *TargetingTagReportsGetOpts) (TargetingTagReportsGetResponseData, http.Header, error)

type TargetingTagReportsGetOpts

type TargetingTagReportsGetOpts struct {
	Filtering optional.Interface
	OrderBy   optional.Interface
	TimeLine  optional.String
	Page      optional.Int64
	PageSize  optional.Int64
}

type UnionPositionPackagesApiService

type UnionPositionPackagesApiService service

func (*UnionPositionPackagesApiService) Add

func (a *UnionPositionPackagesApiService) Add(ctx context.Context, data UnionPositionPackagesAddRequest) (UnionPositionPackagesAddResponseData, http.Header, error)

UnionPositionPackagesApiService 联盟流量包模块

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return UnionPositionPackagesAddResponse

func (*UnionPositionPackagesApiService) Delete

func (a *UnionPositionPackagesApiService) Delete(ctx context.Context, data UnionPositionPackagesDeleteRequest) (interface{}, http.Header, error)

UnionPositionPackagesApiService 联盟流量包删除接口

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return UnionPositionPackagesDeleteResponse

func (*UnionPositionPackagesApiService) Get

func (a *UnionPositionPackagesApiService) Get(ctx context.Context, accountId int64, localVarOptionals *UnionPositionPackagesGetOpts) (UnionPositionPackagesGetResponseData, http.Header, error)

func (*UnionPositionPackagesApiService) Update

func (a *UnionPositionPackagesApiService) Update(ctx context.Context, data UnionPositionPackagesUpdateRequest) (UnionPositionPackagesUpdateResponseData, http.Header, error)

UnionPositionPackagesApiService 联盟流量包模块

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return UnionPositionPackagesUpdateResponse

type UnionPositionPackagesGetOpts

type UnionPositionPackagesGetOpts struct {
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type VideosAddOpts

type VideosAddOpts struct {
	Description          optional.String
	AdcreativeTemplateId optional.Int64
}

type VideosApiService

type VideosApiService service

func (*VideosApiService) Add

func (a *VideosApiService) Add(ctx context.Context, accountId int64, videoFile *os.File, signature string, localVarOptionals *VideosAddOpts) (VideosAddResponseData, http.Header, error)

func (*VideosApiService) Delete

func (a *VideosApiService) Delete(ctx context.Context, data VideosDeleteRequest) (VideosDeleteResponseData, http.Header, error)

VideosApiService 删除视频

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return VideosDeleteResponse

func (*VideosApiService) Get

func (a *VideosApiService) Get(ctx context.Context, accountId int64, localVarOptionals *VideosGetOpts) (VideosGetResponseData, http.Header, error)

func (*VideosApiService) Update

func (a *VideosApiService) Update(ctx context.Context, data VideosUpdateRequest) (VideosUpdateResponseData, http.Header, error)

VideosApiService 修改视频信息

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return VideosUpdateResponse

type VideosGetOpts

type VideosGetOpts struct {
	Filtering        optional.Interface
	Page             optional.Int64
	PageSize         optional.Int64
	LabelId          optional.Int64
	BusinessScenario optional.Int64
	Fields           optional.Interface
}

type WechatPagesApiService

type WechatPagesApiService service

func (*WechatPagesApiService) Add

func (a *WechatPagesApiService) Add(ctx context.Context, data WechatPagesAddRequest) (WechatPagesAddResponseData, http.Header, error)

WechatPagesApiService 基于模板创建微信原生页

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return WechatPagesAddResponse

func (*WechatPagesApiService) Delete

func (a *WechatPagesApiService) Delete(ctx context.Context, data WechatPagesDeleteRequest) (WechatPagesDeleteResponseData, http.Header, error)

WechatPagesApiService 删除微信落地页

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return WechatPagesDeleteResponse

func (*WechatPagesApiService) Get

func (a *WechatPagesApiService) Get(ctx context.Context, advertiserId int64, localVarOptionals *WechatPagesGetOpts) (WechatPagesGetResponseData, http.Header, error)

type WechatPagesCustomApiService

type WechatPagesCustomApiService service

func (*WechatPagesCustomApiService) Add

func (a *WechatPagesCustomApiService) Add(ctx context.Context, data WechatPagesCustomAddRequest) (WechatPagesCustomAddResponseData, http.Header, error)

WechatPagesCustomApiService 基于组件创建微信原生页

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param data

@return WechatPagesCustomAddResponse

type WechatPagesGetOpts

type WechatPagesGetOpts struct {
	OwnerUid  optional.Int64
	Filtering optional.Interface
	Page      optional.Int64
	PageSize  optional.Int64
	Fields    optional.Interface
}

type WildcardsApiService

type WildcardsApiService service

func (*WildcardsApiService) Get

func (a *WildcardsApiService) Get(ctx context.Context, accountId int64, productCatalogId int64, marketingCarrierType string, localVarOptionals *WildcardsGetOpts) (WildcardsGetResponseData, http.Header, error)

type WildcardsGetOpts

type WildcardsGetOpts struct {
	Fields optional.Interface
}

Source Files

Jump to

Keyboard shortcuts

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