Documentation ¶
Index ¶
- func CreateActionFileTemplate(csvFile *os.File, audienceId, actionType string) (*csv.Writer, error)
- type ActionFileInfo
- type BingAdsBulkUploader
- func (b *BingAdsBulkUploader) GetUploadStats(uploadStatsInput common.GetUploadStatsInput) common.GetUploadStatsResponse
- func (b *BingAdsBulkUploader) Poll(pollInput common.AsyncPoll) common.PollStatusResponse
- func (b *BingAdsBulkUploader) Upload(asyncDestStruct *common.AsyncDestinationStruct) common.AsyncUploadOutput
- type Client
- type ClientID
- type Data
- type DestinationConfig
- type Message
- type Metadata
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionFileInfo ¶
type BingAdsBulkUploader ¶
type BingAdsBulkUploader struct {
// contains filtered or unexported fields
}
func NewBingAdsBulkUploader ¶
func NewBingAdsBulkUploader(destName string, service bingads.BulkServiceI, client *Client) *BingAdsBulkUploader
func NewManager ¶
func NewManager(destination *backendconfig.DestinationT, backendConfig backendconfig.BackendConfig) (*BingAdsBulkUploader, error)
func (*BingAdsBulkUploader) GetUploadStats ¶
func (b *BingAdsBulkUploader) GetUploadStats(uploadStatsInput common.GetUploadStatsInput) common.GetUploadStatsResponse
func (*BingAdsBulkUploader) Poll ¶
func (b *BingAdsBulkUploader) Poll(pollInput common.AsyncPoll) common.PollStatusResponse
func (*BingAdsBulkUploader) Upload ¶
func (b *BingAdsBulkUploader) Upload(asyncDestStruct *common.AsyncDestinationStruct) common.AsyncUploadOutput
This function create at most 3 zip files from the text file created by the batchrouter It takes the text file path as input and returns the zip file path The maximum size of the zip file is 100MB, if the size of the zip file exceeds 100MB then the job is marked as failed
type DestinationConfig ¶
Click to show internal directories.
Click to hide internal directories.