creatives

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[Creative], error)

Types

type Creative

type Creative struct {
	Asset       CreativeAsset `json:"asset"`
	CreatedAt   time.Time     `json:"createdAt"`
	Description string        `json:"description,omitempty"`
	ExternalIDs []string      `json:"externalIDs,omitempty"`
	FileType    string        `json:"fileType,omitempty"`
	Format      string        `json:"format,omitempty"`
	Hidden      bool          `json:"hidden,omitempty"`
	ID          string        `json:"creativeID"`
	UpdatedAt   time.Time     `json:"updatedAt"`
}

type CreativeAsset

type CreativeAsset struct {
	PreviewURL   string `json:"previewURL,omitempty"`
	ThumbnailURL string `json:"thumbnailURL,omitempty"`
	URL          string `json:"url,omitempty"`
}

Jump to

Keyboard shortcuts

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