displayvideo
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package displayvideo provides access to the Display & Video 360 API.
For product documentation, see:https://developers.google.com/display-video/
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/displayvideo/v1"...ctx := context.Background()displayvideoService, err := displayvideo.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
By default, all available scopes (see "Constants") are used to authenticate.To restrict scopes, usegoogle.golang.org/api/option.WithScopes:
displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
displayvideoService, err := displayvideo.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type ActivateManualTriggerRequest
- type ActiveViewVideoViewabilityMetricConfig
- type Adloox
- type Advertiser
- type AdvertiserAdServerConfig
- type AdvertiserCreativeConfig
- type AdvertiserDataAccessConfig
- type AdvertiserGeneralConfig
- type AdvertiserSdfConfig
- type AdvertiserTargetingConfig
- type AdvertisersAssetsService
- type AdvertisersAssetsUploadCall
- func (c *AdvertisersAssetsUploadCall) Context(ctx context.Context) *AdvertisersAssetsUploadCall
- func (c *AdvertisersAssetsUploadCall) Do(opts ...googleapi.CallOption) (*CreateAssetResponse, error)
- func (c *AdvertisersAssetsUploadCall) Fields(s ...googleapi.Field) *AdvertisersAssetsUploadCall
- func (c *AdvertisersAssetsUploadCall) Header() http.Header
- func (c *AdvertisersAssetsUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *AdvertisersAssetsUploadCall
- func (c *AdvertisersAssetsUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *AdvertisersAssetsUploadCall
- func (c *AdvertisersAssetsUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *AdvertisersAssetsUploadCalldeprecated
- type AdvertisersAuditCall
- func (c *AdvertisersAuditCall) Context(ctx context.Context) *AdvertisersAuditCall
- func (c *AdvertisersAuditCall) Do(opts ...googleapi.CallOption) (*AuditAdvertiserResponse, error)
- func (c *AdvertisersAuditCall) Fields(s ...googleapi.Field) *AdvertisersAuditCall
- func (c *AdvertisersAuditCall) Header() http.Header
- func (c *AdvertisersAuditCall) IfNoneMatch(entityTag string) *AdvertisersAuditCall
- func (c *AdvertisersAuditCall) ReadMask(readMask string) *AdvertisersAuditCall
- type AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Context(ctx context.Context) *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkEditAdvertiserAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Header() http.Header
- type AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Context(ctx context.Context) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListAdvertiserAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Filter(filter string) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Header() http.Header
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) IfNoneMatch(entityTag string) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) OrderBy(orderBy string) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) PageSize(pageSize int64) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) PageToken(pageToken string) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Pages(ctx context.Context, ...) error
- type AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Context(ctx context.Context) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListCampaignAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Filter(filter string) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Header() http.Header
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) IfNoneMatch(entityTag string) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) OrderBy(orderBy string) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) PageSize(pageSize int64) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) PageToken(pageToken string) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Pages(ctx context.Context, ...) error
- type AdvertisersCampaignsCreateCall
- func (c *AdvertisersCampaignsCreateCall) Context(ctx context.Context) *AdvertisersCampaignsCreateCall
- func (c *AdvertisersCampaignsCreateCall) Do(opts ...googleapi.CallOption) (*Campaign, error)
- func (c *AdvertisersCampaignsCreateCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsCreateCall
- func (c *AdvertisersCampaignsCreateCall) Header() http.Header
- type AdvertisersCampaignsDeleteCall
- func (c *AdvertisersCampaignsDeleteCall) Context(ctx context.Context) *AdvertisersCampaignsDeleteCall
- func (c *AdvertisersCampaignsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersCampaignsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsDeleteCall
- func (c *AdvertisersCampaignsDeleteCall) Header() http.Header
- type AdvertisersCampaignsGetCall
- func (c *AdvertisersCampaignsGetCall) Context(ctx context.Context) *AdvertisersCampaignsGetCall
- func (c *AdvertisersCampaignsGetCall) Do(opts ...googleapi.CallOption) (*Campaign, error)
- func (c *AdvertisersCampaignsGetCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsGetCall
- func (c *AdvertisersCampaignsGetCall) Header() http.Header
- func (c *AdvertisersCampaignsGetCall) IfNoneMatch(entityTag string) *AdvertisersCampaignsGetCall
- type AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) Context(ctx context.Context) *AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) Do(opts ...googleapi.CallOption) (*ListCampaignsResponse, error)
- func (c *AdvertisersCampaignsListCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) Filter(filter string) *AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) Header() http.Header
- func (c *AdvertisersCampaignsListCall) IfNoneMatch(entityTag string) *AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) OrderBy(orderBy string) *AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) PageSize(pageSize int64) *AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) PageToken(pageToken string) *AdvertisersCampaignsListCall
- func (c *AdvertisersCampaignsListCall) Pages(ctx context.Context, f func(*ListCampaignsResponse) error) error
- type AdvertisersCampaignsPatchCall
- func (c *AdvertisersCampaignsPatchCall) Context(ctx context.Context) *AdvertisersCampaignsPatchCall
- func (c *AdvertisersCampaignsPatchCall) Do(opts ...googleapi.CallOption) (*Campaign, error)
- func (c *AdvertisersCampaignsPatchCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsPatchCall
- func (c *AdvertisersCampaignsPatchCall) Header() http.Header
- func (c *AdvertisersCampaignsPatchCall) UpdateMask(updateMask string) *AdvertisersCampaignsPatchCall
- type AdvertisersCampaignsService
- func (r *AdvertisersCampaignsService) BulkListCampaignAssignedTargetingOptions(advertiserId int64, campaignId int64) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
- func (r *AdvertisersCampaignsService) Create(advertiserId int64, campaign *Campaign) *AdvertisersCampaignsCreateCall
- func (r *AdvertisersCampaignsService) Delete(advertiserId int64, campaignId int64) *AdvertisersCampaignsDeleteCall
- func (r *AdvertisersCampaignsService) Get(advertiserId int64, campaignId int64) *AdvertisersCampaignsGetCall
- func (r *AdvertisersCampaignsService) List(advertiserId int64) *AdvertisersCampaignsListCall
- func (r *AdvertisersCampaignsService) Patch(advertiserId int64, campaignId int64, campaign *Campaign) *AdvertisersCampaignsPatchCall
- type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Context(ctx context.Context) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Header() http.Header
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTag string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
- type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Context(ctx context.Context) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListCampaignAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Filter(filter string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Header() http.Header
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTag string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBy string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSize int64) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageToken string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Pages(ctx context.Context, ...) error
- type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService
- func (r *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, campaignId int64, targetingType string, ...) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
- func (r *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, campaignId int64, targetingType string) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
- type AdvertisersCampaignsTargetingTypesService
- type AdvertisersChannelsCreateCall
- func (c *AdvertisersChannelsCreateCall) Context(ctx context.Context) *AdvertisersChannelsCreateCall
- func (c *AdvertisersChannelsCreateCall) Do(opts ...googleapi.CallOption) (*Channel, error)
- func (c *AdvertisersChannelsCreateCall) Fields(s ...googleapi.Field) *AdvertisersChannelsCreateCall
- func (c *AdvertisersChannelsCreateCall) Header() http.Header
- func (c *AdvertisersChannelsCreateCall) PartnerId(partnerId int64) *AdvertisersChannelsCreateCall
- type AdvertisersChannelsGetCall
- func (c *AdvertisersChannelsGetCall) Context(ctx context.Context) *AdvertisersChannelsGetCall
- func (c *AdvertisersChannelsGetCall) Do(opts ...googleapi.CallOption) (*Channel, error)
- func (c *AdvertisersChannelsGetCall) Fields(s ...googleapi.Field) *AdvertisersChannelsGetCall
- func (c *AdvertisersChannelsGetCall) Header() http.Header
- func (c *AdvertisersChannelsGetCall) IfNoneMatch(entityTag string) *AdvertisersChannelsGetCall
- func (c *AdvertisersChannelsGetCall) PartnerId(partnerId int64) *AdvertisersChannelsGetCall
- type AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) Context(ctx context.Context) *AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) Do(opts ...googleapi.CallOption) (*ListChannelsResponse, error)
- func (c *AdvertisersChannelsListCall) Fields(s ...googleapi.Field) *AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) Filter(filter string) *AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) Header() http.Header
- func (c *AdvertisersChannelsListCall) IfNoneMatch(entityTag string) *AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) OrderBy(orderBy string) *AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) PageSize(pageSize int64) *AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) PageToken(pageToken string) *AdvertisersChannelsListCall
- func (c *AdvertisersChannelsListCall) Pages(ctx context.Context, f func(*ListChannelsResponse) error) error
- func (c *AdvertisersChannelsListCall) PartnerId(partnerId int64) *AdvertisersChannelsListCall
- type AdvertisersChannelsPatchCall
- func (c *AdvertisersChannelsPatchCall) Context(ctx context.Context) *AdvertisersChannelsPatchCall
- func (c *AdvertisersChannelsPatchCall) Do(opts ...googleapi.CallOption) (*Channel, error)
- func (c *AdvertisersChannelsPatchCall) Fields(s ...googleapi.Field) *AdvertisersChannelsPatchCall
- func (c *AdvertisersChannelsPatchCall) Header() http.Header
- func (c *AdvertisersChannelsPatchCall) PartnerId(partnerId int64) *AdvertisersChannelsPatchCall
- func (c *AdvertisersChannelsPatchCall) UpdateMask(updateMask string) *AdvertisersChannelsPatchCall
- type AdvertisersChannelsService
- func (r *AdvertisersChannelsService) Create(advertiserId int64, channel *Channel) *AdvertisersChannelsCreateCall
- func (r *AdvertisersChannelsService) Get(advertiserId int64, channelId int64) *AdvertisersChannelsGetCall
- func (r *AdvertisersChannelsService) List(advertiserId int64) *AdvertisersChannelsListCall
- func (r *AdvertisersChannelsService) Patch(advertiserId int64, channelId int64, channel *Channel) *AdvertisersChannelsPatchCall
- type AdvertisersChannelsSitesBulkEditCall
- func (c *AdvertisersChannelsSitesBulkEditCall) Context(ctx context.Context) *AdvertisersChannelsSitesBulkEditCall
- func (c *AdvertisersChannelsSitesBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditSitesResponse, error)
- func (c *AdvertisersChannelsSitesBulkEditCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesBulkEditCall
- func (c *AdvertisersChannelsSitesBulkEditCall) Header() http.Header
- type AdvertisersChannelsSitesCreateCall
- func (c *AdvertisersChannelsSitesCreateCall) Context(ctx context.Context) *AdvertisersChannelsSitesCreateCall
- func (c *AdvertisersChannelsSitesCreateCall) Do(opts ...googleapi.CallOption) (*Site, error)
- func (c *AdvertisersChannelsSitesCreateCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesCreateCall
- func (c *AdvertisersChannelsSitesCreateCall) Header() http.Header
- func (c *AdvertisersChannelsSitesCreateCall) PartnerId(partnerId int64) *AdvertisersChannelsSitesCreateCall
- type AdvertisersChannelsSitesDeleteCall
- func (c *AdvertisersChannelsSitesDeleteCall) Context(ctx context.Context) *AdvertisersChannelsSitesDeleteCall
- func (c *AdvertisersChannelsSitesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersChannelsSitesDeleteCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesDeleteCall
- func (c *AdvertisersChannelsSitesDeleteCall) Header() http.Header
- func (c *AdvertisersChannelsSitesDeleteCall) PartnerId(partnerId int64) *AdvertisersChannelsSitesDeleteCall
- type AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) Context(ctx context.Context) *AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) Do(opts ...googleapi.CallOption) (*ListSitesResponse, error)
- func (c *AdvertisersChannelsSitesListCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) Filter(filter string) *AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) Header() http.Header
- func (c *AdvertisersChannelsSitesListCall) IfNoneMatch(entityTag string) *AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) OrderBy(orderBy string) *AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) PageSize(pageSize int64) *AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) PageToken(pageToken string) *AdvertisersChannelsSitesListCall
- func (c *AdvertisersChannelsSitesListCall) Pages(ctx context.Context, f func(*ListSitesResponse) error) error
- func (c *AdvertisersChannelsSitesListCall) PartnerId(partnerId int64) *AdvertisersChannelsSitesListCall
- type AdvertisersChannelsSitesReplaceCall
- func (c *AdvertisersChannelsSitesReplaceCall) Context(ctx context.Context) *AdvertisersChannelsSitesReplaceCall
- func (c *AdvertisersChannelsSitesReplaceCall) Do(opts ...googleapi.CallOption) (*ReplaceSitesResponse, error)
- func (c *AdvertisersChannelsSitesReplaceCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesReplaceCall
- func (c *AdvertisersChannelsSitesReplaceCall) Header() http.Header
- type AdvertisersChannelsSitesService
- func (r *AdvertisersChannelsSitesService) BulkEdit(advertiserId int64, channelId int64, ...) *AdvertisersChannelsSitesBulkEditCall
- func (r *AdvertisersChannelsSitesService) Create(advertiserId int64, channelId int64, site *Site) *AdvertisersChannelsSitesCreateCall
- func (r *AdvertisersChannelsSitesService) Delete(advertiserId int64, channelId int64, urlOrAppId string) *AdvertisersChannelsSitesDeleteCall
- func (r *AdvertisersChannelsSitesService) List(advertiserId int64, channelId int64) *AdvertisersChannelsSitesListCall
- func (r *AdvertisersChannelsSitesService) Replace(advertiserId int64, channelId int64, replacesitesrequest *ReplaceSitesRequest) *AdvertisersChannelsSitesReplaceCall
- type AdvertisersCreateCall
- func (c *AdvertisersCreateCall) Context(ctx context.Context) *AdvertisersCreateCall
- func (c *AdvertisersCreateCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)
- func (c *AdvertisersCreateCall) Fields(s ...googleapi.Field) *AdvertisersCreateCall
- func (c *AdvertisersCreateCall) Header() http.Header
- type AdvertisersCreativesCreateCall
- func (c *AdvertisersCreativesCreateCall) Context(ctx context.Context) *AdvertisersCreativesCreateCall
- func (c *AdvertisersCreativesCreateCall) Do(opts ...googleapi.CallOption) (*Creative, error)
- func (c *AdvertisersCreativesCreateCall) Fields(s ...googleapi.Field) *AdvertisersCreativesCreateCall
- func (c *AdvertisersCreativesCreateCall) Header() http.Header
- type AdvertisersCreativesDeleteCall
- func (c *AdvertisersCreativesDeleteCall) Context(ctx context.Context) *AdvertisersCreativesDeleteCall
- func (c *AdvertisersCreativesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersCreativesDeleteCall) Fields(s ...googleapi.Field) *AdvertisersCreativesDeleteCall
- func (c *AdvertisersCreativesDeleteCall) Header() http.Header
- type AdvertisersCreativesGetCall
- func (c *AdvertisersCreativesGetCall) Context(ctx context.Context) *AdvertisersCreativesGetCall
- func (c *AdvertisersCreativesGetCall) Do(opts ...googleapi.CallOption) (*Creative, error)
- func (c *AdvertisersCreativesGetCall) Fields(s ...googleapi.Field) *AdvertisersCreativesGetCall
- func (c *AdvertisersCreativesGetCall) Header() http.Header
- func (c *AdvertisersCreativesGetCall) IfNoneMatch(entityTag string) *AdvertisersCreativesGetCall
- type AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) Context(ctx context.Context) *AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreativesResponse, error)
- func (c *AdvertisersCreativesListCall) Fields(s ...googleapi.Field) *AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) Filter(filter string) *AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) Header() http.Header
- func (c *AdvertisersCreativesListCall) IfNoneMatch(entityTag string) *AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) OrderBy(orderBy string) *AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) PageSize(pageSize int64) *AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) PageToken(pageToken string) *AdvertisersCreativesListCall
- func (c *AdvertisersCreativesListCall) Pages(ctx context.Context, f func(*ListCreativesResponse) error) error
- type AdvertisersCreativesPatchCall
- func (c *AdvertisersCreativesPatchCall) Context(ctx context.Context) *AdvertisersCreativesPatchCall
- func (c *AdvertisersCreativesPatchCall) Do(opts ...googleapi.CallOption) (*Creative, error)
- func (c *AdvertisersCreativesPatchCall) Fields(s ...googleapi.Field) *AdvertisersCreativesPatchCall
- func (c *AdvertisersCreativesPatchCall) Header() http.Header
- func (c *AdvertisersCreativesPatchCall) UpdateMask(updateMask string) *AdvertisersCreativesPatchCall
- type AdvertisersCreativesService
- func (r *AdvertisersCreativesService) Create(advertiserId int64, creative *Creative) *AdvertisersCreativesCreateCall
- func (r *AdvertisersCreativesService) Delete(advertiserId int64, creativeId int64) *AdvertisersCreativesDeleteCall
- func (r *AdvertisersCreativesService) Get(advertiserId int64, creativeId int64) *AdvertisersCreativesGetCall
- func (r *AdvertisersCreativesService) List(advertiserId int64) *AdvertisersCreativesListCall
- func (r *AdvertisersCreativesService) Patch(advertiserId int64, creativeId int64, creative *Creative) *AdvertisersCreativesPatchCall
- type AdvertisersDeleteCall
- type AdvertisersGetCall
- func (c *AdvertisersGetCall) Context(ctx context.Context) *AdvertisersGetCall
- func (c *AdvertisersGetCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)
- func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall
- func (c *AdvertisersGetCall) Header() http.Header
- func (c *AdvertisersGetCall) IfNoneMatch(entityTag string) *AdvertisersGetCall
- type AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Context(ctx context.Context) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListInsertionOrderAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Filter(filter string) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Header() http.Header
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) IfNoneMatch(entityTag string) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) OrderBy(orderBy string) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) PageSize(pageSize int64) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) PageToken(pageToken string) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Pages(ctx context.Context, ...) error
- type AdvertisersInsertionOrdersCreateCall
- func (c *AdvertisersInsertionOrdersCreateCall) Context(ctx context.Context) *AdvertisersInsertionOrdersCreateCall
- func (c *AdvertisersInsertionOrdersCreateCall) Do(opts ...googleapi.CallOption) (*InsertionOrder, error)
- func (c *AdvertisersInsertionOrdersCreateCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersCreateCall
- func (c *AdvertisersInsertionOrdersCreateCall) Header() http.Header
- type AdvertisersInsertionOrdersDeleteCall
- func (c *AdvertisersInsertionOrdersDeleteCall) Context(ctx context.Context) *AdvertisersInsertionOrdersDeleteCall
- func (c *AdvertisersInsertionOrdersDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersInsertionOrdersDeleteCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersDeleteCall
- func (c *AdvertisersInsertionOrdersDeleteCall) Header() http.Header
- type AdvertisersInsertionOrdersGetCall
- func (c *AdvertisersInsertionOrdersGetCall) Context(ctx context.Context) *AdvertisersInsertionOrdersGetCall
- func (c *AdvertisersInsertionOrdersGetCall) Do(opts ...googleapi.CallOption) (*InsertionOrder, error)
- func (c *AdvertisersInsertionOrdersGetCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersGetCall
- func (c *AdvertisersInsertionOrdersGetCall) Header() http.Header
- func (c *AdvertisersInsertionOrdersGetCall) IfNoneMatch(entityTag string) *AdvertisersInsertionOrdersGetCall
- type AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) Context(ctx context.Context) *AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) Do(opts ...googleapi.CallOption) (*ListInsertionOrdersResponse, error)
- func (c *AdvertisersInsertionOrdersListCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) Filter(filter string) *AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) Header() http.Header
- func (c *AdvertisersInsertionOrdersListCall) IfNoneMatch(entityTag string) *AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) OrderBy(orderBy string) *AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) PageSize(pageSize int64) *AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) PageToken(pageToken string) *AdvertisersInsertionOrdersListCall
- func (c *AdvertisersInsertionOrdersListCall) Pages(ctx context.Context, f func(*ListInsertionOrdersResponse) error) error
- type AdvertisersInsertionOrdersPatchCall
- func (c *AdvertisersInsertionOrdersPatchCall) Context(ctx context.Context) *AdvertisersInsertionOrdersPatchCall
- func (c *AdvertisersInsertionOrdersPatchCall) Do(opts ...googleapi.CallOption) (*InsertionOrder, error)
- func (c *AdvertisersInsertionOrdersPatchCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersPatchCall
- func (c *AdvertisersInsertionOrdersPatchCall) Header() http.Header
- func (c *AdvertisersInsertionOrdersPatchCall) UpdateMask(updateMask string) *AdvertisersInsertionOrdersPatchCall
- type AdvertisersInsertionOrdersService
- func (r *AdvertisersInsertionOrdersService) BulkListInsertionOrderAssignedTargetingOptions(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
- func (r *AdvertisersInsertionOrdersService) Create(advertiserId int64, insertionorder *InsertionOrder) *AdvertisersInsertionOrdersCreateCall
- func (r *AdvertisersInsertionOrdersService) Delete(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersDeleteCall
- func (r *AdvertisersInsertionOrdersService) Get(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersGetCall
- func (r *AdvertisersInsertionOrdersService) List(advertiserId int64) *AdvertisersInsertionOrdersListCall
- func (r *AdvertisersInsertionOrdersService) Patch(advertiserId int64, insertionOrderId int64, insertionorder *InsertionOrder) *AdvertisersInsertionOrdersPatchCall
- type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Context(ctx context.Context) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Header() http.Header
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTag string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
- type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Context(ctx context.Context) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListInsertionOrderAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Filter(filter string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Header() http.Header
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTag string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBy string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSize int64) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageToken string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Pages(ctx context.Context, ...) error
- type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService
- func (r *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, insertionOrderId int64, targetingType string, ...) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
- func (r *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, insertionOrderId int64, targetingType string) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
- type AdvertisersInsertionOrdersTargetingTypesService
- type AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) Context(ctx context.Context) *AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) Do(opts ...googleapi.CallOption) (*ListInvoicesResponse, error)
- func (c *AdvertisersInvoicesListCall) Fields(s ...googleapi.Field) *AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) Header() http.Header
- func (c *AdvertisersInvoicesListCall) IfNoneMatch(entityTag string) *AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) IssueMonth(issueMonth string) *AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) LoiSapinInvoiceType(loiSapinInvoiceType string) *AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) PageSize(pageSize int64) *AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) PageToken(pageToken string) *AdvertisersInvoicesListCall
- func (c *AdvertisersInvoicesListCall) Pages(ctx context.Context, f func(*ListInvoicesResponse) error) error
- type AdvertisersInvoicesLookupInvoiceCurrencyCall
- func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Context(ctx context.Context) *AdvertisersInvoicesLookupInvoiceCurrencyCall
- func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Do(opts ...googleapi.CallOption) (*LookupInvoiceCurrencyResponse, error)
- func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Fields(s ...googleapi.Field) *AdvertisersInvoicesLookupInvoiceCurrencyCall
- func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Header() http.Header
- func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) IfNoneMatch(entityTag string) *AdvertisersInvoicesLookupInvoiceCurrencyCall
- func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) InvoiceMonth(invoiceMonth string) *AdvertisersInvoicesLookupInvoiceCurrencyCall
- type AdvertisersInvoicesService
- type AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Context(ctx context.Context) *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkEditLineItemAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Header() http.Header
- type AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Context(ctx context.Context) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListLineItemAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Filter(filter string) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Header() http.Header
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) IfNoneMatch(entityTag string) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) OrderBy(orderBy string) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) PageSize(pageSize int64) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) PageToken(pageToken string) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Pages(ctx context.Context, ...) error
- type AdvertisersLineItemsCreateCall
- func (c *AdvertisersLineItemsCreateCall) Context(ctx context.Context) *AdvertisersLineItemsCreateCall
- func (c *AdvertisersLineItemsCreateCall) Do(opts ...googleapi.CallOption) (*LineItem, error)
- func (c *AdvertisersLineItemsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsCreateCall
- func (c *AdvertisersLineItemsCreateCall) Header() http.Header
- type AdvertisersLineItemsDeleteCall
- func (c *AdvertisersLineItemsDeleteCall) Context(ctx context.Context) *AdvertisersLineItemsDeleteCall
- func (c *AdvertisersLineItemsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersLineItemsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsDeleteCall
- func (c *AdvertisersLineItemsDeleteCall) Header() http.Header
- type AdvertisersLineItemsGenerateDefaultCall
- func (c *AdvertisersLineItemsGenerateDefaultCall) Context(ctx context.Context) *AdvertisersLineItemsGenerateDefaultCall
- func (c *AdvertisersLineItemsGenerateDefaultCall) Do(opts ...googleapi.CallOption) (*LineItem, error)
- func (c *AdvertisersLineItemsGenerateDefaultCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsGenerateDefaultCall
- func (c *AdvertisersLineItemsGenerateDefaultCall) Header() http.Header
- type AdvertisersLineItemsGetCall
- func (c *AdvertisersLineItemsGetCall) Context(ctx context.Context) *AdvertisersLineItemsGetCall
- func (c *AdvertisersLineItemsGetCall) Do(opts ...googleapi.CallOption) (*LineItem, error)
- func (c *AdvertisersLineItemsGetCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsGetCall
- func (c *AdvertisersLineItemsGetCall) Header() http.Header
- func (c *AdvertisersLineItemsGetCall) IfNoneMatch(entityTag string) *AdvertisersLineItemsGetCall
- type AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) Context(ctx context.Context) *AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) Do(opts ...googleapi.CallOption) (*ListLineItemsResponse, error)
- func (c *AdvertisersLineItemsListCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) Filter(filter string) *AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) Header() http.Header
- func (c *AdvertisersLineItemsListCall) IfNoneMatch(entityTag string) *AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) OrderBy(orderBy string) *AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) PageSize(pageSize int64) *AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) PageToken(pageToken string) *AdvertisersLineItemsListCall
- func (c *AdvertisersLineItemsListCall) Pages(ctx context.Context, f func(*ListLineItemsResponse) error) error
- type AdvertisersLineItemsPatchCall
- func (c *AdvertisersLineItemsPatchCall) Context(ctx context.Context) *AdvertisersLineItemsPatchCall
- func (c *AdvertisersLineItemsPatchCall) Do(opts ...googleapi.CallOption) (*LineItem, error)
- func (c *AdvertisersLineItemsPatchCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsPatchCall
- func (c *AdvertisersLineItemsPatchCall) Header() http.Header
- func (c *AdvertisersLineItemsPatchCall) UpdateMask(updateMask string) *AdvertisersLineItemsPatchCall
- type AdvertisersLineItemsService
- func (r *AdvertisersLineItemsService) BulkEditLineItemAssignedTargetingOptions(advertiserId int64, lineItemId int64, ...) *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall
- func (r *AdvertisersLineItemsService) BulkListLineItemAssignedTargetingOptions(advertiserId int64, lineItemId int64) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
- func (r *AdvertisersLineItemsService) Create(advertiserId int64, lineitem *LineItem) *AdvertisersLineItemsCreateCall
- func (r *AdvertisersLineItemsService) Delete(advertiserId int64, lineItemId int64) *AdvertisersLineItemsDeleteCall
- func (r *AdvertisersLineItemsService) GenerateDefault(advertiserId int64, ...) *AdvertisersLineItemsGenerateDefaultCall
- func (r *AdvertisersLineItemsService) Get(advertiserId int64, lineItemId int64) *AdvertisersLineItemsGetCall
- func (r *AdvertisersLineItemsService) List(advertiserId int64) *AdvertisersLineItemsListCall
- func (r *AdvertisersLineItemsService) Patch(advertiserId int64, lineItemId int64, lineitem *LineItem) *AdvertisersLineItemsPatchCall
- type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Context(ctx context.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Header() http.Header
- type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Context(ctx context.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Header() http.Header
- type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Context(ctx context.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Header() http.Header
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTag string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
- type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Context(ctx context.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListLineItemAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Filter(filter string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Header() http.Header
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTag string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBy string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSize int64) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageToken string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Pages(ctx context.Context, ...) error
- type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService
- func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Create(advertiserId int64, lineItemId int64, targetingType string, ...) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall
- func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Delete(advertiserId int64, lineItemId int64, targetingType string, ...) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall
- func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, lineItemId int64, targetingType string, ...) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
- func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, lineItemId int64, targetingType string) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
- type AdvertisersLineItemsTargetingTypesService
- type AdvertisersListCall
- func (c *AdvertisersListCall) Context(ctx context.Context) *AdvertisersListCall
- func (c *AdvertisersListCall) Do(opts ...googleapi.CallOption) (*ListAdvertisersResponse, error)
- func (c *AdvertisersListCall) Fields(s ...googleapi.Field) *AdvertisersListCall
- func (c *AdvertisersListCall) Filter(filter string) *AdvertisersListCall
- func (c *AdvertisersListCall) Header() http.Header
- func (c *AdvertisersListCall) IfNoneMatch(entityTag string) *AdvertisersListCall
- func (c *AdvertisersListCall) OrderBy(orderBy string) *AdvertisersListCall
- func (c *AdvertisersListCall) PageSize(pageSize int64) *AdvertisersListCall
- func (c *AdvertisersListCall) PageToken(pageToken string) *AdvertisersListCall
- func (c *AdvertisersListCall) Pages(ctx context.Context, f func(*ListAdvertisersResponse) error) error
- func (c *AdvertisersListCall) PartnerId(partnerId int64) *AdvertisersListCall
- type AdvertisersLocationListsAssignedLocationsBulkEditCall
- func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Context(ctx context.Context) *AdvertisersLocationListsAssignedLocationsBulkEditCall
- func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditAssignedLocationsResponse, error)
- func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsBulkEditCall
- func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Header() http.Header
- type AdvertisersLocationListsAssignedLocationsCreateCall
- func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Context(ctx context.Context) *AdvertisersLocationListsAssignedLocationsCreateCall
- func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedLocation, error)
- func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsCreateCall
- func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Header() http.Header
- type AdvertisersLocationListsAssignedLocationsDeleteCall
- func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Context(ctx context.Context) *AdvertisersLocationListsAssignedLocationsDeleteCall
- func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsDeleteCall
- func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Header() http.Header
- type AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) Context(ctx context.Context) *AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) Do(opts ...googleapi.CallOption) (*ListAssignedLocationsResponse, error)
- func (c *AdvertisersLocationListsAssignedLocationsListCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) Filter(filter string) *AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) Header() http.Header
- func (c *AdvertisersLocationListsAssignedLocationsListCall) IfNoneMatch(entityTag string) *AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) OrderBy(orderBy string) *AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) PageSize(pageSize int64) *AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) PageToken(pageToken string) *AdvertisersLocationListsAssignedLocationsListCall
- func (c *AdvertisersLocationListsAssignedLocationsListCall) Pages(ctx context.Context, f func(*ListAssignedLocationsResponse) error) error
- type AdvertisersLocationListsAssignedLocationsService
- func (r *AdvertisersLocationListsAssignedLocationsService) BulkEdit(advertiserId int64, locationListId int64, ...) *AdvertisersLocationListsAssignedLocationsBulkEditCall
- func (r *AdvertisersLocationListsAssignedLocationsService) Create(advertiserId int64, locationListId int64, assignedlocation *AssignedLocation) *AdvertisersLocationListsAssignedLocationsCreateCall
- func (r *AdvertisersLocationListsAssignedLocationsService) Delete(advertiserId int64, locationListId int64, assignedLocationId int64) *AdvertisersLocationListsAssignedLocationsDeleteCall
- func (r *AdvertisersLocationListsAssignedLocationsService) List(advertiserId int64, locationListId int64) *AdvertisersLocationListsAssignedLocationsListCall
- type AdvertisersLocationListsCreateCall
- func (c *AdvertisersLocationListsCreateCall) Context(ctx context.Context) *AdvertisersLocationListsCreateCall
- func (c *AdvertisersLocationListsCreateCall) Do(opts ...googleapi.CallOption) (*LocationList, error)
- func (c *AdvertisersLocationListsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsCreateCall
- func (c *AdvertisersLocationListsCreateCall) Header() http.Header
- type AdvertisersLocationListsGetCall
- func (c *AdvertisersLocationListsGetCall) Context(ctx context.Context) *AdvertisersLocationListsGetCall
- func (c *AdvertisersLocationListsGetCall) Do(opts ...googleapi.CallOption) (*LocationList, error)
- func (c *AdvertisersLocationListsGetCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsGetCall
- func (c *AdvertisersLocationListsGetCall) Header() http.Header
- func (c *AdvertisersLocationListsGetCall) IfNoneMatch(entityTag string) *AdvertisersLocationListsGetCall
- type AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) Context(ctx context.Context) *AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) Do(opts ...googleapi.CallOption) (*ListLocationListsResponse, error)
- func (c *AdvertisersLocationListsListCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) Filter(filter string) *AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) Header() http.Header
- func (c *AdvertisersLocationListsListCall) IfNoneMatch(entityTag string) *AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) OrderBy(orderBy string) *AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) PageSize(pageSize int64) *AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) PageToken(pageToken string) *AdvertisersLocationListsListCall
- func (c *AdvertisersLocationListsListCall) Pages(ctx context.Context, f func(*ListLocationListsResponse) error) error
- type AdvertisersLocationListsPatchCall
- func (c *AdvertisersLocationListsPatchCall) Context(ctx context.Context) *AdvertisersLocationListsPatchCall
- func (c *AdvertisersLocationListsPatchCall) Do(opts ...googleapi.CallOption) (*LocationList, error)
- func (c *AdvertisersLocationListsPatchCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsPatchCall
- func (c *AdvertisersLocationListsPatchCall) Header() http.Header
- func (c *AdvertisersLocationListsPatchCall) UpdateMask(updateMask string) *AdvertisersLocationListsPatchCall
- type AdvertisersLocationListsService
- func (r *AdvertisersLocationListsService) Create(advertiserId int64, locationlist *LocationList) *AdvertisersLocationListsCreateCall
- func (r *AdvertisersLocationListsService) Get(advertiserId int64, locationListId int64) *AdvertisersLocationListsGetCall
- func (r *AdvertisersLocationListsService) List(advertiserId int64) *AdvertisersLocationListsListCall
- func (r *AdvertisersLocationListsService) Patch(advertiserId int64, locationListId int64, locationlist *LocationList) *AdvertisersLocationListsPatchCall
- type AdvertisersManualTriggersActivateCall
- func (c *AdvertisersManualTriggersActivateCall) Context(ctx context.Context) *AdvertisersManualTriggersActivateCall
- func (c *AdvertisersManualTriggersActivateCall) Do(opts ...googleapi.CallOption) (*ManualTrigger, error)
- func (c *AdvertisersManualTriggersActivateCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersActivateCall
- func (c *AdvertisersManualTriggersActivateCall) Header() http.Header
- type AdvertisersManualTriggersCreateCall
- func (c *AdvertisersManualTriggersCreateCall) Context(ctx context.Context) *AdvertisersManualTriggersCreateCall
- func (c *AdvertisersManualTriggersCreateCall) Do(opts ...googleapi.CallOption) (*ManualTrigger, error)
- func (c *AdvertisersManualTriggersCreateCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersCreateCall
- func (c *AdvertisersManualTriggersCreateCall) Header() http.Header
- type AdvertisersManualTriggersDeactivateCall
- func (c *AdvertisersManualTriggersDeactivateCall) Context(ctx context.Context) *AdvertisersManualTriggersDeactivateCall
- func (c *AdvertisersManualTriggersDeactivateCall) Do(opts ...googleapi.CallOption) (*ManualTrigger, error)
- func (c *AdvertisersManualTriggersDeactivateCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersDeactivateCall
- func (c *AdvertisersManualTriggersDeactivateCall) Header() http.Header
- type AdvertisersManualTriggersGetCall
- func (c *AdvertisersManualTriggersGetCall) Context(ctx context.Context) *AdvertisersManualTriggersGetCall
- func (c *AdvertisersManualTriggersGetCall) Do(opts ...googleapi.CallOption) (*ManualTrigger, error)
- func (c *AdvertisersManualTriggersGetCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersGetCall
- func (c *AdvertisersManualTriggersGetCall) Header() http.Header
- func (c *AdvertisersManualTriggersGetCall) IfNoneMatch(entityTag string) *AdvertisersManualTriggersGetCall
- type AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) Context(ctx context.Context) *AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) Do(opts ...googleapi.CallOption) (*ListManualTriggersResponse, error)
- func (c *AdvertisersManualTriggersListCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) Filter(filter string) *AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) Header() http.Header
- func (c *AdvertisersManualTriggersListCall) IfNoneMatch(entityTag string) *AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) OrderBy(orderBy string) *AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) PageSize(pageSize int64) *AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) PageToken(pageToken string) *AdvertisersManualTriggersListCall
- func (c *AdvertisersManualTriggersListCall) Pages(ctx context.Context, f func(*ListManualTriggersResponse) error) error
- type AdvertisersManualTriggersPatchCall
- func (c *AdvertisersManualTriggersPatchCall) Context(ctx context.Context) *AdvertisersManualTriggersPatchCall
- func (c *AdvertisersManualTriggersPatchCall) Do(opts ...googleapi.CallOption) (*ManualTrigger, error)
- func (c *AdvertisersManualTriggersPatchCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersPatchCall
- func (c *AdvertisersManualTriggersPatchCall) Header() http.Header
- func (c *AdvertisersManualTriggersPatchCall) UpdateMask(updateMask string) *AdvertisersManualTriggersPatchCall
- type AdvertisersManualTriggersService
- func (r *AdvertisersManualTriggersService) Activate(advertiserId int64, triggerId int64, ...) *AdvertisersManualTriggersActivateCall
- func (r *AdvertisersManualTriggersService) Create(advertiserId int64, manualtrigger *ManualTrigger) *AdvertisersManualTriggersCreateCall
- func (r *AdvertisersManualTriggersService) Deactivate(advertiserId int64, triggerId int64, ...) *AdvertisersManualTriggersDeactivateCall
- func (r *AdvertisersManualTriggersService) Get(advertiserId int64, triggerId int64) *AdvertisersManualTriggersGetCall
- func (r *AdvertisersManualTriggersService) List(advertiserId int64) *AdvertisersManualTriggersListCall
- func (r *AdvertisersManualTriggersService) Patch(advertiserId int64, triggerId int64, manualtrigger *ManualTrigger) *AdvertisersManualTriggersPatchCall
- type AdvertisersNegativeKeywordListsCreateCall
- func (c *AdvertisersNegativeKeywordListsCreateCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsCreateCall
- func (c *AdvertisersNegativeKeywordListsCreateCall) Do(opts ...googleapi.CallOption) (*NegativeKeywordList, error)
- func (c *AdvertisersNegativeKeywordListsCreateCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsCreateCall
- func (c *AdvertisersNegativeKeywordListsCreateCall) Header() http.Header
- type AdvertisersNegativeKeywordListsDeleteCall
- func (c *AdvertisersNegativeKeywordListsDeleteCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsDeleteCall
- func (c *AdvertisersNegativeKeywordListsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersNegativeKeywordListsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsDeleteCall
- func (c *AdvertisersNegativeKeywordListsDeleteCall) Header() http.Header
- type AdvertisersNegativeKeywordListsGetCall
- func (c *AdvertisersNegativeKeywordListsGetCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsGetCall
- func (c *AdvertisersNegativeKeywordListsGetCall) Do(opts ...googleapi.CallOption) (*NegativeKeywordList, error)
- func (c *AdvertisersNegativeKeywordListsGetCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsGetCall
- func (c *AdvertisersNegativeKeywordListsGetCall) Header() http.Header
- func (c *AdvertisersNegativeKeywordListsGetCall) IfNoneMatch(entityTag string) *AdvertisersNegativeKeywordListsGetCall
- type AdvertisersNegativeKeywordListsListCall
- func (c *AdvertisersNegativeKeywordListsListCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsListCall
- func (c *AdvertisersNegativeKeywordListsListCall) Do(opts ...googleapi.CallOption) (*ListNegativeKeywordListsResponse, error)
- func (c *AdvertisersNegativeKeywordListsListCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsListCall
- func (c *AdvertisersNegativeKeywordListsListCall) Header() http.Header
- func (c *AdvertisersNegativeKeywordListsListCall) IfNoneMatch(entityTag string) *AdvertisersNegativeKeywordListsListCall
- func (c *AdvertisersNegativeKeywordListsListCall) PageSize(pageSize int64) *AdvertisersNegativeKeywordListsListCall
- func (c *AdvertisersNegativeKeywordListsListCall) PageToken(pageToken string) *AdvertisersNegativeKeywordListsListCall
- func (c *AdvertisersNegativeKeywordListsListCall) Pages(ctx context.Context, f func(*ListNegativeKeywordListsResponse) error) error
- type AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditNegativeKeywordsResponse, error)
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Header() http.Header
- type AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Do(opts ...googleapi.CallOption) (*NegativeKeyword, error)
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Header() http.Header
- type AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Header() http.Header
- type AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Do(opts ...googleapi.CallOption) (*ListNegativeKeywordsResponse, error)
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Filter(filter string) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Header() http.Header
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) IfNoneMatch(entityTag string) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) OrderBy(orderBy string) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) PageSize(pageSize int64) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) PageToken(pageToken string) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Pages(ctx context.Context, f func(*ListNegativeKeywordsResponse) error) error
- type AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Do(opts ...googleapi.CallOption) (*ReplaceNegativeKeywordsResponse, error)
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall
- func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Header() http.Header
- type AdvertisersNegativeKeywordListsNegativeKeywordsService
- func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) BulkEdit(advertiserId int64, negativeKeywordListId int64, ...) *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall
- func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Create(advertiserId int64, negativeKeywordListId int64, ...) *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall
- func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Delete(advertiserId int64, negativeKeywordListId int64, keywordValue string) *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall
- func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) List(advertiserId int64, negativeKeywordListId int64) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
- func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Replace(advertiserId int64, negativeKeywordListId int64, ...) *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall
- type AdvertisersNegativeKeywordListsPatchCall
- func (c *AdvertisersNegativeKeywordListsPatchCall) Context(ctx context.Context) *AdvertisersNegativeKeywordListsPatchCall
- func (c *AdvertisersNegativeKeywordListsPatchCall) Do(opts ...googleapi.CallOption) (*NegativeKeywordList, error)
- func (c *AdvertisersNegativeKeywordListsPatchCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsPatchCall
- func (c *AdvertisersNegativeKeywordListsPatchCall) Header() http.Header
- func (c *AdvertisersNegativeKeywordListsPatchCall) UpdateMask(updateMask string) *AdvertisersNegativeKeywordListsPatchCall
- type AdvertisersNegativeKeywordListsService
- func (r *AdvertisersNegativeKeywordListsService) Create(advertiserId int64, negativekeywordlist *NegativeKeywordList) *AdvertisersNegativeKeywordListsCreateCall
- func (r *AdvertisersNegativeKeywordListsService) Delete(advertiserId int64, negativeKeywordListId int64) *AdvertisersNegativeKeywordListsDeleteCall
- func (r *AdvertisersNegativeKeywordListsService) Get(advertiserId int64, negativeKeywordListId int64) *AdvertisersNegativeKeywordListsGetCall
- func (r *AdvertisersNegativeKeywordListsService) List(advertiserId int64) *AdvertisersNegativeKeywordListsListCall
- func (r *AdvertisersNegativeKeywordListsService) Patch(advertiserId int64, negativeKeywordListId int64, ...) *AdvertisersNegativeKeywordListsPatchCall
- type AdvertisersPatchCall
- func (c *AdvertisersPatchCall) Context(ctx context.Context) *AdvertisersPatchCall
- func (c *AdvertisersPatchCall) Do(opts ...googleapi.CallOption) (*Advertiser, error)
- func (c *AdvertisersPatchCall) Fields(s ...googleapi.Field) *AdvertisersPatchCall
- func (c *AdvertisersPatchCall) Header() http.Header
- func (c *AdvertisersPatchCall) UpdateMask(updateMask string) *AdvertisersPatchCall
- type AdvertisersService
- func (r *AdvertisersService) Audit(advertiserId int64) *AdvertisersAuditCall
- func (r *AdvertisersService) BulkEditAdvertiserAssignedTargetingOptions(advertiserId int64, ...) *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall
- func (r *AdvertisersService) BulkListAdvertiserAssignedTargetingOptions(advertiserId int64) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
- func (r *AdvertisersService) Create(advertiser *Advertiser) *AdvertisersCreateCall
- func (r *AdvertisersService) Delete(advertiserId int64) *AdvertisersDeleteCall
- func (r *AdvertisersService) Get(advertiserId int64) *AdvertisersGetCall
- func (r *AdvertisersService) List() *AdvertisersListCall
- func (r *AdvertisersService) Patch(advertiserId int64, advertiser *Advertiser) *AdvertisersPatchCall
- type AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Context(ctx context.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Header() http.Header
- type AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Context(ctx context.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Header() http.Header
- type AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Context(ctx context.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Header() http.Header
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTag string) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
- type AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Context(ctx context.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListAdvertiserAssignedTargetingOptionsResponse, error)
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Filter(filter string) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Header() http.Header
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTag string) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBy string) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSize int64) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageToken string) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Pages(ctx context.Context, ...) error
- type AdvertisersTargetingTypesAssignedTargetingOptionsService
- func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Create(advertiserId int64, targetingType string, ...) *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall
- func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Delete(advertiserId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Get(advertiserId int64, targetingType string, assignedTargetingOptionId string) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
- func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) List(advertiserId int64, targetingType string) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
- type AdvertisersTargetingTypesService
- type AgeRangeAssignedTargetingOptionDetails
- type AgeRangeTargetingOptionDetails
- type AppAssignedTargetingOptionDetails
- type AppCategoryAssignedTargetingOptionDetails
- type AppCategoryTargetingOptionDetails
- type Asset
- type AssetAssociation
- type AssignedInventorySource
- type AssignedLocation
- type AssignedTargetingOption
- type AssignedUserRole
- type AudienceGroupAssignedTargetingOptionDetails
- type AudioContentTypeAssignedTargetingOptionDetails
- type AudioContentTypeTargetingOptionDetails
- type AudioVideoOffset
- type AuditAdvertiserResponse
- type AuthorizedSellerStatusAssignedTargetingOptionDetails
- type AuthorizedSellerStatusTargetingOptionDetails
- type BiddingStrategy
- type BrowserAssignedTargetingOptionDetails
- type BrowserTargetingOptionDetails
- type BudgetSummary
- type BulkEditAdvertiserAssignedTargetingOptionsRequest
- type BulkEditAdvertiserAssignedTargetingOptionsResponse
- type BulkEditAssignedInventorySourcesRequest
- type BulkEditAssignedInventorySourcesResponse
- type BulkEditAssignedLocationsRequest
- type BulkEditAssignedLocationsResponse
- type BulkEditAssignedUserRolesRequest
- type BulkEditAssignedUserRolesResponse
- type BulkEditLineItemAssignedTargetingOptionsRequest
- type BulkEditLineItemAssignedTargetingOptionsResponse
- type BulkEditNegativeKeywordsRequest
- type BulkEditNegativeKeywordsResponse
- type BulkEditPartnerAssignedTargetingOptionsRequest
- type BulkEditPartnerAssignedTargetingOptionsResponse
- type BulkEditSitesRequest
- type BulkEditSitesResponse
- type BulkListAdvertiserAssignedTargetingOptionsResponse
- type BulkListCampaignAssignedTargetingOptionsResponse
- type BulkListInsertionOrderAssignedTargetingOptionsResponse
- type BulkListLineItemAssignedTargetingOptionsResponse
- type BusinessChainAssignedTargetingOptionDetails
- type BusinessChainSearchTerms
- type BusinessChainTargetingOptionDetails
- type Campaign
- type CampaignBudget
- type CampaignFlight
- type CampaignGoal
- type CarrierAndIspAssignedTargetingOptionDetails
- type CarrierAndIspTargetingOptionDetails
- type CategoryAssignedTargetingOptionDetails
- type CategoryTargetingOptionDetails
- type Channel
- type ChannelAssignedTargetingOptionDetails
- type CmHybridConfig
- type CmTrackingAd
- type CombinedAudience
- type CombinedAudienceGroup
- type CombinedAudienceTargetingSetting
- type CombinedAudiencesGetCall
- func (c *CombinedAudiencesGetCall) AdvertiserId(advertiserId int64) *CombinedAudiencesGetCall
- func (c *CombinedAudiencesGetCall) Context(ctx context.Context) *CombinedAudiencesGetCall
- func (c *CombinedAudiencesGetCall) Do(opts ...googleapi.CallOption) (*CombinedAudience, error)
- func (c *CombinedAudiencesGetCall) Fields(s ...googleapi.Field) *CombinedAudiencesGetCall
- func (c *CombinedAudiencesGetCall) Header() http.Header
- func (c *CombinedAudiencesGetCall) IfNoneMatch(entityTag string) *CombinedAudiencesGetCall
- func (c *CombinedAudiencesGetCall) PartnerId(partnerId int64) *CombinedAudiencesGetCall
- type CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) AdvertiserId(advertiserId int64) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) Context(ctx context.Context) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) Do(opts ...googleapi.CallOption) (*ListCombinedAudiencesResponse, error)
- func (c *CombinedAudiencesListCall) Fields(s ...googleapi.Field) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) Filter(filter string) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) Header() http.Header
- func (c *CombinedAudiencesListCall) IfNoneMatch(entityTag string) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) OrderBy(orderBy string) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) PageSize(pageSize int64) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) PageToken(pageToken string) *CombinedAudiencesListCall
- func (c *CombinedAudiencesListCall) Pages(ctx context.Context, f func(*ListCombinedAudiencesResponse) error) error
- func (c *CombinedAudiencesListCall) PartnerId(partnerId int64) *CombinedAudiencesListCall
- type CombinedAudiencesService
- type Consent
- type ContactInfo
- type ContactInfoList
- type ContentDurationAssignedTargetingOptionDetails
- type ContentDurationTargetingOptionDetails
- type ContentGenreAssignedTargetingOptionDetails
- type ContentGenreTargetingOptionDetails
- type ContentInstreamPositionAssignedTargetingOptionDetails
- type ContentInstreamPositionTargetingOptionDetails
- type ContentOutstreamPositionAssignedTargetingOptionDetails
- type ContentOutstreamPositionTargetingOptionDetails
- type ContentStreamTypeAssignedTargetingOptionDetails
- type ContentStreamTypeTargetingOptionDetails
- type ConversionCountingConfig
- type CounterEvent
- type CreateAssetRequest
- type CreateAssetResponse
- type CreateAssignedTargetingOptionsRequest
- type CreateSdfDownloadTaskRequest
- type Creative
- type CreativeConfig
- type CustomBiddingAlgorithm
- type CustomBiddingAlgorithmsCreateCall
- func (c *CustomBiddingAlgorithmsCreateCall) Context(ctx context.Context) *CustomBiddingAlgorithmsCreateCall
- func (c *CustomBiddingAlgorithmsCreateCall) Do(opts ...googleapi.CallOption) (*CustomBiddingAlgorithm, error)
- func (c *CustomBiddingAlgorithmsCreateCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsCreateCall
- func (c *CustomBiddingAlgorithmsCreateCall) Header() http.Header
- type CustomBiddingAlgorithmsGetCall
- func (c *CustomBiddingAlgorithmsGetCall) AdvertiserId(advertiserId int64) *CustomBiddingAlgorithmsGetCall
- func (c *CustomBiddingAlgorithmsGetCall) Context(ctx context.Context) *CustomBiddingAlgorithmsGetCall
- func (c *CustomBiddingAlgorithmsGetCall) Do(opts ...googleapi.CallOption) (*CustomBiddingAlgorithm, error)
- func (c *CustomBiddingAlgorithmsGetCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsGetCall
- func (c *CustomBiddingAlgorithmsGetCall) Header() http.Header
- func (c *CustomBiddingAlgorithmsGetCall) IfNoneMatch(entityTag string) *CustomBiddingAlgorithmsGetCall
- func (c *CustomBiddingAlgorithmsGetCall) PartnerId(partnerId int64) *CustomBiddingAlgorithmsGetCall
- type CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) AdvertiserId(advertiserId int64) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) Context(ctx context.Context) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) Do(opts ...googleapi.CallOption) (*ListCustomBiddingAlgorithmsResponse, error)
- func (c *CustomBiddingAlgorithmsListCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) Filter(filter string) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) Header() http.Header
- func (c *CustomBiddingAlgorithmsListCall) IfNoneMatch(entityTag string) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) OrderBy(orderBy string) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) PageSize(pageSize int64) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) PageToken(pageToken string) *CustomBiddingAlgorithmsListCall
- func (c *CustomBiddingAlgorithmsListCall) Pages(ctx context.Context, f func(*ListCustomBiddingAlgorithmsResponse) error) error
- func (c *CustomBiddingAlgorithmsListCall) PartnerId(partnerId int64) *CustomBiddingAlgorithmsListCall
- type CustomBiddingAlgorithmsPatchCall
- func (c *CustomBiddingAlgorithmsPatchCall) Context(ctx context.Context) *CustomBiddingAlgorithmsPatchCall
- func (c *CustomBiddingAlgorithmsPatchCall) Do(opts ...googleapi.CallOption) (*CustomBiddingAlgorithm, error)
- func (c *CustomBiddingAlgorithmsPatchCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsPatchCall
- func (c *CustomBiddingAlgorithmsPatchCall) Header() http.Header
- func (c *CustomBiddingAlgorithmsPatchCall) UpdateMask(updateMask string) *CustomBiddingAlgorithmsPatchCall
- type CustomBiddingAlgorithmsScriptsCreateCall
- func (c *CustomBiddingAlgorithmsScriptsCreateCall) AdvertiserId(advertiserId int64) *CustomBiddingAlgorithmsScriptsCreateCall
- func (c *CustomBiddingAlgorithmsScriptsCreateCall) Context(ctx context.Context) *CustomBiddingAlgorithmsScriptsCreateCall
- func (c *CustomBiddingAlgorithmsScriptsCreateCall) Do(opts ...googleapi.CallOption) (*CustomBiddingScript, error)
- func (c *CustomBiddingAlgorithmsScriptsCreateCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsScriptsCreateCall
- func (c *CustomBiddingAlgorithmsScriptsCreateCall) Header() http.Header
- func (c *CustomBiddingAlgorithmsScriptsCreateCall) PartnerId(partnerId int64) *CustomBiddingAlgorithmsScriptsCreateCall
- type CustomBiddingAlgorithmsScriptsGetCall
- func (c *CustomBiddingAlgorithmsScriptsGetCall) AdvertiserId(advertiserId int64) *CustomBiddingAlgorithmsScriptsGetCall
- func (c *CustomBiddingAlgorithmsScriptsGetCall) Context(ctx context.Context) *CustomBiddingAlgorithmsScriptsGetCall
- func (c *CustomBiddingAlgorithmsScriptsGetCall) Do(opts ...googleapi.CallOption) (*CustomBiddingScript, error)
- func (c *CustomBiddingAlgorithmsScriptsGetCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsScriptsGetCall
- func (c *CustomBiddingAlgorithmsScriptsGetCall) Header() http.Header
- func (c *CustomBiddingAlgorithmsScriptsGetCall) IfNoneMatch(entityTag string) *CustomBiddingAlgorithmsScriptsGetCall
- func (c *CustomBiddingAlgorithmsScriptsGetCall) PartnerId(partnerId int64) *CustomBiddingAlgorithmsScriptsGetCall
- type CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) AdvertiserId(advertiserId int64) *CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) Context(ctx context.Context) *CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) Do(opts ...googleapi.CallOption) (*ListCustomBiddingScriptsResponse, error)
- func (c *CustomBiddingAlgorithmsScriptsListCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) Header() http.Header
- func (c *CustomBiddingAlgorithmsScriptsListCall) IfNoneMatch(entityTag string) *CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) OrderBy(orderBy string) *CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) PageSize(pageSize int64) *CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) PageToken(pageToken string) *CustomBiddingAlgorithmsScriptsListCall
- func (c *CustomBiddingAlgorithmsScriptsListCall) Pages(ctx context.Context, f func(*ListCustomBiddingScriptsResponse) error) error
- func (c *CustomBiddingAlgorithmsScriptsListCall) PartnerId(partnerId int64) *CustomBiddingAlgorithmsScriptsListCall
- type CustomBiddingAlgorithmsScriptsService
- func (r *CustomBiddingAlgorithmsScriptsService) Create(customBiddingAlgorithmId int64, custombiddingscript *CustomBiddingScript) *CustomBiddingAlgorithmsScriptsCreateCall
- func (r *CustomBiddingAlgorithmsScriptsService) Get(customBiddingAlgorithmId int64, customBiddingScriptId int64) *CustomBiddingAlgorithmsScriptsGetCall
- func (r *CustomBiddingAlgorithmsScriptsService) List(customBiddingAlgorithmId int64) *CustomBiddingAlgorithmsScriptsListCall
- type CustomBiddingAlgorithmsService
- func (r *CustomBiddingAlgorithmsService) Create(custombiddingalgorithm *CustomBiddingAlgorithm) *CustomBiddingAlgorithmsCreateCall
- func (r *CustomBiddingAlgorithmsService) Get(customBiddingAlgorithmId int64) *CustomBiddingAlgorithmsGetCall
- func (r *CustomBiddingAlgorithmsService) List() *CustomBiddingAlgorithmsListCall
- func (r *CustomBiddingAlgorithmsService) Patch(customBiddingAlgorithmId int64, custombiddingalgorithm *CustomBiddingAlgorithm) *CustomBiddingAlgorithmsPatchCall
- func (r *CustomBiddingAlgorithmsService) UploadScript(customBiddingAlgorithmId int64) *CustomBiddingAlgorithmsUploadScriptCall
- type CustomBiddingAlgorithmsUploadScriptCall
- func (c *CustomBiddingAlgorithmsUploadScriptCall) AdvertiserId(advertiserId int64) *CustomBiddingAlgorithmsUploadScriptCall
- func (c *CustomBiddingAlgorithmsUploadScriptCall) Context(ctx context.Context) *CustomBiddingAlgorithmsUploadScriptCall
- func (c *CustomBiddingAlgorithmsUploadScriptCall) Do(opts ...googleapi.CallOption) (*CustomBiddingScriptRef, error)
- func (c *CustomBiddingAlgorithmsUploadScriptCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsUploadScriptCall
- func (c *CustomBiddingAlgorithmsUploadScriptCall) Header() http.Header
- func (c *CustomBiddingAlgorithmsUploadScriptCall) IfNoneMatch(entityTag string) *CustomBiddingAlgorithmsUploadScriptCall
- func (c *CustomBiddingAlgorithmsUploadScriptCall) PartnerId(partnerId int64) *CustomBiddingAlgorithmsUploadScriptCall
- type CustomBiddingModelReadinessState
- type CustomBiddingScript
- type CustomBiddingScriptRef
- type CustomList
- type CustomListGroup
- type CustomListTargetingSetting
- type CustomListsGetCall
- func (c *CustomListsGetCall) AdvertiserId(advertiserId int64) *CustomListsGetCall
- func (c *CustomListsGetCall) Context(ctx context.Context) *CustomListsGetCall
- func (c *CustomListsGetCall) Do(opts ...googleapi.CallOption) (*CustomList, error)
- func (c *CustomListsGetCall) Fields(s ...googleapi.Field) *CustomListsGetCall
- func (c *CustomListsGetCall) Header() http.Header
- func (c *CustomListsGetCall) IfNoneMatch(entityTag string) *CustomListsGetCall
- type CustomListsListCall
- func (c *CustomListsListCall) AdvertiserId(advertiserId int64) *CustomListsListCall
- func (c *CustomListsListCall) Context(ctx context.Context) *CustomListsListCall
- func (c *CustomListsListCall) Do(opts ...googleapi.CallOption) (*ListCustomListsResponse, error)
- func (c *CustomListsListCall) Fields(s ...googleapi.Field) *CustomListsListCall
- func (c *CustomListsListCall) Filter(filter string) *CustomListsListCall
- func (c *CustomListsListCall) Header() http.Header
- func (c *CustomListsListCall) IfNoneMatch(entityTag string) *CustomListsListCall
- func (c *CustomListsListCall) OrderBy(orderBy string) *CustomListsListCall
- func (c *CustomListsListCall) PageSize(pageSize int64) *CustomListsListCall
- func (c *CustomListsListCall) PageToken(pageToken string) *CustomListsListCall
- func (c *CustomListsListCall) Pages(ctx context.Context, f func(*ListCustomListsResponse) error) error
- type CustomListsService
- type Date
- type DateRange
- type DayAndTimeAssignedTargetingOptionDetails
- type DeactivateManualTriggerRequest
- type DeleteAssignedTargetingOptionsRequest
- type DeviceMakeModelAssignedTargetingOptionDetails
- type DeviceMakeModelTargetingOptionDetails
- type DeviceTypeAssignedTargetingOptionDetails
- type DeviceTypeTargetingOptionDetails
- type DigitalContentLabelAssignedTargetingOptionDetails
- type DigitalContentLabelTargetingOptionDetails
- type Dimensions
- type DoubleVerify
- type DoubleVerifyAppStarRating
- type DoubleVerifyBrandSafetyCategories
- type DoubleVerifyDisplayViewability
- type DoubleVerifyFraudInvalidTraffic
- type DoubleVerifyVideoViewability
- type EditCustomerMatchMembersRequest
- type EditCustomerMatchMembersResponse
- type EditGuaranteedOrderReadAccessorsRequest
- type EditGuaranteedOrderReadAccessorsResponse
- type EditInventorySourceReadWriteAccessorsRequest
- type EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate
- type Empty
- type EnvironmentAssignedTargetingOptionDetails
- type EnvironmentTargetingOptionDetails
- type ExchangeAssignedTargetingOptionDetails
- type ExchangeConfig
- type ExchangeConfigEnabledExchange
- type ExchangeReviewStatus
- type ExchangeTargetingOptionDetails
- type ExitEvent
- type FirstAndThirdPartyAudience
- type FirstAndThirdPartyAudienceGroup
- type FirstAndThirdPartyAudienceTargetingSetting
- type FirstAndThirdPartyAudiencesCreateCall
- func (c *FirstAndThirdPartyAudiencesCreateCall) AdvertiserId(advertiserId int64) *FirstAndThirdPartyAudiencesCreateCall
- func (c *FirstAndThirdPartyAudiencesCreateCall) Context(ctx context.Context) *FirstAndThirdPartyAudiencesCreateCall
- func (c *FirstAndThirdPartyAudiencesCreateCall) Do(opts ...googleapi.CallOption) (*FirstAndThirdPartyAudience, error)
- func (c *FirstAndThirdPartyAudiencesCreateCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesCreateCall
- func (c *FirstAndThirdPartyAudiencesCreateCall) Header() http.Header
- type FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall
- func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Context(ctx context.Context) *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall
- func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Do(opts ...googleapi.CallOption) (*EditCustomerMatchMembersResponse, error)
- func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall
- func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Header() http.Header
- type FirstAndThirdPartyAudiencesGetCall
- func (c *FirstAndThirdPartyAudiencesGetCall) AdvertiserId(advertiserId int64) *FirstAndThirdPartyAudiencesGetCall
- func (c *FirstAndThirdPartyAudiencesGetCall) Context(ctx context.Context) *FirstAndThirdPartyAudiencesGetCall
- func (c *FirstAndThirdPartyAudiencesGetCall) Do(opts ...googleapi.CallOption) (*FirstAndThirdPartyAudience, error)
- func (c *FirstAndThirdPartyAudiencesGetCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesGetCall
- func (c *FirstAndThirdPartyAudiencesGetCall) Header() http.Header
- func (c *FirstAndThirdPartyAudiencesGetCall) IfNoneMatch(entityTag string) *FirstAndThirdPartyAudiencesGetCall
- func (c *FirstAndThirdPartyAudiencesGetCall) PartnerId(partnerId int64) *FirstAndThirdPartyAudiencesGetCall
- type FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) AdvertiserId(advertiserId int64) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) Context(ctx context.Context) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) Do(opts ...googleapi.CallOption) (*ListFirstAndThirdPartyAudiencesResponse, error)
- func (c *FirstAndThirdPartyAudiencesListCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) Filter(filter string) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) Header() http.Header
- func (c *FirstAndThirdPartyAudiencesListCall) IfNoneMatch(entityTag string) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) OrderBy(orderBy string) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) PageSize(pageSize int64) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) PageToken(pageToken string) *FirstAndThirdPartyAudiencesListCall
- func (c *FirstAndThirdPartyAudiencesListCall) Pages(ctx context.Context, f func(*ListFirstAndThirdPartyAudiencesResponse) error) error
- func (c *FirstAndThirdPartyAudiencesListCall) PartnerId(partnerId int64) *FirstAndThirdPartyAudiencesListCall
- type FirstAndThirdPartyAudiencesPatchCall
- func (c *FirstAndThirdPartyAudiencesPatchCall) AdvertiserId(advertiserId int64) *FirstAndThirdPartyAudiencesPatchCall
- func (c *FirstAndThirdPartyAudiencesPatchCall) Context(ctx context.Context) *FirstAndThirdPartyAudiencesPatchCall
- func (c *FirstAndThirdPartyAudiencesPatchCall) Do(opts ...googleapi.CallOption) (*FirstAndThirdPartyAudience, error)
- func (c *FirstAndThirdPartyAudiencesPatchCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesPatchCall
- func (c *FirstAndThirdPartyAudiencesPatchCall) Header() http.Header
- func (c *FirstAndThirdPartyAudiencesPatchCall) UpdateMask(updateMask string) *FirstAndThirdPartyAudiencesPatchCall
- type FirstAndThirdPartyAudiencesService
- func (r *FirstAndThirdPartyAudiencesService) Create(firstandthirdpartyaudience *FirstAndThirdPartyAudience) *FirstAndThirdPartyAudiencesCreateCall
- func (r *FirstAndThirdPartyAudiencesService) EditCustomerMatchMembers(firstAndThirdPartyAudienceId int64, ...) *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall
- func (r *FirstAndThirdPartyAudiencesService) Get(firstAndThirdPartyAudienceId int64) *FirstAndThirdPartyAudiencesGetCall
- func (r *FirstAndThirdPartyAudiencesService) List() *FirstAndThirdPartyAudiencesListCall
- func (r *FirstAndThirdPartyAudiencesService) Patch(firstAndThirdPartyAudienceId int64, ...) *FirstAndThirdPartyAudiencesPatchCall
- type FixedBidStrategy
- type FloodlightGroup
- type FloodlightGroupsGetCall
- func (c *FloodlightGroupsGetCall) Context(ctx context.Context) *FloodlightGroupsGetCall
- func (c *FloodlightGroupsGetCall) Do(opts ...googleapi.CallOption) (*FloodlightGroup, error)
- func (c *FloodlightGroupsGetCall) Fields(s ...googleapi.Field) *FloodlightGroupsGetCall
- func (c *FloodlightGroupsGetCall) Header() http.Header
- func (c *FloodlightGroupsGetCall) IfNoneMatch(entityTag string) *FloodlightGroupsGetCall
- func (c *FloodlightGroupsGetCall) PartnerId(partnerId int64) *FloodlightGroupsGetCall
- type FloodlightGroupsPatchCall
- func (c *FloodlightGroupsPatchCall) Context(ctx context.Context) *FloodlightGroupsPatchCall
- func (c *FloodlightGroupsPatchCall) Do(opts ...googleapi.CallOption) (*FloodlightGroup, error)
- func (c *FloodlightGroupsPatchCall) Fields(s ...googleapi.Field) *FloodlightGroupsPatchCall
- func (c *FloodlightGroupsPatchCall) Header() http.Header
- func (c *FloodlightGroupsPatchCall) PartnerId(partnerId int64) *FloodlightGroupsPatchCall
- func (c *FloodlightGroupsPatchCall) UpdateMask(updateMask string) *FloodlightGroupsPatchCall
- type FloodlightGroupsService
- type FrequencyCap
- type GenderAssignedTargetingOptionDetails
- type GenderTargetingOptionDetails
- type GenerateDefaultLineItemRequest
- type GeoRegionAssignedTargetingOptionDetails
- type GeoRegionSearchTerms
- type GeoRegionTargetingOptionDetails
- type GoogleAudience
- type GoogleAudienceGroup
- type GoogleAudienceTargetingSetting
- type GoogleAudiencesGetCall
- func (c *GoogleAudiencesGetCall) AdvertiserId(advertiserId int64) *GoogleAudiencesGetCall
- func (c *GoogleAudiencesGetCall) Context(ctx context.Context) *GoogleAudiencesGetCall
- func (c *GoogleAudiencesGetCall) Do(opts ...googleapi.CallOption) (*GoogleAudience, error)
- func (c *GoogleAudiencesGetCall) Fields(s ...googleapi.Field) *GoogleAudiencesGetCall
- func (c *GoogleAudiencesGetCall) Header() http.Header
- func (c *GoogleAudiencesGetCall) IfNoneMatch(entityTag string) *GoogleAudiencesGetCall
- func (c *GoogleAudiencesGetCall) PartnerId(partnerId int64) *GoogleAudiencesGetCall
- type GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) AdvertiserId(advertiserId int64) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) Context(ctx context.Context) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) Do(opts ...googleapi.CallOption) (*ListGoogleAudiencesResponse, error)
- func (c *GoogleAudiencesListCall) Fields(s ...googleapi.Field) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) Filter(filter string) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) Header() http.Header
- func (c *GoogleAudiencesListCall) IfNoneMatch(entityTag string) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) OrderBy(orderBy string) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) PageSize(pageSize int64) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) PageToken(pageToken string) *GoogleAudiencesListCall
- func (c *GoogleAudiencesListCall) Pages(ctx context.Context, f func(*ListGoogleAudiencesResponse) error) error
- func (c *GoogleAudiencesListCall) PartnerId(partnerId int64) *GoogleAudiencesListCall
- type GoogleAudiencesService
- type GoogleBytestreamMedia
- type GuaranteedOrder
- type GuaranteedOrderStatus
- type GuaranteedOrdersCreateCall
- func (c *GuaranteedOrdersCreateCall) AdvertiserId(advertiserId int64) *GuaranteedOrdersCreateCall
- func (c *GuaranteedOrdersCreateCall) Context(ctx context.Context) *GuaranteedOrdersCreateCall
- func (c *GuaranteedOrdersCreateCall) Do(opts ...googleapi.CallOption) (*GuaranteedOrder, error)
- func (c *GuaranteedOrdersCreateCall) Fields(s ...googleapi.Field) *GuaranteedOrdersCreateCall
- func (c *GuaranteedOrdersCreateCall) Header() http.Header
- func (c *GuaranteedOrdersCreateCall) PartnerId(partnerId int64) *GuaranteedOrdersCreateCall
- type GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall
- func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Context(ctx context.Context) *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall
- func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Do(opts ...googleapi.CallOption) (*EditGuaranteedOrderReadAccessorsResponse, error)
- func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Fields(s ...googleapi.Field) *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall
- func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Header() http.Header
- type GuaranteedOrdersGetCall
- func (c *GuaranteedOrdersGetCall) AdvertiserId(advertiserId int64) *GuaranteedOrdersGetCall
- func (c *GuaranteedOrdersGetCall) Context(ctx context.Context) *GuaranteedOrdersGetCall
- func (c *GuaranteedOrdersGetCall) Do(opts ...googleapi.CallOption) (*GuaranteedOrder, error)
- func (c *GuaranteedOrdersGetCall) Fields(s ...googleapi.Field) *GuaranteedOrdersGetCall
- func (c *GuaranteedOrdersGetCall) Header() http.Header
- func (c *GuaranteedOrdersGetCall) IfNoneMatch(entityTag string) *GuaranteedOrdersGetCall
- func (c *GuaranteedOrdersGetCall) PartnerId(partnerId int64) *GuaranteedOrdersGetCall
- type GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) AdvertiserId(advertiserId int64) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) Context(ctx context.Context) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) Do(opts ...googleapi.CallOption) (*ListGuaranteedOrdersResponse, error)
- func (c *GuaranteedOrdersListCall) Fields(s ...googleapi.Field) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) Filter(filter string) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) Header() http.Header
- func (c *GuaranteedOrdersListCall) IfNoneMatch(entityTag string) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) OrderBy(orderBy string) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) PageSize(pageSize int64) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) PageToken(pageToken string) *GuaranteedOrdersListCall
- func (c *GuaranteedOrdersListCall) Pages(ctx context.Context, f func(*ListGuaranteedOrdersResponse) error) error
- func (c *GuaranteedOrdersListCall) PartnerId(partnerId int64) *GuaranteedOrdersListCall
- type GuaranteedOrdersPatchCall
- func (c *GuaranteedOrdersPatchCall) AdvertiserId(advertiserId int64) *GuaranteedOrdersPatchCall
- func (c *GuaranteedOrdersPatchCall) Context(ctx context.Context) *GuaranteedOrdersPatchCall
- func (c *GuaranteedOrdersPatchCall) Do(opts ...googleapi.CallOption) (*GuaranteedOrder, error)
- func (c *GuaranteedOrdersPatchCall) Fields(s ...googleapi.Field) *GuaranteedOrdersPatchCall
- func (c *GuaranteedOrdersPatchCall) Header() http.Header
- func (c *GuaranteedOrdersPatchCall) PartnerId(partnerId int64) *GuaranteedOrdersPatchCall
- func (c *GuaranteedOrdersPatchCall) UpdateMask(updateMask string) *GuaranteedOrdersPatchCall
- type GuaranteedOrdersService
- func (r *GuaranteedOrdersService) Create(guaranteedorder *GuaranteedOrder) *GuaranteedOrdersCreateCall
- func (r *GuaranteedOrdersService) EditGuaranteedOrderReadAccessors(guaranteedOrderId string, ...) *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall
- func (r *GuaranteedOrdersService) Get(guaranteedOrderId string) *GuaranteedOrdersGetCall
- func (r *GuaranteedOrdersService) List() *GuaranteedOrdersListCall
- func (r *GuaranteedOrdersService) Patch(guaranteedOrderId string, guaranteedorder *GuaranteedOrder) *GuaranteedOrdersPatchCall
- type HouseholdIncomeAssignedTargetingOptionDetails
- type HouseholdIncomeTargetingOptionDetails
- type IdFilter
- type InsertionOrder
- type InsertionOrderBudget
- type InsertionOrderBudgetSegment
- type IntegralAdScience
- type IntegrationDetails
- type InventorySource
- type InventorySourceAccessors
- type InventorySourceAccessorsAdvertiserAccessors
- type InventorySourceAccessorsPartnerAccessor
- type InventorySourceAssignedTargetingOptionDetails
- type InventorySourceDisplayCreativeConfig
- type InventorySourceFilter
- type InventorySourceGroup
- type InventorySourceGroupAssignedTargetingOptionDetails
- type InventorySourceGroupsAssignedInventorySourcesBulkEditCall
- func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Context(ctx context.Context) *InventorySourceGroupsAssignedInventorySourcesBulkEditCall
- func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditAssignedInventorySourcesResponse, error)
- func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesBulkEditCall
- func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Header() http.Header
- type InventorySourceGroupsAssignedInventorySourcesCreateCall
- func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsAssignedInventorySourcesCreateCall
- func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Context(ctx context.Context) *InventorySourceGroupsAssignedInventorySourcesCreateCall
- func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Do(opts ...googleapi.CallOption) (*AssignedInventorySource, error)
- func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesCreateCall
- func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Header() http.Header
- func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) PartnerId(partnerId int64) *InventorySourceGroupsAssignedInventorySourcesCreateCall
- type InventorySourceGroupsAssignedInventorySourcesDeleteCall
- func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
- func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Context(ctx context.Context) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
- func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
- func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Header() http.Header
- func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) PartnerId(partnerId int64) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
- type InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Context(ctx context.Context) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Do(opts ...googleapi.CallOption) (*ListAssignedInventorySourcesResponse, error)
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Filter(filter string) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Header() http.Header
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) IfNoneMatch(entityTag string) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) OrderBy(orderBy string) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) PageSize(pageSize int64) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) PageToken(pageToken string) *InventorySourceGroupsAssignedInventorySourcesListCall
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Pages(ctx context.Context, f func(*ListAssignedInventorySourcesResponse) error) error
- func (c *InventorySourceGroupsAssignedInventorySourcesListCall) PartnerId(partnerId int64) *InventorySourceGroupsAssignedInventorySourcesListCall
- type InventorySourceGroupsAssignedInventorySourcesService
- func (r *InventorySourceGroupsAssignedInventorySourcesService) BulkEdit(inventorySourceGroupId int64, ...) *InventorySourceGroupsAssignedInventorySourcesBulkEditCall
- func (r *InventorySourceGroupsAssignedInventorySourcesService) Create(inventorySourceGroupId int64, assignedinventorysource *AssignedInventorySource) *InventorySourceGroupsAssignedInventorySourcesCreateCall
- func (r *InventorySourceGroupsAssignedInventorySourcesService) Delete(inventorySourceGroupId int64, assignedInventorySourceId int64) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
- func (r *InventorySourceGroupsAssignedInventorySourcesService) List(inventorySourceGroupId int64) *InventorySourceGroupsAssignedInventorySourcesListCall
- type InventorySourceGroupsCreateCall
- func (c *InventorySourceGroupsCreateCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsCreateCall
- func (c *InventorySourceGroupsCreateCall) Context(ctx context.Context) *InventorySourceGroupsCreateCall
- func (c *InventorySourceGroupsCreateCall) Do(opts ...googleapi.CallOption) (*InventorySourceGroup, error)
- func (c *InventorySourceGroupsCreateCall) Fields(s ...googleapi.Field) *InventorySourceGroupsCreateCall
- func (c *InventorySourceGroupsCreateCall) Header() http.Header
- func (c *InventorySourceGroupsCreateCall) PartnerId(partnerId int64) *InventorySourceGroupsCreateCall
- type InventorySourceGroupsDeleteCall
- func (c *InventorySourceGroupsDeleteCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsDeleteCall
- func (c *InventorySourceGroupsDeleteCall) Context(ctx context.Context) *InventorySourceGroupsDeleteCall
- func (c *InventorySourceGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *InventorySourceGroupsDeleteCall) Fields(s ...googleapi.Field) *InventorySourceGroupsDeleteCall
- func (c *InventorySourceGroupsDeleteCall) Header() http.Header
- func (c *InventorySourceGroupsDeleteCall) PartnerId(partnerId int64) *InventorySourceGroupsDeleteCall
- type InventorySourceGroupsGetCall
- func (c *InventorySourceGroupsGetCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsGetCall
- func (c *InventorySourceGroupsGetCall) Context(ctx context.Context) *InventorySourceGroupsGetCall
- func (c *InventorySourceGroupsGetCall) Do(opts ...googleapi.CallOption) (*InventorySourceGroup, error)
- func (c *InventorySourceGroupsGetCall) Fields(s ...googleapi.Field) *InventorySourceGroupsGetCall
- func (c *InventorySourceGroupsGetCall) Header() http.Header
- func (c *InventorySourceGroupsGetCall) IfNoneMatch(entityTag string) *InventorySourceGroupsGetCall
- func (c *InventorySourceGroupsGetCall) PartnerId(partnerId int64) *InventorySourceGroupsGetCall
- type InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) Context(ctx context.Context) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) Do(opts ...googleapi.CallOption) (*ListInventorySourceGroupsResponse, error)
- func (c *InventorySourceGroupsListCall) Fields(s ...googleapi.Field) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) Filter(filter string) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) Header() http.Header
- func (c *InventorySourceGroupsListCall) IfNoneMatch(entityTag string) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) OrderBy(orderBy string) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) PageSize(pageSize int64) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) PageToken(pageToken string) *InventorySourceGroupsListCall
- func (c *InventorySourceGroupsListCall) Pages(ctx context.Context, f func(*ListInventorySourceGroupsResponse) error) error
- func (c *InventorySourceGroupsListCall) PartnerId(partnerId int64) *InventorySourceGroupsListCall
- type InventorySourceGroupsPatchCall
- func (c *InventorySourceGroupsPatchCall) AdvertiserId(advertiserId int64) *InventorySourceGroupsPatchCall
- func (c *InventorySourceGroupsPatchCall) Context(ctx context.Context) *InventorySourceGroupsPatchCall
- func (c *InventorySourceGroupsPatchCall) Do(opts ...googleapi.CallOption) (*InventorySourceGroup, error)
- func (c *InventorySourceGroupsPatchCall) Fields(s ...googleapi.Field) *InventorySourceGroupsPatchCall
- func (c *InventorySourceGroupsPatchCall) Header() http.Header
- func (c *InventorySourceGroupsPatchCall) PartnerId(partnerId int64) *InventorySourceGroupsPatchCall
- func (c *InventorySourceGroupsPatchCall) UpdateMask(updateMask string) *InventorySourceGroupsPatchCall
- type InventorySourceGroupsService
- func (r *InventorySourceGroupsService) Create(inventorysourcegroup *InventorySourceGroup) *InventorySourceGroupsCreateCall
- func (r *InventorySourceGroupsService) Delete(inventorySourceGroupId int64) *InventorySourceGroupsDeleteCall
- func (r *InventorySourceGroupsService) Get(inventorySourceGroupId int64) *InventorySourceGroupsGetCall
- func (r *InventorySourceGroupsService) List() *InventorySourceGroupsListCall
- func (r *InventorySourceGroupsService) Patch(inventorySourceGroupId int64, inventorysourcegroup *InventorySourceGroup) *InventorySourceGroupsPatchCall
- type InventorySourceStatus
- type InventorySourceVideoCreativeConfig
- type InventorySourcesCreateCall
- func (c *InventorySourcesCreateCall) AdvertiserId(advertiserId int64) *InventorySourcesCreateCall
- func (c *InventorySourcesCreateCall) Context(ctx context.Context) *InventorySourcesCreateCall
- func (c *InventorySourcesCreateCall) Do(opts ...googleapi.CallOption) (*InventorySource, error)
- func (c *InventorySourcesCreateCall) Fields(s ...googleapi.Field) *InventorySourcesCreateCall
- func (c *InventorySourcesCreateCall) Header() http.Header
- func (c *InventorySourcesCreateCall) PartnerId(partnerId int64) *InventorySourcesCreateCall
- type InventorySourcesEditInventorySourceReadWriteAccessorsCall
- func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Context(ctx context.Context) *InventorySourcesEditInventorySourceReadWriteAccessorsCall
- func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Do(opts ...googleapi.CallOption) (*InventorySourceAccessors, error)
- func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Fields(s ...googleapi.Field) *InventorySourcesEditInventorySourceReadWriteAccessorsCall
- func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Header() http.Header
- type InventorySourcesGetCall
- func (c *InventorySourcesGetCall) Context(ctx context.Context) *InventorySourcesGetCall
- func (c *InventorySourcesGetCall) Do(opts ...googleapi.CallOption) (*InventorySource, error)
- func (c *InventorySourcesGetCall) Fields(s ...googleapi.Field) *InventorySourcesGetCall
- func (c *InventorySourcesGetCall) Header() http.Header
- func (c *InventorySourcesGetCall) IfNoneMatch(entityTag string) *InventorySourcesGetCall
- func (c *InventorySourcesGetCall) PartnerId(partnerId int64) *InventorySourcesGetCall
- type InventorySourcesListCall
- func (c *InventorySourcesListCall) AdvertiserId(advertiserId int64) *InventorySourcesListCall
- func (c *InventorySourcesListCall) Context(ctx context.Context) *InventorySourcesListCall
- func (c *InventorySourcesListCall) Do(opts ...googleapi.CallOption) (*ListInventorySourcesResponse, error)
- func (c *InventorySourcesListCall) Fields(s ...googleapi.Field) *InventorySourcesListCall
- func (c *InventorySourcesListCall) Filter(filter string) *InventorySourcesListCall
- func (c *InventorySourcesListCall) Header() http.Header
- func (c *InventorySourcesListCall) IfNoneMatch(entityTag string) *InventorySourcesListCall
- func (c *InventorySourcesListCall) OrderBy(orderBy string) *InventorySourcesListCall
- func (c *InventorySourcesListCall) PageSize(pageSize int64) *InventorySourcesListCall
- func (c *InventorySourcesListCall) PageToken(pageToken string) *InventorySourcesListCall
- func (c *InventorySourcesListCall) Pages(ctx context.Context, f func(*ListInventorySourcesResponse) error) error
- func (c *InventorySourcesListCall) PartnerId(partnerId int64) *InventorySourcesListCall
- type InventorySourcesPatchCall
- func (c *InventorySourcesPatchCall) AdvertiserId(advertiserId int64) *InventorySourcesPatchCall
- func (c *InventorySourcesPatchCall) Context(ctx context.Context) *InventorySourcesPatchCall
- func (c *InventorySourcesPatchCall) Do(opts ...googleapi.CallOption) (*InventorySource, error)
- func (c *InventorySourcesPatchCall) Fields(s ...googleapi.Field) *InventorySourcesPatchCall
- func (c *InventorySourcesPatchCall) Header() http.Header
- func (c *InventorySourcesPatchCall) PartnerId(partnerId int64) *InventorySourcesPatchCall
- func (c *InventorySourcesPatchCall) UpdateMask(updateMask string) *InventorySourcesPatchCall
- type InventorySourcesService
- func (r *InventorySourcesService) Create(inventorysource *InventorySource) *InventorySourcesCreateCall
- func (r *InventorySourcesService) EditInventorySourceReadWriteAccessors(inventorySourceId int64, ...) *InventorySourcesEditInventorySourceReadWriteAccessorsCall
- func (r *InventorySourcesService) Get(inventorySourceId int64) *InventorySourcesGetCall
- func (r *InventorySourcesService) List() *InventorySourcesListCall
- func (r *InventorySourcesService) Patch(inventorySourceId int64, inventorysource *InventorySource) *InventorySourcesPatchCall
- type Invoice
- type KeywordAssignedTargetingOptionDetails
- type LanguageAssignedTargetingOptionDetails
- type LanguageTargetingOptionDetails
- type LineItem
- type LineItemBudget
- type LineItemFlight
- type ListAdvertiserAssignedTargetingOptionsResponse
- type ListAdvertisersResponse
- type ListAssignedInventorySourcesResponse
- type ListAssignedLocationsResponse
- type ListCampaignAssignedTargetingOptionsResponse
- type ListCampaignsResponse
- type ListChannelsResponse
- type ListCombinedAudiencesResponse
- type ListCreativesResponse
- type ListCustomBiddingAlgorithmsResponse
- type ListCustomBiddingScriptsResponse
- type ListCustomListsResponse
- type ListFirstAndThirdPartyAudiencesResponse
- type ListGoogleAudiencesResponse
- type ListGuaranteedOrdersResponse
- type ListInsertionOrderAssignedTargetingOptionsResponse
- type ListInsertionOrdersResponse
- type ListInventorySourceGroupsResponse
- type ListInventorySourcesResponse
- type ListInvoicesResponse
- type ListLineItemAssignedTargetingOptionsResponse
- type ListLineItemsResponse
- type ListLocationListsResponse
- type ListManualTriggersResponse
- type ListNegativeKeywordListsResponse
- type ListNegativeKeywordsResponse
- type ListPartnerAssignedTargetingOptionsResponse
- type ListPartnersResponse
- type ListSitesResponse
- type ListTargetingOptionsResponse
- type ListUsersResponse
- type LocationList
- type LookbackWindow
- type LookupInvoiceCurrencyResponse
- type ManualTrigger
- type MaximizeSpendBidStrategy
- type MeasurementConfig
- type MediaDownloadCall
- func (c *MediaDownloadCall) Context(ctx context.Context) *MediaDownloadCall
- func (c *MediaDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleBytestreamMedia, error)
- func (c *MediaDownloadCall) Download(opts ...googleapi.CallOption) (*http.Response, error)
- func (c *MediaDownloadCall) Fields(s ...googleapi.Field) *MediaDownloadCall
- func (c *MediaDownloadCall) Header() http.Header
- func (c *MediaDownloadCall) IfNoneMatch(entityTag string) *MediaDownloadCall
- type MediaService
- type MediaUploadCall
- func (c *MediaUploadCall) Context(ctx context.Context) *MediaUploadCall
- func (c *MediaUploadCall) Do(opts ...googleapi.CallOption) (*GoogleBytestreamMedia, error)
- func (c *MediaUploadCall) Fields(s ...googleapi.Field) *MediaUploadCall
- func (c *MediaUploadCall) Header() http.Header
- func (c *MediaUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *MediaUploadCall
- func (c *MediaUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *MediaUploadCall
- func (c *MediaUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *MediaUploadCalldeprecated
- type MobileApp
- type MobileDeviceIdList
- type Money
- type NativeContentPositionAssignedTargetingOptionDetails
- type NativeContentPositionTargetingOptionDetails
- type NegativeKeyword
- type NegativeKeywordList
- type NegativeKeywordListAssignedTargetingOptionDetails
- type ObaIcon
- type OmidAssignedTargetingOptionDetails
- type OmidTargetingOptionDetails
- type OnScreenPositionAssignedTargetingOptionDetails
- type OnScreenPositionTargetingOptionDetails
- type OperatingSystemAssignedTargetingOptionDetails
- type OperatingSystemTargetingOptionDetails
- type Operation
- type Pacing
- type ParentEntityFilter
- type ParentalStatusAssignedTargetingOptionDetails
- type ParentalStatusTargetingOptionDetails
- type Partner
- type PartnerAdServerConfig
- type PartnerCost
- type PartnerDataAccessConfig
- type PartnerGeneralConfig
- type PartnerRevenueModel
- type PartnersBulkEditPartnerAssignedTargetingOptionsCall
- func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Context(ctx context.Context) *PartnersBulkEditPartnerAssignedTargetingOptionsCall
- func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkEditPartnerAssignedTargetingOptionsResponse, error)
- func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *PartnersBulkEditPartnerAssignedTargetingOptionsCall
- func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Header() http.Header
- type PartnersChannelsCreateCall
- func (c *PartnersChannelsCreateCall) AdvertiserId(advertiserId int64) *PartnersChannelsCreateCall
- func (c *PartnersChannelsCreateCall) Context(ctx context.Context) *PartnersChannelsCreateCall
- func (c *PartnersChannelsCreateCall) Do(opts ...googleapi.CallOption) (*Channel, error)
- func (c *PartnersChannelsCreateCall) Fields(s ...googleapi.Field) *PartnersChannelsCreateCall
- func (c *PartnersChannelsCreateCall) Header() http.Header
- type PartnersChannelsGetCall
- func (c *PartnersChannelsGetCall) AdvertiserId(advertiserId int64) *PartnersChannelsGetCall
- func (c *PartnersChannelsGetCall) Context(ctx context.Context) *PartnersChannelsGetCall
- func (c *PartnersChannelsGetCall) Do(opts ...googleapi.CallOption) (*Channel, error)
- func (c *PartnersChannelsGetCall) Fields(s ...googleapi.Field) *PartnersChannelsGetCall
- func (c *PartnersChannelsGetCall) Header() http.Header
- func (c *PartnersChannelsGetCall) IfNoneMatch(entityTag string) *PartnersChannelsGetCall
- type PartnersChannelsListCall
- func (c *PartnersChannelsListCall) AdvertiserId(advertiserId int64) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) Context(ctx context.Context) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) Do(opts ...googleapi.CallOption) (*ListChannelsResponse, error)
- func (c *PartnersChannelsListCall) Fields(s ...googleapi.Field) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) Filter(filter string) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) Header() http.Header
- func (c *PartnersChannelsListCall) IfNoneMatch(entityTag string) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) OrderBy(orderBy string) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) PageSize(pageSize int64) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) PageToken(pageToken string) *PartnersChannelsListCall
- func (c *PartnersChannelsListCall) Pages(ctx context.Context, f func(*ListChannelsResponse) error) error
- type PartnersChannelsPatchCall
- func (c *PartnersChannelsPatchCall) AdvertiserId(advertiserId int64) *PartnersChannelsPatchCall
- func (c *PartnersChannelsPatchCall) Context(ctx context.Context) *PartnersChannelsPatchCall
- func (c *PartnersChannelsPatchCall) Do(opts ...googleapi.CallOption) (*Channel, error)
- func (c *PartnersChannelsPatchCall) Fields(s ...googleapi.Field) *PartnersChannelsPatchCall
- func (c *PartnersChannelsPatchCall) Header() http.Header
- func (c *PartnersChannelsPatchCall) UpdateMask(updateMask string) *PartnersChannelsPatchCall
- type PartnersChannelsService
- func (r *PartnersChannelsService) Create(partnerId int64, channel *Channel) *PartnersChannelsCreateCall
- func (r *PartnersChannelsService) Get(partnerId int64, channelId int64) *PartnersChannelsGetCall
- func (r *PartnersChannelsService) List(partnerId int64) *PartnersChannelsListCall
- func (r *PartnersChannelsService) Patch(partnerId int64, channelId int64, channel *Channel) *PartnersChannelsPatchCall
- type PartnersChannelsSitesBulkEditCall
- func (c *PartnersChannelsSitesBulkEditCall) Context(ctx context.Context) *PartnersChannelsSitesBulkEditCall
- func (c *PartnersChannelsSitesBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditSitesResponse, error)
- func (c *PartnersChannelsSitesBulkEditCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesBulkEditCall
- func (c *PartnersChannelsSitesBulkEditCall) Header() http.Header
- type PartnersChannelsSitesCreateCall
- func (c *PartnersChannelsSitesCreateCall) AdvertiserId(advertiserId int64) *PartnersChannelsSitesCreateCall
- func (c *PartnersChannelsSitesCreateCall) Context(ctx context.Context) *PartnersChannelsSitesCreateCall
- func (c *PartnersChannelsSitesCreateCall) Do(opts ...googleapi.CallOption) (*Site, error)
- func (c *PartnersChannelsSitesCreateCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesCreateCall
- func (c *PartnersChannelsSitesCreateCall) Header() http.Header
- type PartnersChannelsSitesDeleteCall
- func (c *PartnersChannelsSitesDeleteCall) AdvertiserId(advertiserId int64) *PartnersChannelsSitesDeleteCall
- func (c *PartnersChannelsSitesDeleteCall) Context(ctx context.Context) *PartnersChannelsSitesDeleteCall
- func (c *PartnersChannelsSitesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *PartnersChannelsSitesDeleteCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesDeleteCall
- func (c *PartnersChannelsSitesDeleteCall) Header() http.Header
- type PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) AdvertiserId(advertiserId int64) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) Context(ctx context.Context) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) Do(opts ...googleapi.CallOption) (*ListSitesResponse, error)
- func (c *PartnersChannelsSitesListCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) Filter(filter string) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) Header() http.Header
- func (c *PartnersChannelsSitesListCall) IfNoneMatch(entityTag string) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) OrderBy(orderBy string) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) PageSize(pageSize int64) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) PageToken(pageToken string) *PartnersChannelsSitesListCall
- func (c *PartnersChannelsSitesListCall) Pages(ctx context.Context, f func(*ListSitesResponse) error) error
- type PartnersChannelsSitesReplaceCall
- func (c *PartnersChannelsSitesReplaceCall) Context(ctx context.Context) *PartnersChannelsSitesReplaceCall
- func (c *PartnersChannelsSitesReplaceCall) Do(opts ...googleapi.CallOption) (*ReplaceSitesResponse, error)
- func (c *PartnersChannelsSitesReplaceCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesReplaceCall
- func (c *PartnersChannelsSitesReplaceCall) Header() http.Header
- type PartnersChannelsSitesService
- func (r *PartnersChannelsSitesService) BulkEdit(partnerId int64, channelId int64, bulkeditsitesrequest *BulkEditSitesRequest) *PartnersChannelsSitesBulkEditCall
- func (r *PartnersChannelsSitesService) Create(partnerId int64, channelId int64, site *Site) *PartnersChannelsSitesCreateCall
- func (r *PartnersChannelsSitesService) Delete(partnerId int64, channelId int64, urlOrAppId string) *PartnersChannelsSitesDeleteCall
- func (r *PartnersChannelsSitesService) List(partnerId int64, channelId int64) *PartnersChannelsSitesListCall
- func (r *PartnersChannelsSitesService) Replace(partnerId int64, channelId int64, replacesitesrequest *ReplaceSitesRequest) *PartnersChannelsSitesReplaceCall
- type PartnersGetCall
- func (c *PartnersGetCall) Context(ctx context.Context) *PartnersGetCall
- func (c *PartnersGetCall) Do(opts ...googleapi.CallOption) (*Partner, error)
- func (c *PartnersGetCall) Fields(s ...googleapi.Field) *PartnersGetCall
- func (c *PartnersGetCall) Header() http.Header
- func (c *PartnersGetCall) IfNoneMatch(entityTag string) *PartnersGetCall
- type PartnersListCall
- func (c *PartnersListCall) Context(ctx context.Context) *PartnersListCall
- func (c *PartnersListCall) Do(opts ...googleapi.CallOption) (*ListPartnersResponse, error)
- func (c *PartnersListCall) Fields(s ...googleapi.Field) *PartnersListCall
- func (c *PartnersListCall) Filter(filter string) *PartnersListCall
- func (c *PartnersListCall) Header() http.Header
- func (c *PartnersListCall) IfNoneMatch(entityTag string) *PartnersListCall
- func (c *PartnersListCall) OrderBy(orderBy string) *PartnersListCall
- func (c *PartnersListCall) PageSize(pageSize int64) *PartnersListCall
- func (c *PartnersListCall) PageToken(pageToken string) *PartnersListCall
- func (c *PartnersListCall) Pages(ctx context.Context, f func(*ListPartnersResponse) error) error
- type PartnersService
- type PartnersTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Context(ctx context.Context) *PartnersTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsCreateCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Header() http.Header
- type PartnersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Context(ctx context.Context) *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Header() http.Header
- type PartnersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Context(ctx context.Context) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption, error)
- func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Header() http.Header
- func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTag string) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
- type PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Context(ctx context.Context) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListPartnerAssignedTargetingOptionsResponse, error)
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Filter(filter string) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Header() http.Header
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTag string) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBy string) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSize int64) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageToken string) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Pages(ctx context.Context, ...) error
- type PartnersTargetingTypesAssignedTargetingOptionsService
- func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Create(partnerId int64, targetingType string, ...) *PartnersTargetingTypesAssignedTargetingOptionsCreateCall
- func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Delete(partnerId int64, targetingType string, assignedTargetingOptionId string) *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall
- func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Get(partnerId int64, targetingType string, assignedTargetingOptionId string) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
- func (r *PartnersTargetingTypesAssignedTargetingOptionsService) List(partnerId int64, targetingType string) *PartnersTargetingTypesAssignedTargetingOptionsListCall
- type PartnersTargetingTypesService
- type PerformanceGoal
- type PerformanceGoalBidStrategy
- type PoiAssignedTargetingOptionDetails
- type PoiSearchTerms
- type PoiTargetingOptionDetails
- type PrismaConfig
- type PrismaCpeCode
- type ProximityLocationListAssignedTargetingOptionDetails
- type PublisherReviewStatus
- type RateDetails
- type RegionalLocationListAssignedTargetingOptionDetails
- type ReplaceNegativeKeywordsRequest
- type ReplaceNegativeKeywordsResponse
- type ReplaceSitesRequest
- type ReplaceSitesResponse
- type ReviewStatusInfo
- type ScriptError
- type SdfConfig
- type SdfDownloadTask
- type SdfDownloadTaskMetadata
- type SdfdownloadtasksCreateCall
- func (c *SdfdownloadtasksCreateCall) Context(ctx context.Context) *SdfdownloadtasksCreateCall
- func (c *SdfdownloadtasksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SdfdownloadtasksCreateCall) Fields(s ...googleapi.Field) *SdfdownloadtasksCreateCall
- func (c *SdfdownloadtasksCreateCall) Header() http.Header
- type SdfdownloadtasksOperationsGetCall
- func (c *SdfdownloadtasksOperationsGetCall) Context(ctx context.Context) *SdfdownloadtasksOperationsGetCall
- func (c *SdfdownloadtasksOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SdfdownloadtasksOperationsGetCall) Fields(s ...googleapi.Field) *SdfdownloadtasksOperationsGetCall
- func (c *SdfdownloadtasksOperationsGetCall) Header() http.Header
- func (c *SdfdownloadtasksOperationsGetCall) IfNoneMatch(entityTag string) *SdfdownloadtasksOperationsGetCall
- type SdfdownloadtasksOperationsService
- type SdfdownloadtasksService
- type SearchTargetingOptionsRequest
- type SearchTargetingOptionsResponse
- type SensitiveCategoryAssignedTargetingOptionDetails
- type SensitiveCategoryTargetingOptionDetails
- type Service
- type Site
- type Status
- type SubExchangeAssignedTargetingOptionDetails
- type SubExchangeTargetingOptionDetails
- type TargetingExpansionConfig
- type TargetingOption
- type TargetingTypesService
- type TargetingTypesTargetingOptionsGetCall
- func (c *TargetingTypesTargetingOptionsGetCall) AdvertiserId(advertiserId int64) *TargetingTypesTargetingOptionsGetCall
- func (c *TargetingTypesTargetingOptionsGetCall) Context(ctx context.Context) *TargetingTypesTargetingOptionsGetCall
- func (c *TargetingTypesTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*TargetingOption, error)
- func (c *TargetingTypesTargetingOptionsGetCall) Fields(s ...googleapi.Field) *TargetingTypesTargetingOptionsGetCall
- func (c *TargetingTypesTargetingOptionsGetCall) Header() http.Header
- func (c *TargetingTypesTargetingOptionsGetCall) IfNoneMatch(entityTag string) *TargetingTypesTargetingOptionsGetCall
- type TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) AdvertiserId(advertiserId int64) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) Context(ctx context.Context) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListTargetingOptionsResponse, error)
- func (c *TargetingTypesTargetingOptionsListCall) Fields(s ...googleapi.Field) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) Filter(filter string) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) Header() http.Header
- func (c *TargetingTypesTargetingOptionsListCall) IfNoneMatch(entityTag string) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) OrderBy(orderBy string) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) PageSize(pageSize int64) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) PageToken(pageToken string) *TargetingTypesTargetingOptionsListCall
- func (c *TargetingTypesTargetingOptionsListCall) Pages(ctx context.Context, f func(*ListTargetingOptionsResponse) error) error
- type TargetingTypesTargetingOptionsSearchCall
- func (c *TargetingTypesTargetingOptionsSearchCall) Context(ctx context.Context) *TargetingTypesTargetingOptionsSearchCall
- func (c *TargetingTypesTargetingOptionsSearchCall) Do(opts ...googleapi.CallOption) (*SearchTargetingOptionsResponse, error)
- func (c *TargetingTypesTargetingOptionsSearchCall) Fields(s ...googleapi.Field) *TargetingTypesTargetingOptionsSearchCall
- func (c *TargetingTypesTargetingOptionsSearchCall) Header() http.Header
- func (c *TargetingTypesTargetingOptionsSearchCall) Pages(ctx context.Context, f func(*SearchTargetingOptionsResponse) error) error
- type TargetingTypesTargetingOptionsService
- func (r *TargetingTypesTargetingOptionsService) Get(targetingType string, targetingOptionId string) *TargetingTypesTargetingOptionsGetCall
- func (r *TargetingTypesTargetingOptionsService) List(targetingType string) *TargetingTypesTargetingOptionsListCall
- func (r *TargetingTypesTargetingOptionsService) Search(targetingType string, ...) *TargetingTypesTargetingOptionsSearchCall
- type ThirdPartyOnlyConfig
- type ThirdPartyUrl
- type ThirdPartyVerifierAssignedTargetingOptionDetails
- type TimeRange
- type TimerEvent
- type TrackingFloodlightActivityConfig
- type Transcode
- type UniversalAdId
- type UrlAssignedTargetingOptionDetails
- type User
- type UserRewardedContentAssignedTargetingOptionDetails
- type UserRewardedContentTargetingOptionDetails
- type UsersBulkEditAssignedUserRolesCall
- func (c *UsersBulkEditAssignedUserRolesCall) Context(ctx context.Context) *UsersBulkEditAssignedUserRolesCall
- func (c *UsersBulkEditAssignedUserRolesCall) Do(opts ...googleapi.CallOption) (*BulkEditAssignedUserRolesResponse, error)
- func (c *UsersBulkEditAssignedUserRolesCall) Fields(s ...googleapi.Field) *UsersBulkEditAssignedUserRolesCall
- func (c *UsersBulkEditAssignedUserRolesCall) Header() http.Header
- type UsersCreateCall
- type UsersDeleteCall
- type UsersGetCall
- func (c *UsersGetCall) Context(ctx context.Context) *UsersGetCall
- func (c *UsersGetCall) Do(opts ...googleapi.CallOption) (*User, error)
- func (c *UsersGetCall) Fields(s ...googleapi.Field) *UsersGetCall
- func (c *UsersGetCall) Header() http.Header
- func (c *UsersGetCall) IfNoneMatch(entityTag string) *UsersGetCall
- type UsersListCall
- func (c *UsersListCall) Context(ctx context.Context) *UsersListCall
- func (c *UsersListCall) Do(opts ...googleapi.CallOption) (*ListUsersResponse, error)
- func (c *UsersListCall) Fields(s ...googleapi.Field) *UsersListCall
- func (c *UsersListCall) Filter(filter string) *UsersListCall
- func (c *UsersListCall) Header() http.Header
- func (c *UsersListCall) IfNoneMatch(entityTag string) *UsersListCall
- func (c *UsersListCall) OrderBy(orderBy string) *UsersListCall
- func (c *UsersListCall) PageSize(pageSize int64) *UsersListCall
- func (c *UsersListCall) PageToken(pageToken string) *UsersListCall
- func (c *UsersListCall) Pages(ctx context.Context, f func(*ListUsersResponse) error) error
- type UsersPatchCall
- func (c *UsersPatchCall) Context(ctx context.Context) *UsersPatchCall
- func (c *UsersPatchCall) Do(opts ...googleapi.CallOption) (*User, error)
- func (c *UsersPatchCall) Fields(s ...googleapi.Field) *UsersPatchCall
- func (c *UsersPatchCall) Header() http.Header
- func (c *UsersPatchCall) UpdateMask(updateMask string) *UsersPatchCall
- type UsersService
- func (r *UsersService) BulkEditAssignedUserRoles(userId int64, ...) *UsersBulkEditAssignedUserRolesCall
- func (r *UsersService) Create(user *User) *UsersCreateCall
- func (r *UsersService) Delete(userId int64) *UsersDeleteCall
- func (r *UsersService) Get(userId int64) *UsersGetCall
- func (r *UsersService) List() *UsersListCall
- func (r *UsersService) Patch(userId int64, user *User) *UsersPatchCall
- type VideoPlayerSizeAssignedTargetingOptionDetails
- type VideoPlayerSizeTargetingOptionDetails
- type ViewabilityAssignedTargetingOptionDetails
- type ViewabilityTargetingOptionDetails
Constants¶
const (// Create, see, edit, and permanently delete your Display & Video 360// entities and reportsDisplayVideoScope = "https://www.googleapis.com/auth/display-video"// Create, see, and edit Display & Video 360 Campaign entities and see// billing invoicesDisplayVideoMediaplanningScope = "https://www.googleapis.com/auth/display-video-mediaplanning"// Private Service://https://www.googleapis.com/auth/display-video-user-managementDisplayVideoUserManagementScope = "https://www.googleapis.com/auth/display-video-user-management"// View and manage your reports in DoubleClick Bid ManagerDoubleclickbidmanagerScope = "https://www.googleapis.com/auth/doubleclickbidmanager")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeActivateManualTriggerRequest¶added inv0.35.0
type ActivateManualTriggerRequest struct {}ActivateManualTriggerRequest: Request message forManualTriggerService.ActivateManualTrigger.
typeActiveViewVideoViewabilityMetricConfig¶added inv0.23.0
type ActiveViewVideoViewabilityMetricConfig struct {// DisplayName: Required. The display name of the custom metric.DisplayNamestring `json:"displayName,omitempty"`// MinimumDuration: The minimum visible video duration required (in// seconds) in order for an impression to be recorded. You must specify// minimum_duration, minimum_quartile or both. If both are specified, an// impression meets the metric criteria if either requirement is met// (whichever happens first).//// Possible values:// "VIDEO_DURATION_UNSPECIFIED" - Value is not specified or is unknown// in this version.// "VIDEO_DURATION_SECONDS_NONE" - No duration value.// "VIDEO_DURATION_SECONDS_0" - 0 seconds.// "VIDEO_DURATION_SECONDS_1" - 1 second.// "VIDEO_DURATION_SECONDS_2" - 2 seconds.// "VIDEO_DURATION_SECONDS_3" - 3 seconds.// "VIDEO_DURATION_SECONDS_4" - 4 seconds.// "VIDEO_DURATION_SECONDS_5" - 5 seconds.// "VIDEO_DURATION_SECONDS_6" - 6 seconds.// "VIDEO_DURATION_SECONDS_7" - 7 seconds.// "VIDEO_DURATION_SECONDS_8" - 8 seconds.// "VIDEO_DURATION_SECONDS_9" - 9 seconds.// "VIDEO_DURATION_SECONDS_10" - 10 seconds.// "VIDEO_DURATION_SECONDS_11" - 11 seconds.// "VIDEO_DURATION_SECONDS_12" - 12 seconds.// "VIDEO_DURATION_SECONDS_13" - 13 seconds.// "VIDEO_DURATION_SECONDS_14" - 14 seconds.// "VIDEO_DURATION_SECONDS_15" - 15 seconds.// "VIDEO_DURATION_SECONDS_30" - 30 seconds.// "VIDEO_DURATION_SECONDS_45" - 45 seconds.// "VIDEO_DURATION_SECONDS_60" - 60 seconds.MinimumDurationstring `json:"minimumDuration,omitempty"`// MinimumQuartile: The minimum visible video duration required, based// on the video quartiles, in order for an impression to be recorded.// You must specify minimum_duration, minimum_quartile or both. If both// are specified, an impression meets the metric criteria if either// requirement is met (whichever happens first).//// Possible values:// "VIDEO_DURATION_QUARTILE_UNSPECIFIED" - Value is not specified or// is unknown in this version.// "VIDEO_DURATION_QUARTILE_NONE" - No quartile value.// "VIDEO_DURATION_QUARTILE_FIRST" - First quartile.// "VIDEO_DURATION_QUARTILE_SECOND" - Second quartile (midpoint).// "VIDEO_DURATION_QUARTILE_THIRD" - Third quartile.// "VIDEO_DURATION_QUARTILE_FOURTH" - Fourth quartile (completion).MinimumQuartilestring `json:"minimumQuartile,omitempty"`// MinimumViewability: Required. The minimum percentage of the video// ad's pixels visible on the screen in order for an impression to be// recorded.//// Possible values:// "VIEWABILITY_PERCENT_UNSPECIFIED" - Value is not specified or is// unknown in this version.// "VIEWABILITY_PERCENT_0" - 0% viewable.// "VIEWABILITY_PERCENT_25" - 25% viewable.// "VIEWABILITY_PERCENT_50" - 50% viewable.// "VIEWABILITY_PERCENT_75" - 75% viewable.// "VIEWABILITY_PERCENT_100" - 100% viewable.MinimumViewabilitystring `json:"minimumViewability,omitempty"`// MinimumVolume: Required. The minimum percentage of the video ad's// volume required in order for an impression to be recorded.//// Possible values:// "VIDEO_VOLUME_PERCENT_UNSPECIFIED" - Value is not specified or is// unknown in this version.// "VIDEO_VOLUME_PERCENT_0" - 0% volume.// "VIDEO_VOLUME_PERCENT_10" - 10% volume.MinimumVolumestring `json:"minimumVolume,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ActiveViewVideoViewabilityMetricConfig: Configuration for customActive View video viewability metrics.
func (*ActiveViewVideoViewabilityMetricConfig)MarshalJSON¶added inv0.23.0
func (s *ActiveViewVideoViewabilityMetricConfig) MarshalJSON() ([]byte,error)
typeAdloox¶added inv0.23.0
type Adloox struct {// ExcludedAdlooxCategories: Adloox's brand safety settings.//// Possible values:// "ADLOOX_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any Adloox option.// "ADULT_CONTENT_HARD" - Adult content (hard).// "ADULT_CONTENT_SOFT" - Adult content (soft).// "ILLEGAL_CONTENT" - Illegal content.// "BORDERLINE_CONTENT" - Borderline content.// "DISCRIMINATORY_CONTENT" - Discriminatory content.// "VIOLENT_CONTENT_WEAPONS" - Violent content & weapons.// "LOW_VIEWABILITY_DOMAINS" - Low viewability domains.// "FRAUD" - Fraud.ExcludedAdlooxCategories []string `json:"excludedAdlooxCategories,omitempty"`// ForceSendFields is a list of field names (e.g.// "ExcludedAdlooxCategories") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExcludedAdlooxCategories")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Adloox: Details of Adloox settings.
func (*Adloox)MarshalJSON¶added inv0.23.0
typeAdvertiser¶added inv0.23.0
type Advertiser struct {// AdServerConfig: Required. Immutable. Ad server related settings of// the advertiser.AdServerConfig *AdvertiserAdServerConfig `json:"adServerConfig,omitempty"`// AdvertiserId: Output only. The unique ID of the advertiser. Assigned// by the system.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// CreativeConfig: Required. Creative related settings of the// advertiser.CreativeConfig *AdvertiserCreativeConfig `json:"creativeConfig,omitempty"`// DataAccessConfig: Settings that control how advertiser data may be// accessed.DataAccessConfig *AdvertiserDataAccessConfig `json:"dataAccessConfig,omitempty"`// DisplayName: Required. The display name of the advertiser. Must be// UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// EntityStatus: Required. Controls whether or not insertion orders and// line items of the advertiser can spend their budgets and bid on// inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`,// `ENTITY_STATUS_PAUSED` and `ENTITY_STATUS_SCHEDULED_FOR_DELETION`. *// If set to `ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser will// be deleted 30 days from when it was first scheduled for deletion.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// GeneralConfig: Required. General settings of the advertiser.GeneralConfig *AdvertiserGeneralConfig `json:"generalConfig,omitempty"`// IntegrationDetails: Integration details of the advertiser. Only// integrationCode is currently applicable to advertiser. Other fields// of IntegrationDetails are not supported and will be ignored if// provided.IntegrationDetails *IntegrationDetails `json:"integrationDetails,omitempty"`// Name: Output only. The resource name of the advertiser.Namestring `json:"name,omitempty"`// PartnerId: Required. Immutable. The unique ID of the partner that the// advertiser belongs to.PartnerIdint64 `json:"partnerId,omitempty,string"`// PrismaEnabled: Whether integration with Mediaocean (Prisma) is// enabled. By enabling this, you agree to the following: On behalf of// my company, I authorize Mediaocean (Prisma) to send budget segment// plans to Google, and I authorize Google to send corresponding// reporting and invoices from DV360 to Mediaocean for the purposes of// budget planning, billing, and reconciliation for this advertiser.PrismaEnabledbool `json:"prismaEnabled,omitempty"`// ServingConfig: Targeting settings related to ad serving of the// advertiser.ServingConfig *AdvertiserTargetingConfig `json:"servingConfig,omitempty"`// UpdateTime: Output only. The timestamp when the advertiser was last// updated. Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdServerConfig") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdServerConfig") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Advertiser: A single advertiser in Display & Video 360 (DV360).
func (*Advertiser)MarshalJSON¶added inv0.23.0
func (s *Advertiser) MarshalJSON() ([]byte,error)
typeAdvertiserAdServerConfig¶added inv0.23.0
type AdvertiserAdServerConfig struct {// CmHybridConfig: The configuration for advertisers that use both// Campaign Manager 360 (CM360) and third-party ad servers.CmHybridConfig *CmHybridConfig `json:"cmHybridConfig,omitempty"`// ThirdPartyOnlyConfig: The configuration for advertisers that use// third-party ad servers only.ThirdPartyOnlyConfig *ThirdPartyOnlyConfig `json:"thirdPartyOnlyConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "CmHybridConfig") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CmHybridConfig") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AdvertiserAdServerConfig: Ad server related settings of anadvertiser.
func (*AdvertiserAdServerConfig)MarshalJSON¶added inv0.23.0
func (s *AdvertiserAdServerConfig) MarshalJSON() ([]byte,error)
typeAdvertiserCreativeConfig¶added inv0.23.0
type AdvertiserCreativeConfig struct {// DynamicCreativeEnabled: Whether or not the advertiser is enabled for// dynamic creatives.DynamicCreativeEnabledbool `json:"dynamicCreativeEnabled,omitempty"`// IasClientId: An ID for configuring campaign monitoring provided by// Integral Ad Service (IAS). The DV360 system will append an IAS// "Campaign Monitor" tag containing this ID to the creative tag.IasClientIdint64 `json:"iasClientId,omitempty,string"`// ObaComplianceDisabled: Whether or not to use DV360's Online// Behavioral Advertising (OBA) compliance. Starting on February 9,// 2024, this field will be affected by an update to the Display & Video// 360 API Terms of Service. See our announcement// (//ads-developers.googleblog.com/2024/01/update-to-display-video-360-a// pi-terms.html) for more detail. Warning: Changing OBA settings may// cause the audit status of your creatives to be reset by some ad// exchanges, making them ineligible to serve until they are// re-approved.ObaComplianceDisabledbool `json:"obaComplianceDisabled,omitempty"`// VideoCreativeDataSharingAuthorized: By setting this field to `true`,// you, on behalf of your company, authorize Google to use video// creatives associated with this Display & Video 360 advertiser to// provide reporting and features related to the advertiser's television// campaigns. Applicable only when the advertiser has a CM360 hybrid ad// server configuration.VideoCreativeDataSharingAuthorizedbool `json:"videoCreativeDataSharingAuthorized,omitempty"`// ForceSendFields is a list of field names (e.g.// "DynamicCreativeEnabled") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DynamicCreativeEnabled")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AdvertiserCreativeConfig: Creatives related settings of anadvertiser.
func (*AdvertiserCreativeConfig)MarshalJSON¶added inv0.23.0
func (s *AdvertiserCreativeConfig) MarshalJSON() ([]byte,error)
typeAdvertiserDataAccessConfig¶added inv0.23.0
type AdvertiserDataAccessConfig struct {// SdfConfig: Structured Data Files (SDF) settings for the advertiser.// If not specified, the SDF settings of the parent partner are used.SdfConfig *AdvertiserSdfConfig `json:"sdfConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "SdfConfig") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SdfConfig") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AdvertiserDataAccessConfig: Settings that control how advertiserrelated data may be accessed.
func (*AdvertiserDataAccessConfig)MarshalJSON¶added inv0.23.0
func (s *AdvertiserDataAccessConfig) MarshalJSON() ([]byte,error)
typeAdvertiserGeneralConfig¶added inv0.23.0
type AdvertiserGeneralConfig struct {// CurrencyCode: Required. Immutable. Advertiser's currency in ISO 4217// format. Accepted codes and the currencies they represent are:// Currency Code : Currency Name * `ARS` : Argentine Peso * `AUD` :// Australian Dollar * `BRL` : Brazilian Real * `CAD` : Canadian Dollar// * `CHF` : Swiss Franc * `CLP` : Chilean Peso * `CNY` : Chinese Yuan *// `COP` : Colombian Peso * `CZK` : Czech Koruna * `DKK` : Danish Krone// * `EGP` : Egyption Pound * `EUR` : Euro * `GBP` : British Pound *// `HKD` : Hong Kong Dollar * `HUF` : Hungarian Forint * `IDR` :// Indonesian Rupiah * `ILS` : Israeli Shekel * `INR` : Indian Rupee *// `JPY` : Japanese Yen * `KRW` : South Korean Won * `MXN` : Mexican// Pesos * `MYR` : Malaysian Ringgit * `NGN` : Nigerian Naira * `NOK` :// Norwegian Krone * `NZD` : New Zealand Dollar * `PEN` : Peruvian Nuevo// Sol * `PLN` : Polish Zloty * `RON` : New Romanian Leu * `RUB` :// Russian Ruble * `SEK` : Swedish Krona * `TRY` : Turkish Lira * `TWD`// : New Taiwan Dollar * `USD` : US Dollar * `ZAR` : South African RandCurrencyCodestring `json:"currencyCode,omitempty"`// DomainUrl: Required. The domain URL of the advertiser's primary// website. The system will send this information to publishers that// require website URL to associate a campaign with an advertiser.// Provide a URL with no path or query string, beginning with `http:` or// `https:`. For example,http://www.example.comDomainUrlstring `json:"domainUrl,omitempty"`// TimeZone: Output only. The standard TZ database name of the// advertiser's time zone. For example, `America/New_York`. See more at://https://en.wikipedia.org/wiki/List_of_tz_database_time_zones For// CM360 hybrid advertisers, the time zone is the same as that of the// associated CM360 account; for third-party only advertisers, the time// zone is the same as that of the parent partner.TimeZonestring `json:"timeZone,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrencyCode") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrencyCode") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AdvertiserGeneralConfig: General settings of an advertiser.
func (*AdvertiserGeneralConfig)MarshalJSON¶added inv0.23.0
func (s *AdvertiserGeneralConfig) MarshalJSON() ([]byte,error)
typeAdvertiserSdfConfig¶added inv0.23.0
type AdvertiserSdfConfig struct {// OverridePartnerSdfConfig: Whether or not this advertiser overrides// the SDF configuration of its parent partner. By default, an// advertiser inherits the SDF configuration from the parent partner. To// override the partner configuration, set this field to `true` and// provide the new configuration in sdfConfig.OverridePartnerSdfConfigbool `json:"overridePartnerSdfConfig,omitempty"`// SdfConfig: The SDF configuration for the advertiser. * Required when// overridePartnerSdfConfig is `true`. * Output only when// overridePartnerSdfConfig is `false`.SdfConfig *SdfConfig `json:"sdfConfig,omitempty"`// ForceSendFields is a list of field names (e.g.// "OverridePartnerSdfConfig") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OverridePartnerSdfConfig")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AdvertiserSdfConfig: Structured Data Files (SDF) settings of anadvertiser.
func (*AdvertiserSdfConfig)MarshalJSON¶added inv0.23.0
func (s *AdvertiserSdfConfig) MarshalJSON() ([]byte,error)
typeAdvertiserTargetingConfig¶added inv0.26.0
type AdvertiserTargetingConfig struct {// ExemptTvFromViewabilityTargeting: Whether or not connected TV devices// are exempt from viewability targeting for all video line items under// the advertiser.ExemptTvFromViewabilityTargetingbool `json:"exemptTvFromViewabilityTargeting,omitempty"`// ForceSendFields is a list of field names (e.g.// "ExemptTvFromViewabilityTargeting") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "ExemptTvFromViewabilityTargeting") to include in API requests with// the JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}AdvertiserTargetingConfig: Targeting settings related to ad servingof an advertiser.
func (*AdvertiserTargetingConfig)MarshalJSON¶added inv0.26.0
func (s *AdvertiserTargetingConfig) MarshalJSON() ([]byte,error)
typeAdvertisersAssetsService¶added inv0.23.0
type AdvertisersAssetsService struct {// contains filtered or unexported fields}funcNewAdvertisersAssetsService¶added inv0.23.0
func NewAdvertisersAssetsService(s *Service) *AdvertisersAssetsService
func (*AdvertisersAssetsService)Upload¶added inv0.23.0
func (r *AdvertisersAssetsService) Upload(advertiserIdint64, createassetrequest *CreateAssetRequest) *AdvertisersAssetsUploadCall
Upload: Uploads an asset. Returns the ID of the newly uploaded assetif successful. The asset file size should be no more than 10 MB forimages, 200 MB for ZIP files, and 1 GB for videos. Must be usedwithin the multipart media upload process(/display-video/api/guides/how-tos/upload#multipart). Examples usingprovided client libraries can be found in our Creating Creativesguide(/display-video/api/guides/creating-creatives/overview#upload_an_asset).
- advertiserId: The ID of the advertiser this asset belongs to.
typeAdvertisersAssetsUploadCall¶added inv0.23.0
type AdvertisersAssetsUploadCall struct {// contains filtered or unexported fields}func (*AdvertisersAssetsUploadCall)Context¶added inv0.23.0
func (c *AdvertisersAssetsUploadCall) Context(ctxcontext.Context) *AdvertisersAssetsUploadCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.This context will supersede any context previously provided to theResumableMedia method.
func (*AdvertisersAssetsUploadCall)Do¶added inv0.23.0
func (c *AdvertisersAssetsUploadCall) Do(opts ...googleapi.CallOption) (*CreateAssetResponse,error)
Do executes the "displayvideo.advertisers.assets.upload" call.Exactly one of *CreateAssetResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CreateAssetResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersAssetsUploadCall)Fields¶added inv0.23.0
func (c *AdvertisersAssetsUploadCall) Fields(s ...googleapi.Field) *AdvertisersAssetsUploadCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersAssetsUploadCall)Header¶added inv0.23.0
func (c *AdvertisersAssetsUploadCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersAssetsUploadCall)Media¶added inv0.23.0
func (c *AdvertisersAssetsUploadCall) Media(rio.Reader, options ...googleapi.MediaOption) *AdvertisersAssetsUploadCall
Media specifies the media to upload in one or more chunks. The chunksize may be controlled by supplying a MediaOption generated bygoogleapi.ChunkSize. The chunk size defaults togoogleapi.DefaultUploadChunkSize.The Content-Type header used in theupload request will be determined by sniffing the contents of r,unless a MediaOption generated by googleapi.ContentType issupplied.At most one of Media and ResumableMedia may be set.
func (*AdvertisersAssetsUploadCall)ProgressUpdater¶added inv0.23.0
func (c *AdvertisersAssetsUploadCall) ProgressUpdater(pugoogleapi.ProgressUpdater) *AdvertisersAssetsUploadCall
ProgressUpdater provides a callback function that will be calledafter every chunk. It should be a low-latency function in order tonot slow down the upload operation. This should only be called whenusing ResumableMedia (as opposed to Media).
func (*AdvertisersAssetsUploadCall)ResumableMediadeprecatedadded inv0.23.0
func (c *AdvertisersAssetsUploadCall) ResumableMedia(ctxcontext.Context, rio.ReaderAt, sizeint64, mediaTypestring) *AdvertisersAssetsUploadCall
ResumableMedia specifies the media to upload in chunks and can becanceled with ctx.
Deprecated: use Media instead.
At most one of Media and ResumableMedia may be set. mediaTypeidentifies the MIME media type of the upload, such as "image/png". IfmediaType is "", it will be auto-detected. The provided ctx willsupersede any context previously provided to the Context method.
typeAdvertisersAuditCall¶added inv0.30.0
type AdvertisersAuditCall struct {// contains filtered or unexported fields}func (*AdvertisersAuditCall)Context¶added inv0.30.0
func (c *AdvertisersAuditCall) Context(ctxcontext.Context) *AdvertisersAuditCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersAuditCall)Do¶added inv0.30.0
func (c *AdvertisersAuditCall) Do(opts ...googleapi.CallOption) (*AuditAdvertiserResponse,error)
Do executes the "displayvideo.advertisers.audit" call.Exactly one of *AuditAdvertiserResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AuditAdvertiserResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersAuditCall)Fields¶added inv0.30.0
func (c *AdvertisersAuditCall) Fields(s ...googleapi.Field) *AdvertisersAuditCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersAuditCall)Header¶added inv0.30.0
func (c *AdvertisersAuditCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersAuditCall)IfNoneMatch¶added inv0.30.0
func (c *AdvertisersAuditCall) IfNoneMatch(entityTagstring) *AdvertisersAuditCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersAuditCall)ReadMask¶added inv0.30.0
func (c *AdvertisersAuditCall) ReadMask(readMaskstring) *AdvertisersAuditCall
ReadMask sets the optional parameter "readMask": The specific fieldsto return. If no mask is specified, all fields in the response protowill be filled. Valid values are: * usedLineItemsCount *usedInsertionOrdersCount * usedCampaignsCount * channelsCount *negativelyTargetedChannelsCount * negativeKeywordListsCount *adGroupCriteriaCount * campaignCriteriaCount
typeAdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall¶added inv0.26.0
type AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall struct {// contains filtered or unexported fields}func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall)Context¶added inv0.26.0
func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Context(ctxcontext.Context) *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall)Do¶added inv0.26.0
func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkEditAdvertiserAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions" call.Exactly one of *BulkEditAdvertiserAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*BulkEditAdvertiserAssignedTargetingOptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall)Fields¶added inv0.26.0
func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall)Header¶added inv0.26.0
func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersBulkListAdvertiserAssignedTargetingOptionsCall¶added inv0.26.0
type AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall struct {// contains filtered or unexported fields}func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)Context¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Context(ctxcontext.Context) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)Do¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListAdvertiserAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.bulkListAdvertiserAssignedTargetingOptions" call.Exactly one of *BulkListAdvertiserAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*BulkListAdvertiserAssignedTargetingOptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)Fields¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)Filter¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Filter(filterstring) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the `OR` logical operator. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=) operator`. Supported fields: * `targetingType` Examples:* targetingType with value TARGETING_TYPE_CHANNEL`targetingType="TARGETING_TYPE_CHANNEL" The length of this fieldshould be no more than 500 characters. Reference our filter `LIST`requests (/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)Header¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)IfNoneMatch¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) IfNoneMatch(entityTagstring) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)OrderBy¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) OrderBy(orderBystring) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `targetingType` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Example:`targetingType desc`.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)PageSize¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) PageSize(pageSizeint64) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
PageSize sets the optional parameter "pageSize": Requested page size.The size must be an integer between `1` and `5000`. If unspecified,the default is '5000'. Returns error code `INVALID_ARGUMENT` if aninvalid value is specified.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)PageToken¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) PageToken(pageTokenstring) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
PageToken sets the optional parameter "pageToken": A token that letsthe client fetch the next page of results. Typically, this is thevalue of next_page_token returned from the previous call to`BulkListAdvertiserAssignedTargetingOptions` method. If notspecified, the first page of results will be returned.
func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall)Pages¶added inv0.26.0
func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Pages(ctxcontext.Context, f func(*BulkListAdvertiserAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall¶added inv0.43.0
type AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)Context¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Context(ctxcontext.Context) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)Do¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListCampaignAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.campaigns.bulkListCampaignAssignedTargetingOptions" call.Exactly one of *BulkListCampaignAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*BulkListCampaignAssignedTargetingOptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)Fields¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)Filter¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Filter(filterstring) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the `OR` logical operator. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: * `targetingType` *`inheritance` Examples: * `AssignedTargetingOption` resources oftargeting type `TARGETING_TYPE_LANGUAGE` or `TARGETING_TYPE_GENDER`:`targetingType="TARGETING_TYPE_LANGUAGE" ORtargetingType="TARGETING_TYPE_GENDER" * `AssignedTargetingOption`resources with inheritance status of `NOT_INHERITED` or`INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" ORinheritance="INHERITED_FROM_PARTNER" The length of this field shouldbe no more than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)Header¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)IfNoneMatch¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) IfNoneMatch(entityTagstring) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)OrderBy¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) OrderBy(orderBystring) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `targetingType` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Example:`targetingType desc`.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)PageSize¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) PageSize(pageSizeint64) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
PageSize sets the optional parameter "pageSize": Requested page size.The size must be an integer between `1` and `5000`. If unspecified,the default is `5000`. Returns error code `INVALID_ARGUMENT` if aninvalid value is specified.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)PageToken¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) PageToken(pageTokenstring) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
PageToken sets the optional parameter "pageToken": A token that letsthe client fetch the next page of results. Typically, this is thevalue of next_page_token returned from the previous call to`BulkListCampaignAssignedTargetingOptions` method. If not specified,the first page of results will be returned.
func (*AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall)Pages¶added inv0.43.0
func (c *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall) Pages(ctxcontext.Context, f func(*BulkListCampaignAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersCampaignsCreateCall¶added inv0.23.0
type AdvertisersCampaignsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsCreateCall)Context¶added inv0.23.0
func (c *AdvertisersCampaignsCreateCall) Context(ctxcontext.Context) *AdvertisersCampaignsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsCreateCall)Do¶added inv0.23.0
func (c *AdvertisersCampaignsCreateCall) Do(opts ...googleapi.CallOption) (*Campaign,error)
Do executes the "displayvideo.advertisers.campaigns.create" call.Exactly one of *Campaign or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Campaign.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersCampaignsCreateCall)Fields¶added inv0.23.0
func (c *AdvertisersCampaignsCreateCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsCreateCall)Header¶added inv0.23.0
func (c *AdvertisersCampaignsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersCampaignsDeleteCall¶added inv0.23.0
type AdvertisersCampaignsDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsDeleteCall)Context¶added inv0.23.0
func (c *AdvertisersCampaignsDeleteCall) Context(ctxcontext.Context) *AdvertisersCampaignsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsDeleteCall)Do¶added inv0.23.0
func (c *AdvertisersCampaignsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.campaigns.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersCampaignsDeleteCall)Fields¶added inv0.23.0
func (c *AdvertisersCampaignsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsDeleteCall)Header¶added inv0.23.0
func (c *AdvertisersCampaignsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersCampaignsGetCall¶added inv0.23.0
type AdvertisersCampaignsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsGetCall)Context¶added inv0.23.0
func (c *AdvertisersCampaignsGetCall) Context(ctxcontext.Context) *AdvertisersCampaignsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsGetCall)Do¶added inv0.23.0
func (c *AdvertisersCampaignsGetCall) Do(opts ...googleapi.CallOption) (*Campaign,error)
Do executes the "displayvideo.advertisers.campaigns.get" call.Exactly one of *Campaign or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Campaign.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersCampaignsGetCall)Fields¶added inv0.23.0
func (c *AdvertisersCampaignsGetCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsGetCall)Header¶added inv0.23.0
func (c *AdvertisersCampaignsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCampaignsGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersCampaignsGetCall) IfNoneMatch(entityTagstring) *AdvertisersCampaignsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersCampaignsListCall¶added inv0.23.0
type AdvertisersCampaignsListCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsListCall)Context¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) Context(ctxcontext.Context) *AdvertisersCampaignsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsListCall)Do¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) Do(opts ...googleapi.CallOption) (*ListCampaignsResponse,error)
Do executes the "displayvideo.advertisers.campaigns.list" call.Exactly one of *ListCampaignsResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListCampaignsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersCampaignsListCall)Fields¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsListCall)Filter¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) Filter(filterstring) *AdvertisersCampaignsListCall
Filter sets the optional parameter "filter": Allows filtering bycampaign fields. Supported syntax: * Filter expressions are made upof one or more restrictions. * Restrictions can be combined by `AND`or `OR` logical operators. A sequence of restrictions implicitly uses`AND`. * A restriction has the form of `{field} {operator} {value}`.* The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)`or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields mustuse the `EQUALS (=)` operator. Supported fields: * `campaignId` *`displayName` * `entityStatus` * `updateTime` (input in ISO 8601format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All`ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under anadvertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" ORentityStatus="ENTITY_STATUS_PAUSED")` * All campaigns with an updatetime less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601):`updateTime<="2020-11-04T18:54:47Z" * All campaigns with an updatetime greater than or equal to 2020-11-04T18:54:47Z (format of ISO8601): `updateTime>="2020-11-04T18:54:47Z" The length of this fieldshould be no more than 500 characters. Reference our filter `LIST`requests (/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersCampaignsListCall)Header¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCampaignsListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) IfNoneMatch(entityTagstring) *AdvertisersCampaignsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersCampaignsListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) OrderBy(orderBystring) *AdvertisersCampaignsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) *`entityStatus` * `updateTime` The default sorting order is ascending.To specify descending order for a field, a suffix "desc" should beadded to the field name. Example: `displayName desc`.
func (*AdvertisersCampaignsListCall)PageSize¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) PageSize(pageSizeint64) *AdvertisersCampaignsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*AdvertisersCampaignsListCall)PageToken¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) PageToken(pageTokenstring) *AdvertisersCampaignsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListCampaigns` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersCampaignsListCall)Pages¶added inv0.23.0
func (c *AdvertisersCampaignsListCall) Pages(ctxcontext.Context, f func(*ListCampaignsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersCampaignsPatchCall¶added inv0.23.0
type AdvertisersCampaignsPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsPatchCall)Context¶added inv0.23.0
func (c *AdvertisersCampaignsPatchCall) Context(ctxcontext.Context) *AdvertisersCampaignsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsPatchCall)Do¶added inv0.23.0
func (c *AdvertisersCampaignsPatchCall) Do(opts ...googleapi.CallOption) (*Campaign,error)
Do executes the "displayvideo.advertisers.campaigns.patch" call.Exactly one of *Campaign or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Campaign.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersCampaignsPatchCall)Fields¶added inv0.23.0
func (c *AdvertisersCampaignsPatchCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsPatchCall)Header¶added inv0.23.0
func (c *AdvertisersCampaignsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCampaignsPatchCall)UpdateMask¶added inv0.23.0
func (c *AdvertisersCampaignsPatchCall) UpdateMask(updateMaskstring) *AdvertisersCampaignsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersCampaignsService¶added inv0.23.0
type AdvertisersCampaignsService struct {TargetingTypes *AdvertisersCampaignsTargetingTypesService// contains filtered or unexported fields}funcNewAdvertisersCampaignsService¶added inv0.23.0
func NewAdvertisersCampaignsService(s *Service) *AdvertisersCampaignsService
func (*AdvertisersCampaignsService)BulkListCampaignAssignedTargetingOptions¶added inv0.43.0
func (r *AdvertisersCampaignsService) BulkListCampaignAssignedTargetingOptions(advertiserIdint64, campaignIdint64) *AdvertisersCampaignsBulkListCampaignAssignedTargetingOptionsCall
BulkListCampaignAssignedTargetingOptions: Lists assigned targetingoptions of a campaign across targeting types.
- advertiserId: The ID of the advertiser the campaign belongs to.
- campaignId: The ID of the campaign to list assigned targetingoptions for.
func (*AdvertisersCampaignsService)Create¶added inv0.23.0
func (r *AdvertisersCampaignsService) Create(advertiserIdint64, campaign *Campaign) *AdvertisersCampaignsCreateCall
Create: Creates a new campaign. Returns the newly created campaign ifsuccessful.
- advertiserId: Output only. The unique ID of the advertiser thecampaign belongs to.
func (*AdvertisersCampaignsService)Delete¶added inv0.23.0
func (r *AdvertisersCampaignsService) Delete(advertiserIdint64, campaignIdint64) *AdvertisersCampaignsDeleteCall
Delete: Permanently deletes a campaign. A deleted campaign cannot berecovered. The campaign should be archived first, i.e. setentity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.
- advertiserId: The ID of the advertiser this campaign belongs to.- campaignId: The ID of the campaign we need to delete.
func (*AdvertisersCampaignsService)Get¶added inv0.23.0
func (r *AdvertisersCampaignsService) Get(advertiserIdint64, campaignIdint64) *AdvertisersCampaignsGetCall
Get: Gets a campaign.
- advertiserId: The ID of the advertiser this campaign belongs to.- campaignId: The ID of the campaign to fetch.
func (*AdvertisersCampaignsService)List¶added inv0.23.0
func (r *AdvertisersCampaignsService) List(advertiserIdint64) *AdvertisersCampaignsListCall
List: Lists campaigns in an advertiser. The order is defined by theorder_by parameter. If a filter by entity_status is not specified,campaigns with `ENTITY_STATUS_ARCHIVED` will not be included in theresults.
- advertiserId: The ID of the advertiser to list campaigns for.
func (*AdvertisersCampaignsService)Patch¶added inv0.23.0
func (r *AdvertisersCampaignsService) Patch(advertiserIdint64, campaignIdint64, campaign *Campaign) *AdvertisersCampaignsPatchCall
Patch: Updates an existing campaign. Returns the updated campaign ifsuccessful.
- advertiserId: Output only. The unique ID of the advertiser thecampaign belongs to.
- campaignId: Output only. The unique ID of the campaign. Assigned bythe system.
typeAdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall¶added inv0.43.0
type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall)Context¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Context(ctxcontext.Context) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall)Do¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.get" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall)Fields¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall)Header¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall)IfNoneMatch¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTagstring) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall¶added inv0.43.0
type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall struct {// contains filtered or unexported fields}func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)Context¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Context(ctxcontext.Context) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)Do¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListCampaignAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.list" call.Exactly one of *ListCampaignAssignedTargetingOptionsResponse or errorwill be non-nil. Any non-2xx status code is an error. Responseheaders are in either*ListCampaignAssignedTargetingOptionsResponse.ServerResponse.Headeror (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)Fields¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)Filter¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Filter(filterstring) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the `OR` logical operator. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: *`assignedTargetingOptionId` * `inheritance` Examples: *`AssignedTargetingOption` resources with ID 1 or 2`assignedTargetingOptionId="1" OR assignedTargetingOptionId="2" *`AssignedTargetingOption` resources with inheritance status of`NOT_INHERITED` or `INHERITED_FROM_PARTNER``inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"The length of this field should be no more than 500 characters.Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)Header¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)IfNoneMatch¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTagstring) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)OrderBy¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBystring) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `assignedTargetingOptionId`(default) The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `assignedTargetingOptionId desc`.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)PageSize¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSizeint64) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `5000`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)PageToken¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageTokenstring) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListCampaignAssignedTargetingOptions` method. If not specified,the first page of results will be returned.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall)Pages¶added inv0.43.0
func (c *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall) Pages(ctxcontext.Context, f func(*ListCampaignAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService¶added inv0.43.0
type AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService struct {// contains filtered or unexported fields}funcNewAdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService¶added inv0.43.0
func NewAdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService(s *Service) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService)Get¶added inv0.43.0
func (r *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService) Get(advertiserIdint64, campaignIdint64, targetingTypestring, assignedTargetingOptionIdstring) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGetCall
Get: Gets a single targeting option assigned to a campaign.
- advertiserId: The ID of the advertiser the campaign belongs to.
- assignedTargetingOptionId: An identifier unique to the targetingtype in this campaign that identifies the assigned targeting optionbeing requested.
- campaignId: The ID of the campaign the assigned targeting optionbelongs to.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE`
- `TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_PARENTAL_STATUS` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` *`TARGETING_TYPE_VIEWABILITY`.
func (*AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService)List¶added inv0.43.0
func (r *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService) List(advertiserIdint64, campaignIdint64, targetingTypestring) *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsListCall
List: Lists the targeting options assigned to a campaign for aspecified targeting type.
- advertiserId: The ID of the advertiser the campaign belongs to.
- campaignId: The ID of the campaign to list assigned targetingoptions for.
- targetingType: Identifies the type of assigned targeting options tolist. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE`
- `TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_PARENTAL_STATUS` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` *`TARGETING_TYPE_VIEWABILITY`.
typeAdvertisersCampaignsTargetingTypesService¶added inv0.43.0
type AdvertisersCampaignsTargetingTypesService struct {AssignedTargetingOptions *AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsService// contains filtered or unexported fields}funcNewAdvertisersCampaignsTargetingTypesService¶added inv0.43.0
func NewAdvertisersCampaignsTargetingTypesService(s *Service) *AdvertisersCampaignsTargetingTypesService
typeAdvertisersChannelsCreateCall¶added inv0.29.0
type AdvertisersChannelsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsCreateCall)Context¶added inv0.29.0
func (c *AdvertisersChannelsCreateCall) Context(ctxcontext.Context) *AdvertisersChannelsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsCreateCall)Do¶added inv0.29.0
func (c *AdvertisersChannelsCreateCall) Do(opts ...googleapi.CallOption) (*Channel,error)
Do executes the "displayvideo.advertisers.channels.create" call.Exactly one of *Channel or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Channel.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersChannelsCreateCall)Fields¶added inv0.29.0
func (c *AdvertisersChannelsCreateCall) Fields(s ...googleapi.Field) *AdvertisersChannelsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsCreateCall)Header¶added inv0.29.0
func (c *AdvertisersChannelsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersChannelsCreateCall)PartnerId¶added inv0.29.0
func (c *AdvertisersChannelsCreateCall) PartnerId(partnerIdint64) *AdvertisersChannelsCreateCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the created channel.
typeAdvertisersChannelsGetCall¶added inv0.23.0
type AdvertisersChannelsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsGetCall)Context¶added inv0.23.0
func (c *AdvertisersChannelsGetCall) Context(ctxcontext.Context) *AdvertisersChannelsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsGetCall)Do¶added inv0.23.0
func (c *AdvertisersChannelsGetCall) Do(opts ...googleapi.CallOption) (*Channel,error)
Do executes the "displayvideo.advertisers.channels.get" call.Exactly one of *Channel or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Channel.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersChannelsGetCall)Fields¶added inv0.23.0
func (c *AdvertisersChannelsGetCall) Fields(s ...googleapi.Field) *AdvertisersChannelsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsGetCall)Header¶added inv0.23.0
func (c *AdvertisersChannelsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersChannelsGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersChannelsGetCall) IfNoneMatch(entityTagstring) *AdvertisersChannelsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersChannelsGetCall)PartnerId¶added inv0.23.0
func (c *AdvertisersChannelsGetCall) PartnerId(partnerIdint64) *AdvertisersChannelsGetCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the fetched channel.
typeAdvertisersChannelsListCall¶added inv0.23.0
type AdvertisersChannelsListCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsListCall)Context¶added inv0.23.0
func (c *AdvertisersChannelsListCall) Context(ctxcontext.Context) *AdvertisersChannelsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsListCall)Do¶added inv0.23.0
func (c *AdvertisersChannelsListCall) Do(opts ...googleapi.CallOption) (*ListChannelsResponse,error)
Do executes the "displayvideo.advertisers.channels.list" call.Exactly one of *ListChannelsResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListChannelsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersChannelsListCall)Fields¶added inv0.23.0
func (c *AdvertisersChannelsListCall) Fields(s ...googleapi.Field) *AdvertisersChannelsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsListCall)Filter¶added inv0.23.0
func (c *AdvertisersChannelsListCall) Filter(filterstring) *AdvertisersChannelsListCall
Filter sets the optional parameter "filter": Allows filtering bychannel fields. Supported syntax: * Filter expressions for channelcan only contain at most one restriction. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the `HAS(:)` operator. Supported fields: * `displayName` Examples: * Allchannels for which the display name contains "google": `displayName :"google". The length of this field should be no more than 500characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersChannelsListCall)Header¶added inv0.23.0
func (c *AdvertisersChannelsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersChannelsListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersChannelsListCall) IfNoneMatch(entityTagstring) *AdvertisersChannelsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersChannelsListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersChannelsListCall) OrderBy(orderBystring) *AdvertisersChannelsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) *`channelId` The default sorting order is ascending. To specifydescending order for a field, a suffix " desc" should be added to thefield name. Example: `displayName desc`.
func (*AdvertisersChannelsListCall)PageSize¶added inv0.23.0
func (c *AdvertisersChannelsListCall) PageSize(pageSizeint64) *AdvertisersChannelsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersChannelsListCall)PageToken¶added inv0.23.0
func (c *AdvertisersChannelsListCall) PageToken(pageTokenstring) *AdvertisersChannelsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListChannels` method. If not specified, the first page of resultswill be returned.
func (*AdvertisersChannelsListCall)Pages¶added inv0.23.0
func (c *AdvertisersChannelsListCall) Pages(ctxcontext.Context, f func(*ListChannelsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*AdvertisersChannelsListCall)PartnerId¶added inv0.23.0
func (c *AdvertisersChannelsListCall) PartnerId(partnerIdint64) *AdvertisersChannelsListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the channels.
typeAdvertisersChannelsPatchCall¶added inv0.27.0
type AdvertisersChannelsPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsPatchCall)Context¶added inv0.27.0
func (c *AdvertisersChannelsPatchCall) Context(ctxcontext.Context) *AdvertisersChannelsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsPatchCall)Do¶added inv0.27.0
func (c *AdvertisersChannelsPatchCall) Do(opts ...googleapi.CallOption) (*Channel,error)
Do executes the "displayvideo.advertisers.channels.patch" call.Exactly one of *Channel or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Channel.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersChannelsPatchCall)Fields¶added inv0.27.0
func (c *AdvertisersChannelsPatchCall) Fields(s ...googleapi.Field) *AdvertisersChannelsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsPatchCall)Header¶added inv0.27.0
func (c *AdvertisersChannelsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersChannelsPatchCall)PartnerId¶added inv0.27.0
func (c *AdvertisersChannelsPatchCall) PartnerId(partnerIdint64) *AdvertisersChannelsPatchCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the created channel.
func (*AdvertisersChannelsPatchCall)UpdateMask¶added inv0.27.0
func (c *AdvertisersChannelsPatchCall) UpdateMask(updateMaskstring) *AdvertisersChannelsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersChannelsService¶added inv0.23.0
type AdvertisersChannelsService struct {Sites *AdvertisersChannelsSitesService// contains filtered or unexported fields}funcNewAdvertisersChannelsService¶added inv0.23.0
func NewAdvertisersChannelsService(s *Service) *AdvertisersChannelsService
func (*AdvertisersChannelsService)Create¶added inv0.29.0
func (r *AdvertisersChannelsService) Create(advertiserIdint64, channel *Channel) *AdvertisersChannelsCreateCall
Create: Creates a new channel. Returns the newly created channel ifsuccessful.
- advertiserId: The ID of the advertiser that owns the createdchannel.
func (*AdvertisersChannelsService)Get¶added inv0.23.0
func (r *AdvertisersChannelsService) Get(advertiserIdint64, channelIdint64) *AdvertisersChannelsGetCall
Get: Gets a channel for a partner or advertiser.
- advertiserId: The ID of the advertiser that owns the fetchedchannel.
- channelId: The ID of the channel to fetch.
func (*AdvertisersChannelsService)List¶added inv0.23.0
func (r *AdvertisersChannelsService) List(advertiserIdint64) *AdvertisersChannelsListCall
List: Lists channels for a partner or advertiser.
- advertiserId: The ID of the advertiser that owns the channels.
func (*AdvertisersChannelsService)Patch¶added inv0.27.0
func (r *AdvertisersChannelsService) Patch(advertiserIdint64, channelIdint64, channel *Channel) *AdvertisersChannelsPatchCall
Patch: Updates a channel. Returns the updated channel if successful.
- advertiserId: The ID of the advertiser that owns the createdchannel.
- channelId: Output only. The unique ID of the channel. Assigned bythe system.
typeAdvertisersChannelsSitesBulkEditCall¶added inv0.27.0
type AdvertisersChannelsSitesBulkEditCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsSitesBulkEditCall)Context¶added inv0.27.0
func (c *AdvertisersChannelsSitesBulkEditCall) Context(ctxcontext.Context) *AdvertisersChannelsSitesBulkEditCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsSitesBulkEditCall)Do¶added inv0.27.0
func (c *AdvertisersChannelsSitesBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditSitesResponse,error)
Do executes the "displayvideo.advertisers.channels.sites.bulkEdit" call.Exactly one of *BulkEditSitesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*BulkEditSitesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersChannelsSitesBulkEditCall)Fields¶added inv0.27.0
func (c *AdvertisersChannelsSitesBulkEditCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesBulkEditCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsSitesBulkEditCall)Header¶added inv0.27.0
func (c *AdvertisersChannelsSitesBulkEditCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersChannelsSitesCreateCall¶added inv0.27.0
type AdvertisersChannelsSitesCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsSitesCreateCall)Context¶added inv0.27.0
func (c *AdvertisersChannelsSitesCreateCall) Context(ctxcontext.Context) *AdvertisersChannelsSitesCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsSitesCreateCall)Do¶added inv0.27.0
func (c *AdvertisersChannelsSitesCreateCall) Do(opts ...googleapi.CallOption) (*Site,error)
Do executes the "displayvideo.advertisers.channels.sites.create" call.Exactly one of *Site or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Site.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersChannelsSitesCreateCall)Fields¶added inv0.27.0
func (c *AdvertisersChannelsSitesCreateCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsSitesCreateCall)Header¶added inv0.27.0
func (c *AdvertisersChannelsSitesCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersChannelsSitesCreateCall)PartnerId¶added inv0.27.0
func (c *AdvertisersChannelsSitesCreateCall) PartnerId(partnerIdint64) *AdvertisersChannelsSitesCreateCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent channel.
typeAdvertisersChannelsSitesDeleteCall¶added inv0.27.0
type AdvertisersChannelsSitesDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsSitesDeleteCall)Context¶added inv0.27.0
func (c *AdvertisersChannelsSitesDeleteCall) Context(ctxcontext.Context) *AdvertisersChannelsSitesDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsSitesDeleteCall)Do¶added inv0.27.0
func (c *AdvertisersChannelsSitesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.channels.sites.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersChannelsSitesDeleteCall)Fields¶added inv0.27.0
func (c *AdvertisersChannelsSitesDeleteCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsSitesDeleteCall)Header¶added inv0.27.0
func (c *AdvertisersChannelsSitesDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersChannelsSitesDeleteCall)PartnerId¶added inv0.27.0
func (c *AdvertisersChannelsSitesDeleteCall) PartnerId(partnerIdint64) *AdvertisersChannelsSitesDeleteCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent channel.
typeAdvertisersChannelsSitesListCall¶added inv0.27.0
type AdvertisersChannelsSitesListCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsSitesListCall)Context¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) Context(ctxcontext.Context) *AdvertisersChannelsSitesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsSitesListCall)Do¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) Do(opts ...googleapi.CallOption) (*ListSitesResponse,error)
Do executes the "displayvideo.advertisers.channels.sites.list" call.Exactly one of *ListSitesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListSitesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersChannelsSitesListCall)Fields¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsSitesListCall)Filter¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) Filter(filterstring) *AdvertisersChannelsSitesListCall
Filter sets the optional parameter "filter": Allows filtering by sitefields. Supported syntax: * Filter expressions for site retrieval canonly contain at most one restriction. * A restriction has the form of`{field} {operator} {value}`. * All fields must use the `HAS (:)`operator. Supported fields: * `urlOrAppId` Examples: * All sites forwhich the URL or app ID contains "google": `urlOrAppId : "google"The length of this field should be no more than 500 characters.Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersChannelsSitesListCall)Header¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersChannelsSitesListCall)IfNoneMatch¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) IfNoneMatch(entityTagstring) *AdvertisersChannelsSitesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersChannelsSitesListCall)OrderBy¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) OrderBy(orderBystring) *AdvertisersChannelsSitesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `urlOrAppId` (default) The defaultsorting order is ascending. To specify descending order for a field,a suffix " desc" should be added to the field name. Example:`urlOrAppId desc`.
func (*AdvertisersChannelsSitesListCall)PageSize¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) PageSize(pageSizeint64) *AdvertisersChannelsSitesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `10000`. If unspecified will default to`100`. Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersChannelsSitesListCall)PageToken¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) PageToken(pageTokenstring) *AdvertisersChannelsSitesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListSites` method. If not specified, the first page of resultswill be returned.
func (*AdvertisersChannelsSitesListCall)Pages¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) Pages(ctxcontext.Context, f func(*ListSitesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*AdvertisersChannelsSitesListCall)PartnerId¶added inv0.27.0
func (c *AdvertisersChannelsSitesListCall) PartnerId(partnerIdint64) *AdvertisersChannelsSitesListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent channel.
typeAdvertisersChannelsSitesReplaceCall¶added inv0.43.0
type AdvertisersChannelsSitesReplaceCall struct {// contains filtered or unexported fields}func (*AdvertisersChannelsSitesReplaceCall)Context¶added inv0.43.0
func (c *AdvertisersChannelsSitesReplaceCall) Context(ctxcontext.Context) *AdvertisersChannelsSitesReplaceCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersChannelsSitesReplaceCall)Do¶added inv0.43.0
func (c *AdvertisersChannelsSitesReplaceCall) Do(opts ...googleapi.CallOption) (*ReplaceSitesResponse,error)
Do executes the "displayvideo.advertisers.channels.sites.replace" call.Exactly one of *ReplaceSitesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ReplaceSitesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersChannelsSitesReplaceCall)Fields¶added inv0.43.0
func (c *AdvertisersChannelsSitesReplaceCall) Fields(s ...googleapi.Field) *AdvertisersChannelsSitesReplaceCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersChannelsSitesReplaceCall)Header¶added inv0.43.0
func (c *AdvertisersChannelsSitesReplaceCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersChannelsSitesService¶added inv0.27.0
type AdvertisersChannelsSitesService struct {// contains filtered or unexported fields}funcNewAdvertisersChannelsSitesService¶added inv0.27.0
func NewAdvertisersChannelsSitesService(s *Service) *AdvertisersChannelsSitesService
func (*AdvertisersChannelsSitesService)BulkEdit¶added inv0.27.0
func (r *AdvertisersChannelsSitesService) BulkEdit(advertiserIdint64, channelIdint64, bulkeditsitesrequest *BulkEditSitesRequest) *AdvertisersChannelsSitesBulkEditCall
BulkEdit: Bulk edits sites under a single channel. The operation willdelete the sites provided in BulkEditSitesRequest.deleted_sites andthen create the sites provided in BulkEditSitesRequest.created_sites.
- advertiserId: The ID of the advertiser that owns the parentchannel.
- channelId: The ID of the parent channel to which the sites belong.
func (*AdvertisersChannelsSitesService)Create¶added inv0.27.0
func (r *AdvertisersChannelsSitesService) Create(advertiserIdint64, channelIdint64, site *Site) *AdvertisersChannelsSitesCreateCall
Create: Creates a site in a channel.
- advertiserId: The ID of the advertiser that owns the parentchannel.
- channelId: The ID of the parent channel in which the site will becreated.
func (*AdvertisersChannelsSitesService)Delete¶added inv0.27.0
func (r *AdvertisersChannelsSitesService) Delete(advertiserIdint64, channelIdint64, urlOrAppIdstring) *AdvertisersChannelsSitesDeleteCall
Delete: Deletes a site from a channel.
- advertiserId: The ID of the advertiser that owns the parentchannel.
- channelId: The ID of the parent channel to which the site belongs.
- urlOrAppId: The URL or app ID of the site to delete.
func (*AdvertisersChannelsSitesService)List¶added inv0.27.0
func (r *AdvertisersChannelsSitesService) List(advertiserIdint64, channelIdint64) *AdvertisersChannelsSitesListCall
List: Lists sites in a channel.
- advertiserId: The ID of the advertiser that owns the parentchannel.
- channelId: The ID of the parent channel to which the requestedsites belong.
func (*AdvertisersChannelsSitesService)Replace¶added inv0.43.0
func (r *AdvertisersChannelsSitesService) Replace(advertiserIdint64, channelIdint64, replacesitesrequest *ReplaceSitesRequest) *AdvertisersChannelsSitesReplaceCall
Replace: Replaces all of the sites under a single channel. Theoperation will replace the sites under a channel with the sitesprovided in ReplaceSitesRequest.new_sites.
- advertiserId: The ID of the advertiser that owns the parentchannel.
- channelId: The ID of the parent channel whose sites will bereplaced.
typeAdvertisersCreateCall¶added inv0.23.0
type AdvertisersCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersCreateCall)Context¶added inv0.23.0
func (c *AdvertisersCreateCall) Context(ctxcontext.Context) *AdvertisersCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCreateCall)Do¶added inv0.23.0
func (c *AdvertisersCreateCall) Do(opts ...googleapi.CallOption) (*Advertiser,error)
Do executes the "displayvideo.advertisers.create" call.Exactly one of *Advertiser or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*Advertiser.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersCreateCall)Fields¶added inv0.23.0
func (c *AdvertisersCreateCall) Fields(s ...googleapi.Field) *AdvertisersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCreateCall)Header¶added inv0.23.0
func (c *AdvertisersCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersCreativesCreateCall¶added inv0.23.0
type AdvertisersCreativesCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersCreativesCreateCall)Context¶added inv0.23.0
func (c *AdvertisersCreativesCreateCall) Context(ctxcontext.Context) *AdvertisersCreativesCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCreativesCreateCall)Do¶added inv0.23.0
func (c *AdvertisersCreativesCreateCall) Do(opts ...googleapi.CallOption) (*Creative,error)
Do executes the "displayvideo.advertisers.creatives.create" call.Exactly one of *Creative or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Creative.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersCreativesCreateCall)Fields¶added inv0.23.0
func (c *AdvertisersCreativesCreateCall) Fields(s ...googleapi.Field) *AdvertisersCreativesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCreativesCreateCall)Header¶added inv0.23.0
func (c *AdvertisersCreativesCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersCreativesDeleteCall¶added inv0.23.0
type AdvertisersCreativesDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersCreativesDeleteCall)Context¶added inv0.23.0
func (c *AdvertisersCreativesDeleteCall) Context(ctxcontext.Context) *AdvertisersCreativesDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCreativesDeleteCall)Do¶added inv0.23.0
func (c *AdvertisersCreativesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.creatives.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersCreativesDeleteCall)Fields¶added inv0.23.0
func (c *AdvertisersCreativesDeleteCall) Fields(s ...googleapi.Field) *AdvertisersCreativesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCreativesDeleteCall)Header¶added inv0.23.0
func (c *AdvertisersCreativesDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersCreativesGetCall¶added inv0.23.0
type AdvertisersCreativesGetCall struct {// contains filtered or unexported fields}func (*AdvertisersCreativesGetCall)Context¶added inv0.23.0
func (c *AdvertisersCreativesGetCall) Context(ctxcontext.Context) *AdvertisersCreativesGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCreativesGetCall)Do¶added inv0.23.0
func (c *AdvertisersCreativesGetCall) Do(opts ...googleapi.CallOption) (*Creative,error)
Do executes the "displayvideo.advertisers.creatives.get" call.Exactly one of *Creative or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Creative.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersCreativesGetCall)Fields¶added inv0.23.0
func (c *AdvertisersCreativesGetCall) Fields(s ...googleapi.Field) *AdvertisersCreativesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCreativesGetCall)Header¶added inv0.23.0
func (c *AdvertisersCreativesGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCreativesGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersCreativesGetCall) IfNoneMatch(entityTagstring) *AdvertisersCreativesGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersCreativesListCall¶added inv0.23.0
type AdvertisersCreativesListCall struct {// contains filtered or unexported fields}func (*AdvertisersCreativesListCall)Context¶added inv0.23.0
func (c *AdvertisersCreativesListCall) Context(ctxcontext.Context) *AdvertisersCreativesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCreativesListCall)Do¶added inv0.23.0
func (c *AdvertisersCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreativesResponse,error)
Do executes the "displayvideo.advertisers.creatives.list" call.Exactly one of *ListCreativesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListCreativesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersCreativesListCall)Fields¶added inv0.23.0
func (c *AdvertisersCreativesListCall) Fields(s ...googleapi.Field) *AdvertisersCreativesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCreativesListCall)Filter¶added inv0.23.0
func (c *AdvertisersCreativesListCall) Filter(filterstring) *AdvertisersCreativesListCall
Filter sets the optional parameter "filter": Allows filtering bycreative fields. Supported syntax: * Filter expressions are made upof one or more restrictions. * Restrictions can be combined by `AND`or `OR` logical operators. A sequence of restrictions implicitly uses`AND`. * A restriction has the form of `{field} {operator} {value}`.* The `lineItemIds` field must use the `HAS (:)` operator. * The`updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or`LESS THAN OR EQUAL TO (<=)` operators. * All other fields must usethe `EQUALS (=)` operator. * For `entityStatus`, `minDuration`,`maxDuration`, `updateTime`, and `dynamic` fields, there may be atmost one restriction. Supported Fields: * `approvalStatus` *`creativeId` * `creativeType` * `dimensions` (input in the form of`{width}x{height}`) * `dynamic` * `entityStatus` *`exchangeReviewStatus` (input in the form of`{exchange}-{reviewStatus}`) * `lineItemIds` * `maxDuration` (inputin the form of `{duration}s`. Only seconds are supported) *`minDuration` (input in the form of `{duration}s`. Only seconds aresupported) * `updateTime` (input in ISO 8601 format, or`YYYY-MM-DDTHH:MM:SSZ`) Notes: * For `updateTime`, a creativeresource's field value reflects the last time that a creative hasbeen updated, which includes updates made by the system (e.g.creative review updates). Examples: * All native creatives:`creativeType="CREATIVE_TYPE_NATIVE" * All active creatives with300x400 or 50x100 dimensions: `entityStatus="ENTITY_STATUS_ACTIVE"AND (dimensions="300x400" OR dimensions="50x100")` * All dynamiccreatives that are approved by AdX or AppNexus, with a minimumduration of 5 seconds and 200ms: `dynamic="true" ANDminDuration="5.2s" AND(exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED" ORexchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")` *All video creatives that are associated with line item ID 1 or 2:`creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 ORlineItemIds:2)` * Find creatives by multiple creative IDs:`creativeId=1 OR creativeId=2` * All creatives with an update timegreater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601):`updateTime>="2020-11-04T18:54:47Z" The length of this field shouldbe no more than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersCreativesListCall)Header¶added inv0.23.0
func (c *AdvertisersCreativesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCreativesListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersCreativesListCall) IfNoneMatch(entityTagstring) *AdvertisersCreativesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersCreativesListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersCreativesListCall) OrderBy(orderBystring) *AdvertisersCreativesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `creativeId` (default) *`createTime` * `mediaDuration` * `dimensions` (sorts by width first,then by height) The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `createTime desc`.
func (*AdvertisersCreativesListCall)PageSize¶added inv0.23.0
func (c *AdvertisersCreativesListCall) PageSize(pageSizeint64) *AdvertisersCreativesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersCreativesListCall)PageToken¶added inv0.23.0
func (c *AdvertisersCreativesListCall) PageToken(pageTokenstring) *AdvertisersCreativesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListCreatives` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersCreativesListCall)Pages¶added inv0.23.0
func (c *AdvertisersCreativesListCall) Pages(ctxcontext.Context, f func(*ListCreativesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersCreativesPatchCall¶added inv0.23.0
type AdvertisersCreativesPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersCreativesPatchCall)Context¶added inv0.23.0
func (c *AdvertisersCreativesPatchCall) Context(ctxcontext.Context) *AdvertisersCreativesPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersCreativesPatchCall)Do¶added inv0.23.0
func (c *AdvertisersCreativesPatchCall) Do(opts ...googleapi.CallOption) (*Creative,error)
Do executes the "displayvideo.advertisers.creatives.patch" call.Exactly one of *Creative or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Creative.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersCreativesPatchCall)Fields¶added inv0.23.0
func (c *AdvertisersCreativesPatchCall) Fields(s ...googleapi.Field) *AdvertisersCreativesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersCreativesPatchCall)Header¶added inv0.23.0
func (c *AdvertisersCreativesPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersCreativesPatchCall)UpdateMask¶added inv0.23.0
func (c *AdvertisersCreativesPatchCall) UpdateMask(updateMaskstring) *AdvertisersCreativesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersCreativesService¶added inv0.23.0
type AdvertisersCreativesService struct {// contains filtered or unexported fields}funcNewAdvertisersCreativesService¶added inv0.23.0
func NewAdvertisersCreativesService(s *Service) *AdvertisersCreativesService
func (*AdvertisersCreativesService)Create¶added inv0.23.0
func (r *AdvertisersCreativesService) Create(advertiserIdint64, creative *Creative) *AdvertisersCreativesCreateCall
Create: Creates a new creative. Returns the newly created creative ifsuccessful. A "Standard" user role(//support.google.com/displayvideo/answer/2723011) or greater for theparent advertiser or partner is required to make this request.
- advertiserId: Output only. The unique ID of the advertiser thecreative belongs to.
func (*AdvertisersCreativesService)Delete¶added inv0.23.0
func (r *AdvertisersCreativesService) Delete(advertiserIdint64, creativeIdint64) *AdvertisersCreativesDeleteCall
Delete: Deletes a creative. Returns error code `NOT_FOUND` if thecreative does not exist. The creative should be archived first, i.e.set entity_status to `ENTITY_STATUS_ARCHIVED`, before it can bedeleted. A "Standard" user role(//support.google.com/displayvideo/answer/2723011) or greater for theparent advertiser or partner is required to make this request.
- advertiserId: The ID of the advertiser this creative belongs to.- creativeId: The ID of the creative to be deleted.
func (*AdvertisersCreativesService)Get¶added inv0.23.0
func (r *AdvertisersCreativesService) Get(advertiserIdint64, creativeIdint64) *AdvertisersCreativesGetCall
Get: Gets a creative.
- advertiserId: The ID of the advertiser this creative belongs to.- creativeId: The ID of the creative to fetch.
func (*AdvertisersCreativesService)List¶added inv0.23.0
func (r *AdvertisersCreativesService) List(advertiserIdint64) *AdvertisersCreativesListCall
List: Lists creatives in an advertiser. The order is defined by theorder_by parameter. If a filter by entity_status is not specified,creatives with `ENTITY_STATUS_ARCHIVED` will not be included in theresults.
- advertiserId: The ID of the advertiser to list creatives for.
func (*AdvertisersCreativesService)Patch¶added inv0.23.0
func (r *AdvertisersCreativesService) Patch(advertiserIdint64, creativeIdint64, creative *Creative) *AdvertisersCreativesPatchCall
Patch: Updates an existing creative. Returns the updated creative ifsuccessful. A "Standard" user role(//support.google.com/displayvideo/answer/2723011) or greater for theparent advertiser or partner is required to make this request.
- advertiserId: Output only. The unique ID of the advertiser thecreative belongs to.
- creativeId: Output only. The unique ID of the creative. Assigned bythe system.
typeAdvertisersDeleteCall¶added inv0.23.0
type AdvertisersDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersDeleteCall)Context¶added inv0.23.0
func (c *AdvertisersDeleteCall) Context(ctxcontext.Context) *AdvertisersDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersDeleteCall)Do¶added inv0.23.0
func (c *AdvertisersDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersDeleteCall)Fields¶added inv0.23.0
func (c *AdvertisersDeleteCall) Fields(s ...googleapi.Field) *AdvertisersDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersDeleteCall)Header¶added inv0.23.0
func (c *AdvertisersDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersGetCall¶added inv0.23.0
type AdvertisersGetCall struct {// contains filtered or unexported fields}func (*AdvertisersGetCall)Context¶added inv0.23.0
func (c *AdvertisersGetCall) Context(ctxcontext.Context) *AdvertisersGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersGetCall)Do¶added inv0.23.0
func (c *AdvertisersGetCall) Do(opts ...googleapi.CallOption) (*Advertiser,error)
Do executes the "displayvideo.advertisers.get" call.Exactly one of *Advertiser or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*Advertiser.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersGetCall)Fields¶added inv0.23.0
func (c *AdvertisersGetCall) Fields(s ...googleapi.Field) *AdvertisersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersGetCall)Header¶added inv0.23.0
func (c *AdvertisersGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersGetCall) IfNoneMatch(entityTagstring) *AdvertisersGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall¶added inv0.41.0
type AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)Context¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)Do¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListInsertionOrderAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.insertionOrders.bulkListInsertionOrderAssignedTargetingOptions" call.Exactly one of*BulkListInsertionOrderAssignedTargetingOptionsResponse or error willbe non-nil. Any non-2xx status code is an error. Response headers arein either*BulkListInsertionOrderAssignedTargetingOptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)Fields¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)Filter¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Filter(filterstring) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the logical operator `OR`. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: * `targetingType` *`inheritance` Examples: * `AssignedTargetingOption` resources oftargeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or`TARGETING_TYPE_CHANNEL`:`targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" ORtargetingType="TARGETING_TYPE_CHANNEL" * `AssignedTargetingOption`resources with inheritance status of `NOT_INHERITED` or`INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" ORinheritance="INHERITED_FROM_PARTNER" The length of this field shouldbe no more than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)Header¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)IfNoneMatch¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) IfNoneMatch(entityTagstring) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)OrderBy¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) OrderBy(orderBystring) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `targetingType` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Example:`targetingType desc`.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)PageSize¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) PageSize(pageSizeint64) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
PageSize sets the optional parameter "pageSize": Requested page size.The size must be an integer between `1` and `5000`. If unspecified,the default is `5000`. Returns error code `INVALID_ARGUMENT` if aninvalid value is specified.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)PageToken¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) PageToken(pageTokenstring) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
PageToken sets the optional parameter "pageToken": A token that letsthe client fetch the next page of results. Typically, this is thevalue of next_page_token returned from the previous call to`BulkListInsertionOrderAssignedTargetingOptions` method. If notspecified, the first page of results will be returned.
func (*AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall)Pages¶added inv0.41.0
func (c *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall) Pages(ctxcontext.Context, f func(*BulkListInsertionOrderAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersInsertionOrdersCreateCall¶added inv0.23.0
type AdvertisersInsertionOrdersCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersCreateCall)Context¶added inv0.23.0
func (c *AdvertisersInsertionOrdersCreateCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersCreateCall)Do¶added inv0.23.0
func (c *AdvertisersInsertionOrdersCreateCall) Do(opts ...googleapi.CallOption) (*InsertionOrder,error)
Do executes the "displayvideo.advertisers.insertionOrders.create" call.Exactly one of *InsertionOrder or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*InsertionOrder.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersInsertionOrdersCreateCall)Fields¶added inv0.23.0
func (c *AdvertisersInsertionOrdersCreateCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersCreateCall)Header¶added inv0.23.0
func (c *AdvertisersInsertionOrdersCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersInsertionOrdersDeleteCall¶added inv0.23.0
type AdvertisersInsertionOrdersDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersDeleteCall)Context¶added inv0.23.0
func (c *AdvertisersInsertionOrdersDeleteCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersDeleteCall)Do¶added inv0.23.0
func (c *AdvertisersInsertionOrdersDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.insertionOrders.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersInsertionOrdersDeleteCall)Fields¶added inv0.23.0
func (c *AdvertisersInsertionOrdersDeleteCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersDeleteCall)Header¶added inv0.23.0
func (c *AdvertisersInsertionOrdersDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersInsertionOrdersGetCall¶added inv0.23.0
type AdvertisersInsertionOrdersGetCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersGetCall)Context¶added inv0.23.0
func (c *AdvertisersInsertionOrdersGetCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersGetCall)Do¶added inv0.23.0
func (c *AdvertisersInsertionOrdersGetCall) Do(opts ...googleapi.CallOption) (*InsertionOrder,error)
Do executes the "displayvideo.advertisers.insertionOrders.get" call.Exactly one of *InsertionOrder or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*InsertionOrder.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersInsertionOrdersGetCall)Fields¶added inv0.23.0
func (c *AdvertisersInsertionOrdersGetCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersGetCall)Header¶added inv0.23.0
func (c *AdvertisersInsertionOrdersGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInsertionOrdersGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersInsertionOrdersGetCall) IfNoneMatch(entityTagstring) *AdvertisersInsertionOrdersGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersInsertionOrdersListCall¶added inv0.23.0
type AdvertisersInsertionOrdersListCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersListCall)Context¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersListCall)Do¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) Do(opts ...googleapi.CallOption) (*ListInsertionOrdersResponse,error)
Do executes the "displayvideo.advertisers.insertionOrders.list" call.Exactly one of *ListInsertionOrdersResponse or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*ListInsertionOrdersResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersInsertionOrdersListCall)Fields¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersListCall)Filter¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) Filter(filterstring) *AdvertisersInsertionOrdersListCall
Filter sets the optional parameter "filter": Allows filtering byinsertion order fields. Supported syntax: * Filter expressions aremade up of one or more restrictions. * Restrictions can be combinedby `AND` or `OR` logical operators. A sequence of restrictionsimplicitly uses `AND`. * A restriction has the form of `{field}{operator} {value}`. * The `updateTime` field must use the `GREATERTHAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. *All other fields must use the `EQUALS (=)` operator. Supportedfields: * `campaignId` * `displayName` * `entityStatus` *`updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`)Examples: * All insertion orders under a campaign:`campaignId="1234" * All `ENTITY_STATUS_ACTIVE` or`ENTITY_STATUS_PAUSED` insertion orders under an advertiser:`(entityStatus="ENTITY_STATUS_ACTIVE" ORentityStatus="ENTITY_STATUS_PAUSED")` * All insertion orders with anupdate time less than or equal to 2020-11-04T18:54:47Z (format of ISO8601): `updateTime<="2020-11-04T18:54:47Z" * All insertion orderswith an update time greater than or equal to 2020-11-04T18:54:47Z(format of ISO 8601): `updateTime>="2020-11-04T18:54:47Z" The lengthof this field should be no more than 500 characters. Reference ourfilter `LIST` requests (/display-video/api/guides/how-tos/filters)guide for more information.
func (*AdvertisersInsertionOrdersListCall)Header¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInsertionOrdersListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) IfNoneMatch(entityTagstring) *AdvertisersInsertionOrdersListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersInsertionOrdersListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) OrderBy(orderBystring) *AdvertisersInsertionOrdersListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * "displayName" (default) *"entityStatus" * "updateTime" The default sorting order is ascending.To specify descending order for a field, a suffix "desc" should beadded to the field name. Example: `displayName desc`.
func (*AdvertisersInsertionOrdersListCall)PageSize¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) PageSize(pageSizeint64) *AdvertisersInsertionOrdersListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `100`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersInsertionOrdersListCall)PageToken¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) PageToken(pageTokenstring) *AdvertisersInsertionOrdersListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListInsertionOrders` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersInsertionOrdersListCall)Pages¶added inv0.23.0
func (c *AdvertisersInsertionOrdersListCall) Pages(ctxcontext.Context, f func(*ListInsertionOrdersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersInsertionOrdersPatchCall¶added inv0.23.0
type AdvertisersInsertionOrdersPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersPatchCall)Context¶added inv0.23.0
func (c *AdvertisersInsertionOrdersPatchCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersPatchCall)Do¶added inv0.23.0
func (c *AdvertisersInsertionOrdersPatchCall) Do(opts ...googleapi.CallOption) (*InsertionOrder,error)
Do executes the "displayvideo.advertisers.insertionOrders.patch" call.Exactly one of *InsertionOrder or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*InsertionOrder.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersInsertionOrdersPatchCall)Fields¶added inv0.23.0
func (c *AdvertisersInsertionOrdersPatchCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersPatchCall)Header¶added inv0.23.0
func (c *AdvertisersInsertionOrdersPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInsertionOrdersPatchCall)UpdateMask¶added inv0.23.0
func (c *AdvertisersInsertionOrdersPatchCall) UpdateMask(updateMaskstring) *AdvertisersInsertionOrdersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersInsertionOrdersService¶added inv0.23.0
type AdvertisersInsertionOrdersService struct {TargetingTypes *AdvertisersInsertionOrdersTargetingTypesService// contains filtered or unexported fields}funcNewAdvertisersInsertionOrdersService¶added inv0.23.0
func NewAdvertisersInsertionOrdersService(s *Service) *AdvertisersInsertionOrdersService
func (*AdvertisersInsertionOrdersService)BulkListInsertionOrderAssignedTargetingOptions¶added inv0.41.0
func (r *AdvertisersInsertionOrdersService) BulkListInsertionOrderAssignedTargetingOptions(advertiserIdint64, insertionOrderIdint64) *AdvertisersInsertionOrdersBulkListInsertionOrderAssignedTargetingOptionsCall
BulkListInsertionOrderAssignedTargetingOptions: Lists assignedtargeting options of an insertion order across targeting types.
- advertiserId: The ID of the advertiser the insertion order belongsto.
- insertionOrderId: The ID of the insertion order to list assignedtargeting options for.
func (*AdvertisersInsertionOrdersService)Create¶added inv0.23.0
func (r *AdvertisersInsertionOrdersService) Create(advertiserIdint64, insertionorder *InsertionOrder) *AdvertisersInsertionOrdersCreateCall
Create: Creates a new insertion order. Returns the newly createdinsertion order if successful.
- advertiserId: Output only. The unique ID of the advertiser theinsertion order belongs to.
func (*AdvertisersInsertionOrdersService)Delete¶added inv0.23.0
func (r *AdvertisersInsertionOrdersService) Delete(advertiserIdint64, insertionOrderIdint64) *AdvertisersInsertionOrdersDeleteCall
Delete: Deletes an insertion order. Returns error code `NOT_FOUND` ifthe insertion order does not exist. The insertion order should bearchived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`,to be able to delete it.
- advertiserId: The ID of the advertiser this insertion order belongsto.
- insertionOrderId: The ID of the insertion order to delete.
func (*AdvertisersInsertionOrdersService)Get¶added inv0.23.0
func (r *AdvertisersInsertionOrdersService) Get(advertiserIdint64, insertionOrderIdint64) *AdvertisersInsertionOrdersGetCall
Get: Gets an insertion order. Returns error code `NOT_FOUND` if theinsertion order does not exist.
- advertiserId: The ID of the advertiser this insertion order belongsto.
- insertionOrderId: The ID of the insertion order to fetch.
func (*AdvertisersInsertionOrdersService)List¶added inv0.23.0
func (r *AdvertisersInsertionOrdersService) List(advertiserIdint64) *AdvertisersInsertionOrdersListCall
List: Lists insertion orders in an advertiser. The order is definedby the order_by parameter. If a filter by entity_status is notspecified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not beincluded in the results.
- advertiserId: The ID of the advertiser to list insertion ordersfor.
func (*AdvertisersInsertionOrdersService)Patch¶added inv0.23.0
func (r *AdvertisersInsertionOrdersService) Patch(advertiserIdint64, insertionOrderIdint64, insertionorder *InsertionOrder) *AdvertisersInsertionOrdersPatchCall
Patch: Updates an existing insertion order. Returns the updatedinsertion order if successful.
- advertiserId: Output only. The unique ID of the advertiser theinsertion order belongs to.
- insertionOrderId: Output only. The unique ID of the insertionorder. Assigned by the system.
typeAdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall¶added inv0.41.0
type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall)Context¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall)Do¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.get" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall)Fields¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall)Header¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall)IfNoneMatch¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTagstring) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall¶added inv0.41.0
type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall struct {// contains filtered or unexported fields}func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)Context¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Context(ctxcontext.Context) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)Do¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListInsertionOrderAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.list" call.Exactly one of *ListInsertionOrderAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*ListInsertionOrderAssignedTargetingOptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)Fields¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)Filter¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Filter(filterstring) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the logical operator `OR`. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: *`assignedTargetingOptionId` * `inheritance` Examples: *`AssignedTargetingOption` resources with ID 1 or 2:`assignedTargetingOptionId="1" OR assignedTargetingOptionId="2" *`AssignedTargetingOption` resources with inheritance status of`NOT_INHERITED` or `INHERITED_FROM_PARTNER`:`inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"The length of this field should be no more than 500 characters.Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)Header¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)IfNoneMatch¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTagstring) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)OrderBy¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBystring) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `assignedTargetingOptionId`(default) The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `assignedTargetingOptionId desc`.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)PageSize¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSizeint64) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `5000`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)PageToken¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageTokenstring) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListInsertionOrderAssignedTargetingOptions` method. If notspecified, the first page of results will be returned.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall)Pages¶added inv0.41.0
func (c *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall) Pages(ctxcontext.Context, f func(*ListInsertionOrderAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService¶added inv0.41.0
type AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService struct {// contains filtered or unexported fields}funcNewAdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService¶added inv0.41.0
func NewAdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService(s *Service) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService)Get¶added inv0.41.0
func (r *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService) Get(advertiserIdint64, insertionOrderIdint64, targetingTypestring, assignedTargetingOptionIdstring) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGetCall
Get: Gets a single targeting option assigned to an insertion order.
- advertiserId: The ID of the advertiser the insertion order belongsto.
- assignedTargetingOptionId: An identifier unique to the targetingtype in this insertion order that identifies the assigned targetingoption being requested.
- insertionOrderId: The ID of the insertion order the assignedtargeting option belongs to.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types include: *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *`TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` *`TARGETING_TYPE_AUDIO_CONTENT_TYPE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` *`TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` *`TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` *`TARGETING_TYPE_CONTENT_GENRE` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_STREAM_TYPE` *`TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL`
- `TARGETING_TYPE_DEVICE_TYPE` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD`
- `TARGETING_TYPE_LANGUAGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` *`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` *`TARGETING_TYPE_PROXIMITY_LOCATION_LIST` *`TARGETING_TYPE_REGIONAL_LOCATION_LIST` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`.
func (*AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService)List¶added inv0.41.0
func (r *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService) List(advertiserIdint64, insertionOrderIdint64, targetingTypestring) *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsListCall
List: Lists the targeting options assigned to an insertion order.
- advertiserId: The ID of the advertiser the insertion order belongsto.
- insertionOrderId: The ID of the insertion order to list assignedtargeting options for.
- targetingType: Identifies the type of assigned targeting options tolist. Supported targeting types include: *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *`TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` *`TARGETING_TYPE_AUDIO_CONTENT_TYPE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` *`TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` *`TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` *`TARGETING_TYPE_CONTENT_GENRE` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_STREAM_TYPE` *`TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL`
- `TARGETING_TYPE_DEVICE_TYPE` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD`
- `TARGETING_TYPE_LANGUAGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` *`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` *`TARGETING_TYPE_PROXIMITY_LOCATION_LIST` *`TARGETING_TYPE_REGIONAL_LOCATION_LIST` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`.
typeAdvertisersInsertionOrdersTargetingTypesService¶added inv0.41.0
type AdvertisersInsertionOrdersTargetingTypesService struct {AssignedTargetingOptions *AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsService// contains filtered or unexported fields}funcNewAdvertisersInsertionOrdersTargetingTypesService¶added inv0.41.0
func NewAdvertisersInsertionOrdersTargetingTypesService(s *Service) *AdvertisersInsertionOrdersTargetingTypesService
typeAdvertisersInvoicesListCall¶added inv0.48.0
type AdvertisersInvoicesListCall struct {// contains filtered or unexported fields}func (*AdvertisersInvoicesListCall)Context¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) Context(ctxcontext.Context) *AdvertisersInvoicesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInvoicesListCall)Do¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) Do(opts ...googleapi.CallOption) (*ListInvoicesResponse,error)
Do executes the "displayvideo.advertisers.invoices.list" call.Exactly one of *ListInvoicesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListInvoicesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersInvoicesListCall)Fields¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) Fields(s ...googleapi.Field) *AdvertisersInvoicesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInvoicesListCall)Header¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInvoicesListCall)IfNoneMatch¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) IfNoneMatch(entityTagstring) *AdvertisersInvoicesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersInvoicesListCall)IssueMonth¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) IssueMonth(issueMonthstring) *AdvertisersInvoicesListCall
IssueMonth sets the optional parameter "issueMonth": The month tolist the invoices for. If not set, the request will retrieve invoicesfor the previous month. Must be in the format YYYYMM.
func (*AdvertisersInvoicesListCall)LoiSapinInvoiceType¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) LoiSapinInvoiceType(loiSapinInvoiceTypestring) *AdvertisersInvoicesListCall
LoiSapinInvoiceType sets the optional parameter"loiSapinInvoiceType": Select type of invoice to retrieve for LoiSapin advertisers. Only applicable to Loi Sapin advertisers. Will beignored otherwise.
Possible values:
"LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED" - Value is not specified."LOI_SAPIN_INVOICE_TYPE_MEDIA" - Invoices with Media cost."LOI_SAPIN_INVOICE_TYPE_PLATFORM" - Invoices with Platform fee.
func (*AdvertisersInvoicesListCall)PageSize¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) PageSize(pageSizeint64) *AdvertisersInvoicesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersInvoicesListCall)PageToken¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) PageToken(pageTokenstring) *AdvertisersInvoicesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListInvoices` method. If not specified, the first page of resultswill be returned.
func (*AdvertisersInvoicesListCall)Pages¶added inv0.48.0
func (c *AdvertisersInvoicesListCall) Pages(ctxcontext.Context, f func(*ListInvoicesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersInvoicesLookupInvoiceCurrencyCall¶added inv0.48.0
type AdvertisersInvoicesLookupInvoiceCurrencyCall struct {// contains filtered or unexported fields}func (*AdvertisersInvoicesLookupInvoiceCurrencyCall)Context¶added inv0.48.0
func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Context(ctxcontext.Context) *AdvertisersInvoicesLookupInvoiceCurrencyCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersInvoicesLookupInvoiceCurrencyCall)Do¶added inv0.48.0
func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Do(opts ...googleapi.CallOption) (*LookupInvoiceCurrencyResponse,error)
Do executes the "displayvideo.advertisers.invoices.lookupInvoiceCurrency" call.Exactly one of *LookupInvoiceCurrencyResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *LookupInvoiceCurrencyResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersInvoicesLookupInvoiceCurrencyCall)Fields¶added inv0.48.0
func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Fields(s ...googleapi.Field) *AdvertisersInvoicesLookupInvoiceCurrencyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersInvoicesLookupInvoiceCurrencyCall)Header¶added inv0.48.0
func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersInvoicesLookupInvoiceCurrencyCall)IfNoneMatch¶added inv0.48.0
func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) IfNoneMatch(entityTagstring) *AdvertisersInvoicesLookupInvoiceCurrencyCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersInvoicesLookupInvoiceCurrencyCall)InvoiceMonth¶added inv0.48.0
func (c *AdvertisersInvoicesLookupInvoiceCurrencyCall) InvoiceMonth(invoiceMonthstring) *AdvertisersInvoicesLookupInvoiceCurrencyCall
InvoiceMonth sets the optional parameter "invoiceMonth": Month forwhich the currency is needed. If not set, the request will returnexisting currency settings for the advertiser. Must be in the formatYYYYMM.
typeAdvertisersInvoicesService¶added inv0.48.0
type AdvertisersInvoicesService struct {// contains filtered or unexported fields}funcNewAdvertisersInvoicesService¶added inv0.48.0
func NewAdvertisersInvoicesService(s *Service) *AdvertisersInvoicesService
func (*AdvertisersInvoicesService)List¶added inv0.48.0
func (r *AdvertisersInvoicesService) List(advertiserIdint64) *AdvertisersInvoicesListCall
List: Lists invoices posted for an advertiser in a given month.Invoices generated by billing profiles with a "Partner" invoice levelare not retrievable through this method.
- advertiserId: The ID of the advertiser to list invoices for.
func (*AdvertisersInvoicesService)LookupInvoiceCurrency¶added inv0.48.0
func (r *AdvertisersInvoicesService) LookupInvoiceCurrency(advertiserIdint64) *AdvertisersInvoicesLookupInvoiceCurrencyCall
LookupInvoiceCurrency: Retrieves the invoice currency used by anadvertiser in a given month.
- advertiserId: The ID of the advertiser to lookup currency for.
typeAdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall¶added inv0.23.0
type AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Context(ctxcontext.Context) *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkEditLineItemAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.lineItems.bulkEditLineItemAssignedTargetingOptions" call.Exactly one of *BulkEditLineItemAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*BulkEditLineItemAssignedTargetingOptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall¶added inv0.23.0
type AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Context(ctxcontext.Context) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkListLineItemAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.lineItems.bulkListLineItemAssignedTargetingOptions" call.Exactly one of *BulkListLineItemAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*BulkListLineItemAssignedTargetingOptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)Filter¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Filter(filterstring) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the logical operator `OR`. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: * `targetingType` *`inheritance` Examples: * `AssignedTargetingOption` resources oftargeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or`TARGETING_TYPE_CHANNEL`:`targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" ORtargetingType="TARGETING_TYPE_CHANNEL" * `AssignedTargetingOption`resources with inheritance status of `NOT_INHERITED` or`INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" ORinheritance="INHERITED_FROM_PARTNER" The length of this field shouldbe no more than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) IfNoneMatch(entityTagstring) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)OrderBy¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) OrderBy(orderBystring) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `targetingType` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Example:`targetingType desc`.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)PageSize¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) PageSize(pageSizeint64) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
PageSize sets the optional parameter "pageSize": Requested page size.The size must be an integer between `1` and `5000`. If unspecified,the default is `5000`. Returns error code `INVALID_ARGUMENT` if aninvalid value is specified.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)PageToken¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) PageToken(pageTokenstring) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
PageToken sets the optional parameter "pageToken": A token that letsthe client fetch the next page of results. Typically, this is thevalue of next_page_token returned from the previous call to`BulkListLineItemAssignedTargetingOptions` method. If not specified,the first page of results will be returned.
func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall)Pages¶added inv0.23.0
func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Pages(ctxcontext.Context, f func(*BulkListLineItemAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersLineItemsCreateCall¶added inv0.23.0
type AdvertisersLineItemsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsCreateCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsCreateCall) Context(ctxcontext.Context) *AdvertisersLineItemsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsCreateCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsCreateCall) Do(opts ...googleapi.CallOption) (*LineItem,error)
Do executes the "displayvideo.advertisers.lineItems.create" call.Exactly one of *LineItem or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*LineItem.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersLineItemsCreateCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsCreateCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLineItemsDeleteCall¶added inv0.23.0
type AdvertisersLineItemsDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsDeleteCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsDeleteCall) Context(ctxcontext.Context) *AdvertisersLineItemsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsDeleteCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.lineItems.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersLineItemsDeleteCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsDeleteCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLineItemsGenerateDefaultCall¶added inv0.43.0
type AdvertisersLineItemsGenerateDefaultCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsGenerateDefaultCall)Context¶added inv0.43.0
func (c *AdvertisersLineItemsGenerateDefaultCall) Context(ctxcontext.Context) *AdvertisersLineItemsGenerateDefaultCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsGenerateDefaultCall)Do¶added inv0.43.0
func (c *AdvertisersLineItemsGenerateDefaultCall) Do(opts ...googleapi.CallOption) (*LineItem,error)
Do executes the "displayvideo.advertisers.lineItems.generateDefault" call.Exactly one of *LineItem or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*LineItem.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersLineItemsGenerateDefaultCall)Fields¶added inv0.43.0
func (c *AdvertisersLineItemsGenerateDefaultCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsGenerateDefaultCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsGenerateDefaultCall)Header¶added inv0.43.0
func (c *AdvertisersLineItemsGenerateDefaultCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLineItemsGetCall¶added inv0.23.0
type AdvertisersLineItemsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsGetCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsGetCall) Context(ctxcontext.Context) *AdvertisersLineItemsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsGetCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsGetCall) Do(opts ...googleapi.CallOption) (*LineItem,error)
Do executes the "displayvideo.advertisers.lineItems.get" call.Exactly one of *LineItem or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*LineItem.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersLineItemsGetCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsGetCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsGetCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLineItemsGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersLineItemsGetCall) IfNoneMatch(entityTagstring) *AdvertisersLineItemsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersLineItemsListCall¶added inv0.23.0
type AdvertisersLineItemsListCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsListCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) Context(ctxcontext.Context) *AdvertisersLineItemsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsListCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) Do(opts ...googleapi.CallOption) (*ListLineItemsResponse,error)
Do executes the "displayvideo.advertisers.lineItems.list" call.Exactly one of *ListLineItemsResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListLineItemsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersLineItemsListCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsListCall)Filter¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) Filter(filterstring) *AdvertisersLineItemsListCall
Filter sets the optional parameter "filter": Allows filtering by lineitem fields. Supported syntax: * Filter expressions are made up ofone or more restrictions. * Restrictions can be combined by `AND` or`OR` logical operators. A sequence of restrictions implicitly uses`AND`. * A restriction has the form of `{field} {operator} {value}`.* The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)`or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields mustuse the `EQUALS (=)` operator. Supported fields: * `campaignId` *`displayName` * `entityStatus` * `insertionOrderId` * `lineItemId` *`lineItemType` * `updateTime` (input in ISO 8601 format, or`YYYY-MM-DDTHH:MM:SSZ`) Examples: * All line items under an insertionorder: `insertionOrderId="1234" * All `ENTITY_STATUS_ACTIVE` or`ENTITY_STATUS_PAUSED` and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` lineitems under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" ORentityStatus="ENTITY_STATUS_PAUSED") ANDlineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT" * All line items withan update time less than or equal to 2020-11-04T18:54:47Z (format ofISO 8601): `updateTime<="2020-11-04T18:54:47Z" * All line items withan update time greater than or equal to 2020-11-04T18:54:47Z (formatof ISO 8601): `updateTime>="2020-11-04T18:54:47Z" The length of thisfield should be no more than 500 characters. Reference our filter`LIST` requests (/display-video/api/guides/how-tos/filters) guide formore information.
func (*AdvertisersLineItemsListCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLineItemsListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) IfNoneMatch(entityTagstring) *AdvertisersLineItemsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersLineItemsListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) OrderBy(orderBystring) *AdvertisersLineItemsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) *`entityStatus` * `updateTime` The default sorting order is ascending.To specify descending order for a field, a suffix "desc" should beadded to the field name. Example: `displayName desc`.
func (*AdvertisersLineItemsListCall)PageSize¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) PageSize(pageSizeint64) *AdvertisersLineItemsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersLineItemsListCall)PageToken¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) PageToken(pageTokenstring) *AdvertisersLineItemsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListLineItems` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersLineItemsListCall)Pages¶added inv0.23.0
func (c *AdvertisersLineItemsListCall) Pages(ctxcontext.Context, f func(*ListLineItemsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersLineItemsPatchCall¶added inv0.23.0
type AdvertisersLineItemsPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsPatchCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsPatchCall) Context(ctxcontext.Context) *AdvertisersLineItemsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsPatchCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsPatchCall) Do(opts ...googleapi.CallOption) (*LineItem,error)
Do executes the "displayvideo.advertisers.lineItems.patch" call.Exactly one of *LineItem or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*LineItem.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersLineItemsPatchCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsPatchCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsPatchCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLineItemsPatchCall)UpdateMask¶added inv0.23.0
func (c *AdvertisersLineItemsPatchCall) UpdateMask(updateMaskstring) *AdvertisersLineItemsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersLineItemsService¶added inv0.23.0
type AdvertisersLineItemsService struct {TargetingTypes *AdvertisersLineItemsTargetingTypesService// contains filtered or unexported fields}funcNewAdvertisersLineItemsService¶added inv0.23.0
func NewAdvertisersLineItemsService(s *Service) *AdvertisersLineItemsService
func (*AdvertisersLineItemsService)BulkEditLineItemAssignedTargetingOptions¶added inv0.23.0
func (r *AdvertisersLineItemsService) BulkEditLineItemAssignedTargetingOptions(advertiserIdint64, lineItemIdint64, bulkeditlineitemassignedtargetingoptionsrequest *BulkEditLineItemAssignedTargetingOptionsRequest) *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall
BulkEditLineItemAssignedTargetingOptions: Bulk edits targetingoptions under a single line item. The operation will delete theassigned targeting options provided inBulkEditLineItemAssignedTargetingOptionsRequest.delete_requests andthen create the assigned targeting options provided inBulkEditLineItemAssignedTargetingOptionsRequest.create_requests.Requests to this endpoint cannot be made concurrently with thefollowing requests updating the same line item: * lineItems.patch *assignedTargetingOptions.create * assignedTargetingOptions.deleteYouTube & Partners line items cannot be created or updated using theAPI.
- advertiserId: The ID of the advertiser the line item belongs to.
- lineItemId: The ID of the line item the assigned targeting optionwill belong to.
func (*AdvertisersLineItemsService)BulkListLineItemAssignedTargetingOptions¶added inv0.23.0
func (r *AdvertisersLineItemsService) BulkListLineItemAssignedTargetingOptions(advertiserIdint64, lineItemIdint64) *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall
BulkListLineItemAssignedTargetingOptions: Lists assigned targetingoptions of a line item across targeting types.
- advertiserId: The ID of the advertiser the line item belongs to.
- lineItemId: The ID of the line item to list assigned targetingoptions for.
func (*AdvertisersLineItemsService)Create¶added inv0.23.0
func (r *AdvertisersLineItemsService) Create(advertiserIdint64, lineitem *LineItem) *AdvertisersLineItemsCreateCall
Create: Creates a new line item. Returns the newly created line itemif successful. YouTube & Partners line items cannot be created orupdated using the API.
- advertiserId: Output only. The unique ID of the advertiser the lineitem belongs to.
func (*AdvertisersLineItemsService)Delete¶added inv0.23.0
func (r *AdvertisersLineItemsService) Delete(advertiserIdint64, lineItemIdint64) *AdvertisersLineItemsDeleteCall
Delete: Deletes a line item. Returns error code `NOT_FOUND` if theline item does not exist. The line item should be archived first,i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able todelete it. YouTube & Partners line items cannot be created or updatedusing the API.
- advertiserId: The ID of the advertiser this line item belongs to.- lineItemId: The ID of the line item to delete.
func (*AdvertisersLineItemsService)GenerateDefault¶added inv0.43.0
func (r *AdvertisersLineItemsService) GenerateDefault(advertiserIdint64, generatedefaultlineitemrequest *GenerateDefaultLineItemRequest) *AdvertisersLineItemsGenerateDefaultCall
GenerateDefault: Creates a new line item with settings (includingtargeting) inherited from the insertion order and an`ENTITY_STATUS_DRAFT` entity_status. Returns the newly created lineitem if successful. There are default values based on the threefields: * The insertion order's insertion_order_type * The insertionorder's automation_type * The given line_item_type YouTube & Partnersline items cannot be created or updated using the API.
- advertiserId: The ID of the advertiser this line item belongs to.
func (*AdvertisersLineItemsService)Get¶added inv0.23.0
func (r *AdvertisersLineItemsService) Get(advertiserIdint64, lineItemIdint64) *AdvertisersLineItemsGetCall
Get: Gets a line item.
- advertiserId: The ID of the advertiser this line item belongs to.- lineItemId: The ID of the line item to fetch.
func (*AdvertisersLineItemsService)List¶added inv0.23.0
func (r *AdvertisersLineItemsService) List(advertiserIdint64) *AdvertisersLineItemsListCall
List: Lists line items in an advertiser. The order is defined by theorder_by parameter. If a filter by entity_status is not specified,line items with `ENTITY_STATUS_ARCHIVED` will not be included in theresults.
- advertiserId: The ID of the advertiser to list line items for.
func (*AdvertisersLineItemsService)Patch¶added inv0.23.0
func (r *AdvertisersLineItemsService) Patch(advertiserIdint64, lineItemIdint64, lineitem *LineItem) *AdvertisersLineItemsPatchCall
Patch: Updates an existing line item. Returns the updated line itemif successful. Requests to this endpoint cannot be made concurrentlywith the following requests updating the same line item: *BulkEditAssignedTargetingOptions * BulkUpdateLineItems *assignedTargetingOptions.create * assignedTargetingOptions.deleteYouTube & Partners line items cannot be created or updated using theAPI.
- advertiserId: Output only. The unique ID of the advertiser the lineitem belongs to.
- lineItemId: Output only. The unique ID of the line item. Assignedby the system.
typeAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall¶added inv0.23.0
type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Context(ctxcontext.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.create" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall¶added inv0.23.0
type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Context(ctxcontext.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall¶added inv0.23.0
type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Context(ctxcontext.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.get" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTagstring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall¶added inv0.23.0
type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall struct {// contains filtered or unexported fields}func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)Context¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Context(ctxcontext.Context) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)Do¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListLineItemAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.lineItems.targetingTypes.assignedTargetingOptions.list" call.Exactly one of *ListLineItemAssignedTargetingOptionsResponse or errorwill be non-nil. Any non-2xx status code is an error. Responseheaders are in either*ListLineItemAssignedTargetingOptionsResponse.ServerResponse.Headeror (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)Fields¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)Filter¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Filter(filterstring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the logical operator `OR`. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: *`assignedTargetingOptionId` * `inheritance` Examples: *`AssignedTargetingOption` resources with ID 1 or 2:`assignedTargetingOptionId="1" OR assignedTargetingOptionId="2" *`AssignedTargetingOption` resources with inheritance status of`NOT_INHERITED` or `INHERITED_FROM_PARTNER`:`inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"The length of this field should be no more than 500 characters.Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)Header¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTagstring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBystring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `assignedTargetingOptionId`(default) The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `assignedTargetingOptionId desc`.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)PageSize¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSizeint64) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `5000`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)PageToken¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageTokenstring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListLineItemAssignedTargetingOptions` method. If not specified,the first page of results will be returned.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall)Pages¶added inv0.23.0
func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Pages(ctxcontext.Context, f func(*ListLineItemAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService¶added inv0.23.0
type AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService struct {// contains filtered or unexported fields}funcNewAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService¶added inv0.23.0
func NewAdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService(s *Service) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService)Create¶added inv0.23.0
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Create(advertiserIdint64, lineItemIdint64, targetingTypestring, assignedtargetingoption *AssignedTargetingOption) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall
Create: Assigns a targeting option to a line item. Returns theassigned targeting option if successful. Requests to this endpointcannot be made concurrently with the following requests updating thesame line item: * lineItems.bulkEditAssignedTargetingOptions *lineItems.bulkUpdate * lineItems.patch *DeleteLineItemAssignedTargetingOption YouTube & Partners line itemscannot be created or updated using the API.
- advertiserId: The ID of the advertiser the line item belongs to.
- lineItemId: The ID of the line item the assigned targeting optionwill belong to.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types include: *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *`TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` *`TARGETING_TYPE_AUDIO_CONTENT_TYPE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` *`TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` *`TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` *`TARGETING_TYPE_CONTENT_GENRE` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_STREAM_TYPE` *`TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL`
- `TARGETING_TYPE_DEVICE_TYPE` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD`
- `TARGETING_TYPE_LANGUAGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` *`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` *`TARGETING_TYPE_PROXIMITY_LOCATION_LIST` *`TARGETING_TYPE_REGIONAL_LOCATION_LIST` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService)Delete¶added inv0.23.0
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Delete(advertiserIdint64, lineItemIdint64, targetingTypestring, assignedTargetingOptionIdstring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall
Delete: Deletes an assigned targeting option from a line item.Requests to this endpoint cannot be made concurrently with thefollowing requests updating the same line item: *lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate *lineItems.patch * CreateLineItemAssignedTargetingOption YouTube &Partners line items cannot be created or updated using the API.
- advertiserId: The ID of the advertiser the line item belongs to.
- assignedTargetingOptionId: The ID of the assigned targeting optionto delete.
- lineItemId: The ID of the line item the assigned targeting optionbelongs to.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types include: *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *`TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` *`TARGETING_TYPE_AUDIO_CONTENT_TYPE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` *`TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` *`TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` *`TARGETING_TYPE_CONTENT_GENRE` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_STREAM_TYPE` *`TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL`
- `TARGETING_TYPE_DEVICE_TYPE` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD`
- `TARGETING_TYPE_LANGUAGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` *`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` *`TARGETING_TYPE_PROXIMITY_LOCATION_LIST` *`TARGETING_TYPE_REGIONAL_LOCATION_LIST` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`.
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService)Get¶added inv0.23.0
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) Get(advertiserIdint64, lineItemIdint64, targetingTypestring, assignedTargetingOptionIdstring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall
Get: Gets a single targeting option assigned to a line item.
- advertiserId: The ID of the advertiser the line item belongs to.
- assignedTargetingOptionId: An identifier unique to the targetingtype in this line item that identifies the assigned targetingoption being requested.
- lineItemId: The ID of the line item the assigned targeting optionbelongs to.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types include: *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *`TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` *`TARGETING_TYPE_AUDIO_CONTENT_TYPE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` *`TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` *`TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` *`TARGETING_TYPE_CONTENT_GENRE` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_STREAM_TYPE` *`TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL`
- `TARGETING_TYPE_DEVICE_TYPE` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD`
- `TARGETING_TYPE_LANGUAGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` *`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` *`TARGETING_TYPE_PROXIMITY_LOCATION_LIST` *`TARGETING_TYPE_REGIONAL_LOCATION_LIST` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` *`TARGETING_TYPE_YOUTUBE_CHANNEL` (only for`LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) *`TARGETING_TYPE_YOUTUBE_VIDEO` (only for`LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items).
func (*AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService)List¶added inv0.23.0
func (r *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService) List(advertiserIdint64, lineItemIdint64, targetingTypestring) *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall
List: Lists the targeting options assigned to a line item.
- advertiserId: The ID of the advertiser the line item belongs to.
- lineItemId: The ID of the line item to list assigned targetingoptions for.
- targetingType: Identifies the type of assigned targeting options tolist. Supported targeting types include: *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *`TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` *`TARGETING_TYPE_AUDIO_CONTENT_TYPE` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` *`TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` *`TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` *`TARGETING_TYPE_CONTENT_GENRE` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_STREAM_TYPE` *`TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL`
- `TARGETING_TYPE_DEVICE_TYPE` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` *`TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_INVENTORY_SOURCE` *`TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD`
- `TARGETING_TYPE_LANGUAGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` *`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` *`TARGETING_TYPE_PROXIMITY_LOCATION_LIST` *`TARGETING_TYPE_REGIONAL_LOCATION_LIST` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` *`TARGETING_TYPE_YOUTUBE_CHANNEL` (only for`LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) *`TARGETING_TYPE_YOUTUBE_VIDEO` (only for`LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items).
typeAdvertisersLineItemsTargetingTypesService¶added inv0.23.0
type AdvertisersLineItemsTargetingTypesService struct {AssignedTargetingOptions *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsService// contains filtered or unexported fields}funcNewAdvertisersLineItemsTargetingTypesService¶added inv0.23.0
func NewAdvertisersLineItemsTargetingTypesService(s *Service) *AdvertisersLineItemsTargetingTypesService
typeAdvertisersListCall¶added inv0.23.0
type AdvertisersListCall struct {// contains filtered or unexported fields}func (*AdvertisersListCall)Context¶added inv0.23.0
func (c *AdvertisersListCall) Context(ctxcontext.Context) *AdvertisersListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersListCall)Do¶added inv0.23.0
func (c *AdvertisersListCall) Do(opts ...googleapi.CallOption) (*ListAdvertisersResponse,error)
Do executes the "displayvideo.advertisers.list" call.Exactly one of *ListAdvertisersResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListAdvertisersResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersListCall)Fields¶added inv0.23.0
func (c *AdvertisersListCall) Fields(s ...googleapi.Field) *AdvertisersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersListCall)Filter¶added inv0.23.0
func (c *AdvertisersListCall) Filter(filterstring) *AdvertisersListCall
Filter sets the optional parameter "filter": Allows filtering byadvertiser fields. Supported syntax: * Filter expressions are made upof one or more restrictions. * Restrictions can be combined by `AND`or `OR` logical operators. * A restriction has the form of `{field}{operator} {value}`. * The `updateTime` field must use the `GREATERTHAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. *All other fields must use the `EQUALS (=)` operator. Supportedfields: * `advertiserId` * `displayName` * `entityStatus` *`updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`)Examples: * All active advertisers under a partner:`entityStatus="ENTITY_STATUS_ACTIVE" * All advertisers with anupdate time less than or equal to 2020-11-04T18:54:47Z (format of ISO8601): `updateTime<="2020-11-04T18:54:47Z" * All advertisers with anupdate time greater than or equal to 2020-11-04T18:54:47Z (format ofISO 8601): `updateTime>="2020-11-04T18:54:47Z" The length of thisfield should be no more than 500 characters. Reference our filter`LIST` requests (/display-video/api/guides/how-tos/filters) guide formore information.
func (*AdvertisersListCall)Header¶added inv0.23.0
func (c *AdvertisersListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersListCall) IfNoneMatch(entityTagstring) *AdvertisersListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersListCall) OrderBy(orderBystring) *AdvertisersListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) *`entityStatus` * `updateTime` The default sorting order is ascending.To specify descending order for a field, a suffix "desc" should beadded to the field name. For example, `displayName desc`.
func (*AdvertisersListCall)PageSize¶added inv0.23.0
func (c *AdvertisersListCall) PageSize(pageSizeint64) *AdvertisersListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*AdvertisersListCall)PageToken¶added inv0.23.0
func (c *AdvertisersListCall) PageToken(pageTokenstring) *AdvertisersListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListAdvertisers` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersListCall)Pages¶added inv0.23.0
func (c *AdvertisersListCall) Pages(ctxcontext.Context, f func(*ListAdvertisersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*AdvertisersListCall)PartnerId¶added inv0.23.0
func (c *AdvertisersListCall) PartnerId(partnerIdint64) *AdvertisersListCall
PartnerId sets the optional parameter "partnerId": Required. The IDof the partner that the fetched advertisers should all belong to. Thesystem only supports listing advertisers for one partner at a time.
typeAdvertisersLocationListsAssignedLocationsBulkEditCall¶added inv0.27.0
type AdvertisersLocationListsAssignedLocationsBulkEditCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsAssignedLocationsBulkEditCall)Context¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Context(ctxcontext.Context) *AdvertisersLocationListsAssignedLocationsBulkEditCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsAssignedLocationsBulkEditCall)Do¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditAssignedLocationsResponse,error)
Do executes the "displayvideo.advertisers.locationLists.assignedLocations.bulkEdit" call.Exactly one of *BulkEditAssignedLocationsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *BulkEditAssignedLocationsResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersLocationListsAssignedLocationsBulkEditCall)Fields¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsBulkEditCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsAssignedLocationsBulkEditCall)Header¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLocationListsAssignedLocationsCreateCall¶added inv0.27.0
type AdvertisersLocationListsAssignedLocationsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsAssignedLocationsCreateCall)Context¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Context(ctxcontext.Context) *AdvertisersLocationListsAssignedLocationsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsAssignedLocationsCreateCall)Do¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedLocation,error)
Do executes the "displayvideo.advertisers.locationLists.assignedLocations.create" call.Exactly one of *AssignedLocation or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedLocation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersLocationListsAssignedLocationsCreateCall)Fields¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsAssignedLocationsCreateCall)Header¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLocationListsAssignedLocationsDeleteCall¶added inv0.27.0
type AdvertisersLocationListsAssignedLocationsDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsAssignedLocationsDeleteCall)Context¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Context(ctxcontext.Context) *AdvertisersLocationListsAssignedLocationsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsAssignedLocationsDeleteCall)Do¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.locationLists.assignedLocations.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersLocationListsAssignedLocationsDeleteCall)Fields¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsAssignedLocationsDeleteCall)Header¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLocationListsAssignedLocationsListCall¶added inv0.27.0
type AdvertisersLocationListsAssignedLocationsListCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsAssignedLocationsListCall)Context¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) Context(ctxcontext.Context) *AdvertisersLocationListsAssignedLocationsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsAssignedLocationsListCall)Do¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) Do(opts ...googleapi.CallOption) (*ListAssignedLocationsResponse,error)
Do executes the "displayvideo.advertisers.locationLists.assignedLocations.list" call.Exactly one of *ListAssignedLocationsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListAssignedLocationsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersLocationListsAssignedLocationsListCall)Fields¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsAssignedLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsAssignedLocationsListCall)Filter¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) Filter(filterstring) *AdvertisersLocationListsAssignedLocationsListCall
Filter sets the optional parameter "filter": Allows filtering bylocation list assignment fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the `OR` logical operator. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: * `assignedLocationId` Thelength of this field should be no more than 500 characters. Referenceour filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*AdvertisersLocationListsAssignedLocationsListCall)Header¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLocationListsAssignedLocationsListCall)IfNoneMatch¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) IfNoneMatch(entityTagstring) *AdvertisersLocationListsAssignedLocationsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersLocationListsAssignedLocationsListCall)OrderBy¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) OrderBy(orderBystring) *AdvertisersLocationListsAssignedLocationsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `assignedLocationId` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix " desc" should be added to the field name. Example:`assignedLocationId desc`.
func (*AdvertisersLocationListsAssignedLocationsListCall)PageSize¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) PageSize(pageSizeint64) *AdvertisersLocationListsAssignedLocationsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersLocationListsAssignedLocationsListCall)PageToken¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) PageToken(pageTokenstring) *AdvertisersLocationListsAssignedLocationsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListAssignedLocations` method. If not specified, the first pageof results will be returned.
func (*AdvertisersLocationListsAssignedLocationsListCall)Pages¶added inv0.27.0
func (c *AdvertisersLocationListsAssignedLocationsListCall) Pages(ctxcontext.Context, f func(*ListAssignedLocationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersLocationListsAssignedLocationsService¶added inv0.27.0
type AdvertisersLocationListsAssignedLocationsService struct {// contains filtered or unexported fields}funcNewAdvertisersLocationListsAssignedLocationsService¶added inv0.27.0
func NewAdvertisersLocationListsAssignedLocationsService(s *Service) *AdvertisersLocationListsAssignedLocationsService
func (*AdvertisersLocationListsAssignedLocationsService)BulkEdit¶added inv0.27.0
func (r *AdvertisersLocationListsAssignedLocationsService) BulkEdit(advertiserIdint64, locationListIdint64, bulkeditassignedlocationsrequest *BulkEditAssignedLocationsRequest) *AdvertisersLocationListsAssignedLocationsBulkEditCall
BulkEdit: Bulk edits multiple assignments between locations and asingle location list. The operation will delete the assignedlocations provided in deletedAssignedLocations and then create theassigned locations provided in createdAssignedLocations.
- advertiserId: The ID of the DV360 advertiser to which the locationlist belongs.
- locationListId: The ID of the location list to which theseassignments are assigned.
func (*AdvertisersLocationListsAssignedLocationsService)Create¶added inv0.27.0
func (r *AdvertisersLocationListsAssignedLocationsService) Create(advertiserIdint64, locationListIdint64, assignedlocation *AssignedLocation) *AdvertisersLocationListsAssignedLocationsCreateCall
Create: Creates an assignment between a location and a location list.
- advertiserId: The ID of the DV360 advertiser to which the locationlist belongs.
- locationListId: The ID of the location list for which theassignment will be created.
func (*AdvertisersLocationListsAssignedLocationsService)Delete¶added inv0.27.0
func (r *AdvertisersLocationListsAssignedLocationsService) Delete(advertiserIdint64, locationListIdint64, assignedLocationIdint64) *AdvertisersLocationListsAssignedLocationsDeleteCall
Delete: Deletes the assignment between a location and a locationlist.
- advertiserId: The ID of the DV360 advertiser to which the locationlist belongs.
- assignedLocationId: The ID of the assigned location to delete.
- locationListId: The ID of the location list to which thisassignment is assigned.
func (*AdvertisersLocationListsAssignedLocationsService)List¶added inv0.27.0
func (r *AdvertisersLocationListsAssignedLocationsService) List(advertiserIdint64, locationListIdint64) *AdvertisersLocationListsAssignedLocationsListCall
List: Lists locations assigned to a location list.
- advertiserId: The ID of the DV360 advertiser to which the locationlist belongs.
- locationListId: The ID of the location list to which theseassignments are assigned.
typeAdvertisersLocationListsCreateCall¶added inv0.27.0
type AdvertisersLocationListsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsCreateCall)Context¶added inv0.27.0
func (c *AdvertisersLocationListsCreateCall) Context(ctxcontext.Context) *AdvertisersLocationListsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsCreateCall)Do¶added inv0.27.0
func (c *AdvertisersLocationListsCreateCall) Do(opts ...googleapi.CallOption) (*LocationList,error)
Do executes the "displayvideo.advertisers.locationLists.create" call.Exactly one of *LocationList or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*LocationList.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersLocationListsCreateCall)Fields¶added inv0.27.0
func (c *AdvertisersLocationListsCreateCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsCreateCall)Header¶added inv0.27.0
func (c *AdvertisersLocationListsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersLocationListsGetCall¶added inv0.23.0
type AdvertisersLocationListsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsGetCall)Context¶added inv0.23.0
func (c *AdvertisersLocationListsGetCall) Context(ctxcontext.Context) *AdvertisersLocationListsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsGetCall)Do¶added inv0.23.0
func (c *AdvertisersLocationListsGetCall) Do(opts ...googleapi.CallOption) (*LocationList,error)
Do executes the "displayvideo.advertisers.locationLists.get" call.Exactly one of *LocationList or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*LocationList.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersLocationListsGetCall)Fields¶added inv0.23.0
func (c *AdvertisersLocationListsGetCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsGetCall)Header¶added inv0.23.0
func (c *AdvertisersLocationListsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLocationListsGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersLocationListsGetCall) IfNoneMatch(entityTagstring) *AdvertisersLocationListsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersLocationListsListCall¶added inv0.23.0
type AdvertisersLocationListsListCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsListCall)Context¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) Context(ctxcontext.Context) *AdvertisersLocationListsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsListCall)Do¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) Do(opts ...googleapi.CallOption) (*ListLocationListsResponse,error)
Do executes the "displayvideo.advertisers.locationLists.list" call.Exactly one of *ListLocationListsResponse or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*ListLocationListsResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersLocationListsListCall)Fields¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsListCall)Filter¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) Filter(filterstring) *AdvertisersLocationListsListCall
Filter sets the optional parameter "filter": Allows filtering bylocation list fields. Supported syntax: * Filter expressions are madeup of one or more restrictions. * Restrictions can be combined by`AND` or `OR` logical operators. A sequence of restrictionsimplicitly uses `AND`. * A restriction has the form of `{field}{operator} {value}`. * All fields must use the `EQUALS (=)` operator.Supported fields: * `locationType` Examples: * All regional locationlist: `locationType="TARGETING_LOCATION_TYPE_REGIONAL" * Allproximity location list:`locationType="TARGETING_LOCATION_TYPE_PROXIMITY" The length of thisfield should be no more than 500 characters. Reference our filter`LIST` requests (/display-video/api/guides/how-tos/filters) guide formore information.
func (*AdvertisersLocationListsListCall)Header¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLocationListsListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) IfNoneMatch(entityTagstring) *AdvertisersLocationListsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersLocationListsListCall)OrderBy¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) OrderBy(orderBystring) *AdvertisersLocationListsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `locationListId` (default) *`displayName` The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `displayName desc`.
func (*AdvertisersLocationListsListCall)PageSize¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) PageSize(pageSizeint64) *AdvertisersLocationListsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. Defaults to `100` if not set. Returnserror code `INVALID_ARGUMENT` if an invalid value is specified.
func (*AdvertisersLocationListsListCall)PageToken¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) PageToken(pageTokenstring) *AdvertisersLocationListsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListLocationLists` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersLocationListsListCall)Pages¶added inv0.23.0
func (c *AdvertisersLocationListsListCall) Pages(ctxcontext.Context, f func(*ListLocationListsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersLocationListsPatchCall¶added inv0.27.0
type AdvertisersLocationListsPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersLocationListsPatchCall)Context¶added inv0.27.0
func (c *AdvertisersLocationListsPatchCall) Context(ctxcontext.Context) *AdvertisersLocationListsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersLocationListsPatchCall)Do¶added inv0.27.0
func (c *AdvertisersLocationListsPatchCall) Do(opts ...googleapi.CallOption) (*LocationList,error)
Do executes the "displayvideo.advertisers.locationLists.patch" call.Exactly one of *LocationList or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*LocationList.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersLocationListsPatchCall)Fields¶added inv0.27.0
func (c *AdvertisersLocationListsPatchCall) Fields(s ...googleapi.Field) *AdvertisersLocationListsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersLocationListsPatchCall)Header¶added inv0.27.0
func (c *AdvertisersLocationListsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersLocationListsPatchCall)UpdateMask¶added inv0.27.0
func (c *AdvertisersLocationListsPatchCall) UpdateMask(updateMaskstring) *AdvertisersLocationListsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersLocationListsService¶added inv0.23.0
type AdvertisersLocationListsService struct {AssignedLocations *AdvertisersLocationListsAssignedLocationsService// contains filtered or unexported fields}funcNewAdvertisersLocationListsService¶added inv0.23.0
func NewAdvertisersLocationListsService(s *Service) *AdvertisersLocationListsService
func (*AdvertisersLocationListsService)Create¶added inv0.27.0
func (r *AdvertisersLocationListsService) Create(advertiserIdint64, locationlist *LocationList) *AdvertisersLocationListsCreateCall
Create: Creates a new location list. Returns the newly createdlocation list if successful.
- advertiserId: The ID of the DV360 advertiser to which the locationlist belongs.
func (*AdvertisersLocationListsService)Get¶added inv0.23.0
func (r *AdvertisersLocationListsService) Get(advertiserIdint64, locationListIdint64) *AdvertisersLocationListsGetCall
Get: Gets a location list.
- advertiserId: The ID of the DV360 advertiser to which the fetchedlocation list belongs.
- locationListId: The ID of the location list to fetch.
func (*AdvertisersLocationListsService)List¶added inv0.23.0
func (r *AdvertisersLocationListsService) List(advertiserIdint64) *AdvertisersLocationListsListCall
List: Lists location lists based on a given advertiser id.
- advertiserId: The ID of the DV360 advertiser to which the fetchedlocation lists belong.
func (*AdvertisersLocationListsService)Patch¶added inv0.27.0
func (r *AdvertisersLocationListsService) Patch(advertiserIdint64, locationListIdint64, locationlist *LocationList) *AdvertisersLocationListsPatchCall
Patch: Updates a location list. Returns the updated location list ifsuccessful.
- advertiserId: The ID of the DV360 advertiser to which the locationlists belongs.
- locationListId: Output only. The unique ID of the location list.Assigned by the system.
typeAdvertisersManualTriggersActivateCall¶added inv0.35.0
type AdvertisersManualTriggersActivateCall struct {// contains filtered or unexported fields}func (*AdvertisersManualTriggersActivateCall)Context¶added inv0.35.0
func (c *AdvertisersManualTriggersActivateCall) Context(ctxcontext.Context) *AdvertisersManualTriggersActivateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersManualTriggersActivateCall)Do¶added inv0.35.0
func (c *AdvertisersManualTriggersActivateCall) Do(opts ...googleapi.CallOption) (*ManualTrigger,error)
Do executes the "displayvideo.advertisers.manualTriggers.activate" call.Exactly one of *ManualTrigger or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*ManualTrigger.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersManualTriggersActivateCall)Fields¶added inv0.35.0
func (c *AdvertisersManualTriggersActivateCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersActivateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersManualTriggersActivateCall)Header¶added inv0.35.0
func (c *AdvertisersManualTriggersActivateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersManualTriggersCreateCall¶added inv0.35.0
type AdvertisersManualTriggersCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersManualTriggersCreateCall)Context¶added inv0.35.0
func (c *AdvertisersManualTriggersCreateCall) Context(ctxcontext.Context) *AdvertisersManualTriggersCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersManualTriggersCreateCall)Do¶added inv0.35.0
func (c *AdvertisersManualTriggersCreateCall) Do(opts ...googleapi.CallOption) (*ManualTrigger,error)
Do executes the "displayvideo.advertisers.manualTriggers.create" call.Exactly one of *ManualTrigger or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*ManualTrigger.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersManualTriggersCreateCall)Fields¶added inv0.35.0
func (c *AdvertisersManualTriggersCreateCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersManualTriggersCreateCall)Header¶added inv0.35.0
func (c *AdvertisersManualTriggersCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersManualTriggersDeactivateCall¶added inv0.35.0
type AdvertisersManualTriggersDeactivateCall struct {// contains filtered or unexported fields}func (*AdvertisersManualTriggersDeactivateCall)Context¶added inv0.35.0
func (c *AdvertisersManualTriggersDeactivateCall) Context(ctxcontext.Context) *AdvertisersManualTriggersDeactivateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersManualTriggersDeactivateCall)Do¶added inv0.35.0
func (c *AdvertisersManualTriggersDeactivateCall) Do(opts ...googleapi.CallOption) (*ManualTrigger,error)
Do executes the "displayvideo.advertisers.manualTriggers.deactivate" call.Exactly one of *ManualTrigger or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*ManualTrigger.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersManualTriggersDeactivateCall)Fields¶added inv0.35.0
func (c *AdvertisersManualTriggersDeactivateCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersDeactivateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersManualTriggersDeactivateCall)Header¶added inv0.35.0
func (c *AdvertisersManualTriggersDeactivateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersManualTriggersGetCall¶added inv0.35.0
type AdvertisersManualTriggersGetCall struct {// contains filtered or unexported fields}func (*AdvertisersManualTriggersGetCall)Context¶added inv0.35.0
func (c *AdvertisersManualTriggersGetCall) Context(ctxcontext.Context) *AdvertisersManualTriggersGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersManualTriggersGetCall)Do¶added inv0.35.0
func (c *AdvertisersManualTriggersGetCall) Do(opts ...googleapi.CallOption) (*ManualTrigger,error)
Do executes the "displayvideo.advertisers.manualTriggers.get" call.Exactly one of *ManualTrigger or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*ManualTrigger.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersManualTriggersGetCall)Fields¶added inv0.35.0
func (c *AdvertisersManualTriggersGetCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersManualTriggersGetCall)Header¶added inv0.35.0
func (c *AdvertisersManualTriggersGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersManualTriggersGetCall)IfNoneMatch¶added inv0.35.0
func (c *AdvertisersManualTriggersGetCall) IfNoneMatch(entityTagstring) *AdvertisersManualTriggersGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersManualTriggersListCall¶added inv0.35.0
type AdvertisersManualTriggersListCall struct {// contains filtered or unexported fields}func (*AdvertisersManualTriggersListCall)Context¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) Context(ctxcontext.Context) *AdvertisersManualTriggersListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersManualTriggersListCall)Do¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) Do(opts ...googleapi.CallOption) (*ListManualTriggersResponse,error)
Do executes the "displayvideo.advertisers.manualTriggers.list" call.Exactly one of *ListManualTriggersResponse or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*ListManualTriggersResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersManualTriggersListCall)Fields¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersManualTriggersListCall)Filter¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) Filter(filterstring) *AdvertisersManualTriggersListCall
Filter sets the optional parameter "filter": Allows filtering bymanual trigger fields. Supported syntax: * Filter expressions aremade up of one or more restrictions. * Restrictions can be combinedby `AND` or `OR` logical operators. A sequence of restrictionsimplicitly uses `AND`. * A restriction has the form of `{field}{operator} {value}`. * All fields must use the `EQUALS (=)` operator.Supported fields: * `displayName` * `state` Examples: * All activemanual triggers under an advertiser: `state="ACTIVE" The length ofthis field should be no more than 500 characters. Reference ourfilter `LIST` requests (/display-video/api/guides/how-tos/filters)guide for more information.
func (*AdvertisersManualTriggersListCall)Header¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersManualTriggersListCall)IfNoneMatch¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) IfNoneMatch(entityTagstring) *AdvertisersManualTriggersListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersManualTriggersListCall)OrderBy¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) OrderBy(orderBystring) *AdvertisersManualTriggersListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) * `state`The default sorting order is ascending. To specify descending orderfor a field, a suffix "desc" should be added to the field name. Forexample, `displayName desc`.
func (*AdvertisersManualTriggersListCall)PageSize¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) PageSize(pageSizeint64) *AdvertisersManualTriggersListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*AdvertisersManualTriggersListCall)PageToken¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) PageToken(pageTokenstring) *AdvertisersManualTriggersListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListManualTriggers` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersManualTriggersListCall)Pages¶added inv0.35.0
func (c *AdvertisersManualTriggersListCall) Pages(ctxcontext.Context, f func(*ListManualTriggersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersManualTriggersPatchCall¶added inv0.35.0
type AdvertisersManualTriggersPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersManualTriggersPatchCall)Context¶added inv0.35.0
func (c *AdvertisersManualTriggersPatchCall) Context(ctxcontext.Context) *AdvertisersManualTriggersPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersManualTriggersPatchCall)Do¶added inv0.35.0
func (c *AdvertisersManualTriggersPatchCall) Do(opts ...googleapi.CallOption) (*ManualTrigger,error)
Do executes the "displayvideo.advertisers.manualTriggers.patch" call.Exactly one of *ManualTrigger or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*ManualTrigger.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersManualTriggersPatchCall)Fields¶added inv0.35.0
func (c *AdvertisersManualTriggersPatchCall) Fields(s ...googleapi.Field) *AdvertisersManualTriggersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersManualTriggersPatchCall)Header¶added inv0.35.0
func (c *AdvertisersManualTriggersPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersManualTriggersPatchCall)UpdateMask¶added inv0.35.0
func (c *AdvertisersManualTriggersPatchCall) UpdateMask(updateMaskstring) *AdvertisersManualTriggersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersManualTriggersService¶added inv0.35.0
type AdvertisersManualTriggersService struct {// contains filtered or unexported fields}funcNewAdvertisersManualTriggersService¶added inv0.35.0
func NewAdvertisersManualTriggersService(s *Service) *AdvertisersManualTriggersService
func (*AdvertisersManualTriggersService)Activate¶added inv0.35.0
func (r *AdvertisersManualTriggersService) Activate(advertiserIdint64, triggerIdint64, activatemanualtriggerrequest *ActivateManualTriggerRequest) *AdvertisersManualTriggersActivateCall
Activate: Activates a manual trigger. Each activation of the manualtrigger must be at least 5 minutes apart, otherwise an error will bereturned. **Warning:** Line Items using manual triggers no longerserve in Display & Video 360. This method will sunset on August 1,2023. Read our feature deprecation announcement(/display-video/api/deprecations#features.manual_triggers) for moreinformation.
- advertiserId: The ID of the advertiser that the manual triggerbelongs.
- triggerId: The ID of the manual trigger to activate.
func (*AdvertisersManualTriggersService)Create¶added inv0.35.0
func (r *AdvertisersManualTriggersService) Create(advertiserIdint64, manualtrigger *ManualTrigger) *AdvertisersManualTriggersCreateCall
Create: Creates a new manual trigger. Returns the newly createdmanual trigger if successful. **Warning:** Line Items using manualtriggers no longer serve in Display & Video 360. This method willsunset on August 1, 2023. Read our feature deprecation announcement(/display-video/api/deprecations#features.manual_triggers) for moreinformation.
- advertiserId: Immutable. The unique ID of the advertiser that themanual trigger belongs to.
func (*AdvertisersManualTriggersService)Deactivate¶added inv0.35.0
func (r *AdvertisersManualTriggersService) Deactivate(advertiserIdint64, triggerIdint64, deactivatemanualtriggerrequest *DeactivateManualTriggerRequest) *AdvertisersManualTriggersDeactivateCall
Deactivate: Deactivates a manual trigger. **Warning:** Line Itemsusing manual triggers no longer serve in Display & Video 360. Thismethod will sunset on August 1, 2023. Read our feature deprecationannouncement(/display-video/api/deprecations#features.manual_triggers) for moreinformation.
- advertiserId: The ID of the advertiser that the manual triggerbelongs.
- triggerId: The ID of the manual trigger to deactivate.
func (*AdvertisersManualTriggersService)Get¶added inv0.35.0
func (r *AdvertisersManualTriggersService) Get(advertiserIdint64, triggerIdint64) *AdvertisersManualTriggersGetCall
Get: Gets a manual trigger. **Warning:** Line Items using manualtriggers no longer serve in Display & Video 360. This method willsunset on August 1, 2023. Read our feature deprecation announcement(/display-video/api/deprecations#features.manual_triggers) for moreinformation.
- advertiserId: The ID of the advertiser this manual trigger belongsto.
- triggerId: The ID of the manual trigger to fetch.
func (*AdvertisersManualTriggersService)List¶added inv0.35.0
func (r *AdvertisersManualTriggersService) List(advertiserIdint64) *AdvertisersManualTriggersListCall
List: Lists manual triggers that are accessible to the current userfor a given advertiser ID. The order is defined by the order_byparameter. A single advertiser_id is required. **Warning:** LineItems using manual triggers no longer serve in Display & Video 360.This method will sunset on August 1, 2023. Read our featuredeprecation announcement(/display-video/api/deprecations#features.manual_triggers) for moreinformation.
- advertiserId: The ID of the advertiser that the fetched manualtriggers belong to.
func (*AdvertisersManualTriggersService)Patch¶added inv0.35.0
func (r *AdvertisersManualTriggersService) Patch(advertiserIdint64, triggerIdint64, manualtrigger *ManualTrigger) *AdvertisersManualTriggersPatchCall
Patch: Updates a manual trigger. Returns the updated manual triggerif successful. **Warning:** Line Items using manual triggers nolonger serve in Display & Video 360. This method will sunset onAugust 1, 2023. Read our feature deprecation announcement(/display-video/api/deprecations#features.manual_triggers) for moreinformation.
- advertiserId: Immutable. The unique ID of the advertiser that themanual trigger belongs to.
- triggerId: Output only. The unique ID of the manual trigger.
typeAdvertisersNegativeKeywordListsCreateCall¶added inv0.27.0
type AdvertisersNegativeKeywordListsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsCreateCall)Context¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsCreateCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsCreateCall)Do¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsCreateCall) Do(opts ...googleapi.CallOption) (*NegativeKeywordList,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.create" call.Exactly one of *NegativeKeywordList or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*NegativeKeywordList.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsCreateCall)Fields¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsCreateCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsCreateCall)Header¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersNegativeKeywordListsDeleteCall¶added inv0.27.0
type AdvertisersNegativeKeywordListsDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsDeleteCall)Context¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsDeleteCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsDeleteCall)Do¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersNegativeKeywordListsDeleteCall)Fields¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsDeleteCall)Header¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersNegativeKeywordListsGetCall¶added inv0.23.0
type AdvertisersNegativeKeywordListsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsGetCall)Context¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsGetCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsGetCall)Do¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsGetCall) Do(opts ...googleapi.CallOption) (*NegativeKeywordList,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.get" call.Exactly one of *NegativeKeywordList or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*NegativeKeywordList.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsGetCall)Fields¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsGetCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsGetCall)Header¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersNegativeKeywordListsGetCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsGetCall) IfNoneMatch(entityTagstring) *AdvertisersNegativeKeywordListsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersNegativeKeywordListsListCall¶added inv0.23.0
type AdvertisersNegativeKeywordListsListCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsListCall)Context¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsListCall)Do¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) Do(opts ...googleapi.CallOption) (*ListNegativeKeywordListsResponse,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.list" call.Exactly one of *ListNegativeKeywordListsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListNegativeKeywordListsResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsListCall)Fields¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsListCall)Header¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersNegativeKeywordListsListCall)IfNoneMatch¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) IfNoneMatch(entityTagstring) *AdvertisersNegativeKeywordListsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersNegativeKeywordListsListCall)PageSize¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) PageSize(pageSizeint64) *AdvertisersNegativeKeywordListsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. Defaults to `100` if not set. Returnserror code `INVALID_ARGUMENT` if an invalid value is specified.
func (*AdvertisersNegativeKeywordListsListCall)PageToken¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) PageToken(pageTokenstring) *AdvertisersNegativeKeywordListsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListNegativeKeywordLists` method. If not specified, the firstpage of results will be returned.
func (*AdvertisersNegativeKeywordListsListCall)Pages¶added inv0.23.0
func (c *AdvertisersNegativeKeywordListsListCall) Pages(ctxcontext.Context, f func(*ListNegativeKeywordListsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall¶added inv0.27.0
type AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall)Context¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall)Do¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditNegativeKeywordsResponse,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.bulkEdit" call.Exactly one of *BulkEditNegativeKeywordsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *BulkEditNegativeKeywordsResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall)Fields¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall)Header¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersNegativeKeywordListsNegativeKeywordsCreateCall¶added inv0.27.0
type AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall)Context¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall)Do¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Do(opts ...googleapi.CallOption) (*NegativeKeyword,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.create" call.Exactly one of *NegativeKeyword or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*NegativeKeyword.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall)Fields¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall)Header¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall¶added inv0.27.0
type AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall)Context¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall)Do¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall)Fields¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall)Header¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersNegativeKeywordListsNegativeKeywordsListCall¶added inv0.27.0
type AdvertisersNegativeKeywordListsNegativeKeywordsListCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)Context¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)Do¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Do(opts ...googleapi.CallOption) (*ListNegativeKeywordsResponse,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.list" call.Exactly one of *ListNegativeKeywordsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListNegativeKeywordsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)Fields¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)Filter¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Filter(filterstring) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
Filter sets the optional parameter "filter": Allows filtering bynegative keyword fields. Supported syntax: * Filter expressions fornegative keywords can only contain at most one restriction. * Arestriction has the form of `{field} {operator} {value}`. * Allfields must use the `HAS (:)` operator. Supported fields: *`keywordValue` Examples: * All negative keywords for which thekeyword value contains "google": `keywordValue : "google" The lengthof this field should be no more than 500 characters. Reference ourfilter `LIST` requests (/display-video/api/guides/how-tos/filters)guide for more information.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)Header¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)IfNoneMatch¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) IfNoneMatch(entityTagstring) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)OrderBy¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) OrderBy(orderBystring) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `keywordValue` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix " desc" should be added to the field name. Example:`keywordValue desc`.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)PageSize¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) PageSize(pageSizeint64) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `1000`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)PageToken¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) PageToken(pageTokenstring) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListNegativeKeywords` method. If not specified, the first page ofresults will be returned.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsListCall)Pages¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Pages(ctxcontext.Context, f func(*ListNegativeKeywordsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall¶added inv0.43.0
type AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall)Context¶added inv0.43.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall)Do¶added inv0.43.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Do(opts ...googleapi.CallOption) (*ReplaceNegativeKeywordsResponse,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.negativeKeywords.replace" call.Exactly one of *ReplaceNegativeKeywordsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ReplaceNegativeKeywordsResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall)Fields¶added inv0.43.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall)Header¶added inv0.43.0
func (c *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersNegativeKeywordListsNegativeKeywordsService¶added inv0.27.0
type AdvertisersNegativeKeywordListsNegativeKeywordsService struct {// contains filtered or unexported fields}funcNewAdvertisersNegativeKeywordListsNegativeKeywordsService¶added inv0.27.0
func NewAdvertisersNegativeKeywordListsNegativeKeywordsService(s *Service) *AdvertisersNegativeKeywordListsNegativeKeywordsService
func (*AdvertisersNegativeKeywordListsNegativeKeywordsService)BulkEdit¶added inv0.27.0
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) BulkEdit(advertiserIdint64, negativeKeywordListIdint64, bulkeditnegativekeywordsrequest *BulkEditNegativeKeywordsRequest) *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall
BulkEdit: Bulk edits negative keywords in a single negative keywordlist. The operation will delete the negative keywords provided inBulkEditNegativeKeywordsRequest.deleted_negative_keywords and thencreate the negative keywords provided inBulkEditNegativeKeywordsRequest.created_negative_keywords. Thisoperation is guaranteed to be atomic and will never result in apartial success or partial failure.
- advertiserId: The ID of the DV360 advertiser to which the parentnegative keyword list belongs.
- negativeKeywordListId: The ID of the parent negative keyword listto which the negative keywords belong.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsService)Create¶added inv0.27.0
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Create(advertiserIdint64, negativeKeywordListIdint64, negativekeyword *NegativeKeyword) *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall
Create: Creates a negative keyword in a negative keyword list.
- advertiserId: The ID of the DV360 advertiser to which the parentnegative keyword list belongs.
- negativeKeywordListId: The ID of the parent negative keyword listin which the negative keyword will be created.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsService)Delete¶added inv0.27.0
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Delete(advertiserIdint64, negativeKeywordListIdint64, keywordValuestring) *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall
Delete: Deletes a negative keyword from a negative keyword list.
- advertiserId: The ID of the DV360 advertiser to which the parentnegative keyword list belongs.
- keywordValue: The keyword value of the negative keyword to delete.
- negativeKeywordListId: The ID of the parent negative keyword listto which the negative keyword belongs.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsService)List¶added inv0.27.0
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) List(advertiserIdint64, negativeKeywordListIdint64) *AdvertisersNegativeKeywordListsNegativeKeywordsListCall
List: Lists negative keywords in a negative keyword list.
- advertiserId: The ID of the DV360 advertiser to which the parentnegative keyword list belongs.
- negativeKeywordListId: The ID of the parent negative keyword listto which the requested negative keywords belong.
func (*AdvertisersNegativeKeywordListsNegativeKeywordsService)Replace¶added inv0.43.0
func (r *AdvertisersNegativeKeywordListsNegativeKeywordsService) Replace(advertiserIdint64, negativeKeywordListIdint64, replacenegativekeywordsrequest *ReplaceNegativeKeywordsRequest) *AdvertisersNegativeKeywordListsNegativeKeywordsReplaceCall
Replace: Replaces all negative keywords in a single negative keywordlist. The operation will replace the keywords in a negative keywordlist with keywords provided inReplaceNegativeKeywordsRequest.new_negative_keywords.
- advertiserId: The ID of the DV360 advertiser to which the parentnegative keyword list belongs.
- negativeKeywordListId: The ID of the parent negative keyword listto which the negative keywords belong.
typeAdvertisersNegativeKeywordListsPatchCall¶added inv0.27.0
type AdvertisersNegativeKeywordListsPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersNegativeKeywordListsPatchCall)Context¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsPatchCall) Context(ctxcontext.Context) *AdvertisersNegativeKeywordListsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersNegativeKeywordListsPatchCall)Do¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsPatchCall) Do(opts ...googleapi.CallOption) (*NegativeKeywordList,error)
Do executes the "displayvideo.advertisers.negativeKeywordLists.patch" call.Exactly one of *NegativeKeywordList or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*NegativeKeywordList.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersNegativeKeywordListsPatchCall)Fields¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsPatchCall) Fields(s ...googleapi.Field) *AdvertisersNegativeKeywordListsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersNegativeKeywordListsPatchCall)Header¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersNegativeKeywordListsPatchCall)UpdateMask¶added inv0.27.0
func (c *AdvertisersNegativeKeywordListsPatchCall) UpdateMask(updateMaskstring) *AdvertisersNegativeKeywordListsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersNegativeKeywordListsService¶added inv0.23.0
type AdvertisersNegativeKeywordListsService struct {NegativeKeywords *AdvertisersNegativeKeywordListsNegativeKeywordsService// contains filtered or unexported fields}funcNewAdvertisersNegativeKeywordListsService¶added inv0.23.0
func NewAdvertisersNegativeKeywordListsService(s *Service) *AdvertisersNegativeKeywordListsService
func (*AdvertisersNegativeKeywordListsService)Create¶added inv0.27.0
func (r *AdvertisersNegativeKeywordListsService) Create(advertiserIdint64, negativekeywordlist *NegativeKeywordList) *AdvertisersNegativeKeywordListsCreateCall
Create: Creates a new negative keyword list. Returns the newlycreated negative keyword list if successful.
- advertiserId: The ID of the DV360 advertiser to which the negativekeyword list will belong.
func (*AdvertisersNegativeKeywordListsService)Delete¶added inv0.27.0
func (r *AdvertisersNegativeKeywordListsService) Delete(advertiserIdint64, negativeKeywordListIdint64) *AdvertisersNegativeKeywordListsDeleteCall
Delete: Deletes a negative keyword list given an advertiser ID and anegative keyword list ID.
- advertiserId: The ID of the DV360 advertiser to which the negativekeyword list belongs.
- negativeKeywordListId: The ID of the negative keyword list todelete.
func (*AdvertisersNegativeKeywordListsService)Get¶added inv0.23.0
func (r *AdvertisersNegativeKeywordListsService) Get(advertiserIdint64, negativeKeywordListIdint64) *AdvertisersNegativeKeywordListsGetCall
Get: Gets a negative keyword list given an advertiser ID and anegative keyword list ID.
- advertiserId: The ID of the DV360 advertiser to which the fetchednegative keyword list belongs.
- negativeKeywordListId: The ID of the negative keyword list tofetch.
func (*AdvertisersNegativeKeywordListsService)List¶added inv0.23.0
func (r *AdvertisersNegativeKeywordListsService) List(advertiserIdint64) *AdvertisersNegativeKeywordListsListCall
List: Lists negative keyword lists based on a given advertiser id.
- advertiserId: The ID of the DV360 advertiser to which the fetchednegative keyword lists belong.
func (*AdvertisersNegativeKeywordListsService)Patch¶added inv0.27.0
func (r *AdvertisersNegativeKeywordListsService) Patch(advertiserIdint64, negativeKeywordListIdint64, negativekeywordlist *NegativeKeywordList) *AdvertisersNegativeKeywordListsPatchCall
Patch: Updates a negative keyword list. Returns the updated negativekeyword list if successful.
- advertiserId: The ID of the DV360 advertiser to which the negativekeyword list belongs.
- negativeKeywordListId: Output only. The unique ID of the negativekeyword list. Assigned by the system.
typeAdvertisersPatchCall¶added inv0.23.0
type AdvertisersPatchCall struct {// contains filtered or unexported fields}func (*AdvertisersPatchCall)Context¶added inv0.23.0
func (c *AdvertisersPatchCall) Context(ctxcontext.Context) *AdvertisersPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersPatchCall)Do¶added inv0.23.0
func (c *AdvertisersPatchCall) Do(opts ...googleapi.CallOption) (*Advertiser,error)
Do executes the "displayvideo.advertisers.patch" call.Exactly one of *Advertiser or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*Advertiser.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*AdvertisersPatchCall)Fields¶added inv0.23.0
func (c *AdvertisersPatchCall) Fields(s ...googleapi.Field) *AdvertisersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersPatchCall)Header¶added inv0.23.0
func (c *AdvertisersPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersPatchCall)UpdateMask¶added inv0.23.0
func (c *AdvertisersPatchCall) UpdateMask(updateMaskstring) *AdvertisersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeAdvertisersService¶added inv0.23.0
type AdvertisersService struct {Assets *AdvertisersAssetsServiceCampaigns *AdvertisersCampaignsServiceChannels *AdvertisersChannelsServiceCreatives *AdvertisersCreativesServiceInsertionOrders *AdvertisersInsertionOrdersServiceInvoices *AdvertisersInvoicesServiceLineItems *AdvertisersLineItemsServiceLocationLists *AdvertisersLocationListsServiceManualTriggers *AdvertisersManualTriggersServiceNegativeKeywordLists *AdvertisersNegativeKeywordListsServiceTargetingTypes *AdvertisersTargetingTypesService// contains filtered or unexported fields}funcNewAdvertisersService¶added inv0.23.0
func NewAdvertisersService(s *Service) *AdvertisersService
func (*AdvertisersService)Audit¶added inv0.30.0
func (r *AdvertisersService) Audit(advertiserIdint64) *AdvertisersAuditCall
Audit: Audits an advertiser. Returns the counts of used entities perresource type under the advertiser provided. Used entities counttowards their respective resource limit. Seehttps://support.google.com/displayvideo/answer/6071450.
- advertiserId: The ID of the advertiser to audit.
func (*AdvertisersService)BulkEditAdvertiserAssignedTargetingOptions¶added inv0.26.0
func (r *AdvertisersService) BulkEditAdvertiserAssignedTargetingOptions(advertiserIdint64, bulkeditadvertiserassignedtargetingoptionsrequest *BulkEditAdvertiserAssignedTargetingOptionsRequest) *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall
BulkEditAdvertiserAssignedTargetingOptions: Bulk edits targetingoptions under a single advertiser. The operation will delete theassigned targeting options provided inBulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests andthen create the assigned targeting options provided inBulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
- advertiserId: The ID of the advertiser.
func (*AdvertisersService)BulkListAdvertiserAssignedTargetingOptions¶added inv0.26.0
func (r *AdvertisersService) BulkListAdvertiserAssignedTargetingOptions(advertiserIdint64) *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall
BulkListAdvertiserAssignedTargetingOptions: Lists assigned targetingoptions of an advertiser across targeting types.
- advertiserId: The ID of the advertiser the line item belongs to.
func (*AdvertisersService)Create¶added inv0.23.0
func (r *AdvertisersService) Create(advertiser *Advertiser) *AdvertisersCreateCall
Create: Creates a new advertiser. Returns the newly createdadvertiser if successful. This method can take up to 180 seconds tocomplete.
func (*AdvertisersService)Delete¶added inv0.23.0
func (r *AdvertisersService) Delete(advertiserIdint64) *AdvertisersDeleteCall
Delete: Deletes an advertiser. Deleting an advertiser will delete allof its child resources, for example, campaigns, insertion orders andline items. A deleted advertiser cannot be recovered.
- advertiserId: The ID of the advertiser we need to delete.
func (*AdvertisersService)Get¶added inv0.23.0
func (r *AdvertisersService) Get(advertiserIdint64) *AdvertisersGetCall
Get: Gets an advertiser.
- advertiserId: The ID of the advertiser to fetch.
func (*AdvertisersService)List¶added inv0.23.0
func (r *AdvertisersService) List() *AdvertisersListCall
List: Lists advertisers that are accessible to the current user. Theorder is defined by the order_by parameter. A single partner_id isrequired. Cross-partner listing is not supported.
func (*AdvertisersService)Patch¶added inv0.23.0
func (r *AdvertisersService) Patch(advertiserIdint64, advertiser *Advertiser) *AdvertisersPatchCall
Patch: Updates an existing advertiser. Returns the updated advertiserif successful.
- advertiserId: Output only. The unique ID of the advertiser.Assigned by the system.
typeAdvertisersTargetingTypesAssignedTargetingOptionsCreateCall¶added inv0.26.0
type AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall struct {// contains filtered or unexported fields}func (*AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall)Context¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Context(ctxcontext.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall)Do¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.create" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall)Fields¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall)Header¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall¶added inv0.26.0
type AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall struct {// contains filtered or unexported fields}func (*AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall)Context¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Context(ctxcontext.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall)Do¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall)Fields¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall)Header¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeAdvertisersTargetingTypesAssignedTargetingOptionsGetCall¶added inv0.26.0
type AdvertisersTargetingTypesAssignedTargetingOptionsGetCall struct {// contains filtered or unexported fields}func (*AdvertisersTargetingTypesAssignedTargetingOptionsGetCall)Context¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Context(ctxcontext.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsGetCall)Do¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.get" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsGetCall)Fields¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsGetCall)Header¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsGetCall)IfNoneMatch¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTagstring) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeAdvertisersTargetingTypesAssignedTargetingOptionsListCall¶added inv0.26.0
type AdvertisersTargetingTypesAssignedTargetingOptionsListCall struct {// contains filtered or unexported fields}func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)Context¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Context(ctxcontext.Context) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)Do¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListAdvertiserAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.advertisers.targetingTypes.assignedTargetingOptions.list" call.Exactly one of *ListAdvertiserAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*ListAdvertiserAssignedTargetingOptionsResponse.ServerResponse.Headeror (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)Fields¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)Filter¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Filter(filterstring) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the `OR` logical operator. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: *`assignedTargetingOptionId` Examples: * `AssignedTargetingOption`with ID 123456: `assignedTargetingOptionId="123456" The length ofthis field should be no more than 500 characters. Reference ourfilter `LIST` requests (/display-video/api/guides/how-tos/filters)guide for more information.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)Header¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)IfNoneMatch¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTagstring) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)OrderBy¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBystring) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `assignedTargetingOptionId`(default) The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `assignedTargetingOptionId desc`.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)PageSize¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSizeint64) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `5000`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)PageToken¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageTokenstring) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListAdvertiserAssignedTargetingOptions` method. If not specified,the first page of results will be returned.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsListCall)Pages¶added inv0.26.0
func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Pages(ctxcontext.Context, f func(*ListAdvertiserAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeAdvertisersTargetingTypesAssignedTargetingOptionsService¶added inv0.26.0
type AdvertisersTargetingTypesAssignedTargetingOptionsService struct {// contains filtered or unexported fields}funcNewAdvertisersTargetingTypesAssignedTargetingOptionsService¶added inv0.26.0
func NewAdvertisersTargetingTypesAssignedTargetingOptionsService(s *Service) *AdvertisersTargetingTypesAssignedTargetingOptionsService
func (*AdvertisersTargetingTypesAssignedTargetingOptionsService)Create¶added inv0.26.0
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Create(advertiserIdint64, targetingTypestring, assignedtargetingoption *AssignedTargetingOption) *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall
Create: Assigns a targeting option to an advertiser. Returns theassigned targeting option if successful.
- advertiserId: The ID of the advertiser.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_OMID` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsService)Delete¶added inv0.26.0
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Delete(advertiserIdint64, targetingTypestring, assignedTargetingOptionIdstring) *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall
Delete: Deletes an assigned targeting option from an advertiser.
- advertiserId: The ID of the advertiser.
- assignedTargetingOptionId: The ID of the assigned targeting optionto delete.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_OMID` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsService)Get¶added inv0.26.0
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) Get(advertiserIdint64, targetingTypestring, assignedTargetingOptionIdstring) *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall
Get: Gets a single targeting option assigned to an advertiser.
- advertiserId: The ID of the advertiser.
- assignedTargetingOptionId: An identifier unique to the targetingtype in this advertiser that identifies the assigned targetingoption being requested.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_OMID` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`.
func (*AdvertisersTargetingTypesAssignedTargetingOptionsService)List¶added inv0.26.0
func (r *AdvertisersTargetingTypesAssignedTargetingOptionsService) List(advertiserIdint64, targetingTypestring) *AdvertisersTargetingTypesAssignedTargetingOptionsListCall
List: Lists the targeting options assigned to an advertiser.
- advertiserId: The ID of the advertiser.
- targetingType: Identifies the type of assigned targeting options tolist. Supported targeting types: * `TARGETING_TYPE_CHANNEL` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_OMID` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`.
typeAdvertisersTargetingTypesService¶added inv0.26.0
type AdvertisersTargetingTypesService struct {AssignedTargetingOptions *AdvertisersTargetingTypesAssignedTargetingOptionsService// contains filtered or unexported fields}funcNewAdvertisersTargetingTypesService¶added inv0.26.0
func NewAdvertisersTargetingTypesService(s *Service) *AdvertisersTargetingTypesService
typeAgeRangeAssignedTargetingOptionDetails¶added inv0.23.0
type AgeRangeAssignedTargetingOptionDetails struct {// AgeRange: Required. The age range of an audience. We only support// targeting a continuous age range of an audience. Thus, the age range// represented in this field can be 1) targeted solely, or, 2) part of a// larger continuous age range. The reach of a continuous age range// targeting can be expanded by also targeting an audience of an unknown// age.//// Possible values:// "AGE_RANGE_UNSPECIFIED" - Default value when age range is not// specified in this version. This enum is a placeholder for default// value and does not represent a real age range option.// "AGE_RANGE_18_24" - The age range of the audience is 18 to 24.// "AGE_RANGE_25_34" - The age range of the audience is 25 to 34.// "AGE_RANGE_35_44" - The age range of the audience is 35 to 44.// "AGE_RANGE_45_54" - The age range of the audience is 45 to 54.// "AGE_RANGE_55_64" - The age range of the audience is 55 to 64.// "AGE_RANGE_65_PLUS" - The age range of the audience is 65 and up.// "AGE_RANGE_UNKNOWN" - The age range of the audience is unknown.AgeRangestring `json:"ageRange,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_AGE_RANGE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "AgeRange") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AgeRange") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AgeRangeAssignedTargetingOptionDetails: Represents a targetable agerange. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_AGE_RANGE`.
func (*AgeRangeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AgeRangeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAgeRangeTargetingOptionDetails¶added inv0.23.0
type AgeRangeTargetingOptionDetails struct {// AgeRange: Output only. The age range of an audience.//// Possible values:// "AGE_RANGE_UNSPECIFIED" - Default value when age range is not// specified in this version. This enum is a placeholder for default// value and does not represent a real age range option.// "AGE_RANGE_18_24" - The age range of the audience is 18 to 24.// "AGE_RANGE_25_34" - The age range of the audience is 25 to 34.// "AGE_RANGE_35_44" - The age range of the audience is 35 to 44.// "AGE_RANGE_45_54" - The age range of the audience is 45 to 54.// "AGE_RANGE_55_64" - The age range of the audience is 55 to 64.// "AGE_RANGE_65_PLUS" - The age range of the audience is 65 and up.// "AGE_RANGE_UNKNOWN" - The age range of the audience is unknown.AgeRangestring `json:"ageRange,omitempty"`// ForceSendFields is a list of field names (e.g. "AgeRange") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AgeRange") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AgeRangeTargetingOptionDetails: Represents a targetable age range.This will be populated in the age_range_details field whentargeting_type is `TARGETING_TYPE_AGE_RANGE`.
func (*AgeRangeTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AgeRangeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAppAssignedTargetingOptionDetails¶added inv0.23.0
type AppAssignedTargetingOptionDetails struct {// AppId: Required. The ID of the app. Android's Play store app uses// bundle ID, for example `com.google.android.gm`. Apple's App store app// ID uses 9 digit string, for example `422689480`.AppIdstring `json:"appId,omitempty"`// AppPlatform: Indicates the platform of the targeted app. If this// field is not specified, the app platform will be assumed to be mobile// (i.e., Android or iOS), and we will derive the appropriate mobile// platform from the app ID.//// Possible values:// "APP_PLATFORM_UNSPECIFIED" - Default value when app platform is not// specified in this version. This enum is a placeholder for default// value and does not represent a real platform option.// "APP_PLATFORM_IOS" - The app platform is iOS.// "APP_PLATFORM_ANDROID" - The app platform is Android.// "APP_PLATFORM_ROKU" - The app platform is Roku.// "APP_PLATFORM_AMAZON_FIRETV" - The app platform is Amazon FireTV.// "APP_PLATFORM_PLAYSTATION" - The app platform is Playstation.// "APP_PLATFORM_APPLE_TV" - The app platform is Apple TV.// "APP_PLATFORM_XBOX" - The app platform is Xbox.// "APP_PLATFORM_SAMSUNG_TV" - The app platform is Samsung TV.// "APP_PLATFORM_ANDROID_TV" - The app platform is Android TV.// "APP_PLATFORM_GENERIC_CTV" - The app platform is a CTV platform// that is not explicitly listed elsewhere.AppPlatformstring `json:"appPlatform,omitempty"`// DisplayName: Output only. The display name of the app.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// ForceSendFields is a list of field names (e.g. "AppId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppId") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AppAssignedTargetingOptionDetails: Details for assigned app targetingoption. This will be populated in the details field of anAssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`.
func (*AppAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AppAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAppCategoryAssignedTargetingOptionDetails¶added inv0.23.0
type AppCategoryAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the app category.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_APP_CATEGORY`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AppCategoryAssignedTargetingOptionDetails: Details for assigned appcategory targeting option. This will be populated in theapp_category_details field of an AssignedTargetingOption whentargeting_type is `TARGETING_TYPE_APP_CATEGORY`.
func (*AppCategoryAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AppCategoryAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAppCategoryTargetingOptionDetails¶added inv0.23.0
type AppCategoryTargetingOptionDetails struct {// DisplayName: Output only. The name of the app collection.DisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AppCategoryTargetingOptionDetails: Represents a targetable collectionof apps. A collection lets you target dynamic groups of related appsthat are maintained by the platform, for example `All Apps/GooglePlay/Games`. This will be populated in the app_category_details fieldwhen targeting_type is `TARGETING_TYPE_APP_CATEGORY`.
func (*AppCategoryTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AppCategoryTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAsset¶added inv0.23.0
type Asset struct {// Content: The asset content. For uploaded assets, the content is the// serving path.Contentstring `json:"content,omitempty"`// MediaId: Media ID of the uploaded asset. This is a unique identifier// for the asset. This ID can be passed to other API calls, e.g.// CreateCreative to associate the asset with a creative. The Media ID// space updated on **April 5, 2023**. Update media IDs cached before// **April 5, 2023** by retrieving the new media ID from associated// creative resources or re-uploading the asset.MediaIdint64 `json:"mediaId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Content") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Content") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Asset: A single asset.
func (*Asset)MarshalJSON¶added inv0.23.0
typeAssetAssociation¶added inv0.23.0
type AssetAssociation struct {// Asset: The associated asset.Asset *Asset `json:"asset,omitempty"`// Role: The role of this asset for the creative.//// Possible values:// "ASSET_ROLE_UNSPECIFIED" - Asset role is not specified or is// unknown in this version.// "ASSET_ROLE_MAIN" - The asset is the main asset of the creative.// "ASSET_ROLE_BACKUP" - The asset is a backup asset of the creative.// "ASSET_ROLE_POLITE_LOAD" - The asset is a polite load asset of the// creative.// "ASSET_ROLE_HEADLINE" - Headline of a native creative. The content// must be UTF-8 encoded with a length of no more than 25 characters.// This role is only supported in following creative_type: *// `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` *// `CREATIVE_TYPE_NATIVE_VIDEO`// "ASSET_ROLE_LONG_HEADLINE" - Long headline of a native creative.// The content must be UTF-8 encoded with a length of no more than 50// characters. This role is only supported in following creative_type: *// `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` *// `CREATIVE_TYPE_NATIVE_VIDEO`// "ASSET_ROLE_BODY" - Body text of a native creative. The content// must be UTF-8 encoded with a length of no more than 90 characters.// This role is only supported in following creative_type: *// `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` *// `CREATIVE_TYPE_NATIVE_VIDEO`// "ASSET_ROLE_LONG_BODY" - Long body text of a native creative. The// content must be UTF-8 encoded with a length of no more than 150// characters. This role is only supported in following creative_type: *// `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` *// `CREATIVE_TYPE_NATIVE_VIDEO`// "ASSET_ROLE_CAPTION_URL" - A short, friendly version of the landing// page URL to show in the creative. This URL gives people an idea of// where they'll arrive after they click on the creative. The content// must be UTF-8 encoded with a length of no more than 30 characters.// For example, if the landing page URL is// 'http://www.example.com/page', the caption URL can be 'example.com'.// The protocol (http://) is optional, but the URL can't contain spaces// or special characters. This role is only supported in following// creative_type: * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`// "ASSET_ROLE_CALL_TO_ACTION" - The text to use on the call-to-action// button of a native creative. The content must be UTF-8 encoded with a// length of no more than 15 characters. This role is only supported in// following creative_type: * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`// "ASSET_ROLE_ADVERTISER_NAME" - The text that identifies the// advertiser or brand name. The content must be UTF-8 encoded with a// length of no more than 25 characters. This role is only supported in// following creative_type: * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`// "ASSET_ROLE_PRICE" - The purchase price of your app in the Google// play store or iOS app store (for example, $5.99). Note that this// value is not automatically synced with the actual value listed in the// store. It will always be the one provided when save the creative. The// content must be UTF-8 encoded with a length of no more than 15// characters. Assets of this role are read-only.// "ASSET_ROLE_ANDROID_APP_ID" - The ID of an Android app in the// Google play store. You can find this ID in the App’s Google Play// Store URL after ‘id’. For example, in//https://play.google.com/store/apps/details?id=com.company.appname the// identifier is com.company.appname. Assets of this role are read-only.// "ASSET_ROLE_IOS_APP_ID" - The ID of an iOS app in the Apple app// store. This ID number can be found in the Apple App Store URL as the// string of numbers directly after "id". For example, in//https://apps.apple.com/us/app/gmail-email-by-google/id422689480 the// ID is 422689480. Assets of this role are read-only.// "ASSET_ROLE_RATING" - The rating of an app in the Google play store// or iOS app store. Note that this value is not automatically synced// with the actual rating in the store. It will always be the one// provided when save the creative. Assets of this role are read-only.// "ASSET_ROLE_ICON" - The icon of a creative. This role is only// supported and required in following creative_type: *// `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE`// "ASSET_ROLE_COVER_IMAGE" - The cover image of a native video// creative. This role is only supported and required in following// creative_type: * `CREATIVE_TYPE_VIDEO`Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "Asset") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Asset") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AssetAssociation: Asset association for the creative.
func (*AssetAssociation)MarshalJSON¶added inv0.23.0
func (s *AssetAssociation) MarshalJSON() ([]byte,error)
typeAssignedInventorySource¶added inv0.27.0
type AssignedInventorySource struct {// AssignedInventorySourceId: Output only. The unique ID of the assigned// inventory source. The ID is only unique within a given inventory// source group. It may be reused in other contexts.AssignedInventorySourceIdint64 `json:"assignedInventorySourceId,omitempty,string"`// InventorySourceId: Required. The ID of the inventory source entity// being targeted.InventorySourceIdstring `json:"inventorySourceId,omitempty"`// Name: Output only. The resource name of the assigned inventory// source.Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedInventorySourceId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "AssignedInventorySourceId") to include in API requests with the JSON// null value. By default, fields with empty values are omitted from API// requests. However, any field with an empty value appearing in// NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}AssignedInventorySource: An assignment between a targetable inventorysource and an inventory source group.
func (*AssignedInventorySource)MarshalJSON¶added inv0.27.0
func (s *AssignedInventorySource) MarshalJSON() ([]byte,error)
typeAssignedLocation¶added inv0.27.0
type AssignedLocation struct {// AssignedLocationId: Output only. The unique ID of the assigned// location. The ID is only unique within a location list. It may be// reused in other contexts.AssignedLocationIdint64 `json:"assignedLocationId,omitempty,string"`// Name: Output only. The resource name of the assigned location.Namestring `json:"name,omitempty"`// TargetingOptionId: Required. The ID of the targeting option assigned// to the location list.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AssignedLocationId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedLocationId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AssignedLocation: An assignment between a location list and arelevant targeting option.
func (*AssignedLocation)MarshalJSON¶added inv0.27.0
func (s *AssignedLocation) MarshalJSON() ([]byte,error)
typeAssignedTargetingOption¶added inv0.23.0
type AssignedTargetingOption struct {// AgeRangeDetails: Age range details. This field will be populated when// the targeting_type is `TARGETING_TYPE_AGE_RANGE`.AgeRangeDetails *AgeRangeAssignedTargetingOptionDetails `json:"ageRangeDetails,omitempty"`// AppCategoryDetails: App category details. This field will be// populated when the targeting_type is `TARGETING_TYPE_APP_CATEGORY`.AppCategoryDetails *AppCategoryAssignedTargetingOptionDetails `json:"appCategoryDetails,omitempty"`// AppDetails: App details. This field will be populated when the// targeting_type is `TARGETING_TYPE_APP`.AppDetails *AppAssignedTargetingOptionDetails `json:"appDetails,omitempty"`// AssignedTargetingOptionId: Output only. The unique ID of the assigned// targeting option. The ID is only unique within a given resource and// targeting type. It may be reused in other contexts.AssignedTargetingOptionIdstring `json:"assignedTargetingOptionId,omitempty"`// AudienceGroupDetails: Audience targeting details. This field will be// populated when the targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`.// You can only target one audience group option per resource.AudienceGroupDetails *AudienceGroupAssignedTargetingOptionDetails `json:"audienceGroupDetails,omitempty"`// AudioContentTypeDetails: Audio content type details. This field will// be populated when the targeting_type is// `TARGETING_TYPE_AUDIO_CONTENT_TYPE`.AudioContentTypeDetails *AudioContentTypeAssignedTargetingOptionDetails `json:"audioContentTypeDetails,omitempty"`// AuthorizedSellerStatusDetails: Authorized seller status details. This// field will be populated when the targeting_type is// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. You can only target one// authorized seller status option per resource. If a resource doesn't// have an authorized seller status option, all authorized sellers// indicated as DIRECT or RESELLER in the ads.txt file are targeted by// default.AuthorizedSellerStatusDetails *AuthorizedSellerStatusAssignedTargetingOptionDetails `json:"authorizedSellerStatusDetails,omitempty"`// BrowserDetails: Browser details. This field will be populated when// the targeting_type is `TARGETING_TYPE_BROWSER`.BrowserDetails *BrowserAssignedTargetingOptionDetails `json:"browserDetails,omitempty"`// BusinessChainDetails: Business chain details. This field will be// populated when the targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.BusinessChainDetails *BusinessChainAssignedTargetingOptionDetails `json:"businessChainDetails,omitempty"`// CarrierAndIspDetails: Carrier and ISP details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_CARRIER_AND_ISP`.CarrierAndIspDetails *CarrierAndIspAssignedTargetingOptionDetails `json:"carrierAndIspDetails,omitempty"`// CategoryDetails: Category details. This field will be populated when// the targeting_type is `TARGETING_TYPE_CATEGORY`. Targeting a category// will also target its subcategories. If a category is excluded from// targeting and a subcategory is included, the exclusion will take// precedence.CategoryDetails *CategoryAssignedTargetingOptionDetails `json:"categoryDetails,omitempty"`// ChannelDetails: Channel details. This field will be populated when// the targeting_type is `TARGETING_TYPE_CHANNEL`.ChannelDetails *ChannelAssignedTargetingOptionDetails `json:"channelDetails,omitempty"`// ContentDurationDetails: Content duration details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_CONTENT_DURATION`.ContentDurationDetails *ContentDurationAssignedTargetingOptionDetails `json:"contentDurationDetails,omitempty"`// ContentGenreDetails: Content genre details. This field will be// populated when the targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.ContentGenreDetails *ContentGenreAssignedTargetingOptionDetails `json:"contentGenreDetails,omitempty"`// ContentInstreamPositionDetails: Content instream position details.// This field will be populated when the targeting_type is// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.ContentInstreamPositionDetails *ContentInstreamPositionAssignedTargetingOptionDetails `json:"contentInstreamPositionDetails,omitempty"`// ContentOutstreamPositionDetails: Content outstream position details.// This field will be populated when the targeting_type is// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.ContentOutstreamPositionDetails *ContentOutstreamPositionAssignedTargetingOptionDetails `json:"contentOutstreamPositionDetails,omitempty"`// ContentStreamTypeDetails: Content duration details. This field will// be populated when the TargetingType is// `TARGETING_TYPE_CONTENT_STREAM_TYPE`.ContentStreamTypeDetails *ContentStreamTypeAssignedTargetingOptionDetails `json:"contentStreamTypeDetails,omitempty"`// DayAndTimeDetails: Day and time details. This field will be populated// when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`.DayAndTimeDetails *DayAndTimeAssignedTargetingOptionDetails `json:"dayAndTimeDetails,omitempty"`// DeviceMakeModelDetails: Device make and model details. This field// will be populated when the targeting_type is// `TARGETING_TYPE_DEVICE_MAKE_MODEL`.DeviceMakeModelDetails *DeviceMakeModelAssignedTargetingOptionDetails `json:"deviceMakeModelDetails,omitempty"`// DeviceTypeDetails: Device Type details. This field will be populated// when the targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.DeviceTypeDetails *DeviceTypeAssignedTargetingOptionDetails `json:"deviceTypeDetails,omitempty"`// DigitalContentLabelExclusionDetails: Digital content label details.// This field will be populated when the targeting_type is// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Digital content// labels are targeting exclusions. Advertiser level digital content// label exclusions, if set, are always applied in serving (even though// they aren't visible in resource settings). Resource settings can// exclude content labels in addition to advertiser exclusions, but// can't override them. A line item won't serve if all the digital// content labels are excluded.DigitalContentLabelExclusionDetails *DigitalContentLabelAssignedTargetingOptionDetails `json:"digitalContentLabelExclusionDetails,omitempty"`// EnvironmentDetails: Environment details. This field will be populated// when the targeting_type is `TARGETING_TYPE_ENVIRONMENT`.EnvironmentDetails *EnvironmentAssignedTargetingOptionDetails `json:"environmentDetails,omitempty"`// ExchangeDetails: Exchange details. This field will be populated when// the targeting_type is `TARGETING_TYPE_EXCHANGE`.ExchangeDetails *ExchangeAssignedTargetingOptionDetails `json:"exchangeDetails,omitempty"`// GenderDetails: Gender details. This field will be populated when the// targeting_type is `TARGETING_TYPE_GENDER`.GenderDetails *GenderAssignedTargetingOptionDetails `json:"genderDetails,omitempty"`// GeoRegionDetails: Geographic region details. This field will be// populated when the targeting_type is `TARGETING_TYPE_GEO_REGION`.GeoRegionDetails *GeoRegionAssignedTargetingOptionDetails `json:"geoRegionDetails,omitempty"`// HouseholdIncomeDetails: Household income details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_HOUSEHOLD_INCOME`.HouseholdIncomeDetails *HouseholdIncomeAssignedTargetingOptionDetails `json:"householdIncomeDetails,omitempty"`// Inheritance: Output only. The inheritance status of the assigned// targeting option.//// Possible values:// "INHERITANCE_UNSPECIFIED" - The inheritance is unspecified or// unknown.// "NOT_INHERITED" - The assigned targeting option is not inherited// from higher level entity.// "INHERITED_FROM_PARTNER" - The assigned targeting option is// inherited from partner targeting settings.// "INHERITED_FROM_ADVERTISER" - The assigned targeting option is// inherited from advertiser targeting settings.Inheritancestring `json:"inheritance,omitempty"`// InventorySourceDetails: Inventory source details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_INVENTORY_SOURCE`.InventorySourceDetails *InventorySourceAssignedTargetingOptionDetails `json:"inventorySourceDetails,omitempty"`// InventorySourceGroupDetails: Inventory source group details. This// field will be populated when the targeting_type is// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.InventorySourceGroupDetails *InventorySourceGroupAssignedTargetingOptionDetails `json:"inventorySourceGroupDetails,omitempty"`// KeywordDetails: Keyword details. This field will be populated when// the targeting_type is `TARGETING_TYPE_KEYWORD`. A maximum of 5000// direct negative keywords can be assigned to a resource. No limit on// number of positive keywords that can be assigned.KeywordDetails *KeywordAssignedTargetingOptionDetails `json:"keywordDetails,omitempty"`// LanguageDetails: Language details. This field will be populated when// the targeting_type is `TARGETING_TYPE_LANGUAGE`.LanguageDetails *LanguageAssignedTargetingOptionDetails `json:"languageDetails,omitempty"`// Name: Output only. The resource name for this assigned targeting// option.Namestring `json:"name,omitempty"`// NativeContentPositionDetails: Native content position details. This// field will be populated when the targeting_type is// `TARGETING_TYPE_NATIVE_CONTENT_POSITION`.NativeContentPositionDetails *NativeContentPositionAssignedTargetingOptionDetails `json:"nativeContentPositionDetails,omitempty"`// NegativeKeywordListDetails: Keyword details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative// keyword lists can be assigned to a resource.NegativeKeywordListDetails *NegativeKeywordListAssignedTargetingOptionDetails `json:"negativeKeywordListDetails,omitempty"`// OmidDetails: Open Measurement enabled inventory details. This field// will be populated when the targeting_type is `TARGETING_TYPE_OMID`.OmidDetails *OmidAssignedTargetingOptionDetails `json:"omidDetails,omitempty"`// OnScreenPositionDetails: On screen position details. This field will// be populated when the targeting_type is// `TARGETING_TYPE_ON_SCREEN_POSITION`.OnScreenPositionDetails *OnScreenPositionAssignedTargetingOptionDetails `json:"onScreenPositionDetails,omitempty"`// OperatingSystemDetails: Operating system details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_OPERATING_SYSTEM`.OperatingSystemDetails *OperatingSystemAssignedTargetingOptionDetails `json:"operatingSystemDetails,omitempty"`// ParentalStatusDetails: Parental status details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_PARENTAL_STATUS`.ParentalStatusDetails *ParentalStatusAssignedTargetingOptionDetails `json:"parentalStatusDetails,omitempty"`// PoiDetails: POI details. This field will be populated when the// targeting_type is `TARGETING_TYPE_POI`.PoiDetails *PoiAssignedTargetingOptionDetails `json:"poiDetails,omitempty"`// ProximityLocationListDetails: Proximity location list details. This// field will be populated when the targeting_type is// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.ProximityLocationListDetails *ProximityLocationListAssignedTargetingOptionDetails `json:"proximityLocationListDetails,omitempty"`// RegionalLocationListDetails: Regional location list details. This// field will be populated when the targeting_type is// `TARGETING_TYPE_REGIONAL_LOCATION_LIST`.RegionalLocationListDetails *RegionalLocationListAssignedTargetingOptionDetails `json:"regionalLocationListDetails,omitempty"`// SensitiveCategoryExclusionDetails: Sensitive category details. This// field will be populated when the targeting_type is// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Sensitive categories// are targeting exclusions. Advertiser level sensitive category// exclusions, if set, are always applied in serving (even though they// aren't visible in resource settings). Resource settings can exclude// sensitive categories in addition to advertiser exclusions, but can't// override them.SensitiveCategoryExclusionDetails *SensitiveCategoryAssignedTargetingOptionDetails `json:"sensitiveCategoryExclusionDetails,omitempty"`// SubExchangeDetails: Sub-exchange details. This field will be// populated when the targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`.SubExchangeDetails *SubExchangeAssignedTargetingOptionDetails `json:"subExchangeDetails,omitempty"`// TargetingType: Output only. Identifies the type of this assigned// targeting option.//// Possible values:// "TARGETING_TYPE_UNSPECIFIED" - Default value when type is not// specified or is unknown in this version.// "TARGETING_TYPE_CHANNEL" - Target a channel (a custom group of// related websites or apps).// "TARGETING_TYPE_APP_CATEGORY" - Target an app category (for// example, education or puzzle games).// "TARGETING_TYPE_APP" - Target a specific app (for example, Angry// Birds).// "TARGETING_TYPE_URL" - Target a specific url (for example,// quora.com).// "TARGETING_TYPE_DAY_AND_TIME" - Target ads during a chosen time// period on a specific day.// "TARGETING_TYPE_AGE_RANGE" - Target ads to a specific age range// (for example, 18-24).// "TARGETING_TYPE_REGIONAL_LOCATION_LIST" - Target ads to the// specified regions on a regional location list.// "TARGETING_TYPE_PROXIMITY_LOCATION_LIST" - Target ads to the// specified points of interest on a proximity location list.// "TARGETING_TYPE_GENDER" - Target ads to a specific gender (for// example, female or male).// "TARGETING_TYPE_VIDEO_PLAYER_SIZE" - Target a specific video player// size for video ads.// "TARGETING_TYPE_USER_REWARDED_CONTENT" - Target user rewarded// content for video ads.// "TARGETING_TYPE_PARENTAL_STATUS" - Target ads to a specific// parental status (for example, parent or not a parent).// "TARGETING_TYPE_CONTENT_INSTREAM_POSITION" - Target video or audio// ads in a specific content instream position (for example, pre-roll,// mid-roll, or post-roll).// "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION" - Target ads in a// specific content outstream position.// "TARGETING_TYPE_DEVICE_TYPE" - Target ads to a specific device type// (for example, tablet or connected TV).// "TARGETING_TYPE_AUDIENCE_GROUP" - Target ads to an audience or// groups of audiences. Singleton field, at most one can exist on a// single Lineitem at a time.// "TARGETING_TYPE_BROWSER" - Target ads to specific web browsers (for// example, Chrome).// "TARGETING_TYPE_HOUSEHOLD_INCOME" - Target ads to a specific// household income range (for example, top 10%).// "TARGETING_TYPE_ON_SCREEN_POSITION" - Target ads in a specific on// screen position.// "TARGETING_TYPE_THIRD_PARTY_VERIFIER" - Filter web sites through// third party verification (for example, IAS or DoubleVerify).// "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION" - Filter web sites// by specific digital content label ratings (for example, DL-MA:// suitable only for mature audiences).// "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION" - Filter website// content by sensitive categories (for example, adult).// "TARGETING_TYPE_ENVIRONMENT" - Target ads to a specific environment// (for example, web or app).// "TARGETING_TYPE_CARRIER_AND_ISP" - Target ads to a specific network// carrier or internet service provider (ISP) (for example, Comcast or// Orange).// "TARGETING_TYPE_OPERATING_SYSTEM" - Target ads to a specific// operating system (for example, macOS).// "TARGETING_TYPE_DEVICE_MAKE_MODEL" - Target ads to a specific// device make or model (for example, Roku or Samsung).// "TARGETING_TYPE_KEYWORD" - Target ads to a specific keyword (for// example, dog or retriever).// "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST" - Target ads to a specific// negative keyword list.// "TARGETING_TYPE_VIEWABILITY" - Target ads to a specific viewability// (for example, 80% viewable).// "TARGETING_TYPE_CATEGORY" - Target ads to a specific content// category (for example, arts & entertainment).// "TARGETING_TYPE_INVENTORY_SOURCE" - Purchase impressions from// specific deals and auction packages.// "TARGETING_TYPE_LANGUAGE" - Target ads to a specific language (for// example, English or Japanese).// "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS" - Target ads to ads.txt// authorized sellers. If no targeting option of this type is assigned,// the resource uses the "Authorized Direct Sellers and Resellers"// option by default.// "TARGETING_TYPE_GEO_REGION" - Target ads to a specific regional// location (for example, a city or state).// "TARGETING_TYPE_INVENTORY_SOURCE_GROUP" - Purchase impressions from// a group of deals and auction packages.// "TARGETING_TYPE_EXCHANGE" - Purchase impressions from specific// exchanges.// "TARGETING_TYPE_SUB_EXCHANGE" - Purchase impressions from specific// sub-exchanges.// "TARGETING_TYPE_POI" - Target ads around a specific point of// interest, such as a notable building, a street address, or// latitude/longitude coordinates.// "TARGETING_TYPE_BUSINESS_CHAIN" - Target ads around locations of a// business chain within a specific geo region.// "TARGETING_TYPE_CONTENT_DURATION" - Target ads to a specific video// content duration.// "TARGETING_TYPE_CONTENT_STREAM_TYPE" - Target ads to a specific// video content stream type.// "TARGETING_TYPE_NATIVE_CONTENT_POSITION" - Target ads to a specific// native content position.// "TARGETING_TYPE_OMID" - Target ads in an Open Measurement enabled// inventory.// "TARGETING_TYPE_AUDIO_CONTENT_TYPE" - Target ads to a specific// audio content type.// "TARGETING_TYPE_CONTENT_GENRE" - Target ads to a specific content// genre.TargetingTypestring `json:"targetingType,omitempty"`// ThirdPartyVerifierDetails: Third party verification details. This// field will be populated when the targeting_type is// `TARGETING_TYPE_THIRD_PARTY_VERIFIER`.ThirdPartyVerifierDetails *ThirdPartyVerifierAssignedTargetingOptionDetails `json:"thirdPartyVerifierDetails,omitempty"`// UrlDetails: URL details. This field will be populated when the// targeting_type is `TARGETING_TYPE_URL`.UrlDetails *UrlAssignedTargetingOptionDetails `json:"urlDetails,omitempty"`// UserRewardedContentDetails: User rewarded content details. This field// will be populated when the targeting_type is// `TARGETING_TYPE_USER_REWARDED_CONTENT`.UserRewardedContentDetails *UserRewardedContentAssignedTargetingOptionDetails `json:"userRewardedContentDetails,omitempty"`// VideoPlayerSizeDetails: Video player size details. This field will be// populated when the targeting_type is// `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.VideoPlayerSizeDetails *VideoPlayerSizeAssignedTargetingOptionDetails `json:"videoPlayerSizeDetails,omitempty"`// ViewabilityDetails: Viewability details. This field will be populated// when the targeting_type is `TARGETING_TYPE_VIEWABILITY`. You can only// target one viewability option per resource.ViewabilityDetails *ViewabilityAssignedTargetingOptionDetails `json:"viewabilityDetails,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AgeRangeDetails") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AgeRangeDetails") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AssignedTargetingOption: A single assigned targeting option, whichdefines the state of a targeting option for an entity with targetingsettings.
func (*AssignedTargetingOption)MarshalJSON¶added inv0.23.0
func (s *AssignedTargetingOption) MarshalJSON() ([]byte,error)
typeAssignedUserRole¶added inv0.30.0
type AssignedUserRole struct {// AdvertiserId: The ID of the advertiser that the assigend user role// applies to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// AssignedUserRoleId: Output only. The ID of the assigned user role.AssignedUserRoleIdstring `json:"assignedUserRoleId,omitempty"`// PartnerId: The ID of the partner that the assigned user role applies// to.PartnerIdint64 `json:"partnerId,omitempty,string"`// UserRole: Required. The user role to assign to a user for the entity.//// Possible values:// "USER_ROLE_UNSPECIFIED" - Default value when the user role is not// specified or is unknown in this version.// "ADMIN" - The user can manage campaigns, creatives, insertion// orders, line items, and reports for the entity. They can view and// edit billing information, create or modify users, and enable or// disable exchanges. This role can only be assigned for a partner// entity.// "ADMIN_PARTNER_CLIENT" - The user can manage campaigns, creatives,// insertion orders, line items, and reports for the entity. They can// create and modify other `ADMIN_PARTNER_CLIENT` users and view billing// information. They cannot view revenue models, markups, or any other// reseller-sensitive fields. This role can only be assigned for a// partner entity.// "STANDARD" - The user can manage campaigns, creatives, insertion// orders, line items, and reports for the entity. They cannot create// and modify users or view billing information.// "STANDARD_PLANNER" - The user can view all campaigns, creatives,// insertion orders, line items, and reports for the entity, including// all cost data. They can create and modify planning-related features,// including plans and inventory.// "STANDARD_PLANNER_LIMITED" - The user can view all campaigns,// creatives, insertion orders, line items, and reports for the entity.// They can create or modify planning-related features, including plans// and inventory. They have no access to cost data and cannot start,// accept, or negotiate deals.// "STANDARD_PARTNER_CLIENT" - The user can manage campaigns,// creatives, insertion orders, line items, and reports for the entity.// They cannot create or modify other users or view billing information.// They cannot view revenue models, markups, or any other// reseller-sensitive fields. This role can only be assigned for an// advertiser entity.// "READ_ONLY" - The user can only build reports and view data for the// entity.// "REPORTING_ONLY" - The user can only create and manage reports.// "LIMITED_REPORTING_ONLY" - The user can only create and manage the// following client-safe reports: General, Audience Performance,// Cross-Partner, Keyword, Order ID, Category, and Third-Party Data// Provider.// "CREATIVE" - The user can view media plan information they need to// collaborate, but can't view cost-related data or Marketplace.// "CREATIVE_ADMIN" - The user can view media plan information they// need to collaborate, but can't view cost-related data or Marketplace.// In addition, they can add other creative admins or creative users to// the entity.UserRolestring `json:"userRole,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AssignedUserRole: A single assigned user role, which defines a user'sauthorized interaction with a specified partner or advertiser.
func (*AssignedUserRole)MarshalJSON¶added inv0.30.0
func (s *AssignedUserRole) MarshalJSON() ([]byte,error)
typeAudienceGroupAssignedTargetingOptionDetails¶added inv0.23.0
type AudienceGroupAssignedTargetingOptionDetails struct {// ExcludedFirstAndThirdPartyAudienceGroup: The first and third party// audience ids and recencies of the excluded first and third party// audience group. Used for negative targeting. The COMPLEMENT of the// UNION of this group and other excluded audience groups is used as an// INTERSECTION to any positive audience targeting. All items are// logically ‘OR’ of each other.ExcludedFirstAndThirdPartyAudienceGroup *FirstAndThirdPartyAudienceGroup `json:"excludedFirstAndThirdPartyAudienceGroup,omitempty"`// ExcludedGoogleAudienceGroup: The Google audience ids of the excluded// Google audience group. Used for negative targeting. The COMPLEMENT of// the UNION of this group and other excluded audience groups is used as// an INTERSECTION to any positive audience targeting. Only contains// Affinity, In-market and Installed-apps type Google audiences. All// items are logically ‘OR’ of each other.ExcludedGoogleAudienceGroup *GoogleAudienceGroup `json:"excludedGoogleAudienceGroup,omitempty"`// IncludedCombinedAudienceGroup: The combined audience ids of the// included combined audience group. Contains combined audience ids// only.IncludedCombinedAudienceGroup *CombinedAudienceGroup `json:"includedCombinedAudienceGroup,omitempty"`// IncludedCustomListGroup: The custom list ids of the included custom// list group. Contains custom list ids only.IncludedCustomListGroup *CustomListGroup `json:"includedCustomListGroup,omitempty"`// IncludedFirstAndThirdPartyAudienceGroups: The first and third party// audience ids and recencies of included first and third party audience// groups. Each first and third party audience group contains first and// third party audience ids only. The relation between each first and// third party audience group is INTERSECTION, and the result is// UNION'ed with other audience groups. Repeated groups with same// settings will be ignored.IncludedFirstAndThirdPartyAudienceGroups []*FirstAndThirdPartyAudienceGroup `json:"includedFirstAndThirdPartyAudienceGroups,omitempty"`// IncludedGoogleAudienceGroup: The Google audience ids of the included// Google audience group. Contains Google audience ids only.IncludedGoogleAudienceGroup *GoogleAudienceGroup `json:"includedGoogleAudienceGroup,omitempty"`// ForceSendFields is a list of field names (e.g.// "ExcludedFirstAndThirdPartyAudienceGroup") to unconditionally include// in API requests. By default, fields with empty or default values are// omitted from API requests. However, any non-pointer, non-interface// field appearing in ForceSendFields will be sent to the server// regardless of whether the field is empty or not. This may be used to// include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "ExcludedFirstAndThirdPartyAudienceGroup") to include in API requests// with the JSON null value. By default, fields with empty values are// omitted from API requests. However, any field with an empty value// appearing in NullFields will be sent to the server as null. It is an// error if a field in this list has a non-empty value. This may be used// to include null fields in Patch requests.NullFields []string `json:"-"`}AudienceGroupAssignedTargetingOptionDetails: Assigned audience grouptargeting option details. This will be populated in the details fieldof an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group isUNION, except for excluded_first_and_third_party_audience_group andexcluded_google_audience_group, of which COMPLEMENT is used as anINTERSECTION with other groups.
func (*AudienceGroupAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AudienceGroupAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAudioContentTypeAssignedTargetingOptionDetails¶added inv0.62.0
type AudioContentTypeAssignedTargetingOptionDetails struct {// AudioContentType: Required. The audio content type.//// Possible values:// "AUDIO_CONTENT_TYPE_UNSPECIFIED" - Audio content type is not// specified in this version. This enum is a place holder for a default// value and does not represent a real content stream type.// "AUDIO_CONTENT_TYPE_UNKNOWN" - The audio content type is unknown.// "AUDIO_CONTENT_TYPE_MUSIC" - The audio content type is music.// "AUDIO_CONTENT_TYPE_BROADCAST" - The audio content type is// broadcast.// "AUDIO_CONTENT_TYPE_PODCAST" - The audio content type is podcast.AudioContentTypestring `json:"audioContentType,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "AudioContentType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AudioContentType") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AudioContentTypeAssignedTargetingOptionDetails: Details for audiocontent type assigned targeting option. This will be populated in theaudio_content_type_details field when targeting_type is`TARGETING_TYPE_AUDIO_CONTENT_TYPE`. Explicitly targeting all optionsis not supported. Remove all audio content type targeting options toachieve this effect.
func (*AudioContentTypeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.62.0
func (s *AudioContentTypeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAudioContentTypeTargetingOptionDetails¶added inv0.62.0
type AudioContentTypeTargetingOptionDetails struct {// AudioContentType: Output only. The audio content type.//// Possible values:// "AUDIO_CONTENT_TYPE_UNSPECIFIED" - Audio content type is not// specified in this version. This enum is a place holder for a default// value and does not represent a real content stream type.// "AUDIO_CONTENT_TYPE_UNKNOWN" - The audio content type is unknown.// "AUDIO_CONTENT_TYPE_MUSIC" - The audio content type is music.// "AUDIO_CONTENT_TYPE_BROADCAST" - The audio content type is// broadcast.// "AUDIO_CONTENT_TYPE_PODCAST" - The audio content type is podcast.AudioContentTypestring `json:"audioContentType,omitempty"`// ForceSendFields is a list of field names (e.g. "AudioContentType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AudioContentType") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AudioContentTypeTargetingOptionDetails: Represents a targetable audiocontent type. This will be populated in theaudio_content_type_details field when targeting_type is`TARGETING_TYPE_AUDIO_CONTENT_TYPE`.
func (*AudioContentTypeTargetingOptionDetails)MarshalJSON¶added inv0.62.0
func (s *AudioContentTypeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAudioVideoOffset¶added inv0.23.0
type AudioVideoOffset struct {// Percentage: The offset in percentage of the audio or video duration.Percentageint64 `json:"percentage,omitempty,string"`// Seconds: The offset in seconds from the start of the audio or video.Secondsint64 `json:"seconds,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Percentage") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Percentage") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}AudioVideoOffset: The length an audio or a video has been played.
func (*AudioVideoOffset)MarshalJSON¶added inv0.23.0
func (s *AudioVideoOffset) MarshalJSON() ([]byte,error)
typeAuditAdvertiserResponse¶added inv0.30.0
type AuditAdvertiserResponse struct {// AdGroupCriteriaCount: The number of individual targeting options from// the following targeting types that are assigned to a line item under// this advertiser. These individual targeting options count towards the// limit of 4500000 ad group targeting options per advertiser.// Qualifying Targeting types: * Channels, URLs, apps, and collections *// Demographic * Google Audiences, including Affinity, Custom Affinity,// and In-market audiences * Inventory source * Keyword * Mobile app// category * User lists * Video targeting * ViewabilityAdGroupCriteriaCountint64 `json:"adGroupCriteriaCount,omitempty,string"`// CampaignCriteriaCount: The number of individual targeting options// from the following targeting types that are assigned to a line item// under this advertiser. These individual targeting options count// towards the limit of 900000 campaign targeting options per// advertiser. Qualifying Targeting types: * Position * Browser *// Connection speed * Day and time * Device and operating system *// Digital content label * Sensitive categories * Environment *// Geography, including business chains and proximity * ISP * Language *// Third-party verificationCampaignCriteriaCountint64 `json:"campaignCriteriaCount,omitempty,string"`// ChannelsCount: The number of channels created under this advertiser.// These channels count towards the limit of 1000 channels per// advertiser.ChannelsCountint64 `json:"channelsCount,omitempty,string"`// NegativeKeywordListsCount: The number of negative keyword lists// created under this advertiser. These negative keyword lists count// towards the limit of 20 negative keyword lists per advertiser.NegativeKeywordListsCountint64 `json:"negativeKeywordListsCount,omitempty,string"`// NegativelyTargetedChannelsCount: The number of negatively targeted// channels created under this advertiser. These negatively targeted// channels count towards the limit of 5 negatively targeted channels// per advertiser.NegativelyTargetedChannelsCountint64 `json:"negativelyTargetedChannelsCount,omitempty,string"`// UsedCampaignsCount: The number of ACTIVE and PAUSED campaigns under// this advertiser. These campaigns count towards the limit of 9999// campaigns per advertiser.UsedCampaignsCountint64 `json:"usedCampaignsCount,omitempty,string"`// UsedInsertionOrdersCount: The number of ACTIVE, PAUSED and DRAFT// insertion orders under this advertiser. These insertion orders count// towards the limit of 9999 insertion orders per advertiser.UsedInsertionOrdersCountint64 `json:"usedInsertionOrdersCount,omitempty,string"`// UsedLineItemsCount: The number of ACTIVE, PAUSED, and DRAFT line// items under this advertiser. These line items count towards the limit// of 9999 line items per advertiser.UsedLineItemsCountint64 `json:"usedLineItemsCount,omitempty,string"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AdGroupCriteriaCount") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdGroupCriteriaCount") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AuditAdvertiserResponse: Response message forAdvertiserService.AuditAdvertiser.
func (*AuditAdvertiserResponse)MarshalJSON¶added inv0.30.0
func (s *AuditAdvertiserResponse) MarshalJSON() ([]byte,error)
typeAuthorizedSellerStatusAssignedTargetingOptionDetails¶added inv0.23.0
type AuthorizedSellerStatusAssignedTargetingOptionDetails struct {// AuthorizedSellerStatus: Output only. The authorized seller status to// target.//// Possible values:// "AUTHORIZED_SELLER_STATUS_UNSPECIFIED" - Default value when// authorized seller status is not specified in this version. This enum// is a placeholder for the default value, or "Authorized Direct Sellers// and Resellers" in the UI.// "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY" - Only// authorized sellers that directly own the inventory being monetized,// as indicated by a DIRECT declaration in the ads.txt file. This value// is equivalent to "Authorized Direct Sellers" in the UI.//// "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS"// - All authorized sellers, including publishers that have not posted// an ads.txt file. Display & Video 360 automatically disallows// unauthorized sellers. This value is equivalent to "Authorized and// Non-Participating Publishers" in the UI.AuthorizedSellerStatusstring `json:"authorizedSellerStatus,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g.// "AuthorizedSellerStatus") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuthorizedSellerStatus")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AuthorizedSellerStatusAssignedTargetingOptionDetails: Represents anassigned authorized seller status. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. If a resource does nothave an `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` assigned targetingoption, it is using the "Authorized Direct Sellers and Resellers"option.
func (*AuthorizedSellerStatusAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AuthorizedSellerStatusAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeAuthorizedSellerStatusTargetingOptionDetails¶added inv0.23.0
type AuthorizedSellerStatusTargetingOptionDetails struct {// AuthorizedSellerStatus: Output only. The authorized seller status.//// Possible values:// "AUTHORIZED_SELLER_STATUS_UNSPECIFIED" - Default value when// authorized seller status is not specified in this version. This enum// is a placeholder for the default value, or "Authorized Direct Sellers// and Resellers" in the UI.// "AUTHORIZED_SELLER_STATUS_AUTHORIZED_DIRECT_SELLERS_ONLY" - Only// authorized sellers that directly own the inventory being monetized,// as indicated by a DIRECT declaration in the ads.txt file. This value// is equivalent to "Authorized Direct Sellers" in the UI.//// "AUTHORIZED_SELLER_STATUS_AUTHORIZED_AND_NON_PARTICIPATING_PUBLISHERS"// - All authorized sellers, including publishers that have not posted// an ads.txt file. Display & Video 360 automatically disallows// unauthorized sellers. This value is equivalent to "Authorized and// Non-Participating Publishers" in the UI.AuthorizedSellerStatusstring `json:"authorizedSellerStatus,omitempty"`// ForceSendFields is a list of field names (e.g.// "AuthorizedSellerStatus") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuthorizedSellerStatus")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}AuthorizedSellerStatusTargetingOptionDetails: Represents a targetableauthorized seller status. This will be populated in theauthorized_seller_status_details field when targeting_type is`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`.
func (*AuthorizedSellerStatusTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *AuthorizedSellerStatusTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeBiddingStrategy¶added inv0.23.0
type BiddingStrategy struct {// FixedBid: A strategy that uses a fixed bid price.FixedBid *FixedBidStrategy `json:"fixedBid,omitempty"`// MaximizeSpendAutoBid: A strategy that automatically adjusts the bid// to optimize to your performance goal while spending the full budget.// At insertion order level, the markup_type of line items cannot be set// to `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`. In addition, when// performance_goal_type is one of: *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` , the// line_item_type of the insertion order line items must be either: *// `LINE_ITEM_TYPE_DISPLAY_DEFAULT` * `LINE_ITEM_TYPE_VIDEO_DEFAULT` ,// and when performance_goal_type is either: *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` the line_item_type// of the insertion order line items must be// `LINE_ITEM_TYPE_VIDEO_DEFAULT`.MaximizeSpendAutoBid *MaximizeSpendBidStrategy `json:"maximizeSpendAutoBid,omitempty"`// PerformanceGoalAutoBid: A strategy that automatically adjusts the bid// to meet or beat a specified performance goal. It is to be used only// for a line item entity.PerformanceGoalAutoBid *PerformanceGoalBidStrategy `json:"performanceGoalAutoBid,omitempty"`// ForceSendFields is a list of field names (e.g. "FixedBid") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FixedBid") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BiddingStrategy: Settings that control the bid strategy. Bid strategydetermines the bid price.
func (*BiddingStrategy)MarshalJSON¶added inv0.23.0
func (s *BiddingStrategy) MarshalJSON() ([]byte,error)
typeBrowserAssignedTargetingOptionDetails¶added inv0.23.0
type BrowserAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the browser.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted. All// assigned browser targeting options on the same resource must have the// same value for this field.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_BROWSER`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BrowserAssignedTargetingOptionDetails: Details for assigned browsertargeting option. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_BROWSER`.
func (*BrowserAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *BrowserAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeBrowserTargetingOptionDetails¶added inv0.23.0
type BrowserTargetingOptionDetails struct {// DisplayName: Output only. The display name of the browser.DisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BrowserTargetingOptionDetails: Represents a targetable browser. Thiswill be populated in the browser_details field when targeting_type is`TARGETING_TYPE_BROWSER`.
func (*BrowserTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *BrowserTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeBudgetSummary¶added inv0.48.0
type BudgetSummary struct {// ExternalBudgetId: Corresponds to the external_budget_id of a campaign// budget. If the value is not set in the campaign budget, this field// will be empty.ExternalBudgetIdstring `json:"externalBudgetId,omitempty"`// PreTaxAmountMicros: The sum of charges made under this budget before// taxes, in micros of the invoice's currency. For example, if// currency_code is `USD`, then 1000000 represents one US dollar.PreTaxAmountMicrosint64 `json:"preTaxAmountMicros,omitempty,string"`// PrismaCpeCode: Relevant client, product, and estimate codes from the// Mediaocean Prisma tool. Only applicable for campaign budgets with an// external_budget_source of EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN.PrismaCpeCode *PrismaCpeCode `json:"prismaCpeCode,omitempty"`// TaxAmountMicros: The amount of tax applied to charges under this// budget, in micros of the invoice's currency. For example, if// currency_code is `USD`, then 1000000 represents one US dollar.TaxAmountMicrosint64 `json:"taxAmountMicros,omitempty,string"`// TotalAmountMicros: The total sum of charges made under this budget,// including tax, in micros of the invoice's currency. For example, if// currency_code is `USD`, then 1000000 represents one US dollar.TotalAmountMicrosint64 `json:"totalAmountMicros,omitempty,string"`// ForceSendFields is a list of field names (e.g. "ExternalBudgetId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExternalBudgetId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BudgetSummary: Summarized information of an individual campaignbudget.
func (*BudgetSummary)MarshalJSON¶added inv0.48.0
func (s *BudgetSummary) MarshalJSON() ([]byte,error)
typeBulkEditAdvertiserAssignedTargetingOptionsRequest¶added inv0.26.0
type BulkEditAdvertiserAssignedTargetingOptionsRequest struct {// CreateRequests: The assigned targeting options to create in batch,// specified as a list of `CreateAssignedTargetingOptionsRequest`.// Supported targeting types: * `TARGETING_TYPE_CHANNEL` *// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`CreateRequests []*CreateAssignedTargetingOptionsRequest `json:"createRequests,omitempty"`// DeleteRequests: The assigned targeting options to delete in batch,// specified as a list of `DeleteAssignedTargetingOptionsRequest`.// Supported targeting types: * `TARGETING_TYPE_CHANNEL` *// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`DeleteRequests []*DeleteAssignedTargetingOptionsRequest `json:"deleteRequests,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateRequests") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateRequests") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditAdvertiserAssignedTargetingOptionsRequest: Request messagefor BulkEditAdvertiserAssignedTargetingOptions.
func (*BulkEditAdvertiserAssignedTargetingOptionsRequest)MarshalJSON¶added inv0.26.0
func (s *BulkEditAdvertiserAssignedTargetingOptionsRequest) MarshalJSON() ([]byte,error)
typeBulkEditAdvertiserAssignedTargetingOptionsResponse¶added inv0.26.0
type BulkEditAdvertiserAssignedTargetingOptionsResponse struct {// CreatedAssignedTargetingOptions: The list of assigned targeting// options that have been successfully created. This list will be absent// if empty.CreatedAssignedTargetingOptions []*AssignedTargetingOption `json:"createdAssignedTargetingOptions,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "CreatedAssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "CreatedAssignedTargetingOptions") to include in API requests with// the JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}func (*BulkEditAdvertiserAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.26.0
func (s *BulkEditAdvertiserAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeBulkEditAssignedInventorySourcesRequest¶added inv0.27.0
type BulkEditAssignedInventorySourcesRequest struct {// AdvertiserId: The ID of the advertiser that owns the parent inventory// source group. The parent partner does not have access to these// assigned inventory sources.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// CreatedAssignedInventorySources: The assigned inventory sources to// create in bulk, specified as a list of AssignedInventorySources.CreatedAssignedInventorySources []*AssignedInventorySource `json:"createdAssignedInventorySources,omitempty"`// DeletedAssignedInventorySources: The IDs of the assigned inventory// sources to delete in bulk, specified as a list of// assigned_inventory_source_ids.DeletedAssignedInventorySourcesgoogleapi.Int64s `json:"deletedAssignedInventorySources,omitempty"`// PartnerId: The ID of the partner that owns the inventory source// group. Only this partner has write access to these assigned inventory// sources.PartnerIdint64 `json:"partnerId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BulkEditAssignedInventorySourcesRequest: Request message forAssignedInventorySourceService.BulkEdit.
func (*BulkEditAssignedInventorySourcesRequest)MarshalJSON¶added inv0.27.0
func (s *BulkEditAssignedInventorySourcesRequest) MarshalJSON() ([]byte,error)
typeBulkEditAssignedInventorySourcesResponse¶added inv0.27.0
type BulkEditAssignedInventorySourcesResponse struct {// AssignedInventorySources: The list of assigned inventory sources that// have been successfully created. This list will be absent if empty.AssignedInventorySources []*AssignedInventorySource `json:"assignedInventorySources,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedInventorySources") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedInventorySources")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditAssignedInventorySourcesResponse: Response message forAssignedInventorySourceService.BulkEdit.
func (*BulkEditAssignedInventorySourcesResponse)MarshalJSON¶added inv0.27.0
func (s *BulkEditAssignedInventorySourcesResponse) MarshalJSON() ([]byte,error)
typeBulkEditAssignedLocationsRequest¶added inv0.27.0
type BulkEditAssignedLocationsRequest struct {// CreatedAssignedLocations: The assigned locations to create in bulk,// specified as a list of AssignedLocation resources.CreatedAssignedLocations []*AssignedLocation `json:"createdAssignedLocations,omitempty"`// DeletedAssignedLocations: The IDs of the assigned locations to delete// in bulk, specified as a list of assignedLocationId values.DeletedAssignedLocationsgoogleapi.Int64s `json:"deletedAssignedLocations,omitempty"`// ForceSendFields is a list of field names (e.g.// "CreatedAssignedLocations") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreatedAssignedLocations")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditAssignedLocationsRequest: Request message forAssignedLocationService.BulkEditAssignedLocations.
func (*BulkEditAssignedLocationsRequest)MarshalJSON¶added inv0.27.0
func (s *BulkEditAssignedLocationsRequest) MarshalJSON() ([]byte,error)
typeBulkEditAssignedLocationsResponse¶added inv0.27.0
type BulkEditAssignedLocationsResponse struct {// AssignedLocations: The list of assigned locations that have been// successfully created. This list will be absent if empty.AssignedLocations []*AssignedLocation `json:"assignedLocations,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AssignedLocations")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedLocations") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*BulkEditAssignedLocationsResponse)MarshalJSON¶added inv0.27.0
func (s *BulkEditAssignedLocationsResponse) MarshalJSON() ([]byte,error)
typeBulkEditAssignedUserRolesRequest¶added inv0.30.0
type BulkEditAssignedUserRolesRequest struct {// CreatedAssignedUserRoles: The assigned user roles to create in batch,// specified as a list of AssignedUserRoles.CreatedAssignedUserRoles []*AssignedUserRole `json:"createdAssignedUserRoles,omitempty"`// DeletedAssignedUserRoles: The assigned user roles to delete in batch,// specified as a list of assigned_user_role_ids. The format of// assigned_user_role_id is `entityType-entityid`, for example// `partner-123`.DeletedAssignedUserRoles []string `json:"deletedAssignedUserRoles,omitempty"`// ForceSendFields is a list of field names (e.g.// "CreatedAssignedUserRoles") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreatedAssignedUserRoles")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditAssignedUserRolesRequest: Request message forBulkEditAssignedUserRoles.
func (*BulkEditAssignedUserRolesRequest)MarshalJSON¶added inv0.30.0
func (s *BulkEditAssignedUserRolesRequest) MarshalJSON() ([]byte,error)
typeBulkEditAssignedUserRolesResponse¶added inv0.30.0
type BulkEditAssignedUserRolesResponse struct {// CreatedAssignedUserRoles: The list of assigned user roles that have// been successfully created. This list will be absent if empty.CreatedAssignedUserRoles []*AssignedUserRole `json:"createdAssignedUserRoles,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "CreatedAssignedUserRoles") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreatedAssignedUserRoles")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*BulkEditAssignedUserRolesResponse)MarshalJSON¶added inv0.30.0
func (s *BulkEditAssignedUserRolesResponse) MarshalJSON() ([]byte,error)
typeBulkEditLineItemAssignedTargetingOptionsRequest¶added inv0.23.0
type BulkEditLineItemAssignedTargetingOptionsRequest struct {// CreateRequests: The assigned targeting options to create in batch,// specified as a list of `CreateAssignedTargetingOptionsRequest`.CreateRequests []*CreateAssignedTargetingOptionsRequest `json:"createRequests,omitempty"`// DeleteRequests: The assigned targeting options to delete in batch,// specified as a list of `DeleteAssignedTargetingOptionsRequest`.DeleteRequests []*DeleteAssignedTargetingOptionsRequest `json:"deleteRequests,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateRequests") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateRequests") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditLineItemAssignedTargetingOptionsRequest: Request message forBulkEditLineItemAssignedTargetingOptions.
func (*BulkEditLineItemAssignedTargetingOptionsRequest)MarshalJSON¶added inv0.23.0
func (s *BulkEditLineItemAssignedTargetingOptionsRequest) MarshalJSON() ([]byte,error)
typeBulkEditLineItemAssignedTargetingOptionsResponse¶added inv0.23.0
type BulkEditLineItemAssignedTargetingOptionsResponse struct {// CreatedAssignedTargetingOptions: The list of assigned targeting// options that have been successfully created. This list will be absent// if empty.CreatedAssignedTargetingOptions []*AssignedTargetingOption `json:"createdAssignedTargetingOptions,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "CreatedAssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "CreatedAssignedTargetingOptions") to include in API requests with// the JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}func (*BulkEditLineItemAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.23.0
func (s *BulkEditLineItemAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeBulkEditNegativeKeywordsRequest¶added inv0.27.0
type BulkEditNegativeKeywordsRequest struct {// CreatedNegativeKeywords: The negative keywords to create in batch,// specified as a list of NegativeKeywords.CreatedNegativeKeywords []*NegativeKeyword `json:"createdNegativeKeywords,omitempty"`// DeletedNegativeKeywords: The negative keywords to delete in batch,// specified as a list of keyword_values.DeletedNegativeKeywords []string `json:"deletedNegativeKeywords,omitempty"`// ForceSendFields is a list of field names (e.g.// "CreatedNegativeKeywords") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreatedNegativeKeywords")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditNegativeKeywordsRequest: Request message forNegativeKeywordService.BulkEditNegativeKeywords.
func (*BulkEditNegativeKeywordsRequest)MarshalJSON¶added inv0.27.0
func (s *BulkEditNegativeKeywordsRequest) MarshalJSON() ([]byte,error)
typeBulkEditNegativeKeywordsResponse¶added inv0.27.0
type BulkEditNegativeKeywordsResponse struct {// NegativeKeywords: The list of negative keywords that have been// successfully created. This list will be absent if empty.NegativeKeywords []*NegativeKeyword `json:"negativeKeywords,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NegativeKeywords") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NegativeKeywords") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditNegativeKeywordsResponse: Response message forNegativeKeywordService.BulkEditNegativeKeywords.
func (*BulkEditNegativeKeywordsResponse)MarshalJSON¶added inv0.27.0
func (s *BulkEditNegativeKeywordsResponse) MarshalJSON() ([]byte,error)
typeBulkEditPartnerAssignedTargetingOptionsRequest¶added inv0.30.0
type BulkEditPartnerAssignedTargetingOptionsRequest struct {// CreateRequests: The assigned targeting options to create in batch,// specified as a list of `CreateAssignedTargetingOptionsRequest`.// Supported targeting types: * `TARGETING_TYPE_CHANNEL`CreateRequests []*CreateAssignedTargetingOptionsRequest `json:"createRequests,omitempty"`// DeleteRequests: The assigned targeting options to delete in batch,// specified as a list of `DeleteAssignedTargetingOptionsRequest`.// Supported targeting types: * `TARGETING_TYPE_CHANNEL`DeleteRequests []*DeleteAssignedTargetingOptionsRequest `json:"deleteRequests,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateRequests") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateRequests") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BulkEditPartnerAssignedTargetingOptionsRequest: Request message forBulkEditPartnerAssignedTargetingOptions.
func (*BulkEditPartnerAssignedTargetingOptionsRequest)MarshalJSON¶added inv0.30.0
func (s *BulkEditPartnerAssignedTargetingOptionsRequest) MarshalJSON() ([]byte,error)
typeBulkEditPartnerAssignedTargetingOptionsResponse¶added inv0.30.0
type BulkEditPartnerAssignedTargetingOptionsResponse struct {// CreatedAssignedTargetingOptions: The list of assigned targeting// options that have been successfully created. This list will be absent// if empty.CreatedAssignedTargetingOptions []*AssignedTargetingOption `json:"createdAssignedTargetingOptions,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "CreatedAssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "CreatedAssignedTargetingOptions") to include in API requests with// the JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}func (*BulkEditPartnerAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.30.0
func (s *BulkEditPartnerAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeBulkEditSitesRequest¶added inv0.27.0
type BulkEditSitesRequest struct {// AdvertiserId: The ID of the advertiser that owns the parent channel.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// CreatedSites: The sites to create in batch, specified as a list of// Sites.CreatedSites []*Site `json:"createdSites,omitempty"`// DeletedSites: The sites to delete in batch, specified as a list of// site url_or_app_ids.DeletedSites []string `json:"deletedSites,omitempty"`// PartnerId: The ID of the partner that owns the parent channel.PartnerIdint64 `json:"partnerId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BulkEditSitesRequest: Request message for SiteService.BulkEditSites.
func (*BulkEditSitesRequest)MarshalJSON¶added inv0.27.0
func (s *BulkEditSitesRequest) MarshalJSON() ([]byte,error)
typeBulkEditSitesResponse¶added inv0.27.0
type BulkEditSitesResponse struct {// Sites: The list of sites that have been successfully created. This// list will be absent if empty.Sites []*Site `json:"sites,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Sites") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Sites") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BulkEditSitesResponse: Response message forSiteService.BulkEditSites.
func (*BulkEditSitesResponse)MarshalJSON¶added inv0.27.0
func (s *BulkEditSitesResponse) MarshalJSON() ([]byte,error)
typeBulkListAdvertiserAssignedTargetingOptionsResponse¶added inv0.26.0
type BulkListAdvertiserAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// BulkListAdvertiserAssignedTargetingOptionsRequest to fetch the next// page of results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*BulkListAdvertiserAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.26.0
func (s *BulkListAdvertiserAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeBulkListCampaignAssignedTargetingOptionsResponse¶added inv0.43.0
type BulkListCampaignAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// BulkListCampaignAssignedTargetingOptionsRequest to fetch the next// page of results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*BulkListCampaignAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.43.0
func (s *BulkListCampaignAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeBulkListInsertionOrderAssignedTargetingOptionsResponse¶added inv0.41.0
type BulkListInsertionOrderAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the// next page of results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*BulkListInsertionOrderAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.41.0
func (s *BulkListInsertionOrderAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeBulkListLineItemAssignedTargetingOptionsResponse¶added inv0.23.0
type BulkListLineItemAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// BulkListLineItemAssignedTargetingOptionsRequest to fetch the next// page of results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*BulkListLineItemAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.23.0
func (s *BulkListLineItemAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeBusinessChainAssignedTargetingOptionDetails¶added inv0.52.0
type BusinessChainAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of a business chain, e.g.// "KFC", "Chase Bank".DisplayNamestring `json:"displayName,omitempty"`// ProximityRadiusAmount: Required. The radius of the area around the// business chain that will be targeted. The units of the radius are// specified by proximity_radius_unit. Must be 1 to 800 if unit is// `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is// `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1.// Inputs will be rounded to the nearest acceptable value if it is too// granular, e.g. 15.57 will become 15.6.ProximityRadiusAmountfloat64 `json:"proximityRadiusAmount,omitempty"`// ProximityRadiusUnit: Required. The unit of distance by which the// targeting radius is measured.//// Possible values:// "DISTANCE_UNIT_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "DISTANCE_UNIT_MILES" - Miles.// "DISTANCE_UNIT_KILOMETERS" - Kilometers.ProximityRadiusUnitstring `json:"proximityRadiusUnit,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_BUSINESS_CHAIN`. Accepted// business chain targeting option IDs can be retrieved using// SearchTargetingOptions.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BusinessChainAssignedTargetingOptionDetails: Details for assignedBusiness chain targeting option. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_BUSINESS_CHAIN`.
func (*BusinessChainAssignedTargetingOptionDetails)MarshalJSON¶added inv0.52.0
func (s *BusinessChainAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
func (*BusinessChainAssignedTargetingOptionDetails)UnmarshalJSON¶added inv0.52.0
func (s *BusinessChainAssignedTargetingOptionDetails) UnmarshalJSON(data []byte)error
typeBusinessChainSearchTerms¶added inv0.52.0
type BusinessChainSearchTerms struct {// BusinessChainQuery: The search query for the desired business chain.// The query must be the full name of the business, e.g. "KFC",// "mercedes-benz".BusinessChainQuerystring `json:"businessChainQuery,omitempty"`// RegionQuery: The search query for the desired geo region, e.g.// "Seattle", "United State".RegionQuerystring `json:"regionQuery,omitempty"`// ForceSendFields is a list of field names (e.g. "BusinessChainQuery")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BusinessChainQuery") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}BusinessChainSearchTerms: Search terms for Business Chain targetingoptions. At least one of the field should be populated.
func (*BusinessChainSearchTerms)MarshalJSON¶added inv0.52.0
func (s *BusinessChainSearchTerms) MarshalJSON() ([]byte,error)
typeBusinessChainTargetingOptionDetails¶added inv0.52.0
type BusinessChainTargetingOptionDetails struct {// BusinessChain: Output only. The display name of the business chain,// e.g. "KFC", "Chase Bank".BusinessChainstring `json:"businessChain,omitempty"`// GeoRegion: Output only. The display name of the geographic region,// e.g. "Ontario, Canada".GeoRegionstring `json:"geoRegion,omitempty"`// GeoRegionType: Output only. The type of the geographic region.//// Possible values:// "GEO_REGION_TYPE_UNKNOWN" - The geographic region type is unknown.// "GEO_REGION_TYPE_OTHER" - The geographic region type is other.// "GEO_REGION_TYPE_COUNTRY" - The geographic region is a country.// "GEO_REGION_TYPE_REGION" - The geographic region type is region.// "GEO_REGION_TYPE_TERRITORY" - The geographic region is a territory.// "GEO_REGION_TYPE_PROVINCE" - The geographic region is a province.// "GEO_REGION_TYPE_STATE" - The geographic region is a state.// "GEO_REGION_TYPE_PREFECTURE" - The geographic region is a// prefecture.// "GEO_REGION_TYPE_GOVERNORATE" - The geographic region is a// governorate.// "GEO_REGION_TYPE_CANTON" - The geographic region is a canton.// "GEO_REGION_TYPE_UNION_TERRITORY" - The geographic region is a// union territory.// "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY" - The geographic region is// an autonomous community.// "GEO_REGION_TYPE_DMA_REGION" - The geographic region is a// designated market area (DMA) region.// "GEO_REGION_TYPE_METRO" - The geographic region type is metro.// "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT" - The geographic region is// a congressional district.// "GEO_REGION_TYPE_COUNTY" - The geographic region is a county.// "GEO_REGION_TYPE_MUNICIPALITY" - The geographic region is a// municipality.// "GEO_REGION_TYPE_CITY" - The geographic region is a city.// "GEO_REGION_TYPE_POSTAL_CODE" - The geographic region targeting// type is postal code.// "GEO_REGION_TYPE_DEPARTMENT" - The geographic region targeting type// is department.// "GEO_REGION_TYPE_AIRPORT" - The geographic region is an airport.// "GEO_REGION_TYPE_TV_REGION" - The geographic region is a TV region.// "GEO_REGION_TYPE_OKRUG" - The geographic region is an okrug.// "GEO_REGION_TYPE_BOROUGH" - The geographic region is a borough.// "GEO_REGION_TYPE_CITY_REGION" - The geographic region is a city// region.// "GEO_REGION_TYPE_ARRONDISSEMENT" - The geographic region is an// arrondissement.// "GEO_REGION_TYPE_NEIGHBORHOOD" - The geographic region is a// neighborhood.// "GEO_REGION_TYPE_UNIVERSITY" - The geographic region is a// university.// "GEO_REGION_TYPE_DISTRICT" - The geographic region is a district.GeoRegionTypestring `json:"geoRegionType,omitempty"`// ForceSendFields is a list of field names (e.g. "BusinessChain") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BusinessChain") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}BusinessChainTargetingOptionDetails: Represents a targetable businesschain within a geo region. This will be populated in thebusiness_chain_details field when targeting_type is`TARGETING_TYPE_BUSINESS_CHAIN`.
func (*BusinessChainTargetingOptionDetails)MarshalJSON¶added inv0.52.0
func (s *BusinessChainTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeCampaign¶added inv0.23.0
type Campaign struct {// AdvertiserId: Output only. The unique ID of the advertiser the// campaign belongs to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// CampaignBudgets: The list of budgets available to this campaign. If// this field is not set, the campaign uses an unlimited budget.CampaignBudgets []*CampaignBudget `json:"campaignBudgets,omitempty"`// CampaignFlight: Required. The planned spend and duration of the// campaign.CampaignFlight *CampaignFlight `json:"campaignFlight,omitempty"`// CampaignGoal: Required. The goal of the campaign.CampaignGoal *CampaignGoal `json:"campaignGoal,omitempty"`// CampaignId: Output only. The unique ID of the campaign. Assigned by// the system.CampaignIdint64 `json:"campaignId,omitempty,string"`// DisplayName: Required. The display name of the campaign. Must be// UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// EntityStatus: Required. Controls whether or not the insertion orders// under this campaign can spend their budgets and bid on inventory. *// Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`,// and `ENTITY_STATUS_PAUSED`. * For CreateCampaign method,// `ENTITY_STATUS_ARCHIVED` is not allowed.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// FrequencyCap: Required. The frequency cap setting of the campaign.FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"`// Name: Output only. The resource name of the campaign.Namestring `json:"name,omitempty"`// UpdateTime: Output only. The timestamp when the campaign was last// updated. Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Campaign: A single campaign.
func (*Campaign)MarshalJSON¶added inv0.23.0
typeCampaignBudget¶added inv0.48.0
type CampaignBudget struct {// BudgetAmountMicros: Required. The total amount the linked insertion// order segments can budget. The amount is in micros. Must be greater// than 0. For example, 500000000 represents 500 standard units of the// currency.BudgetAmountMicrosint64 `json:"budgetAmountMicros,omitempty,string"`// BudgetId: The unique ID of the campaign budget. Assigned by the// system. Do not set for new budgets. Must be included when updating or// adding budgets to campaign_budgets. Otherwise, a new ID will be// generated and assigned.BudgetIdint64 `json:"budgetId,omitempty,string"`// BudgetUnit: Required. Immutable. Specifies whether the budget is// measured in currency or impressions.//// Possible values:// "BUDGET_UNIT_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "BUDGET_UNIT_CURRENCY" - Budgeting in currency amounts.// "BUDGET_UNIT_IMPRESSIONS" - Budgeting in impression amounts.BudgetUnitstring `json:"budgetUnit,omitempty"`// DateRange: Required. The date range for the campaign budget. Linked// budget segments may have a different date range. They are resolved// relative to the parent advertiser's time zone. Both `start_date` and// `end_date` must be before the year 2037.DateRange *DateRange `json:"dateRange,omitempty"`// DisplayName: Required. The display name of the budget. Must be UTF-8// encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// ExternalBudgetId: Immutable. The ID identifying this budget to the// external source. If this field is set and the invoice detail level of// the corresponding billing profile is set to "Budget level PO", all// impressions served against this budget will include this ID on the// invoice. Must be unique under the campaign.ExternalBudgetIdstring `json:"externalBudgetId,omitempty"`// ExternalBudgetSource: Required. The external source of the budget.//// Possible values:// "EXTERNAL_BUDGET_SOURCE_UNSPECIFIED" - External budget source value// is not specified or unknown in this version.// "EXTERNAL_BUDGET_SOURCE_NONE" - Budget has no external source.// "EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN" - Budget source is Mediaocean.ExternalBudgetSourcestring `json:"externalBudgetSource,omitempty"`// InvoiceGroupingId: Immutable. The ID used to group budgets to be// included the same invoice. If this field is set and the invoice level// of the corresponding billing profile is set to "Budget invoice// grouping ID", all external_budget_id sharing the same// invoice_grouping_id will be grouped in the same invoice.InvoiceGroupingIdstring `json:"invoiceGroupingId,omitempty"`// PrismaConfig: Additional metadata for use by the Mediaocean Prisma// tool. Required for Mediaocean budgets. Only applicable to// prisma_enabled advertisers.PrismaConfig *PrismaConfig `json:"prismaConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "BudgetAmountMicros")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BudgetAmountMicros") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}CampaignBudget: Settings that control how the campaign budget isallocated.
func (*CampaignBudget)MarshalJSON¶added inv0.48.0
func (s *CampaignBudget) MarshalJSON() ([]byte,error)
typeCampaignFlight¶added inv0.23.0
type CampaignFlight struct {// PlannedDates: Required. The dates that the campaign is expected to// run. They are resolved relative to the parent advertiser's time zone.// * The dates specified here will not affect serving. They are used to// generate alerts and warnings. For example, if the flight date of any// child insertion order is outside the range of these dates, the user// interface will show a warning. * `start_date` is required and must be// the current date or later. * `end_date` is optional. If specified, it// must be the `start_date` or later. * Any specified date must be// before the year 2037.PlannedDates *DateRange `json:"plannedDates,omitempty"`// PlannedSpendAmountMicros: The amount the campaign is expected to// spend for its given planned_dates. This will not limit serving, but// will be used for tracking spend in the DV360 UI. The amount is in// micros. Must be greater than or equal to 0. For example, 500000000// represents 500 standard units of the currency.PlannedSpendAmountMicrosint64 `json:"plannedSpendAmountMicros,omitempty,string"`// ForceSendFields is a list of field names (e.g. "PlannedDates") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PlannedDates") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CampaignFlight: Settings that track the planned spend and duration ofa campaign.
func (*CampaignFlight)MarshalJSON¶added inv0.23.0
func (s *CampaignFlight) MarshalJSON() ([]byte,error)
typeCampaignGoal¶added inv0.23.0
type CampaignGoal struct {// CampaignGoalType: Required. The type of the campaign goal.//// Possible values:// "CAMPAIGN_GOAL_TYPE_UNSPECIFIED" - Goal value is not specified or// unknown in this version.// "CAMPAIGN_GOAL_TYPE_APP_INSTALL" - Drive app installs or// engagements.// "CAMPAIGN_GOAL_TYPE_BRAND_AWARENESS" - Raise awareness of a brand// or product.// "CAMPAIGN_GOAL_TYPE_OFFLINE_ACTION" - Drive offline or in-store// sales.// "CAMPAIGN_GOAL_TYPE_ONLINE_ACTION" - Drive online action or visits.CampaignGoalTypestring `json:"campaignGoalType,omitempty"`// PerformanceGoal: Required. The performance goal of the campaign.// Acceptable values for performance_goal_type are: *// `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` *// `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` *// `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` *// `PERFORMANCE_GOAL_TYPE_OTHER`PerformanceGoal *PerformanceGoal `json:"performanceGoal,omitempty"`// ForceSendFields is a list of field names (e.g. "CampaignGoalType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CampaignGoalType") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}CampaignGoal: Settings that control the goal of a campaign.
func (*CampaignGoal)MarshalJSON¶added inv0.23.0
func (s *CampaignGoal) MarshalJSON() ([]byte,error)
typeCarrierAndIspAssignedTargetingOptionDetails¶added inv0.23.0
type CarrierAndIspAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the carrier or ISP.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted. All// assigned carrier and ISP targeting options on the same resource must// have the same value for this field.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CarrierAndIspAssignedTargetingOptionDetails: Details for assignedcarrier and ISP targeting option. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_CARRIER_AND_ISP`.
func (*CarrierAndIspAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *CarrierAndIspAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeCarrierAndIspTargetingOptionDetails¶added inv0.23.0
type CarrierAndIspTargetingOptionDetails struct {// DisplayName: Output only. The display name of the carrier or ISP.DisplayNamestring `json:"displayName,omitempty"`// Type: Output only. The type indicating if it's carrier or ISP.//// Possible values:// "CARRIER_AND_ISP_TYPE_UNSPECIFIED" - Default value when type is not// specified or is unknown in this version.// "CARRIER_AND_ISP_TYPE_ISP" - Indicates this targeting resource// refers to an ISP.// "CARRIER_AND_ISP_TYPE_CARRIER" - Indicates this targeting resource// refers to a mobile carrier.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CarrierAndIspTargetingOptionDetails: Represents a targetable carrieror ISP. This will be populated in the carrier_and_isp_details fieldof a TargetingOption when targeting_type is`TARGETING_TYPE_CARRIER_AND_ISP`.
func (*CarrierAndIspTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *CarrierAndIspTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeCategoryAssignedTargetingOptionDetails¶added inv0.23.0
type CategoryAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the category.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_CATEGORY`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CategoryAssignedTargetingOptionDetails: Assigned category targetingoption details. This will be populated in the category_details fieldwhen targeting_type is `TARGETING_TYPE_CATEGORY`.
func (*CategoryAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *CategoryAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeCategoryTargetingOptionDetails¶added inv0.23.0
type CategoryTargetingOptionDetails struct {// DisplayName: Output only. The display name of the category.DisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CategoryTargetingOptionDetails: Represents a targetable category.This will be populated in the category_details field of aTargetingOption when targeting_type is `TARGETING_TYPE_CATEGORY`.
func (*CategoryTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *CategoryTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeChannel¶added inv0.23.0
type Channel struct {// AdvertiserId: The ID of the advertiser that owns the channel.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// ChannelId: Output only. The unique ID of the channel. Assigned by the// system.ChannelIdint64 `json:"channelId,omitempty,string"`// DisplayName: Required. The display name of the channel. Must be UTF-8// encoded with a maximum length of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// Name: Output only. The resource name of the channel.Namestring `json:"name,omitempty"`// NegativelyTargetedLineItemCount: Output only. Number of line items// that are directly targeting this channel negatively.NegativelyTargetedLineItemCountint64 `json:"negativelyTargetedLineItemCount,omitempty,string"`// PartnerId: The ID of the partner that owns the channel.PartnerIdint64 `json:"partnerId,omitempty,string"`// PositivelyTargetedLineItemCount: Output only. Number of line items// that are directly targeting this channel positively.PositivelyTargetedLineItemCountint64 `json:"positivelyTargetedLineItemCount,omitempty,string"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Channel: A single channel. Channels are custom groups of relatedwebsites and apps.
func (*Channel)MarshalJSON¶added inv0.23.0
typeChannelAssignedTargetingOptionDetails¶added inv0.23.0
type ChannelAssignedTargetingOptionDetails struct {// ChannelId: Required. ID of the channel. Should refer to the channel// ID field on a Partner-owned channel// (partners.channels#Channel.FIELDS.channel_id) or advertiser-owned// channel (advertisers.channels#Channel.FIELDS.channel_id) resource.ChannelIdint64 `json:"channelId,omitempty,string"`// Negative: Indicates if this option is being negatively targeted. For// advertiser level assigned targeting option, this field must be true.Negativebool `json:"negative,omitempty"`// ForceSendFields is a list of field names (e.g. "ChannelId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ChannelId") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ChannelAssignedTargetingOptionDetails: Details for assigned channeltargeting option. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_CHANNEL`.
func (*ChannelAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ChannelAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeCmHybridConfig¶added inv0.23.0
type CmHybridConfig struct {// CmAccountId: Required. Immutable. Account ID of the CM360 Floodlight// configuration linked with the DV360 advertiser.CmAccountIdint64 `json:"cmAccountId,omitempty,string"`// CmAdvertiserIds: Output only. The set of CM360 Advertiser IDs sharing// the CM360 Floodlight configuration.CmAdvertiserIdsgoogleapi.Int64s `json:"cmAdvertiserIds,omitempty"`// CmFloodlightConfigId: Required. Immutable. ID of the CM360 Floodlight// configuration linked with the DV360 advertiser.CmFloodlightConfigIdint64 `json:"cmFloodlightConfigId,omitempty,string"`// CmFloodlightLinkingAuthorized: Required. Immutable. By setting this// field to `true`, you, on behalf of your company, authorize the// sharing of information from the given Floodlight configuration to// this Display & Video 360 advertiser.CmFloodlightLinkingAuthorizedbool `json:"cmFloodlightLinkingAuthorized,omitempty"`// CmSyncableSiteIds: A list of CM360 sites whose placements will be// synced to DV360 as creatives. If absent or empty in CreateAdvertiser// method, the system will automatically create a CM360 site. Removing// sites from this list may cause DV360 creatives synced from CM360 to// be deleted. At least one site must be specified.CmSyncableSiteIdsgoogleapi.Int64s `json:"cmSyncableSiteIds,omitempty"`// Dv360ToCmCostReportingEnabled: Whether or not to report DV360 cost to// CM360.Dv360ToCmCostReportingEnabledbool `json:"dv360ToCmCostReportingEnabled,omitempty"`// Dv360ToCmDataSharingEnabled: Whether or not to include DV360 data in// CM360 data transfer reports.Dv360ToCmDataSharingEnabledbool `json:"dv360ToCmDataSharingEnabled,omitempty"`// ForceSendFields is a list of field names (e.g. "CmAccountId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CmAccountId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CmHybridConfig: Settings for advertisers that use both CampaignManager 360 (CM360) and third-party ad servers.
func (*CmHybridConfig)MarshalJSON¶added inv0.23.0
func (s *CmHybridConfig) MarshalJSON() ([]byte,error)
typeCmTrackingAd¶added inv0.23.0
type CmTrackingAd struct {// CmAdId: The ad ID of the campaign manager 360 tracking Ad.CmAdIdint64 `json:"cmAdId,omitempty,string"`// CmCreativeId: The creative ID of the campaign manager 360 tracking// Ad.CmCreativeIdint64 `json:"cmCreativeId,omitempty,string"`// CmPlacementId: The placement ID of the campaign manager 360 tracking// Ad.CmPlacementIdint64 `json:"cmPlacementId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "CmAdId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CmAdId") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CmTrackingAd: A Campaign Manager 360 tracking ad.
func (*CmTrackingAd)MarshalJSON¶added inv0.23.0
func (s *CmTrackingAd) MarshalJSON() ([]byte,error)
typeCombinedAudience¶added inv0.23.0
type CombinedAudience struct {// CombinedAudienceId: Output only. The unique ID of the combined// audience. Assigned by the system.CombinedAudienceIdint64 `json:"combinedAudienceId,omitempty,string"`// DisplayName: Output only. The display name of the combined audience.// .DisplayNamestring `json:"displayName,omitempty"`// Name: Output only. The resource name of the combined audience.Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CombinedAudienceId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CombinedAudienceId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}CombinedAudience: Describes a combined audience resource.
func (*CombinedAudience)MarshalJSON¶added inv0.23.0
func (s *CombinedAudience) MarshalJSON() ([]byte,error)
typeCombinedAudienceGroup¶added inv0.23.0
type CombinedAudienceGroup struct {// Settings: Required. All combined audience targeting settings in// combined audience group. Repeated settings with same id will be// ignored. The number of combined audience settings should be no more// than five, error will be thrown otherwise.Settings []*CombinedAudienceTargetingSetting `json:"settings,omitempty"`// ForceSendFields is a list of field names (e.g. "Settings") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Settings") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CombinedAudienceGroup: Details of combined audience group. Allcombined audience targeting settings are logically ‘OR’ of eachother.
func (*CombinedAudienceGroup)MarshalJSON¶added inv0.23.0
func (s *CombinedAudienceGroup) MarshalJSON() ([]byte,error)
typeCombinedAudienceTargetingSetting¶added inv0.23.0
type CombinedAudienceTargetingSetting struct {// CombinedAudienceId: Required. Combined audience id of combined// audience targeting setting. This id is combined_audience_id.CombinedAudienceIdint64 `json:"combinedAudienceId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "CombinedAudienceId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CombinedAudienceId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}CombinedAudienceTargetingSetting: Details of combined audiencetargeting setting.
func (*CombinedAudienceTargetingSetting)MarshalJSON¶added inv0.23.0
func (s *CombinedAudienceTargetingSetting) MarshalJSON() ([]byte,error)
typeCombinedAudiencesGetCall¶added inv0.23.0
type CombinedAudiencesGetCall struct {// contains filtered or unexported fields}func (*CombinedAudiencesGetCall)AdvertiserId¶added inv0.23.0
func (c *CombinedAudiencesGetCall) AdvertiserId(advertiserIdint64) *CombinedAudiencesGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the fetched combined audience.
func (*CombinedAudiencesGetCall)Context¶added inv0.23.0
func (c *CombinedAudiencesGetCall) Context(ctxcontext.Context) *CombinedAudiencesGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CombinedAudiencesGetCall)Do¶added inv0.23.0
func (c *CombinedAudiencesGetCall) Do(opts ...googleapi.CallOption) (*CombinedAudience,error)
Do executes the "displayvideo.combinedAudiences.get" call.Exactly one of *CombinedAudience or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CombinedAudience.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CombinedAudiencesGetCall)Fields¶added inv0.23.0
func (c *CombinedAudiencesGetCall) Fields(s ...googleapi.Field) *CombinedAudiencesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CombinedAudiencesGetCall)Header¶added inv0.23.0
func (c *CombinedAudiencesGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CombinedAudiencesGetCall)IfNoneMatch¶added inv0.23.0
func (c *CombinedAudiencesGetCall) IfNoneMatch(entityTagstring) *CombinedAudiencesGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CombinedAudiencesGetCall)PartnerId¶added inv0.23.0
func (c *CombinedAudiencesGetCall) PartnerId(partnerIdint64) *CombinedAudiencesGetCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the fetched combined audience.
typeCombinedAudiencesListCall¶added inv0.23.0
type CombinedAudiencesListCall struct {// contains filtered or unexported fields}func (*CombinedAudiencesListCall)AdvertiserId¶added inv0.23.0
func (c *CombinedAudiencesListCall) AdvertiserId(advertiserIdint64) *CombinedAudiencesListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the fetched combined audiences.
func (*CombinedAudiencesListCall)Context¶added inv0.23.0
func (c *CombinedAudiencesListCall) Context(ctxcontext.Context) *CombinedAudiencesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CombinedAudiencesListCall)Do¶added inv0.23.0
func (c *CombinedAudiencesListCall) Do(opts ...googleapi.CallOption) (*ListCombinedAudiencesResponse,error)
Do executes the "displayvideo.combinedAudiences.list" call.Exactly one of *ListCombinedAudiencesResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListCombinedAudiencesResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CombinedAudiencesListCall)Fields¶added inv0.23.0
func (c *CombinedAudiencesListCall) Fields(s ...googleapi.Field) *CombinedAudiencesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CombinedAudiencesListCall)Filter¶added inv0.23.0
func (c *CombinedAudiencesListCall) Filter(filterstring) *CombinedAudiencesListCall
Filter sets the optional parameter "filter": Allows filtering bycombined audience fields. Supported syntax: * Filter expressions forcombined audiences can only contain at most one restriction. * Arestriction has the form of `{field} {operator} {value}`. * Allfields must use the `HAS (:)` operator. Supported fields: *`displayName` Examples: * All combined audiences for which thedisplay name contains "Google": `displayName : "Google". The lengthof this field should be no more than 500 characters. Reference ourfilter `LIST` requests (/display-video/api/guides/how-tos/filters)guide for more information.
func (*CombinedAudiencesListCall)Header¶added inv0.23.0
func (c *CombinedAudiencesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CombinedAudiencesListCall)IfNoneMatch¶added inv0.23.0
func (c *CombinedAudiencesListCall) IfNoneMatch(entityTagstring) *CombinedAudiencesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CombinedAudiencesListCall)OrderBy¶added inv0.23.0
func (c *CombinedAudiencesListCall) OrderBy(orderBystring) *CombinedAudiencesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `combinedAudienceId` (default) *`displayName` The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `displayName desc`.
func (*CombinedAudiencesListCall)PageSize¶added inv0.23.0
func (c *CombinedAudiencesListCall) PageSize(pageSizeint64) *CombinedAudiencesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*CombinedAudiencesListCall)PageToken¶added inv0.23.0
func (c *CombinedAudiencesListCall) PageToken(pageTokenstring) *CombinedAudiencesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListCombinedAudiences` method. If not specified, the first pageof results will be returned.
func (*CombinedAudiencesListCall)Pages¶added inv0.23.0
func (c *CombinedAudiencesListCall) Pages(ctxcontext.Context, f func(*ListCombinedAudiencesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*CombinedAudiencesListCall)PartnerId¶added inv0.23.0
func (c *CombinedAudiencesListCall) PartnerId(partnerIdint64) *CombinedAudiencesListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the fetched combined audiences.
typeCombinedAudiencesService¶added inv0.23.0
type CombinedAudiencesService struct {// contains filtered or unexported fields}funcNewCombinedAudiencesService¶added inv0.23.0
func NewCombinedAudiencesService(s *Service) *CombinedAudiencesService
func (*CombinedAudiencesService)Get¶added inv0.23.0
func (r *CombinedAudiencesService) Get(combinedAudienceIdint64) *CombinedAudiencesGetCall
Get: Gets a combined audience.
- combinedAudienceId: The ID of the combined audience to fetch.
func (*CombinedAudiencesService)List¶added inv0.23.0
func (r *CombinedAudiencesService) List() *CombinedAudiencesListCall
List: Lists combined audiences. The order is defined by the order_byparameter.
typeConsent¶added inv0.151.0
type Consent struct {// AdPersonalization: Represents consent for ad personalization.//// Possible values:// "CONSENT_STATUS_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "CONSENT_STATUS_GRANTED" - Consent is granted.// "CONSENT_STATUS_DENIED" - Consent is denied.AdPersonalizationstring `json:"adPersonalization,omitempty"`// AdUserData: Represents consent for ad user data.//// Possible values:// "CONSENT_STATUS_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "CONSENT_STATUS_GRANTED" - Consent is granted.// "CONSENT_STATUS_DENIED" - Consent is denied.AdUserDatastring `json:"adUserData,omitempty"`// ForceSendFields is a list of field names (e.g. "AdPersonalization")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdPersonalization") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Consent: User consent status.
func (*Consent)MarshalJSON¶added inv0.151.0
typeContactInfo¶added inv0.66.0
type ContactInfo struct {// CountryCode: Country code of the member. Must also be set with the// following fields: * hashed_first_name * hashed_last_name * zip_codesCountryCodestring `json:"countryCode,omitempty"`// HashedEmails: A list of SHA256 hashed email of the member. Before// hashing, remove all whitespace and make sure the string is all// lowercase.HashedEmails []string `json:"hashedEmails,omitempty"`// HashedFirstName: SHA256 hashed first name of the member. Before// hashing, remove all whitespace and make sure the string is all// lowercase. Must also be set with the following fields: * country_code// * hashed_last_name * zip_codesHashedFirstNamestring `json:"hashedFirstName,omitempty"`// HashedLastName: SHA256 hashed last name of the member. Before// hashing, remove all whitespace and make sure the string is all// lowercase. Must also be set with the following fields: * country_code// * hashed_first_name * zip_codesHashedLastNamestring `json:"hashedLastName,omitempty"`// HashedPhoneNumbers: A list of SHA256 hashed phone numbers of the// member. Before hashing, all phone numbers must be formatted using the// E.164 format (//en.wikipedia.org/wiki/E.164) and include the country// calling code.HashedPhoneNumbers []string `json:"hashedPhoneNumbers,omitempty"`// ZipCodes: A list of zip codes of the member. Must also be set with// the following fields: * country_code * hashed_first_name *// hashed_last_nameZipCodes []string `json:"zipCodes,omitempty"`// ForceSendFields is a list of field names (e.g. "CountryCode") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CountryCode") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ContactInfo: Contact information defining a Customer Match audiencemember.
func (*ContactInfo)MarshalJSON¶added inv0.66.0
func (s *ContactInfo) MarshalJSON() ([]byte,error)
typeContactInfoList¶added inv0.66.0
type ContactInfoList struct {// Consent: Input only. The consent setting for the users in// contact_infos. Leaving this field unset indicates that consent is not// specified. If ad_user_data or ad_personalization fields are set to// `CONSENT_STATUS_DENIED`, the request will return an error.Consent *Consent `json:"consent,omitempty"`// ContactInfos: A list of ContactInfo objects defining Customer Match// audience members. The size of members after splitting the// contact_infos mustn't be greater than 500,000.ContactInfos []*ContactInfo `json:"contactInfos,omitempty"`// ForceSendFields is a list of field names (e.g. "Consent") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Consent") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ContactInfoList: Wrapper message for a list of contact informationdefining Customer Match audience members.
func (*ContactInfoList)MarshalJSON¶added inv0.66.0
func (s *ContactInfoList) MarshalJSON() ([]byte,error)
typeContentDurationAssignedTargetingOptionDetails¶added inv0.74.0
type ContentDurationAssignedTargetingOptionDetails struct {// ContentDuration: Output only. The content duration.//// Possible values:// "CONTENT_DURATION_UNSPECIFIED" - Content duration is not specified// in this version. This enum is a place holder for a default value and// does not represent a real content duration.// "CONTENT_DURATION_UNKNOWN" - The content duration is unknown.// "CONTENT_DURATION_0_TO_1_MIN" - Content is 0-1 minute long.// "CONTENT_DURATION_1_TO_5_MIN" - Content is 1-5 minutes long.// "CONTENT_DURATION_5_TO_15_MIN" - Content is 5-15 minutes long.// "CONTENT_DURATION_15_TO_30_MIN" - Content is 15-30 minutes long.// "CONTENT_DURATION_30_TO_60_MIN" - Content is 30-60 minutes long.// "CONTENT_DURATION_OVER_60_MIN" - Content is over 60 minutes long.ContentDurationstring `json:"contentDuration,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_CONTENT_DURATION`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentDuration") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentDuration") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ContentDurationAssignedTargetingOptionDetails: Details for contentduration assigned targeting option. This will be populated in thecontent_duration_details field when targeting_type is`TARGETING_TYPE_CONTENT_DURATION`. Explicitly targeting all optionsis not supported. Remove all content duration targeting options toachieve this effect.
func (*ContentDurationAssignedTargetingOptionDetails)MarshalJSON¶added inv0.74.0
func (s *ContentDurationAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentDurationTargetingOptionDetails¶added inv0.74.0
type ContentDurationTargetingOptionDetails struct {// ContentDuration: Output only. The content duration.//// Possible values:// "CONTENT_DURATION_UNSPECIFIED" - Content duration is not specified// in this version. This enum is a place holder for a default value and// does not represent a real content duration.// "CONTENT_DURATION_UNKNOWN" - The content duration is unknown.// "CONTENT_DURATION_0_TO_1_MIN" - Content is 0-1 minute long.// "CONTENT_DURATION_1_TO_5_MIN" - Content is 1-5 minutes long.// "CONTENT_DURATION_5_TO_15_MIN" - Content is 5-15 minutes long.// "CONTENT_DURATION_15_TO_30_MIN" - Content is 15-30 minutes long.// "CONTENT_DURATION_30_TO_60_MIN" - Content is 30-60 minutes long.// "CONTENT_DURATION_OVER_60_MIN" - Content is over 60 minutes long.ContentDurationstring `json:"contentDuration,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentDuration") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentDuration") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ContentDurationTargetingOptionDetails: Represents a targetablecontent duration. This will be populated in thecontent_duration_details field when targeting_type is`TARGETING_TYPE_CONTENT_DURATION`.
func (*ContentDurationTargetingOptionDetails)MarshalJSON¶added inv0.74.0
func (s *ContentDurationTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentGenreAssignedTargetingOptionDetails¶added inv0.74.0
type ContentGenreAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the content genre.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_CONTENT_GENRE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ContentGenreAssignedTargetingOptionDetails: Details for content genreassigned targeting option. This will be populated in thecontent_genre_details field when targeting_type is`TARGETING_TYPE_CONTENT_GENRE`. Explicitly targeting all options isnot supported. Remove all content genre targeting options to achievethis effect.
func (*ContentGenreAssignedTargetingOptionDetails)MarshalJSON¶added inv0.74.0
func (s *ContentGenreAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentGenreTargetingOptionDetails¶added inv0.74.0
type ContentGenreTargetingOptionDetails struct {// DisplayName: Output only. The display name of the content genreDisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ContentGenreTargetingOptionDetails: Represents a targetable contentgenre. This will be populated in the content_genre_details field whentargeting_type is `TARGETING_TYPE_CONTENT_GENRE`.
func (*ContentGenreTargetingOptionDetails)MarshalJSON¶added inv0.74.0
func (s *ContentGenreTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentInstreamPositionAssignedTargetingOptionDetails¶added inv0.23.0
type ContentInstreamPositionAssignedTargetingOptionDetails struct {// AdType: Output only. The ad type to target. Only applicable to// insertion order targeting and new line items supporting the specified// ad type will inherit this targeting option by default. Possible// values are: * `AD_TYPE_VIDEO`, the setting will be inherited by new// line item when line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`. *// `AD_TYPE_AUDIO`, the setting will be inherited by new line item when// line_item_type is `LINE_ITEM_TYPE_AUDIO_DEFAULT`.//// Possible values:// "AD_TYPE_UNSPECIFIED" - Ad type is not specified or is unknown in// this version.// "AD_TYPE_DISPLAY" - Display creatives, e.g. image and HTML5.// "AD_TYPE_VIDEO" - Video creatives, e.g. video ads that play during// streaming content in video players.// "AD_TYPE_AUDIO" - Audio creatives, e.g. audio ads that play during// audio content.AdTypestring `json:"adType,omitempty"`// ContentInstreamPosition: Required. The content instream position for// video or audio ads.//// Possible values:// "CONTENT_INSTREAM_POSITION_UNSPECIFIED" - Content instream position// is not specified in this version. This enum is a place holder for a// default value and does not represent a real in stream ad position.// "CONTENT_INSTREAM_POSITION_PRE_ROLL" - Ads that play before// streaming content.// "CONTENT_INSTREAM_POSITION_MID_ROLL" - Ads that play between the// beginning and end of streaming content.// "CONTENT_INSTREAM_POSITION_POST_ROLL" - Ads that play at the end of// streaming content.// "CONTENT_INSTREAM_POSITION_UNKNOWN" - Ads instream position is// unknown.ContentInstreamPositionstring `json:"contentInstreamPosition,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "AdType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdType") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ContentInstreamPositionAssignedTargetingOptionDetails: Assignedcontent instream position targeting option details. This will bepopulated in the content_instream_position_details field whentargeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
func (*ContentInstreamPositionAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ContentInstreamPositionAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentInstreamPositionTargetingOptionDetails¶added inv0.23.0
type ContentInstreamPositionTargetingOptionDetails struct {// ContentInstreamPosition: Output only. The content instream position.//// Possible values:// "CONTENT_INSTREAM_POSITION_UNSPECIFIED" - Content instream position// is not specified in this version. This enum is a place holder for a// default value and does not represent a real in stream ad position.// "CONTENT_INSTREAM_POSITION_PRE_ROLL" - Ads that play before// streaming content.// "CONTENT_INSTREAM_POSITION_MID_ROLL" - Ads that play between the// beginning and end of streaming content.// "CONTENT_INSTREAM_POSITION_POST_ROLL" - Ads that play at the end of// streaming content.// "CONTENT_INSTREAM_POSITION_UNKNOWN" - Ads instream position is// unknown.ContentInstreamPositionstring `json:"contentInstreamPosition,omitempty"`// ForceSendFields is a list of field names (e.g.// "ContentInstreamPosition") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentInstreamPosition")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ContentInstreamPositionTargetingOptionDetails: Represents atargetable content instream position, which could be used by videoand audio ads. This will be populated in thecontent_instream_position_details field when targeting_type is`TARGETING_TYPE_CONTENT_INSTREAM_POSITION`.
func (*ContentInstreamPositionTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ContentInstreamPositionTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentOutstreamPositionAssignedTargetingOptionDetails¶added inv0.23.0
type ContentOutstreamPositionAssignedTargetingOptionDetails struct {// AdType: Output only. The ad type to target. Only applicable to// insertion order targeting and new line items supporting the specified// ad type will inherit this targeting option by default. Possible// values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new// line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. *// `AD_TYPE_VIDEO`, the setting will be inherited by new line item when// line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.//// Possible values:// "AD_TYPE_UNSPECIFIED" - Ad type is not specified or is unknown in// this version.// "AD_TYPE_DISPLAY" - Display creatives, e.g. image and HTML5.// "AD_TYPE_VIDEO" - Video creatives, e.g. video ads that play during// streaming content in video players.// "AD_TYPE_AUDIO" - Audio creatives, e.g. audio ads that play during// audio content.AdTypestring `json:"adType,omitempty"`// ContentOutstreamPosition: Required. The content outstream position.//// Possible values:// "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED" - Content outstream// position is not specified in this version. This enum is a place// holder for a default value and does not represent a real content// outstream position.// "CONTENT_OUTSTREAM_POSITION_UNKNOWN" - The ad position is unknown// in the content outstream.// "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE" - Ads that appear between// the paragraphs of your pages.// "CONTENT_OUTSTREAM_POSITION_IN_BANNER" - Ads that display on the// top and the sides of a page.// "CONTENT_OUTSTREAM_POSITION_IN_FEED" - Ads that appear in a// scrollable stream of content. A feed is typically editorial (e.g. a// list of articles or news) or listings (e.g. a list of products or// services).// "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" - Ads shown before or// between content loads.ContentOutstreamPositionstring `json:"contentOutstreamPosition,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "AdType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdType") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ContentOutstreamPositionAssignedTargetingOptionDetails: Assignedcontent outstream position targeting option details. This will bepopulated in the content_outstream_position_details field whentargeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.
func (*ContentOutstreamPositionAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ContentOutstreamPositionAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentOutstreamPositionTargetingOptionDetails¶added inv0.23.0
type ContentOutstreamPositionTargetingOptionDetails struct {// ContentOutstreamPosition: Output only. The content outstream// position.//// Possible values:// "CONTENT_OUTSTREAM_POSITION_UNSPECIFIED" - Content outstream// position is not specified in this version. This enum is a place// holder for a default value and does not represent a real content// outstream position.// "CONTENT_OUTSTREAM_POSITION_UNKNOWN" - The ad position is unknown// in the content outstream.// "CONTENT_OUTSTREAM_POSITION_IN_ARTICLE" - Ads that appear between// the paragraphs of your pages.// "CONTENT_OUTSTREAM_POSITION_IN_BANNER" - Ads that display on the// top and the sides of a page.// "CONTENT_OUTSTREAM_POSITION_IN_FEED" - Ads that appear in a// scrollable stream of content. A feed is typically editorial (e.g. a// list of articles or news) or listings (e.g. a list of products or// services).// "CONTENT_OUTSTREAM_POSITION_INTERSTITIAL" - Ads shown before or// between content loads.ContentOutstreamPositionstring `json:"contentOutstreamPosition,omitempty"`// ForceSendFields is a list of field names (e.g.// "ContentOutstreamPosition") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentOutstreamPosition")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ContentOutstreamPositionTargetingOptionDetails: Represents atargetable content outstream position, which could be used by displayand video ads. This will be populated in thecontent_outstream_position_details field when targeting_type is`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`.
func (*ContentOutstreamPositionTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ContentOutstreamPositionTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentStreamTypeAssignedTargetingOptionDetails¶added inv0.74.0
type ContentStreamTypeAssignedTargetingOptionDetails struct {// ContentStreamType: Output only. The content stream type.//// Possible values:// "CONTENT_STREAM_TYPE_UNSPECIFIED" - Content stream type is not// specified in this version. This enum is a place holder for a default// value and does not represent a real content stream type.// "CONTENT_LIVE_STREAM" - The content is being live-streamed.// "CONTENT_ON_DEMAND" - The content is viewed on-demand.ContentStreamTypestring `json:"contentStreamType,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentStreamType")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentStreamType") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ContentStreamTypeAssignedTargetingOptionDetails: Details for contentstream type assigned targeting option. This will be populated in thecontent_stream_type_details field when targeting_type is`TARGETING_TYPE_CONTENT_STREAM_TYPE`. Explicitly targeting alloptions is not supported. Remove all content stream type targetingoptions to achieve this effect.
func (*ContentStreamTypeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.74.0
func (s *ContentStreamTypeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeContentStreamTypeTargetingOptionDetails¶added inv0.74.0
type ContentStreamTypeTargetingOptionDetails struct {// ContentStreamType: Output only. The content stream type.//// Possible values:// "CONTENT_STREAM_TYPE_UNSPECIFIED" - Content stream type is not// specified in this version. This enum is a place holder for a default// value and does not represent a real content stream type.// "CONTENT_LIVE_STREAM" - The content is being live-streamed.// "CONTENT_ON_DEMAND" - The content is viewed on-demand.ContentStreamTypestring `json:"contentStreamType,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentStreamType")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentStreamType") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ContentStreamTypeTargetingOptionDetails: Represents a targetablecontent stream type. This will be populated in thecontent_stream_type_details field when targeting_type is`TARGETING_TYPE_CONTENT_STREAM_TYPE`.
func (*ContentStreamTypeTargetingOptionDetails)MarshalJSON¶added inv0.74.0
func (s *ContentStreamTypeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeConversionCountingConfig¶added inv0.23.0
type ConversionCountingConfig struct {// FloodlightActivityConfigs: The Floodlight activity configs used to// track conversions. The number of conversions counted is the sum of// all of the conversions counted by all of the Floodlight activity IDs// specified in this field.FloodlightActivityConfigs []*TrackingFloodlightActivityConfig `json:"floodlightActivityConfigs,omitempty"`// PostViewCountPercentageMillis: The percentage of post-view// conversions to count, in millis (1/1000 of a percent). Must be// between 0 and 100000 inclusive. For example, to track 50% of the// post-click conversions, set a value of 50000.PostViewCountPercentageMillisint64 `json:"postViewCountPercentageMillis,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "FloodlightActivityConfigs") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "FloodlightActivityConfigs") to include in API requests with the JSON// null value. By default, fields with empty values are omitted from API// requests. However, any field with an empty value appearing in// NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}ConversionCountingConfig: Settings that control how conversions arecounted. All post-click conversions will be counted. A percentagevalue can be set for post-view conversions counting.
func (*ConversionCountingConfig)MarshalJSON¶added inv0.23.0
func (s *ConversionCountingConfig) MarshalJSON() ([]byte,error)
typeCounterEvent¶added inv0.23.0
type CounterEvent struct {// Name: Required. The name of the counter event.Namestring `json:"name,omitempty"`// ReportingName: Required. The name used to identify this counter event// in reports.ReportingNamestring `json:"reportingName,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CounterEvent: Counter event of the creative.
func (*CounterEvent)MarshalJSON¶added inv0.23.0
func (s *CounterEvent) MarshalJSON() ([]byte,error)
typeCreateAssetRequest¶added inv0.23.0
type CreateAssetRequest struct {// Filename: Required. The filename of the asset, including the file// extension. The filename must be UTF-8 encoded with a maximum size of// 240 bytes.Filenamestring `json:"filename,omitempty"`// ForceSendFields is a list of field names (e.g. "Filename") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Filename") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CreateAssetRequest: A request message for CreateAsset.
func (*CreateAssetRequest)MarshalJSON¶added inv0.23.0
func (s *CreateAssetRequest) MarshalJSON() ([]byte,error)
typeCreateAssetResponse¶added inv0.23.0
type CreateAssetResponse struct {// Asset: The uploaded asset, if successful.Asset *Asset `json:"asset,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Asset") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Asset") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CreateAssetResponse: A response message for CreateAsset.
func (*CreateAssetResponse)MarshalJSON¶added inv0.23.0
func (s *CreateAssetResponse) MarshalJSON() ([]byte,error)
typeCreateAssignedTargetingOptionsRequest¶added inv0.23.0
type CreateAssignedTargetingOptionsRequest struct {// AssignedTargetingOptions: Required. The assigned targeting options to// create and add.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// TargetingType: Required. Identifies the type of this assigned// targeting option.//// Possible values:// "TARGETING_TYPE_UNSPECIFIED" - Default value when type is not// specified or is unknown in this version.// "TARGETING_TYPE_CHANNEL" - Target a channel (a custom group of// related websites or apps).// "TARGETING_TYPE_APP_CATEGORY" - Target an app category (for// example, education or puzzle games).// "TARGETING_TYPE_APP" - Target a specific app (for example, Angry// Birds).// "TARGETING_TYPE_URL" - Target a specific url (for example,// quora.com).// "TARGETING_TYPE_DAY_AND_TIME" - Target ads during a chosen time// period on a specific day.// "TARGETING_TYPE_AGE_RANGE" - Target ads to a specific age range// (for example, 18-24).// "TARGETING_TYPE_REGIONAL_LOCATION_LIST" - Target ads to the// specified regions on a regional location list.// "TARGETING_TYPE_PROXIMITY_LOCATION_LIST" - Target ads to the// specified points of interest on a proximity location list.// "TARGETING_TYPE_GENDER" - Target ads to a specific gender (for// example, female or male).// "TARGETING_TYPE_VIDEO_PLAYER_SIZE" - Target a specific video player// size for video ads.// "TARGETING_TYPE_USER_REWARDED_CONTENT" - Target user rewarded// content for video ads.// "TARGETING_TYPE_PARENTAL_STATUS" - Target ads to a specific// parental status (for example, parent or not a parent).// "TARGETING_TYPE_CONTENT_INSTREAM_POSITION" - Target video or audio// ads in a specific content instream position (for example, pre-roll,// mid-roll, or post-roll).// "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION" - Target ads in a// specific content outstream position.// "TARGETING_TYPE_DEVICE_TYPE" - Target ads to a specific device type// (for example, tablet or connected TV).// "TARGETING_TYPE_AUDIENCE_GROUP" - Target ads to an audience or// groups of audiences. Singleton field, at most one can exist on a// single Lineitem at a time.// "TARGETING_TYPE_BROWSER" - Target ads to specific web browsers (for// example, Chrome).// "TARGETING_TYPE_HOUSEHOLD_INCOME" - Target ads to a specific// household income range (for example, top 10%).// "TARGETING_TYPE_ON_SCREEN_POSITION" - Target ads in a specific on// screen position.// "TARGETING_TYPE_THIRD_PARTY_VERIFIER" - Filter web sites through// third party verification (for example, IAS or DoubleVerify).// "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION" - Filter web sites// by specific digital content label ratings (for example, DL-MA:// suitable only for mature audiences).// "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION" - Filter website// content by sensitive categories (for example, adult).// "TARGETING_TYPE_ENVIRONMENT" - Target ads to a specific environment// (for example, web or app).// "TARGETING_TYPE_CARRIER_AND_ISP" - Target ads to a specific network// carrier or internet service provider (ISP) (for example, Comcast or// Orange).// "TARGETING_TYPE_OPERATING_SYSTEM" - Target ads to a specific// operating system (for example, macOS).// "TARGETING_TYPE_DEVICE_MAKE_MODEL" - Target ads to a specific// device make or model (for example, Roku or Samsung).// "TARGETING_TYPE_KEYWORD" - Target ads to a specific keyword (for// example, dog or retriever).// "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST" - Target ads to a specific// negative keyword list.// "TARGETING_TYPE_VIEWABILITY" - Target ads to a specific viewability// (for example, 80% viewable).// "TARGETING_TYPE_CATEGORY" - Target ads to a specific content// category (for example, arts & entertainment).// "TARGETING_TYPE_INVENTORY_SOURCE" - Purchase impressions from// specific deals and auction packages.// "TARGETING_TYPE_LANGUAGE" - Target ads to a specific language (for// example, English or Japanese).// "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS" - Target ads to ads.txt// authorized sellers. If no targeting option of this type is assigned,// the resource uses the "Authorized Direct Sellers and Resellers"// option by default.// "TARGETING_TYPE_GEO_REGION" - Target ads to a specific regional// location (for example, a city or state).// "TARGETING_TYPE_INVENTORY_SOURCE_GROUP" - Purchase impressions from// a group of deals and auction packages.// "TARGETING_TYPE_EXCHANGE" - Purchase impressions from specific// exchanges.// "TARGETING_TYPE_SUB_EXCHANGE" - Purchase impressions from specific// sub-exchanges.// "TARGETING_TYPE_POI" - Target ads around a specific point of// interest, such as a notable building, a street address, or// latitude/longitude coordinates.// "TARGETING_TYPE_BUSINESS_CHAIN" - Target ads around locations of a// business chain within a specific geo region.// "TARGETING_TYPE_CONTENT_DURATION" - Target ads to a specific video// content duration.// "TARGETING_TYPE_CONTENT_STREAM_TYPE" - Target ads to a specific// video content stream type.// "TARGETING_TYPE_NATIVE_CONTENT_POSITION" - Target ads to a specific// native content position.// "TARGETING_TYPE_OMID" - Target ads in an Open Measurement enabled// inventory.// "TARGETING_TYPE_AUDIO_CONTENT_TYPE" - Target ads to a specific// audio content type.// "TARGETING_TYPE_CONTENT_GENRE" - Target ads to a specific content// genre.TargetingTypestring `json:"targetingType,omitempty"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}CreateAssignedTargetingOptionsRequest: A request listing whichassigned targeting options of a given targeting type should becreated and added.
func (*CreateAssignedTargetingOptionsRequest)MarshalJSON¶added inv0.23.0
func (s *CreateAssignedTargetingOptionsRequest) MarshalJSON() ([]byte,error)
typeCreateSdfDownloadTaskRequest¶
type CreateSdfDownloadTaskRequest struct {// AdvertiserId: The ID of the advertiser to download SDF for.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// IdFilter: Filters on entities by their entity IDs.IdFilter *IdFilter `json:"idFilter,omitempty"`// InventorySourceFilter: Filters on Inventory Sources by their IDs.InventorySourceFilter *InventorySourceFilter `json:"inventorySourceFilter,omitempty"`// ParentEntityFilter: Filters on selected file types. The entities in// each file are filtered by a chosen set of filter entities. The filter// entities must be the same type as, or a parent type of, the selected// file types.ParentEntityFilter *ParentEntityFilter `json:"parentEntityFilter,omitempty"`// PartnerId: The ID of the partner to download SDF for.PartnerIdint64 `json:"partnerId,omitempty,string"`// Version: Required. The SDF version of the downloaded file. If set to// `SDF_VERSION_UNSPECIFIED`, this will default to the version specified// by the advertiser or partner identified by `root_id`. An advertiser// inherits its SDF version from its partner unless configured// otherwise.//// Possible values:// "SDF_VERSION_UNSPECIFIED" - SDF version value is not specified or// is unknown in this version.// "SDF_VERSION_3_1" - SDF version 3.1// "SDF_VERSION_4" - SDF version 4// "SDF_VERSION_4_1" - SDF version 4.1// "SDF_VERSION_4_2" - SDF version 4.2// "SDF_VERSION_5" - SDF version 5.// "SDF_VERSION_5_1" - SDF version 5.1// "SDF_VERSION_5_2" - SDF version 5.2// "SDF_VERSION_5_3" - SDF version 5.3// "SDF_VERSION_5_4" - SDF version 5.4// "SDF_VERSION_5_5" - SDF version 5.5// "SDF_VERSION_6" - SDF version 6// "SDF_VERSION_7" - SDF version 7. Read the [v7 migration// guide](/display-video/api/structured-data-file/v7-migration-guide)// before migrating to this version. Currently in beta. Only available// for use by a subset of users.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CreateSdfDownloadTaskRequest: Request message for[SdfDownloadTaskService.CreateSdfDownloadTask].
func (*CreateSdfDownloadTaskRequest)MarshalJSON¶
func (s *CreateSdfDownloadTaskRequest) MarshalJSON() ([]byte,error)
typeCreative¶added inv0.23.0
type Creative struct {// AdditionalDimensions: Additional dimensions. Applicable when// creative_type is one of: * `CREATIVE_TYPE_STANDARD` *// `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_LIGHTBOX` *// `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified,// width_pixels and height_pixels are both required and must be greater// than or equal to 0.AdditionalDimensions []*Dimensions `json:"additionalDimensions,omitempty"`// AdvertiserId: Output only. The unique ID of the advertiser the// creative belongs to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// AppendedTag: Third-party HTML tracking tag to be appended to the// creative tag.AppendedTagstring `json:"appendedTag,omitempty"`// Assets: Required. Assets associated to this creative.Assets []*AssetAssociation `json:"assets,omitempty"`// CmPlacementId: Output only. The unique ID of the Campaign Manager 360// placement associated with the creative. This field is only applicable// for creatives that are synced from Campaign Manager.CmPlacementIdint64 `json:"cmPlacementId,omitempty,string"`// CmTrackingAd: The Campaign Manager 360 tracking ad associated with// the creative. Optional for the following creative_type when created// by an advertiser that uses both Campaign Manager 360 and third-party// ad serving: * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases.CmTrackingAd *CmTrackingAd `json:"cmTrackingAd,omitempty"`// CompanionCreativeIds: The IDs of companion creatives for a video// creative. You can assign existing display creatives (with image or// HTML5 assets) to serve surrounding the publisher's video player.// Companions display around the video player while the video is playing// and remain after the video has completed. Creatives contain// additional dimensions can not be companion creatives. This field is// only supported for following creative_type: * `CREATIVE_TYPE_AUDIO` *// `CREATIVE_TYPE_VIDEO`CompanionCreativeIdsgoogleapi.Int64s `json:"companionCreativeIds,omitempty"`// CounterEvents: Counter events for a rich media creative. Counters// track the number of times that a user interacts with any part of a// rich media creative in a specified way (mouse-overs, mouse-outs,// clicks, taps, data loading, keyboard entries, etc.). Any event that// can be captured in the creative can be recorded as a counter. Leave// it empty or unset for creatives containing image assets only.CounterEvents []*CounterEvent `json:"counterEvents,omitempty"`// CreateTime: Output only. The timestamp when the creative was created.// Assigned by the system.CreateTimestring `json:"createTime,omitempty"`// CreativeAttributes: Output only. A list of attributes of the creative// that is generated by the system.//// Possible values:// "CREATIVE_ATTRIBUTE_UNSPECIFIED" - The creative attribute is not// specified or is unknown in this version.// "CREATIVE_ATTRIBUTE_VAST" - The creative is a VAST creative.// "CREATIVE_ATTRIBUTE_VPAID_LINEAR" - The creative is a linear VPAID// creative.// "CREATIVE_ATTRIBUTE_VPAID_NON_LINEAR" - The creative is a// non-linear VPAID creative.CreativeAttributes []string `json:"creativeAttributes,omitempty"`// CreativeId: Output only. The unique ID of the creative. Assigned by// the system.CreativeIdint64 `json:"creativeId,omitempty,string"`// CreativeType: Required. Immutable. The type of the creative.//// Possible values:// "CREATIVE_TYPE_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "CREATIVE_TYPE_STANDARD" - Standard display creative. Create and// update methods are supported for this creative type if the// hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` *// `HOSTING_SOURCE_THIRD_PARTY`// "CREATIVE_TYPE_EXPANDABLE" - Expandable creative. Create and update// methods are supported for this creative type if the hosting_source is// `HOSTING_SOURCE_THIRD_PARTY`// "CREATIVE_TYPE_VIDEO" - Video creative. Create and update methods// are supported for this creative type if the hosting_source is one of// the following: * `HOSTING_SOURCE_HOSTED` *// `HOSTING_SOURCE_THIRD_PARTY`// "CREATIVE_TYPE_NATIVE" - Native creative rendered by publishers// with assets from advertiser. Create and update methods are supported// for this creative type if the hosting_source is// `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_TEMPLATED_APP_INSTALL" - Templated app install// mobile creative (banner). Create and update methods are **not**// supported for this creative type.// "CREATIVE_TYPE_NATIVE_SITE_SQUARE" - Square native creative. Create// and update methods are supported for this creative type if the// hosting_source is `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL" - Interstitial// creative including both display and video. Create and update methods// are **not** supported for this creative type.// "CREATIVE_TYPE_LIGHTBOX" - Responsive and expandable Lightbox// creative. Create and update methods are **not** supported for this// creative type.// "CREATIVE_TYPE_NATIVE_APP_INSTALL" - Native app install creative.// Create and update methods are **not** supported for this creative// type.// "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE" - Square native app// install creative. Create and update methods are **not** supported for// this creative type.// "CREATIVE_TYPE_AUDIO" - Audio creative. Create and update methods// are supported for this creative type if the hosting_source is// `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_PUBLISHER_HOSTED" - Publisher hosted creative.// Create and update methods are **not** supported for this creative// type.// "CREATIVE_TYPE_NATIVE_VIDEO" - Native video creative. Create and// update methods are supported for this creative type if the// hosting_source is `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO" - Templated app install// mobile video creative. Create and update methods are **not**// supported for this creative type.CreativeTypestring `json:"creativeType,omitempty"`// Dimensions: Required. Primary dimensions of the creative. Applicable// to all creative types. The value of width_pixels and height_pixels// defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO`// * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO`Dimensions *Dimensions `json:"dimensions,omitempty"`// DisplayName: Required. The display name of the creative. Must be// UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// Dynamic: Output only. Indicates whether the creative is dynamic.Dynamicbool `json:"dynamic,omitempty"`// EntityStatus: Required. Controls whether or not the creative can// serve. Accepted values are: * `ENTITY_STATUS_ACTIVE` *// `ENTITY_STATUS_ARCHIVED` * `ENTITY_STATUS_PAUSED`//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// ExitEvents: Required. Exit events for this creative. An exit (also// known as a click tag) is any area in your creative that someone can// click or tap to open an advertiser's landing page. Every creative// must include at least one exit. You can add an exit to your creative// in any of the following ways: * Use Google Web Designer's tap area. *// Define a JavaScript variable called "clickTag". * Use the Enabler// (Enabler.exit()) to track exits in rich media formats.ExitEvents []*ExitEvent `json:"exitEvents,omitempty"`// ExpandOnHover: Optional. Indicates the creative will automatically// expand on hover. Optional and only valid for third-party expandable// creatives. Third-party expandable creatives are creatives with// following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined// with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`ExpandOnHoverbool `json:"expandOnHover,omitempty"`// ExpandingDirection: Optional. Specifies the expanding direction of// the creative. Required and only valid for third-party expandable// creatives. Third-party expandable creatives are creatives with// following hosting source: * `HOSTING_SOURCE_THIRD_PARTY` combined// with following creative_type: * `CREATIVE_TYPE_EXPANDABLE`//// Possible values:// "EXPANDING_DIRECTION_UNSPECIFIED" - The expanding direction is not// specified.// "EXPANDING_DIRECTION_NONE" - Does not expand in any direction.// "EXPANDING_DIRECTION_UP" - Expands up.// "EXPANDING_DIRECTION_DOWN" - Expands down.// "EXPANDING_DIRECTION_LEFT" - Expands left.// "EXPANDING_DIRECTION_RIGHT" - Expands right.// "EXPANDING_DIRECTION_UP_AND_LEFT" - Expands up and to the left// side.// "EXPANDING_DIRECTION_UP_AND_RIGHT" - Expands up and to the right// side.// "EXPANDING_DIRECTION_DOWN_AND_LEFT" - Expands down and to the left// side.// "EXPANDING_DIRECTION_DOWN_AND_RIGHT" - Expands down and to the// right side.// "EXPANDING_DIRECTION_UP_OR_DOWN" - Expands either up or down.// "EXPANDING_DIRECTION_LEFT_OR_RIGHT" - Expands to either the left or// the right side.// "EXPANDING_DIRECTION_ANY_DIAGONAL" - Can expand in any diagonal// direction.ExpandingDirectionstring `json:"expandingDirection,omitempty"`// HostingSource: Required. Indicates where the creative is hosted.//// Possible values:// "HOSTING_SOURCE_UNSPECIFIED" - Hosting source is not specified or// is unknown in this version.// "HOSTING_SOURCE_CM" - A creative synced from Campaign Manager 360.// Create and update methods are **not** supported for this hosting// type.// "HOSTING_SOURCE_THIRD_PARTY" - A creative hosted by a third-party// ad server (3PAS). Create and update methods are supported for this// hosting type if the creative_type is one of the following: *// `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_EXPANDABLE` *// `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`// "HOSTING_SOURCE_HOSTED" - A creative created in DV360 and hosted by// Campaign Manager 360. Create and update methods are supported for// this hosting type if the creative_type is one of the following: *// `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` *// `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`// "HOSTING_SOURCE_RICH_MEDIA" - A rich media creative created in// Studio and hosted by Campaign Manager 360. Create and update methods// are **not** supported for this hosting type.HostingSourcestring `json:"hostingSource,omitempty"`// Html5Video: Output only. Indicates the third-party VAST tag creative// requires HTML5 Video support. Output only and only valid for// third-party VAST tag creatives. Third-party VAST tag creatives are// creatives with following hosting_source: *// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: *// `CREATIVE_TYPE_VIDEO`Html5Videobool `json:"html5Video,omitempty"`// IasCampaignMonitoring: Indicates whether Integral Ad Science (IAS)// campaign monitoring is enabled. To enable this for the creative, make// sure the Advertiser.creative_config.ias_client_id has been set to// your IAS client ID.IasCampaignMonitoringbool `json:"iasCampaignMonitoring,omitempty"`// IntegrationCode: ID information used to link this creative to an// external system. Must be UTF-8 encoded with a length of no more than// 10,000 characters.IntegrationCodestring `json:"integrationCode,omitempty"`// JsTrackerUrl: JavaScript measurement URL from supported third-party// verification providers (ComScore, DoubleVerify, IAS, Moat). HTML// script tags are not supported. This field is only writeable in// following creative_type: * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`JsTrackerUrlstring `json:"jsTrackerUrl,omitempty"`// LineItemIds: Output only. The IDs of the line items this creative is// associated with. To associate a creative to a line item, use// LineItem.creative_ids instead.LineItemIdsgoogleapi.Int64s `json:"lineItemIds,omitempty"`// MediaDuration: Output only. Media duration of the creative.// Applicable when creative_type is one of: * `CREATIVE_TYPE_VIDEO` *// `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` *// `CREATIVE_TYPE_PUBLISHER_HOSTED`MediaDurationstring `json:"mediaDuration,omitempty"`// Mp3Audio: Output only. Indicates the third-party audio creative// supports MP3. Output only and only valid for third-party audio// creatives. Third-party audio creatives are creatives with following// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with// following creative_type: * `CREATIVE_TYPE_AUDIO`Mp3Audiobool `json:"mp3Audio,omitempty"`// Name: Output only. The resource name of the creative.Namestring `json:"name,omitempty"`// Notes: User notes for this creative. Must be UTF-8 encoded with a// length of no more than 20,000 characters.Notesstring `json:"notes,omitempty"`// ObaIcon: Specifies the OBA icon for a video creative. This field is// only supported in following creative_type: * `CREATIVE_TYPE_VIDEO`ObaIcon *ObaIcon `json:"obaIcon,omitempty"`// OggAudio: Output only. Indicates the third-party audio creative// supports OGG. Output only and only valid for third-party audio// creatives. Third-party audio creatives are creatives with following// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with// following creative_type: * `CREATIVE_TYPE_AUDIO`OggAudiobool `json:"oggAudio,omitempty"`// ProgressOffset: Amount of time to play the video before counting a// view. This field is required when skippable is true. This field is// only supported for the following creative_type: *// `CREATIVE_TYPE_VIDEO`ProgressOffset *AudioVideoOffset `json:"progressOffset,omitempty"`// RequireHtml5: Optional. Indicates that the creative relies on HTML5// to render properly. Optional and only valid for third-party tag// creatives. Third-party tag creatives are creatives with following// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with// following creative_type: * `CREATIVE_TYPE_STANDARD` *// `CREATIVE_TYPE_EXPANDABLE`RequireHtml5bool `json:"requireHtml5,omitempty"`// RequireMraid: Optional. Indicates that the creative requires MRAID// (Mobile Rich Media Ad Interface Definitions system). Set this if the// creative relies on mobile gestures for interactivity, such as swiping// or tapping. Optional and only valid for third-party tag creatives.// Third-party tag creatives are creatives with following// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with// following creative_type: * `CREATIVE_TYPE_STANDARD` *// `CREATIVE_TYPE_EXPANDABLE`RequireMraidbool `json:"requireMraid,omitempty"`// RequirePingForAttribution: Optional. Indicates that the creative will// wait for a return ping for attribution. Only valid when using a// Campaign Manager 360 tracking ad with a third-party ad server// parameter and the ${DC_DBM_TOKEN} macro. Optional and only valid for// third-party tag creatives or third-party VAST tag creatives.// Third-party tag creatives are creatives with following// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with// following creative_type: * `CREATIVE_TYPE_STANDARD` *// `CREATIVE_TYPE_EXPANDABLE` Third-party VAST tag creatives are// creatives with following hosting_source: *// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: *// `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO`RequirePingForAttributionbool `json:"requirePingForAttribution,omitempty"`// ReviewStatus: Output only. The current status of the creative review// process.ReviewStatus *ReviewStatusInfo `json:"reviewStatus,omitempty"`// SkipOffset: Amount of time to play the video before the skip button// appears. This field is required when skippable is true. This field is// only supported for the following creative_type: *// `CREATIVE_TYPE_VIDEO`SkipOffset *AudioVideoOffset `json:"skipOffset,omitempty"`// Skippable: Whether the user can choose to skip a video creative. This// field is only supported for the following creative_type: *// `CREATIVE_TYPE_VIDEO`Skippablebool `json:"skippable,omitempty"`// ThirdPartyTag: Optional. The original third-party tag used for the// creative. Required and only valid for third-party tag creatives.// Third-party tag creatives are creatives with following// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with// following creative_type: * `CREATIVE_TYPE_STANDARD` *// `CREATIVE_TYPE_EXPANDABLE`ThirdPartyTagstring `json:"thirdPartyTag,omitempty"`// ThirdPartyUrls: Tracking URLs from third parties to track// interactions with a video creative. This field is only supported for// the following creative_type: * `CREATIVE_TYPE_AUDIO` *// `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO`ThirdPartyUrls []*ThirdPartyUrl `json:"thirdPartyUrls,omitempty"`// TimerEvents: Timer custom events for a rich media creative. Timers// track the time during which a user views and interacts with a// specified part of a rich media creative. A creative can have multiple// timer events, each timed independently. Leave it empty or unset for// creatives containing image assets only.TimerEvents []*TimerEvent `json:"timerEvents,omitempty"`// TrackerUrls: Tracking URLs for analytics providers or third-party ad// technology vendors. The URLs must start with https (except on// inventory that doesn't require SSL compliance). If using macros in// your URL, use only macros supported by Display & Video 360. Standard// URLs only, no IMG or SCRIPT tags. This field is only writeable in// following creative_type: * `CREATIVE_TYPE_NATIVE` *// `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO`TrackerUrls []string `json:"trackerUrls,omitempty"`// Transcodes: Output only. Audio/Video transcodes. Display & Video 360// transcodes the main asset into a number of alternative versions that// use different file formats or have different properties (resolution,// audio bit rate, and video bit rate), each designed for specific video// players or bandwidths. These transcodes give a publisher's system// more options to choose from for each impression on your video and// ensures that the appropriate file serves based on the viewer’s// connection and screen size. This field is only supported in following// creative_type: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO`// * `CREATIVE_TYPE_AUDIO`Transcodes []*Transcode `json:"transcodes,omitempty"`// UniversalAdId: Optional. An optional creative identifier provided by// a registry that is unique across all platforms. Universal Ad ID is// part of the VAST 4.0 standard. It can be modified after the creative// is created. This field is only supported for the following// creative_type: * `CREATIVE_TYPE_VIDEO`UniversalAdId *UniversalAdId `json:"universalAdId,omitempty"`// UpdateTime: Output only. The timestamp when the creative was last// updated, either by the user or system (e.g. creative review).// Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// VastTagUrl: Optional. The URL of the VAST tag for a third-party VAST// tag creative. Required and only valid for third-party VAST tag// creatives. Third-party VAST tag creatives are creatives with// following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined// with following creative_type: * `CREATIVE_TYPE_AUDIO` *// `CREATIVE_TYPE_VIDEO`VastTagUrlstring `json:"vastTagUrl,omitempty"`// Vpaid: Output only. Indicates the third-party VAST tag creative// requires VPAID (Digital Video Player-Ad Interface). Output only and// only valid for third-party VAST tag creatives. Third-party VAST tag// creatives are creatives with following hosting_source: *// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: *// `CREATIVE_TYPE_VIDEO`Vpaidbool `json:"vpaid,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AdditionalDimensions") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdditionalDimensions") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Creative: A single Creative.
func (*Creative)MarshalJSON¶added inv0.23.0
typeCreativeConfig¶added inv0.23.0
type CreativeConfig struct {// CreativeType: The type of creative that can be assigned to the// inventory source. Only the following types are supported: *// `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO`//// Possible values:// "CREATIVE_TYPE_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "CREATIVE_TYPE_STANDARD" - Standard display creative. Create and// update methods are supported for this creative type if the// hosting_source is one of the following: * `HOSTING_SOURCE_HOSTED` *// `HOSTING_SOURCE_THIRD_PARTY`// "CREATIVE_TYPE_EXPANDABLE" - Expandable creative. Create and update// methods are supported for this creative type if the hosting_source is// `HOSTING_SOURCE_THIRD_PARTY`// "CREATIVE_TYPE_VIDEO" - Video creative. Create and update methods// are supported for this creative type if the hosting_source is one of// the following: * `HOSTING_SOURCE_HOSTED` *// `HOSTING_SOURCE_THIRD_PARTY`// "CREATIVE_TYPE_NATIVE" - Native creative rendered by publishers// with assets from advertiser. Create and update methods are supported// for this creative type if the hosting_source is// `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_TEMPLATED_APP_INSTALL" - Templated app install// mobile creative (banner). Create and update methods are **not**// supported for this creative type.// "CREATIVE_TYPE_NATIVE_SITE_SQUARE" - Square native creative. Create// and update methods are supported for this creative type if the// hosting_source is `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_INTERSTITIAL" - Interstitial// creative including both display and video. Create and update methods// are **not** supported for this creative type.// "CREATIVE_TYPE_LIGHTBOX" - Responsive and expandable Lightbox// creative. Create and update methods are **not** supported for this// creative type.// "CREATIVE_TYPE_NATIVE_APP_INSTALL" - Native app install creative.// Create and update methods are **not** supported for this creative// type.// "CREATIVE_TYPE_NATIVE_APP_INSTALL_SQUARE" - Square native app// install creative. Create and update methods are **not** supported for// this creative type.// "CREATIVE_TYPE_AUDIO" - Audio creative. Create and update methods// are supported for this creative type if the hosting_source is// `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_PUBLISHER_HOSTED" - Publisher hosted creative.// Create and update methods are **not** supported for this creative// type.// "CREATIVE_TYPE_NATIVE_VIDEO" - Native video creative. Create and// update methods are supported for this creative type if the// hosting_source is `HOSTING_SOURCE_HOSTED`// "CREATIVE_TYPE_TEMPLATED_APP_INSTALL_VIDEO" - Templated app install// mobile video creative. Create and update methods are **not**// supported for this creative type.CreativeTypestring `json:"creativeType,omitempty"`// DisplayCreativeConfig: The configuration for display creatives.// Applicable when creative_type is `CREATIVE_TYPE_STANDARD`.DisplayCreativeConfig *InventorySourceDisplayCreativeConfig `json:"displayCreativeConfig,omitempty"`// VideoCreativeConfig: The configuration for video creatives.// Applicable when creative_type is `CREATIVE_TYPE_VIDEO`.VideoCreativeConfig *InventorySourceVideoCreativeConfig `json:"videoCreativeConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "CreativeType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreativeType") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CreativeConfig: Creative requirements configuration for the inventorysource.
func (*CreativeConfig)MarshalJSON¶added inv0.23.0
func (s *CreativeConfig) MarshalJSON() ([]byte,error)
typeCustomBiddingAlgorithm¶added inv0.30.0
type CustomBiddingAlgorithm struct {// AdvertiserId: Immutable. The unique ID of the advertiser that owns// the custom bidding algorithm.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// CustomBiddingAlgorithmId: Output only. The unique ID of the custom// bidding algorithm. Assigned by the system.CustomBiddingAlgorithmIdint64 `json:"customBiddingAlgorithmId,omitempty,string"`// CustomBiddingAlgorithmState: Output only. The status of custom// bidding algorithm.//// Possible values:// "STATE_UNSPECIFIED" - State is not specified or is unknown in this// version.// "ENABLED" - Algorithm is enabled, either recently used, currently// used or scheduled to be used. The algorithm is actively scoring// impressions.// "DORMANT" - Algorithm has not been used recently. Although the// algorithm still acts as `ENABLED`, it will eventually be suspended if// not used.// "SUSPENDED" - Algorithm is susepended from scoring impressions and// doesn't have a serving model trained. If the algorithm is assigned to// a line item or otherwise updated, it will switch back to the// `ENABLED` state and require time to prepare the serving model again.CustomBiddingAlgorithmStatestring `json:"customBiddingAlgorithmState,omitempty"`// CustomBiddingAlgorithmType: Required. Immutable. The type of custom// bidding algorithm.//// Possible values:// "CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED" - Algorithm type is not// specified or is unknown in this version.// "SCRIPT_BASED" - Algorithm generated through customer-uploaded// custom bidding script files.// "ADS_DATA_HUB_BASED" - Algorithm created through Ads Data Hub// product.// "GOAL_BUILDER_BASED" - Algorithm created through goal builder in// DV3 UI.CustomBiddingAlgorithmTypestring `json:"customBiddingAlgorithmType,omitempty"`// DisplayName: Required. The display name of the custom bidding// algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// EntityStatus: Controls whether or not the custom bidding algorithm// can be used as a bidding strategy. Accepted values are: *// `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED`//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// ModelReadiness: Output only. The state of custom bidding model// readiness for each advertiser who has access. This field may only// include the state of the queried advertiser if the algorithm `owner`// (/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBi// ddingAlgorithm.FIELDS.oneof_owner) is a partner and is being// retrieved using an advertiser `accessor`// (/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#bod// y.QUERY_PARAMETERS.oneof_accessor).ModelReadiness []*CustomBiddingModelReadinessState `json:"modelReadiness,omitempty"`// Name: Output only. The resource name of the custom bidding algorithm.Namestring `json:"name,omitempty"`// PartnerId: Immutable. The unique ID of the partner that owns the// custom bidding algorithm.PartnerIdint64 `json:"partnerId,omitempty,string"`// SharedAdvertiserIds: The IDs of the advertisers who have access to// this algorithm. If advertiser_id is set, this field will only consist// of that value. This field will not be set if the algorithm `owner`// (/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBi// ddingAlgorithm.FIELDS.oneof_owner) is a partner and is being// retrieved using an advertiser `accessor`// (/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#bod// y.QUERY_PARAMETERS.oneof_accessor).SharedAdvertiserIdsgoogleapi.Int64s `json:"sharedAdvertiserIds,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CustomBiddingAlgorithm: A single custom bidding algorithm.
func (*CustomBiddingAlgorithm)MarshalJSON¶added inv0.30.0
func (s *CustomBiddingAlgorithm) MarshalJSON() ([]byte,error)
typeCustomBiddingAlgorithmsCreateCall¶added inv0.55.0
type CustomBiddingAlgorithmsCreateCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsCreateCall)Context¶added inv0.55.0
func (c *CustomBiddingAlgorithmsCreateCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsCreateCall)Do¶added inv0.55.0
func (c *CustomBiddingAlgorithmsCreateCall) Do(opts ...googleapi.CallOption) (*CustomBiddingAlgorithm,error)
Do executes the "displayvideo.customBiddingAlgorithms.create" call.Exactly one of *CustomBiddingAlgorithm or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CustomBiddingAlgorithm.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomBiddingAlgorithmsCreateCall)Fields¶added inv0.55.0
func (c *CustomBiddingAlgorithmsCreateCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsCreateCall)Header¶added inv0.55.0
func (c *CustomBiddingAlgorithmsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeCustomBiddingAlgorithmsGetCall¶added inv0.30.0
type CustomBiddingAlgorithmsGetCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsGetCall)AdvertiserId¶added inv0.30.0
func (c *CustomBiddingAlgorithmsGetCall) AdvertiserId(advertiserIdint64) *CustomBiddingAlgorithmsGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe DV360 partner that has access to the custom bidding algorithm.
func (*CustomBiddingAlgorithmsGetCall)Context¶added inv0.30.0
func (c *CustomBiddingAlgorithmsGetCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsGetCall)Do¶added inv0.30.0
func (c *CustomBiddingAlgorithmsGetCall) Do(opts ...googleapi.CallOption) (*CustomBiddingAlgorithm,error)
Do executes the "displayvideo.customBiddingAlgorithms.get" call.Exactly one of *CustomBiddingAlgorithm or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CustomBiddingAlgorithm.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomBiddingAlgorithmsGetCall)Fields¶added inv0.30.0
func (c *CustomBiddingAlgorithmsGetCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsGetCall)Header¶added inv0.30.0
func (c *CustomBiddingAlgorithmsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomBiddingAlgorithmsGetCall)IfNoneMatch¶added inv0.30.0
func (c *CustomBiddingAlgorithmsGetCall) IfNoneMatch(entityTagstring) *CustomBiddingAlgorithmsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CustomBiddingAlgorithmsGetCall)PartnerId¶added inv0.30.0
func (c *CustomBiddingAlgorithmsGetCall) PartnerId(partnerIdint64) *CustomBiddingAlgorithmsGetCall
PartnerId sets the optional parameter "partnerId": The ID of theDV360 partner that has access to the custom bidding algorithm.
typeCustomBiddingAlgorithmsListCall¶added inv0.30.0
type CustomBiddingAlgorithmsListCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsListCall)AdvertiserId¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) AdvertiserId(advertiserIdint64) *CustomBiddingAlgorithmsListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe DV360 advertiser that has access to the custom bidding algorithm.
func (*CustomBiddingAlgorithmsListCall)Context¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsListCall)Do¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) Do(opts ...googleapi.CallOption) (*ListCustomBiddingAlgorithmsResponse,error)
Do executes the "displayvideo.customBiddingAlgorithms.list" call.Exactly one of *ListCustomBiddingAlgorithmsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListCustomBiddingAlgorithmsResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*CustomBiddingAlgorithmsListCall)Fields¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsListCall)Filter¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) Filter(filterstring) *CustomBiddingAlgorithmsListCall
Filter sets the optional parameter "filter": Allows filtering bycustom bidding algorithm fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by `AND`. A sequence of restrictions implicitly uses`AND`. * A restriction has the form of `{field} {operator} {value}`.* The `customBiddingAlgorithmType` field must use the `EQUALS (=)`operator. * The `displayName` field must use the `HAS (:)` operator.Supported fields: * `customBiddingAlgorithmType` * `displayName`Examples: * All custom bidding algorithms for which the display namecontains "politics": `displayName:"politics". * All custom biddingalgorithms for which the type is "SCRIPT_BASED":`customBiddingAlgorithmType=SCRIPT_BASED` The length of this fieldshould be no more than 500 characters. Reference our filter `LIST`requests (/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*CustomBiddingAlgorithmsListCall)Header¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomBiddingAlgorithmsListCall)IfNoneMatch¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) IfNoneMatch(entityTagstring) *CustomBiddingAlgorithmsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CustomBiddingAlgorithmsListCall)OrderBy¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) OrderBy(orderBystring) *CustomBiddingAlgorithmsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Example:`displayName desc`.
func (*CustomBiddingAlgorithmsListCall)PageSize¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) PageSize(pageSizeint64) *CustomBiddingAlgorithmsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*CustomBiddingAlgorithmsListCall)PageToken¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) PageToken(pageTokenstring) *CustomBiddingAlgorithmsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListCustomBiddingAlgorithms` method. If not specified, the firstpage of results will be returned.
func (*CustomBiddingAlgorithmsListCall)Pages¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) Pages(ctxcontext.Context, f func(*ListCustomBiddingAlgorithmsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*CustomBiddingAlgorithmsListCall)PartnerId¶added inv0.30.0
func (c *CustomBiddingAlgorithmsListCall) PartnerId(partnerIdint64) *CustomBiddingAlgorithmsListCall
PartnerId sets the optional parameter "partnerId": The ID of theDV360 partner that has access to the custom bidding algorithm.
typeCustomBiddingAlgorithmsPatchCall¶added inv0.55.0
type CustomBiddingAlgorithmsPatchCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsPatchCall)Context¶added inv0.55.0
func (c *CustomBiddingAlgorithmsPatchCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsPatchCall)Do¶added inv0.55.0
func (c *CustomBiddingAlgorithmsPatchCall) Do(opts ...googleapi.CallOption) (*CustomBiddingAlgorithm,error)
Do executes the "displayvideo.customBiddingAlgorithms.patch" call.Exactly one of *CustomBiddingAlgorithm or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CustomBiddingAlgorithm.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomBiddingAlgorithmsPatchCall)Fields¶added inv0.55.0
func (c *CustomBiddingAlgorithmsPatchCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsPatchCall)Header¶added inv0.55.0
func (c *CustomBiddingAlgorithmsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomBiddingAlgorithmsPatchCall)UpdateMask¶added inv0.55.0
func (c *CustomBiddingAlgorithmsPatchCall) UpdateMask(updateMaskstring) *CustomBiddingAlgorithmsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeCustomBiddingAlgorithmsScriptsCreateCall¶added inv0.60.0
type CustomBiddingAlgorithmsScriptsCreateCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsScriptsCreateCall)AdvertiserId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsCreateCall) AdvertiserId(advertiserIdint64) *CustomBiddingAlgorithmsScriptsCreateCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent custom bidding algorithm.
func (*CustomBiddingAlgorithmsScriptsCreateCall)Context¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsCreateCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsScriptsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsScriptsCreateCall)Do¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsCreateCall) Do(opts ...googleapi.CallOption) (*CustomBiddingScript,error)
Do executes the "displayvideo.customBiddingAlgorithms.scripts.create" call.Exactly one of *CustomBiddingScript or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CustomBiddingScript.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomBiddingAlgorithmsScriptsCreateCall)Fields¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsCreateCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsScriptsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsScriptsCreateCall)Header¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomBiddingAlgorithmsScriptsCreateCall)PartnerId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsCreateCall) PartnerId(partnerIdint64) *CustomBiddingAlgorithmsScriptsCreateCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent custom bidding algorithm. Only thispartner will have write access to this custom bidding script.
typeCustomBiddingAlgorithmsScriptsGetCall¶added inv0.60.0
type CustomBiddingAlgorithmsScriptsGetCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsScriptsGetCall)AdvertiserId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsGetCall) AdvertiserId(advertiserIdint64) *CustomBiddingAlgorithmsScriptsGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent custom bidding algorithm.
func (*CustomBiddingAlgorithmsScriptsGetCall)Context¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsGetCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsScriptsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsScriptsGetCall)Do¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsGetCall) Do(opts ...googleapi.CallOption) (*CustomBiddingScript,error)
Do executes the "displayvideo.customBiddingAlgorithms.scripts.get" call.Exactly one of *CustomBiddingScript or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CustomBiddingScript.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomBiddingAlgorithmsScriptsGetCall)Fields¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsGetCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsScriptsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsScriptsGetCall)Header¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomBiddingAlgorithmsScriptsGetCall)IfNoneMatch¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsGetCall) IfNoneMatch(entityTagstring) *CustomBiddingAlgorithmsScriptsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CustomBiddingAlgorithmsScriptsGetCall)PartnerId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsGetCall) PartnerId(partnerIdint64) *CustomBiddingAlgorithmsScriptsGetCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent custom bidding algorithm. Only thispartner will have write access to this custom bidding script.
typeCustomBiddingAlgorithmsScriptsListCall¶added inv0.60.0
type CustomBiddingAlgorithmsScriptsListCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsScriptsListCall)AdvertiserId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) AdvertiserId(advertiserIdint64) *CustomBiddingAlgorithmsScriptsListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent custom bidding algorithm.
func (*CustomBiddingAlgorithmsScriptsListCall)Context¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsScriptsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsScriptsListCall)Do¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) Do(opts ...googleapi.CallOption) (*ListCustomBiddingScriptsResponse,error)
Do executes the "displayvideo.customBiddingAlgorithms.scripts.list" call.Exactly one of *ListCustomBiddingScriptsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListCustomBiddingScriptsResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomBiddingAlgorithmsScriptsListCall)Fields¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsScriptsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsScriptsListCall)Header¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomBiddingAlgorithmsScriptsListCall)IfNoneMatch¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) IfNoneMatch(entityTagstring) *CustomBiddingAlgorithmsScriptsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CustomBiddingAlgorithmsScriptsListCall)OrderBy¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) OrderBy(orderBystring) *CustomBiddingAlgorithmsScriptsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `createTime desc` (default) Thedefault sorting order is descending. To specify ascending order for afield, the suffix "desc" should be removed. Example: `createTime`.
func (*CustomBiddingAlgorithmsScriptsListCall)PageSize¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) PageSize(pageSizeint64) *CustomBiddingAlgorithmsScriptsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*CustomBiddingAlgorithmsScriptsListCall)PageToken¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) PageToken(pageTokenstring) *CustomBiddingAlgorithmsScriptsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListCustomBiddingScripts` method. If not specified, the firstpage of results will be returned.
func (*CustomBiddingAlgorithmsScriptsListCall)Pages¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) Pages(ctxcontext.Context, f func(*ListCustomBiddingScriptsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*CustomBiddingAlgorithmsScriptsListCall)PartnerId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsScriptsListCall) PartnerId(partnerIdint64) *CustomBiddingAlgorithmsScriptsListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent custom bidding algorithm. Only thispartner will have write access to this custom bidding script.
typeCustomBiddingAlgorithmsScriptsService¶added inv0.60.0
type CustomBiddingAlgorithmsScriptsService struct {// contains filtered or unexported fields}funcNewCustomBiddingAlgorithmsScriptsService¶added inv0.60.0
func NewCustomBiddingAlgorithmsScriptsService(s *Service) *CustomBiddingAlgorithmsScriptsService
func (*CustomBiddingAlgorithmsScriptsService)Create¶added inv0.60.0
func (r *CustomBiddingAlgorithmsScriptsService) Create(customBiddingAlgorithmIdint64, custombiddingscript *CustomBiddingScript) *CustomBiddingAlgorithmsScriptsCreateCall
Create: Creates a new custom bidding script. Returns the newlycreated script if successful.
- customBiddingAlgorithmId: The ID of the custom bidding algorithmthat owns the script.
func (*CustomBiddingAlgorithmsScriptsService)Get¶added inv0.60.0
func (r *CustomBiddingAlgorithmsScriptsService) Get(customBiddingAlgorithmIdint64, customBiddingScriptIdint64) *CustomBiddingAlgorithmsScriptsGetCall
Get: Gets a custom bidding script.
- customBiddingAlgorithmId: The ID of the custom bidding algorithmowns the script.
- customBiddingScriptId: The ID of the custom bidding script tofetch.
func (*CustomBiddingAlgorithmsScriptsService)List¶added inv0.60.0
func (r *CustomBiddingAlgorithmsScriptsService) List(customBiddingAlgorithmIdint64) *CustomBiddingAlgorithmsScriptsListCall
List: Lists custom bidding scripts that belong to the givenalgorithm. The order is defined by the order_by parameter.
- customBiddingAlgorithmId: The ID of the custom bidding algorithmowns the script.
typeCustomBiddingAlgorithmsService¶added inv0.30.0
type CustomBiddingAlgorithmsService struct {Scripts *CustomBiddingAlgorithmsScriptsService// contains filtered or unexported fields}funcNewCustomBiddingAlgorithmsService¶added inv0.30.0
func NewCustomBiddingAlgorithmsService(s *Service) *CustomBiddingAlgorithmsService
func (*CustomBiddingAlgorithmsService)Create¶added inv0.55.0
func (r *CustomBiddingAlgorithmsService) Create(custombiddingalgorithm *CustomBiddingAlgorithm) *CustomBiddingAlgorithmsCreateCall
Create: Creates a new custom bidding algorithm. Returns the newlycreated custom bidding algorithm if successful.
func (*CustomBiddingAlgorithmsService)Get¶added inv0.30.0
func (r *CustomBiddingAlgorithmsService) Get(customBiddingAlgorithmIdint64) *CustomBiddingAlgorithmsGetCall
Get: Gets a custom bidding algorithm.
- customBiddingAlgorithmId: The ID of the custom bidding algorithm tofetch.
func (*CustomBiddingAlgorithmsService)List¶added inv0.30.0
func (r *CustomBiddingAlgorithmsService) List() *CustomBiddingAlgorithmsListCall
List: Lists custom bidding algorithms that are accessible to thecurrent user and can be used in bidding stratgies. The order isdefined by the order_by parameter.
func (*CustomBiddingAlgorithmsService)Patch¶added inv0.55.0
func (r *CustomBiddingAlgorithmsService) Patch(customBiddingAlgorithmIdint64, custombiddingalgorithm *CustomBiddingAlgorithm) *CustomBiddingAlgorithmsPatchCall
Patch: Updates an existing custom bidding algorithm. Returns theupdated custom bidding algorithm if successful.
- customBiddingAlgorithmId: Output only. The unique ID of the custombidding algorithm. Assigned by the system.
func (*CustomBiddingAlgorithmsService)UploadScript¶added inv0.60.0
func (r *CustomBiddingAlgorithmsService) UploadScript(customBiddingAlgorithmIdint64) *CustomBiddingAlgorithmsUploadScriptCall
UploadScript: Creates a custom bidding script reference object for ascript file. The resulting reference object provides a resource pathto which the script file should be uploaded. This reference objectshould be included in when creating a new custom bidding scriptobject.
- customBiddingAlgorithmId: The ID of the custom bidding algorithmowns the script.
typeCustomBiddingAlgorithmsUploadScriptCall¶added inv0.60.0
type CustomBiddingAlgorithmsUploadScriptCall struct {// contains filtered or unexported fields}func (*CustomBiddingAlgorithmsUploadScriptCall)AdvertiserId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsUploadScriptCall) AdvertiserId(advertiserIdint64) *CustomBiddingAlgorithmsUploadScriptCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent custom bidding algorithm.
func (*CustomBiddingAlgorithmsUploadScriptCall)Context¶added inv0.60.0
func (c *CustomBiddingAlgorithmsUploadScriptCall) Context(ctxcontext.Context) *CustomBiddingAlgorithmsUploadScriptCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomBiddingAlgorithmsUploadScriptCall)Do¶added inv0.60.0
func (c *CustomBiddingAlgorithmsUploadScriptCall) Do(opts ...googleapi.CallOption) (*CustomBiddingScriptRef,error)
Do executes the "displayvideo.customBiddingAlgorithms.uploadScript" call.Exactly one of *CustomBiddingScriptRef or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*CustomBiddingScriptRef.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomBiddingAlgorithmsUploadScriptCall)Fields¶added inv0.60.0
func (c *CustomBiddingAlgorithmsUploadScriptCall) Fields(s ...googleapi.Field) *CustomBiddingAlgorithmsUploadScriptCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomBiddingAlgorithmsUploadScriptCall)Header¶added inv0.60.0
func (c *CustomBiddingAlgorithmsUploadScriptCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomBiddingAlgorithmsUploadScriptCall)IfNoneMatch¶added inv0.60.0
func (c *CustomBiddingAlgorithmsUploadScriptCall) IfNoneMatch(entityTagstring) *CustomBiddingAlgorithmsUploadScriptCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CustomBiddingAlgorithmsUploadScriptCall)PartnerId¶added inv0.60.0
func (c *CustomBiddingAlgorithmsUploadScriptCall) PartnerId(partnerIdint64) *CustomBiddingAlgorithmsUploadScriptCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent custom bidding algorithm. Only thispartner will have write access to this custom bidding script.
typeCustomBiddingModelReadinessState¶added inv0.81.0
type CustomBiddingModelReadinessState struct {// AdvertiserId: The unique ID of the relevant advertiser.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// ReadinessState: The readiness state of custom bidding model.//// Possible values:// "READINESS_STATE_UNSPECIFIED" - State is not specified or is// unknown in this version.// "READINESS_STATE_ACTIVE" - The model is trained and ready for// serving.// "READINESS_STATE_INSUFFICIENT_DATA" - There is not enough data to// train the serving model.// "READINESS_STATE_TRAINING" - The model is training and not ready// for serving.// "READINESS_STATE_NO_VALID_SCRIPT" - A valid custom bidding script// has not been provided with which to train the model. This state will// only be applied to algorithms whose `custom_bidding_algorithm_type`// is `SCRIPT_BASED`.ReadinessStatestring `json:"readinessState,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CustomBiddingModelReadinessState: The custom bidding algorithm modelreadiness state for a single shared advertiser.
func (*CustomBiddingModelReadinessState)MarshalJSON¶added inv0.81.0
func (s *CustomBiddingModelReadinessState) MarshalJSON() ([]byte,error)
typeCustomBiddingScript¶added inv0.60.0
type CustomBiddingScript struct {// Active: Output only. Whether the script is currently being used for// scoring by the parent algorithm.Activebool `json:"active,omitempty"`// CreateTime: Output only. The time when the script was created.CreateTimestring `json:"createTime,omitempty"`// CustomBiddingAlgorithmId: Output only. The unique ID of the custom// bidding algorithm the script belongs to.CustomBiddingAlgorithmIdint64 `json:"customBiddingAlgorithmId,omitempty,string"`// CustomBiddingScriptId: Output only. The unique ID of the custom// bidding script.CustomBiddingScriptIdint64 `json:"customBiddingScriptId,omitempty,string"`// Errors: Output only. Error details of a rejected custom bidding// script. This field will only be populated when state is REJECTED.Errors []*ScriptError `json:"errors,omitempty"`// Name: Output only. The resource name of the custom bidding script.Namestring `json:"name,omitempty"`// Script: The reference to the uploaded script file.Script *CustomBiddingScriptRef `json:"script,omitempty"`// State: Output only. The state of the custom bidding script.//// Possible values:// "STATE_UNSPECIFIED" - The script state is not specified or is// unknown in this version.// "ACCEPTED" - The script has been accepted for scoring impressions.// "REJECTED" - The script has been rejected by backend pipelines. It// may have errors.// "PENDING" - The script is being processed for backend pipelines.Statestring `json:"state,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Active") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Active") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CustomBiddingScript: A single custom bidding script.
func (*CustomBiddingScript)MarshalJSON¶added inv0.60.0
func (s *CustomBiddingScript) MarshalJSON() ([]byte,error)
typeCustomBiddingScriptRef¶added inv0.60.0
type CustomBiddingScriptRef struct {// ResourceName: A resource name to be used in media.download to// Download the script files. Or media.upload to Upload the script// files. Resource names have the format// `customBiddingAlgorithms/{custom_bidding_algorithm_id}/scriptRef/{ref_// id}`.ResourceNamestring `json:"resourceName,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ResourceName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ResourceName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CustomBiddingScriptRef: The reference to the uploaded custom biddingscript file.
func (*CustomBiddingScriptRef)MarshalJSON¶added inv0.60.0
func (s *CustomBiddingScriptRef) MarshalJSON() ([]byte,error)
typeCustomList¶added inv0.23.0
type CustomList struct {// CustomListId: Output only. The unique ID of the custom list. Assigned// by the system.CustomListIdint64 `json:"customListId,omitempty,string"`// DisplayName: Output only. The display name of the custom list. .DisplayNamestring `json:"displayName,omitempty"`// Name: Output only. The resource name of the custom list.Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CustomListId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomListId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CustomList: Describes a custom list entity, such as a custom affinityor custom intent audience list.
func (*CustomList)MarshalJSON¶added inv0.23.0
func (s *CustomList) MarshalJSON() ([]byte,error)
typeCustomListGroup¶added inv0.23.0
type CustomListGroup struct {// Settings: Required. All custom list targeting settings in custom list// group. Repeated settings with same id will be ignored.Settings []*CustomListTargetingSetting `json:"settings,omitempty"`// ForceSendFields is a list of field names (e.g. "Settings") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Settings") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CustomListGroup: Details of custom list group. All custom listtargeting settings are logically ‘OR’ of each other.
func (*CustomListGroup)MarshalJSON¶added inv0.23.0
func (s *CustomListGroup) MarshalJSON() ([]byte,error)
typeCustomListTargetingSetting¶added inv0.23.0
type CustomListTargetingSetting struct {// CustomListId: Required. Custom id of custom list targeting setting.// This id is custom_list_id.CustomListIdint64 `json:"customListId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "CustomListId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomListId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}CustomListTargetingSetting: Details of custom list targeting setting.
func (*CustomListTargetingSetting)MarshalJSON¶added inv0.23.0
func (s *CustomListTargetingSetting) MarshalJSON() ([]byte,error)
typeCustomListsGetCall¶added inv0.23.0
type CustomListsGetCall struct {// contains filtered or unexported fields}func (*CustomListsGetCall)AdvertiserId¶added inv0.23.0
func (c *CustomListsGetCall) AdvertiserId(advertiserIdint64) *CustomListsGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe DV360 advertiser that has access to the fetched custom lists.
func (*CustomListsGetCall)Context¶added inv0.23.0
func (c *CustomListsGetCall) Context(ctxcontext.Context) *CustomListsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomListsGetCall)Do¶added inv0.23.0
func (c *CustomListsGetCall) Do(opts ...googleapi.CallOption) (*CustomList,error)
Do executes the "displayvideo.customLists.get" call.Exactly one of *CustomList or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*CustomList.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*CustomListsGetCall)Fields¶added inv0.23.0
func (c *CustomListsGetCall) Fields(s ...googleapi.Field) *CustomListsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomListsGetCall)Header¶added inv0.23.0
func (c *CustomListsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomListsGetCall)IfNoneMatch¶added inv0.23.0
func (c *CustomListsGetCall) IfNoneMatch(entityTagstring) *CustomListsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeCustomListsListCall¶added inv0.23.0
type CustomListsListCall struct {// contains filtered or unexported fields}func (*CustomListsListCall)AdvertiserId¶added inv0.23.0
func (c *CustomListsListCall) AdvertiserId(advertiserIdint64) *CustomListsListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe DV360 advertiser that has access to the fetched custom lists.
func (*CustomListsListCall)Context¶added inv0.23.0
func (c *CustomListsListCall) Context(ctxcontext.Context) *CustomListsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*CustomListsListCall)Do¶added inv0.23.0
func (c *CustomListsListCall) Do(opts ...googleapi.CallOption) (*ListCustomListsResponse,error)
Do executes the "displayvideo.customLists.list" call.Exactly one of *ListCustomListsResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListCustomListsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*CustomListsListCall)Fields¶added inv0.23.0
func (c *CustomListsListCall) Fields(s ...googleapi.Field) *CustomListsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*CustomListsListCall)Filter¶added inv0.23.0
func (c *CustomListsListCall) Filter(filterstring) *CustomListsListCall
Filter sets the optional parameter "filter": Allows filtering bycustom list fields. Supported syntax: * Filter expressions for customlists can only contain at most one restriction. * A restriction hasthe form of `{field} {operator} {value}`. * All fields must use the`HAS (:)` operator. Supported fields: * `displayName` Examples: * Allcustom lists for which the display name contains "Google":`displayName:"Google". The length of this field should be no morethan 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*CustomListsListCall)Header¶added inv0.23.0
func (c *CustomListsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*CustomListsListCall)IfNoneMatch¶added inv0.23.0
func (c *CustomListsListCall) IfNoneMatch(entityTagstring) *CustomListsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*CustomListsListCall)OrderBy¶added inv0.23.0
func (c *CustomListsListCall) OrderBy(orderBystring) *CustomListsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `customListId` (default) *`displayName` The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `displayName desc`.
func (*CustomListsListCall)PageSize¶added inv0.23.0
func (c *CustomListsListCall) PageSize(pageSizeint64) *CustomListsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*CustomListsListCall)PageToken¶added inv0.23.0
func (c *CustomListsListCall) PageToken(pageTokenstring) *CustomListsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListCustomLists` method. If not specified, the first page ofresults will be returned.
func (*CustomListsListCall)Pages¶added inv0.23.0
func (c *CustomListsListCall) Pages(ctxcontext.Context, f func(*ListCustomListsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeCustomListsService¶added inv0.23.0
type CustomListsService struct {// contains filtered or unexported fields}funcNewCustomListsService¶added inv0.23.0
func NewCustomListsService(s *Service) *CustomListsService
func (*CustomListsService)Get¶added inv0.23.0
func (r *CustomListsService) Get(customListIdint64) *CustomListsGetCall
Get: Gets a custom list.
- customListId: The ID of the custom list to fetch.
func (*CustomListsService)List¶added inv0.23.0
func (r *CustomListsService) List() *CustomListsListCall
List: Lists custom lists. The order is defined by the order_byparameter.
typeDate¶added inv0.23.0
type Date struct {// Day: Day of a month. Must be from 1 to 31 and valid for the year and// month, or 0 to specify a year by itself or a year and month where the// day isn't significant.Dayint64 `json:"day,omitempty"`// Month: Month of a year. Must be from 1 to 12, or 0 to specify a year// without a month and day.Monthint64 `json:"month,omitempty"`// Year: Year of the date. Must be from 1 to 9999, or 0 to specify a// date without a year.Yearint64 `json:"year,omitempty"`// ForceSendFields is a list of field names (e.g. "Day") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Day") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Date: Represents a whole or partial calendar date, such as abirthday. The time of day and time zone are either specifiedelsewhere or are insignificant. The date is relative to the GregorianCalendar. This can represent one of the following: * A full date,with non-zero year, month, and day values. * A month and day, with azero year (for example, an anniversary). * A year on its own, with azero month and a zero day. * A year and month, with a zero day (forexample, a credit card expiration date). Related types: *google.type.TimeOfDay * google.type.DateTime *google.protobuf.Timestamp
func (*Date)MarshalJSON¶added inv0.23.0
typeDateRange¶added inv0.23.0
type DateRange struct {// EndDate: The upper bound of the date range, inclusive. Must specify a// positive value for `year`, `month`, and `day`.EndDate *Date `json:"endDate,omitempty"`// StartDate: The lower bound of the date range, inclusive. Must specify// a positive value for `year`, `month`, and `day`.StartDate *Date `json:"startDate,omitempty"`// ForceSendFields is a list of field names (e.g. "EndDate") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndDate") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DateRange: A date range.
func (*DateRange)MarshalJSON¶added inv0.23.0
typeDayAndTimeAssignedTargetingOptionDetails¶added inv0.23.0
type DayAndTimeAssignedTargetingOptionDetails struct {// DayOfWeek: Required. The day of the week for this day and time// targeting setting.//// Possible values:// "DAY_OF_WEEK_UNSPECIFIED" - The day of the week is unspecified.// "MONDAY" - Monday// "TUESDAY" - Tuesday// "WEDNESDAY" - Wednesday// "THURSDAY" - Thursday// "FRIDAY" - Friday// "SATURDAY" - Saturday// "SUNDAY" - SundayDayOfWeekstring `json:"dayOfWeek,omitempty"`// EndHour: Required. The end hour for day and time targeting. Must be// between 1 (1 hour after start of day) and 24 (end of day).EndHourint64 `json:"endHour,omitempty"`// StartHour: Required. The start hour for day and time targeting. Must// be between 0 (start of day) and 23 (1 hour before end of day).StartHourint64 `json:"startHour,omitempty"`// TimeZoneResolution: Required. The mechanism used to determine which// timezone to use for this day and time targeting setting.//// Possible values:// "TIME_ZONE_RESOLUTION_UNSPECIFIED" - Time zone resolution is either// unspecific or unknown.// "TIME_ZONE_RESOLUTION_END_USER" - Times are resolved in the time// zone of the user that saw the ad.// "TIME_ZONE_RESOLUTION_ADVERTISER" - Times are resolved in the time// zone of the advertiser that served the ad.TimeZoneResolutionstring `json:"timeZoneResolution,omitempty"`// ForceSendFields is a list of field names (e.g. "DayOfWeek") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DayOfWeek") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DayAndTimeAssignedTargetingOptionDetails: Representation of a segmentof time defined on a specific day of the week and with a start andend time. The time represented by `start_hour` must be before thetime represented by `end_hour`.
func (*DayAndTimeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *DayAndTimeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeDeactivateManualTriggerRequest¶added inv0.35.0
type DeactivateManualTriggerRequest struct {}DeactivateManualTriggerRequest: Request message forManualTriggerService.DeactivateManualTrigger.
typeDeleteAssignedTargetingOptionsRequest¶added inv0.23.0
type DeleteAssignedTargetingOptionsRequest struct {// AssignedTargetingOptionIds: Required. The assigned targeting option// IDs to delete.AssignedTargetingOptionIds []string `json:"assignedTargetingOptionIds,omitempty"`// TargetingType: Required. Identifies the type of this assigned// targeting option.//// Possible values:// "TARGETING_TYPE_UNSPECIFIED" - Default value when type is not// specified or is unknown in this version.// "TARGETING_TYPE_CHANNEL" - Target a channel (a custom group of// related websites or apps).// "TARGETING_TYPE_APP_CATEGORY" - Target an app category (for// example, education or puzzle games).// "TARGETING_TYPE_APP" - Target a specific app (for example, Angry// Birds).// "TARGETING_TYPE_URL" - Target a specific url (for example,// quora.com).// "TARGETING_TYPE_DAY_AND_TIME" - Target ads during a chosen time// period on a specific day.// "TARGETING_TYPE_AGE_RANGE" - Target ads to a specific age range// (for example, 18-24).// "TARGETING_TYPE_REGIONAL_LOCATION_LIST" - Target ads to the// specified regions on a regional location list.// "TARGETING_TYPE_PROXIMITY_LOCATION_LIST" - Target ads to the// specified points of interest on a proximity location list.// "TARGETING_TYPE_GENDER" - Target ads to a specific gender (for// example, female or male).// "TARGETING_TYPE_VIDEO_PLAYER_SIZE" - Target a specific video player// size for video ads.// "TARGETING_TYPE_USER_REWARDED_CONTENT" - Target user rewarded// content for video ads.// "TARGETING_TYPE_PARENTAL_STATUS" - Target ads to a specific// parental status (for example, parent or not a parent).// "TARGETING_TYPE_CONTENT_INSTREAM_POSITION" - Target video or audio// ads in a specific content instream position (for example, pre-roll,// mid-roll, or post-roll).// "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION" - Target ads in a// specific content outstream position.// "TARGETING_TYPE_DEVICE_TYPE" - Target ads to a specific device type// (for example, tablet or connected TV).// "TARGETING_TYPE_AUDIENCE_GROUP" - Target ads to an audience or// groups of audiences. Singleton field, at most one can exist on a// single Lineitem at a time.// "TARGETING_TYPE_BROWSER" - Target ads to specific web browsers (for// example, Chrome).// "TARGETING_TYPE_HOUSEHOLD_INCOME" - Target ads to a specific// household income range (for example, top 10%).// "TARGETING_TYPE_ON_SCREEN_POSITION" - Target ads in a specific on// screen position.// "TARGETING_TYPE_THIRD_PARTY_VERIFIER" - Filter web sites through// third party verification (for example, IAS or DoubleVerify).// "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION" - Filter web sites// by specific digital content label ratings (for example, DL-MA:// suitable only for mature audiences).// "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION" - Filter website// content by sensitive categories (for example, adult).// "TARGETING_TYPE_ENVIRONMENT" - Target ads to a specific environment// (for example, web or app).// "TARGETING_TYPE_CARRIER_AND_ISP" - Target ads to a specific network// carrier or internet service provider (ISP) (for example, Comcast or// Orange).// "TARGETING_TYPE_OPERATING_SYSTEM" - Target ads to a specific// operating system (for example, macOS).// "TARGETING_TYPE_DEVICE_MAKE_MODEL" - Target ads to a specific// device make or model (for example, Roku or Samsung).// "TARGETING_TYPE_KEYWORD" - Target ads to a specific keyword (for// example, dog or retriever).// "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST" - Target ads to a specific// negative keyword list.// "TARGETING_TYPE_VIEWABILITY" - Target ads to a specific viewability// (for example, 80% viewable).// "TARGETING_TYPE_CATEGORY" - Target ads to a specific content// category (for example, arts & entertainment).// "TARGETING_TYPE_INVENTORY_SOURCE" - Purchase impressions from// specific deals and auction packages.// "TARGETING_TYPE_LANGUAGE" - Target ads to a specific language (for// example, English or Japanese).// "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS" - Target ads to ads.txt// authorized sellers. If no targeting option of this type is assigned,// the resource uses the "Authorized Direct Sellers and Resellers"// option by default.// "TARGETING_TYPE_GEO_REGION" - Target ads to a specific regional// location (for example, a city or state).// "TARGETING_TYPE_INVENTORY_SOURCE_GROUP" - Purchase impressions from// a group of deals and auction packages.// "TARGETING_TYPE_EXCHANGE" - Purchase impressions from specific// exchanges.// "TARGETING_TYPE_SUB_EXCHANGE" - Purchase impressions from specific// sub-exchanges.// "TARGETING_TYPE_POI" - Target ads around a specific point of// interest, such as a notable building, a street address, or// latitude/longitude coordinates.// "TARGETING_TYPE_BUSINESS_CHAIN" - Target ads around locations of a// business chain within a specific geo region.// "TARGETING_TYPE_CONTENT_DURATION" - Target ads to a specific video// content duration.// "TARGETING_TYPE_CONTENT_STREAM_TYPE" - Target ads to a specific// video content stream type.// "TARGETING_TYPE_NATIVE_CONTENT_POSITION" - Target ads to a specific// native content position.// "TARGETING_TYPE_OMID" - Target ads in an Open Measurement enabled// inventory.// "TARGETING_TYPE_AUDIO_CONTENT_TYPE" - Target ads to a specific// audio content type.// "TARGETING_TYPE_CONTENT_GENRE" - Target ads to a specific content// genre.TargetingTypestring `json:"targetingType,omitempty"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptionIds") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "AssignedTargetingOptionIds") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}DeleteAssignedTargetingOptionsRequest: A request listing whichassigned targeting options of a given targeting type should bedeleted.
func (*DeleteAssignedTargetingOptionsRequest)MarshalJSON¶added inv0.23.0
func (s *DeleteAssignedTargetingOptionsRequest) MarshalJSON() ([]byte,error)
typeDeviceMakeModelAssignedTargetingOptionDetails¶added inv0.23.0
type DeviceMakeModelAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the device make and// model.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DeviceMakeModelAssignedTargetingOptionDetails: Assigned device makeand model targeting option details. This will be populated in thedevice_make_model_details field when targeting_type is`TARGETING_TYPE_DEVICE_MAKE_MODEL`.
func (*DeviceMakeModelAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *DeviceMakeModelAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeDeviceMakeModelTargetingOptionDetails¶added inv0.23.0
type DeviceMakeModelTargetingOptionDetails struct {// DisplayName: Output only. The display name of the device make and// model.DisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DeviceMakeModelTargetingOptionDetails: Represents a targetable devicemake and model. This will be populated in thedevice_make_model_details field of a TargetingOption whentargeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`.
func (*DeviceMakeModelTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *DeviceMakeModelTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeDeviceTypeAssignedTargetingOptionDetails¶added inv0.23.0
type DeviceTypeAssignedTargetingOptionDetails struct {// DeviceType: Required. The display name of the device type.//// Possible values:// "DEVICE_TYPE_UNSPECIFIED" - Default value when device type is not// specified in this version. This enum is a placeholder for default// value and does not represent a real device type option.// "DEVICE_TYPE_COMPUTER" - Computer.// "DEVICE_TYPE_CONNECTED_TV" - Connected TV.// "DEVICE_TYPE_SMART_PHONE" - Smart phone.// "DEVICE_TYPE_TABLET" - Tablet.DeviceTypestring `json:"deviceType,omitempty"`// TargetingOptionId: Required. ID of the device type.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DeviceType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DeviceType") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DeviceTypeAssignedTargetingOptionDetails: Targeting details fordevice type. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_DEVICE_TYPE`.
func (*DeviceTypeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *DeviceTypeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeDeviceTypeTargetingOptionDetails¶added inv0.23.0
type DeviceTypeTargetingOptionDetails struct {// DeviceType: Output only. The device type that is used to be targeted.//// Possible values:// "DEVICE_TYPE_UNSPECIFIED" - Default value when device type is not// specified in this version. This enum is a placeholder for default// value and does not represent a real device type option.// "DEVICE_TYPE_COMPUTER" - Computer.// "DEVICE_TYPE_CONNECTED_TV" - Connected TV.// "DEVICE_TYPE_SMART_PHONE" - Smart phone.// "DEVICE_TYPE_TABLET" - Tablet.DeviceTypestring `json:"deviceType,omitempty"`// ForceSendFields is a list of field names (e.g. "DeviceType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DeviceType") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DeviceTypeTargetingOptionDetails: Represents a targetable devicetype. This will be populated in the device_type_details field of aTargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`.
func (*DeviceTypeTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *DeviceTypeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeDigitalContentLabelAssignedTargetingOptionDetails¶added inv0.23.0
type DigitalContentLabelAssignedTargetingOptionDetails struct {// ContentRatingTier: Output only. The display name of the digital// content label rating tier.//// Possible values:// "CONTENT_RATING_TIER_UNSPECIFIED" - Content label is not specified// in this version. This enum is a place holder for a default value and// does not represent a real content rating.// "CONTENT_RATING_TIER_UNRATED" - Content that has not been labeled.// "CONTENT_RATING_TIER_GENERAL" - Content suitable for general// audiences.// "CONTENT_RATING_TIER_PARENTAL_GUIDANCE" - Content suitable for most// audiences with parental guidance.// "CONTENT_RATING_TIER_TEENS" - Content suitable for teen and older// audiences.// "CONTENT_RATING_TIER_MATURE" - Content suitable only for mature// audiences.ContentRatingTierstring `json:"contentRatingTier,omitempty"`// ExcludedTargetingOptionId: Required. ID of the digital content label// to be EXCLUDED.ExcludedTargetingOptionIdstring `json:"excludedTargetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentRatingTier")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentRatingTier") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}DigitalContentLabelAssignedTargetingOptionDetails: Targeting detailsfor digital content label. This will be populated in the detailsfield of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.
func (*DigitalContentLabelAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *DigitalContentLabelAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeDigitalContentLabelTargetingOptionDetails¶added inv0.23.0
type DigitalContentLabelTargetingOptionDetails struct {// ContentRatingTier: Output only. An enum for the content label brand// safety tiers.//// Possible values:// "CONTENT_RATING_TIER_UNSPECIFIED" - Content label is not specified// in this version. This enum is a place holder for a default value and// does not represent a real content rating.// "CONTENT_RATING_TIER_UNRATED" - Content that has not been labeled.// "CONTENT_RATING_TIER_GENERAL" - Content suitable for general// audiences.// "CONTENT_RATING_TIER_PARENTAL_GUIDANCE" - Content suitable for most// audiences with parental guidance.// "CONTENT_RATING_TIER_TEENS" - Content suitable for teen and older// audiences.// "CONTENT_RATING_TIER_MATURE" - Content suitable only for mature// audiences.ContentRatingTierstring `json:"contentRatingTier,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentRatingTier")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentRatingTier") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}DigitalContentLabelTargetingOptionDetails: Represents a targetabledigital content label rating tier. This will be populated in thedigital_content_label_details field of the TargetingOption whentargeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`.
func (*DigitalContentLabelTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *DigitalContentLabelTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeDimensions¶added inv0.23.0
type Dimensions struct {// HeightPixels: The height in pixels.HeightPixelsint64 `json:"heightPixels,omitempty"`// WidthPixels: The width in pixels.WidthPixelsint64 `json:"widthPixels,omitempty"`// ForceSendFields is a list of field names (e.g. "HeightPixels") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HeightPixels") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Dimensions: Dimensions.
func (*Dimensions)MarshalJSON¶added inv0.23.0
func (s *Dimensions) MarshalJSON() ([]byte,error)
typeDoubleVerify¶added inv0.23.0
type DoubleVerify struct {// AppStarRating: Avoid bidding on apps with the star ratings.AppStarRating *DoubleVerifyAppStarRating `json:"appStarRating,omitempty"`// AvoidedAgeRatings: Avoid bidding on apps with the age rating.//// Possible values:// "AGE_RATING_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any age rating options.// "APP_AGE_RATE_UNKNOWN" - Apps with unknown age rating.// "APP_AGE_RATE_4_PLUS" - Apps rated for Everyone (4+).// "APP_AGE_RATE_9_PLUS" - Apps rated for Everyone (9+).// "APP_AGE_RATE_12_PLUS" - Apps rated for Teens (12+).// "APP_AGE_RATE_17_PLUS" - Apps rated for Mature (17+).// "APP_AGE_RATE_18_PLUS" - Apps rated for Adults Only (18+).AvoidedAgeRatings []string `json:"avoidedAgeRatings,omitempty"`// BrandSafetyCategories: DV Brand Safety Controls.BrandSafetyCategories *DoubleVerifyBrandSafetyCategories `json:"brandSafetyCategories,omitempty"`// CustomSegmentId: The custom segment ID provided by DoubleVerify. The// ID must start with "51" and consist of eight digits. Custom segment// ID cannot be specified along with any of the following fields: *// brand_safety_categories * avoided_age_ratings * app_star_rating *// fraud_invalid_trafficCustomSegmentIdint64 `json:"customSegmentId,omitempty,string"`// DisplayViewability: Display viewability settings (applicable to// display line items only).DisplayViewability *DoubleVerifyDisplayViewability `json:"displayViewability,omitempty"`// FraudInvalidTraffic: Avoid Sites and Apps with historical Fraud & IVT// Rates.FraudInvalidTraffic *DoubleVerifyFraudInvalidTraffic `json:"fraudInvalidTraffic,omitempty"`// VideoViewability: Video viewability settings (applicable to video// line items only).VideoViewability *DoubleVerifyVideoViewability `json:"videoViewability,omitempty"`// ForceSendFields is a list of field names (e.g. "AppStarRating") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppStarRating") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DoubleVerify: Details of DoubleVerify settings.
func (*DoubleVerify)MarshalJSON¶added inv0.23.0
func (s *DoubleVerify) MarshalJSON() ([]byte,error)
typeDoubleVerifyAppStarRating¶added inv0.23.0
type DoubleVerifyAppStarRating struct {// AvoidInsufficientStarRating: Avoid bidding on apps with insufficient// star ratings.AvoidInsufficientStarRatingbool `json:"avoidInsufficientStarRating,omitempty"`// AvoidedStarRating: Avoid bidding on apps with the star ratings.//// Possible values:// "APP_STAR_RATE_UNSPECIFIED" - This enum is only a placeholder and// it doesn't specify any app star rating options.// "APP_STAR_RATE_1_POINT_5_LESS" - Official Apps with rating < 1.5// Stars.// "APP_STAR_RATE_2_LESS" - Official Apps with rating < 2 Stars.// "APP_STAR_RATE_2_POINT_5_LESS" - Official Apps with rating < 2.5// Stars.// "APP_STAR_RATE_3_LESS" - Official Apps with rating < 3 Stars.// "APP_STAR_RATE_3_POINT_5_LESS" - Official Apps with rating < 3.5// Stars.// "APP_STAR_RATE_4_LESS" - Official Apps with rating < 4 Stars.// "APP_STAR_RATE_4_POINT_5_LESS" - Official Apps with rating < 4.5// Stars.AvoidedStarRatingstring `json:"avoidedStarRating,omitempty"`// ForceSendFields is a list of field names (e.g.// "AvoidInsufficientStarRating") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "AvoidInsufficientStarRating") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}DoubleVerifyAppStarRating: Details of DoubleVerify star ratingssettings.
func (*DoubleVerifyAppStarRating)MarshalJSON¶added inv0.23.0
func (s *DoubleVerifyAppStarRating) MarshalJSON() ([]byte,error)
typeDoubleVerifyBrandSafetyCategories¶added inv0.23.0
type DoubleVerifyBrandSafetyCategories struct {// AvoidUnknownBrandSafetyCategory: Unknown or unrateable.AvoidUnknownBrandSafetyCategorybool `json:"avoidUnknownBrandSafetyCategory,omitempty"`// AvoidedHighSeverityCategories: Brand safety high severity avoidance// categories.//// Possible values:// "HIGHER_SEVERITY_UNSPECIFIED" - This enum is only a placeholder and// it doesn't specify any high severity categories.// "ADULT_CONTENT_PORNOGRAPHY" - Adult Content: Pornography, Mature// Topics & Nudity.// "COPYRIGHT_INFRINGEMENT" - Copyright Infringement.// "SUBSTANCE_ABUSE" - Drugs/Alcohol/Controlled Substances: Substance// Abuse.// "GRAPHIC_VIOLENCE_WEAPONS" - Extreme Graphic/Explicit// Violence/Weapons.// "HATE_PROFANITY" - Hate/Profanity.// "CRIMINAL_SKILLS" - Illegal Activities: Criminal Skills.// "NUISANCE_INCENTIVIZED_MALWARE_CLUTTER" -// Incentivized/Malware/Clutter.AvoidedHighSeverityCategories []string `json:"avoidedHighSeverityCategories,omitempty"`// AvoidedMediumSeverityCategories: Brand safety medium severity// avoidance categories.//// Possible values:// "MEDIUM_SEVERITY_UNSPECIFIED" - This enum is only a placeholder and// it doesn't specify any medium severity categories.// "AD_SERVERS" - Ad Servers.// "ADULT_CONTENT_SWIMSUIT" - Adult Content: Swimsuit.// "ALTERNATIVE_LIFESTYLES" - Controversial Subjects: Alternative// Lifestyles.// "CELEBRITY_GOSSIP" - Controversial Subjects: Celebrity Gossip.// "GAMBLING" - Controversial Subjects: Gambling.// "OCCULT" - Controversial Subjects: Occult.// "SEX_EDUCATION" - Controversial Subjects: Sex Education.// "DISASTER_AVIATION" - Disaster: Aviation.// "DISASTER_MAN_MADE" - Disaster: Man-made.// "DISASTER_NATURAL" - Disaster: Natural.// "DISASTER_TERRORIST_EVENTS" - Disaster: Terrorist Events.// "DISASTER_VEHICLE" - Disaster: Vehicle.// "ALCOHOL" - Drugs/Alcohol/Controlled Substances: Alcohol.// "SMOKING" - Drugs/Alcohol/Controlled Substances: Smoking.// "NEGATIVE_NEWS_FINANCIAL" - Negative News: Financial.// "NON_ENGLISH" - Non-Std Content: Non-English.// "PARKING_PAGE" - Non-Std Content: Parking Page.// "UNMODERATED_UGC" - Unmoderated UGC: Forums, Images & Video.// "INFLAMMATORY_POLITICS_AND_NEWS" - Controversial Subjects:// Inflammatory Politics and News.// "NEGATIVE_NEWS_PHARMACEUTICAL" - Negative News: Pharmaceutical.AvoidedMediumSeverityCategories []string `json:"avoidedMediumSeverityCategories,omitempty"`// ForceSendFields is a list of field names (e.g.// "AvoidUnknownBrandSafetyCategory") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "AvoidUnknownBrandSafetyCategory") to include in API requests with// the JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}DoubleVerifyBrandSafetyCategories: Settings for brand safetycontrols.
func (*DoubleVerifyBrandSafetyCategories)MarshalJSON¶added inv0.23.0
func (s *DoubleVerifyBrandSafetyCategories) MarshalJSON() ([]byte,error)
typeDoubleVerifyDisplayViewability¶added inv0.23.0
type DoubleVerifyDisplayViewability struct {// Iab: Target web and app inventory to maximize IAB viewable rate.//// Possible values:// "IAB_VIEWED_RATE_UNSPECIFIED" - This enum is only a placeholder and// it doesn't specify any IAB viewed rate options.// "IAB_VIEWED_RATE_80_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 80% or higher.// "IAB_VIEWED_RATE_75_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 75% or higher.// "IAB_VIEWED_RATE_70_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 70% or higher.// "IAB_VIEWED_RATE_65_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 65% or higher.// "IAB_VIEWED_RATE_60_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 60% or higher.// "IAB_VIEWED_RATE_55_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 55% or higher.// "IAB_VIEWED_RATE_50_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 50% or higher.// "IAB_VIEWED_RATE_40_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 40% or higher.// "IAB_VIEWED_RATE_30_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 30% or higher.Iabstring `json:"iab,omitempty"`// ViewableDuring: Target web and app inventory to maximize 100%// viewable duration.//// Possible values:// "AVERAGE_VIEW_DURATION_UNSPECIFIED" - This enum is only a// placeholder and it doesn't specify any average view duration options.// "AVERAGE_VIEW_DURATION_5_SEC" - Target web and app inventory to// maximize 100% viewable duration 5 seconds or more.// "AVERAGE_VIEW_DURATION_10_SEC" - Target web and app inventory to// maximize 100% viewable duration 10 seconds or more.// "AVERAGE_VIEW_DURATION_15_SEC" - Target web and app inventory to// maximize 100% viewable duration 15 seconds or more.ViewableDuringstring `json:"viewableDuring,omitempty"`// ForceSendFields is a list of field names (e.g. "Iab") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Iab") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}DoubleVerifyDisplayViewability: Details of DoubleVerify displayviewability settings.
func (*DoubleVerifyDisplayViewability)MarshalJSON¶added inv0.23.0
func (s *DoubleVerifyDisplayViewability) MarshalJSON() ([]byte,error)
typeDoubleVerifyFraudInvalidTraffic¶added inv0.23.0
type DoubleVerifyFraudInvalidTraffic struct {// AvoidInsufficientOption: Insufficient Historical Fraud & IVT Stats.AvoidInsufficientOptionbool `json:"avoidInsufficientOption,omitempty"`// AvoidedFraudOption: Avoid Sites and Apps with historical Fraud & IVT.//// Possible values:// "FRAUD_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any fraud and invalid traffic options.// "AD_IMPRESSION_FRAUD_100" - 100% Fraud & IVT.// "AD_IMPRESSION_FRAUD_50" - 50% or Higher Fraud & IVT.// "AD_IMPRESSION_FRAUD_25" - 25% or Higher Fraud & IVT.// "AD_IMPRESSION_FRAUD_10" - 10% or Higher Fraud & IVT.// "AD_IMPRESSION_FRAUD_8" - 8% or Higher Fraud & IVT.// "AD_IMPRESSION_FRAUD_6" - 6% or Higher Fraud & IVT.// "AD_IMPRESSION_FRAUD_4" - 4% or Higher Fraud & IVT.// "AD_IMPRESSION_FRAUD_2" - 2% or Higher Fraud & IVT.AvoidedFraudOptionstring `json:"avoidedFraudOption,omitempty"`// ForceSendFields is a list of field names (e.g.// "AvoidInsufficientOption") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AvoidInsufficientOption")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}DoubleVerifyFraudInvalidTraffic: DoubleVerify Fraud & Invalid Trafficsettings.
func (*DoubleVerifyFraudInvalidTraffic)MarshalJSON¶added inv0.23.0
func (s *DoubleVerifyFraudInvalidTraffic) MarshalJSON() ([]byte,error)
typeDoubleVerifyVideoViewability¶added inv0.23.0
type DoubleVerifyVideoViewability struct {// PlayerImpressionRate: Target inventory to maximize impressions with// 400x300 or greater player size.//// Possible values:// "PLAYER_SIZE_400X300_UNSPECIFIED" - This enum is only a placeholder// and it doesn't specify any impressions options.// "PLAYER_SIZE_400X300_95" - Sites with 95%+ of impressions.// "PLAYER_SIZE_400X300_70" - Sites with 70%+ of impressions.// "PLAYER_SIZE_400X300_25" - Sites with 25%+ of impressions.// "PLAYER_SIZE_400X300_5" - Sites with 5%+ of impressions.PlayerImpressionRatestring `json:"playerImpressionRate,omitempty"`// VideoIab: Target web inventory to maximize IAB viewable rate.//// Possible values:// "VIDEO_IAB_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any video IAB viewable rate options.// "IAB_VIEWABILITY_80_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 80% or higher.// "IAB_VIEWABILITY_75_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 75% or higher.// "IAB_VIEWABILITY_70_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 70% or higher.// "IAB_VIEWABILITY_65_PERCENT_HIHGER" - Target web and app inventory// to maximize IAB viewable rate 65% or higher.// "IAB_VIEWABILITY_60_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 60% or higher.// "IAB_VIEWABILITY_55_PERCENT_HIHGER" - Target web and app inventory// to maximize IAB viewable rate 55% or higher.// "IAB_VIEWABILITY_50_PERCENT_HIGHER" - Target web and app inventory// to maximize IAB viewable rate 50% or higher.// "IAB_VIEWABILITY_40_PERCENT_HIHGER" - Target web and app inventory// to maximize IAB viewable rate 40% or higher.// "IAB_VIEWABILITY_30_PERCENT_HIHGER" - Target web and app inventory// to maximize IAB viewable rate 30% or higher.VideoIabstring `json:"videoIab,omitempty"`// VideoViewableRate: Target web inventory to maximize fully viewable// rate.//// Possible values:// "VIDEO_VIEWABLE_RATE_UNSPECIFIED" - This enum is only a placeholder// and it doesn't specify any video viewable rate options.// "VIEWED_PERFORMANCE_40_PERCENT_HIGHER" - Target web inventory to// maximize fully viewable rate 40% or higher.// "VIEWED_PERFORMANCE_35_PERCENT_HIGHER" - Target web inventory to// maximize fully viewable rate 35% or higher.// "VIEWED_PERFORMANCE_30_PERCENT_HIGHER" - Target web inventory to// maximize fully viewable rate 30% or higher.// "VIEWED_PERFORMANCE_25_PERCENT_HIGHER" - Target web inventory to// maximize fully viewable rate 25% or higher.// "VIEWED_PERFORMANCE_20_PERCENT_HIGHER" - Target web inventory to// maximize fully viewable rate 20% or higher.// "VIEWED_PERFORMANCE_10_PERCENT_HIGHER" - Target web inventory to// maximize fully viewable rate 10% or higher.VideoViewableRatestring `json:"videoViewableRate,omitempty"`// ForceSendFields is a list of field names (e.g.// "PlayerImpressionRate") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PlayerImpressionRate") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}DoubleVerifyVideoViewability: Details of DoubleVerify videoviewability settings.
func (*DoubleVerifyVideoViewability)MarshalJSON¶added inv0.23.0
func (s *DoubleVerifyVideoViewability) MarshalJSON() ([]byte,error)
typeEditCustomerMatchMembersRequest¶added inv0.66.0
type EditCustomerMatchMembersRequest struct {// AddedContactInfoList: Input only. A list of contact information to// define the members to be added.AddedContactInfoList *ContactInfoList `json:"addedContactInfoList,omitempty"`// AddedMobileDeviceIdList: Input only. A list of mobile device IDs to// define the members to be added.AddedMobileDeviceIdList *MobileDeviceIdList `json:"addedMobileDeviceIdList,omitempty"`// AdvertiserId: Required. The ID of the owner advertiser of the updated// Customer Match FirstAndThirdPartyAudience.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "AddedContactInfoList") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddedContactInfoList") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}EditCustomerMatchMembersRequest: Request message forFirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
func (*EditCustomerMatchMembersRequest)MarshalJSON¶added inv0.66.0
func (s *EditCustomerMatchMembersRequest) MarshalJSON() ([]byte,error)
typeEditCustomerMatchMembersResponse¶added inv0.66.0
type EditCustomerMatchMembersResponse struct {// FirstAndThirdPartyAudienceId: Required. The ID of the updated// Customer Match FirstAndThirdPartyAudience.FirstAndThirdPartyAudienceIdint64 `json:"firstAndThirdPartyAudienceId,omitempty,string"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "FirstAndThirdPartyAudienceId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "FirstAndThirdPartyAudienceId") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}EditCustomerMatchMembersResponse: The response ofFirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
func (*EditCustomerMatchMembersResponse)MarshalJSON¶added inv0.66.0
func (s *EditCustomerMatchMembersResponse) MarshalJSON() ([]byte,error)
typeEditGuaranteedOrderReadAccessorsRequest¶added inv0.82.0
type EditGuaranteedOrderReadAccessorsRequest struct {// AddedAdvertisers: The advertisers to add as read accessors to the// guaranteed order.AddedAdvertisersgoogleapi.Int64s `json:"addedAdvertisers,omitempty"`// PartnerId: Required. The partner context in which the change is being// made.PartnerIdint64 `json:"partnerId,omitempty,string"`// ReadAccessInherited: Whether to give all advertisers of the// read/write accessor partner read access to the guaranteed order. Only// applicable if read_write_partner_id is set in the guaranteed order.ReadAccessInheritedbool `json:"readAccessInherited,omitempty"`// RemovedAdvertisers: The advertisers to remove as read accessors to// the guaranteed order.RemovedAdvertisersgoogleapi.Int64s `json:"removedAdvertisers,omitempty"`// ForceSendFields is a list of field names (e.g. "AddedAdvertisers") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddedAdvertisers") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}EditGuaranteedOrderReadAccessorsRequest: Request message forGuaranteedOrderService.EditGuaranteedOrderReadAccessors.
func (*EditGuaranteedOrderReadAccessorsRequest)MarshalJSON¶added inv0.82.0
func (s *EditGuaranteedOrderReadAccessorsRequest) MarshalJSON() ([]byte,error)
typeEditGuaranteedOrderReadAccessorsResponse¶added inv0.82.0
type EditGuaranteedOrderReadAccessorsResponse struct {// ReadAccessInherited: Whether all advertisers of read_write_partner_id// have read access to the guaranteed order.ReadAccessInheritedbool `json:"readAccessInherited,omitempty"`// ReadAdvertiserIds: The IDs of advertisers with read access to the// guaranteed order.ReadAdvertiserIdsgoogleapi.Int64s `json:"readAdvertiserIds,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ReadAccessInherited")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ReadAccessInherited") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*EditGuaranteedOrderReadAccessorsResponse)MarshalJSON¶added inv0.82.0
func (s *EditGuaranteedOrderReadAccessorsResponse) MarshalJSON() ([]byte,error)
typeEditInventorySourceReadWriteAccessorsRequest¶added inv0.82.0
type EditInventorySourceReadWriteAccessorsRequest struct {// AdvertisersUpdate: The advertisers to add or remove from the list of// advertisers that have read/write access to the inventory source. This// change will remove an existing partner read/write accessor.AdvertisersUpdate *EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate `json:"advertisersUpdate,omitempty"`// AssignPartner: Set the partner context as read/write accessor of the// inventory source. This will remove all other current read/write// advertiser accessors.AssignPartnerbool `json:"assignPartner,omitempty"`// PartnerId: Required. The partner context by which the accessors// change is being made.PartnerIdint64 `json:"partnerId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "AdvertisersUpdate")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertisersUpdate") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}EditInventorySourceReadWriteAccessorsRequest: Request message forInventorySourceService.EditInventorySourceReadWriteAccessors.
func (*EditInventorySourceReadWriteAccessorsRequest)MarshalJSON¶added inv0.82.0
func (s *EditInventorySourceReadWriteAccessorsRequest) MarshalJSON() ([]byte,error)
typeEditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate¶added inv0.82.0
type EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate struct {// AddedAdvertisers: The advertisers to add.AddedAdvertisersgoogleapi.Int64s `json:"addedAdvertisers,omitempty"`// RemovedAdvertisers: The advertisers to remove.RemovedAdvertisersgoogleapi.Int64s `json:"removedAdvertisers,omitempty"`// ForceSendFields is a list of field names (e.g. "AddedAdvertisers") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddedAdvertisers") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate: Updateto the list of advertisers with read/write access to the inventorysource.
func (*EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate)MarshalJSON¶added inv0.82.0
func (s *EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate) MarshalJSON() ([]byte,error)
typeEmpty¶added inv0.23.0
type Empty struct {// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`}Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to useit as the request or the response type of an API method. Forinstance: service Foo { rpc Bar(google.protobuf.Empty) returns(google.protobuf.Empty); }
typeEnvironmentAssignedTargetingOptionDetails¶added inv0.23.0
type EnvironmentAssignedTargetingOptionDetails struct {// Environment: Required. The serving environment.//// Possible values:// "ENVIRONMENT_UNSPECIFIED" - Default value when environment is not// specified in this version. This enum is a placeholder for default// value and does not represent a real environment option.// "ENVIRONMENT_WEB_OPTIMIZED" - Target inventory displayed in// browsers. This includes inventory that was designed for the device it// was viewed on, such as mobile websites viewed on a mobile device.// ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior// to the deletion of this targeting option.// "ENVIRONMENT_WEB_NOT_OPTIMIZED" - Target inventory displayed in// browsers. This includes inventory that was not designed for the// device but viewed on it, such as websites optimized for desktop but// viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be// targeted prior to the addition of this targeting option.// "ENVIRONMENT_APP" - Target inventory displayed in apps.Environmentstring `json:"environment,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_ENVIRONMENT` (e.g., "508010"// for targeting the `ENVIRONMENT_WEB_OPTIMIZED` option).TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "Environment") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Environment") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}EnvironmentAssignedTargetingOptionDetails: Assigned environmenttargeting option details. This will be populated in the details fieldof an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_ENVIRONMENT`.
func (*EnvironmentAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *EnvironmentAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeEnvironmentTargetingOptionDetails¶added inv0.23.0
type EnvironmentTargetingOptionDetails struct {// Environment: Output only. The serving environment.//// Possible values:// "ENVIRONMENT_UNSPECIFIED" - Default value when environment is not// specified in this version. This enum is a placeholder for default// value and does not represent a real environment option.// "ENVIRONMENT_WEB_OPTIMIZED" - Target inventory displayed in// browsers. This includes inventory that was designed for the device it// was viewed on, such as mobile websites viewed on a mobile device.// ENVIRONMENT_WEB_NOT_OPTIMIZED, if targeted, should be deleted prior// to the deletion of this targeting option.// "ENVIRONMENT_WEB_NOT_OPTIMIZED" - Target inventory displayed in// browsers. This includes inventory that was not designed for the// device but viewed on it, such as websites optimized for desktop but// viewed on a mobile device. ENVIRONMENT_WEB_OPTIMIZED should be// targeted prior to the addition of this targeting option.// "ENVIRONMENT_APP" - Target inventory displayed in apps.Environmentstring `json:"environment,omitempty"`// ForceSendFields is a list of field names (e.g. "Environment") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Environment") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}EnvironmentTargetingOptionDetails: Represents a targetableenvironment. This will be populated in the environment_details fieldof a TargetingOption when targeting_type is`TARGETING_TYPE_ENVIRONMENT`.
func (*EnvironmentTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *EnvironmentTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeExchangeAssignedTargetingOptionDetails¶added inv0.23.0
type ExchangeAssignedTargetingOptionDetails struct {// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_EXCHANGE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "TargetingOptionId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "TargetingOptionId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ExchangeAssignedTargetingOptionDetails: Details for assigned exchangetargeting option. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_EXCHANGE`.
func (*ExchangeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ExchangeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeExchangeConfig¶added inv0.30.0
type ExchangeConfig struct {// EnabledExchanges: All enabled exchanges in the partner. Duplicate// enabled exchanges will be ignored.EnabledExchanges []*ExchangeConfigEnabledExchange `json:"enabledExchanges,omitempty"`// ForceSendFields is a list of field names (e.g. "EnabledExchanges") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnabledExchanges") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ExchangeConfig: Settings that control which exchanges are enabled fora partner.
func (*ExchangeConfig)MarshalJSON¶added inv0.30.0
func (s *ExchangeConfig) MarshalJSON() ([]byte,error)
typeExchangeConfigEnabledExchange¶added inv0.30.0
type ExchangeConfigEnabledExchange struct {// Exchange: The enabled exchange.//// Possible values:// "EXCHANGE_UNSPECIFIED" - Exchange is not specified or is unknown in// this version.// "EXCHANGE_GOOGLE_AD_MANAGER" - Google Ad Manager.// "EXCHANGE_APPNEXUS" - AppNexus.// "EXCHANGE_BRIGHTROLL" - BrightRoll Exchange for Video from Yahoo!.// "EXCHANGE_ADFORM" - Adform.// "EXCHANGE_ADMETA" - Admeta.// "EXCHANGE_ADMIXER" - Admixer.// "EXCHANGE_ADSMOGO" - AdsMogo.// "EXCHANGE_ADSWIZZ" - AdsWizz.// "EXCHANGE_BIDSWITCH" - BidSwitch.// "EXCHANGE_BRIGHTROLL_DISPLAY" - BrightRoll Exchange for Display// from Yahoo!.// "EXCHANGE_CADREON" - Cadreon.// "EXCHANGE_DAILYMOTION" - Dailymotion.// "EXCHANGE_FIVE" - Five.// "EXCHANGE_FLUCT" - Fluct.// "EXCHANGE_FREEWHEEL" - FreeWheel SSP.// "EXCHANGE_GENIEE" - Geniee.// "EXCHANGE_GUMGUM" - GumGum.// "EXCHANGE_IMOBILE" - i-mobile.// "EXCHANGE_IBILLBOARD" - iBILLBOARD.// "EXCHANGE_IMPROVE_DIGITAL" - Improve Digital.// "EXCHANGE_INDEX" - Index Exchange.// "EXCHANGE_KARGO" - Kargo.// "EXCHANGE_MICROAD" - MicroAd.// "EXCHANGE_MOPUB" - MoPub.// "EXCHANGE_NEND" - Nend.// "EXCHANGE_ONE_BY_AOL_DISPLAY" - ONE by AOL: Display Market Place.// "EXCHANGE_ONE_BY_AOL_MOBILE" - ONE by AOL: Mobile.// "EXCHANGE_ONE_BY_AOL_VIDEO" - ONE by AOL: Video.// "EXCHANGE_OOYALA" - Ooyala.// "EXCHANGE_OPENX" - OpenX.// "EXCHANGE_PERMODO" - Permodo.// "EXCHANGE_PLATFORMONE" - Platform One.// "EXCHANGE_PLATFORMID" - PlatformId.// "EXCHANGE_PUBMATIC" - PubMatic.// "EXCHANGE_PULSEPOINT" - PulsePoint.// "EXCHANGE_REVENUEMAX" - RevenueMax.// "EXCHANGE_RUBICON" - Rubicon.// "EXCHANGE_SMARTCLIP" - SmartClip.// "EXCHANGE_SMARTRTB" - SmartRTB+.// "EXCHANGE_SMARTSTREAMTV" - SmartstreamTv.// "EXCHANGE_SOVRN" - Sovrn.// "EXCHANGE_SPOTXCHANGE" - SpotXchange.// "EXCHANGE_STROER" - Ströer SSP.// "EXCHANGE_TEADSTV" - TeadsTv.// "EXCHANGE_TELARIA" - Telaria.// "EXCHANGE_TVN" - TVN.// "EXCHANGE_UNITED" - United.// "EXCHANGE_YIELDLAB" - Yieldlab.// "EXCHANGE_YIELDMO" - Yieldmo.// "EXCHANGE_UNRULYX" - UnrulyX.// "EXCHANGE_OPEN8" - Open8.// "EXCHANGE_TRITON" - Triton.// "EXCHANGE_TRIPLELIFT" - TripleLift.// "EXCHANGE_TABOOLA" - Taboola.// "EXCHANGE_INMOBI" - InMobi.// "EXCHANGE_SMAATO" - Smaato.// "EXCHANGE_AJA" - Aja.// "EXCHANGE_SUPERSHIP" - Supership.// "EXCHANGE_NEXSTAR_DIGITAL" - Nexstar Digital.// "EXCHANGE_WAZE" - Waze.// "EXCHANGE_SOUNDCAST" - SoundCast.// "EXCHANGE_SHARETHROUGH" - Sharethrough.// "EXCHANGE_FYBER" - Fyber.// "EXCHANGE_RED_FOR_PUBLISHERS" - Red For Publishers.// "EXCHANGE_MEDIANET" - Media.net.// "EXCHANGE_TAPJOY" - Tapjoy.// "EXCHANGE_VISTAR" - Vistar.// "EXCHANGE_DAX" - DAX.// "EXCHANGE_JCD" - JCD.// "EXCHANGE_PLACE_EXCHANGE" - Place Exchange.// "EXCHANGE_APPLOVIN" - AppLovin.// "EXCHANGE_CONNATIX" - Connatix.// "EXCHANGE_RESET_DIGITAL" - Reset Digital.// "EXCHANGE_HIVESTACK" - Hivestack.Exchangestring `json:"exchange,omitempty"`// GoogleAdManagerAgencyId: Output only. Agency ID of Google Ad Manager.// The field is only relevant when Google Ad Manager is the enabled// exchange.GoogleAdManagerAgencyIdstring `json:"googleAdManagerAgencyId,omitempty"`// GoogleAdManagerBuyerNetworkId: Output only. Network ID of Google Ad// Manager. The field is only relevant when Google Ad Manager is the// enabled exchange.GoogleAdManagerBuyerNetworkIdstring `json:"googleAdManagerBuyerNetworkId,omitempty"`// SeatId: Output only. Seat ID of the enabled exchange.SeatIdstring `json:"seatId,omitempty"`// ForceSendFields is a list of field names (e.g. "Exchange") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Exchange") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ExchangeConfigEnabledExchange: An enabled exchange in the partner.
func (*ExchangeConfigEnabledExchange)MarshalJSON¶added inv0.30.0
func (s *ExchangeConfigEnabledExchange) MarshalJSON() ([]byte,error)
typeExchangeReviewStatus¶added inv0.23.0
type ExchangeReviewStatus struct {// Exchange: The exchange reviewing the creative.//// Possible values:// "EXCHANGE_UNSPECIFIED" - Exchange is not specified or is unknown in// this version.// "EXCHANGE_GOOGLE_AD_MANAGER" - Google Ad Manager.// "EXCHANGE_APPNEXUS" - AppNexus.// "EXCHANGE_BRIGHTROLL" - BrightRoll Exchange for Video from Yahoo!.// "EXCHANGE_ADFORM" - Adform.// "EXCHANGE_ADMETA" - Admeta.// "EXCHANGE_ADMIXER" - Admixer.// "EXCHANGE_ADSMOGO" - AdsMogo.// "EXCHANGE_ADSWIZZ" - AdsWizz.// "EXCHANGE_BIDSWITCH" - BidSwitch.// "EXCHANGE_BRIGHTROLL_DISPLAY" - BrightRoll Exchange for Display// from Yahoo!.// "EXCHANGE_CADREON" - Cadreon.// "EXCHANGE_DAILYMOTION" - Dailymotion.// "EXCHANGE_FIVE" - Five.// "EXCHANGE_FLUCT" - Fluct.// "EXCHANGE_FREEWHEEL" - FreeWheel SSP.// "EXCHANGE_GENIEE" - Geniee.// "EXCHANGE_GUMGUM" - GumGum.// "EXCHANGE_IMOBILE" - i-mobile.// "EXCHANGE_IBILLBOARD" - iBILLBOARD.// "EXCHANGE_IMPROVE_DIGITAL" - Improve Digital.// "EXCHANGE_INDEX" - Index Exchange.// "EXCHANGE_KARGO" - Kargo.// "EXCHANGE_MICROAD" - MicroAd.// "EXCHANGE_MOPUB" - MoPub.// "EXCHANGE_NEND" - Nend.// "EXCHANGE_ONE_BY_AOL_DISPLAY" - ONE by AOL: Display Market Place.// "EXCHANGE_ONE_BY_AOL_MOBILE" - ONE by AOL: Mobile.// "EXCHANGE_ONE_BY_AOL_VIDEO" - ONE by AOL: Video.// "EXCHANGE_OOYALA" - Ooyala.// "EXCHANGE_OPENX" - OpenX.// "EXCHANGE_PERMODO" - Permodo.// "EXCHANGE_PLATFORMONE" - Platform One.// "EXCHANGE_PLATFORMID" - PlatformId.// "EXCHANGE_PUBMATIC" - PubMatic.// "EXCHANGE_PULSEPOINT" - PulsePoint.// "EXCHANGE_REVENUEMAX" - RevenueMax.// "EXCHANGE_RUBICON" - Rubicon.// "EXCHANGE_SMARTCLIP" - SmartClip.// "EXCHANGE_SMARTRTB" - SmartRTB+.// "EXCHANGE_SMARTSTREAMTV" - SmartstreamTv.// "EXCHANGE_SOVRN" - Sovrn.// "EXCHANGE_SPOTXCHANGE" - SpotXchange.// "EXCHANGE_STROER" - Ströer SSP.// "EXCHANGE_TEADSTV" - TeadsTv.// "EXCHANGE_TELARIA" - Telaria.// "EXCHANGE_TVN" - TVN.// "EXCHANGE_UNITED" - United.// "EXCHANGE_YIELDLAB" - Yieldlab.// "EXCHANGE_YIELDMO" - Yieldmo.// "EXCHANGE_UNRULYX" - UnrulyX.// "EXCHANGE_OPEN8" - Open8.// "EXCHANGE_TRITON" - Triton.// "EXCHANGE_TRIPLELIFT" - TripleLift.// "EXCHANGE_TABOOLA" - Taboola.// "EXCHANGE_INMOBI" - InMobi.// "EXCHANGE_SMAATO" - Smaato.// "EXCHANGE_AJA" - Aja.// "EXCHANGE_SUPERSHIP" - Supership.// "EXCHANGE_NEXSTAR_DIGITAL" - Nexstar Digital.// "EXCHANGE_WAZE" - Waze.// "EXCHANGE_SOUNDCAST" - SoundCast.// "EXCHANGE_SHARETHROUGH" - Sharethrough.// "EXCHANGE_FYBER" - Fyber.// "EXCHANGE_RED_FOR_PUBLISHERS" - Red For Publishers.// "EXCHANGE_MEDIANET" - Media.net.// "EXCHANGE_TAPJOY" - Tapjoy.// "EXCHANGE_VISTAR" - Vistar.// "EXCHANGE_DAX" - DAX.// "EXCHANGE_JCD" - JCD.// "EXCHANGE_PLACE_EXCHANGE" - Place Exchange.// "EXCHANGE_APPLOVIN" - AppLovin.// "EXCHANGE_CONNATIX" - Connatix.// "EXCHANGE_RESET_DIGITAL" - Reset Digital.// "EXCHANGE_HIVESTACK" - Hivestack.Exchangestring `json:"exchange,omitempty"`// Status: Status of the exchange review.//// Possible values:// "REVIEW_STATUS_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "REVIEW_STATUS_APPROVED" - The creative is approved.// "REVIEW_STATUS_REJECTED" - The creative is rejected.// "REVIEW_STATUS_PENDING" - The creative is pending review.Statusstring `json:"status,omitempty"`// ForceSendFields is a list of field names (e.g. "Exchange") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Exchange") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ExchangeReviewStatus: Exchange review status for the creative.
func (*ExchangeReviewStatus)MarshalJSON¶added inv0.23.0
func (s *ExchangeReviewStatus) MarshalJSON() ([]byte,error)
typeExchangeTargetingOptionDetails¶added inv0.23.0
type ExchangeTargetingOptionDetails struct {// Exchange: Output only. The type of exchange.//// Possible values:// "EXCHANGE_UNSPECIFIED" - Exchange is not specified or is unknown in// this version.// "EXCHANGE_GOOGLE_AD_MANAGER" - Google Ad Manager.// "EXCHANGE_APPNEXUS" - AppNexus.// "EXCHANGE_BRIGHTROLL" - BrightRoll Exchange for Video from Yahoo!.// "EXCHANGE_ADFORM" - Adform.// "EXCHANGE_ADMETA" - Admeta.// "EXCHANGE_ADMIXER" - Admixer.// "EXCHANGE_ADSMOGO" - AdsMogo.// "EXCHANGE_ADSWIZZ" - AdsWizz.// "EXCHANGE_BIDSWITCH" - BidSwitch.// "EXCHANGE_BRIGHTROLL_DISPLAY" - BrightRoll Exchange for Display// from Yahoo!.// "EXCHANGE_CADREON" - Cadreon.// "EXCHANGE_DAILYMOTION" - Dailymotion.// "EXCHANGE_FIVE" - Five.// "EXCHANGE_FLUCT" - Fluct.// "EXCHANGE_FREEWHEEL" - FreeWheel SSP.// "EXCHANGE_GENIEE" - Geniee.// "EXCHANGE_GUMGUM" - GumGum.// "EXCHANGE_IMOBILE" - i-mobile.// "EXCHANGE_IBILLBOARD" - iBILLBOARD.// "EXCHANGE_IMPROVE_DIGITAL" - Improve Digital.// "EXCHANGE_INDEX" - Index Exchange.// "EXCHANGE_KARGO" - Kargo.// "EXCHANGE_MICROAD" - MicroAd.// "EXCHANGE_MOPUB" - MoPub.// "EXCHANGE_NEND" - Nend.// "EXCHANGE_ONE_BY_AOL_DISPLAY" - ONE by AOL: Display Market Place.// "EXCHANGE_ONE_BY_AOL_MOBILE" - ONE by AOL: Mobile.// "EXCHANGE_ONE_BY_AOL_VIDEO" - ONE by AOL: Video.// "EXCHANGE_OOYALA" - Ooyala.// "EXCHANGE_OPENX" - OpenX.// "EXCHANGE_PERMODO" - Permodo.// "EXCHANGE_PLATFORMONE" - Platform One.// "EXCHANGE_PLATFORMID" - PlatformId.// "EXCHANGE_PUBMATIC" - PubMatic.// "EXCHANGE_PULSEPOINT" - PulsePoint.// "EXCHANGE_REVENUEMAX" - RevenueMax.// "EXCHANGE_RUBICON" - Rubicon.// "EXCHANGE_SMARTCLIP" - SmartClip.// "EXCHANGE_SMARTRTB" - SmartRTB+.// "EXCHANGE_SMARTSTREAMTV" - SmartstreamTv.// "EXCHANGE_SOVRN" - Sovrn.// "EXCHANGE_SPOTXCHANGE" - SpotXchange.// "EXCHANGE_STROER" - Ströer SSP.// "EXCHANGE_TEADSTV" - TeadsTv.// "EXCHANGE_TELARIA" - Telaria.// "EXCHANGE_TVN" - TVN.// "EXCHANGE_UNITED" - United.// "EXCHANGE_YIELDLAB" - Yieldlab.// "EXCHANGE_YIELDMO" - Yieldmo.// "EXCHANGE_UNRULYX" - UnrulyX.// "EXCHANGE_OPEN8" - Open8.// "EXCHANGE_TRITON" - Triton.// "EXCHANGE_TRIPLELIFT" - TripleLift.// "EXCHANGE_TABOOLA" - Taboola.// "EXCHANGE_INMOBI" - InMobi.// "EXCHANGE_SMAATO" - Smaato.// "EXCHANGE_AJA" - Aja.// "EXCHANGE_SUPERSHIP" - Supership.// "EXCHANGE_NEXSTAR_DIGITAL" - Nexstar Digital.// "EXCHANGE_WAZE" - Waze.// "EXCHANGE_SOUNDCAST" - SoundCast.// "EXCHANGE_SHARETHROUGH" - Sharethrough.// "EXCHANGE_FYBER" - Fyber.// "EXCHANGE_RED_FOR_PUBLISHERS" - Red For Publishers.// "EXCHANGE_MEDIANET" - Media.net.// "EXCHANGE_TAPJOY" - Tapjoy.// "EXCHANGE_VISTAR" - Vistar.// "EXCHANGE_DAX" - DAX.// "EXCHANGE_JCD" - JCD.// "EXCHANGE_PLACE_EXCHANGE" - Place Exchange.// "EXCHANGE_APPLOVIN" - AppLovin.// "EXCHANGE_CONNATIX" - Connatix.// "EXCHANGE_RESET_DIGITAL" - Reset Digital.// "EXCHANGE_HIVESTACK" - Hivestack.Exchangestring `json:"exchange,omitempty"`// ForceSendFields is a list of field names (e.g. "Exchange") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Exchange") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ExchangeTargetingOptionDetails: Represents a targetable exchange.This will be populated in the exchange_details field of aTargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`.
func (*ExchangeTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ExchangeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeExitEvent¶added inv0.23.0
type ExitEvent struct {// Name: The name of the click tag of the exit event. The name must be// unique within one creative. Leave it empty or unset for creatives// containing image assets only.Namestring `json:"name,omitempty"`// ReportingName: The name used to identify this event in reports. Leave// it empty or unset for creatives containing image assets only.ReportingNamestring `json:"reportingName,omitempty"`// Type: Required. The type of the exit event.//// Possible values:// "EXIT_EVENT_TYPE_UNSPECIFIED" - Exit event type is not specified or// is unknown in this version.// "EXIT_EVENT_TYPE_DEFAULT" - The exit event is the default one.// "EXIT_EVENT_TYPE_BACKUP" - The exit event is a backup exit event.// There could be multiple backup exit events in a creative.Typestring `json:"type,omitempty"`// Url: Required. The click through URL of the exit event. This is// required when type is: * `EXIT_EVENT_TYPE_DEFAULT` *// `EXIT_EVENT_TYPE_BACKUP`Urlstring `json:"url,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ExitEvent: Exit event of the creative.
func (*ExitEvent)MarshalJSON¶added inv0.23.0
typeFirstAndThirdPartyAudience¶added inv0.23.0
type FirstAndThirdPartyAudience struct {// ActiveDisplayAudienceSize: Output only. The estimated audience size// for the Display network in the past month. If the size is less than// 1000, the number will be hidden and 0 will be returned due to privacy// reasons. Otherwise, the number will be rounded off to two significant// digits. Only returned in GET request.ActiveDisplayAudienceSizeint64 `json:"activeDisplayAudienceSize,omitempty,string"`// AppId: The app_id matches with the type of the mobile_device_ids// being uploaded. Only applicable to audience_type// `CUSTOMER_MATCH_DEVICE_ID`AppIdstring `json:"appId,omitempty"`// AudienceSource: Output only. The source of the audience.//// Possible values:// "AUDIENCE_SOURCE_UNSPECIFIED" - Default value when audience source// is not specified or is unknown.// "DISPLAY_VIDEO_360" - Originated from Display & Video 360.// "CAMPAIGN_MANAGER" - Originated from Campaign Manager 360.// "AD_MANAGER" - Originated from Google Ad Manager.// "SEARCH_ADS_360" - Originated from Search Ads 360.// "YOUTUBE" - Originated from Youtube.// "ADS_DATA_HUB" - Originated from Ads Data Hub.AudienceSourcestring `json:"audienceSource,omitempty"`// AudienceType: The type of the audience.//// Possible values:// "AUDIENCE_TYPE_UNSPECIFIED" - Default value when type is not// specified or is unknown.// "CUSTOMER_MATCH_CONTACT_INFO" - Audience was generated through// matching customers to known contact information.// "CUSTOMER_MATCH_DEVICE_ID" - Audience was generated through// matching customers to known Mobile device IDs.// "CUSTOMER_MATCH_USER_ID" - Audience was generated through matching// customers to known User IDs.// "ACTIVITY_BASED" - Audience was created based on campaign activity.// "FREQUENCY_CAP" - Audience was created based on excluding the// number of impressions they were served.// "TAG_BASED" - Audience was created based on custom variables// attached to pixel.// "YOUTUBE_USERS" - Audience was created based on past interactions// with videos, YouTube ads, or YouTube channel.// "LICENSED" - Subtype of third party audience type.AudienceTypestring `json:"audienceType,omitempty"`// ContactInfoList: Input only. A list of contact information to define// the initial audience members. Only applicable to audience_type// `CUSTOMER_MATCH_CONTACT_INFO`ContactInfoList *ContactInfoList `json:"contactInfoList,omitempty"`// Description: The user-provided description of the audience. Only// applicable to first party audiences.Descriptionstring `json:"description,omitempty"`// DisplayAudienceSize: Output only. The estimated audience size for the// Display network. If the size is less than 1000, the number will be// hidden and 0 will be returned due to privacy reasons. Otherwise, the// number will be rounded off to two significant digits. Only returned// in GET request.DisplayAudienceSizeint64 `json:"displayAudienceSize,omitempty,string"`// DisplayDesktopAudienceSize: Output only. The estimated desktop// audience size in Display network. If the size is less than 1000, the// number will be hidden and 0 will be returned due to privacy reasons.// Otherwise, the number will be rounded off to two significant digits.// Only applicable to first party audiences. Only returned in GET// request.DisplayDesktopAudienceSizeint64 `json:"displayDesktopAudienceSize,omitempty,string"`// DisplayMobileAppAudienceSize: Output only. The estimated mobile app// audience size in Display network. If the size is less than 1000, the// number will be hidden and 0 will be returned due to privacy reasons.// Otherwise, the number will be rounded off to two significant digits.// Only applicable to first party audiences. Only returned in GET// request.DisplayMobileAppAudienceSizeint64 `json:"displayMobileAppAudienceSize,omitempty,string"`// DisplayMobileWebAudienceSize: Output only. The estimated mobile web// audience size in Display network. If the size is less than 1000, the// number will be hidden and 0 will be returned due to privacy reasons.// Otherwise, the number will be rounded off to two significant digits.// Only applicable to first party audiences. Only returned in GET// request.DisplayMobileWebAudienceSizeint64 `json:"displayMobileWebAudienceSize,omitempty,string"`// DisplayName: The display name of the first and third party audience.DisplayNamestring `json:"displayName,omitempty"`// FirstAndThirdPartyAudienceId: Output only. The unique ID of the first// and third party audience. Assigned by the system.FirstAndThirdPartyAudienceIdint64 `json:"firstAndThirdPartyAudienceId,omitempty,string"`// FirstAndThirdPartyAudienceType: Whether the audience is a first or// third party audience.//// Possible values:// "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_UNSPECIFIED" - Default value// when type is not specified or is unknown.// "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_FIRST_PARTY" - Audience that// is created via usage of client data.// "FIRST_AND_THIRD_PARTY_AUDIENCE_TYPE_THIRD_PARTY" - Audience that// is provided by Third Party data providers.FirstAndThirdPartyAudienceTypestring `json:"firstAndThirdPartyAudienceType,omitempty"`// GmailAudienceSize: Output only. The estimated audience size for Gmail// network. If the size is less than 1000, the number will be hidden and// 0 will be returned due to privacy reasons. Otherwise, the number will// be rounded off to two significant digits. Only applicable to first// party audiences. Only returned in GET request.GmailAudienceSizeint64 `json:"gmailAudienceSize,omitempty,string"`// MembershipDurationDays: The duration in days that an entry remains in// the audience after the qualifying event. If the audience has no// expiration, set the value of this field to 10000. Otherwise, the set// value must be greater than 0 and less than or equal to 540. Only// applicable to first party audiences. This field is required if one of// the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO`// * `CUSTOMER_MATCH_DEVICE_ID`MembershipDurationDaysint64 `json:"membershipDurationDays,omitempty,string"`// MobileDeviceIdList: Input only. A list of mobile device IDs to define// the initial audience members. Only applicable to audience_type// `CUSTOMER_MATCH_DEVICE_ID`MobileDeviceIdList *MobileDeviceIdList `json:"mobileDeviceIdList,omitempty"`// Name: Output only. The resource name of the first and third party// audience.Namestring `json:"name,omitempty"`// YoutubeAudienceSize: Output only. The estimated audience size for// YouTube network. If the size is less than 1000, the number will be// hidden and 0 will be returned due to privacy reasons. Otherwise, the// number will be rounded off to two significant digits. Only applicable// to first party audiences. Only returned in GET request.YoutubeAudienceSizeint64 `json:"youtubeAudienceSize,omitempty,string"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "ActiveDisplayAudienceSize") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "ActiveDisplayAudienceSize") to include in API requests with the JSON// null value. By default, fields with empty values are omitted from API// requests. However, any field with an empty value appearing in// NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}FirstAndThirdPartyAudience: Describes a first or third party audiencelist used for targeting. First party audiences are created via usageof client data. Third party audiences are provided by Third Partydata providers and can only be licensed to customers.
func (*FirstAndThirdPartyAudience)MarshalJSON¶added inv0.23.0
func (s *FirstAndThirdPartyAudience) MarshalJSON() ([]byte,error)
typeFirstAndThirdPartyAudienceGroup¶added inv0.23.0
type FirstAndThirdPartyAudienceGroup struct {// Settings: Required. All first and third party audience targeting// settings in first and third party audience group. Repeated settings// with same id are not allowed.Settings []*FirstAndThirdPartyAudienceTargetingSetting `json:"settings,omitempty"`// ForceSendFields is a list of field names (e.g. "Settings") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Settings") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}FirstAndThirdPartyAudienceGroup: Details of first and third partyaudience group. All first and third party audience targeting settingsare logically ‘OR’ of each other.
func (*FirstAndThirdPartyAudienceGroup)MarshalJSON¶added inv0.23.0
func (s *FirstAndThirdPartyAudienceGroup) MarshalJSON() ([]byte,error)
typeFirstAndThirdPartyAudienceTargetingSetting¶added inv0.23.0
type FirstAndThirdPartyAudienceTargetingSetting struct {// FirstAndThirdPartyAudienceId: Required. First and third party// audience id of the first and third party audience targeting setting.// This id is first_and_third_party_audience_id.FirstAndThirdPartyAudienceIdint64 `json:"firstAndThirdPartyAudienceId,omitempty,string"`// Recency: The recency of the first and third party audience targeting// setting. Only applicable to first party audiences, otherwise will be// ignored. For more info, refer to//https://support.google.com/displayvideo/answer/2949947#recency When// unspecified, no recency limit will be used.//// Possible values:// "RECENCY_NO_LIMIT" - No limit of recency.// "RECENCY_1_MINUTE" - Recency is 1 minute.// "RECENCY_5_MINUTES" - Recency is 5 minutes.// "RECENCY_10_MINUTES" - Recency is 10 minutes.// "RECENCY_15_MINUTES" - Recency is 15 minutes.// "RECENCY_30_MINUTES" - Recency is 30 minutes.// "RECENCY_1_HOUR" - Recency is 1 hour.// "RECENCY_2_HOURS" - Recency is 2 hours.// "RECENCY_3_HOURS" - Recency is 3 hours.// "RECENCY_6_HOURS" - Recency is 6 hours.// "RECENCY_12_HOURS" - Recency is 12 hours.// "RECENCY_1_DAY" - Recency is 1 day.// "RECENCY_2_DAYS" - Recency is 2 days.// "RECENCY_3_DAYS" - Recency is 3 days.// "RECENCY_5_DAYS" - Recency is 5 days.// "RECENCY_7_DAYS" - Recency is 7 days.// "RECENCY_10_DAYS" - Recency is 10 days.// "RECENCY_14_DAYS" - Recency is 14 days.// "RECENCY_15_DAYS" - Recency is 15 days.// "RECENCY_21_DAYS" - Recency is 21 days.// "RECENCY_28_DAYS" - Recency is 28 days.// "RECENCY_30_DAYS" - Recency is 30 days.// "RECENCY_40_DAYS" - Recency is 40 days.// "RECENCY_45_DAYS" - Recency is 45 days.// "RECENCY_60_DAYS" - Recency is 60 days.// "RECENCY_90_DAYS" - Recency is 90 days.// "RECENCY_120_DAYS" - Recency is 120 days.// "RECENCY_180_DAYS" - Recency is 180 days.// "RECENCY_270_DAYS" - Recency is 270 days.// "RECENCY_365_DAYS" - Recency is 365 days.Recencystring `json:"recency,omitempty"`// ForceSendFields is a list of field names (e.g.// "FirstAndThirdPartyAudienceId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "FirstAndThirdPartyAudienceId") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}FirstAndThirdPartyAudienceTargetingSetting: Details of first andthird party audience targeting setting.
func (*FirstAndThirdPartyAudienceTargetingSetting)MarshalJSON¶added inv0.23.0
func (s *FirstAndThirdPartyAudienceTargetingSetting) MarshalJSON() ([]byte,error)
typeFirstAndThirdPartyAudiencesCreateCall¶added inv0.66.0
type FirstAndThirdPartyAudiencesCreateCall struct {// contains filtered or unexported fields}func (*FirstAndThirdPartyAudiencesCreateCall)AdvertiserId¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesCreateCall) AdvertiserId(advertiserIdint64) *FirstAndThirdPartyAudiencesCreateCall
AdvertiserId sets the optional parameter "advertiserId": Required.The ID of the advertiser under whom the FirstAndThirdPartyAudiencewill be created.
func (*FirstAndThirdPartyAudiencesCreateCall)Context¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesCreateCall) Context(ctxcontext.Context) *FirstAndThirdPartyAudiencesCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*FirstAndThirdPartyAudiencesCreateCall)Do¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesCreateCall) Do(opts ...googleapi.CallOption) (*FirstAndThirdPartyAudience,error)
Do executes the "displayvideo.firstAndThirdPartyAudiences.create" call.Exactly one of *FirstAndThirdPartyAudience or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*FirstAndThirdPartyAudience.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*FirstAndThirdPartyAudiencesCreateCall)Fields¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesCreateCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*FirstAndThirdPartyAudiencesCreateCall)Header¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeFirstAndThirdPartyAudiencesEditCustomerMatchMembersCall¶added inv0.66.0
type FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall struct {// contains filtered or unexported fields}func (*FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall)Context¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Context(ctxcontext.Context) *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall)Do¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Do(opts ...googleapi.CallOption) (*EditCustomerMatchMembersResponse,error)
Do executes the "displayvideo.firstAndThirdPartyAudiences.editCustomerMatchMembers" call.Exactly one of *EditCustomerMatchMembersResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *EditCustomerMatchMembersResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall)Fields¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall)Header¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeFirstAndThirdPartyAudiencesGetCall¶added inv0.23.0
type FirstAndThirdPartyAudiencesGetCall struct {// contains filtered or unexported fields}func (*FirstAndThirdPartyAudiencesGetCall)AdvertiserId¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesGetCall) AdvertiserId(advertiserIdint64) *FirstAndThirdPartyAudiencesGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the fetched first and third partyaudience.
func (*FirstAndThirdPartyAudiencesGetCall)Context¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesGetCall) Context(ctxcontext.Context) *FirstAndThirdPartyAudiencesGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*FirstAndThirdPartyAudiencesGetCall)Do¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesGetCall) Do(opts ...googleapi.CallOption) (*FirstAndThirdPartyAudience,error)
Do executes the "displayvideo.firstAndThirdPartyAudiences.get" call.Exactly one of *FirstAndThirdPartyAudience or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*FirstAndThirdPartyAudience.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*FirstAndThirdPartyAudiencesGetCall)Fields¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesGetCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*FirstAndThirdPartyAudiencesGetCall)Header¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*FirstAndThirdPartyAudiencesGetCall)IfNoneMatch¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesGetCall) IfNoneMatch(entityTagstring) *FirstAndThirdPartyAudiencesGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*FirstAndThirdPartyAudiencesGetCall)PartnerId¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesGetCall) PartnerId(partnerIdint64) *FirstAndThirdPartyAudiencesGetCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the fetched first and third partyaudience.
typeFirstAndThirdPartyAudiencesListCall¶added inv0.23.0
type FirstAndThirdPartyAudiencesListCall struct {// contains filtered or unexported fields}func (*FirstAndThirdPartyAudiencesListCall)AdvertiserId¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) AdvertiserId(advertiserIdint64) *FirstAndThirdPartyAudiencesListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the fetched first and third partyaudiences.
func (*FirstAndThirdPartyAudiencesListCall)Context¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) Context(ctxcontext.Context) *FirstAndThirdPartyAudiencesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*FirstAndThirdPartyAudiencesListCall)Do¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) Do(opts ...googleapi.CallOption) (*ListFirstAndThirdPartyAudiencesResponse,error)
Do executes the "displayvideo.firstAndThirdPartyAudiences.list" call.Exactly one of *ListFirstAndThirdPartyAudiencesResponse or error willbe non-nil. Any non-2xx status code is an error. Response headers arein either*ListFirstAndThirdPartyAudiencesResponse.ServerResponse.Header or (ifa response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*FirstAndThirdPartyAudiencesListCall)Fields¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*FirstAndThirdPartyAudiencesListCall)Filter¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) Filter(filterstring) *FirstAndThirdPartyAudiencesListCall
Filter sets the optional parameter "filter": Allows filtering byfirst and third party audience fields. Supported syntax: * Filterexpressions for first and third party audiences can only contain atmost one restriction. * A restriction has the form of `{field}{operator} {value}`. * All fields must use the `HAS (:)` operator.Supported fields: * `displayName` Examples: * All first and thirdparty audiences for which the display name contains "Google":`displayName:"Google". The length of this field should be no morethan 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*FirstAndThirdPartyAudiencesListCall)Header¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*FirstAndThirdPartyAudiencesListCall)IfNoneMatch¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) IfNoneMatch(entityTagstring) *FirstAndThirdPartyAudiencesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*FirstAndThirdPartyAudiencesListCall)OrderBy¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) OrderBy(orderBystring) *FirstAndThirdPartyAudiencesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `firstAndThirdPartyAudienceId`(default) * `displayName` The default sorting order is ascending. Tospecify descending order for a field, a suffix "desc" should be addedto the field name. Example: `displayName desc`.
func (*FirstAndThirdPartyAudiencesListCall)PageSize¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) PageSize(pageSizeint64) *FirstAndThirdPartyAudiencesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*FirstAndThirdPartyAudiencesListCall)PageToken¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) PageToken(pageTokenstring) *FirstAndThirdPartyAudiencesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListFirstAndThirdPartyAudiences` method. If not specified, thefirst page of results will be returned.
func (*FirstAndThirdPartyAudiencesListCall)Pages¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) Pages(ctxcontext.Context, f func(*ListFirstAndThirdPartyAudiencesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*FirstAndThirdPartyAudiencesListCall)PartnerId¶added inv0.23.0
func (c *FirstAndThirdPartyAudiencesListCall) PartnerId(partnerIdint64) *FirstAndThirdPartyAudiencesListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the fetched first and third partyaudiences.
typeFirstAndThirdPartyAudiencesPatchCall¶added inv0.66.0
type FirstAndThirdPartyAudiencesPatchCall struct {// contains filtered or unexported fields}func (*FirstAndThirdPartyAudiencesPatchCall)AdvertiserId¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesPatchCall) AdvertiserId(advertiserIdint64) *FirstAndThirdPartyAudiencesPatchCall
AdvertiserId sets the optional parameter "advertiserId": Required.The ID of the owner advertiser of the updatedFirstAndThirdPartyAudience.
func (*FirstAndThirdPartyAudiencesPatchCall)Context¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesPatchCall) Context(ctxcontext.Context) *FirstAndThirdPartyAudiencesPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*FirstAndThirdPartyAudiencesPatchCall)Do¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesPatchCall) Do(opts ...googleapi.CallOption) (*FirstAndThirdPartyAudience,error)
Do executes the "displayvideo.firstAndThirdPartyAudiences.patch" call.Exactly one of *FirstAndThirdPartyAudience or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*FirstAndThirdPartyAudience.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*FirstAndThirdPartyAudiencesPatchCall)Fields¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesPatchCall) Fields(s ...googleapi.Field) *FirstAndThirdPartyAudiencesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*FirstAndThirdPartyAudiencesPatchCall)Header¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*FirstAndThirdPartyAudiencesPatchCall)UpdateMask¶added inv0.66.0
func (c *FirstAndThirdPartyAudiencesPatchCall) UpdateMask(updateMaskstring) *FirstAndThirdPartyAudiencesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update. Updates are only supportedfor the following fields: * `displayName` * `description` *`membershipDurationDays`
typeFirstAndThirdPartyAudiencesService¶added inv0.23.0
type FirstAndThirdPartyAudiencesService struct {// contains filtered or unexported fields}funcNewFirstAndThirdPartyAudiencesService¶added inv0.23.0
func NewFirstAndThirdPartyAudiencesService(s *Service) *FirstAndThirdPartyAudiencesService
func (*FirstAndThirdPartyAudiencesService)Create¶added inv0.66.0
func (r *FirstAndThirdPartyAudiencesService) Create(firstandthirdpartyaudience *FirstAndThirdPartyAudience) *FirstAndThirdPartyAudiencesCreateCall
Create: Creates a FirstAndThirdPartyAudience. Only supported for thefollowing audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` *`CUSTOMER_MATCH_DEVICE_ID`
func (*FirstAndThirdPartyAudiencesService)EditCustomerMatchMembers¶added inv0.66.0
func (r *FirstAndThirdPartyAudiencesService) EditCustomerMatchMembers(firstAndThirdPartyAudienceIdint64, editcustomermatchmembersrequest *EditCustomerMatchMembersRequest) *FirstAndThirdPartyAudiencesEditCustomerMatchMembersCall
EditCustomerMatchMembers: Updates the member list of a Customer Matchaudience. Only supported for the following audience_type: *`CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
- firstAndThirdPartyAudienceId: The ID of the Customer MatchFirstAndThirdPartyAudience whose members will be edited.
func (*FirstAndThirdPartyAudiencesService)Get¶added inv0.23.0
func (r *FirstAndThirdPartyAudiencesService) Get(firstAndThirdPartyAudienceIdint64) *FirstAndThirdPartyAudiencesGetCall
Get: Gets a first and third party audience.
- firstAndThirdPartyAudienceId: The ID of the first and third partyaudience to fetch.
func (*FirstAndThirdPartyAudiencesService)List¶added inv0.23.0
func (r *FirstAndThirdPartyAudiencesService) List() *FirstAndThirdPartyAudiencesListCall
List: Lists first and third party audiences. The order is defined bythe order_by parameter.
func (*FirstAndThirdPartyAudiencesService)Patch¶added inv0.66.0
func (r *FirstAndThirdPartyAudiencesService) Patch(firstAndThirdPartyAudienceIdint64, firstandthirdpartyaudience *FirstAndThirdPartyAudience) *FirstAndThirdPartyAudiencesPatchCall
Patch: Updates an existing FirstAndThirdPartyAudience. Only supportedfor the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` *`CUSTOMER_MATCH_DEVICE_ID`
- firstAndThirdPartyAudienceId: Output only. The unique ID of thefirst and third party audience. Assigned by the system.
typeFixedBidStrategy¶added inv0.23.0
type FixedBidStrategy struct {// BidAmountMicros: The fixed bid amount, in micros of the advertiser's// currency. For insertion order entity, bid_amount_micros should be set// as 0. For line item entity, bid_amount_micros must be greater than or// equal to billable unit of the given currency and smaller than or// equal to the upper limit 1000000000. For example, 1500000 represents// 1.5 standard units of the currency.BidAmountMicrosint64 `json:"bidAmountMicros,omitempty,string"`// ForceSendFields is a list of field names (e.g. "BidAmountMicros") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BidAmountMicros") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}FixedBidStrategy: A strategy that uses a fixed bidding price.
func (*FixedBidStrategy)MarshalJSON¶added inv0.23.0
func (s *FixedBidStrategy) MarshalJSON() ([]byte,error)
typeFloodlightGroup¶added inv0.23.0
type FloodlightGroup struct {// ActiveViewConfig: The Active View video viewability metric// configuration for the Floodlight group.ActiveViewConfig *ActiveViewVideoViewabilityMetricConfig `json:"activeViewConfig,omitempty"`// CustomVariables: User-defined custom variables owned by the// Floodlight group. Use custom Floodlight variables to create reporting// data that is tailored to your unique business needs. Custom// Floodlight variables use the keys `U1=`, `U2=`, and so on, and can// take any values that you choose to pass to them. You can use them to// track virtually any type of data that you collect about your// customers, such as the genre of movie that a customer purchases, the// country to which the item is shipped, and so on. Custom Floodlight// variables may not be used to pass any data that could be used or// recognized as personally identifiable information (PII). Example:// `custom_variables { fields { "U1": value { number_value: 123.4 },// "U2": value { string_value: "MyVariable2" }, "U3": value {// string_value: "MyVariable3" } } }` Acceptable values for keys are// "U1" through "U100", inclusive. String values must be less than 64// characters long, and cannot contain the following characters: "<>`.CustomVariablesgoogleapi.RawMessage `json:"customVariables,omitempty"`// DisplayName: Required. The display name of the Floodlight group.DisplayNamestring `json:"displayName,omitempty"`// FloodlightGroupId: Output only. The unique ID of the Floodlight// group. Assigned by the system.FloodlightGroupIdint64 `json:"floodlightGroupId,omitempty,string"`// LookbackWindow: Required. The lookback window for the Floodlight// group. Both click_days and impression_days are required. Acceptable// values for both are `0` to `90`, inclusive.LookbackWindow *LookbackWindow `json:"lookbackWindow,omitempty"`// Name: Output only. The resource name of the Floodlight group.Namestring `json:"name,omitempty"`// WebTagType: Required. The web tag type enabled for the Floodlight// group.//// Possible values:// "WEB_TAG_TYPE_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "WEB_TAG_TYPE_NONE" - No tag type.// "WEB_TAG_TYPE_IMAGE" - Image tag.// "WEB_TAG_TYPE_DYNAMIC" - Dynamic tag.WebTagTypestring `json:"webTagType,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ActiveViewConfig") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ActiveViewConfig") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}FloodlightGroup: A single Floodlight group.
func (*FloodlightGroup)MarshalJSON¶added inv0.23.0
func (s *FloodlightGroup) MarshalJSON() ([]byte,error)
typeFloodlightGroupsGetCall¶added inv0.23.0
type FloodlightGroupsGetCall struct {// contains filtered or unexported fields}func (*FloodlightGroupsGetCall)Context¶added inv0.23.0
func (c *FloodlightGroupsGetCall) Context(ctxcontext.Context) *FloodlightGroupsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*FloodlightGroupsGetCall)Do¶added inv0.23.0
func (c *FloodlightGroupsGetCall) Do(opts ...googleapi.CallOption) (*FloodlightGroup,error)
Do executes the "displayvideo.floodlightGroups.get" call.Exactly one of *FloodlightGroup or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*FloodlightGroup.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*FloodlightGroupsGetCall)Fields¶added inv0.23.0
func (c *FloodlightGroupsGetCall) Fields(s ...googleapi.Field) *FloodlightGroupsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*FloodlightGroupsGetCall)Header¶added inv0.23.0
func (c *FloodlightGroupsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*FloodlightGroupsGetCall)IfNoneMatch¶added inv0.23.0
func (c *FloodlightGroupsGetCall) IfNoneMatch(entityTagstring) *FloodlightGroupsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*FloodlightGroupsGetCall)PartnerId¶added inv0.23.0
func (c *FloodlightGroupsGetCall) PartnerId(partnerIdint64) *FloodlightGroupsGetCall
PartnerId sets the optional parameter "partnerId": Required. Thepartner context by which the Floodlight group is being accessed.
typeFloodlightGroupsPatchCall¶added inv0.23.0
type FloodlightGroupsPatchCall struct {// contains filtered or unexported fields}func (*FloodlightGroupsPatchCall)Context¶added inv0.23.0
func (c *FloodlightGroupsPatchCall) Context(ctxcontext.Context) *FloodlightGroupsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*FloodlightGroupsPatchCall)Do¶added inv0.23.0
func (c *FloodlightGroupsPatchCall) Do(opts ...googleapi.CallOption) (*FloodlightGroup,error)
Do executes the "displayvideo.floodlightGroups.patch" call.Exactly one of *FloodlightGroup or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*FloodlightGroup.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*FloodlightGroupsPatchCall)Fields¶added inv0.23.0
func (c *FloodlightGroupsPatchCall) Fields(s ...googleapi.Field) *FloodlightGroupsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*FloodlightGroupsPatchCall)Header¶added inv0.23.0
func (c *FloodlightGroupsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*FloodlightGroupsPatchCall)PartnerId¶added inv0.23.0
func (c *FloodlightGroupsPatchCall) PartnerId(partnerIdint64) *FloodlightGroupsPatchCall
PartnerId sets the optional parameter "partnerId": Required. Thepartner context by which the Floodlight group is being accessed.
func (*FloodlightGroupsPatchCall)UpdateMask¶added inv0.23.0
func (c *FloodlightGroupsPatchCall) UpdateMask(updateMaskstring) *FloodlightGroupsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeFloodlightGroupsService¶added inv0.23.0
type FloodlightGroupsService struct {// contains filtered or unexported fields}funcNewFloodlightGroupsService¶added inv0.23.0
func NewFloodlightGroupsService(s *Service) *FloodlightGroupsService
func (*FloodlightGroupsService)Get¶added inv0.23.0
func (r *FloodlightGroupsService) Get(floodlightGroupIdint64) *FloodlightGroupsGetCall
Get: Gets a Floodlight group.
- floodlightGroupId: The ID of the Floodlight group to fetch.
func (*FloodlightGroupsService)Patch¶added inv0.23.0
func (r *FloodlightGroupsService) Patch(floodlightGroupIdint64, floodlightgroup *FloodlightGroup) *FloodlightGroupsPatchCall
Patch: Updates an existing Floodlight group. Returns the updatedFloodlight group if successful.
- floodlightGroupId: Output only. The unique ID of the Floodlightgroup. Assigned by the system.
typeFrequencyCap¶added inv0.23.0
type FrequencyCap struct {// MaxImpressions: The maximum number of times a user may be shown the// same ad during this period. Must be greater than 0. Required when// unlimited is `false` and max_views is not set.MaxImpressionsint64 `json:"maxImpressions,omitempty"`// TimeUnit: The time unit in which the frequency cap will be applied.// Required when unlimited is `false`.//// Possible values:// "TIME_UNIT_UNSPECIFIED" - Time unit value is not specified or is// unknown in this version.// "TIME_UNIT_LIFETIME" - The frequency cap will be applied to the// whole life time of the line item.// "TIME_UNIT_MONTHS" - The frequency cap will be applied to a number// of months.// "TIME_UNIT_WEEKS" - The frequency cap will be applied to a number// of weeks.// "TIME_UNIT_DAYS" - The frequency cap will be applied to a number of// days.// "TIME_UNIT_HOURS" - The frequency cap will be applied to a number// of hours.// "TIME_UNIT_MINUTES" - The frequency cap will be applied to a number// of minutes.TimeUnitstring `json:"timeUnit,omitempty"`// TimeUnitCount: The number of time_unit the frequency cap will last.// Required when unlimited is `false`. The following restrictions apply// based on the value of time_unit: * `TIME_UNIT_LIFETIME` - this field// is output only and will default to 1 * `TIME_UNIT_MONTHS` - must be// between 1 and 2 * `TIME_UNIT_WEEKS` - must be between 1 and 4 *// `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must// be between 1 and 23 * `TIME_UNIT_MINUTES` - must be between 1 and 59TimeUnitCountint64 `json:"timeUnitCount,omitempty"`// Unlimited: Whether unlimited frequency capping is applied. When this// field is set to `true`, the remaining frequency cap fields are not// applicable.Unlimitedbool `json:"unlimited,omitempty"`// ForceSendFields is a list of field names (e.g. "MaxImpressions") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MaxImpressions") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}FrequencyCap: Settings that control the number of times a user may beshown with the same ad during a given time period.
func (*FrequencyCap)MarshalJSON¶added inv0.23.0
func (s *FrequencyCap) MarshalJSON() ([]byte,error)
typeGenderAssignedTargetingOptionDetails¶added inv0.23.0
type GenderAssignedTargetingOptionDetails struct {// Gender: Required. The gender of the audience.//// Possible values:// "GENDER_UNSPECIFIED" - Default value when gender is not specified// in this version. This enum is a place holder for default value and// does not represent a real gender option.// "GENDER_MALE" - The audience gender is male.// "GENDER_FEMALE" - The audience gender is female.// "GENDER_UNKNOWN" - The audience gender is unknown.Genderstring `json:"gender,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_GENDER`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "Gender") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Gender") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GenderAssignedTargetingOptionDetails: Details for assigned gendertargeting option. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_GENDER`.
func (*GenderAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *GenderAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeGenderTargetingOptionDetails¶added inv0.23.0
type GenderTargetingOptionDetails struct {// Gender: Output only. The gender of an audience.//// Possible values:// "GENDER_UNSPECIFIED" - Default value when gender is not specified// in this version. This enum is a place holder for default value and// does not represent a real gender option.// "GENDER_MALE" - The audience gender is male.// "GENDER_FEMALE" - The audience gender is female.// "GENDER_UNKNOWN" - The audience gender is unknown.Genderstring `json:"gender,omitempty"`// ForceSendFields is a list of field names (e.g. "Gender") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Gender") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GenderTargetingOptionDetails: Represents a targetable gender. Thiswill be populated in the gender_details field of a TargetingOptionwhen targeting_type is `TARGETING_TYPE_GENDER`.
func (*GenderTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *GenderTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeGenerateDefaultLineItemRequest¶added inv0.43.0
type GenerateDefaultLineItemRequest struct {// DisplayName: Required. The display name of the line item. Must be// UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// InsertionOrderId: Required. The unique ID of the insertion order that// the line item belongs to.InsertionOrderIdint64 `json:"insertionOrderId,omitempty,string"`// LineItemType: Required. The type of the line item.//// Possible values:// "LINE_ITEM_TYPE_UNSPECIFIED" - Type value is not specified or is// unknown in this version. Line items of this type and their targeting// cannot be created or updated using the API.// "LINE_ITEM_TYPE_DISPLAY_DEFAULT" - Image, HTML5, native, or rich// media ads.// "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL" - Display ads that// drive installs of an app.// "LINE_ITEM_TYPE_VIDEO_DEFAULT" - Video ads sold on a CPM basis for// a variety of environments.// "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL" - Video ads that drive// installs of an app.// "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY" - Display ads served// on mobile app inventory. Line items of this type and their targeting// cannot be created or updated using the API.// "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY" - Video ads served on// mobile app inventory. Line items of this type and their targeting// cannot be created or updated using the API.// "LINE_ITEM_TYPE_AUDIO_DEFAULT" - RTB Audio ads sold for a variety// of environments.// "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP" - Over-the-top ads present in// OTT insertion orders. This type is only applicable to line items with// an insertion order of insertion_order_type `OVER_THE_TOP`.// "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME" - Display ads served on// digital-out-of-home inventory. Line items of this type and their// targeting cannot be created or updated using the API.// "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - Video ads served on// digital-out-of-home inventory. Line items of this type and their// targeting cannot be created or updated using the API.LineItemTypestring `json:"lineItemType,omitempty"`// MobileApp: The mobile app promoted by the line item. This is// applicable only when line_item_type is either// `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or// `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`.MobileApp *MobileApp `json:"mobileApp,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GenerateDefaultLineItemRequest: Request message forLineItemService.GenerateDefaultLineItem.
func (*GenerateDefaultLineItemRequest)MarshalJSON¶added inv0.43.0
func (s *GenerateDefaultLineItemRequest) MarshalJSON() ([]byte,error)
typeGeoRegionAssignedTargetingOptionDetails¶added inv0.23.0
type GeoRegionAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the geographic region// (e.g., "Ontario, Canada").DisplayNamestring `json:"displayName,omitempty"`// GeoRegionType: Output only. The type of geographic region targeting.//// Possible values:// "GEO_REGION_TYPE_UNKNOWN" - The geographic region type is unknown.// "GEO_REGION_TYPE_OTHER" - The geographic region type is other.// "GEO_REGION_TYPE_COUNTRY" - The geographic region is a country.// "GEO_REGION_TYPE_REGION" - The geographic region type is region.// "GEO_REGION_TYPE_TERRITORY" - The geographic region is a territory.// "GEO_REGION_TYPE_PROVINCE" - The geographic region is a province.// "GEO_REGION_TYPE_STATE" - The geographic region is a state.// "GEO_REGION_TYPE_PREFECTURE" - The geographic region is a// prefecture.// "GEO_REGION_TYPE_GOVERNORATE" - The geographic region is a// governorate.// "GEO_REGION_TYPE_CANTON" - The geographic region is a canton.// "GEO_REGION_TYPE_UNION_TERRITORY" - The geographic region is a// union territory.// "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY" - The geographic region is// an autonomous community.// "GEO_REGION_TYPE_DMA_REGION" - The geographic region is a// designated market area (DMA) region.// "GEO_REGION_TYPE_METRO" - The geographic region type is metro.// "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT" - The geographic region is// a congressional district.// "GEO_REGION_TYPE_COUNTY" - The geographic region is a county.// "GEO_REGION_TYPE_MUNICIPALITY" - The geographic region is a// municipality.// "GEO_REGION_TYPE_CITY" - The geographic region is a city.// "GEO_REGION_TYPE_POSTAL_CODE" - The geographic region targeting// type is postal code.// "GEO_REGION_TYPE_DEPARTMENT" - The geographic region targeting type// is department.// "GEO_REGION_TYPE_AIRPORT" - The geographic region is an airport.// "GEO_REGION_TYPE_TV_REGION" - The geographic region is a TV region.// "GEO_REGION_TYPE_OKRUG" - The geographic region is an okrug.// "GEO_REGION_TYPE_BOROUGH" - The geographic region is a borough.// "GEO_REGION_TYPE_CITY_REGION" - The geographic region is a city// region.// "GEO_REGION_TYPE_ARRONDISSEMENT" - The geographic region is an// arrondissement.// "GEO_REGION_TYPE_NEIGHBORHOOD" - The geographic region is a// neighborhood.// "GEO_REGION_TYPE_UNIVERSITY" - The geographic region is a// university.// "GEO_REGION_TYPE_DISTRICT" - The geographic region is a district.GeoRegionTypestring `json:"geoRegionType,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_GEO_REGION`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GeoRegionAssignedTargetingOptionDetails: Details for assignedgeographic region targeting option. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_GEO_REGION`.
func (*GeoRegionAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *GeoRegionAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeGeoRegionSearchTerms¶added inv0.36.0
type GeoRegionSearchTerms struct {// GeoRegionQuery: The search query for the desired geo region. The// query can be a prefix, e.g. "New Yor", "Seattle", "USA", etc.GeoRegionQuerystring `json:"geoRegionQuery,omitempty"`// ForceSendFields is a list of field names (e.g. "GeoRegionQuery") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GeoRegionQuery") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}GeoRegionSearchTerms: Search terms for geo region targeting options.
func (*GeoRegionSearchTerms)MarshalJSON¶added inv0.36.0
func (s *GeoRegionSearchTerms) MarshalJSON() ([]byte,error)
typeGeoRegionTargetingOptionDetails¶added inv0.23.0
type GeoRegionTargetingOptionDetails struct {// DisplayName: Output only. The display name of the geographic region// (e.g., "Ontario, Canada").DisplayNamestring `json:"displayName,omitempty"`// GeoRegionType: Output only. The type of geographic region targeting.//// Possible values:// "GEO_REGION_TYPE_UNKNOWN" - The geographic region type is unknown.// "GEO_REGION_TYPE_OTHER" - The geographic region type is other.// "GEO_REGION_TYPE_COUNTRY" - The geographic region is a country.// "GEO_REGION_TYPE_REGION" - The geographic region type is region.// "GEO_REGION_TYPE_TERRITORY" - The geographic region is a territory.// "GEO_REGION_TYPE_PROVINCE" - The geographic region is a province.// "GEO_REGION_TYPE_STATE" - The geographic region is a state.// "GEO_REGION_TYPE_PREFECTURE" - The geographic region is a// prefecture.// "GEO_REGION_TYPE_GOVERNORATE" - The geographic region is a// governorate.// "GEO_REGION_TYPE_CANTON" - The geographic region is a canton.// "GEO_REGION_TYPE_UNION_TERRITORY" - The geographic region is a// union territory.// "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY" - The geographic region is// an autonomous community.// "GEO_REGION_TYPE_DMA_REGION" - The geographic region is a// designated market area (DMA) region.// "GEO_REGION_TYPE_METRO" - The geographic region type is metro.// "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT" - The geographic region is// a congressional district.// "GEO_REGION_TYPE_COUNTY" - The geographic region is a county.// "GEO_REGION_TYPE_MUNICIPALITY" - The geographic region is a// municipality.// "GEO_REGION_TYPE_CITY" - The geographic region is a city.// "GEO_REGION_TYPE_POSTAL_CODE" - The geographic region targeting// type is postal code.// "GEO_REGION_TYPE_DEPARTMENT" - The geographic region targeting type// is department.// "GEO_REGION_TYPE_AIRPORT" - The geographic region is an airport.// "GEO_REGION_TYPE_TV_REGION" - The geographic region is a TV region.// "GEO_REGION_TYPE_OKRUG" - The geographic region is an okrug.// "GEO_REGION_TYPE_BOROUGH" - The geographic region is a borough.// "GEO_REGION_TYPE_CITY_REGION" - The geographic region is a city// region.// "GEO_REGION_TYPE_ARRONDISSEMENT" - The geographic region is an// arrondissement.// "GEO_REGION_TYPE_NEIGHBORHOOD" - The geographic region is a// neighborhood.// "GEO_REGION_TYPE_UNIVERSITY" - The geographic region is a// university.// "GEO_REGION_TYPE_DISTRICT" - The geographic region is a district.GeoRegionTypestring `json:"geoRegionType,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GeoRegionTargetingOptionDetails: Represents a targetable geographicregion. This will be populated in the geo_region_details field whentargeting_type is `TARGETING_TYPE_GEO_REGION`.
func (*GeoRegionTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *GeoRegionTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeGoogleAudience¶added inv0.23.0
type GoogleAudience struct {// DisplayName: Output only. The display name of the Google audience. .DisplayNamestring `json:"displayName,omitempty"`// GoogleAudienceId: Output only. The unique ID of the Google audience.// Assigned by the system.GoogleAudienceIdint64 `json:"googleAudienceId,omitempty,string"`// GoogleAudienceType: Output only. The type of Google audience. .//// Possible values:// "GOOGLE_AUDIENCE_TYPE_UNSPECIFIED" - Default value when type is not// specified or is unknown.// "GOOGLE_AUDIENCE_TYPE_AFFINITY" - Affinity type Google audience.// "GOOGLE_AUDIENCE_TYPE_IN_MARKET" - In-Market type Google audience.// "GOOGLE_AUDIENCE_TYPE_INSTALLED_APPS" - Installed-Apps type Google// audience.// "GOOGLE_AUDIENCE_TYPE_NEW_MOBILE_DEVICES" - New-Mobile-Devices type// Google audience.// "GOOGLE_AUDIENCE_TYPE_LIFE_EVENT" - Life-Event type Google// audience.// "GOOGLE_AUDIENCE_TYPE_EXTENDED_DEMOGRAPHIC" - Extended-Demographic// type Google audience.GoogleAudienceTypestring `json:"googleAudienceType,omitempty"`// Name: Output only. The resource name of the google audience.Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GoogleAudience: Describes a Google audience resource. Includes Googleaudience lists.
func (*GoogleAudience)MarshalJSON¶added inv0.23.0
func (s *GoogleAudience) MarshalJSON() ([]byte,error)
typeGoogleAudienceGroup¶added inv0.23.0
type GoogleAudienceGroup struct {// Settings: Required. All Google audience targeting settings in Google// audience group. Repeated settings with same id will be ignored.Settings []*GoogleAudienceTargetingSetting `json:"settings,omitempty"`// ForceSendFields is a list of field names (e.g. "Settings") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Settings") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GoogleAudienceGroup: Details of Google audience group. All Googleaudience targeting settings are logically ‘OR’ of each other.
func (*GoogleAudienceGroup)MarshalJSON¶added inv0.23.0
func (s *GoogleAudienceGroup) MarshalJSON() ([]byte,error)
typeGoogleAudienceTargetingSetting¶added inv0.23.0
type GoogleAudienceTargetingSetting struct {// GoogleAudienceId: Required. Google audience id of the Google audience// targeting setting. This id is google_audience_id.GoogleAudienceIdint64 `json:"googleAudienceId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "GoogleAudienceId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GoogleAudienceId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}GoogleAudienceTargetingSetting: Details of Google audience targetingsetting.
func (*GoogleAudienceTargetingSetting)MarshalJSON¶added inv0.23.0
func (s *GoogleAudienceTargetingSetting) MarshalJSON() ([]byte,error)
typeGoogleAudiencesGetCall¶added inv0.23.0
type GoogleAudiencesGetCall struct {// contains filtered or unexported fields}func (*GoogleAudiencesGetCall)AdvertiserId¶added inv0.23.0
func (c *GoogleAudiencesGetCall) AdvertiserId(advertiserIdint64) *GoogleAudiencesGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the fetched Google audience.
func (*GoogleAudiencesGetCall)Context¶added inv0.23.0
func (c *GoogleAudiencesGetCall) Context(ctxcontext.Context) *GoogleAudiencesGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*GoogleAudiencesGetCall)Do¶added inv0.23.0
func (c *GoogleAudiencesGetCall) Do(opts ...googleapi.CallOption) (*GoogleAudience,error)
Do executes the "displayvideo.googleAudiences.get" call.Exactly one of *GoogleAudience or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*GoogleAudience.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*GoogleAudiencesGetCall)Fields¶added inv0.23.0
func (c *GoogleAudiencesGetCall) Fields(s ...googleapi.Field) *GoogleAudiencesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*GoogleAudiencesGetCall)Header¶added inv0.23.0
func (c *GoogleAudiencesGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*GoogleAudiencesGetCall)IfNoneMatch¶added inv0.23.0
func (c *GoogleAudiencesGetCall) IfNoneMatch(entityTagstring) *GoogleAudiencesGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*GoogleAudiencesGetCall)PartnerId¶added inv0.23.0
func (c *GoogleAudiencesGetCall) PartnerId(partnerIdint64) *GoogleAudiencesGetCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the fetched Google audience.
typeGoogleAudiencesListCall¶added inv0.23.0
type GoogleAudiencesListCall struct {// contains filtered or unexported fields}func (*GoogleAudiencesListCall)AdvertiserId¶added inv0.23.0
func (c *GoogleAudiencesListCall) AdvertiserId(advertiserIdint64) *GoogleAudiencesListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the fetched Google audiences.
func (*GoogleAudiencesListCall)Context¶added inv0.23.0
func (c *GoogleAudiencesListCall) Context(ctxcontext.Context) *GoogleAudiencesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*GoogleAudiencesListCall)Do¶added inv0.23.0
func (c *GoogleAudiencesListCall) Do(opts ...googleapi.CallOption) (*ListGoogleAudiencesResponse,error)
Do executes the "displayvideo.googleAudiences.list" call.Exactly one of *ListGoogleAudiencesResponse or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*ListGoogleAudiencesResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*GoogleAudiencesListCall)Fields¶added inv0.23.0
func (c *GoogleAudiencesListCall) Fields(s ...googleapi.Field) *GoogleAudiencesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*GoogleAudiencesListCall)Filter¶added inv0.23.0
func (c *GoogleAudiencesListCall) Filter(filterstring) *GoogleAudiencesListCall
Filter sets the optional parameter "filter": Allows filtering byGoogle audience fields. Supported syntax: * Filter expressions forGoogle audiences can only contain at most one restriction. * Arestriction has the form of `{field} {operator} {value}`. * Allfields must use the `HAS (:)` operator. Supported fields: *`displayName` Examples: * All Google audiences for which the displayname contains "Google": `displayName:"Google". The length of thisfield should be no more than 500 characters. Reference our filter`LIST` requests (/display-video/api/guides/how-tos/filters) guide formore information.
func (*GoogleAudiencesListCall)Header¶added inv0.23.0
func (c *GoogleAudiencesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*GoogleAudiencesListCall)IfNoneMatch¶added inv0.23.0
func (c *GoogleAudiencesListCall) IfNoneMatch(entityTagstring) *GoogleAudiencesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*GoogleAudiencesListCall)OrderBy¶added inv0.23.0
func (c *GoogleAudiencesListCall) OrderBy(orderBystring) *GoogleAudiencesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `googleAudienceId` (default) *`displayName` The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `displayName desc`.
func (*GoogleAudiencesListCall)PageSize¶added inv0.23.0
func (c *GoogleAudiencesListCall) PageSize(pageSizeint64) *GoogleAudiencesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*GoogleAudiencesListCall)PageToken¶added inv0.23.0
func (c *GoogleAudiencesListCall) PageToken(pageTokenstring) *GoogleAudiencesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListGoogleAudiences` method. If not specified, the first page ofresults will be returned.
func (*GoogleAudiencesListCall)Pages¶added inv0.23.0
func (c *GoogleAudiencesListCall) Pages(ctxcontext.Context, f func(*ListGoogleAudiencesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*GoogleAudiencesListCall)PartnerId¶added inv0.23.0
func (c *GoogleAudiencesListCall) PartnerId(partnerIdint64) *GoogleAudiencesListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the fetched Google audiences.
typeGoogleAudiencesService¶added inv0.23.0
type GoogleAudiencesService struct {// contains filtered or unexported fields}funcNewGoogleAudiencesService¶added inv0.23.0
func NewGoogleAudiencesService(s *Service) *GoogleAudiencesService
func (*GoogleAudiencesService)Get¶added inv0.23.0
func (r *GoogleAudiencesService) Get(googleAudienceIdint64) *GoogleAudiencesGetCall
Get: Gets a Google audience.
- googleAudienceId: The ID of the Google audience to fetch.
func (*GoogleAudiencesService)List¶added inv0.23.0
func (r *GoogleAudiencesService) List() *GoogleAudiencesListCall
List: Lists Google audiences. The order is defined by the order_byparameter.
typeGoogleBytestreamMedia¶
type GoogleBytestreamMedia struct {// ResourceName: Name of the media resource.ResourceNamestring `json:"resourceName,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ResourceName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ResourceName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GoogleBytestreamMedia: Media resource.
func (*GoogleBytestreamMedia)MarshalJSON¶
func (s *GoogleBytestreamMedia) MarshalJSON() ([]byte,error)
typeGuaranteedOrder¶added inv0.82.0
type GuaranteedOrder struct {// DefaultAdvertiserId: Output only. The ID of default advertiser of the// guaranteed order. The default advertiser is either the// read_write_advertiser_id or, if that is not set, the first advertiser// listed in read_advertiser_ids. Otherwise, there is no default// advertiser.DefaultAdvertiserIdint64 `json:"defaultAdvertiserId,omitempty,string"`// DefaultCampaignId: The ID of the default campaign that is assigned to// the guaranteed order. The default campaign must belong to the default// advertiser.DefaultCampaignIdint64 `json:"defaultCampaignId,omitempty,string"`// DisplayName: Required. The display name of the guaranteed order. Must// be UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// Exchange: Required. Immutable. The exchange where the guaranteed// order originated.//// Possible values:// "EXCHANGE_UNSPECIFIED" - Exchange is not specified or is unknown in// this version.// "EXCHANGE_GOOGLE_AD_MANAGER" - Google Ad Manager.// "EXCHANGE_APPNEXUS" - AppNexus.// "EXCHANGE_BRIGHTROLL" - BrightRoll Exchange for Video from Yahoo!.// "EXCHANGE_ADFORM" - Adform.// "EXCHANGE_ADMETA" - Admeta.// "EXCHANGE_ADMIXER" - Admixer.// "EXCHANGE_ADSMOGO" - AdsMogo.// "EXCHANGE_ADSWIZZ" - AdsWizz.// "EXCHANGE_BIDSWITCH" - BidSwitch.// "EXCHANGE_BRIGHTROLL_DISPLAY" - BrightRoll Exchange for Display// from Yahoo!.// "EXCHANGE_CADREON" - Cadreon.// "EXCHANGE_DAILYMOTION" - Dailymotion.// "EXCHANGE_FIVE" - Five.// "EXCHANGE_FLUCT" - Fluct.// "EXCHANGE_FREEWHEEL" - FreeWheel SSP.// "EXCHANGE_GENIEE" - Geniee.// "EXCHANGE_GUMGUM" - GumGum.// "EXCHANGE_IMOBILE" - i-mobile.// "EXCHANGE_IBILLBOARD" - iBILLBOARD.// "EXCHANGE_IMPROVE_DIGITAL" - Improve Digital.// "EXCHANGE_INDEX" - Index Exchange.// "EXCHANGE_KARGO" - Kargo.// "EXCHANGE_MICROAD" - MicroAd.// "EXCHANGE_MOPUB" - MoPub.// "EXCHANGE_NEND" - Nend.// "EXCHANGE_ONE_BY_AOL_DISPLAY" - ONE by AOL: Display Market Place.// "EXCHANGE_ONE_BY_AOL_MOBILE" - ONE by AOL: Mobile.// "EXCHANGE_ONE_BY_AOL_VIDEO" - ONE by AOL: Video.// "EXCHANGE_OOYALA" - Ooyala.// "EXCHANGE_OPENX" - OpenX.// "EXCHANGE_PERMODO" - Permodo.// "EXCHANGE_PLATFORMONE" - Platform One.// "EXCHANGE_PLATFORMID" - PlatformId.// "EXCHANGE_PUBMATIC" - PubMatic.// "EXCHANGE_PULSEPOINT" - PulsePoint.// "EXCHANGE_REVENUEMAX" - RevenueMax.// "EXCHANGE_RUBICON" - Rubicon.// "EXCHANGE_SMARTCLIP" - SmartClip.// "EXCHANGE_SMARTRTB" - SmartRTB+.// "EXCHANGE_SMARTSTREAMTV" - SmartstreamTv.// "EXCHANGE_SOVRN" - Sovrn.// "EXCHANGE_SPOTXCHANGE" - SpotXchange.// "EXCHANGE_STROER" - Ströer SSP.// "EXCHANGE_TEADSTV" - TeadsTv.// "EXCHANGE_TELARIA" - Telaria.// "EXCHANGE_TVN" - TVN.// "EXCHANGE_UNITED" - United.// "EXCHANGE_YIELDLAB" - Yieldlab.// "EXCHANGE_YIELDMO" - Yieldmo.// "EXCHANGE_UNRULYX" - UnrulyX.// "EXCHANGE_OPEN8" - Open8.// "EXCHANGE_TRITON" - Triton.// "EXCHANGE_TRIPLELIFT" - TripleLift.// "EXCHANGE_TABOOLA" - Taboola.// "EXCHANGE_INMOBI" - InMobi.// "EXCHANGE_SMAATO" - Smaato.// "EXCHANGE_AJA" - Aja.// "EXCHANGE_SUPERSHIP" - Supership.// "EXCHANGE_NEXSTAR_DIGITAL" - Nexstar Digital.// "EXCHANGE_WAZE" - Waze.// "EXCHANGE_SOUNDCAST" - SoundCast.// "EXCHANGE_SHARETHROUGH" - Sharethrough.// "EXCHANGE_FYBER" - Fyber.// "EXCHANGE_RED_FOR_PUBLISHERS" - Red For Publishers.// "EXCHANGE_MEDIANET" - Media.net.// "EXCHANGE_TAPJOY" - Tapjoy.// "EXCHANGE_VISTAR" - Vistar.// "EXCHANGE_DAX" - DAX.// "EXCHANGE_JCD" - JCD.// "EXCHANGE_PLACE_EXCHANGE" - Place Exchange.// "EXCHANGE_APPLOVIN" - AppLovin.// "EXCHANGE_CONNATIX" - Connatix.// "EXCHANGE_RESET_DIGITAL" - Reset Digital.// "EXCHANGE_HIVESTACK" - Hivestack.Exchangestring `json:"exchange,omitempty"`// GuaranteedOrderId: Output only. The unique identifier of the// guaranteed order. The guaranteed order IDs have the format// `{exchange}-{legacy_guaranteed_order_id}`.GuaranteedOrderIdstring `json:"guaranteedOrderId,omitempty"`// LegacyGuaranteedOrderId: Output only. The legacy ID of the guaranteed// order. Assigned by the original exchange. The legacy ID is unique// within one exchange, but is not guaranteed to be unique across all// guaranteed orders. This ID is used in SDF and UI.LegacyGuaranteedOrderIdstring `json:"legacyGuaranteedOrderId,omitempty"`// Name: Output only. The resource name of the guaranteed order.Namestring `json:"name,omitempty"`// PublisherName: Required. The publisher name of the guaranteed order.// Must be UTF-8 encoded with a maximum size of 240 bytes.PublisherNamestring `json:"publisherName,omitempty"`// ReadAccessInherited: Whether all advertisers of read_write_partner_id// have read access to the guaranteed order. Only applicable if// read_write_partner_id is set. If True, overrides read_advertiser_ids.ReadAccessInheritedbool `json:"readAccessInherited,omitempty"`// ReadAdvertiserIds: The IDs of advertisers with read access to the// guaranteed order. This field must not include the advertiser assigned// to read_write_advertiser_id if it is set. All advertisers in this// field must belong to read_write_partner_id or the same partner as// read_write_advertiser_id.ReadAdvertiserIdsgoogleapi.Int64s `json:"readAdvertiserIds,omitempty"`// ReadWriteAdvertiserId: The advertiser with read/write access to the// guaranteed order. This is also the default advertiser of the// guaranteed order.ReadWriteAdvertiserIdint64 `json:"readWriteAdvertiserId,omitempty,string"`// ReadWritePartnerId: The partner with read/write access to the// guaranteed order.ReadWritePartnerIdint64 `json:"readWritePartnerId,omitempty,string"`// Status: The status settings of the guaranteed order.Status *GuaranteedOrderStatus `json:"status,omitempty"`// UpdateTime: Output only. The timestamp when the guaranteed order was// last updated. Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DefaultAdvertiserId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DefaultAdvertiserId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}GuaranteedOrder: A guaranteed order. Guaranteed orders are parententity of guaranteed inventory sources. When creating a guaranteedinventory source, a guaranteed order ID must be assigned to theinventory source.
func (*GuaranteedOrder)MarshalJSON¶added inv0.82.0
func (s *GuaranteedOrder) MarshalJSON() ([]byte,error)
typeGuaranteedOrderStatus¶added inv0.82.0
type GuaranteedOrderStatus struct {// ConfigStatus: Output only. The configuration status of the guaranteed// order. Acceptable values are `PENDING` and `COMPLETED`. A guaranteed// order must be configured (fill in the required fields, choose// creatives, and select a default campaign) before it can serve.// Currently the configuration action can only be performed via UI.//// Possible values:// "GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED" - The approval status// is not specified or is unknown in this version.// "PENDING" - The beginning state of a guaranteed order. The// guaranteed order in this state needs to be configured before it can// serve.// "COMPLETED" - The state after the buyer configures a guaranteed// order.ConfigStatusstring `json:"configStatus,omitempty"`// EntityPauseReason: The user-provided reason for pausing this// guaranteed order. Must be UTF-8 encoded with a maximum length of 100// bytes. Only applicable when entity_status is set to// `ENTITY_STATUS_PAUSED`.EntityPauseReasonstring `json:"entityPauseReason,omitempty"`// EntityStatus: Whether or not the guaranteed order is servable.// Acceptable values are `ENTITY_STATUS_ACTIVE`,// `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value// is `ENTITY_STATUS_ACTIVE`.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "ConfigStatus") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConfigStatus") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}GuaranteedOrderStatus: The status settings of the guaranteed order.
func (*GuaranteedOrderStatus)MarshalJSON¶added inv0.82.0
func (s *GuaranteedOrderStatus) MarshalJSON() ([]byte,error)
typeGuaranteedOrdersCreateCall¶added inv0.82.0
type GuaranteedOrdersCreateCall struct {// contains filtered or unexported fields}func (*GuaranteedOrdersCreateCall)AdvertiserId¶added inv0.82.0
func (c *GuaranteedOrdersCreateCall) AdvertiserId(advertiserIdint64) *GuaranteedOrdersCreateCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that the request is being made within.
func (*GuaranteedOrdersCreateCall)Context¶added inv0.82.0
func (c *GuaranteedOrdersCreateCall) Context(ctxcontext.Context) *GuaranteedOrdersCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*GuaranteedOrdersCreateCall)Do¶added inv0.82.0
func (c *GuaranteedOrdersCreateCall) Do(opts ...googleapi.CallOption) (*GuaranteedOrder,error)
Do executes the "displayvideo.guaranteedOrders.create" call.Exactly one of *GuaranteedOrder or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*GuaranteedOrder.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*GuaranteedOrdersCreateCall)Fields¶added inv0.82.0
func (c *GuaranteedOrdersCreateCall) Fields(s ...googleapi.Field) *GuaranteedOrdersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*GuaranteedOrdersCreateCall)Header¶added inv0.82.0
func (c *GuaranteedOrdersCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*GuaranteedOrdersCreateCall)PartnerId¶added inv0.82.0
func (c *GuaranteedOrdersCreateCall) PartnerId(partnerIdint64) *GuaranteedOrdersCreateCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that the request is being made within.
typeGuaranteedOrdersEditGuaranteedOrderReadAccessorsCall¶added inv0.82.0
type GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall struct {// contains filtered or unexported fields}func (*GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall)Context¶added inv0.82.0
func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Context(ctxcontext.Context) *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall)Do¶added inv0.82.0
func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Do(opts ...googleapi.CallOption) (*EditGuaranteedOrderReadAccessorsResponse,error)
Do executes the "displayvideo.guaranteedOrders.editGuaranteedOrderReadAccessors" call.Exactly one of *EditGuaranteedOrderReadAccessorsResponse or errorwill be non-nil. Any non-2xx status code is an error. Responseheaders are in either*EditGuaranteedOrderReadAccessorsResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall)Fields¶added inv0.82.0
func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Fields(s ...googleapi.Field) *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall)Header¶added inv0.82.0
func (c *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeGuaranteedOrdersGetCall¶added inv0.82.0
type GuaranteedOrdersGetCall struct {// contains filtered or unexported fields}func (*GuaranteedOrdersGetCall)AdvertiserId¶added inv0.82.0
func (c *GuaranteedOrdersGetCall) AdvertiserId(advertiserIdint64) *GuaranteedOrdersGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the guaranteed order.
func (*GuaranteedOrdersGetCall)Context¶added inv0.82.0
func (c *GuaranteedOrdersGetCall) Context(ctxcontext.Context) *GuaranteedOrdersGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*GuaranteedOrdersGetCall)Do¶added inv0.82.0
func (c *GuaranteedOrdersGetCall) Do(opts ...googleapi.CallOption) (*GuaranteedOrder,error)
Do executes the "displayvideo.guaranteedOrders.get" call.Exactly one of *GuaranteedOrder or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*GuaranteedOrder.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*GuaranteedOrdersGetCall)Fields¶added inv0.82.0
func (c *GuaranteedOrdersGetCall) Fields(s ...googleapi.Field) *GuaranteedOrdersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*GuaranteedOrdersGetCall)Header¶added inv0.82.0
func (c *GuaranteedOrdersGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*GuaranteedOrdersGetCall)IfNoneMatch¶added inv0.82.0
func (c *GuaranteedOrdersGetCall) IfNoneMatch(entityTagstring) *GuaranteedOrdersGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*GuaranteedOrdersGetCall)PartnerId¶added inv0.82.0
func (c *GuaranteedOrdersGetCall) PartnerId(partnerIdint64) *GuaranteedOrdersGetCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the guaranteed order.
typeGuaranteedOrdersListCall¶added inv0.82.0
type GuaranteedOrdersListCall struct {// contains filtered or unexported fields}func (*GuaranteedOrdersListCall)AdvertiserId¶added inv0.82.0
func (c *GuaranteedOrdersListCall) AdvertiserId(advertiserIdint64) *GuaranteedOrdersListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the guaranteed order.
func (*GuaranteedOrdersListCall)Context¶added inv0.82.0
func (c *GuaranteedOrdersListCall) Context(ctxcontext.Context) *GuaranteedOrdersListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*GuaranteedOrdersListCall)Do¶added inv0.82.0
func (c *GuaranteedOrdersListCall) Do(opts ...googleapi.CallOption) (*ListGuaranteedOrdersResponse,error)
Do executes the "displayvideo.guaranteedOrders.list" call.Exactly one of *ListGuaranteedOrdersResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListGuaranteedOrdersResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*GuaranteedOrdersListCall)Fields¶added inv0.82.0
func (c *GuaranteedOrdersListCall) Fields(s ...googleapi.Field) *GuaranteedOrdersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*GuaranteedOrdersListCall)Filter¶added inv0.82.0
func (c *GuaranteedOrdersListCall) Filter(filterstring) *GuaranteedOrdersListCall
Filter sets the optional parameter "filter": Allows filtering byguaranteed order fields. * Filter expressions are made up of one ormore restrictions. * Restrictions can be combined by `AND` or `OR`logical operators. A sequence of restrictions implicitly uses `AND`.* A restriction has the form of `{field} {operator} {value}`. * Allfields must use the `EQUALS (=)` operator. Supported fields: *`guaranteed_order_id` * `exchange` * `display_name` *`status.entityStatus` Examples: * All active guaranteed orders:`status.entityStatus="ENTITY_STATUS_ACTIVE" * Guaranteed ordersbelonging to Google Ad Manager or Rubicon exchanges:`exchange="EXCHANGE_GOOGLE_AD_MANAGER" ORexchange="EXCHANGE_RUBICON" The length of this field should be nomore than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*GuaranteedOrdersListCall)Header¶added inv0.82.0
func (c *GuaranteedOrdersListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*GuaranteedOrdersListCall)IfNoneMatch¶added inv0.82.0
func (c *GuaranteedOrdersListCall) IfNoneMatch(entityTagstring) *GuaranteedOrdersListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*GuaranteedOrdersListCall)OrderBy¶added inv0.82.0
func (c *GuaranteedOrdersListCall) OrderBy(orderBystring) *GuaranteedOrdersListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Forexample, `displayName desc`.
func (*GuaranteedOrdersListCall)PageSize¶added inv0.82.0
func (c *GuaranteedOrdersListCall) PageSize(pageSizeint64) *GuaranteedOrdersListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*GuaranteedOrdersListCall)PageToken¶added inv0.82.0
func (c *GuaranteedOrdersListCall) PageToken(pageTokenstring) *GuaranteedOrdersListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListGuaranteedOrders` method. If not specified, the first page ofresults will be returned.
func (*GuaranteedOrdersListCall)Pages¶added inv0.82.0
func (c *GuaranteedOrdersListCall) Pages(ctxcontext.Context, f func(*ListGuaranteedOrdersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*GuaranteedOrdersListCall)PartnerId¶added inv0.82.0
func (c *GuaranteedOrdersListCall) PartnerId(partnerIdint64) *GuaranteedOrdersListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the guaranteed order.
typeGuaranteedOrdersPatchCall¶added inv0.82.0
type GuaranteedOrdersPatchCall struct {// contains filtered or unexported fields}func (*GuaranteedOrdersPatchCall)AdvertiserId¶added inv0.82.0
func (c *GuaranteedOrdersPatchCall) AdvertiserId(advertiserIdint64) *GuaranteedOrdersPatchCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that the request is being made within.
func (*GuaranteedOrdersPatchCall)Context¶added inv0.82.0
func (c *GuaranteedOrdersPatchCall) Context(ctxcontext.Context) *GuaranteedOrdersPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*GuaranteedOrdersPatchCall)Do¶added inv0.82.0
func (c *GuaranteedOrdersPatchCall) Do(opts ...googleapi.CallOption) (*GuaranteedOrder,error)
Do executes the "displayvideo.guaranteedOrders.patch" call.Exactly one of *GuaranteedOrder or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*GuaranteedOrder.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*GuaranteedOrdersPatchCall)Fields¶added inv0.82.0
func (c *GuaranteedOrdersPatchCall) Fields(s ...googleapi.Field) *GuaranteedOrdersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*GuaranteedOrdersPatchCall)Header¶added inv0.82.0
func (c *GuaranteedOrdersPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*GuaranteedOrdersPatchCall)PartnerId¶added inv0.82.0
func (c *GuaranteedOrdersPatchCall) PartnerId(partnerIdint64) *GuaranteedOrdersPatchCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that the request is being made within.
func (*GuaranteedOrdersPatchCall)UpdateMask¶added inv0.82.0
func (c *GuaranteedOrdersPatchCall) UpdateMask(updateMaskstring) *GuaranteedOrdersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeGuaranteedOrdersService¶added inv0.82.0
type GuaranteedOrdersService struct {// contains filtered or unexported fields}funcNewGuaranteedOrdersService¶added inv0.82.0
func NewGuaranteedOrdersService(s *Service) *GuaranteedOrdersService
func (*GuaranteedOrdersService)Create¶added inv0.82.0
func (r *GuaranteedOrdersService) Create(guaranteedorder *GuaranteedOrder) *GuaranteedOrdersCreateCall
Create: Creates a new guaranteed order. Returns the newly createdguaranteed order if successful.
func (*GuaranteedOrdersService)EditGuaranteedOrderReadAccessors¶added inv0.82.0
func (r *GuaranteedOrdersService) EditGuaranteedOrderReadAccessors(guaranteedOrderIdstring, editguaranteedorderreadaccessorsrequest *EditGuaranteedOrderReadAccessorsRequest) *GuaranteedOrdersEditGuaranteedOrderReadAccessorsCall
EditGuaranteedOrderReadAccessors: Edits read advertisers of aguaranteed order.
- guaranteedOrderId: The ID of the guaranteed order to edit. The IDis of the format `{exchange}-{legacy_guaranteed_order_id}`.
func (*GuaranteedOrdersService)Get¶added inv0.82.0
func (r *GuaranteedOrdersService) Get(guaranteedOrderIdstring) *GuaranteedOrdersGetCall
Get: Gets a guaranteed order.
- guaranteedOrderId: The ID of the guaranteed order to fetch. The IDis of the format `{exchange}-{legacy_guaranteed_order_id}`.
func (*GuaranteedOrdersService)List¶added inv0.82.0
func (r *GuaranteedOrdersService) List() *GuaranteedOrdersListCall
List: Lists guaranteed orders that are accessible to the currentuser. The order is defined by the order_by parameter. If a filter byentity_status is not specified, guaranteed orders with entity status`ENTITY_STATUS_ARCHIVED` will not be included in the results.
func (*GuaranteedOrdersService)Patch¶added inv0.82.0
func (r *GuaranteedOrdersService) Patch(guaranteedOrderIdstring, guaranteedorder *GuaranteedOrder) *GuaranteedOrdersPatchCall
Patch: Updates an existing guaranteed order. Returns the updatedguaranteed order if successful.
- guaranteedOrderId: Output only. The unique identifier of theguaranteed order. The guaranteed order IDs have the format`{exchange}-{legacy_guaranteed_order_id}`.
typeHouseholdIncomeAssignedTargetingOptionDetails¶added inv0.23.0
type HouseholdIncomeAssignedTargetingOptionDetails struct {// HouseholdIncome: Required. The household income of the audience.//// Possible values:// "HOUSEHOLD_INCOME_UNSPECIFIED" - Default value when household// income is not specified in this version. This enum is a placeholder// for default value and does not represent a real household income// option.// "HOUSEHOLD_INCOME_UNKNOWN" - The household income of the audience// is unknown.// "HOUSEHOLD_INCOME_LOWER_50_PERCENT" - The audience is in the lower// 50% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT" - The audience is in the// top 41-50% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT" - The audience is in the// top 31-40% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT" - The audience is in the// top 21-30% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT" - The audience is in the// top 11-20% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_10_PERCENT" - The audience is in the top 10%// of U.S. household incomes.HouseholdIncomestring `json:"householdIncome,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_HOUSEHOLD_INCOME`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "HouseholdIncome") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HouseholdIncome") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}HouseholdIncomeAssignedTargetingOptionDetails: Details for assignedhousehold income targeting option. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_HOUSEHOLD_INCOME`.
func (*HouseholdIncomeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *HouseholdIncomeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeHouseholdIncomeTargetingOptionDetails¶added inv0.23.0
type HouseholdIncomeTargetingOptionDetails struct {// HouseholdIncome: Output only. The household income of an audience.//// Possible values:// "HOUSEHOLD_INCOME_UNSPECIFIED" - Default value when household// income is not specified in this version. This enum is a placeholder// for default value and does not represent a real household income// option.// "HOUSEHOLD_INCOME_UNKNOWN" - The household income of the audience// is unknown.// "HOUSEHOLD_INCOME_LOWER_50_PERCENT" - The audience is in the lower// 50% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_41_TO_50_PERCENT" - The audience is in the// top 41-50% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_31_TO_40_PERCENT" - The audience is in the// top 31-40% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_21_TO_30_PERCENT" - The audience is in the// top 21-30% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_11_TO_20_PERCENT" - The audience is in the// top 11-20% of U.S. household incomes.// "HOUSEHOLD_INCOME_TOP_10_PERCENT" - The audience is in the top 10%// of U.S. household incomes.HouseholdIncomestring `json:"householdIncome,omitempty"`// ForceSendFields is a list of field names (e.g. "HouseholdIncome") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HouseholdIncome") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}HouseholdIncomeTargetingOptionDetails: Represents a targetablehousehold income. This will be populated in thehousehold_income_details field of a TargetingOption whentargeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`.
func (*HouseholdIncomeTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *HouseholdIncomeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeIdFilter¶
type IdFilter struct {// AdGroupAdIds: YouTube Ads to download by ID. All IDs must belong to// the same Advertiser or Partner specified in// CreateSdfDownloadTaskRequest.AdGroupAdIdsgoogleapi.Int64s `json:"adGroupAdIds,omitempty"`// AdGroupIds: YouTube Ad Groups to download by ID. All IDs must belong// to the same Advertiser or Partner specified in// CreateSdfDownloadTaskRequest.AdGroupIdsgoogleapi.Int64s `json:"adGroupIds,omitempty"`// CampaignIds: Campaigns to download by ID. All IDs must belong to the// same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.CampaignIdsgoogleapi.Int64s `json:"campaignIds,omitempty"`// InsertionOrderIds: Insertion Orders to download by ID. All IDs must// belong to the same Advertiser or Partner specified in// CreateSdfDownloadTaskRequest.InsertionOrderIdsgoogleapi.Int64s `json:"insertionOrderIds,omitempty"`// LineItemIds: Line Items to download by ID. All IDs must belong to the// same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.LineItemIdsgoogleapi.Int64s `json:"lineItemIds,omitempty"`// MediaProductIds: Media Products to download by ID. All IDs must// belong to the same Advertiser or Partner specified in// CreateSdfDownloadTaskRequest.MediaProductIdsgoogleapi.Int64s `json:"mediaProductIds,omitempty"`// ForceSendFields is a list of field names (e.g. "AdGroupAdIds") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdGroupAdIds") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}IdFilter: A filtering option that filters entities by their entityIDs.
func (*IdFilter)MarshalJSON¶
typeInsertionOrder¶added inv0.23.0
type InsertionOrder struct {// AdvertiserId: Output only. The unique ID of the advertiser the// insertion order belongs to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// BidStrategy: The bidding strategy of the insertion order. By default,// fixed_bid is set.BidStrategy *BiddingStrategy `json:"bidStrategy,omitempty"`// BillableOutcome: Immutable. The billable outcome of the insertion// order. Outcome based buying is deprecated.// `BILLABLE_OUTCOME_PAY_PER_IMPRESSION` is the only valid value.//// Possible values:// "BILLABLE_OUTCOME_UNSPECIFIED" - Unspecified billable outcome.// "BILLABLE_OUTCOME_PAY_PER_IMPRESSION" - Pay per impressions.// "BILLABLE_OUTCOME_PAY_PER_CLICK" - Pay per click.// "BILLABLE_OUTCOME_PAY_PER_VIEWABLE_IMPRESSION" - Pay per active// view.BillableOutcomestring `json:"billableOutcome,omitempty"`// Budget: Required. The budget allocation settings of the insertion// order.Budget *InsertionOrderBudget `json:"budget,omitempty"`// CampaignId: Required. Immutable. The unique ID of the campaign that// the insertion order belongs to.CampaignIdint64 `json:"campaignId,omitempty,string"`// DisplayName: Required. The display name of the insertion order. Must// be UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// EntityStatus: Required. Controls whether or not the insertion order// can spend its budget and bid on inventory. * For CreateInsertionOrder// method, only `ENTITY_STATUS_DRAFT` is allowed. To activate an// insertion order, use UpdateInsertionOrder method and update the// status to `ENTITY_STATUS_ACTIVE` after creation. * An insertion order// cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other// status. * An insertion order cannot be set to `ENTITY_STATUS_ACTIVE`// if its parent campaign is not active.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// FrequencyCap: Required. The frequency capping setting of the// insertion order.FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"`// InsertionOrderId: Output only. The unique ID of the insertion order.// Assigned by the system.InsertionOrderIdint64 `json:"insertionOrderId,omitempty,string"`// InsertionOrderType: The type of insertion order. If this field is// unspecified in creation, the value defaults to `RTB`.//// Possible values:// "INSERTION_ORDER_TYPE_UNSPECIFIED" - Insertion order type is not// specified or is unknown.// "RTB" - Real-time bidding.// "OVER_THE_TOP" - Over-the-top.InsertionOrderTypestring `json:"insertionOrderType,omitempty"`// IntegrationDetails: Additional integration details of the insertion// order.IntegrationDetails *IntegrationDetails `json:"integrationDetails,omitempty"`// Name: Output only. The resource name of the insertion order.Namestring `json:"name,omitempty"`// Pacing: Required. The budget spending speed setting of the insertion// order.Pacing *Pacing `json:"pacing,omitempty"`// PartnerCosts: The partner costs associated with the insertion order.// If absent or empty in CreateInsertionOrder method, the newly created// insertion order will inherit partner costs from the partner settings.PartnerCosts []*PartnerCost `json:"partnerCosts,omitempty"`// PerformanceGoal: Required. Performance goal of the insertion order.PerformanceGoal *PerformanceGoal `json:"performanceGoal,omitempty"`// ReservationType: Output only. The reservation type of the insertion// order.//// Possible values:// "RESERVATION_TYPE_UNSPECIFIED" - Reservation type value is not// specified or is unknown in this version.// "RESERVATION_TYPE_NOT_GUARANTEED" - Not created through a// guaranteed inventory source.// "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED" - Created through a// programmatic guaranteed inventory source.// "RESERVATION_TYPE_TAG_GUARANTEED" - Created through a tag// guaranteed inventory source.ReservationTypestring `json:"reservationType,omitempty"`// UpdateTime: Output only. The timestamp when the insertion order was// last updated. Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InsertionOrder: A single insertion order.
func (*InsertionOrder)MarshalJSON¶added inv0.23.0
func (s *InsertionOrder) MarshalJSON() ([]byte,error)
typeInsertionOrderBudget¶added inv0.23.0
type InsertionOrderBudget struct {// AutomationType: The type of automation used to manage bid and budget// for the insertion order. If this field is unspecified in creation,// the value defaults to `INSERTION_ORDER_AUTOMATION_TYPE_NONE`.//// Possible values:// "INSERTION_ORDER_AUTOMATION_TYPE_UNSPECIFIED" - Insertion order// automation option is not specified or is unknown in this version.// "INSERTION_ORDER_AUTOMATION_TYPE_BUDGET" - Automatic budget// allocation. Allow the system to automatically shift budget to owning// line items to optimize performance defined by kpi. No automation on// bid settings.// "INSERTION_ORDER_AUTOMATION_TYPE_NONE" - No automation of bid or// budget on insertion order level. Bid and budget must be manually// configured at the line item level.// "INSERTION_ORDER_AUTOMATION_TYPE_BID_BUDGET" - Allow the system to// automatically adjust bids and shift budget to owning line items to// optimize performance defined by kpi.AutomationTypestring `json:"automationType,omitempty"`// BudgetSegments: Required. The list of budget segments. Use a budget// segment to specify a specific budget for a given period of time an// insertion order is running.BudgetSegments []*InsertionOrderBudgetSegment `json:"budgetSegments,omitempty"`// BudgetUnit: Required. Immutable. The budget unit specifies whether// the budget is currency based or impression based.//// Possible values:// "BUDGET_UNIT_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "BUDGET_UNIT_CURRENCY" - Budgeting in currency amounts.// "BUDGET_UNIT_IMPRESSIONS" - Budgeting in impression amounts.BudgetUnitstring `json:"budgetUnit,omitempty"`// ForceSendFields is a list of field names (e.g. "AutomationType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutomationType") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}InsertionOrderBudget: Settings that control how insertion orderbudget is allocated.
func (*InsertionOrderBudget)MarshalJSON¶added inv0.23.0
func (s *InsertionOrderBudget) MarshalJSON() ([]byte,error)
typeInsertionOrderBudgetSegment¶added inv0.23.0
type InsertionOrderBudgetSegment struct {// BudgetAmountMicros: Required. The budget amount the insertion order// will spend for the given date_range. The amount is in micros. Must be// greater than 0. For example, 500000000 represents 500 standard units// of the currency.BudgetAmountMicrosint64 `json:"budgetAmountMicros,omitempty,string"`// CampaignBudgetId: The budget_id of the campaign budget that this// insertion order budget segment is a part of.CampaignBudgetIdint64 `json:"campaignBudgetId,omitempty,string"`// DateRange: Required. The start and end date settings of the budget// segment. They are resolved relative to the parent advertiser's time// zone. * When creating a new budget segment, both `start_date` and// `end_date` must be in the future. * An existing budget segment with a// `start_date` in the past has a mutable `end_date` but an immutable// `start_date`. * `end_date` must be the `start_date` or later, both// before the year 2037.DateRange *DateRange `json:"dateRange,omitempty"`// Description: The budget segment description. It can be used to enter// Purchase Order information for each budget segment and have that// information printed on the invoices. Must be UTF-8 encoded.Descriptionstring `json:"description,omitempty"`// ForceSendFields is a list of field names (e.g. "BudgetAmountMicros")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BudgetAmountMicros") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}InsertionOrderBudgetSegment: Settings that control the budget of asingle budget segment.
func (*InsertionOrderBudgetSegment)MarshalJSON¶added inv0.23.0
func (s *InsertionOrderBudgetSegment) MarshalJSON() ([]byte,error)
typeIntegralAdScience¶added inv0.23.0
type IntegralAdScience struct {// CustomSegmentId: The custom segment ID provided by Integral Ad// Science. The ID must be between `1000001` and `1999999`, inclusive.CustomSegmentIdgoogleapi.Int64s `json:"customSegmentId,omitempty"`// DisplayViewability: Display Viewability section (applicable to// display line items only).//// Possible values:// "PERFORMANCE_VIEWABILITY_UNSPECIFIED" - This enum is only a// placeholder and it doesn't specify any display viewability options.// "PERFORMANCE_VIEWABILITY_40" - Target 40% Viewability or Higher.// "PERFORMANCE_VIEWABILITY_50" - Target 50% Viewability or Higher.// "PERFORMANCE_VIEWABILITY_60" - Target 60% Viewability or Higher.// "PERFORMANCE_VIEWABILITY_70" - Target 70% Viewability or Higher.DisplayViewabilitystring `json:"displayViewability,omitempty"`// ExcludeUnrateable: Brand Safety - **Unrateable**.ExcludeUnrateablebool `json:"excludeUnrateable,omitempty"`// ExcludedAdFraudRisk: Ad Fraud settings.//// Possible values:// "SUSPICIOUS_ACTIVITY_UNSPECIFIED" - This enum is only a placeholder// and it doesn't specify any ad fraud prevention options.// "SUSPICIOUS_ACTIVITY_HR" - Ad Fraud - Exclude High Risk.// "SUSPICIOUS_ACTIVITY_HMR" - Ad Fraud - Exclude High and Moderate// Risk.ExcludedAdFraudRiskstring `json:"excludedAdFraudRisk,omitempty"`// ExcludedAdultRisk: Brand Safety - **Adult content**.//// Possible values:// "ADULT_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any adult options.// "ADULT_HR" - Adult - Exclude High Risk.// "ADULT_HMR" - Adult - Exclude High and Moderate Risk.ExcludedAdultRiskstring `json:"excludedAdultRisk,omitempty"`// ExcludedAlcoholRisk: Brand Safety - **Alcohol**.//// Possible values:// "ALCOHOL_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any alcohol options.// "ALCOHOL_HR" - Alcohol - Exclude High Risk.// "ALCOHOL_HMR" - Alcohol - Exclude High and Moderate Risk.ExcludedAlcoholRiskstring `json:"excludedAlcoholRisk,omitempty"`// ExcludedDrugsRisk: Brand Safety - **Drugs**.//// Possible values:// "DRUGS_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any drugs options.// "DRUGS_HR" - Drugs - Exclude High Risk.// "DRUGS_HMR" - Drugs - Exclude High and Moderate Risk.ExcludedDrugsRiskstring `json:"excludedDrugsRisk,omitempty"`// ExcludedGamblingRisk: Brand Safety - **Gambling**.//// Possible values:// "GAMBLING_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any gambling options.// "GAMBLING_HR" - Gambling - Exclude High Risk.// "GAMBLING_HMR" - Gambling - Exclude High and Moderate Risk.ExcludedGamblingRiskstring `json:"excludedGamblingRisk,omitempty"`// ExcludedHateSpeechRisk: Brand Safety - **Hate speech**.//// Possible values:// "HATE_SPEECH_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any hate speech options.// "HATE_SPEECH_HR" - Hate Speech - Exclude High Risk.// "HATE_SPEECH_HMR" - Hate Speech - Exclude High and Moderate Risk.ExcludedHateSpeechRiskstring `json:"excludedHateSpeechRisk,omitempty"`// ExcludedIllegalDownloadsRisk: Brand Safety - **Illegal downloads**.//// Possible values:// "ILLEGAL_DOWNLOADS_UNSPECIFIED" - This enum is only a placeholder// and it doesn't specify any illegal downloads options.// "ILLEGAL_DOWNLOADS_HR" - Illegal Downloads - Exclude High Risk.// "ILLEGAL_DOWNLOADS_HMR" - Illegal Downloads - Exclude High and// Moderate Risk.ExcludedIllegalDownloadsRiskstring `json:"excludedIllegalDownloadsRisk,omitempty"`// ExcludedOffensiveLanguageRisk: Brand Safety - **Offensive language**.//// Possible values:// "OFFENSIVE_LANGUAGE_UNSPECIFIED" - This enum is only a placeholder// and it doesn't specify any language options.// "OFFENSIVE_LANGUAGE_HR" - Offensive Language - Exclude High Risk.// "OFFENSIVE_LANGUAGE_HMR" - Offensive Language - Exclude High and// Moderate Risk.ExcludedOffensiveLanguageRiskstring `json:"excludedOffensiveLanguageRisk,omitempty"`// ExcludedViolenceRisk: Brand Safety - **Violence**.//// Possible values:// "VIOLENCE_UNSPECIFIED" - This enum is only a placeholder and it// doesn't specify any violence options.// "VIOLENCE_HR" - Violence - Exclude High Risk.// "VIOLENCE_HMR" - Violence - Exclude High and Moderate Risk.ExcludedViolenceRiskstring `json:"excludedViolenceRisk,omitempty"`// TraqScoreOption: True advertising quality (applicable to Display line// items only).//// Possible values:// "TRAQ_UNSPECIFIED" - This enum is only a placeholder and it doesn't// specify any true advertising quality scores.// "TRAQ_250" - TRAQ score 250-1000.// "TRAQ_500" - TRAQ score 500-1000.// "TRAQ_600" - TRAQ score 600-1000.// "TRAQ_700" - TRAQ score 700-1000.// "TRAQ_750" - TRAQ score 750-1000.// "TRAQ_875" - TRAQ score 875-1000.// "TRAQ_1000" - TRAQ score 1000.TraqScoreOptionstring `json:"traqScoreOption,omitempty"`// VideoViewability: Video Viewability Section (applicable to video line// items only).//// Possible values:// "VIDEO_VIEWABILITY_UNSPECIFIED" - This enum is only a placeholder// and it doesn't specify any video viewability options.// "VIDEO_VIEWABILITY_40" - 40%+ in view (IAB video viewability// standard).// "VIDEO_VIEWABILITY_50" - 50%+ in view (IAB video viewability// standard).// "VIDEO_VIEWABILITY_60" - 60%+ in view (IAB video viewability// standard).// "VIDEO_VIEWABILITY_70" - 70%+ in view (IAB video viewability// standard).VideoViewabilitystring `json:"videoViewability,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomSegmentId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomSegmentId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}IntegralAdScience: Details of Integral Ad Science settings.
func (*IntegralAdScience)MarshalJSON¶added inv0.23.0
func (s *IntegralAdScience) MarshalJSON() ([]byte,error)
typeIntegrationDetails¶added inv0.23.0
type IntegrationDetails struct {// Details: Additional details of the entry in string format. Must be// UTF-8 encoded with a length of no more than 1000 characters.Detailsstring `json:"details,omitempty"`// IntegrationCode: An external identifier to be associated with the// entry. The integration code will show up together with the entry in// many places in the system, for example, reporting. Must be UTF-8// encoded with a length of no more than 500 characters.IntegrationCodestring `json:"integrationCode,omitempty"`// ForceSendFields is a list of field names (e.g. "Details") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Details") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}IntegrationDetails: Integration details of an entry.
func (*IntegrationDetails)MarshalJSON¶added inv0.23.0
func (s *IntegrationDetails) MarshalJSON() ([]byte,error)
typeInventorySource¶added inv0.23.0
type InventorySource struct {// Commitment: Whether the inventory source has a guaranteed or// non-guaranteed delivery.//// Possible values:// "INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED" - The commitment is not// specified or is unknown in this version.// "INVENTORY_SOURCE_COMMITMENT_GUARANTEED" - The commitment is// guaranteed delivery.// "INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED" - The commitment is// non-guaranteed delivery.Commitmentstring `json:"commitment,omitempty"`// CreativeConfigs: The creative requirements of the inventory source.// Not applicable for auction packages.CreativeConfigs []*CreativeConfig `json:"creativeConfigs,omitempty"`// DealId: The ID in the exchange space that uniquely identifies the// inventory source. Must be unique across buyers within each exchange// but not necessarily unique across exchanges.DealIdstring `json:"dealId,omitempty"`// DeliveryMethod: The delivery method of the inventory source. * For// non-guaranteed inventory sources, the only acceptable value is// `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. * For guaranteed// inventory sources, acceptable values are// `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and// `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`.//// Possible values:// "INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED" - The delivery// method is not specified or is unknown in this version.// "INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC" - The delivery// method is programmatic.// "INVENTORY_SOURCE_DELIVERY_METHOD_TAG" - The delivery method is// tag.DeliveryMethodstring `json:"deliveryMethod,omitempty"`// DisplayName: The display name of the inventory source. Must be UTF-8// encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// Exchange: The exchange to which the inventory source belongs.//// Possible values:// "EXCHANGE_UNSPECIFIED" - Exchange is not specified or is unknown in// this version.// "EXCHANGE_GOOGLE_AD_MANAGER" - Google Ad Manager.// "EXCHANGE_APPNEXUS" - AppNexus.// "EXCHANGE_BRIGHTROLL" - BrightRoll Exchange for Video from Yahoo!.// "EXCHANGE_ADFORM" - Adform.// "EXCHANGE_ADMETA" - Admeta.// "EXCHANGE_ADMIXER" - Admixer.// "EXCHANGE_ADSMOGO" - AdsMogo.// "EXCHANGE_ADSWIZZ" - AdsWizz.// "EXCHANGE_BIDSWITCH" - BidSwitch.// "EXCHANGE_BRIGHTROLL_DISPLAY" - BrightRoll Exchange for Display// from Yahoo!.// "EXCHANGE_CADREON" - Cadreon.// "EXCHANGE_DAILYMOTION" - Dailymotion.// "EXCHANGE_FIVE" - Five.// "EXCHANGE_FLUCT" - Fluct.// "EXCHANGE_FREEWHEEL" - FreeWheel SSP.// "EXCHANGE_GENIEE" - Geniee.// "EXCHANGE_GUMGUM" - GumGum.// "EXCHANGE_IMOBILE" - i-mobile.// "EXCHANGE_IBILLBOARD" - iBILLBOARD.// "EXCHANGE_IMPROVE_DIGITAL" - Improve Digital.// "EXCHANGE_INDEX" - Index Exchange.// "EXCHANGE_KARGO" - Kargo.// "EXCHANGE_MICROAD" - MicroAd.// "EXCHANGE_MOPUB" - MoPub.// "EXCHANGE_NEND" - Nend.// "EXCHANGE_ONE_BY_AOL_DISPLAY" - ONE by AOL: Display Market Place.// "EXCHANGE_ONE_BY_AOL_MOBILE" - ONE by AOL: Mobile.// "EXCHANGE_ONE_BY_AOL_VIDEO" - ONE by AOL: Video.// "EXCHANGE_OOYALA" - Ooyala.// "EXCHANGE_OPENX" - OpenX.// "EXCHANGE_PERMODO" - Permodo.// "EXCHANGE_PLATFORMONE" - Platform One.// "EXCHANGE_PLATFORMID" - PlatformId.// "EXCHANGE_PUBMATIC" - PubMatic.// "EXCHANGE_PULSEPOINT" - PulsePoint.// "EXCHANGE_REVENUEMAX" - RevenueMax.// "EXCHANGE_RUBICON" - Rubicon.// "EXCHANGE_SMARTCLIP" - SmartClip.// "EXCHANGE_SMARTRTB" - SmartRTB+.// "EXCHANGE_SMARTSTREAMTV" - SmartstreamTv.// "EXCHANGE_SOVRN" - Sovrn.// "EXCHANGE_SPOTXCHANGE" - SpotXchange.// "EXCHANGE_STROER" - Ströer SSP.// "EXCHANGE_TEADSTV" - TeadsTv.// "EXCHANGE_TELARIA" - Telaria.// "EXCHANGE_TVN" - TVN.// "EXCHANGE_UNITED" - United.// "EXCHANGE_YIELDLAB" - Yieldlab.// "EXCHANGE_YIELDMO" - Yieldmo.// "EXCHANGE_UNRULYX" - UnrulyX.// "EXCHANGE_OPEN8" - Open8.// "EXCHANGE_TRITON" - Triton.// "EXCHANGE_TRIPLELIFT" - TripleLift.// "EXCHANGE_TABOOLA" - Taboola.// "EXCHANGE_INMOBI" - InMobi.// "EXCHANGE_SMAATO" - Smaato.// "EXCHANGE_AJA" - Aja.// "EXCHANGE_SUPERSHIP" - Supership.// "EXCHANGE_NEXSTAR_DIGITAL" - Nexstar Digital.// "EXCHANGE_WAZE" - Waze.// "EXCHANGE_SOUNDCAST" - SoundCast.// "EXCHANGE_SHARETHROUGH" - Sharethrough.// "EXCHANGE_FYBER" - Fyber.// "EXCHANGE_RED_FOR_PUBLISHERS" - Red For Publishers.// "EXCHANGE_MEDIANET" - Media.net.// "EXCHANGE_TAPJOY" - Tapjoy.// "EXCHANGE_VISTAR" - Vistar.// "EXCHANGE_DAX" - DAX.// "EXCHANGE_JCD" - JCD.// "EXCHANGE_PLACE_EXCHANGE" - Place Exchange.// "EXCHANGE_APPLOVIN" - AppLovin.// "EXCHANGE_CONNATIX" - Connatix.// "EXCHANGE_RESET_DIGITAL" - Reset Digital.// "EXCHANGE_HIVESTACK" - Hivestack.Exchangestring `json:"exchange,omitempty"`// GuaranteedOrderId: Immutable. The ID of the guaranteed order that// this inventory source belongs to. Only applicable when commitment is// `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`.GuaranteedOrderIdstring `json:"guaranteedOrderId,omitempty"`// InventorySourceId: Output only. The unique ID of the inventory// source. Assigned by the system.InventorySourceIdint64 `json:"inventorySourceId,omitempty,string"`// InventorySourceProductType: Output only. The product type of the// inventory source, denoting the way through which it sells inventory.//// Possible values:// "INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED" - The product type is// not specified or is unknown in this version. Modifying inventory// sources of this product type are not supported via API.// "PREFERRED_DEAL" - The inventory source sells inventory through// Preferred Deal.// "PRIVATE_AUCTION" - The inventory source sells inventory through// Private Auction.// "PROGRAMMATIC_GUARANTEED" - The inventory source sells inventory// through Programmatic Guaranteed.// "TAG_GUARANTEED" - The inventory source sells inventory through Tag// Guaranteed.// "YOUTUBE_RESERVE" - The inventory source sells inventory through// YouTube Reserve.// "INSTANT_RESERVE" - The inventory source sells inventory through// Instant Reserve. Modifying inventory sources of this product type are// not supported via API.// "GUARANTEED_PACKAGE" - The inventory source sells inventory through// Guaranteed Package. Modifying inventory sources of this product type// are not supported via API.// "PROGRAMMATIC_TV" - The inventory source sells inventory through// Programmtic TV. Modifying inventory sources of this product type are// not supported via API.// "AUCTION_PACKAGE" - The inventory source sells inventory through// Auction Package. Modifying inventory sources of this product type are// not supported via API.InventorySourceProductTypestring `json:"inventorySourceProductType,omitempty"`// InventorySourceType: Denotes the type of the inventory source.//// Possible values:// "INVENTORY_SOURCE_TYPE_UNSPECIFIED" - The inventory source type is// not specified or is unknown in this version.// "INVENTORY_SOURCE_TYPE_PRIVATE" - Private inventory source.// "INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE" - Auction package.InventorySourceTypestring `json:"inventorySourceType,omitempty"`// Name: Output only. The resource name of the inventory source.Namestring `json:"name,omitempty"`// PublisherName: The publisher/seller name of the inventory source.PublisherNamestring `json:"publisherName,omitempty"`// RateDetails: Required. The rate details of the inventory source.RateDetails *RateDetails `json:"rateDetails,omitempty"`// ReadAdvertiserIds: Output only. The IDs of advertisers with read-only// access to the inventory source.ReadAdvertiserIdsgoogleapi.Int64s `json:"readAdvertiserIds,omitempty"`// ReadPartnerIds: Output only. The IDs of partners with read-only// access to the inventory source. All advertisers of partners in this// field inherit read-only access to the inventory source.ReadPartnerIdsgoogleapi.Int64s `json:"readPartnerIds,omitempty"`// ReadWriteAccessors: The partner or advertisers that have read/write// access to the inventory source. Output only when commitment is// `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`, in which case the// read/write accessors are inherited from the parent guaranteed order.// Required when commitment is// `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED`. If commitment is// `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED` and a partner is set in// this field, all advertisers under this partner will automatically// have read-only access to the inventory source. These advertisers will// not be included in read_advertiser_ids.ReadWriteAccessors *InventorySourceAccessors `json:"readWriteAccessors,omitempty"`// Status: The status settings of the inventory source.Status *InventorySourceStatus `json:"status,omitempty"`// TimeRange: The time range when this inventory source starts and stops// serving.TimeRange *TimeRange `json:"timeRange,omitempty"`// UpdateTime: Output only. The timestamp when the inventory source was// last updated. Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Commitment") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Commitment") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySource: An inventory source.
func (*InventorySource)MarshalJSON¶added inv0.23.0
func (s *InventorySource) MarshalJSON() ([]byte,error)
typeInventorySourceAccessors¶added inv0.82.0
type InventorySourceAccessors struct {// Advertisers: The advertisers with access to the inventory source. All// advertisers must belong to the same partner.Advertisers *InventorySourceAccessorsAdvertiserAccessors `json:"advertisers,omitempty"`// Partner: The partner with access to the inventory source.Partner *InventorySourceAccessorsPartnerAccessor `json:"partner,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Advertisers") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Advertisers") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySourceAccessors: The partner or advertisers with access tothe inventory source.
func (*InventorySourceAccessors)MarshalJSON¶added inv0.82.0
func (s *InventorySourceAccessors) MarshalJSON() ([]byte,error)
typeInventorySourceAccessorsAdvertiserAccessors¶added inv0.82.0
type InventorySourceAccessorsAdvertiserAccessors struct {// AdvertiserIds: The IDs of the advertisers.AdvertiserIdsgoogleapi.Int64s `json:"advertiserIds,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvertiserIds") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserIds") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySourceAccessorsAdvertiserAccessors: The advertisers withaccess to the inventory source.
func (*InventorySourceAccessorsAdvertiserAccessors)MarshalJSON¶added inv0.82.0
func (s *InventorySourceAccessorsAdvertiserAccessors) MarshalJSON() ([]byte,error)
typeInventorySourceAccessorsPartnerAccessor¶added inv0.82.0
type InventorySourceAccessorsPartnerAccessor struct {// PartnerId: The ID of the partner.PartnerIdint64 `json:"partnerId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "PartnerId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PartnerId") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySourceAccessorsPartnerAccessor: The partner with access tothe inventory source.
func (*InventorySourceAccessorsPartnerAccessor)MarshalJSON¶added inv0.82.0
func (s *InventorySourceAccessorsPartnerAccessor) MarshalJSON() ([]byte,error)
typeInventorySourceAssignedTargetingOptionDetails¶added inv0.23.0
type InventorySourceAssignedTargetingOptionDetails struct {// InventorySourceId: Required. ID of the inventory source. Should refer// to the inventory_source_id field of an InventorySource resource.InventorySourceIdint64 `json:"inventorySourceId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "InventorySourceId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InventorySourceId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}InventorySourceAssignedTargetingOptionDetails: Targeting details forinventory source. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_INVENTORY_SOURCE`.
func (*InventorySourceAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *InventorySourceAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeInventorySourceDisplayCreativeConfig¶added inv0.23.0
type InventorySourceDisplayCreativeConfig struct {// CreativeSize: The size requirements for display creatives that can be// assigned to the inventory source.CreativeSize *Dimensions `json:"creativeSize,omitempty"`// ForceSendFields is a list of field names (e.g. "CreativeSize") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreativeSize") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySourceDisplayCreativeConfig: The configuration for displaycreatives.
func (*InventorySourceDisplayCreativeConfig)MarshalJSON¶added inv0.23.0
func (s *InventorySourceDisplayCreativeConfig) MarshalJSON() ([]byte,error)
typeInventorySourceFilter¶
type InventorySourceFilter struct {// InventorySourceIds: Inventory Sources to download by ID. All IDs must// belong to the same Advertiser or Partner specified in// CreateSdfDownloadTaskRequest. Leave empty to download all Inventory// Sources for the selected Advertiser or Partner.InventorySourceIdsgoogleapi.Int64s `json:"inventorySourceIds,omitempty"`// ForceSendFields is a list of field names (e.g. "InventorySourceIds")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InventorySourceIds") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}InventorySourceFilter: A filtering option for filtering on InventorySource entities.
func (*InventorySourceFilter)MarshalJSON¶
func (s *InventorySourceFilter) MarshalJSON() ([]byte,error)
typeInventorySourceGroup¶added inv0.23.0
type InventorySourceGroup struct {// DisplayName: Required. The display name of the inventory source// group. Must be UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// InventorySourceGroupId: Output only. The unique ID of the inventory// source group. Assigned by the system.InventorySourceGroupIdint64 `json:"inventorySourceGroupId,omitempty,string"`// Name: Output only. The resource name of the inventory source group.Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySourceGroup: A collection of targetable inventory sources.
func (*InventorySourceGroup)MarshalJSON¶added inv0.23.0
func (s *InventorySourceGroup) MarshalJSON() ([]byte,error)
typeInventorySourceGroupAssignedTargetingOptionDetails¶added inv0.23.0
type InventorySourceGroupAssignedTargetingOptionDetails struct {// InventorySourceGroupId: Required. ID of the inventory source group.// Should refer to the inventory_source_group_id field of an// InventorySourceGroup resource.InventorySourceGroupIdint64 `json:"inventorySourceGroupId,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "InventorySourceGroupId") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InventorySourceGroupId")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}InventorySourceGroupAssignedTargetingOptionDetails: Targeting detailsfor inventory source group. This will be populated in the detailsfield of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_INVENTORY_SOURCE_GROUP`.
func (*InventorySourceGroupAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *InventorySourceGroupAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeInventorySourceGroupsAssignedInventorySourcesBulkEditCall¶added inv0.27.0
type InventorySourceGroupsAssignedInventorySourcesBulkEditCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsAssignedInventorySourcesBulkEditCall)Context¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Context(ctxcontext.Context) *InventorySourceGroupsAssignedInventorySourcesBulkEditCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsAssignedInventorySourcesBulkEditCall)Do¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditAssignedInventorySourcesResponse,error)
Do executes the "displayvideo.inventorySourceGroups.assignedInventorySources.bulkEdit" call.Exactly one of *BulkEditAssignedInventorySourcesResponse or errorwill be non-nil. Any non-2xx status code is an error. Responseheaders are in either*BulkEditAssignedInventorySourcesResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*InventorySourceGroupsAssignedInventorySourcesBulkEditCall)Fields¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesBulkEditCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsAssignedInventorySourcesBulkEditCall)Header¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeInventorySourceGroupsAssignedInventorySourcesCreateCall¶added inv0.27.0
type InventorySourceGroupsAssignedInventorySourcesCreateCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsAssignedInventorySourcesCreateCall)AdvertiserId¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsAssignedInventorySourcesCreateCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent inventory source group. Theparent partner will not have access to this assigned inventorysource.
func (*InventorySourceGroupsAssignedInventorySourcesCreateCall)Context¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Context(ctxcontext.Context) *InventorySourceGroupsAssignedInventorySourcesCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsAssignedInventorySourcesCreateCall)Do¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Do(opts ...googleapi.CallOption) (*AssignedInventorySource,error)
Do executes the "displayvideo.inventorySourceGroups.assignedInventorySources.create" call.Exactly one of *AssignedInventorySource or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedInventorySource.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourceGroupsAssignedInventorySourcesCreateCall)Fields¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsAssignedInventorySourcesCreateCall)Header¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsAssignedInventorySourcesCreateCall)PartnerId¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) PartnerId(partnerIdint64) *InventorySourceGroupsAssignedInventorySourcesCreateCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent inventory source group. Only thispartner will have write access to this assigned inventory source.
typeInventorySourceGroupsAssignedInventorySourcesDeleteCall¶added inv0.27.0
type InventorySourceGroupsAssignedInventorySourcesDeleteCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsAssignedInventorySourcesDeleteCall)AdvertiserId¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent inventory source group. Theparent partner does not have access to this assigned inventorysource.
func (*InventorySourceGroupsAssignedInventorySourcesDeleteCall)Context¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Context(ctxcontext.Context) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsAssignedInventorySourcesDeleteCall)Do¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.inventorySourceGroups.assignedInventorySources.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*InventorySourceGroupsAssignedInventorySourcesDeleteCall)Fields¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsAssignedInventorySourcesDeleteCall)Header¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsAssignedInventorySourcesDeleteCall)PartnerId¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) PartnerId(partnerIdint64) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the parent inventory source group. Only thispartner has write access to this assigned inventory source.
typeInventorySourceGroupsAssignedInventorySourcesListCall¶added inv0.27.0
type InventorySourceGroupsAssignedInventorySourcesListCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsAssignedInventorySourcesListCall)AdvertiserId¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsAssignedInventorySourcesListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the assignment. If the parentinventory source group is partner-owned, only advertisers to whichthe parent group is explicitly shared can access the assignedinventory source.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)Context¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Context(ctxcontext.Context) *InventorySourceGroupsAssignedInventorySourcesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)Do¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Do(opts ...googleapi.CallOption) (*ListAssignedInventorySourcesResponse,error)
Do executes the "displayvideo.inventorySourceGroups.assignedInventorySources.list" call.Exactly one of *ListAssignedInventorySourcesResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListAssignedInventorySourcesResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)Fields¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Fields(s ...googleapi.Field) *InventorySourceGroupsAssignedInventorySourcesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)Filter¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Filter(filterstring) *InventorySourceGroupsAssignedInventorySourcesListCall
Filter sets the optional parameter "filter": Allows filtering byassigned inventory source fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the `OR` logical operator. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: *`assignedInventorySourceId` The length of this field should be nomore than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)Header¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)IfNoneMatch¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) IfNoneMatch(entityTagstring) *InventorySourceGroupsAssignedInventorySourcesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)OrderBy¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) OrderBy(orderBystring) *InventorySourceGroupsAssignedInventorySourcesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `assignedInventorySourceId`(default) The default sorting order is ascending. To specifydescending order for a field, a suffix " desc" should be added to thefield name. Example: `assignedInventorySourceId desc`.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)PageSize¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) PageSize(pageSizeint64) *InventorySourceGroupsAssignedInventorySourcesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `100`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)PageToken¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) PageToken(pageTokenstring) *InventorySourceGroupsAssignedInventorySourcesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListAssignedInventorySources` method. If not specified, the firstpage of results will be returned.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)Pages¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Pages(ctxcontext.Context, f func(*ListAssignedInventorySourcesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*InventorySourceGroupsAssignedInventorySourcesListCall)PartnerId¶added inv0.27.0
func (c *InventorySourceGroupsAssignedInventorySourcesListCall) PartnerId(partnerIdint64) *InventorySourceGroupsAssignedInventorySourcesListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the assignment. If the parent inventorysource group is advertiser-owned, the assignment cannot be accessedvia a partner.
typeInventorySourceGroupsAssignedInventorySourcesService¶added inv0.27.0
type InventorySourceGroupsAssignedInventorySourcesService struct {// contains filtered or unexported fields}funcNewInventorySourceGroupsAssignedInventorySourcesService¶added inv0.27.0
func NewInventorySourceGroupsAssignedInventorySourcesService(s *Service) *InventorySourceGroupsAssignedInventorySourcesService
func (*InventorySourceGroupsAssignedInventorySourcesService)BulkEdit¶added inv0.27.0
func (r *InventorySourceGroupsAssignedInventorySourcesService) BulkEdit(inventorySourceGroupIdint64, bulkeditassignedinventorysourcesrequest *BulkEditAssignedInventorySourcesRequest) *InventorySourceGroupsAssignedInventorySourcesBulkEditCall
BulkEdit: Bulk edits multiple assignments between inventory sourcesand a single inventory source group. The operation will delete theassigned inventory sources provided inBulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided inBulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
- inventorySourceGroupId: The ID of the inventory source group towhich the assignments are assigned.
func (*InventorySourceGroupsAssignedInventorySourcesService)Create¶added inv0.27.0
func (r *InventorySourceGroupsAssignedInventorySourcesService) Create(inventorySourceGroupIdint64, assignedinventorysource *AssignedInventorySource) *InventorySourceGroupsAssignedInventorySourcesCreateCall
Create: Creates an assignment between an inventory source and aninventory source group.
- inventorySourceGroupId: The ID of the inventory source group towhich the assignment will be assigned.
func (*InventorySourceGroupsAssignedInventorySourcesService)Delete¶added inv0.27.0
func (r *InventorySourceGroupsAssignedInventorySourcesService) Delete(inventorySourceGroupIdint64, assignedInventorySourceIdint64) *InventorySourceGroupsAssignedInventorySourcesDeleteCall
Delete: Deletes the assignment between an inventory source and aninventory source group.
- assignedInventorySourceId: The ID of the assigned inventory sourceto delete.
- inventorySourceGroupId: The ID of the inventory source group towhich this assignment is assigned.
func (*InventorySourceGroupsAssignedInventorySourcesService)List¶added inv0.27.0
func (r *InventorySourceGroupsAssignedInventorySourcesService) List(inventorySourceGroupIdint64) *InventorySourceGroupsAssignedInventorySourcesListCall
List: Lists inventory sources assigned to an inventory source group.
- inventorySourceGroupId: The ID of the inventory source group towhich these assignments are assigned.
typeInventorySourceGroupsCreateCall¶added inv0.27.0
type InventorySourceGroupsCreateCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsCreateCall)AdvertiserId¶added inv0.27.0
func (c *InventorySourceGroupsCreateCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsCreateCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the inventory source group. The parentpartner will not have access to this group.
func (*InventorySourceGroupsCreateCall)Context¶added inv0.27.0
func (c *InventorySourceGroupsCreateCall) Context(ctxcontext.Context) *InventorySourceGroupsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsCreateCall)Do¶added inv0.27.0
func (c *InventorySourceGroupsCreateCall) Do(opts ...googleapi.CallOption) (*InventorySourceGroup,error)
Do executes the "displayvideo.inventorySourceGroups.create" call.Exactly one of *InventorySourceGroup or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*InventorySourceGroup.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourceGroupsCreateCall)Fields¶added inv0.27.0
func (c *InventorySourceGroupsCreateCall) Fields(s ...googleapi.Field) *InventorySourceGroupsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsCreateCall)Header¶added inv0.27.0
func (c *InventorySourceGroupsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsCreateCall)PartnerId¶added inv0.27.0
func (c *InventorySourceGroupsCreateCall) PartnerId(partnerIdint64) *InventorySourceGroupsCreateCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the inventory source group. Only this partner willhave write access to this group. Only advertisers to which this groupis explicitly shared will have read access to this group.
typeInventorySourceGroupsDeleteCall¶added inv0.27.0
type InventorySourceGroupsDeleteCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsDeleteCall)AdvertiserId¶added inv0.27.0
func (c *InventorySourceGroupsDeleteCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsDeleteCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the inventory source group. The parentpartner does not have access to this group.
func (*InventorySourceGroupsDeleteCall)Context¶added inv0.27.0
func (c *InventorySourceGroupsDeleteCall) Context(ctxcontext.Context) *InventorySourceGroupsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsDeleteCall)Do¶added inv0.27.0
func (c *InventorySourceGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.inventorySourceGroups.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*InventorySourceGroupsDeleteCall)Fields¶added inv0.27.0
func (c *InventorySourceGroupsDeleteCall) Fields(s ...googleapi.Field) *InventorySourceGroupsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsDeleteCall)Header¶added inv0.27.0
func (c *InventorySourceGroupsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsDeleteCall)PartnerId¶added inv0.27.0
func (c *InventorySourceGroupsDeleteCall) PartnerId(partnerIdint64) *InventorySourceGroupsDeleteCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the inventory source group. Only this partner haswrite access to this group.
typeInventorySourceGroupsGetCall¶added inv0.23.0
type InventorySourceGroupsGetCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsGetCall)AdvertiserId¶added inv0.23.0
func (c *InventorySourceGroupsGetCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the inventory source group. If aninventory source group is partner-owned, only advertisers to whichthe group is explicitly shared can access the group.
func (*InventorySourceGroupsGetCall)Context¶added inv0.23.0
func (c *InventorySourceGroupsGetCall) Context(ctxcontext.Context) *InventorySourceGroupsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsGetCall)Do¶added inv0.23.0
func (c *InventorySourceGroupsGetCall) Do(opts ...googleapi.CallOption) (*InventorySourceGroup,error)
Do executes the "displayvideo.inventorySourceGroups.get" call.Exactly one of *InventorySourceGroup or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*InventorySourceGroup.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourceGroupsGetCall)Fields¶added inv0.23.0
func (c *InventorySourceGroupsGetCall) Fields(s ...googleapi.Field) *InventorySourceGroupsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsGetCall)Header¶added inv0.23.0
func (c *InventorySourceGroupsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsGetCall)IfNoneMatch¶added inv0.23.0
func (c *InventorySourceGroupsGetCall) IfNoneMatch(entityTagstring) *InventorySourceGroupsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*InventorySourceGroupsGetCall)PartnerId¶added inv0.23.0
func (c *InventorySourceGroupsGetCall) PartnerId(partnerIdint64) *InventorySourceGroupsGetCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the inventory source group. A partnercannot access an advertiser-owned inventory source group.
typeInventorySourceGroupsListCall¶added inv0.23.0
type InventorySourceGroupsListCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsListCall)AdvertiserId¶added inv0.23.0
func (c *InventorySourceGroupsListCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the inventory source group. If aninventory source group is partner-owned, only advertisers to whichthe group is explicitly shared can access the group.
func (*InventorySourceGroupsListCall)Context¶added inv0.23.0
func (c *InventorySourceGroupsListCall) Context(ctxcontext.Context) *InventorySourceGroupsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsListCall)Do¶added inv0.23.0
func (c *InventorySourceGroupsListCall) Do(opts ...googleapi.CallOption) (*ListInventorySourceGroupsResponse,error)
Do executes the "displayvideo.inventorySourceGroups.list" call.Exactly one of *ListInventorySourceGroupsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListInventorySourceGroupsResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*InventorySourceGroupsListCall)Fields¶added inv0.23.0
func (c *InventorySourceGroupsListCall) Fields(s ...googleapi.Field) *InventorySourceGroupsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsListCall)Filter¶added inv0.23.0
func (c *InventorySourceGroupsListCall) Filter(filterstring) *InventorySourceGroupsListCall
Filter sets the optional parameter "filter": Allows filtering byinventory source group fields. Supported syntax: * Filter expressionsare made up of one or more restrictions. * Restrictions can becombined by the logical operator `OR`. * A restriction has the formof `{field} {operator} {value}`. * All fields must use the `EQUALS(=)` operator. Supported fields: * `inventorySourceGroupId` Thelength of this field should be no more than 500 characters. Referenceour filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*InventorySourceGroupsListCall)Header¶added inv0.23.0
func (c *InventorySourceGroupsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsListCall)IfNoneMatch¶added inv0.23.0
func (c *InventorySourceGroupsListCall) IfNoneMatch(entityTagstring) *InventorySourceGroupsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*InventorySourceGroupsListCall)OrderBy¶added inv0.23.0
func (c *InventorySourceGroupsListCall) OrderBy(orderBystring) *InventorySourceGroupsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) *`inventorySourceGroupId` The default sorting order is ascending. Tospecify descending order for a field, a suffix "desc" should be addedto the field name. For example, `displayName desc`.
func (*InventorySourceGroupsListCall)PageSize¶added inv0.23.0
func (c *InventorySourceGroupsListCall) PageSize(pageSizeint64) *InventorySourceGroupsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*InventorySourceGroupsListCall)PageToken¶added inv0.23.0
func (c *InventorySourceGroupsListCall) PageToken(pageTokenstring) *InventorySourceGroupsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListInventorySources` method. If not specified, the first page ofresults will be returned.
func (*InventorySourceGroupsListCall)Pages¶added inv0.23.0
func (c *InventorySourceGroupsListCall) Pages(ctxcontext.Context, f func(*ListInventorySourceGroupsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*InventorySourceGroupsListCall)PartnerId¶added inv0.23.0
func (c *InventorySourceGroupsListCall) PartnerId(partnerIdint64) *InventorySourceGroupsListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the inventory source group. A partnercannot access advertiser-owned inventory source groups.
typeInventorySourceGroupsPatchCall¶added inv0.27.0
type InventorySourceGroupsPatchCall struct {// contains filtered or unexported fields}func (*InventorySourceGroupsPatchCall)AdvertiserId¶added inv0.27.0
func (c *InventorySourceGroupsPatchCall) AdvertiserId(advertiserIdint64) *InventorySourceGroupsPatchCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the inventory source group. The parentpartner does not have access to this group.
func (*InventorySourceGroupsPatchCall)Context¶added inv0.27.0
func (c *InventorySourceGroupsPatchCall) Context(ctxcontext.Context) *InventorySourceGroupsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourceGroupsPatchCall)Do¶added inv0.27.0
func (c *InventorySourceGroupsPatchCall) Do(opts ...googleapi.CallOption) (*InventorySourceGroup,error)
Do executes the "displayvideo.inventorySourceGroups.patch" call.Exactly one of *InventorySourceGroup or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*InventorySourceGroup.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourceGroupsPatchCall)Fields¶added inv0.27.0
func (c *InventorySourceGroupsPatchCall) Fields(s ...googleapi.Field) *InventorySourceGroupsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourceGroupsPatchCall)Header¶added inv0.27.0
func (c *InventorySourceGroupsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourceGroupsPatchCall)PartnerId¶added inv0.27.0
func (c *InventorySourceGroupsPatchCall) PartnerId(partnerIdint64) *InventorySourceGroupsPatchCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that owns the inventory source group. Only this partner haswrite access to this group.
func (*InventorySourceGroupsPatchCall)UpdateMask¶added inv0.27.0
func (c *InventorySourceGroupsPatchCall) UpdateMask(updateMaskstring) *InventorySourceGroupsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeInventorySourceGroupsService¶added inv0.23.0
type InventorySourceGroupsService struct {AssignedInventorySources *InventorySourceGroupsAssignedInventorySourcesService// contains filtered or unexported fields}funcNewInventorySourceGroupsService¶added inv0.23.0
func NewInventorySourceGroupsService(s *Service) *InventorySourceGroupsService
func (*InventorySourceGroupsService)Create¶added inv0.27.0
func (r *InventorySourceGroupsService) Create(inventorysourcegroup *InventorySourceGroup) *InventorySourceGroupsCreateCall
Create: Creates a new inventory source group. Returns the newlycreated inventory source group if successful.
func (*InventorySourceGroupsService)Delete¶added inv0.27.0
func (r *InventorySourceGroupsService) Delete(inventorySourceGroupIdint64) *InventorySourceGroupsDeleteCall
Delete: Deletes an inventory source group.
- inventorySourceGroupId: The ID of the inventory source group todelete.
func (*InventorySourceGroupsService)Get¶added inv0.23.0
func (r *InventorySourceGroupsService) Get(inventorySourceGroupIdint64) *InventorySourceGroupsGetCall
Get: Gets an inventory source group.
- inventorySourceGroupId: The ID of the inventory source group tofetch.
func (*InventorySourceGroupsService)List¶added inv0.23.0
func (r *InventorySourceGroupsService) List() *InventorySourceGroupsListCall
List: Lists inventory source groups that are accessible to thecurrent user. The order is defined by the order_by parameter.
func (*InventorySourceGroupsService)Patch¶added inv0.27.0
func (r *InventorySourceGroupsService) Patch(inventorySourceGroupIdint64, inventorysourcegroup *InventorySourceGroup) *InventorySourceGroupsPatchCall
Patch: Updates an inventory source group. Returns the updatedinventory source group if successful.
- inventorySourceGroupId: Output only. The unique ID of the inventorysource group. Assigned by the system.
typeInventorySourceStatus¶added inv0.23.0
type InventorySourceStatus struct {// ConfigStatus: Output only. The configuration status of the inventory// source. Only applicable for guaranteed inventory sources. Acceptable// values are `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and// `INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`. An inventory source must// be configured (fill in the required fields, choose creatives, and// select a default campaign) before it can serve.//// Possible values:// "INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED" - The approval status// is not specified or is unknown in this version.// "INVENTORY_SOURCE_CONFIG_STATUS_PENDING" - The beginning state of a// guaranteed inventory source. The inventory source in this state needs// to be configured.// "INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED" - The state after the// buyer configures a guaranteed inventory source.ConfigStatusstring `json:"configStatus,omitempty"`// EntityPauseReason: The user-provided reason for pausing this// inventory source. Must not exceed 100 characters. Only applicable// when entity_status is set to `ENTITY_STATUS_PAUSED`.EntityPauseReasonstring `json:"entityPauseReason,omitempty"`// EntityStatus: Whether or not the inventory source is servable.// Acceptable values are `ENTITY_STATUS_ACTIVE`,// `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value// is `ENTITY_STATUS_ACTIVE`.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// SellerPauseReason: Output only. The seller-provided reason for// pausing this inventory source. Only applicable for inventory sources// synced directly from the publishers and when seller_status is set to// `ENTITY_STATUS_PAUSED`.SellerPauseReasonstring `json:"sellerPauseReason,omitempty"`// SellerStatus: Output only. The status set by the seller for the// inventory source. Only applicable for inventory sources synced// directly from the publishers. Acceptable values are// `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_PAUSED`.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.SellerStatusstring `json:"sellerStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "ConfigStatus") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConfigStatus") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySourceStatus: The status related settings of the inventorysource.
func (*InventorySourceStatus)MarshalJSON¶added inv0.23.0
func (s *InventorySourceStatus) MarshalJSON() ([]byte,error)
typeInventorySourceVideoCreativeConfig¶added inv0.23.0
type InventorySourceVideoCreativeConfig struct {// Duration: The duration requirements for the video creatives that can// be assigned to the inventory source.Durationstring `json:"duration,omitempty"`// ForceSendFields is a list of field names (e.g. "Duration") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Duration") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}InventorySourceVideoCreativeConfig: The configuration for videocreatives.
func (*InventorySourceVideoCreativeConfig)MarshalJSON¶added inv0.23.0
func (s *InventorySourceVideoCreativeConfig) MarshalJSON() ([]byte,error)
typeInventorySourcesCreateCall¶added inv0.82.0
type InventorySourcesCreateCall struct {// contains filtered or unexported fields}func (*InventorySourcesCreateCall)AdvertiserId¶added inv0.82.0
func (c *InventorySourcesCreateCall) AdvertiserId(advertiserIdint64) *InventorySourcesCreateCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that the request is being made within.
func (*InventorySourcesCreateCall)Context¶added inv0.82.0
func (c *InventorySourcesCreateCall) Context(ctxcontext.Context) *InventorySourcesCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourcesCreateCall)Do¶added inv0.82.0
func (c *InventorySourcesCreateCall) Do(opts ...googleapi.CallOption) (*InventorySource,error)
Do executes the "displayvideo.inventorySources.create" call.Exactly one of *InventorySource or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*InventorySource.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourcesCreateCall)Fields¶added inv0.82.0
func (c *InventorySourcesCreateCall) Fields(s ...googleapi.Field) *InventorySourcesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourcesCreateCall)Header¶added inv0.82.0
func (c *InventorySourcesCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourcesCreateCall)PartnerId¶added inv0.82.0
func (c *InventorySourcesCreateCall) PartnerId(partnerIdint64) *InventorySourcesCreateCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that the request is being made within.
typeInventorySourcesEditInventorySourceReadWriteAccessorsCall¶added inv0.82.0
type InventorySourcesEditInventorySourceReadWriteAccessorsCall struct {// contains filtered or unexported fields}func (*InventorySourcesEditInventorySourceReadWriteAccessorsCall)Context¶added inv0.82.0
func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Context(ctxcontext.Context) *InventorySourcesEditInventorySourceReadWriteAccessorsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourcesEditInventorySourceReadWriteAccessorsCall)Do¶added inv0.82.0
func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Do(opts ...googleapi.CallOption) (*InventorySourceAccessors,error)
Do executes the "displayvideo.inventorySources.editInventorySourceReadWriteAccessors" call.Exactly one of *InventorySourceAccessors or error will be non-nil.Any non-2xx status code is an error. Response headers are in either*InventorySourceAccessors.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourcesEditInventorySourceReadWriteAccessorsCall)Fields¶added inv0.82.0
func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Fields(s ...googleapi.Field) *InventorySourcesEditInventorySourceReadWriteAccessorsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourcesEditInventorySourceReadWriteAccessorsCall)Header¶added inv0.82.0
func (c *InventorySourcesEditInventorySourceReadWriteAccessorsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeInventorySourcesGetCall¶added inv0.23.0
type InventorySourcesGetCall struct {// contains filtered or unexported fields}func (*InventorySourcesGetCall)Context¶added inv0.23.0
func (c *InventorySourcesGetCall) Context(ctxcontext.Context) *InventorySourcesGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourcesGetCall)Do¶added inv0.23.0
func (c *InventorySourcesGetCall) Do(opts ...googleapi.CallOption) (*InventorySource,error)
Do executes the "displayvideo.inventorySources.get" call.Exactly one of *InventorySource or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*InventorySource.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourcesGetCall)Fields¶added inv0.23.0
func (c *InventorySourcesGetCall) Fields(s ...googleapi.Field) *InventorySourcesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourcesGetCall)Header¶added inv0.23.0
func (c *InventorySourcesGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourcesGetCall)IfNoneMatch¶added inv0.23.0
func (c *InventorySourcesGetCall) IfNoneMatch(entityTagstring) *InventorySourcesGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*InventorySourcesGetCall)PartnerId¶added inv0.23.0
func (c *InventorySourcesGetCall) PartnerId(partnerIdint64) *InventorySourcesGetCall
PartnerId sets the optional parameter "partnerId": Required. The IDof the DV360 partner to which the fetched inventory source ispermissioned.
typeInventorySourcesListCall¶added inv0.23.0
type InventorySourcesListCall struct {// contains filtered or unexported fields}func (*InventorySourcesListCall)AdvertiserId¶added inv0.23.0
func (c *InventorySourcesListCall) AdvertiserId(advertiserIdint64) *InventorySourcesListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that has access to the inventory source.
func (*InventorySourcesListCall)Context¶added inv0.23.0
func (c *InventorySourcesListCall) Context(ctxcontext.Context) *InventorySourcesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourcesListCall)Do¶added inv0.23.0
func (c *InventorySourcesListCall) Do(opts ...googleapi.CallOption) (*ListInventorySourcesResponse,error)
Do executes the "displayvideo.inventorySources.list" call.Exactly one of *ListInventorySourcesResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListInventorySourcesResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourcesListCall)Fields¶added inv0.23.0
func (c *InventorySourcesListCall) Fields(s ...googleapi.Field) *InventorySourcesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourcesListCall)Filter¶added inv0.23.0
func (c *InventorySourcesListCall) Filter(filterstring) *InventorySourcesListCall
Filter sets the optional parameter "filter": Allows filtering byinventory source fields. Supported syntax: * Filter expressions aremade up of one or more restrictions. * Restrictions can be combinedby `AND` or `OR` logical operators. A sequence of restrictionsimplicitly uses `AND`. * A restriction has the form of `{field}{operator} {value}`. * All fields must use the `EQUALS (=)` operator.Supported fields: * `status.entityStatus` * `commitment` *`deliveryMethod` * `rateDetails.rateType` * `exchange` Examples: *All active inventory sources:`status.entityStatus="ENTITY_STATUS_ACTIVE" * Inventory sourcesbelonging to Google Ad Manager or Rubicon exchanges:`exchange="EXCHANGE_GOOGLE_AD_MANAGER" ORexchange="EXCHANGE_RUBICON" The length of this field should be nomore than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*InventorySourcesListCall)Header¶added inv0.23.0
func (c *InventorySourcesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourcesListCall)IfNoneMatch¶added inv0.23.0
func (c *InventorySourcesListCall) IfNoneMatch(entityTagstring) *InventorySourcesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*InventorySourcesListCall)OrderBy¶added inv0.23.0
func (c *InventorySourcesListCall) OrderBy(orderBystring) *InventorySourcesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Forexample, `displayName desc`.
func (*InventorySourcesListCall)PageSize¶added inv0.23.0
func (c *InventorySourcesListCall) PageSize(pageSizeint64) *InventorySourcesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*InventorySourcesListCall)PageToken¶added inv0.23.0
func (c *InventorySourcesListCall) PageToken(pageTokenstring) *InventorySourcesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListInventorySources` method. If not specified, the first page ofresults will be returned.
func (*InventorySourcesListCall)Pages¶added inv0.23.0
func (c *InventorySourcesListCall) Pages(ctxcontext.Context, f func(*ListInventorySourcesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*InventorySourcesListCall)PartnerId¶added inv0.23.0
func (c *InventorySourcesListCall) PartnerId(partnerIdint64) *InventorySourcesListCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that has access to the inventory source.
typeInventorySourcesPatchCall¶added inv0.82.0
type InventorySourcesPatchCall struct {// contains filtered or unexported fields}func (*InventorySourcesPatchCall)AdvertiserId¶added inv0.82.0
func (c *InventorySourcesPatchCall) AdvertiserId(advertiserIdint64) *InventorySourcesPatchCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that the request is being made within.
func (*InventorySourcesPatchCall)Context¶added inv0.82.0
func (c *InventorySourcesPatchCall) Context(ctxcontext.Context) *InventorySourcesPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*InventorySourcesPatchCall)Do¶added inv0.82.0
func (c *InventorySourcesPatchCall) Do(opts ...googleapi.CallOption) (*InventorySource,error)
Do executes the "displayvideo.inventorySources.patch" call.Exactly one of *InventorySource or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*InventorySource.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*InventorySourcesPatchCall)Fields¶added inv0.82.0
func (c *InventorySourcesPatchCall) Fields(s ...googleapi.Field) *InventorySourcesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*InventorySourcesPatchCall)Header¶added inv0.82.0
func (c *InventorySourcesPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*InventorySourcesPatchCall)PartnerId¶added inv0.82.0
func (c *InventorySourcesPatchCall) PartnerId(partnerIdint64) *InventorySourcesPatchCall
PartnerId sets the optional parameter "partnerId": The ID of thepartner that the request is being made within.
func (*InventorySourcesPatchCall)UpdateMask¶added inv0.82.0
func (c *InventorySourcesPatchCall) UpdateMask(updateMaskstring) *InventorySourcesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeInventorySourcesService¶added inv0.23.0
type InventorySourcesService struct {// contains filtered or unexported fields}funcNewInventorySourcesService¶added inv0.23.0
func NewInventorySourcesService(s *Service) *InventorySourcesService
func (*InventorySourcesService)Create¶added inv0.82.0
func (r *InventorySourcesService) Create(inventorysource *InventorySource) *InventorySourcesCreateCall
Create: Creates a new inventory source. Returns the newly createdinventory source if successful.
func (*InventorySourcesService)EditInventorySourceReadWriteAccessors¶added inv0.82.0
func (r *InventorySourcesService) EditInventorySourceReadWriteAccessors(inventorySourceIdint64, editinventorysourcereadwriteaccessorsrequest *EditInventorySourceReadWriteAccessorsRequest) *InventorySourcesEditInventorySourceReadWriteAccessorsCall
EditInventorySourceReadWriteAccessors: Edits read/write accessors ofan inventory source. Returns the updated read_write_accessors for theinventory source.
- inventorySourceId: The ID of inventory source to update.
func (*InventorySourcesService)Get¶added inv0.23.0
func (r *InventorySourcesService) Get(inventorySourceIdint64) *InventorySourcesGetCall
Get: Gets an inventory source.
- inventorySourceId: The ID of the inventory source to fetch.
func (*InventorySourcesService)List¶added inv0.23.0
func (r *InventorySourcesService) List() *InventorySourcesListCall
List: Lists inventory sources that are accessible to the currentuser. The order is defined by the order_by parameter. If a filter byentity_status is not specified, inventory sources with entity status`ENTITY_STATUS_ARCHIVED` will not be included in the results.
func (*InventorySourcesService)Patch¶added inv0.82.0
func (r *InventorySourcesService) Patch(inventorySourceIdint64, inventorysource *InventorySource) *InventorySourcesPatchCall
Patch: Updates an existing inventory source. Returns the updatedinventory source if successful.
- inventorySourceId: Output only. The unique ID of the inventorysource. Assigned by the system.
typeInvoice¶added inv0.48.0
type Invoice struct {// BudgetInvoiceGroupingId: The budget grouping ID for this invoice.// This field will only be set if the invoice level of the corresponding// billing profile was set to "Budget invoice grouping ID".BudgetInvoiceGroupingIdstring `json:"budgetInvoiceGroupingId,omitempty"`// BudgetSummaries: The list of summarized information for each budget// associated with this invoice. This field will only be set if the// invoice detail level of the corresponding billing profile was set to// "Budget level PO".BudgetSummaries []*BudgetSummary `json:"budgetSummaries,omitempty"`// CorrectedInvoiceId: The ID of the original invoice being adjusted by// this invoice, if applicable. May appear on the invoice PDF as// `Reference invoice number`. If replaced_invoice_ids is set, this// field will be empty.CorrectedInvoiceIdstring `json:"correctedInvoiceId,omitempty"`// CurrencyCode: The currency used in the invoice in ISO 4217 format.CurrencyCodestring `json:"currencyCode,omitempty"`// DisplayName: The display name of the invoice.DisplayNamestring `json:"displayName,omitempty"`// DueDate: The date when the invoice is due.DueDate *Date `json:"dueDate,omitempty"`// InvoiceId: The unique ID of the invoice.InvoiceIdstring `json:"invoiceId,omitempty"`// InvoiceType: The type of invoice document.//// Possible values:// "INVOICE_TYPE_UNSPECIFIED" - Not specified or is unknown in this// version.// "INVOICE_TYPE_CREDIT" - The invoice has a negative amount.// "INVOICE_TYPE_INVOICE" - The invoice has a positive amount.InvoiceTypestring `json:"invoiceType,omitempty"`// IssueDate: The date when the invoice was issued.IssueDate *Date `json:"issueDate,omitempty"`// Name: The resource name of the invoice.Namestring `json:"name,omitempty"`// NonBudgetMicros: The total amount of costs or adjustments not tied to// a particular budget, in micros of the invoice's currency. For// example, if currency_code is `USD`, then 1000000 represents one US// dollar.NonBudgetMicrosint64 `json:"nonBudgetMicros,omitempty,string"`// PaymentsAccountId: The ID of the payments account the invoice belongs// to. Appears on the invoice PDF as `Billing Account Number`.PaymentsAccountIdstring `json:"paymentsAccountId,omitempty"`// PaymentsProfileId: The ID of the payments profile the invoice belongs// to. Appears on the invoice PDF as `Billing ID`.PaymentsProfileIdstring `json:"paymentsProfileId,omitempty"`// PdfUrl: The URL to download a PDF copy of the invoice. This URL is// user specific and requires a valid OAuth 2.0 access token to access.// The access token must be provided in an `Authorization: Bearer` HTTP// header and be authorized for one of the following scopes: *// `https://www.googleapis.com/auth/display-video-mediaplanning` *// `https://www.googleapis.com/auth/display-video` The URL will be valid// for 7 days after retrieval of this invoice object or until this// invoice is retrieved again.PdfUrlstring `json:"pdfUrl,omitempty"`// PurchaseOrderNumber: Purchase order number associated with the// invoice.PurchaseOrderNumberstring `json:"purchaseOrderNumber,omitempty"`// ReplacedInvoiceIds: The ID(s) of any originally issued invoice that// is being cancelled by this invoice, if applicable. Multiple invoices// may be listed if those invoices are being consolidated into a single// invoice. May appear on invoice PDF as `Replaced invoice numbers`. If// corrected_invoice_id is set, this field will be empty.ReplacedInvoiceIds []string `json:"replacedInvoiceIds,omitempty"`// ServiceDateRange: The service start and end dates which are covered// by this invoice.ServiceDateRange *DateRange `json:"serviceDateRange,omitempty"`// SubtotalAmountMicros: The pre-tax subtotal amount, in micros of the// invoice's currency. For example, if currency_code is `USD`, then// 1000000 represents one US dollar.SubtotalAmountMicrosint64 `json:"subtotalAmountMicros,omitempty,string"`// TotalAmountMicros: The invoice total amount, in micros of the// invoice's currency. For example, if currency_code is `USD`, then// 1000000 represents one US dollar.TotalAmountMicrosint64 `json:"totalAmountMicros,omitempty,string"`// TotalTaxAmountMicros: The sum of all taxes in invoice, in micros of// the invoice's currency. For example, if currency_code is `USD`, then// 1000000 represents one US dollar.TotalTaxAmountMicrosint64 `json:"totalTaxAmountMicros,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "BudgetInvoiceGroupingId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BudgetInvoiceGroupingId")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Invoice: A single invoice.
func (*Invoice)MarshalJSON¶added inv0.48.0
typeKeywordAssignedTargetingOptionDetails¶added inv0.23.0
type KeywordAssignedTargetingOptionDetails struct {// Keyword: Required. The keyword, for example `car insurance`. Positive// keyword cannot be offensive word. Must be UTF-8 encoded with a// maximum size of 255 bytes. Maximum number of characters is 80.// Maximum number of words is 10.Keywordstring `json:"keyword,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// ForceSendFields is a list of field names (e.g. "Keyword") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Keyword") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}KeywordAssignedTargetingOptionDetails: Details for assigned keywordtargeting option. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_KEYWORD`.
func (*KeywordAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *KeywordAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeLanguageAssignedTargetingOptionDetails¶added inv0.23.0
type LanguageAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the language (e.g.,// "French").DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted. All// assigned language targeting options on the same resource must have// the same value for this field.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_LANGUAGE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}LanguageAssignedTargetingOptionDetails: Details for assigned languagetargeting option. This will be populated in the details field of anAssignedTargetingOption when targeting_type is`TARGETING_TYPE_LANGUAGE`.
func (*LanguageAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *LanguageAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeLanguageTargetingOptionDetails¶added inv0.23.0
type LanguageTargetingOptionDetails struct {// DisplayName: Output only. The display name of the language (e.g.,// "French").DisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}LanguageTargetingOptionDetails: Represents a targetable language.This will be populated in the language_details field whentargeting_type is `TARGETING_TYPE_LANGUAGE`.
func (*LanguageTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *LanguageTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeLineItem¶added inv0.23.0
type LineItem struct {// AdvertiserId: Output only. The unique ID of the advertiser the line// item belongs to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// BidStrategy: Required. The bidding strategy of the line item.BidStrategy *BiddingStrategy `json:"bidStrategy,omitempty"`// Budget: Required. The budget allocation setting of the line item.Budget *LineItemBudget `json:"budget,omitempty"`// CampaignId: Output only. The unique ID of the campaign that the line// item belongs to.CampaignIdint64 `json:"campaignId,omitempty,string"`// ConversionCounting: The conversion tracking setting of the line item.ConversionCounting *ConversionCountingConfig `json:"conversionCounting,omitempty"`// CreativeIds: The IDs of the creatives associated with the line item.CreativeIdsgoogleapi.Int64s `json:"creativeIds,omitempty"`// DisplayName: Required. The display name of the line item. Must be// UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// EntityStatus: Required. Controls whether or not the line item can// spend its budget and bid on inventory. * For CreateLineItem method,// only `ENTITY_STATUS_DRAFT` is allowed. To activate a line item, use// UpdateLineItem method and update the status to `ENTITY_STATUS_ACTIVE`// after creation. * A line item cannot be changed back to// `ENTITY_STATUS_DRAFT` status from any other status. * If the line// item's parent insertion order is not active, the line item can't// spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// ExcludeNewExchanges: Whether to exclude new exchanges from// automatically being targeted by the line item. This field is false by// default.ExcludeNewExchangesbool `json:"excludeNewExchanges,omitempty"`// Flight: Required. The start and end time of the line item's flight.Flight *LineItemFlight `json:"flight,omitempty"`// FrequencyCap: Required. The impression frequency cap settings of the// line item. The max_impressions field in this settings object must be// used if assigning a limited cap.FrequencyCap *FrequencyCap `json:"frequencyCap,omitempty"`// InsertionOrderId: Required. Immutable. The unique ID of the insertion// order that the line item belongs to.InsertionOrderIdint64 `json:"insertionOrderId,omitempty,string"`// IntegrationDetails: Integration details of the line item.IntegrationDetails *IntegrationDetails `json:"integrationDetails,omitempty"`// InventorySourceIds: The IDs of the private inventory sources assigned// to the line item.InventorySourceIdsgoogleapi.Int64s `json:"inventorySourceIds,omitempty"`// LineItemId: Output only. The unique ID of the line item. Assigned by// the system.LineItemIdint64 `json:"lineItemId,omitempty,string"`// LineItemType: Required. Immutable. The type of the line item.//// Possible values:// "LINE_ITEM_TYPE_UNSPECIFIED" - Type value is not specified or is// unknown in this version. Line items of this type and their targeting// cannot be created or updated using the API.// "LINE_ITEM_TYPE_DISPLAY_DEFAULT" - Image, HTML5, native, or rich// media ads.// "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL" - Display ads that// drive installs of an app.// "LINE_ITEM_TYPE_VIDEO_DEFAULT" - Video ads sold on a CPM basis for// a variety of environments.// "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL" - Video ads that drive// installs of an app.// "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY" - Display ads served// on mobile app inventory. Line items of this type and their targeting// cannot be created or updated using the API.// "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY" - Video ads served on// mobile app inventory. Line items of this type and their targeting// cannot be created or updated using the API.// "LINE_ITEM_TYPE_AUDIO_DEFAULT" - RTB Audio ads sold for a variety// of environments.// "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP" - Over-the-top ads present in// OTT insertion orders. This type is only applicable to line items with// an insertion order of insertion_order_type `OVER_THE_TOP`.// "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME" - Display ads served on// digital-out-of-home inventory. Line items of this type and their// targeting cannot be created or updated using the API.// "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - Video ads served on// digital-out-of-home inventory. Line items of this type and their// targeting cannot be created or updated using the API.LineItemTypestring `json:"lineItemType,omitempty"`// MobileApp: The mobile app promoted by the line item. This is// applicable only when line_item_type is either// `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or// `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`.MobileApp *MobileApp `json:"mobileApp,omitempty"`// Name: Output only. The resource name of the line item.Namestring `json:"name,omitempty"`// Pacing: Required. The budget spending speed setting of the line item.Pacing *Pacing `json:"pacing,omitempty"`// PartnerCosts: The partner costs associated with the line item. If// absent or empty in CreateLineItem method, the newly created line item// will inherit partner costs from its parent insertion order.PartnerCosts []*PartnerCost `json:"partnerCosts,omitempty"`// PartnerRevenueModel: Required. The partner revenue model setting of// the line item.PartnerRevenueModel *PartnerRevenueModel `json:"partnerRevenueModel,omitempty"`// ReservationType: Output only. The reservation type of the line item.//// Possible values:// "RESERVATION_TYPE_UNSPECIFIED" - Reservation type value is not// specified or is unknown in this version.// "RESERVATION_TYPE_NOT_GUARANTEED" - Not created through a// guaranteed inventory source.// "RESERVATION_TYPE_PROGRAMMATIC_GUARANTEED" - Created through a// programmatic guaranteed inventory source.// "RESERVATION_TYPE_TAG_GUARANTEED" - Created through a tag// guaranteed inventory source.ReservationTypestring `json:"reservationType,omitempty"`// TargetingExpansion: The optimized targeting// (//support.google.com/displayvideo/answer/12060859) settings of the// line item. This config is only applicable for display, video, or// audio line items that use automated bidding and positively target// eligible audience lists.TargetingExpansion *TargetingExpansionConfig `json:"targetingExpansion,omitempty"`// UpdateTime: Output only. The timestamp when the line item was last// updated. Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// WarningMessages: Output only. The warning messages generated by the// line item. These warnings do not block saving the line item, but some// may block the line item from running.//// Possible values:// "LINE_ITEM_WARNING_MESSAGE_UNSPECIFIED" - Not specified or is// unknown.// "INVALID_FLIGHT_DATES" - This line item has invalid flight dates.// The line item will not run.// "EXPIRED" - This line item's end date is in the past.// "PENDING_FLIGHT" - This line item will begin running in the future.// "ALL_PARTNER_ENABLED_EXCHANGES_NEGATIVELY_TARGETED" - All partner// enabled exchanges are negatively targeted. The line item will not// run.// "INVALID_INVENTORY_SOURCE" - No active inventory sources are being// targeted. The line item will not run.// "APP_INVENTORY_INVALID_SITE_TARGETING" - This line item's Apps &// URLs targeting doesn't include any mobile apps. This line item's type// requires you to include mobile apps in your channel, sitelist, or// apps targeting. The line item will not run.// "APP_INVENTORY_INVALID_AUDIENCE_LISTS" - This line item isn't// targeting any mobile users. This line item's type requires you to// target a user list with mobile users. The line item will not run.// "NO_VALID_CREATIVE" - This line item does not contain any valid// creative. The line item will not run.// "PARENT_INSERTION_ORDER_PAUSED" - The insertion order of this line// item is paused. The line item will not run.// "PARENT_INSERTION_ORDER_EXPIRED" - The insertion order of this line// item has its end date set in the past. The line item will not run.// "NO_POSITIVE_AUDIENCE_LIST_TARGETED" - This line item does not// target any audience lists, which may result in spending your budget// too quickly.// "APP_INSTALL_NO_CONVERSION_PIXEL" - This app install line item does// not have any conversion pixel set up.// "TARGETING_REVOKED_OR_CLOSED_USER_LIST" - This line item targets// one or more user lists that are no longer available. In the future,// this will prevent the line item from serving, so consider removing// these lists from your targeting.// "APP_INSTALL_NO_OPTIMAL_BIDDING_STRATEGY" - This app install line// item does not have an optimal bidding strategy.// "CREATIVE_SIZE_NOT_IN_USE_FOR_TARGETED_DEALS" - Deals targeted by// this line item accept creative sizes which are not in use. This may// limit the line item's delivery or performance.// "NO_CREATIVE_FOR_TARGETED_DEALS" - This line item does not contain// any creative for the targeted deals.// "TARGETING_DEPRECATED_GEO_TARGET" - This line item targets a geo// target that is deprecated.// "DEPRECATED_FIRST_PARTY_AUDIENCE_EXCLUSION" - This line item uses// the exclude_first_party_audience setting, which is deprecated and// scheduled to sunset after **March 25, 2023**. Update your API// integration to directly exclude any first-party audiences using// audience targeting before **March 25, 2023** to account for the// sunset of the exclude_first_party_audience field.WarningMessages []string `json:"warningMessages,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}LineItem: A single line item.
func (*LineItem)MarshalJSON¶added inv0.23.0
typeLineItemBudget¶added inv0.23.0
type LineItemBudget struct {// BudgetAllocationType: Required. The type of the budget allocation.// `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable when// automatic budget allocation is enabled for the parent insertion// order.//// Possible values:// "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNSPECIFIED" - Type value is not// specified or is unknown in this version.// "LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC" - Automatic budget// allocation is enabled for the line item.// "LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED" - A fixed max budget// amount is allocated for the line item.// "LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED" - No budget limit is// applied to the line item.BudgetAllocationTypestring `json:"budgetAllocationType,omitempty"`// BudgetUnit: Output only. The budget unit specifies whether the budget// is currency based or impression based. This value is inherited from// the parent insertion order.//// Possible values:// "BUDGET_UNIT_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "BUDGET_UNIT_CURRENCY" - Budgeting in currency amounts.// "BUDGET_UNIT_IMPRESSIONS" - Budgeting in impression amounts.BudgetUnitstring `json:"budgetUnit,omitempty"`// MaxAmount: The maximum budget amount the line item will spend. Must// be greater than 0. When budget_allocation_type is: *// `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC`, this field is immutable// and is set by the system. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`,// if budget_unit is: - `BUDGET_UNIT_CURRENCY`, this field represents// maximum budget amount to spend, in micros of the advertiser's// currency. For example, 1500000 represents 1.5 standard units of the// currency. - `BUDGET_UNIT_IMPRESSIONS`, this field represents the// maximum number of impressions to serve. *// `LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED`, this field is not// applicable and will be ignored by the system.MaxAmountint64 `json:"maxAmount,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "BudgetAllocationType") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BudgetAllocationType") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}LineItemBudget: Settings that control how budget is allocated.
func (*LineItemBudget)MarshalJSON¶added inv0.23.0
func (s *LineItemBudget) MarshalJSON() ([]byte,error)
typeLineItemFlight¶added inv0.23.0
type LineItemFlight struct {// DateRange: The flight start and end dates of the line item. They are// resolved relative to the parent advertiser's time zone. * Required// when flight_date_type is `LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM`. Output// only otherwise. * When creating a new flight, both `start_date` and// `end_date` must be in the future. * An existing flight with a// `start_date` in the past has a mutable `end_date` but an immutable// `start_date`. * `end_date` must be the `start_date` or later, both// before the year 2037.DateRange *DateRange `json:"dateRange,omitempty"`// FlightDateType: Required. The type of the line item's flight dates.//// Possible values:// "LINE_ITEM_FLIGHT_DATE_TYPE_UNSPECIFIED" - Type value is not// specified or is unknown in this version.// "LINE_ITEM_FLIGHT_DATE_TYPE_INHERITED" - The line item's flight// dates are inherited from its parent insertion order.// "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM" - The line item uses its own// custom flight dates.// "LINE_ITEM_FLIGHT_DATE_TYPE_TRIGGER" - The line item uses a// trigger. **Warning:** Line Items using manual triggers no longer// serve in Display & Video 360. This value will sunset on August 1,// 2023. Read our [feature deprecation// announcement](/display-video/api/deprecations#features.manual_triggers// ) for more information.FlightDateTypestring `json:"flightDateType,omitempty"`// TriggerId: The ID of the manual trigger associated with the line// item. * Required when flight_date_type is// `LINE_ITEM_FLIGHT_DATE_TYPE_TRIGGER`. Must not be set otherwise. *// When set, the line item's flight dates are inherited from its parent// insertion order. * Active line items will spend when the selected// trigger is activated within the parent insertion order's flight// dates. **Warning:** Line Items using manual triggers no longer serve// in Display & Video 360. This field will sunset on August 1, 2023.// Read our feature deprecation announcement// (/display-video/api/deprecations#features.manual_triggers) for more// information.TriggerIdint64 `json:"triggerId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "DateRange") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DateRange") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}LineItemFlight: Settings that control the active duration of a lineitem.
func (*LineItemFlight)MarshalJSON¶added inv0.23.0
func (s *LineItemFlight) MarshalJSON() ([]byte,error)
typeListAdvertiserAssignedTargetingOptionsResponse¶added inv0.26.0
type ListAdvertiserAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// ListAdvertiserAssignedTargetingOptionsRequest to fetch the next page// of results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListAdvertiserAssignedTargetingOptionsResponse: Response message forListAdvertiserAssignedTargetingOptions.
func (*ListAdvertiserAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.26.0
func (s *ListAdvertiserAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeListAdvertisersResponse¶added inv0.23.0
type ListAdvertisersResponse struct {// Advertisers: The list of advertisers. This list will be absent if// empty.Advertisers []*Advertiser `json:"advertisers,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListAdvertisers` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Advertisers") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Advertisers") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListAdvertisersResponse)MarshalJSON¶added inv0.23.0
func (s *ListAdvertisersResponse) MarshalJSON() ([]byte,error)
typeListAssignedInventorySourcesResponse¶added inv0.27.0
type ListAssignedInventorySourcesResponse struct {// AssignedInventorySources: The list of assigned inventory sources.// This list will be absent if empty.AssignedInventorySources []*AssignedInventorySource `json:"assignedInventorySources,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListAssignedInventorySources` method to retrieve the next page of// results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedInventorySources") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedInventorySources")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListAssignedInventorySourcesResponse: Response message forAssignedInventorySourceService.ListAssignedInventorySources.
func (*ListAssignedInventorySourcesResponse)MarshalJSON¶added inv0.27.0
func (s *ListAssignedInventorySourcesResponse) MarshalJSON() ([]byte,error)
typeListAssignedLocationsResponse¶added inv0.27.0
type ListAssignedLocationsResponse struct {// AssignedLocations: The list of assigned locations. This list will be// absent if empty.AssignedLocations []*AssignedLocation `json:"assignedLocations,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListAssignedLocations` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AssignedLocations")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedLocations") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListAssignedLocationsResponse: Response message forAssignedLocationService.ListAssignedLocations.
func (*ListAssignedLocationsResponse)MarshalJSON¶added inv0.27.0
func (s *ListAssignedLocationsResponse) MarshalJSON() ([]byte,error)
typeListCampaignAssignedTargetingOptionsResponse¶added inv0.43.0
type ListCampaignAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// ListCampaignAssignedTargetingOptionsRequest to fetch the next page of// results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListCampaignAssignedTargetingOptionsResponse: Response message forListCampaignAssignedTargetingOptions.
func (*ListCampaignAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.43.0
func (s *ListCampaignAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeListCampaignsResponse¶added inv0.23.0
type ListCampaignsResponse struct {// Campaigns: The list of campaigns. This list will be absent if empty.Campaigns []*Campaign `json:"campaigns,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListCampaigns` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Campaigns") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Campaigns") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListCampaignsResponse)MarshalJSON¶added inv0.23.0
func (s *ListCampaignsResponse) MarshalJSON() ([]byte,error)
typeListChannelsResponse¶added inv0.23.0
type ListChannelsResponse struct {// Channels: The list of channels. This list will be absent if empty.Channels []*Channel `json:"channels,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListChannels` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Channels") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Channels") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListChannelsResponse)MarshalJSON¶added inv0.23.0
func (s *ListChannelsResponse) MarshalJSON() ([]byte,error)
typeListCombinedAudiencesResponse¶added inv0.23.0
type ListCombinedAudiencesResponse struct {// CombinedAudiences: The list of combined audiences. This list will be// absent if empty.CombinedAudiences []*CombinedAudience `json:"combinedAudiences,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListCombinedAudiences` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CombinedAudiences")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CombinedAudiences") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListCombinedAudiencesResponse)MarshalJSON¶added inv0.23.0
func (s *ListCombinedAudiencesResponse) MarshalJSON() ([]byte,error)
typeListCreativesResponse¶added inv0.23.0
type ListCreativesResponse struct {// Creatives: The list of creatives. This list will be absent if empty.Creatives []*Creative `json:"creatives,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListCreativesRequest` method to retrieve the next page of results.// If this field is null, it means this is the last page.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Creatives") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Creatives") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListCreativesResponse)MarshalJSON¶added inv0.23.0
func (s *ListCreativesResponse) MarshalJSON() ([]byte,error)
typeListCustomBiddingAlgorithmsResponse¶added inv0.30.0
type ListCustomBiddingAlgorithmsResponse struct {// CustomBiddingAlgorithms: The list of custom bidding algorithms. This// list will be absent if empty.CustomBiddingAlgorithms []*CustomBiddingAlgorithm `json:"customBiddingAlgorithms,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListCustomBiddingAlgorithmsRequest` method to retrieve the next page// of results. If this field is null, it means this is the last page.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "CustomBiddingAlgorithms") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomBiddingAlgorithms")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListCustomBiddingAlgorithmsResponse)MarshalJSON¶added inv0.30.0
func (s *ListCustomBiddingAlgorithmsResponse) MarshalJSON() ([]byte,error)
typeListCustomBiddingScriptsResponse¶added inv0.60.0
type ListCustomBiddingScriptsResponse struct {// CustomBiddingScripts: The list of custom bidding scripts. This list// will be absent if empty.CustomBiddingScripts []*CustomBiddingScript `json:"customBiddingScripts,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListCustomBiddingScriptsRequest` method to retrieve the next page of// results. If this field is null, it means this is the last page.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "CustomBiddingScripts") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomBiddingScripts") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListCustomBiddingScriptsResponse)MarshalJSON¶added inv0.60.0
func (s *ListCustomBiddingScriptsResponse) MarshalJSON() ([]byte,error)
typeListCustomListsResponse¶added inv0.23.0
type ListCustomListsResponse struct {// CustomLists: The list of custom lists. This list will be absent if// empty.CustomLists []*CustomList `json:"customLists,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListCustomLists` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CustomLists") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomLists") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListCustomListsResponse)MarshalJSON¶added inv0.23.0
func (s *ListCustomListsResponse) MarshalJSON() ([]byte,error)
typeListFirstAndThirdPartyAudiencesResponse¶added inv0.23.0
type ListFirstAndThirdPartyAudiencesResponse struct {// FirstAndThirdPartyAudiences: The list of first and third party// audiences. Audience size properties will not be included. This list// will be absent if empty.FirstAndThirdPartyAudiences []*FirstAndThirdPartyAudience `json:"firstAndThirdPartyAudiences,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListFirstAndThirdPartyAudiences` method to retrieve the next page of// results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "FirstAndThirdPartyAudiences") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "FirstAndThirdPartyAudiences") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}func (*ListFirstAndThirdPartyAudiencesResponse)MarshalJSON¶added inv0.23.0
func (s *ListFirstAndThirdPartyAudiencesResponse) MarshalJSON() ([]byte,error)
typeListGoogleAudiencesResponse¶added inv0.23.0
type ListGoogleAudiencesResponse struct {// GoogleAudiences: The list of Google audiences. This list will be// absent if empty.GoogleAudiences []*GoogleAudience `json:"googleAudiences,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListGoogleAudiences` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "GoogleAudiences") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GoogleAudiences") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListGoogleAudiencesResponse)MarshalJSON¶added inv0.23.0
func (s *ListGoogleAudiencesResponse) MarshalJSON() ([]byte,error)
typeListGuaranteedOrdersResponse¶added inv0.82.0
type ListGuaranteedOrdersResponse struct {// GuaranteedOrders: The list of guaranteed orders. This list will be// absent if empty.GuaranteedOrders []*GuaranteedOrder `json:"guaranteedOrders,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListGuaranteedOrders` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "GuaranteedOrders") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GuaranteedOrders") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListGuaranteedOrdersResponse)MarshalJSON¶added inv0.82.0
func (s *ListGuaranteedOrdersResponse) MarshalJSON() ([]byte,error)
typeListInsertionOrderAssignedTargetingOptionsResponse¶added inv0.41.0
type ListInsertionOrderAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next// page of results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListInsertionOrderAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.41.0
func (s *ListInsertionOrderAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeListInsertionOrdersResponse¶added inv0.23.0
type ListInsertionOrdersResponse struct {// InsertionOrders: The list of insertion orders. This list will be// absent if empty.InsertionOrders []*InsertionOrder `json:"insertionOrders,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListInsertionOrders` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "InsertionOrders") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InsertionOrders") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListInsertionOrdersResponse)MarshalJSON¶added inv0.23.0
func (s *ListInsertionOrdersResponse) MarshalJSON() ([]byte,error)
typeListInventorySourceGroupsResponse¶added inv0.23.0
type ListInventorySourceGroupsResponse struct {// InventorySourceGroups: The list of inventory source groups. This list// will be absent if empty.InventorySourceGroups []*InventorySourceGroup `json:"inventorySourceGroups,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListInventorySourceGroups` method to retrieve the next page of// results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "InventorySourceGroups") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InventorySourceGroups") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListInventorySourceGroupsResponse: Response message forInventorySourceGroupService.ListInventorySourceGroups.
func (*ListInventorySourceGroupsResponse)MarshalJSON¶added inv0.23.0
func (s *ListInventorySourceGroupsResponse) MarshalJSON() ([]byte,error)
typeListInventorySourcesResponse¶added inv0.23.0
type ListInventorySourcesResponse struct {// InventorySources: The list of inventory sources. This list will be// absent if empty.InventorySources []*InventorySource `json:"inventorySources,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListInventorySources` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "InventorySources") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InventorySources") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListInventorySourcesResponse)MarshalJSON¶added inv0.23.0
func (s *ListInventorySourcesResponse) MarshalJSON() ([]byte,error)
typeListInvoicesResponse¶added inv0.48.0
type ListInvoicesResponse struct {// Invoices: The list of invoices. This list will be absent if empty.Invoices []*Invoice `json:"invoices,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListInvoices` method to retrieve the next page of results. This// token will be absent if there are no more invoices to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Invoices") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Invoices") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListInvoicesResponse)MarshalJSON¶added inv0.48.0
func (s *ListInvoicesResponse) MarshalJSON() ([]byte,error)
typeListLineItemAssignedTargetingOptionsResponse¶added inv0.23.0
type ListLineItemAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// ListLineItemAssignedTargetingOptionsRequest to fetch the next page of// results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListLineItemAssignedTargetingOptionsResponse: Response message forListLineItemAssignedTargetingOptions.
func (*ListLineItemAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.23.0
func (s *ListLineItemAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeListLineItemsResponse¶added inv0.23.0
type ListLineItemsResponse struct {// LineItems: The list of line items. This list will be absent if empty.LineItems []*LineItem `json:"lineItems,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListLineItems` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "LineItems") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LineItems") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListLineItemsResponse)MarshalJSON¶added inv0.23.0
func (s *ListLineItemsResponse) MarshalJSON() ([]byte,error)
typeListLocationListsResponse¶added inv0.23.0
type ListLocationListsResponse struct {// LocationLists: The list of location lists. This list will be absent// if empty.LocationLists []*LocationList `json:"locationLists,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListLocationLists` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "LocationLists") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LocationLists") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListLocationListsResponse)MarshalJSON¶added inv0.23.0
func (s *ListLocationListsResponse) MarshalJSON() ([]byte,error)
typeListManualTriggersResponse¶added inv0.35.0
type ListManualTriggersResponse struct {// ManualTriggers: The list of manual triggers. This list will be absent// if empty.ManualTriggers []*ManualTrigger `json:"manualTriggers,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListManualTriggers` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ManualTriggers") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ManualTriggers") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListManualTriggersResponse)MarshalJSON¶added inv0.35.0
func (s *ListManualTriggersResponse) MarshalJSON() ([]byte,error)
typeListNegativeKeywordListsResponse¶added inv0.23.0
type ListNegativeKeywordListsResponse struct {// NegativeKeywordLists: The list of negative keyword lists. This list// will be absent if empty.NegativeKeywordLists []*NegativeKeywordList `json:"negativeKeywordLists,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListNegativeKeywordLists` method to retrieve the next page of// results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "NegativeKeywordLists") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NegativeKeywordLists") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListNegativeKeywordListsResponse: Response message forNegativeKeywordListService.ListNegativeKeywordLists.
func (*ListNegativeKeywordListsResponse)MarshalJSON¶added inv0.23.0
func (s *ListNegativeKeywordListsResponse) MarshalJSON() ([]byte,error)
typeListNegativeKeywordsResponse¶added inv0.27.0
type ListNegativeKeywordsResponse struct {// NegativeKeywords: The list of negative keywords. This list will be// absent if empty.NegativeKeywords []*NegativeKeyword `json:"negativeKeywords,omitempty"`// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListNegativeKeywords` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NegativeKeywords") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NegativeKeywords") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ListNegativeKeywordsResponse: Response message forNegativeKeywordService.ListNegativeKeywords.
func (*ListNegativeKeywordsResponse)MarshalJSON¶added inv0.27.0
func (s *ListNegativeKeywordsResponse) MarshalJSON() ([]byte,error)
typeListPartnerAssignedTargetingOptionsResponse¶added inv0.30.0
type ListPartnerAssignedTargetingOptionsResponse struct {// AssignedTargetingOptions: The list of assigned targeting options.// This list will be absent if empty.AssignedTargetingOptions []*AssignedTargetingOption `json:"assignedTargetingOptions,omitempty"`// NextPageToken: A token identifying the next page of results. This// value should be specified as the pageToken in a subsequent// ListPartnerAssignedTargetingOptionsRequest to fetch the next page of// results. This token will be absent if there are no more// assigned_targeting_options to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "AssignedTargetingOptions") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedTargetingOptions")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}func (*ListPartnerAssignedTargetingOptionsResponse)MarshalJSON¶added inv0.30.0
func (s *ListPartnerAssignedTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeListPartnersResponse¶added inv0.30.0
type ListPartnersResponse struct {// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListPartners` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// Partners: The list of partners. This list will be absent if empty.Partners []*Partner `json:"partners,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListPartnersResponse)MarshalJSON¶added inv0.30.0
func (s *ListPartnersResponse) MarshalJSON() ([]byte,error)
typeListSitesResponse¶added inv0.27.0
type ListSitesResponse struct {// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListSites` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// Sites: The list of sites. This list will be absent if empty.Sites []*Site `json:"sites,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ListSitesResponse: Response message for SiteService.ListSites.
func (*ListSitesResponse)MarshalJSON¶added inv0.27.0
func (s *ListSitesResponse) MarshalJSON() ([]byte,error)
typeListTargetingOptionsResponse¶added inv0.23.0
type ListTargetingOptionsResponse struct {// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListTargetingOptions` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// TargetingOptions: The list of targeting options. This list will be// absent if empty.TargetingOptions []*TargetingOption `json:"targetingOptions,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ListTargetingOptionsResponse: Response message forListTargetingOptions.
func (*ListTargetingOptionsResponse)MarshalJSON¶added inv0.23.0
func (s *ListTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeListUsersResponse¶added inv0.30.0
type ListUsersResponse struct {// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `ListUsers` method to retrieve the next page of results. This token// will be absent if there are no more results to return.NextPageTokenstring `json:"nextPageToken,omitempty"`// Users: The list of users. This list will be absent if empty.Users []*User `json:"users,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*ListUsersResponse)MarshalJSON¶added inv0.30.0
func (s *ListUsersResponse) MarshalJSON() ([]byte,error)
typeLocationList¶added inv0.23.0
type LocationList struct {// AdvertiserId: Required. Immutable. The unique ID of the advertiser// the location list belongs to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// DisplayName: Required. The display name of the location list. Must be// UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// LocationListId: Output only. The unique ID of the location list.// Assigned by the system.LocationListIdint64 `json:"locationListId,omitempty,string"`// LocationType: Required. Immutable. The type of location. All// locations in the list will share this type.//// Possible values:// "TARGETING_LOCATION_TYPE_UNSPECIFIED" - Default value when type is// not specified or is unknown.// "TARGETING_LOCATION_TYPE_PROXIMITY" - The type for proximity geo// location.// "TARGETING_LOCATION_TYPE_REGIONAL" - The type for regional geo// location.LocationTypestring `json:"locationType,omitempty"`// Name: Output only. The resource name of the location list.Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}LocationList: A list of locations used for targeting.
func (*LocationList)MarshalJSON¶added inv0.23.0
func (s *LocationList) MarshalJSON() ([]byte,error)
typeLookbackWindow¶added inv0.23.0
type LookbackWindow struct {// ClickDays: Lookback window, in days, from the last time a given user// clicked on one of your ads.ClickDaysint64 `json:"clickDays,omitempty"`// ImpressionDays: Lookback window, in days, from the last time a given// user viewed one of your ads.ImpressionDaysint64 `json:"impressionDays,omitempty"`// ForceSendFields is a list of field names (e.g. "ClickDays") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ClickDays") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}LookbackWindow: Specifies how many days into the past to look whendetermining whether to record a conversion.
func (*LookbackWindow)MarshalJSON¶added inv0.23.0
func (s *LookbackWindow) MarshalJSON() ([]byte,error)
typeLookupInvoiceCurrencyResponse¶added inv0.48.0
type LookupInvoiceCurrencyResponse struct {// CurrencyCode: Currency used by the advertiser in ISO 4217 format.CurrencyCodestring `json:"currencyCode,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CurrencyCode") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrencyCode") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}func (*LookupInvoiceCurrencyResponse)MarshalJSON¶added inv0.48.0
func (s *LookupInvoiceCurrencyResponse) MarshalJSON() ([]byte,error)
typeManualTrigger¶added inv0.35.0
type ManualTrigger struct {// ActivationDurationMinutes: Required. The maximum duration of each// activation in minutes. Must be between 1 and 360 inclusive. After// this duration, the trigger will be automatically deactivated.ActivationDurationMinutesint64 `json:"activationDurationMinutes,omitempty,string"`// AdvertiserId: Required. Immutable. The unique ID of the advertiser// that the manual trigger belongs to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// DisplayName: Required. The display name of the manual trigger. Must// be UTF-8 encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// LatestActivationTime: Output only. The timestamp of the trigger's// latest activation.LatestActivationTimestring `json:"latestActivationTime,omitempty"`// Name: Output only. The resource name of the manual trigger.Namestring `json:"name,omitempty"`// State: Output only. The state of the manual trigger. Will be set to// the `INACTIVE` state upon creation.//// Possible values:// "STATE_UNSPECIFIED" - Default value when state is not specified or// is unknown in this version.// "INACTIVE" - The trigger is currently inactive and ready to be// activated.// "ACTIVE" - The trigger is currently active (activated).Statestring `json:"state,omitempty"`// TriggerId: Output only. The unique ID of the manual trigger.TriggerIdint64 `json:"triggerId,omitempty,string"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g.// "ActivationDurationMinutes") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "ActivationDurationMinutes") to include in API requests with the JSON// null value. By default, fields with empty values are omitted from API// requests. However, any field with an empty value appearing in// NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}ManualTrigger: A single manual trigger in Display & Video 360.**Warning:** Line Items using manual triggers no longer serve inDisplay & Video 360. This resource will sunset on August 1, 2023.Read our feature deprecation announcement(/display-video/api/deprecations#features.manual_triggers) for moreinformation.
func (*ManualTrigger)MarshalJSON¶added inv0.35.0
func (s *ManualTrigger) MarshalJSON() ([]byte,error)
typeMaximizeSpendBidStrategy¶added inv0.23.0
type MaximizeSpendBidStrategy struct {// CustomBiddingAlgorithmId: The ID of the Custom Bidding Algorithm used// by this strategy. Only applicable when performance_goal_type is set// to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.CustomBiddingAlgorithmIdint64 `json:"customBiddingAlgorithmId,omitempty,string"`// MaxAverageCpmBidAmountMicros: The maximum average CPM that may be// bid, in micros of the advertiser's currency. Must be greater than or// equal to a billable unit of the given currency. For example, 1500000// represents 1.5 standard units of the currency.MaxAverageCpmBidAmountMicrosint64 `json:"maxAverageCpmBidAmountMicros,omitempty,string"`// PerformanceGoalType: Required. The type of the performance goal that// the bidding strategy tries to minimize while spending the full// budget. `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` is not// supported for this strategy.//// Possible values:// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED" - Type value// is not specified or is unknown in this version.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA" - Cost per action.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC" - Cost per click.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM" - Viewable// CPM.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO" - Custom// bidding algorithm.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA" - Completed inview// and audible views.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN" - Inview time over// 10 secs views.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED" - Viewable// impressions.PerformanceGoalTypestring `json:"performanceGoalType,omitempty"`// RaiseBidForDeals: Whether the strategy takes deal floor prices into// account.RaiseBidForDealsbool `json:"raiseBidForDeals,omitempty"`// ForceSendFields is a list of field names (e.g.// "CustomBiddingAlgorithmId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomBiddingAlgorithmId")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}MaximizeSpendBidStrategy: A strategy that automatically adjusts thebid to optimize a specified performance goal while spending the fullbudget.
func (*MaximizeSpendBidStrategy)MarshalJSON¶added inv0.23.0
func (s *MaximizeSpendBidStrategy) MarshalJSON() ([]byte,error)
typeMeasurementConfig¶added inv0.30.0
type MeasurementConfig struct {// Dv360ToCmCostReportingEnabled: Whether or not to report DV360 cost to// CM360.Dv360ToCmCostReportingEnabledbool `json:"dv360ToCmCostReportingEnabled,omitempty"`// Dv360ToCmDataSharingEnabled: Whether or not to include DV360 data in// CM360 data transfer reports.Dv360ToCmDataSharingEnabledbool `json:"dv360ToCmDataSharingEnabled,omitempty"`// ForceSendFields is a list of field names (e.g.// "Dv360ToCmCostReportingEnabled") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "Dv360ToCmCostReportingEnabled") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}MeasurementConfig: Measurement settings of a partner.
func (*MeasurementConfig)MarshalJSON¶added inv0.30.0
func (s *MeasurementConfig) MarshalJSON() ([]byte,error)
typeMediaDownloadCall¶
type MediaDownloadCall struct {// contains filtered or unexported fields}func (*MediaDownloadCall)Context¶
func (c *MediaDownloadCall) Context(ctxcontext.Context) *MediaDownloadCall
Context sets the context to be used in this call's Do and Downloadmethods. Any pending HTTP request will be aborted if the providedcontext is canceled.
func (*MediaDownloadCall)Do¶
func (c *MediaDownloadCall) Do(opts ...googleapi.CallOption) (*GoogleBytestreamMedia,error)
Do executes the "displayvideo.media.download" call.Exactly one of *GoogleBytestreamMedia or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*GoogleBytestreamMedia.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*MediaDownloadCall)Download¶
func (c *MediaDownloadCall) Download(opts ...googleapi.CallOption) (*http.Response,error)
Download fetches the API endpoint's "media" value, instead of the normalAPI response value. If the returned error is nil, the Response is guaranteed tohave a 2xx status code. Callers must close the Response.Body as usual.
func (*MediaDownloadCall)Fields¶
func (c *MediaDownloadCall) Fields(s ...googleapi.Field) *MediaDownloadCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*MediaDownloadCall)Header¶
func (c *MediaDownloadCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*MediaDownloadCall)IfNoneMatch¶
func (c *MediaDownloadCall) IfNoneMatch(entityTagstring) *MediaDownloadCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeMediaService¶
type MediaService struct {// contains filtered or unexported fields}funcNewMediaService¶
func NewMediaService(s *Service) *MediaService
func (*MediaService)Download¶
func (r *MediaService) Download(resourceNamestring) *MediaDownloadCall
Download: Downloads media. Download is supported on the URI`/download/{resource_name=**}?alt=media.` **Note**: Download requestswill not be successful without including `alt=media` query string.
- resourceName: Name of the media that is being downloaded. SeeReadRequest.resource_name.
func (*MediaService)Upload¶added inv0.55.0
func (r *MediaService) Upload(resourceNamestring, googlebytestreammedia *GoogleBytestreamMedia) *MediaUploadCall
Upload: Uploads media. Upload is supported on the URI`/upload/media/{resource_name=**}?upload_type=media.` **Note**:Upload requests will not be successful without including`upload_type=media` query string.
- resourceName: Name of the media that is being downloaded. SeeReadRequest.resource_name.
typeMediaUploadCall¶added inv0.55.0
type MediaUploadCall struct {// contains filtered or unexported fields}func (*MediaUploadCall)Context¶added inv0.55.0
func (c *MediaUploadCall) Context(ctxcontext.Context) *MediaUploadCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.This context will supersede any context previously provided to theResumableMedia method.
func (*MediaUploadCall)Do¶added inv0.55.0
func (c *MediaUploadCall) Do(opts ...googleapi.CallOption) (*GoogleBytestreamMedia,error)
Do executes the "displayvideo.media.upload" call.Exactly one of *GoogleBytestreamMedia or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*GoogleBytestreamMedia.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*MediaUploadCall)Fields¶added inv0.55.0
func (c *MediaUploadCall) Fields(s ...googleapi.Field) *MediaUploadCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*MediaUploadCall)Header¶added inv0.55.0
func (c *MediaUploadCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*MediaUploadCall)Media¶added inv0.55.0
func (c *MediaUploadCall) Media(rio.Reader, options ...googleapi.MediaOption) *MediaUploadCall
Media specifies the media to upload in one or more chunks. The chunksize may be controlled by supplying a MediaOption generated bygoogleapi.ChunkSize. The chunk size defaults togoogleapi.DefaultUploadChunkSize.The Content-Type header used in theupload request will be determined by sniffing the contents of r,unless a MediaOption generated by googleapi.ContentType issupplied.At most one of Media and ResumableMedia may be set.
func (*MediaUploadCall)ProgressUpdater¶added inv0.55.0
func (c *MediaUploadCall) ProgressUpdater(pugoogleapi.ProgressUpdater) *MediaUploadCall
ProgressUpdater provides a callback function that will be calledafter every chunk. It should be a low-latency function in order tonot slow down the upload operation. This should only be called whenusing ResumableMedia (as opposed to Media).
func (*MediaUploadCall)ResumableMediadeprecatedadded inv0.55.0
func (c *MediaUploadCall) ResumableMedia(ctxcontext.Context, rio.ReaderAt, sizeint64, mediaTypestring) *MediaUploadCall
ResumableMedia specifies the media to upload in chunks and can becanceled with ctx.
Deprecated: use Media instead.
At most one of Media and ResumableMedia may be set. mediaTypeidentifies the MIME media type of the upload, such as "image/png". IfmediaType is "", it will be auto-detected. The provided ctx willsupersede any context previously provided to the Context method.
typeMobileApp¶added inv0.37.0
type MobileApp struct {// AppId: Required. The ID of the app provided by the platform store.// Android apps are identified by the bundle ID used by Android's Play// store, such as `com.google.android.gm`. iOS apps are identified by a// nine-digit app ID used by Apple's App store, such as `422689480`.AppIdstring `json:"appId,omitempty"`// DisplayName: Output only. The app name.DisplayNamestring `json:"displayName,omitempty"`// Platform: Output only. The app platform.//// Possible values:// "PLATFORM_UNSPECIFIED" - Platform is not specified.// "IOS" - iOS platform.// "ANDROID" - Android platform.Platformstring `json:"platform,omitempty"`// Publisher: Output only. The app publisher.Publisherstring `json:"publisher,omitempty"`// ForceSendFields is a list of field names (e.g. "AppId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppId") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}MobileApp: A mobile app promoted by a mobile app install line item.
func (*MobileApp)MarshalJSON¶added inv0.37.0
typeMobileDeviceIdList¶added inv0.66.0
type MobileDeviceIdList struct {// Consent: Input only. The consent setting for the users in// mobile_device_ids. Leaving this field unset indicates that consent is// not specified. If ad_user_data or ad_personalization fields are set// to `CONSENT_STATUS_DENIED`, the request will return an error.Consent *Consent `json:"consent,omitempty"`// MobileDeviceIds: A list of mobile device IDs defining Customer Match// audience members. The size of mobile_device_ids mustn't be greater// than 500,000.MobileDeviceIds []string `json:"mobileDeviceIds,omitempty"`// ForceSendFields is a list of field names (e.g. "Consent") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Consent") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}MobileDeviceIdList: Wrapper message for a list of mobile device IDsdefining Customer Match audience members.
func (*MobileDeviceIdList)MarshalJSON¶added inv0.66.0
func (s *MobileDeviceIdList) MarshalJSON() ([]byte,error)
typeMoney¶added inv0.23.0
type Money struct {// CurrencyCode: The three-letter currency code defined in ISO 4217.CurrencyCodestring `json:"currencyCode,omitempty"`// Nanos: Number of nano (10^-9) units of the amount. The value must be// between -999,999,999 and +999,999,999 inclusive. If `units` is// positive, `nanos` must be positive or zero. If `units` is zero,// `nanos` can be positive, zero, or negative. If `units` is negative,// `nanos` must be negative or zero. For example $-1.75 is represented// as `units`=-1 and `nanos`=-750,000,000.Nanosint64 `json:"nanos,omitempty"`// Units: The whole units of the amount. For example if `currencyCode`// is "USD", then 1 unit is one US dollar.Unitsint64 `json:"units,omitempty,string"`// ForceSendFields is a list of field names (e.g. "CurrencyCode") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrencyCode") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Money: Represents an amount of money with its currency type.
func (*Money)MarshalJSON¶added inv0.23.0
typeNativeContentPositionAssignedTargetingOptionDetails¶added inv0.48.0
type NativeContentPositionAssignedTargetingOptionDetails struct {// ContentPosition: Required. The content position.//// Possible values:// "NATIVE_CONTENT_POSITION_UNSPECIFIED" - Native content position is// not specified in this version. This enum is a place holder for a// default value and does not represent a real native content position.// "NATIVE_CONTENT_POSITION_UNKNOWN" - The native content position is// unknown.// "NATIVE_CONTENT_POSITION_IN_ARTICLE" - Native content position is// in-article, i.e., ads appear between the paragraphs of pages.// "NATIVE_CONTENT_POSITION_IN_FEED" - Native content position is// in-feed, i.e., ads appear in a scrollable stream of content. A feed// is typically editorial (e.g. a list of articles or news) or listings// (e.g. a list of products or services).// "NATIVE_CONTENT_POSITION_PERIPHERAL" - Native content position is// peripheral, i.e., ads appear outside of core content on pages, such// as the right- or left-hand side of the page.// "NATIVE_CONTENT_POSITION_RECOMMENDATION" - Native content position// is recommendation, i.e., ads appear in sections for recommended// content.ContentPositionstring `json:"contentPosition,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentPosition") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentPosition") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}NativeContentPositionAssignedTargetingOptionDetails: Details fornative content position assigned targeting option. This will bepopulated in the native_content_position_details field whentargeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`.Explicitly targeting all options is not supported. Remove all nativecontent position targeting options to achieve this effect.
func (*NativeContentPositionAssignedTargetingOptionDetails)MarshalJSON¶added inv0.48.0
func (s *NativeContentPositionAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeNativeContentPositionTargetingOptionDetails¶added inv0.48.0
type NativeContentPositionTargetingOptionDetails struct {// ContentPosition: Output only. The content position.//// Possible values:// "NATIVE_CONTENT_POSITION_UNSPECIFIED" - Native content position is// not specified in this version. This enum is a place holder for a// default value and does not represent a real native content position.// "NATIVE_CONTENT_POSITION_UNKNOWN" - The native content position is// unknown.// "NATIVE_CONTENT_POSITION_IN_ARTICLE" - Native content position is// in-article, i.e., ads appear between the paragraphs of pages.// "NATIVE_CONTENT_POSITION_IN_FEED" - Native content position is// in-feed, i.e., ads appear in a scrollable stream of content. A feed// is typically editorial (e.g. a list of articles or news) or listings// (e.g. a list of products or services).// "NATIVE_CONTENT_POSITION_PERIPHERAL" - Native content position is// peripheral, i.e., ads appear outside of core content on pages, such// as the right- or left-hand side of the page.// "NATIVE_CONTENT_POSITION_RECOMMENDATION" - Native content position// is recommendation, i.e., ads appear in sections for recommended// content.ContentPositionstring `json:"contentPosition,omitempty"`// ForceSendFields is a list of field names (e.g. "ContentPosition") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContentPosition") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}NativeContentPositionTargetingOptionDetails: Represents a targetablenative content position. This will be populated in thenative_content_position_details field when targeting_type is`TARGETING_TYPE_NATIVE_CONTENT_POSITION`.
func (*NativeContentPositionTargetingOptionDetails)MarshalJSON¶added inv0.48.0
func (s *NativeContentPositionTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeNegativeKeyword¶added inv0.27.0
type NegativeKeyword struct {// KeywordValue: Required. Immutable. The negatively targeted keyword,// for example `car insurance`. Must be UTF-8 encoded with a maximum// size of 255 bytes. Maximum number of characters is 80. Maximum number// of words is 10. Valid characters are restricted to ASCII characters// only. The only URL-escaping permitted is for representing whitespace// between words. Leading or trailing whitespace is ignored.KeywordValuestring `json:"keywordValue,omitempty"`// Name: Output only. The resource name of the negative keyword.Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "KeywordValue") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "KeywordValue") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}NegativeKeyword: A negatively targeted keyword that belongs to anegative keyword list.
func (*NegativeKeyword)MarshalJSON¶added inv0.27.0
func (s *NegativeKeyword) MarshalJSON() ([]byte,error)
typeNegativeKeywordList¶added inv0.23.0
type NegativeKeywordList struct {// AdvertiserId: Output only. The unique ID of the advertiser the// negative keyword list belongs to.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// DisplayName: Required. The display name of the negative keyword list.// Must be UTF-8 encoded with a maximum size of 255 bytes.DisplayNamestring `json:"displayName,omitempty"`// Name: Output only. The resource name of the negative keyword list.Namestring `json:"name,omitempty"`// NegativeKeywordListId: Output only. The unique ID of the negative// keyword list. Assigned by the system.NegativeKeywordListIdint64 `json:"negativeKeywordListId,omitempty,string"`// TargetedLineItemCount: Output only. Number of line items that are// directly targeting this negative keyword list.TargetedLineItemCountint64 `json:"targetedLineItemCount,omitempty,string"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}NegativeKeywordList: A list of negative keywords used for targeting.
func (*NegativeKeywordList)MarshalJSON¶added inv0.23.0
func (s *NegativeKeywordList) MarshalJSON() ([]byte,error)
typeNegativeKeywordListAssignedTargetingOptionDetails¶added inv0.23.0
type NegativeKeywordListAssignedTargetingOptionDetails struct {// NegativeKeywordListId: Required. ID of the negative keyword list.// Should refer to the negative_keyword_list_id field of a// NegativeKeywordList resource.NegativeKeywordListIdint64 `json:"negativeKeywordListId,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "NegativeKeywordListId") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NegativeKeywordListId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}NegativeKeywordListAssignedTargetingOptionDetails: Targeting detailsfor negative keyword list. This will be populated in the detailsfield of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`.
func (*NegativeKeywordListAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *NegativeKeywordListAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeObaIcon¶added inv0.23.0
type ObaIcon struct {// ClickTrackingUrl: Required. The click tracking URL of the OBA icon.// Only URLs of the following domains are allowed: *//https://info.evidon.com *https://l.betrad.comClickTrackingUrlstring `json:"clickTrackingUrl,omitempty"`// Dimensions: The dimensions of the OBA icon.Dimensions *Dimensions `json:"dimensions,omitempty"`// LandingPageUrl: Required. The landing page URL of the OBA icon. Only// URLs of the following domains are allowed: *https://info.evidon.com// *https://l.betrad.comLandingPageUrlstring `json:"landingPageUrl,omitempty"`// Position: The position of the OBA icon on the creative.//// Possible values:// "OBA_ICON_POSITION_UNSPECIFIED" - The OBA icon position is not// specified.// "OBA_ICON_POSITION_UPPER_RIGHT" - At the upper right side of the// creative.// "OBA_ICON_POSITION_UPPER_LEFT" - At the upper left side of the// creative.// "OBA_ICON_POSITION_LOWER_RIGHT" - At the lower right side of the// creative.// "OBA_ICON_POSITION_LOWER_LEFT" - At the lower left side of the// creative.Positionstring `json:"position,omitempty"`// Program: The program of the OBA icon. For example: “AdChoices”.Programstring `json:"program,omitempty"`// ResourceMimeType: The MIME type of the OBA icon resource.ResourceMimeTypestring `json:"resourceMimeType,omitempty"`// ResourceUrl: The URL of the OBA icon resource.ResourceUrlstring `json:"resourceUrl,omitempty"`// ViewTrackingUrl: Required. The view tracking URL of the OBA icon.// Only URLs of the following domains are allowed: *//https://info.evidon.com *https://l.betrad.comViewTrackingUrlstring `json:"viewTrackingUrl,omitempty"`// ForceSendFields is a list of field names (e.g. "ClickTrackingUrl") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ClickTrackingUrl") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ObaIcon: OBA Icon for a Creative
func (*ObaIcon)MarshalJSON¶added inv0.23.0
typeOmidAssignedTargetingOptionDetails¶added inv0.52.0
type OmidAssignedTargetingOptionDetails struct {// Omid: Required. The type of Open Measurement enabled inventory.//// Possible values:// "OMID_UNSPECIFIED" - Default value when omid targeting is not// specified in this version.// "OMID_FOR_MOBILE_DISPLAY_ADS" - Open Measurement enabled mobile// display inventory.Omidstring `json:"omid,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_OMID`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "Omid") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Omid") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}OmidAssignedTargetingOptionDetails: Represents a targetable OpenMeasurement enabled inventory type. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_OMID`.
func (*OmidAssignedTargetingOptionDetails)MarshalJSON¶added inv0.52.0
func (s *OmidAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeOmidTargetingOptionDetails¶added inv0.52.0
type OmidTargetingOptionDetails struct {// Omid: Output only. The type of Open Measurement enabled inventory.//// Possible values:// "OMID_UNSPECIFIED" - Default value when omid targeting is not// specified in this version.// "OMID_FOR_MOBILE_DISPLAY_ADS" - Open Measurement enabled mobile// display inventory.Omidstring `json:"omid,omitempty"`// ForceSendFields is a list of field names (e.g. "Omid") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Omid") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}OmidTargetingOptionDetails: Represents a targetable Open Measurementenabled inventory type. This will be populated in the omid_detailsfield when targeting_type is `TARGETING_TYPE_OMID`.
func (*OmidTargetingOptionDetails)MarshalJSON¶added inv0.52.0
func (s *OmidTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeOnScreenPositionAssignedTargetingOptionDetails¶added inv0.23.0
type OnScreenPositionAssignedTargetingOptionDetails struct {// AdType: Output only. The ad type to target. Only applicable to// insertion order targeting and new line items supporting the specified// ad type will inherit this targeting option by default. Possible// values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new// line item when line_item_type is `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. *// `AD_TYPE_VIDEO`, the setting will be inherited by new line item when// line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`.//// Possible values:// "AD_TYPE_UNSPECIFIED" - Ad type is not specified or is unknown in// this version.// "AD_TYPE_DISPLAY" - Display creatives, e.g. image and HTML5.// "AD_TYPE_VIDEO" - Video creatives, e.g. video ads that play during// streaming content in video players.// "AD_TYPE_AUDIO" - Audio creatives, e.g. audio ads that play during// audio content.AdTypestring `json:"adType,omitempty"`// OnScreenPosition: Output only. The on screen position.//// Possible values:// "ON_SCREEN_POSITION_UNSPECIFIED" - On screen position is not// specified in this version. This enum is a place holder for a default// value and does not represent a real on screen position.// "ON_SCREEN_POSITION_UNKNOWN" - The ad position is unknown on the// screen.// "ON_SCREEN_POSITION_ABOVE_THE_FOLD" - The ad is located above the// fold.// "ON_SCREEN_POSITION_BELOW_THE_FOLD" - The ad is located below the// fold.OnScreenPositionstring `json:"onScreenPosition,omitempty"`// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "AdType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdType") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}OnScreenPositionAssignedTargetingOptionDetails: On screen positiontargeting option details. This will be populated in theon_screen_position_details field when targeting_type is`TARGETING_TYPE_ON_SCREEN_POSITION`.
func (*OnScreenPositionAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *OnScreenPositionAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeOnScreenPositionTargetingOptionDetails¶added inv0.23.0
type OnScreenPositionTargetingOptionDetails struct {// OnScreenPosition: Output only. The on screen position.//// Possible values:// "ON_SCREEN_POSITION_UNSPECIFIED" - On screen position is not// specified in this version. This enum is a place holder for a default// value and does not represent a real on screen position.// "ON_SCREEN_POSITION_UNKNOWN" - The ad position is unknown on the// screen.// "ON_SCREEN_POSITION_ABOVE_THE_FOLD" - The ad is located above the// fold.// "ON_SCREEN_POSITION_BELOW_THE_FOLD" - The ad is located below the// fold.OnScreenPositionstring `json:"onScreenPosition,omitempty"`// ForceSendFields is a list of field names (e.g. "OnScreenPosition") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OnScreenPosition") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}OnScreenPositionTargetingOptionDetails: Represents a targetable onscreen position, which could be used by display and video ads. Thiswill be populated in the on_screen_position_details field whentargeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.
func (*OnScreenPositionTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *OnScreenPositionTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeOperatingSystemAssignedTargetingOptionDetails¶added inv0.23.0
type OperatingSystemAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of the operating system.DisplayNamestring `json:"displayName,omitempty"`// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// TargetingOptionId: Required. The targeting option ID populated in// targeting_option_id field when targeting_type is// `TARGETING_TYPE_OPERATING_SYSTEM`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}OperatingSystemAssignedTargetingOptionDetails: Assigned operatingsystem targeting option details. This will be populated in theoperating_system_details field when targeting_type is`TARGETING_TYPE_OPERATING_SYSTEM`.
func (*OperatingSystemAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *OperatingSystemAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeOperatingSystemTargetingOptionDetails¶added inv0.23.0
type OperatingSystemTargetingOptionDetails struct {// DisplayName: Output only. The display name of the operating system.DisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}OperatingSystemTargetingOptionDetails: Represents a targetableoperating system. This will be populated in theoperating_system_details field of a TargetingOption whentargeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`.
func (*OperatingSystemTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *OperatingSystemTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeOperation¶
type Operation struct {// Done: If the value is `false`, it means the operation is still in// progress. If `true`, the operation is completed, and either `error`// or `response` is available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or// cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as// create time. Some services might not provide such metadata. Any// method that returns a long-running operation should document the// metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same// service that originally returns it. If you use the default HTTP// mapping, the `name` should be a resource name ending with// `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the// original method returns no data on success, such as `Delete`, the// response is `google.protobuf.Empty`. If the original method is// standard `Get`/`Create`/`Update`, the response should be the// resource. For other methods, the response should have the type// `XxxResponse`, where `Xxx` is the original method name. For example,// if the original method name is `TakeSnapshot()`, the inferred// response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that isthe result of a network API call.
func (*Operation)MarshalJSON¶
typePacing¶added inv0.23.0
type Pacing struct {// DailyMaxImpressions: Maximum number of impressions to serve every// day. Applicable when the budget is impression based. Must be greater// than 0.DailyMaxImpressionsint64 `json:"dailyMaxImpressions,omitempty,string"`// DailyMaxMicros: Maximum currency amount to spend every day in micros// of advertiser's currency. Applicable when the budget is currency// based. Must be greater than 0. For example, for 1.5 standard unit of// the currency, set this field to 1500000. The value assigned will be// rounded to whole billable units for the relevant currency by the// following rules: any positive value less than a single billable unit// will be rounded up to one billable unit and any value larger than a// single billable unit will be rounded down to the nearest billable// value. For example, if the currency's billable unit is 0.01, and this// field is set to 10257770, it will round down to 10250000, a value of// 10.25. If set to 505, it will round up to 10000, a value of 0.01.DailyMaxMicrosint64 `json:"dailyMaxMicros,omitempty,string"`// PacingPeriod: Required. The time period in which the pacing budget// will be spent. When automatic budget allocation is enabled at the// insertion order via automationType, this field is output only and// defaults to `PACING_PERIOD_FLIGHT`.//// Possible values:// "PACING_PERIOD_UNSPECIFIED" - Period value is not specified or is// unknown in this version.// "PACING_PERIOD_DAILY" - The pacing setting will be applied on daily// basis.// "PACING_PERIOD_FLIGHT" - The pacing setting will be applied to the// whole flight duration.PacingPeriodstring `json:"pacingPeriod,omitempty"`// PacingType: Required. The type of pacing that defines how the budget// amount will be spent across the pacing_period.//// Possible values:// "PACING_TYPE_UNSPECIFIED" - Pacing mode value is not specified or// is unknown in this version.// "PACING_TYPE_AHEAD" - Only applicable to `PACING_PERIOD_FLIGHT`// pacing period. Ahead pacing attempts to spend faster than evenly, to// make sure the entire budget is spent by the end of the flight.// "PACING_TYPE_ASAP" - Spend all of pacing budget amount as quick as// possible.// "PACING_TYPE_EVEN" - Spend a consistent budget amount every period// of time.PacingTypestring `json:"pacingType,omitempty"`// ForceSendFields is a list of field names (e.g. "DailyMaxImpressions")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DailyMaxImpressions") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Pacing: Settings that control the rate at which a budget is spent.
func (*Pacing)MarshalJSON¶added inv0.23.0
typeParentEntityFilter¶
type ParentEntityFilter struct {// FileType: Required. File types that will be returned.//// Possible values:// "FILE_TYPE_UNSPECIFIED" - Default value when type is unspecified or// is unknown in this version.// "FILE_TYPE_CAMPAIGN" - Campaign.// "FILE_TYPE_MEDIA_PRODUCT" - Media Product.// "FILE_TYPE_INSERTION_ORDER" - Insertion Order.// "FILE_TYPE_LINE_ITEM" - Line Item.// "FILE_TYPE_AD_GROUP" - YouTube Ad Group.// "FILE_TYPE_AD" - YouTube Ad.FileType []string `json:"fileType,omitempty"`// FilterIds: The IDs of the specified filter type. This is used to// filter entities to fetch. If filter type is not `FILTER_TYPE_NONE`,// at least one ID must be specified.FilterIdsgoogleapi.Int64s `json:"filterIds,omitempty"`// FilterType: Required. Filter type used to filter fetched entities.//// Possible values:// "FILTER_TYPE_UNSPECIFIED" - Default value when type is unspecified// or is unknown in this version.// "FILTER_TYPE_NONE" - If selected, no filter will be applied to the// download. Can only be used if an Advertiser is specified in// CreateSdfDownloadTaskRequest.// "FILTER_TYPE_ADVERTISER_ID" - Advertiser ID. If selected, all// filter IDs must be Advertiser IDs that belong to the Partner// specified in CreateSdfDownloadTaskRequest.// "FILTER_TYPE_CAMPAIGN_ID" - Campaign ID. If selected, all filter// IDs must be Campaign IDs that belong to the Advertiser or Partner// specified in CreateSdfDownloadTaskRequest.// "FILTER_TYPE_MEDIA_PRODUCT_ID" - Media Product ID. If selected, all// filter IDs must be Media Product IDs that belong to the Advertiser or// Partner specified in CreateSdfDownloadTaskRequest. Can only be used// for downloading `FILE_TYPE_MEDIA_PRODUCT`.// "FILTER_TYPE_INSERTION_ORDER_ID" - Insertion Order ID. If selected,// all filter IDs must be Insertion Order IDs that belong to the// Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Can// only be used for downloading `FILE_TYPE_INSERTION_ORDER`,// `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`, and `FILE_TYPE_AD`.// "FILTER_TYPE_LINE_ITEM_ID" - Line Item ID. If selected, all filter// IDs must be Line Item IDs that belong to the Advertiser or Partner// specified in CreateSdfDownloadTaskRequest. Can only be used for// downloading `FILE_TYPE_LINE_ITEM`, `FILE_TYPE_AD_GROUP`, and// `FILE_TYPE_AD`.FilterTypestring `json:"filterType,omitempty"`// ForceSendFields is a list of field names (e.g. "FileType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FileType") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ParentEntityFilter: A filtering option that filters on selected filetypes belonging to a chosen set of filter entities.
func (*ParentEntityFilter)MarshalJSON¶
func (s *ParentEntityFilter) MarshalJSON() ([]byte,error)
typeParentalStatusAssignedTargetingOptionDetails¶added inv0.23.0
type ParentalStatusAssignedTargetingOptionDetails struct {// ParentalStatus: Required. The parental status of the audience.//// Possible values:// "PARENTAL_STATUS_UNSPECIFIED" - Default value when parental status// is not specified in this version. This enum is a place holder for// default value and does not represent a real parental status option.// "PARENTAL_STATUS_PARENT" - The audience is a parent.// "PARENTAL_STATUS_NOT_A_PARENT" - The audience is not a parent.// "PARENTAL_STATUS_UNKNOWN" - The parental status of the audience is// unknown.ParentalStatusstring `json:"parentalStatus,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_PARENTAL_STATUS`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "ParentalStatus") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ParentalStatus") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ParentalStatusAssignedTargetingOptionDetails: Details for assignedparental status targeting option. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_PARENTAL_STATUS`.
func (*ParentalStatusAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ParentalStatusAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeParentalStatusTargetingOptionDetails¶added inv0.23.0
type ParentalStatusTargetingOptionDetails struct {// ParentalStatus: Output only. The parental status of an audience.//// Possible values:// "PARENTAL_STATUS_UNSPECIFIED" - Default value when parental status// is not specified in this version. This enum is a place holder for// default value and does not represent a real parental status option.// "PARENTAL_STATUS_PARENT" - The audience is a parent.// "PARENTAL_STATUS_NOT_A_PARENT" - The audience is not a parent.// "PARENTAL_STATUS_UNKNOWN" - The parental status of the audience is// unknown.ParentalStatusstring `json:"parentalStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "ParentalStatus") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ParentalStatus") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ParentalStatusTargetingOptionDetails: Represents a targetableparental status. This will be populated in theparental_status_details field of a TargetingOption whentargeting_type is `TARGETING_TYPE_PARENTAL_STATUS`.
func (*ParentalStatusTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ParentalStatusTargetingOptionDetails) MarshalJSON() ([]byte,error)
typePartner¶added inv0.30.0
type Partner struct {// AdServerConfig: Ad server related settings of the partner.AdServerConfig *PartnerAdServerConfig `json:"adServerConfig,omitempty"`// DataAccessConfig: Settings that control how partner data may be// accessed.DataAccessConfig *PartnerDataAccessConfig `json:"dataAccessConfig,omitempty"`// DisplayName: The display name of the partner. Must be UTF-8 encoded// with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// EntityStatus: Output only. The status of the partner.//// Possible values:// "ENTITY_STATUS_UNSPECIFIED" - Default value when status is not// specified or is unknown in this version.// "ENTITY_STATUS_ACTIVE" - The entity is enabled to bid and spend// budget.// "ENTITY_STATUS_ARCHIVED" - The entity is archived. Bidding and// budget spending are disabled. An entity can be deleted after// archived. Deleted entities cannot be retrieved.// "ENTITY_STATUS_DRAFT" - The entity is under draft. Bidding and// budget spending are disabled.// "ENTITY_STATUS_PAUSED" - Bidding and budget spending are paused for// the entity.// "ENTITY_STATUS_SCHEDULED_FOR_DELETION" - The entity is scheduled// for deletion.EntityStatusstring `json:"entityStatus,omitempty"`// ExchangeConfig: Settings that control which exchanges are enabled for// the partner.ExchangeConfig *ExchangeConfig `json:"exchangeConfig,omitempty"`// GeneralConfig: General settings of the partner.GeneralConfig *PartnerGeneralConfig `json:"generalConfig,omitempty"`// Name: Output only. The resource name of the partner.Namestring `json:"name,omitempty"`// PartnerId: Output only. The unique ID of the partner. Assigned by the// system.PartnerIdint64 `json:"partnerId,omitempty,string"`// UpdateTime: Output only. The timestamp when the partner was last// updated. Assigned by the system.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdServerConfig") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdServerConfig") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Partner: A single partner in Display & Video 360 (DV360).
func (*Partner)MarshalJSON¶added inv0.30.0
typePartnerAdServerConfig¶added inv0.30.0
type PartnerAdServerConfig struct {// MeasurementConfig: Measurement settings of a partner.MeasurementConfig *MeasurementConfig `json:"measurementConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "MeasurementConfig")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MeasurementConfig") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}PartnerAdServerConfig: Ad server related settings of a partner.
func (*PartnerAdServerConfig)MarshalJSON¶added inv0.30.0
func (s *PartnerAdServerConfig) MarshalJSON() ([]byte,error)
typePartnerCost¶added inv0.23.0
type PartnerCost struct {// CostType: Required. The type of the partner cost.//// Possible values:// "PARTNER_COST_TYPE_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "PARTNER_COST_TYPE_ADLOOX" - The cost is charged for using Adloox.// Billed by the partner.// "PARTNER_COST_TYPE_ADLOOX_PREBID" - The cost is charged for using// Adloox Pre-Bid. Billed through DV360.// "PARTNER_COST_TYPE_ADSAFE" - The cost is charged for using AdSafe.// Billed by the partner.// "PARTNER_COST_TYPE_ADXPOSE" - The cost is charged for using// AdExpose. Billed by the partner.// "PARTNER_COST_TYPE_AGGREGATE_KNOWLEDGE" - The cost is charged for// using Aggregate Knowledge. Billed by the partner.// "PARTNER_COST_TYPE_AGENCY_TRADING_DESK" - The cost is charged for// using an Agency Trading Desk. Billed by the partner.// "PARTNER_COST_TYPE_DV360_FEE" - The cost is charged for using// DV360. Billed through DV360.// "PARTNER_COST_TYPE_COMSCORE_VCE" - The cost is charged for using// comScore vCE. Billed through DV360.// "PARTNER_COST_TYPE_DATA_MANAGEMENT_PLATFORM" - The cost is charged// for using a Data Management Platform. Billed by the partner.// "PARTNER_COST_TYPE_DEFAULT" - The default cost type. Billed by the// partner.// "PARTNER_COST_TYPE_DOUBLE_VERIFY" - The cost is charged for using// DoubleVerify. Billed by the partner.// "PARTNER_COST_TYPE_DOUBLE_VERIFY_PREBID" - The cost is charged for// using DoubleVerify Pre-Bid. Billed through DV360.// "PARTNER_COST_TYPE_EVIDON" - The cost is charged for using Evidon.// Billed by the partner.// "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO" - The cost is charged// for using Integral Ad Science Video. Billed by the partner.// "PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_PREBID" - The cost is// charged for using Integral Ad Science Pre-Bid. Billed through DV360.// "PARTNER_COST_TYPE_MEDIA_COST_DATA" - The cost is charged for using// media cost data. Billed by the partner.// "PARTNER_COST_TYPE_MOAT_VIDEO" - The cost is charged for using MOAT// Video. Billed by the partner.// "PARTNER_COST_TYPE_NIELSEN_DAR" - The cost is charged for using// Nielsen Digital Ad Ratings. Billed through DV360.// "PARTNER_COST_TYPE_SHOP_LOCAL" - The cost is charged for using// ShopLocal. Billed by the partner.// "PARTNER_COST_TYPE_TERACENT" - The cost is charged for using// Teracent. Billed by the partner.// "PARTNER_COST_TYPE_THIRD_PARTY_AD_SERVER" - The cost is charged for// using a third-party ad server. Billed by the partner.// "PARTNER_COST_TYPE_TRUST_METRICS" - The cost is charged for using// TrustMetrics. Billed by the partner.// "PARTNER_COST_TYPE_VIZU" - The cost is charged for using Vizu.// Billed by the partner.// "PARTNER_COST_TYPE_ADLINGO_FEE" - The cost is charged for using// AdLingo. Billed through DV360.// "PARTNER_COST_TYPE_CUSTOM_FEE_1" - The cost is charged as custom// fee 1. Billed by the partner.// "PARTNER_COST_TYPE_CUSTOM_FEE_2" - The cost is charged as custom// fee 2. Billed by the partner.// "PARTNER_COST_TYPE_CUSTOM_FEE_3" - The cost is charged as custom// fee 3. Billed by the partner.// "PARTNER_COST_TYPE_CUSTOM_FEE_4" - The cost is charged as custom// fee 4. Billed by the partner.// "PARTNER_COST_TYPE_CUSTOM_FEE_5" - The cost is charged as custom// fee 5. Billed by the partner.// "PARTNER_COST_TYPE_SCIBIDS_FEE" - The cost is charged for using// Scibids. Billed through DV360. This type is currently only available// to certain customers. Other customers attempting to use this type// will receive an error.CostTypestring `json:"costType,omitempty"`// FeeAmount: The CPM fee amount in micros of advertiser's currency.// Applicable when the fee_type is `PARTNER_FEE_TYPE_CPM_FEE`. Must be// greater than or equal to 0. For example, for 1.5 standard unit of the// advertiser's currency, set this field to 1500000.FeeAmountint64 `json:"feeAmount,omitempty,string"`// FeePercentageMillis: The media fee percentage in millis (1/1000 of a// percent). Applicable when the fee_type is// `PARTNER_FEE_TYPE_MEDIA_FEE`. Must be greater than or equal to 0. For// example: 100 represents 0.1%.FeePercentageMillisint64 `json:"feePercentageMillis,omitempty,string"`// FeeType: Required. The fee type for this partner cost.//// Possible values:// "PARTNER_COST_FEE_TYPE_UNSPECIFIED" - Value is not specified or is// unknown in this version.// "PARTNER_COST_FEE_TYPE_CPM_FEE" - The partner cost is a fixed CPM// fee. Not applicable when the partner cost cost_type is one of: *// `PARTNER_COST_TYPE_MEDIA_COST_DATA` * `PARTNER_COST_TYPE_DV360_FEE`.// "PARTNER_COST_FEE_TYPE_MEDIA_FEE" - The partner cost is a// percentage surcharge based on the media cost. Not applicable when the// partner cost_type is one of: * `PARTNER_COST_TYPE_SHOP_LOCAL` *// `PARTNER_COST_TYPE_TRUST_METRICS` *// `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE_VIDEO` *// `PARTNER_COST_TYPE_MOAT_VIDEO`.FeeTypestring `json:"feeType,omitempty"`// InvoiceType: The invoice type for this partner cost. * Required when// cost_type is one of: - `PARTNER_COST_TYPE_ADLOOX` -// `PARTNER_COST_TYPE_DOUBLE_VERIFY` -// `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE`. * Output only for other// types.//// Possible values:// "PARTNER_COST_INVOICE_TYPE_UNSPECIFIED" - Type value is not// specified or is unknown in this version.// "PARTNER_COST_INVOICE_TYPE_DV360" - Partner cost is billed through// DV360.// "PARTNER_COST_INVOICE_TYPE_PARTNER" - Partner cost is billed by the// partner.InvoiceTypestring `json:"invoiceType,omitempty"`// ForceSendFields is a list of field names (e.g. "CostType") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CostType") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PartnerCost: Settings that control a partner cost. A partner cost isany type of expense involved in running a campaign, other than thecosts of purchasing impressions (which is called the media cost) andusing third-party audience segment data (data fee). Some examples ofpartner costs include the fees for using DV360, a third-party adserver, or a third-party ad serving verification service.
func (*PartnerCost)MarshalJSON¶added inv0.23.0
func (s *PartnerCost) MarshalJSON() ([]byte,error)
typePartnerDataAccessConfig¶added inv0.30.0
type PartnerDataAccessConfig struct {// SdfConfig: Structured Data Files (SDF) settings for the partner. The// SDF configuration for the partner.SdfConfig *SdfConfig `json:"sdfConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "SdfConfig") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SdfConfig") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PartnerDataAccessConfig: Settings that control how partner relateddata may be accessed.
func (*PartnerDataAccessConfig)MarshalJSON¶added inv0.30.0
func (s *PartnerDataAccessConfig) MarshalJSON() ([]byte,error)
typePartnerGeneralConfig¶added inv0.30.0
type PartnerGeneralConfig struct {// CurrencyCode: Immutable. Partner's currency in ISO 4217 format.CurrencyCodestring `json:"currencyCode,omitempty"`// TimeZone: Immutable. The standard TZ database name of the partner's// time zone. For example, `America/New_York`. See more at://https://en.wikipedia.org/wiki/List_of_tz_database_time_zonesTimeZonestring `json:"timeZone,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrencyCode") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrencyCode") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PartnerGeneralConfig: General settings of a partner.
func (*PartnerGeneralConfig)MarshalJSON¶added inv0.30.0
func (s *PartnerGeneralConfig) MarshalJSON() ([]byte,error)
typePartnerRevenueModel¶added inv0.23.0
type PartnerRevenueModel struct {// MarkupAmount: Required. The markup amount of the partner revenue// model. Must be greater than or equal to 0. * When the markup_type is// set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`, this field// represents the CPM markup in micros of advertiser's currency. For// example, 1500000 represents 1.5 standard units of the currency. *// When the markup_type is set to be// `PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP`, this field// represents the media cost percent markup in millis. For example, 100// represents 0.1% (decimal 0.001). * When the markup_type is set to be// `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`, this// field represents the total media cost percent markup in millis. For// example, 100 represents 0.1% (decimal 0.001).MarkupAmountint64 `json:"markupAmount,omitempty,string"`// MarkupType: Required. The markup type of the partner revenue model.//// Possible values:// "PARTNER_REVENUE_MODEL_MARKUP_TYPE_UNSPECIFIED" - Type value is not// specified or is unknown in this version.// "PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM" - Calculate the partner// revenue based on a fixed CPM.// "PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP" - Calculate// the partner revenue based on a percentage surcharge of its media// cost.// "PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP" -// Calculate the partner revenue based on a percentage surcharge of its// total media cost, which includes all partner costs and data costs.MarkupTypestring `json:"markupType,omitempty"`// ForceSendFields is a list of field names (e.g. "MarkupAmount") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MarkupAmount") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PartnerRevenueModel: Settings that control how partner revenue iscalculated.
func (*PartnerRevenueModel)MarshalJSON¶added inv0.23.0
func (s *PartnerRevenueModel) MarshalJSON() ([]byte,error)
typePartnersBulkEditPartnerAssignedTargetingOptionsCall¶added inv0.30.0
type PartnersBulkEditPartnerAssignedTargetingOptionsCall struct {// contains filtered or unexported fields}func (*PartnersBulkEditPartnerAssignedTargetingOptionsCall)Context¶added inv0.30.0
func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Context(ctxcontext.Context) *PartnersBulkEditPartnerAssignedTargetingOptionsCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersBulkEditPartnerAssignedTargetingOptionsCall)Do¶added inv0.30.0
func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Do(opts ...googleapi.CallOption) (*BulkEditPartnerAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.partners.bulkEditPartnerAssignedTargetingOptions" call.Exactly one of *BulkEditPartnerAssignedTargetingOptionsResponse orerror will be non-nil. Any non-2xx status code is an error. Responseheaders are in either*BulkEditPartnerAssignedTargetingOptionsResponse.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*PartnersBulkEditPartnerAssignedTargetingOptionsCall)Fields¶added inv0.30.0
func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Fields(s ...googleapi.Field) *PartnersBulkEditPartnerAssignedTargetingOptionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersBulkEditPartnerAssignedTargetingOptionsCall)Header¶added inv0.30.0
func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersChannelsCreateCall¶added inv0.29.0
type PartnersChannelsCreateCall struct {// contains filtered or unexported fields}func (*PartnersChannelsCreateCall)AdvertiserId¶added inv0.29.0
func (c *PartnersChannelsCreateCall) AdvertiserId(advertiserIdint64) *PartnersChannelsCreateCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the created channel.
func (*PartnersChannelsCreateCall)Context¶added inv0.29.0
func (c *PartnersChannelsCreateCall) Context(ctxcontext.Context) *PartnersChannelsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsCreateCall)Do¶added inv0.29.0
func (c *PartnersChannelsCreateCall) Do(opts ...googleapi.CallOption) (*Channel,error)
Do executes the "displayvideo.partners.channels.create" call.Exactly one of *Channel or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Channel.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*PartnersChannelsCreateCall)Fields¶added inv0.29.0
func (c *PartnersChannelsCreateCall) Fields(s ...googleapi.Field) *PartnersChannelsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsCreateCall)Header¶added inv0.29.0
func (c *PartnersChannelsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersChannelsGetCall¶added inv0.23.0
type PartnersChannelsGetCall struct {// contains filtered or unexported fields}func (*PartnersChannelsGetCall)AdvertiserId¶added inv0.23.0
func (c *PartnersChannelsGetCall) AdvertiserId(advertiserIdint64) *PartnersChannelsGetCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the fetched channel.
func (*PartnersChannelsGetCall)Context¶added inv0.23.0
func (c *PartnersChannelsGetCall) Context(ctxcontext.Context) *PartnersChannelsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsGetCall)Do¶added inv0.23.0
func (c *PartnersChannelsGetCall) Do(opts ...googleapi.CallOption) (*Channel,error)
Do executes the "displayvideo.partners.channels.get" call.Exactly one of *Channel or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Channel.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*PartnersChannelsGetCall)Fields¶added inv0.23.0
func (c *PartnersChannelsGetCall) Fields(s ...googleapi.Field) *PartnersChannelsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsGetCall)Header¶added inv0.23.0
func (c *PartnersChannelsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersChannelsGetCall)IfNoneMatch¶added inv0.23.0
func (c *PartnersChannelsGetCall) IfNoneMatch(entityTagstring) *PartnersChannelsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typePartnersChannelsListCall¶added inv0.23.0
type PartnersChannelsListCall struct {// contains filtered or unexported fields}func (*PartnersChannelsListCall)AdvertiserId¶added inv0.23.0
func (c *PartnersChannelsListCall) AdvertiserId(advertiserIdint64) *PartnersChannelsListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the channels.
func (*PartnersChannelsListCall)Context¶added inv0.23.0
func (c *PartnersChannelsListCall) Context(ctxcontext.Context) *PartnersChannelsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsListCall)Do¶added inv0.23.0
func (c *PartnersChannelsListCall) Do(opts ...googleapi.CallOption) (*ListChannelsResponse,error)
Do executes the "displayvideo.partners.channels.list" call.Exactly one of *ListChannelsResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListChannelsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*PartnersChannelsListCall)Fields¶added inv0.23.0
func (c *PartnersChannelsListCall) Fields(s ...googleapi.Field) *PartnersChannelsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsListCall)Filter¶added inv0.23.0
func (c *PartnersChannelsListCall) Filter(filterstring) *PartnersChannelsListCall
Filter sets the optional parameter "filter": Allows filtering bychannel fields. Supported syntax: * Filter expressions for channelcan only contain at most one restriction. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the `HAS(:)` operator. Supported fields: * `displayName` Examples: * Allchannels for which the display name contains "google": `displayName :"google". The length of this field should be no more than 500characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*PartnersChannelsListCall)Header¶added inv0.23.0
func (c *PartnersChannelsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersChannelsListCall)IfNoneMatch¶added inv0.23.0
func (c *PartnersChannelsListCall) IfNoneMatch(entityTagstring) *PartnersChannelsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*PartnersChannelsListCall)OrderBy¶added inv0.23.0
func (c *PartnersChannelsListCall) OrderBy(orderBystring) *PartnersChannelsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) *`channelId` The default sorting order is ascending. To specifydescending order for a field, a suffix " desc" should be added to thefield name. Example: `displayName desc`.
func (*PartnersChannelsListCall)PageSize¶added inv0.23.0
func (c *PartnersChannelsListCall) PageSize(pageSizeint64) *PartnersChannelsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*PartnersChannelsListCall)PageToken¶added inv0.23.0
func (c *PartnersChannelsListCall) PageToken(pageTokenstring) *PartnersChannelsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListChannels` method. If not specified, the first page of resultswill be returned.
func (*PartnersChannelsListCall)Pages¶added inv0.23.0
func (c *PartnersChannelsListCall) Pages(ctxcontext.Context, f func(*ListChannelsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typePartnersChannelsPatchCall¶added inv0.27.0
type PartnersChannelsPatchCall struct {// contains filtered or unexported fields}func (*PartnersChannelsPatchCall)AdvertiserId¶added inv0.27.0
func (c *PartnersChannelsPatchCall) AdvertiserId(advertiserIdint64) *PartnersChannelsPatchCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the created channel.
func (*PartnersChannelsPatchCall)Context¶added inv0.27.0
func (c *PartnersChannelsPatchCall) Context(ctxcontext.Context) *PartnersChannelsPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsPatchCall)Do¶added inv0.27.0
func (c *PartnersChannelsPatchCall) Do(opts ...googleapi.CallOption) (*Channel,error)
Do executes the "displayvideo.partners.channels.patch" call.Exactly one of *Channel or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Channel.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*PartnersChannelsPatchCall)Fields¶added inv0.27.0
func (c *PartnersChannelsPatchCall) Fields(s ...googleapi.Field) *PartnersChannelsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsPatchCall)Header¶added inv0.27.0
func (c *PartnersChannelsPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersChannelsPatchCall)UpdateMask¶added inv0.27.0
func (c *PartnersChannelsPatchCall) UpdateMask(updateMaskstring) *PartnersChannelsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typePartnersChannelsService¶added inv0.23.0
type PartnersChannelsService struct {Sites *PartnersChannelsSitesService// contains filtered or unexported fields}funcNewPartnersChannelsService¶added inv0.23.0
func NewPartnersChannelsService(s *Service) *PartnersChannelsService
func (*PartnersChannelsService)Create¶added inv0.29.0
func (r *PartnersChannelsService) Create(partnerIdint64, channel *Channel) *PartnersChannelsCreateCall
Create: Creates a new channel. Returns the newly created channel ifsuccessful.
- partnerId: The ID of the partner that owns the created channel.
func (*PartnersChannelsService)Get¶added inv0.23.0
func (r *PartnersChannelsService) Get(partnerIdint64, channelIdint64) *PartnersChannelsGetCall
Get: Gets a channel for a partner or advertiser.
- channelId: The ID of the channel to fetch.- partnerId: The ID of the partner that owns the fetched channel.
func (*PartnersChannelsService)List¶added inv0.23.0
func (r *PartnersChannelsService) List(partnerIdint64) *PartnersChannelsListCall
List: Lists channels for a partner or advertiser.
- partnerId: The ID of the partner that owns the channels.
func (*PartnersChannelsService)Patch¶added inv0.27.0
func (r *PartnersChannelsService) Patch(partnerIdint64, channelIdint64, channel *Channel) *PartnersChannelsPatchCall
Patch: Updates a channel. Returns the updated channel if successful.
- channelId: Output only. The unique ID of the channel. Assigned bythe system.
- partnerId: The ID of the partner that owns the created channel.
typePartnersChannelsSitesBulkEditCall¶added inv0.27.0
type PartnersChannelsSitesBulkEditCall struct {// contains filtered or unexported fields}func (*PartnersChannelsSitesBulkEditCall)Context¶added inv0.27.0
func (c *PartnersChannelsSitesBulkEditCall) Context(ctxcontext.Context) *PartnersChannelsSitesBulkEditCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsSitesBulkEditCall)Do¶added inv0.27.0
func (c *PartnersChannelsSitesBulkEditCall) Do(opts ...googleapi.CallOption) (*BulkEditSitesResponse,error)
Do executes the "displayvideo.partners.channels.sites.bulkEdit" call.Exactly one of *BulkEditSitesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*BulkEditSitesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*PartnersChannelsSitesBulkEditCall)Fields¶added inv0.27.0
func (c *PartnersChannelsSitesBulkEditCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesBulkEditCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsSitesBulkEditCall)Header¶added inv0.27.0
func (c *PartnersChannelsSitesBulkEditCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersChannelsSitesCreateCall¶added inv0.27.0
type PartnersChannelsSitesCreateCall struct {// contains filtered or unexported fields}func (*PartnersChannelsSitesCreateCall)AdvertiserId¶added inv0.27.0
func (c *PartnersChannelsSitesCreateCall) AdvertiserId(advertiserIdint64) *PartnersChannelsSitesCreateCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent channel.
func (*PartnersChannelsSitesCreateCall)Context¶added inv0.27.0
func (c *PartnersChannelsSitesCreateCall) Context(ctxcontext.Context) *PartnersChannelsSitesCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsSitesCreateCall)Do¶added inv0.27.0
func (c *PartnersChannelsSitesCreateCall) Do(opts ...googleapi.CallOption) (*Site,error)
Do executes the "displayvideo.partners.channels.sites.create" call.Exactly one of *Site or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Site.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*PartnersChannelsSitesCreateCall)Fields¶added inv0.27.0
func (c *PartnersChannelsSitesCreateCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsSitesCreateCall)Header¶added inv0.27.0
func (c *PartnersChannelsSitesCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersChannelsSitesDeleteCall¶added inv0.27.0
type PartnersChannelsSitesDeleteCall struct {// contains filtered or unexported fields}func (*PartnersChannelsSitesDeleteCall)AdvertiserId¶added inv0.27.0
func (c *PartnersChannelsSitesDeleteCall) AdvertiserId(advertiserIdint64) *PartnersChannelsSitesDeleteCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent channel.
func (*PartnersChannelsSitesDeleteCall)Context¶added inv0.27.0
func (c *PartnersChannelsSitesDeleteCall) Context(ctxcontext.Context) *PartnersChannelsSitesDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsSitesDeleteCall)Do¶added inv0.27.0
func (c *PartnersChannelsSitesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.partners.channels.sites.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*PartnersChannelsSitesDeleteCall)Fields¶added inv0.27.0
func (c *PartnersChannelsSitesDeleteCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsSitesDeleteCall)Header¶added inv0.27.0
func (c *PartnersChannelsSitesDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersChannelsSitesListCall¶added inv0.27.0
type PartnersChannelsSitesListCall struct {// contains filtered or unexported fields}func (*PartnersChannelsSitesListCall)AdvertiserId¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) AdvertiserId(advertiserIdint64) *PartnersChannelsSitesListCall
AdvertiserId sets the optional parameter "advertiserId": The ID ofthe advertiser that owns the parent channel.
func (*PartnersChannelsSitesListCall)Context¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) Context(ctxcontext.Context) *PartnersChannelsSitesListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsSitesListCall)Do¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) Do(opts ...googleapi.CallOption) (*ListSitesResponse,error)
Do executes the "displayvideo.partners.channels.sites.list" call.Exactly one of *ListSitesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListSitesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*PartnersChannelsSitesListCall)Fields¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsSitesListCall)Filter¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) Filter(filterstring) *PartnersChannelsSitesListCall
Filter sets the optional parameter "filter": Allows filtering by sitefields. Supported syntax: * Filter expressions for site retrieval canonly contain at most one restriction. * A restriction has the form of`{field} {operator} {value}`. * All fields must use the `HAS (:)`operator. Supported fields: * `urlOrAppId` Examples: * All sites forwhich the URL or app ID contains "google": `urlOrAppId : "google"The length of this field should be no more than 500 characters.Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*PartnersChannelsSitesListCall)Header¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersChannelsSitesListCall)IfNoneMatch¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) IfNoneMatch(entityTagstring) *PartnersChannelsSitesListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*PartnersChannelsSitesListCall)OrderBy¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) OrderBy(orderBystring) *PartnersChannelsSitesListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `urlOrAppId` (default) The defaultsorting order is ascending. To specify descending order for a field,a suffix " desc" should be added to the field name. Example:`urlOrAppId desc`.
func (*PartnersChannelsSitesListCall)PageSize¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) PageSize(pageSizeint64) *PartnersChannelsSitesListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `10000`. If unspecified will default to`100`. Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*PartnersChannelsSitesListCall)PageToken¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) PageToken(pageTokenstring) *PartnersChannelsSitesListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListSites` method. If not specified, the first page of resultswill be returned.
func (*PartnersChannelsSitesListCall)Pages¶added inv0.27.0
func (c *PartnersChannelsSitesListCall) Pages(ctxcontext.Context, f func(*ListSitesResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typePartnersChannelsSitesReplaceCall¶added inv0.43.0
type PartnersChannelsSitesReplaceCall struct {// contains filtered or unexported fields}func (*PartnersChannelsSitesReplaceCall)Context¶added inv0.43.0
func (c *PartnersChannelsSitesReplaceCall) Context(ctxcontext.Context) *PartnersChannelsSitesReplaceCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersChannelsSitesReplaceCall)Do¶added inv0.43.0
func (c *PartnersChannelsSitesReplaceCall) Do(opts ...googleapi.CallOption) (*ReplaceSitesResponse,error)
Do executes the "displayvideo.partners.channels.sites.replace" call.Exactly one of *ReplaceSitesResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ReplaceSitesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*PartnersChannelsSitesReplaceCall)Fields¶added inv0.43.0
func (c *PartnersChannelsSitesReplaceCall) Fields(s ...googleapi.Field) *PartnersChannelsSitesReplaceCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersChannelsSitesReplaceCall)Header¶added inv0.43.0
func (c *PartnersChannelsSitesReplaceCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersChannelsSitesService¶added inv0.27.0
type PartnersChannelsSitesService struct {// contains filtered or unexported fields}funcNewPartnersChannelsSitesService¶added inv0.27.0
func NewPartnersChannelsSitesService(s *Service) *PartnersChannelsSitesService
func (*PartnersChannelsSitesService)BulkEdit¶added inv0.27.0
func (r *PartnersChannelsSitesService) BulkEdit(partnerIdint64, channelIdint64, bulkeditsitesrequest *BulkEditSitesRequest) *PartnersChannelsSitesBulkEditCall
BulkEdit: Bulk edits sites under a single channel. The operation willdelete the sites provided in BulkEditSitesRequest.deleted_sites andthen create the sites provided in BulkEditSitesRequest.created_sites.
- channelId: The ID of the parent channel to which the sites belong.- partnerId: The ID of the partner that owns the parent channel.
func (*PartnersChannelsSitesService)Create¶added inv0.27.0
func (r *PartnersChannelsSitesService) Create(partnerIdint64, channelIdint64, site *Site) *PartnersChannelsSitesCreateCall
Create: Creates a site in a channel.
- channelId: The ID of the parent channel in which the site will becreated.
- partnerId: The ID of the partner that owns the parent channel.
func (*PartnersChannelsSitesService)Delete¶added inv0.27.0
func (r *PartnersChannelsSitesService) Delete(partnerIdint64, channelIdint64, urlOrAppIdstring) *PartnersChannelsSitesDeleteCall
Delete: Deletes a site from a channel.
- channelId: The ID of the parent channel to which the site belongs.- partnerId: The ID of the partner that owns the parent channel.- urlOrAppId: The URL or app ID of the site to delete.
func (*PartnersChannelsSitesService)List¶added inv0.27.0
func (r *PartnersChannelsSitesService) List(partnerIdint64, channelIdint64) *PartnersChannelsSitesListCall
List: Lists sites in a channel.
- channelId: The ID of the parent channel to which the requestedsites belong.
- partnerId: The ID of the partner that owns the parent channel.
func (*PartnersChannelsSitesService)Replace¶added inv0.43.0
func (r *PartnersChannelsSitesService) Replace(partnerIdint64, channelIdint64, replacesitesrequest *ReplaceSitesRequest) *PartnersChannelsSitesReplaceCall
Replace: Replaces all of the sites under a single channel. Theoperation will replace the sites under a channel with the sitesprovided in ReplaceSitesRequest.new_sites.
- channelId: The ID of the parent channel whose sites will bereplaced.
- partnerId: The ID of the partner that owns the parent channel.
typePartnersGetCall¶added inv0.30.0
type PartnersGetCall struct {// contains filtered or unexported fields}func (*PartnersGetCall)Context¶added inv0.30.0
func (c *PartnersGetCall) Context(ctxcontext.Context) *PartnersGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersGetCall)Do¶added inv0.30.0
func (c *PartnersGetCall) Do(opts ...googleapi.CallOption) (*Partner,error)
Do executes the "displayvideo.partners.get" call.Exactly one of *Partner or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Partner.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*PartnersGetCall)Fields¶added inv0.30.0
func (c *PartnersGetCall) Fields(s ...googleapi.Field) *PartnersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersGetCall)Header¶added inv0.30.0
func (c *PartnersGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersGetCall)IfNoneMatch¶added inv0.30.0
func (c *PartnersGetCall) IfNoneMatch(entityTagstring) *PartnersGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typePartnersListCall¶added inv0.30.0
type PartnersListCall struct {// contains filtered or unexported fields}func (*PartnersListCall)Context¶added inv0.30.0
func (c *PartnersListCall) Context(ctxcontext.Context) *PartnersListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersListCall)Do¶added inv0.30.0
func (c *PartnersListCall) Do(opts ...googleapi.CallOption) (*ListPartnersResponse,error)
Do executes the "displayvideo.partners.list" call.Exactly one of *ListPartnersResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListPartnersResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*PartnersListCall)Fields¶added inv0.30.0
func (c *PartnersListCall) Fields(s ...googleapi.Field) *PartnersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersListCall)Filter¶added inv0.30.0
func (c *PartnersListCall) Filter(filterstring) *PartnersListCall
Filter sets the optional parameter "filter": Allows filtering bypartner fields. Supported syntax: * Filter expressions are made up ofone or more restrictions. * Restrictions can be combined by `AND` or`OR` logical operators. A sequence of restrictions implicitly uses`AND`. * A restriction has the form of `{field} {operator} {value}`.* All fields must use the `EQUALS (=)` operator. Supported fields: *`entityStatus` Examples: * All active partners:`entityStatus="ENTITY_STATUS_ACTIVE" The length of this field shouldbe no more than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*PartnersListCall)Header¶added inv0.30.0
func (c *PartnersListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersListCall)IfNoneMatch¶added inv0.30.0
func (c *PartnersListCall) IfNoneMatch(entityTagstring) *PartnersListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*PartnersListCall)OrderBy¶added inv0.30.0
func (c *PartnersListCall) OrderBy(orderBystring) *PartnersListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` The default sortingorder is ascending. To specify descending order for a field, a suffix"desc" should be added to the field name. For example, `displayNamedesc`.
func (*PartnersListCall)PageSize¶added inv0.30.0
func (c *PartnersListCall) PageSize(pageSizeint64) *PartnersListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*PartnersListCall)PageToken¶added inv0.30.0
func (c *PartnersListCall) PageToken(pageTokenstring) *PartnersListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListPartners` method. If not specified, the first page of resultswill be returned.
func (*PartnersListCall)Pages¶added inv0.30.0
func (c *PartnersListCall) Pages(ctxcontext.Context, f func(*ListPartnersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typePartnersService¶added inv0.23.0
type PartnersService struct {Channels *PartnersChannelsServiceTargetingTypes *PartnersTargetingTypesService// contains filtered or unexported fields}funcNewPartnersService¶added inv0.23.0
func NewPartnersService(s *Service) *PartnersService
func (*PartnersService)BulkEditPartnerAssignedTargetingOptions¶added inv0.30.0
func (r *PartnersService) BulkEditPartnerAssignedTargetingOptions(partnerIdint64, bulkeditpartnerassignedtargetingoptionsrequest *BulkEditPartnerAssignedTargetingOptionsRequest) *PartnersBulkEditPartnerAssignedTargetingOptionsCall
BulkEditPartnerAssignedTargetingOptions: Bulk edits targeting optionsunder a single partner. The operation will delete the assignedtargeting options provided inBulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests andthen create the assigned targeting options provided inBulkEditPartnerAssignedTargetingOptionsRequest.createRequests .
- partnerId: The ID of the partner.
func (*PartnersService)Get¶added inv0.30.0
func (r *PartnersService) Get(partnerIdint64) *PartnersGetCall
Get: Gets a partner.
- partnerId: The ID of the partner to fetch.
func (*PartnersService)List¶added inv0.30.0
func (r *PartnersService) List() *PartnersListCall
List: Lists partners that are accessible to the current user. Theorder is defined by the order_by parameter.
typePartnersTargetingTypesAssignedTargetingOptionsCreateCall¶added inv0.30.0
type PartnersTargetingTypesAssignedTargetingOptionsCreateCall struct {// contains filtered or unexported fields}func (*PartnersTargetingTypesAssignedTargetingOptionsCreateCall)Context¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Context(ctxcontext.Context) *PartnersTargetingTypesAssignedTargetingOptionsCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersTargetingTypesAssignedTargetingOptionsCreateCall)Do¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.partners.targetingTypes.assignedTargetingOptions.create" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*PartnersTargetingTypesAssignedTargetingOptionsCreateCall)Fields¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersTargetingTypesAssignedTargetingOptionsCreateCall)Header¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersTargetingTypesAssignedTargetingOptionsDeleteCall¶added inv0.30.0
type PartnersTargetingTypesAssignedTargetingOptionsDeleteCall struct {// contains filtered or unexported fields}func (*PartnersTargetingTypesAssignedTargetingOptionsDeleteCall)Context¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Context(ctxcontext.Context) *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersTargetingTypesAssignedTargetingOptionsDeleteCall)Do¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.partners.targetingTypes.assignedTargetingOptions.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*PartnersTargetingTypesAssignedTargetingOptionsDeleteCall)Fields¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersTargetingTypesAssignedTargetingOptionsDeleteCall)Header¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typePartnersTargetingTypesAssignedTargetingOptionsGetCall¶added inv0.30.0
type PartnersTargetingTypesAssignedTargetingOptionsGetCall struct {// contains filtered or unexported fields}func (*PartnersTargetingTypesAssignedTargetingOptionsGetCall)Context¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Context(ctxcontext.Context) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersTargetingTypesAssignedTargetingOptionsGetCall)Do¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*AssignedTargetingOption,error)
Do executes the "displayvideo.partners.targetingTypes.assignedTargetingOptions.get" call.Exactly one of *AssignedTargetingOption or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*AssignedTargetingOption.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*PartnersTargetingTypesAssignedTargetingOptionsGetCall)Fields¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersTargetingTypesAssignedTargetingOptionsGetCall)Header¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersTargetingTypesAssignedTargetingOptionsGetCall)IfNoneMatch¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) IfNoneMatch(entityTagstring) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typePartnersTargetingTypesAssignedTargetingOptionsListCall¶added inv0.30.0
type PartnersTargetingTypesAssignedTargetingOptionsListCall struct {// contains filtered or unexported fields}func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)Context¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Context(ctxcontext.Context) *PartnersTargetingTypesAssignedTargetingOptionsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)Do¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListPartnerAssignedTargetingOptionsResponse,error)
Do executes the "displayvideo.partners.targetingTypes.assignedTargetingOptions.list" call.Exactly one of *ListPartnerAssignedTargetingOptionsResponse or errorwill be non-nil. Any non-2xx status code is an error. Responseheaders are in either*ListPartnerAssignedTargetingOptionsResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)Fields¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Fields(s ...googleapi.Field) *PartnersTargetingTypesAssignedTargetingOptionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)Filter¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Filter(filterstring) *PartnersTargetingTypesAssignedTargetingOptionsListCall
Filter sets the optional parameter "filter": Allows filtering byassigned targeting option fields. Supported syntax: * Filterexpressions are made up of one or more restrictions. * Restrictionscan be combined by the logical operator `OR`. * A restriction has theform of `{field} {operator} {value}`. * All fields must use the`EQUALS (=)` operator. Supported fields: *`assignedTargetingOptionId` Examples: * `AssignedTargetingOption`resource with ID 123456: `assignedTargetingOptionId="123456" Thelength of this field should be no more than 500 characters. Referenceour filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)Header¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)IfNoneMatch¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) IfNoneMatch(entityTagstring) *PartnersTargetingTypesAssignedTargetingOptionsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)OrderBy¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) OrderBy(orderBystring) *PartnersTargetingTypesAssignedTargetingOptionsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `assignedTargetingOptionId`(default) The default sorting order is ascending. To specifydescending order for a field, a suffix "desc" should be added to thefield name. Example: `assignedTargetingOptionId desc`.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)PageSize¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) PageSize(pageSizeint64) *PartnersTargetingTypesAssignedTargetingOptionsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)PageToken¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) PageToken(pageTokenstring) *PartnersTargetingTypesAssignedTargetingOptionsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListPartnerAssignedTargetingOptions` method. If not specified,the first page of results will be returned.
func (*PartnersTargetingTypesAssignedTargetingOptionsListCall)Pages¶added inv0.30.0
func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Pages(ctxcontext.Context, f func(*ListPartnerAssignedTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typePartnersTargetingTypesAssignedTargetingOptionsService¶added inv0.30.0
type PartnersTargetingTypesAssignedTargetingOptionsService struct {// contains filtered or unexported fields}funcNewPartnersTargetingTypesAssignedTargetingOptionsService¶added inv0.30.0
func NewPartnersTargetingTypesAssignedTargetingOptionsService(s *Service) *PartnersTargetingTypesAssignedTargetingOptionsService
func (*PartnersTargetingTypesAssignedTargetingOptionsService)Create¶added inv0.30.0
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Create(partnerIdint64, targetingTypestring, assignedtargetingoption *AssignedTargetingOption) *PartnersTargetingTypesAssignedTargetingOptionsCreateCall
Create: Assigns a targeting option to a partner. Returns the assignedtargeting option if successful.
- partnerId: The ID of the partner.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
func (*PartnersTargetingTypesAssignedTargetingOptionsService)Delete¶added inv0.30.0
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Delete(partnerIdint64, targetingTypestring, assignedTargetingOptionIdstring) *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall
Delete: Deletes an assigned targeting option from a partner.
- assignedTargetingOptionId: The ID of the assigned targeting optionto delete.
- partnerId: The ID of the partner.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
func (*PartnersTargetingTypesAssignedTargetingOptionsService)Get¶added inv0.30.0
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) Get(partnerIdint64, targetingTypestring, assignedTargetingOptionIdstring) *PartnersTargetingTypesAssignedTargetingOptionsGetCall
Get: Gets a single targeting option assigned to a partner.
- assignedTargetingOptionId: An identifier unique to the targetingtype in this partner that identifies the assigned targeting optionbeing requested.
- partnerId: The ID of the partner.
- targetingType: Identifies the type of this assigned targetingoption. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
func (*PartnersTargetingTypesAssignedTargetingOptionsService)List¶added inv0.30.0
func (r *PartnersTargetingTypesAssignedTargetingOptionsService) List(partnerIdint64, targetingTypestring) *PartnersTargetingTypesAssignedTargetingOptionsListCall
List: Lists the targeting options assigned to a partner.
- partnerId: The ID of the partner.
- targetingType: Identifies the type of assigned targeting options tolist. Supported targeting types: * `TARGETING_TYPE_CHANNEL`.
typePartnersTargetingTypesService¶added inv0.30.0
type PartnersTargetingTypesService struct {AssignedTargetingOptions *PartnersTargetingTypesAssignedTargetingOptionsService// contains filtered or unexported fields}funcNewPartnersTargetingTypesService¶added inv0.30.0
func NewPartnersTargetingTypesService(s *Service) *PartnersTargetingTypesService
typePerformanceGoal¶added inv0.23.0
type PerformanceGoal struct {// PerformanceGoalAmountMicros: The goal amount, in micros of the// advertiser's currency. Applicable when performance_goal_type is one// of: * `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` *// `PERFORMANCE_GOAL_TYPE_CPA` * `PERFORMANCE_GOAL_TYPE_CPIAVC` *// `PERFORMANCE_GOAL_TYPE_VCPM` For example 1500000 represents 1.5// standard units of the currency.PerformanceGoalAmountMicrosint64 `json:"performanceGoalAmountMicros,omitempty,string"`// PerformanceGoalPercentageMicros: The decimal representation of the// goal percentage in micros. Applicable when performance_goal_type is// one of: * `PERFORMANCE_GOAL_TYPE_CTR` *// `PERFORMANCE_GOAL_TYPE_VIEWABILITY` *// `PERFORMANCE_GOAL_TYPE_CLICK_CVR` *// `PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR` * `PERFORMANCE_GOAL_TYPE_VTR`// * `PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE` *// `PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE` For example, 70000// represents 7% (decimal 0.07).PerformanceGoalPercentageMicrosint64 `json:"performanceGoalPercentageMicros,omitempty,string"`// PerformanceGoalString: A key performance indicator (KPI) string,// which can be empty. Must be UTF-8 encoded with a length of no more// than 100 characters. Applicable when performance_goal_type is set to// `PERFORMANCE_GOAL_TYPE_OTHER`.PerformanceGoalStringstring `json:"performanceGoalString,omitempty"`// PerformanceGoalType: Required. The type of the performance goal.//// Possible values:// "PERFORMANCE_GOAL_TYPE_UNSPECIFIED" - Performance goal type is not// specified or is unknown in this version.// "PERFORMANCE_GOAL_TYPE_CPM" - The performance goal is set in CPM// (cost per mille).// "PERFORMANCE_GOAL_TYPE_CPC" - The performance goal is set in CPC// (cost per click).// "PERFORMANCE_GOAL_TYPE_CPA" - The performance goal is set in CPA// (cost per action).// "PERFORMANCE_GOAL_TYPE_CTR" - The performance goal is set in CTR// (click-through rate) percentage.// "PERFORMANCE_GOAL_TYPE_VIEWABILITY" - The performance goal is set// in Viewability percentage.// "PERFORMANCE_GOAL_TYPE_CPIAVC" - The performance goal is set as// CPIAVC (cost per impression audible and visible at completion).// "PERFORMANCE_GOAL_TYPE_CPE" - The performance goal is set in CPE// (cost per engagement).// "PERFORMANCE_GOAL_TYPE_CLICK_CVR" - The performance goal is set in// click conversion rate (conversions per click) percentage.// "PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR" - The performance goal is// set in impression conversion rate (conversions per impression)// percentage.// "PERFORMANCE_GOAL_TYPE_VCPM" - The performance goal is set in VCPM// (cost per thousand viewable impressions).// "PERFORMANCE_GOAL_TYPE_VTR" - The performance goal is set in// YouTube view rate (YouTube views per impression) percentage.// "PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE" - The performance// goal is set in audio completion rate (complete audio listens per// impression) percentage.// "PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE" - The performance// goal is set in video completion rate (complete video views per// impression) percentage.// "PERFORMANCE_GOAL_TYPE_OTHER" - The performance goal is set to// Other.PerformanceGoalTypestring `json:"performanceGoalType,omitempty"`// ForceSendFields is a list of field names (e.g.// "PerformanceGoalAmountMicros") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "PerformanceGoalAmountMicros") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}PerformanceGoal: Settings that control the performance goal of acampaign.
func (*PerformanceGoal)MarshalJSON¶added inv0.23.0
func (s *PerformanceGoal) MarshalJSON() ([]byte,error)
typePerformanceGoalBidStrategy¶added inv0.23.0
type PerformanceGoalBidStrategy struct {// CustomBiddingAlgorithmId: The ID of the Custom Bidding Algorithm used// by this strategy. Only applicable when performance_goal_type is set// to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.CustomBiddingAlgorithmIdint64 `json:"customBiddingAlgorithmId,omitempty,string"`// MaxAverageCpmBidAmountMicros: The maximum average CPM that may be// bid, in micros of the advertiser's currency. Must be greater than or// equal to a billable unit of the given currency. Not applicable when// performance_goal_type is set to// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`. For example,// 1500000 represents 1.5 standard units of the currency.MaxAverageCpmBidAmountMicrosint64 `json:"maxAverageCpmBidAmountMicros,omitempty,string"`// PerformanceGoalAmountMicros: Required. The performance goal the// bidding strategy will attempt to meet or beat, in micros of the// advertiser's currency or in micro of the ROAS (Return On Advertising// Spend) value which is also based on advertiser's currency. Must be// greater than or equal to a billable unit of the given currency and// smaller or equal to upper bounds. Each performance_goal_type has its// upper bound: * when performance_goal_type is// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`, upper bound is 10000.00// USD. * when performance_goal_type is// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`, upper bound is 1000.00// USD. * when performance_goal_type is// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, upper bound is// 1000.00 USD. * when performance_goal_type is// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`, upper bound is// 1000.00 and lower bound is 0.01. Example: If set to// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, the bid price// will be based on the probability that each available impression will// be viewable. For example, if viewable CPM target is $2 and an// impression is 40% likely to be viewable, the bid price will be $0.80// CPM (40% of $2). For example, 1500000 represents 1.5 standard units// of the currency or ROAS value.PerformanceGoalAmountMicrosint64 `json:"performanceGoalAmountMicros,omitempty,string"`// PerformanceGoalType: Required. The type of the performance goal that// the bidding strategy will try to meet or beat. For line item level// usage, the value must be one of: *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` *// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`.//// Possible values:// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_UNSPECIFIED" - Type value// is not specified or is unknown in this version.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA" - Cost per action.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC" - Cost per click.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM" - Viewable// CPM.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO" - Custom// bidding algorithm.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA" - Completed inview// and audible views.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN" - Inview time over// 10 secs views.// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED" - Viewable// impressions.PerformanceGoalTypestring `json:"performanceGoalType,omitempty"`// ForceSendFields is a list of field names (e.g.// "CustomBiddingAlgorithmId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomBiddingAlgorithmId")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}PerformanceGoalBidStrategy: A strategy that automatically adjusts thebid to meet or beat a specified performance goal.
func (*PerformanceGoalBidStrategy)MarshalJSON¶added inv0.23.0
func (s *PerformanceGoalBidStrategy) MarshalJSON() ([]byte,error)
typePoiAssignedTargetingOptionDetails¶added inv0.52.0
type PoiAssignedTargetingOptionDetails struct {// DisplayName: Output only. The display name of a POI, e.g. "Times// Square", "Space Needle", followed by its full address if available.DisplayNamestring `json:"displayName,omitempty"`// Latitude: Output only. Latitude of the POI rounding to 6th decimal// place.Latitudefloat64 `json:"latitude,omitempty"`// Longitude: Output only. Longitude of the POI rounding to 6th decimal// place.Longitudefloat64 `json:"longitude,omitempty"`// ProximityRadiusAmount: Required. The radius of the area around the// POI that will be targeted. The units of the radius are specified by// proximity_radius_unit. Must be 1 to 800 if unit is// `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is// `DISTANCE_UNIT_MILES`.ProximityRadiusAmountfloat64 `json:"proximityRadiusAmount,omitempty"`// ProximityRadiusUnit: Required. The unit of distance by which the// targeting radius is measured.//// Possible values:// "DISTANCE_UNIT_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "DISTANCE_UNIT_MILES" - Miles.// "DISTANCE_UNIT_KILOMETERS" - Kilometers.ProximityRadiusUnitstring `json:"proximityRadiusUnit,omitempty"`// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_POI`. Accepted POI targeting// option IDs can be retrieved using// `targetingTypes.targetingOptions.search`. If targeting a specific// latitude/longitude coordinate removed from an address or POI name,// you can generate the necessary targeting option ID by rounding the// desired coordinate values to the 6th decimal place, removing the// decimals, and concatenating the string values separated by a// semicolon. For example, you can target the latitude/longitude pair of// 40.7414691, -74.003387 using the targeting option ID// "40741469;-74003387". **Upon** **creation, this field value will be// updated to append a semicolon and** **alphanumerical hash value if// only latitude/longitude coordinates are** **provided.**TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PoiAssignedTargetingOptionDetails: Details for assigned POI targetingoption. This will be populated in the details field of anAssignedTargetingOption when targeting_type is `TARGETING_TYPE_POI`.
func (*PoiAssignedTargetingOptionDetails)MarshalJSON¶added inv0.52.0
func (s *PoiAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
func (*PoiAssignedTargetingOptionDetails)UnmarshalJSON¶added inv0.52.0
func (s *PoiAssignedTargetingOptionDetails) UnmarshalJSON(data []byte)error
typePoiSearchTerms¶added inv0.52.0
type PoiSearchTerms struct {// PoiQuery: The search query for the desired POI name, street address,// or coordinate of the desired POI. The query can be a prefix, e.g.// "Times squar", "40.7505045,-73.99562", "315 W 44th St", etc.PoiQuerystring `json:"poiQuery,omitempty"`// ForceSendFields is a list of field names (e.g. "PoiQuery") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PoiQuery") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PoiSearchTerms: Search terms for POI targeting options.
func (*PoiSearchTerms)MarshalJSON¶added inv0.52.0
func (s *PoiSearchTerms) MarshalJSON() ([]byte,error)
typePoiTargetingOptionDetails¶added inv0.52.0
type PoiTargetingOptionDetails struct {// DisplayName: Output only. The display name of a POI(e.g. "Times// Square", "Space Needle"), followed by its full address if available.DisplayNamestring `json:"displayName,omitempty"`// Latitude: Output only. Latitude of the POI rounding to 6th decimal// place.Latitudefloat64 `json:"latitude,omitempty"`// Longitude: Output only. Longitude of the POI rounding to 6th decimal// place.Longitudefloat64 `json:"longitude,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PoiTargetingOptionDetails: Represents a targetable point ofinterest(POI). This will be populated in the poi_details field whentargeting_type is `TARGETING_TYPE_POI`.
func (*PoiTargetingOptionDetails)MarshalJSON¶added inv0.52.0
func (s *PoiTargetingOptionDetails) MarshalJSON() ([]byte,error)
func (*PoiTargetingOptionDetails)UnmarshalJSON¶added inv0.52.0
func (s *PoiTargetingOptionDetails) UnmarshalJSON(data []byte)error
typePrismaConfig¶added inv0.48.0
type PrismaConfig struct {// PrismaCpeCode: Required. Relevant client, product, and estimate codes// from the Mediaocean Prisma tool.PrismaCpeCode *PrismaCpeCode `json:"prismaCpeCode,omitempty"`// PrismaType: Required. The Prisma type.//// Possible values:// "PRISMA_TYPE_UNSPECIFIED" - Type is not specified or unknown in// this version.// "PRISMA_TYPE_DISPLAY" - Display type.// "PRISMA_TYPE_SEARCH" - Search type.// "PRISMA_TYPE_VIDEO" - Video type.// "PRISMA_TYPE_AUDIO" - Audio type.// "PRISMA_TYPE_SOCIAL" - Social type.// "PRISMA_TYPE_FEE" - Fee type.PrismaTypestring `json:"prismaType,omitempty"`// Supplier: Required. The entity allocated this budget (DSP, site,// etc.).Supplierstring `json:"supplier,omitempty"`// ForceSendFields is a list of field names (e.g. "PrismaCpeCode") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PrismaCpeCode") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PrismaConfig: Settings specific to the Mediaocean Prisma tool.
func (*PrismaConfig)MarshalJSON¶added inv0.48.0
func (s *PrismaConfig) MarshalJSON() ([]byte,error)
typePrismaCpeCode¶added inv0.48.0
type PrismaCpeCode struct {// PrismaClientCode: The Prisma client code.PrismaClientCodestring `json:"prismaClientCode,omitempty"`// PrismaEstimateCode: The Prisma estimate code.PrismaEstimateCodestring `json:"prismaEstimateCode,omitempty"`// PrismaProductCode: The Prisma product code.PrismaProductCodestring `json:"prismaProductCode,omitempty"`// ForceSendFields is a list of field names (e.g. "PrismaClientCode") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PrismaClientCode") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}PrismaCpeCode: Google Payments Center supports searching andfiltering on the component fields of this code.
func (*PrismaCpeCode)MarshalJSON¶added inv0.48.0
func (s *PrismaCpeCode) MarshalJSON() ([]byte,error)
typeProximityLocationListAssignedTargetingOptionDetails¶added inv0.23.0
type ProximityLocationListAssignedTargetingOptionDetails struct {// ProximityLocationListId: Required. ID of the proximity location list.// Should refer to the location_list_id field of a LocationList resource// whose type is `TARGETING_LOCATION_TYPE_PROXIMITY`.ProximityLocationListIdint64 `json:"proximityLocationListId,omitempty,string"`// ProximityRadiusRange: Required. Radius range for proximity location// list. This represents the size of the area around a chosen location// that will be targeted. `All` proximity location targeting under a// single resource must have the same radius range value. Set this value// to match any existing targeting. If updated, this field will change// the radius range for all proximity targeting under the resource.//// Possible values:// "PROXIMITY_RADIUS_RANGE_UNSPECIFIED" - The targeted radius range is// not specified or is unknown. Default value when radius range is not// specified in this version. This enum is a placeholder for default// value and does not represent a real radius range option.// "PROXIMITY_RADIUS_RANGE_SMALL" - The targeted radius range is// small.// "PROXIMITY_RADIUS_RANGE_MEDIUM" - The targeted radius range is// medium.// "PROXIMITY_RADIUS_RANGE_LARGE" - The targeted radius range is// large.ProximityRadiusRangestring `json:"proximityRadiusRange,omitempty"`// ForceSendFields is a list of field names (e.g.// "ProximityLocationListId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ProximityLocationListId")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ProximityLocationListAssignedTargetingOptionDetails: Targetingdetails for proximity location list. This will be populated in thedetails field of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_PROXIMITY_LOCATION_LIST`.
func (*ProximityLocationListAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ProximityLocationListAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typePublisherReviewStatus¶added inv0.23.0
type PublisherReviewStatus struct {// PublisherName: The publisher reviewing the creative.PublisherNamestring `json:"publisherName,omitempty"`// Status: Status of the publisher review.//// Possible values:// "REVIEW_STATUS_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "REVIEW_STATUS_APPROVED" - The creative is approved.// "REVIEW_STATUS_REJECTED" - The creative is rejected.// "REVIEW_STATUS_PENDING" - The creative is pending review.Statusstring `json:"status,omitempty"`// ForceSendFields is a list of field names (e.g. "PublisherName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PublisherName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}PublisherReviewStatus: Publisher review status for the creative.
func (*PublisherReviewStatus)MarshalJSON¶added inv0.23.0
func (s *PublisherReviewStatus) MarshalJSON() ([]byte,error)
typeRateDetails¶added inv0.23.0
type RateDetails struct {// InventorySourceRateType: The rate type. Acceptable values are// `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`,// `INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and// `INVENTORY_SOURCE_RATE_TYPE_CPD`.//// Possible values:// "INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED" - The rate type is not// specified or is unknown in this version.// "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED" - The rate type is CPM// (Fixed).// "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR" - The rate type is CPM// (Floor).// "INVENTORY_SOURCE_RATE_TYPE_CPD" - The rate type is Cost per Day.// "INVENTORY_SOURCE_RATE_TYPE_FLAT" - The rate type is Flat.InventorySourceRateTypestring `json:"inventorySourceRateType,omitempty"`// MinimumSpend: Output only. The amount that the buyer has committed to// spending on the inventory source up front. Only applicable for// guaranteed inventory sources.MinimumSpend *Money `json:"minimumSpend,omitempty"`// Rate: The rate for the inventory source.Rate *Money `json:"rate,omitempty"`// UnitsPurchased: Required for guaranteed inventory sources. The number// of impressions guaranteed by the seller.UnitsPurchasedint64 `json:"unitsPurchased,omitempty,string"`// ForceSendFields is a list of field names (e.g.// "InventorySourceRateType") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InventorySourceRateType")// to include in API requests with the JSON null value. By default,// fields with empty values are omitted from API requests. However, any// field with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}RateDetails: The rate related settings of the inventory source.
func (*RateDetails)MarshalJSON¶added inv0.23.0
func (s *RateDetails) MarshalJSON() ([]byte,error)
typeRegionalLocationListAssignedTargetingOptionDetails¶added inv0.23.0
type RegionalLocationListAssignedTargetingOptionDetails struct {// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// RegionalLocationListId: Required. ID of the regional location list.// Should refer to the location_list_id field of a LocationList resource// whose type is `TARGETING_LOCATION_TYPE_REGIONAL`.RegionalLocationListIdint64 `json:"regionalLocationListId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Negative") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Negative") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}RegionalLocationListAssignedTargetingOptionDetails: Targeting detailsfor regional location list. This will be populated in the detailsfield of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_REGIONAL_LOCATION_LIST`.
func (*RegionalLocationListAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *RegionalLocationListAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeReplaceNegativeKeywordsRequest¶added inv0.43.0
type ReplaceNegativeKeywordsRequest struct {// NewNegativeKeywords: The negative keywords that will replace the// existing keywords in the negative keyword list, specified as a list// of NegativeKeywords.NewNegativeKeywords []*NegativeKeyword `json:"newNegativeKeywords,omitempty"`// ForceSendFields is a list of field names (e.g. "NewNegativeKeywords")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NewNegativeKeywords") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ReplaceNegativeKeywordsRequest: Request message forNegativeKeywordService.ReplaceNegativeKeywords.
func (*ReplaceNegativeKeywordsRequest)MarshalJSON¶added inv0.43.0
func (s *ReplaceNegativeKeywordsRequest) MarshalJSON() ([]byte,error)
typeReplaceNegativeKeywordsResponse¶added inv0.43.0
type ReplaceNegativeKeywordsResponse struct {// NegativeKeywords: The full list of negative keywords now present in// the negative keyword list.NegativeKeywords []*NegativeKeyword `json:"negativeKeywords,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NegativeKeywords") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NegativeKeywords") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ReplaceNegativeKeywordsResponse: Response message forNegativeKeywordService.ReplaceNegativeKeywords.
func (*ReplaceNegativeKeywordsResponse)MarshalJSON¶added inv0.43.0
func (s *ReplaceNegativeKeywordsResponse) MarshalJSON() ([]byte,error)
typeReplaceSitesRequest¶added inv0.43.0
type ReplaceSitesRequest struct {// AdvertiserId: The ID of the advertiser that owns the parent channel.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// NewSites: The sites that will replace the existing sites assigned to// the channel, specified as a list of Sites.NewSites []*Site `json:"newSites,omitempty"`// PartnerId: The ID of the partner that owns the parent channel.PartnerIdint64 `json:"partnerId,omitempty,string"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ReplaceSitesRequest: Request message for SiteService.ReplaceSites.
func (*ReplaceSitesRequest)MarshalJSON¶added inv0.43.0
func (s *ReplaceSitesRequest) MarshalJSON() ([]byte,error)
typeReplaceSitesResponse¶added inv0.43.0
type ReplaceSitesResponse struct {// Sites: The list of sites in the channel after replacing.Sites []*Site `json:"sites,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Sites") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Sites") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ReplaceSitesResponse: Response message for SiteService.ReplaceSites.
func (*ReplaceSitesResponse)MarshalJSON¶added inv0.43.0
func (s *ReplaceSitesResponse) MarshalJSON() ([]byte,error)
typeReviewStatusInfo¶added inv0.23.0
type ReviewStatusInfo struct {// ApprovalStatus: Represents the basic approval needed for a creative// to begin serving. Summary of creative_and_landing_page_review_status// and content_and_policy_review_status.//// Possible values:// "APPROVAL_STATUS_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "APPROVAL_STATUS_PENDING_NOT_SERVABLE" - The creative is still// under review and not servable.// "APPROVAL_STATUS_PENDING_SERVABLE" - The creative has passed// creative & landing page review and is servable, but is awaiting// additional content & policy review.// "APPROVAL_STATUS_APPROVED_SERVABLE" - Both creative & landing page// review and content & policy review are approved. The creative is// servable.// "APPROVAL_STATUS_REJECTED_NOT_SERVABLE" - There is an issue with// the creative that must be fixed before it can serve.ApprovalStatusstring `json:"approvalStatus,omitempty"`// ContentAndPolicyReviewStatus: Content and policy review status for// the creative.//// Possible values:// "REVIEW_STATUS_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "REVIEW_STATUS_APPROVED" - The creative is approved.// "REVIEW_STATUS_REJECTED" - The creative is rejected.// "REVIEW_STATUS_PENDING" - The creative is pending review.ContentAndPolicyReviewStatusstring `json:"contentAndPolicyReviewStatus,omitempty"`// CreativeAndLandingPageReviewStatus: Creative and landing page review// status for the creative.//// Possible values:// "REVIEW_STATUS_UNSPECIFIED" - Type value is not specified or is// unknown in this version.// "REVIEW_STATUS_APPROVED" - The creative is approved.// "REVIEW_STATUS_REJECTED" - The creative is rejected.// "REVIEW_STATUS_PENDING" - The creative is pending review.CreativeAndLandingPageReviewStatusstring `json:"creativeAndLandingPageReviewStatus,omitempty"`// ExchangeReviewStatuses: Exchange review statuses for the creative.ExchangeReviewStatuses []*ExchangeReviewStatus `json:"exchangeReviewStatuses,omitempty"`// PublisherReviewStatuses: Publisher review statuses for the creative.PublisherReviewStatuses []*PublisherReviewStatus `json:"publisherReviewStatuses,omitempty"`// ForceSendFields is a list of field names (e.g. "ApprovalStatus") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApprovalStatus") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ReviewStatusInfo: Review statuses for the creative.
func (*ReviewStatusInfo)MarshalJSON¶added inv0.23.0
func (s *ReviewStatusInfo) MarshalJSON() ([]byte,error)
typeScriptError¶added inv0.60.0
type ScriptError struct {// Column: The column number in the script where the error was thrown.Columnint64 `json:"column,omitempty,string"`// ErrorCode: The type of error.//// Possible values:// "ERROR_CODE_UNSPECIFIED" - The script error is not specified or is// unknown in this version.// "SYNTAX_ERROR" - The script has a syntax error.// "DEPRECATED_SYNTAX" - The script uses deprecated syntax.// "INTERNAL_ERROR" - Internal errors were thrown while processing the// script.ErrorCodestring `json:"errorCode,omitempty"`// ErrorMessage: The detailed error message.ErrorMessagestring `json:"errorMessage,omitempty"`// Line: The line number in the script where the error was thrown.Lineint64 `json:"line,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Column") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Column") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ScriptError: An error message for a custom bidding script.
func (*ScriptError)MarshalJSON¶added inv0.60.0
func (s *ScriptError) MarshalJSON() ([]byte,error)
typeSdfConfig¶added inv0.23.0
type SdfConfig struct {// AdminEmail: An administrator email address to which the SDF// processing status reports will be sent.AdminEmailstring `json:"adminEmail,omitempty"`// Version: Required. The version of SDF being used.//// Possible values:// "SDF_VERSION_UNSPECIFIED" - SDF version value is not specified or// is unknown in this version.// "SDF_VERSION_3_1" - SDF version 3.1// "SDF_VERSION_4" - SDF version 4// "SDF_VERSION_4_1" - SDF version 4.1// "SDF_VERSION_4_2" - SDF version 4.2// "SDF_VERSION_5" - SDF version 5.// "SDF_VERSION_5_1" - SDF version 5.1// "SDF_VERSION_5_2" - SDF version 5.2// "SDF_VERSION_5_3" - SDF version 5.3// "SDF_VERSION_5_4" - SDF version 5.4// "SDF_VERSION_5_5" - SDF version 5.5// "SDF_VERSION_6" - SDF version 6// "SDF_VERSION_7" - SDF version 7. Read the [v7 migration// guide](/display-video/api/structured-data-file/v7-migration-guide)// before migrating to this version. Currently in beta. Only available// for use by a subset of users.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "AdminEmail") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdminEmail") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}SdfConfig: Structured Data File (SDF) related settings.
func (*SdfConfig)MarshalJSON¶added inv0.23.0
typeSdfDownloadTask¶
type SdfDownloadTask struct {// ResourceName: A resource name to be used in media.download to// Download the prepared files. Resource names have the format// `download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made// available by the long running operation service once the task status// is done.ResourceNamestring `json:"resourceName,omitempty"`// ForceSendFields is a list of field names (e.g. "ResourceName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ResourceName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}SdfDownloadTask: Type for the response returned by[SdfDownloadTaskService.CreateSdfDownloadTask].
func (*SdfDownloadTask)MarshalJSON¶
func (s *SdfDownloadTask) MarshalJSON() ([]byte,error)
typeSdfDownloadTaskMetadata¶
type SdfDownloadTaskMetadata struct {// CreateTime: The time when the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: The time when execution was completed.EndTimestring `json:"endTime,omitempty"`// Version: The SDF version used to execute this download task.//// Possible values:// "SDF_VERSION_UNSPECIFIED" - SDF version value is not specified or// is unknown in this version.// "SDF_VERSION_3_1" - SDF version 3.1// "SDF_VERSION_4" - SDF version 4// "SDF_VERSION_4_1" - SDF version 4.1// "SDF_VERSION_4_2" - SDF version 4.2// "SDF_VERSION_5" - SDF version 5.// "SDF_VERSION_5_1" - SDF version 5.1// "SDF_VERSION_5_2" - SDF version 5.2// "SDF_VERSION_5_3" - SDF version 5.3// "SDF_VERSION_5_4" - SDF version 5.4// "SDF_VERSION_5_5" - SDF version 5.5// "SDF_VERSION_6" - SDF version 6// "SDF_VERSION_7" - SDF version 7. Read the [v7 migration// guide](/display-video/api/structured-data-file/v7-migration-guide)// before migrating to this version. Currently in beta. Only available// for use by a subset of users.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}SdfDownloadTaskMetadata: Type for the metadata returned by[SdfDownloadTaskService.CreateSdfDownloadTask].
func (*SdfDownloadTaskMetadata)MarshalJSON¶
func (s *SdfDownloadTaskMetadata) MarshalJSON() ([]byte,error)
typeSdfdownloadtasksCreateCall¶
type SdfdownloadtasksCreateCall struct {// contains filtered or unexported fields}func (*SdfdownloadtasksCreateCall)Context¶
func (c *SdfdownloadtasksCreateCall) Context(ctxcontext.Context) *SdfdownloadtasksCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*SdfdownloadtasksCreateCall)Do¶
func (c *SdfdownloadtasksCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "displayvideo.sdfdownloadtasks.create" call.Exactly one of *Operation or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*SdfdownloadtasksCreateCall)Fields¶
func (c *SdfdownloadtasksCreateCall) Fields(s ...googleapi.Field) *SdfdownloadtasksCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*SdfdownloadtasksCreateCall)Header¶
func (c *SdfdownloadtasksCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeSdfdownloadtasksOperationsGetCall¶
type SdfdownloadtasksOperationsGetCall struct {// contains filtered or unexported fields}func (*SdfdownloadtasksOperationsGetCall)Context¶
func (c *SdfdownloadtasksOperationsGetCall) Context(ctxcontext.Context) *SdfdownloadtasksOperationsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*SdfdownloadtasksOperationsGetCall)Do¶
func (c *SdfdownloadtasksOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "displayvideo.sdfdownloadtasks.operations.get" call.Exactly one of *Operation or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModifiedto check whether the returned error was becausehttp.StatusNotModified was returned.
func (*SdfdownloadtasksOperationsGetCall)Fields¶
func (c *SdfdownloadtasksOperationsGetCall) Fields(s ...googleapi.Field) *SdfdownloadtasksOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*SdfdownloadtasksOperationsGetCall)Header¶
func (c *SdfdownloadtasksOperationsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*SdfdownloadtasksOperationsGetCall)IfNoneMatch¶
func (c *SdfdownloadtasksOperationsGetCall) IfNoneMatch(entityTagstring) *SdfdownloadtasksOperationsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeSdfdownloadtasksOperationsService¶
type SdfdownloadtasksOperationsService struct {// contains filtered or unexported fields}funcNewSdfdownloadtasksOperationsService¶
func NewSdfdownloadtasksOperationsService(s *Service) *SdfdownloadtasksOperationsService
func (*SdfdownloadtasksOperationsService)Get¶
func (r *SdfdownloadtasksOperationsService) Get(namestring) *SdfdownloadtasksOperationsGetCall
Get: Gets the latest state of an asynchronous SDF download taskoperation. Clients should poll this method at intervals of 30seconds.
- name: The name of the operation resource.
typeSdfdownloadtasksService¶
type SdfdownloadtasksService struct {Operations *SdfdownloadtasksOperationsService// contains filtered or unexported fields}funcNewSdfdownloadtasksService¶
func NewSdfdownloadtasksService(s *Service) *SdfdownloadtasksService
func (*SdfdownloadtasksService)Create¶
func (r *SdfdownloadtasksService) Create(createsdfdownloadtaskrequest *CreateSdfDownloadTaskRequest) *SdfdownloadtasksCreateCall
Create: Creates an SDF Download Task. Returns an Operation. An SDFDownload Task is a long-running, asynchronous operation. The metadatatype of this operation is SdfDownloadTaskMetadata. If the request issuccessful, the response type of the operation is SdfDownloadTask.The response will not include the download files, which must beretrieved with media.download. The state of operation can beretrieved with sdfdownloadtask.operations.get. Any errors can befound in the error.message. Note that error.details is expected to beempty.
typeSearchTargetingOptionsRequest¶added inv0.36.0
type SearchTargetingOptionsRequest struct {// AdvertiserId: Required. The Advertiser this request is being made in// the context of.AdvertiserIdint64 `json:"advertiserId,omitempty,string"`// BusinessChainSearchTerms: Search terms for Business Chain targeting// options. Can only be used when targeting_type is// `TARGETING_TYPE_BUSINESS_CHAIN`.BusinessChainSearchTerms *BusinessChainSearchTerms `json:"businessChainSearchTerms,omitempty"`// GeoRegionSearchTerms: Search terms for geo region targeting options.// Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`.GeoRegionSearchTerms *GeoRegionSearchTerms `json:"geoRegionSearchTerms,omitempty"`// PageSize: Requested page size. Must be between `1` and `200`. If// unspecified will default to `100`. Returns error code// `INVALID_ARGUMENT` if an invalid value is specified.PageSizeint64 `json:"pageSize,omitempty"`// PageToken: A token identifying a page of results the server should// return. Typically, this is the value of next_page_token returned from// the previous call to `SearchTargetingOptions` method. If not// specified, the first page of results will be returned.PageTokenstring `json:"pageToken,omitempty"`// PoiSearchTerms: Search terms for POI targeting options. Can only be// used when targeting_type is `TARGETING_TYPE_POI`.PoiSearchTerms *PoiSearchTerms `json:"poiSearchTerms,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvertiserId") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvertiserId") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}SearchTargetingOptionsRequest: Request message forSearchTargetingOptions.
func (*SearchTargetingOptionsRequest)MarshalJSON¶added inv0.36.0
func (s *SearchTargetingOptionsRequest) MarshalJSON() ([]byte,error)
typeSearchTargetingOptionsResponse¶added inv0.36.0
type SearchTargetingOptionsResponse struct {// NextPageToken: A token to retrieve the next page of results. Pass// this value in the page_token field in the subsequent call to// `SearchTargetingOptions` method to retrieve the next page of results.NextPageTokenstring `json:"nextPageToken,omitempty"`// TargetingOptions: The list of targeting options that match the search// criteria. This list will be absent if empty.TargetingOptions []*TargetingOption `json:"targetingOptions,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}SearchTargetingOptionsResponse: Response message forSearchTargetingOptions.
func (*SearchTargetingOptionsResponse)MarshalJSON¶added inv0.36.0
func (s *SearchTargetingOptionsResponse) MarshalJSON() ([]byte,error)
typeSensitiveCategoryAssignedTargetingOptionDetails¶added inv0.23.0
type SensitiveCategoryAssignedTargetingOptionDetails struct {// ExcludedTargetingOptionId: Required. ID of the sensitive category to// be EXCLUDED.ExcludedTargetingOptionIdstring `json:"excludedTargetingOptionId,omitempty"`// SensitiveCategory: Output only. An enum for the DV360 Sensitive// category content classifier.//// Possible values:// "SENSITIVE_CATEGORY_UNSPECIFIED" - This enum is only a placeholder// and doesn't specify a DV360 sensitive category.// "SENSITIVE_CATEGORY_ADULT" - Adult or pornographic text, image, or// video content.// "SENSITIVE_CATEGORY_DEROGATORY" - Content that may be construed as// biased against individuals, groups, or organizations based on// criteria such as race, religion, disability, sex, age, veteran// status, sexual orientation, gender identity, or political// affiliation. May also indicate discussion of such content, for// instance, in an academic or journalistic context.// "SENSITIVE_CATEGORY_DOWNLOADS_SHARING" - Content related to audio,// video, or software downloads.// "SENSITIVE_CATEGORY_WEAPONS" - Contains content related to personal// weapons, including knives, guns, small firearms, and ammunition.// Selecting either "weapons" or "sensitive social issues" will result// in selecting both.// "SENSITIVE_CATEGORY_GAMBLING" - Contains content related to betting// or wagering in a real-world or online setting.// "SENSITIVE_CATEGORY_VIOLENCE" - Content which may be considered// graphically violent, gory, gruesome, or shocking, such as street// fighting videos, accident photos, descriptions of torture, etc.// "SENSITIVE_CATEGORY_SUGGESTIVE" - Adult content, as well as// suggestive content that's not explicitly pornographic. This category// includes all pages categorized as adult.// "SENSITIVE_CATEGORY_PROFANITY" - Prominent use of words considered// indecent, such as curse words and sexual slang. Pages with only very// occasional usage, such as news sites that might include such words in// a quotation, are not included.// "SENSITIVE_CATEGORY_ALCOHOL" - Contains content related to// alcoholic beverages, alcohol brands, recipes, etc.// "SENSITIVE_CATEGORY_DRUGS" - Contains content related to the// recreational use of legal or illegal drugs, as well as to drug// paraphernalia or cultivation.// "SENSITIVE_CATEGORY_TOBACCO" - Contains content related to tobacco// and tobacco accessories, including lighters, humidors, ashtrays, etc.// "SENSITIVE_CATEGORY_POLITICS" - Political news and media, including// discussions of social, governmental, and public policy.// "SENSITIVE_CATEGORY_RELIGION" - Content related to religious// thought or beliefs.// "SENSITIVE_CATEGORY_TRAGEDY" - Content related to death, disasters,// accidents, war, etc.// "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS" - Content related to// motor vehicle, aviation or other transportation accidents.// "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES" - Issues that evoke// strong, opposing views and spark debate. These include issues that// are controversial in most countries and markets (such as abortion),// as well as those that are controversial in specific countries and// markets (such as immigration reform in the United States).// "SENSITIVE_CATEGORY_SHOCKING" - Content which may be considered// shocking or disturbing, such as violent news stories, stunts, or// toilet humor.SensitiveCategorystring `json:"sensitiveCategory,omitempty"`// ForceSendFields is a list of field names (e.g.// "ExcludedTargetingOptionId") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "ExcludedTargetingOptionId") to include in API requests with the JSON// null value. By default, fields with empty values are omitted from API// requests. However, any field with an empty value appearing in// NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}SensitiveCategoryAssignedTargetingOptionDetails: Targeting detailsfor sensitive category. This will be populated in the details fieldof an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (*SensitiveCategoryAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *SensitiveCategoryAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeSensitiveCategoryTargetingOptionDetails¶added inv0.23.0
type SensitiveCategoryTargetingOptionDetails struct {// SensitiveCategory: Output only. An enum for the DV360 Sensitive// category content classifier.//// Possible values:// "SENSITIVE_CATEGORY_UNSPECIFIED" - This enum is only a placeholder// and doesn't specify a DV360 sensitive category.// "SENSITIVE_CATEGORY_ADULT" - Adult or pornographic text, image, or// video content.// "SENSITIVE_CATEGORY_DEROGATORY" - Content that may be construed as// biased against individuals, groups, or organizations based on// criteria such as race, religion, disability, sex, age, veteran// status, sexual orientation, gender identity, or political// affiliation. May also indicate discussion of such content, for// instance, in an academic or journalistic context.// "SENSITIVE_CATEGORY_DOWNLOADS_SHARING" - Content related to audio,// video, or software downloads.// "SENSITIVE_CATEGORY_WEAPONS" - Contains content related to personal// weapons, including knives, guns, small firearms, and ammunition.// Selecting either "weapons" or "sensitive social issues" will result// in selecting both.// "SENSITIVE_CATEGORY_GAMBLING" - Contains content related to betting// or wagering in a real-world or online setting.// "SENSITIVE_CATEGORY_VIOLENCE" - Content which may be considered// graphically violent, gory, gruesome, or shocking, such as street// fighting videos, accident photos, descriptions of torture, etc.// "SENSITIVE_CATEGORY_SUGGESTIVE" - Adult content, as well as// suggestive content that's not explicitly pornographic. This category// includes all pages categorized as adult.// "SENSITIVE_CATEGORY_PROFANITY" - Prominent use of words considered// indecent, such as curse words and sexual slang. Pages with only very// occasional usage, such as news sites that might include such words in// a quotation, are not included.// "SENSITIVE_CATEGORY_ALCOHOL" - Contains content related to// alcoholic beverages, alcohol brands, recipes, etc.// "SENSITIVE_CATEGORY_DRUGS" - Contains content related to the// recreational use of legal or illegal drugs, as well as to drug// paraphernalia or cultivation.// "SENSITIVE_CATEGORY_TOBACCO" - Contains content related to tobacco// and tobacco accessories, including lighters, humidors, ashtrays, etc.// "SENSITIVE_CATEGORY_POLITICS" - Political news and media, including// discussions of social, governmental, and public policy.// "SENSITIVE_CATEGORY_RELIGION" - Content related to religious// thought or beliefs.// "SENSITIVE_CATEGORY_TRAGEDY" - Content related to death, disasters,// accidents, war, etc.// "SENSITIVE_CATEGORY_TRANSPORTATION_ACCIDENTS" - Content related to// motor vehicle, aviation or other transportation accidents.// "SENSITIVE_CATEGORY_SENSITIVE_SOCIAL_ISSUES" - Issues that evoke// strong, opposing views and spark debate. These include issues that// are controversial in most countries and markets (such as abortion),// as well as those that are controversial in specific countries and// markets (such as immigration reform in the United States).// "SENSITIVE_CATEGORY_SHOCKING" - Content which may be considered// shocking or disturbing, such as violent news stories, stunts, or// toilet humor.SensitiveCategorystring `json:"sensitiveCategory,omitempty"`// ForceSendFields is a list of field names (e.g. "SensitiveCategory")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SensitiveCategory") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}SensitiveCategoryTargetingOptionDetails: Represents a targetablesensitive category. This will be populated in thesensitive_category_details field of the TargetingOption whentargeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`.
func (*SensitiveCategoryTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *SensitiveCategoryTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentAdvertisers *AdvertisersServiceCombinedAudiences *CombinedAudiencesServiceCustomBiddingAlgorithms *CustomBiddingAlgorithmsServiceCustomLists *CustomListsServiceFirstAndThirdPartyAudiences *FirstAndThirdPartyAudiencesServiceFloodlightGroups *FloodlightGroupsServiceGoogleAudiences *GoogleAudiencesServiceGuaranteedOrders *GuaranteedOrdersServiceInventorySourceGroups *InventorySourceGroupsServiceInventorySources *InventorySourcesServiceMedia *MediaServicePartners *PartnersServiceSdfdownloadtasks *SdfdownloadtasksServiceTargetingTypes *TargetingTypesServiceUsers *UsersService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeSite¶added inv0.27.0
type Site struct {// Name: Output only. The resource name of the site.Namestring `json:"name,omitempty"`// UrlOrAppId: Required. The app ID or URL of the site. Must be UTF-8// encoded with a maximum length of 240 bytes.UrlOrAppIdstring `json:"urlOrAppId,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Name") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Site: A single site. Sites are apps or websites belonging to achannel.
func (*Site)MarshalJSON¶added inv0.27.0
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of// google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a// common set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in// English. Any user-facing error message should be localized and sent// in the google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that issuitable for different programming environments, including REST APIsand RPC APIs. It is used by gRPC (https://github.com/grpc). Each`Status` message contains three pieces of data: error code, errormessage, and error details. You can find out more about this errormodel and how to work with it in the API Design Guide(https://cloud.google.com/apis/design/errors).
func (*Status)MarshalJSON¶
typeSubExchangeAssignedTargetingOptionDetails¶added inv0.23.0
type SubExchangeAssignedTargetingOptionDetails struct {// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// ForceSendFields is a list of field names (e.g. "TargetingOptionId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "TargetingOptionId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}SubExchangeAssignedTargetingOptionDetails: Details for assignedsub-exchange targeting option. This will be populated in the detailsfield of an AssignedTargetingOption when targeting_type is`TARGETING_TYPE_SUB_EXCHANGE`.
func (*SubExchangeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *SubExchangeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeSubExchangeTargetingOptionDetails¶added inv0.23.0
type SubExchangeTargetingOptionDetails struct {// DisplayName: Output only. The display name of the sub-exchange.DisplayNamestring `json:"displayName,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}SubExchangeTargetingOptionDetails: Represents a targetablesub-exchange. This will be populated in the sub_exchange_detailsfield of a TargetingOption when targeting_type is`TARGETING_TYPE_SUB_EXCHANGE`.
func (*SubExchangeTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *SubExchangeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeTargetingExpansionConfig¶added inv0.35.0
type TargetingExpansionConfig struct {// ExcludeFirstPartyAudience: Whether to exclude first-party audiences// from use in targeting expansion. This field was deprecated with the// launch of optimized targeting// (//support.google.com/displayvideo/answer/12060859). This field will// be set to `false`. If this field is set to `true` when deprecated,// all positive first-party audience targeting assigned to this line// item will be replaced with negative targeting of the same first-party// audiences to ensure the continued exclusion of those audiences.ExcludeFirstPartyAudiencebool `json:"excludeFirstPartyAudience,omitempty"`// TargetingExpansionLevel: Required. Whether optimized targeting is// turned on. This field supports the following values: *// `NO_EXPANSION`: optimized targeting is turned off *// `LEAST_EXPANSION`: optimized targeting is turned on If this field is// set to any other value, it will automatically be set to// `LEAST_EXPANSION`. `NO_EXPANSION` will be the default value for the// field and will be automatically assigned if you do not set the field.//// Possible values:// "TARGETING_EXPANSION_LEVEL_UNSPECIFIED" - The optimized targeting// setting is not specified or is unknown in this version.// "NO_EXPANSION" - Optimized targeting is off.// "LEAST_EXPANSION" - Optimized targeting is on.// "SOME_EXPANSION" - If used, will automatically be set to// `LEAST_EXPANSION`.// "BALANCED_EXPANSION" - If used, will automatically be set to// `LEAST_EXPANSION`.// "MORE_EXPANSION" - If used, will automatically be set to// `LEAST_EXPANSION`.// "MOST_EXPANSION" - If used, will automatically be set to// `LEAST_EXPANSION`.TargetingExpansionLevelstring `json:"targetingExpansionLevel,omitempty"`// ForceSendFields is a list of field names (e.g.// "ExcludeFirstPartyAudience") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "ExcludeFirstPartyAudience") to include in API requests with the JSON// null value. By default, fields with empty values are omitted from API// requests. However, any field with an empty value appearing in// NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}TargetingExpansionConfig: Settings that control the optimizedtargeting (//support.google.com/displayvideo/answer/12060859)settings of the line item.
func (*TargetingExpansionConfig)MarshalJSON¶added inv0.35.0
func (s *TargetingExpansionConfig) MarshalJSON() ([]byte,error)
typeTargetingOption¶added inv0.23.0
type TargetingOption struct {// AgeRangeDetails: Age range details.AgeRangeDetails *AgeRangeTargetingOptionDetails `json:"ageRangeDetails,omitempty"`// AppCategoryDetails: App category details.AppCategoryDetails *AppCategoryTargetingOptionDetails `json:"appCategoryDetails,omitempty"`// AudioContentTypeDetails: Audio content type details.AudioContentTypeDetails *AudioContentTypeTargetingOptionDetails `json:"audioContentTypeDetails,omitempty"`// AuthorizedSellerStatusDetails: Authorized seller status resource// details.AuthorizedSellerStatusDetails *AuthorizedSellerStatusTargetingOptionDetails `json:"authorizedSellerStatusDetails,omitempty"`// BrowserDetails: Browser details.BrowserDetails *BrowserTargetingOptionDetails `json:"browserDetails,omitempty"`// BusinessChainDetails: Business chain resource details.BusinessChainDetails *BusinessChainTargetingOptionDetails `json:"businessChainDetails,omitempty"`// CarrierAndIspDetails: Carrier and ISP details.CarrierAndIspDetails *CarrierAndIspTargetingOptionDetails `json:"carrierAndIspDetails,omitempty"`// CategoryDetails: Category resource details.CategoryDetails *CategoryTargetingOptionDetails `json:"categoryDetails,omitempty"`// ContentDurationDetails: Content duration resource details.ContentDurationDetails *ContentDurationTargetingOptionDetails `json:"contentDurationDetails,omitempty"`// ContentGenreDetails: Content genre resource details.ContentGenreDetails *ContentGenreTargetingOptionDetails `json:"contentGenreDetails,omitempty"`// ContentInstreamPositionDetails: Content instream position details.ContentInstreamPositionDetails *ContentInstreamPositionTargetingOptionDetails `json:"contentInstreamPositionDetails,omitempty"`// ContentOutstreamPositionDetails: Content outstream position details.ContentOutstreamPositionDetails *ContentOutstreamPositionTargetingOptionDetails `json:"contentOutstreamPositionDetails,omitempty"`// ContentStreamTypeDetails: Content stream type resource details.ContentStreamTypeDetails *ContentStreamTypeTargetingOptionDetails `json:"contentStreamTypeDetails,omitempty"`// DeviceMakeModelDetails: Device make and model resource details.DeviceMakeModelDetails *DeviceMakeModelTargetingOptionDetails `json:"deviceMakeModelDetails,omitempty"`// DeviceTypeDetails: Device type details.DeviceTypeDetails *DeviceTypeTargetingOptionDetails `json:"deviceTypeDetails,omitempty"`// DigitalContentLabelDetails: Digital content label details.DigitalContentLabelDetails *DigitalContentLabelTargetingOptionDetails `json:"digitalContentLabelDetails,omitempty"`// EnvironmentDetails: Environment details.EnvironmentDetails *EnvironmentTargetingOptionDetails `json:"environmentDetails,omitempty"`// ExchangeDetails: Exchange details.ExchangeDetails *ExchangeTargetingOptionDetails `json:"exchangeDetails,omitempty"`// GenderDetails: Gender details.GenderDetails *GenderTargetingOptionDetails `json:"genderDetails,omitempty"`// GeoRegionDetails: Geographic region resource details.GeoRegionDetails *GeoRegionTargetingOptionDetails `json:"geoRegionDetails,omitempty"`// HouseholdIncomeDetails: Household income details.HouseholdIncomeDetails *HouseholdIncomeTargetingOptionDetails `json:"householdIncomeDetails,omitempty"`// LanguageDetails: Language resource details.LanguageDetails *LanguageTargetingOptionDetails `json:"languageDetails,omitempty"`// Name: Output only. The resource name for this targeting option.Namestring `json:"name,omitempty"`// NativeContentPositionDetails: Native content position details.NativeContentPositionDetails *NativeContentPositionTargetingOptionDetails `json:"nativeContentPositionDetails,omitempty"`// OmidDetails: Open Measurement enabled inventory details.OmidDetails *OmidTargetingOptionDetails `json:"omidDetails,omitempty"`// OnScreenPositionDetails: On screen position details.OnScreenPositionDetails *OnScreenPositionTargetingOptionDetails `json:"onScreenPositionDetails,omitempty"`// OperatingSystemDetails: Operating system resources details.OperatingSystemDetails *OperatingSystemTargetingOptionDetails `json:"operatingSystemDetails,omitempty"`// ParentalStatusDetails: Parental status details.ParentalStatusDetails *ParentalStatusTargetingOptionDetails `json:"parentalStatusDetails,omitempty"`// PoiDetails: POI resource details.PoiDetails *PoiTargetingOptionDetails `json:"poiDetails,omitempty"`// SensitiveCategoryDetails: Sensitive Category details.SensitiveCategoryDetails *SensitiveCategoryTargetingOptionDetails `json:"sensitiveCategoryDetails,omitempty"`// SubExchangeDetails: Sub-exchange details.SubExchangeDetails *SubExchangeTargetingOptionDetails `json:"subExchangeDetails,omitempty"`// TargetingOptionId: Output only. A unique identifier for this// targeting option. The tuple {`targeting_type`, `targeting_option_id`}// will be unique.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// TargetingType: Output only. The type of this targeting option.//// Possible values:// "TARGETING_TYPE_UNSPECIFIED" - Default value when type is not// specified or is unknown in this version.// "TARGETING_TYPE_CHANNEL" - Target a channel (a custom group of// related websites or apps).// "TARGETING_TYPE_APP_CATEGORY" - Target an app category (for// example, education or puzzle games).// "TARGETING_TYPE_APP" - Target a specific app (for example, Angry// Birds).// "TARGETING_TYPE_URL" - Target a specific url (for example,// quora.com).// "TARGETING_TYPE_DAY_AND_TIME" - Target ads during a chosen time// period on a specific day.// "TARGETING_TYPE_AGE_RANGE" - Target ads to a specific age range// (for example, 18-24).// "TARGETING_TYPE_REGIONAL_LOCATION_LIST" - Target ads to the// specified regions on a regional location list.// "TARGETING_TYPE_PROXIMITY_LOCATION_LIST" - Target ads to the// specified points of interest on a proximity location list.// "TARGETING_TYPE_GENDER" - Target ads to a specific gender (for// example, female or male).// "TARGETING_TYPE_VIDEO_PLAYER_SIZE" - Target a specific video player// size for video ads.// "TARGETING_TYPE_USER_REWARDED_CONTENT" - Target user rewarded// content for video ads.// "TARGETING_TYPE_PARENTAL_STATUS" - Target ads to a specific// parental status (for example, parent or not a parent).// "TARGETING_TYPE_CONTENT_INSTREAM_POSITION" - Target video or audio// ads in a specific content instream position (for example, pre-roll,// mid-roll, or post-roll).// "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION" - Target ads in a// specific content outstream position.// "TARGETING_TYPE_DEVICE_TYPE" - Target ads to a specific device type// (for example, tablet or connected TV).// "TARGETING_TYPE_AUDIENCE_GROUP" - Target ads to an audience or// groups of audiences. Singleton field, at most one can exist on a// single Lineitem at a time.// "TARGETING_TYPE_BROWSER" - Target ads to specific web browsers (for// example, Chrome).// "TARGETING_TYPE_HOUSEHOLD_INCOME" - Target ads to a specific// household income range (for example, top 10%).// "TARGETING_TYPE_ON_SCREEN_POSITION" - Target ads in a specific on// screen position.// "TARGETING_TYPE_THIRD_PARTY_VERIFIER" - Filter web sites through// third party verification (for example, IAS or DoubleVerify).// "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION" - Filter web sites// by specific digital content label ratings (for example, DL-MA:// suitable only for mature audiences).// "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION" - Filter website// content by sensitive categories (for example, adult).// "TARGETING_TYPE_ENVIRONMENT" - Target ads to a specific environment// (for example, web or app).// "TARGETING_TYPE_CARRIER_AND_ISP" - Target ads to a specific network// carrier or internet service provider (ISP) (for example, Comcast or// Orange).// "TARGETING_TYPE_OPERATING_SYSTEM" - Target ads to a specific// operating system (for example, macOS).// "TARGETING_TYPE_DEVICE_MAKE_MODEL" - Target ads to a specific// device make or model (for example, Roku or Samsung).// "TARGETING_TYPE_KEYWORD" - Target ads to a specific keyword (for// example, dog or retriever).// "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST" - Target ads to a specific// negative keyword list.// "TARGETING_TYPE_VIEWABILITY" - Target ads to a specific viewability// (for example, 80% viewable).// "TARGETING_TYPE_CATEGORY" - Target ads to a specific content// category (for example, arts & entertainment).// "TARGETING_TYPE_INVENTORY_SOURCE" - Purchase impressions from// specific deals and auction packages.// "TARGETING_TYPE_LANGUAGE" - Target ads to a specific language (for// example, English or Japanese).// "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS" - Target ads to ads.txt// authorized sellers. If no targeting option of this type is assigned,// the resource uses the "Authorized Direct Sellers and Resellers"// option by default.// "TARGETING_TYPE_GEO_REGION" - Target ads to a specific regional// location (for example, a city or state).// "TARGETING_TYPE_INVENTORY_SOURCE_GROUP" - Purchase impressions from// a group of deals and auction packages.// "TARGETING_TYPE_EXCHANGE" - Purchase impressions from specific// exchanges.// "TARGETING_TYPE_SUB_EXCHANGE" - Purchase impressions from specific// sub-exchanges.// "TARGETING_TYPE_POI" - Target ads around a specific point of// interest, such as a notable building, a street address, or// latitude/longitude coordinates.// "TARGETING_TYPE_BUSINESS_CHAIN" - Target ads around locations of a// business chain within a specific geo region.// "TARGETING_TYPE_CONTENT_DURATION" - Target ads to a specific video// content duration.// "TARGETING_TYPE_CONTENT_STREAM_TYPE" - Target ads to a specific// video content stream type.// "TARGETING_TYPE_NATIVE_CONTENT_POSITION" - Target ads to a specific// native content position.// "TARGETING_TYPE_OMID" - Target ads in an Open Measurement enabled// inventory.// "TARGETING_TYPE_AUDIO_CONTENT_TYPE" - Target ads to a specific// audio content type.// "TARGETING_TYPE_CONTENT_GENRE" - Target ads to a specific content// genre.TargetingTypestring `json:"targetingType,omitempty"`// UserRewardedContentDetails: User rewarded content details.UserRewardedContentDetails *UserRewardedContentTargetingOptionDetails `json:"userRewardedContentDetails,omitempty"`// VideoPlayerSizeDetails: Video player size details.VideoPlayerSizeDetails *VideoPlayerSizeTargetingOptionDetails `json:"videoPlayerSizeDetails,omitempty"`// ViewabilityDetails: Viewability resource details.ViewabilityDetails *ViewabilityTargetingOptionDetails `json:"viewabilityDetails,omitempty"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AgeRangeDetails") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AgeRangeDetails") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}TargetingOption: Represents a single targeting option, which is atargetable concept in DV360.
func (*TargetingOption)MarshalJSON¶added inv0.23.0
func (s *TargetingOption) MarshalJSON() ([]byte,error)
typeTargetingTypesService¶added inv0.23.0
type TargetingTypesService struct {TargetingOptions *TargetingTypesTargetingOptionsService// contains filtered or unexported fields}funcNewTargetingTypesService¶added inv0.23.0
func NewTargetingTypesService(s *Service) *TargetingTypesService
typeTargetingTypesTargetingOptionsGetCall¶added inv0.23.0
type TargetingTypesTargetingOptionsGetCall struct {// contains filtered or unexported fields}func (*TargetingTypesTargetingOptionsGetCall)AdvertiserId¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsGetCall) AdvertiserId(advertiserIdint64) *TargetingTypesTargetingOptionsGetCall
AdvertiserId sets the optional parameter "advertiserId": Required.The Advertiser this request is being made in the context of.
func (*TargetingTypesTargetingOptionsGetCall)Context¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsGetCall) Context(ctxcontext.Context) *TargetingTypesTargetingOptionsGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*TargetingTypesTargetingOptionsGetCall)Do¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsGetCall) Do(opts ...googleapi.CallOption) (*TargetingOption,error)
Do executes the "displayvideo.targetingTypes.targetingOptions.get" call.Exactly one of *TargetingOption or error will be non-nil. Any non-2xxstatus code is an error. Response headers are in either*TargetingOption.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*TargetingTypesTargetingOptionsGetCall)Fields¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsGetCall) Fields(s ...googleapi.Field) *TargetingTypesTargetingOptionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*TargetingTypesTargetingOptionsGetCall)Header¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*TargetingTypesTargetingOptionsGetCall)IfNoneMatch¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsGetCall) IfNoneMatch(entityTagstring) *TargetingTypesTargetingOptionsGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeTargetingTypesTargetingOptionsListCall¶added inv0.23.0
type TargetingTypesTargetingOptionsListCall struct {// contains filtered or unexported fields}func (*TargetingTypesTargetingOptionsListCall)AdvertiserId¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) AdvertiserId(advertiserIdint64) *TargetingTypesTargetingOptionsListCall
AdvertiserId sets the optional parameter "advertiserId": Required.The Advertiser this request is being made in the context of.
func (*TargetingTypesTargetingOptionsListCall)Context¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) Context(ctxcontext.Context) *TargetingTypesTargetingOptionsListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*TargetingTypesTargetingOptionsListCall)Do¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) Do(opts ...googleapi.CallOption) (*ListTargetingOptionsResponse,error)
Do executes the "displayvideo.targetingTypes.targetingOptions.list" call.Exactly one of *ListTargetingOptionsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *ListTargetingOptionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*TargetingTypesTargetingOptionsListCall)Fields¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) Fields(s ...googleapi.Field) *TargetingTypesTargetingOptionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*TargetingTypesTargetingOptionsListCall)Filter¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) Filter(filterstring) *TargetingTypesTargetingOptionsListCall
Filter sets the optional parameter "filter": Allows filtering bytargeting option fields. Supported syntax: * Filter expressions aremade up of one or more restrictions. * Restrictions can be combinedby `OR` logical operators. * A restriction has the form of `{field}{operator} {value}`. * All fields must use the `EQUALS (=)` operator.Supported fields: * `carrierAndIspDetails.type` *`geoRegionDetails.geoRegionType` * `targetingOptionId` Examples: *All `GEO REGION` targeting options that belong to sub type`GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`:`geoRegionDetails.geoRegionType="GEO_REGION_TYPE_COUNTRY" ORgeoRegionDetails.geoRegionType="GEO_REGION_TYPE_STATE" * All`CARRIER AND ISP` targeting options that belong to sub type`CARRIER_AND_ISP_TYPE_CARRIER`:`carrierAndIspDetails.type="CARRIER_AND_ISP_TYPE_CARRIER" The lengthof this field should be no more than 500 characters. Reference ourfilter `LIST` requests (/display-video/api/guides/how-tos/filters)guide for more information.
func (*TargetingTypesTargetingOptionsListCall)Header¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*TargetingTypesTargetingOptionsListCall)IfNoneMatch¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) IfNoneMatch(entityTagstring) *TargetingTypesTargetingOptionsListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*TargetingTypesTargetingOptionsListCall)OrderBy¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) OrderBy(orderBystring) *TargetingTypesTargetingOptionsListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `targetingOptionId` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Example:`targetingOptionId desc`.
func (*TargetingTypesTargetingOptionsListCall)PageSize¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) PageSize(pageSizeint64) *TargetingTypesTargetingOptionsListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.Returns error code `INVALID_ARGUMENT` if an invalid value isspecified.
func (*TargetingTypesTargetingOptionsListCall)PageToken¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) PageToken(pageTokenstring) *TargetingTypesTargetingOptionsListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListTargetingOptions` method. If not specified, the first page ofresults will be returned.
func (*TargetingTypesTargetingOptionsListCall)Pages¶added inv0.23.0
func (c *TargetingTypesTargetingOptionsListCall) Pages(ctxcontext.Context, f func(*ListTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeTargetingTypesTargetingOptionsSearchCall¶added inv0.36.0
type TargetingTypesTargetingOptionsSearchCall struct {// contains filtered or unexported fields}func (*TargetingTypesTargetingOptionsSearchCall)Context¶added inv0.36.0
func (c *TargetingTypesTargetingOptionsSearchCall) Context(ctxcontext.Context) *TargetingTypesTargetingOptionsSearchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*TargetingTypesTargetingOptionsSearchCall)Do¶added inv0.36.0
func (c *TargetingTypesTargetingOptionsSearchCall) Do(opts ...googleapi.CallOption) (*SearchTargetingOptionsResponse,error)
Do executes the "displayvideo.targetingTypes.targetingOptions.search" call.Exactly one of *SearchTargetingOptionsResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *SearchTargetingOptionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*TargetingTypesTargetingOptionsSearchCall)Fields¶added inv0.36.0
func (c *TargetingTypesTargetingOptionsSearchCall) Fields(s ...googleapi.Field) *TargetingTypesTargetingOptionsSearchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*TargetingTypesTargetingOptionsSearchCall)Header¶added inv0.36.0
func (c *TargetingTypesTargetingOptionsSearchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*TargetingTypesTargetingOptionsSearchCall)Pages¶added inv0.36.0
func (c *TargetingTypesTargetingOptionsSearchCall) Pages(ctxcontext.Context, f func(*SearchTargetingOptionsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeTargetingTypesTargetingOptionsService¶added inv0.23.0
type TargetingTypesTargetingOptionsService struct {// contains filtered or unexported fields}funcNewTargetingTypesTargetingOptionsService¶added inv0.23.0
func NewTargetingTypesTargetingOptionsService(s *Service) *TargetingTypesTargetingOptionsService
func (*TargetingTypesTargetingOptionsService)Get¶added inv0.23.0
func (r *TargetingTypesTargetingOptionsService) Get(targetingTypestring, targetingOptionIdstring) *TargetingTypesTargetingOptionsGetCall
Get: Gets a single targeting option.
- targetingOptionId: The ID of the of targeting option to retrieve.
- targetingType: The type of targeting option to retrieve. Acceptedvalues are: * `TARGETING_TYPE_APP_CATEGORY` *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_PARENTAL_STATUS` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_CARRIER_AND_ISP` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` *`TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`.
func (*TargetingTypesTargetingOptionsService)List¶added inv0.23.0
func (r *TargetingTypesTargetingOptionsService) List(targetingTypestring) *TargetingTypesTargetingOptionsListCall
List: Lists targeting options of a given type.
- targetingType: The type of targeting option to be listed. Acceptedvalues are: * `TARGETING_TYPE_APP_CATEGORY` *`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` *`TARGETING_TYPE_VIDEO_PLAYER_SIZE` *`TARGETING_TYPE_USER_REWARDED_CONTENT` *`TARGETING_TYPE_PARENTAL_STATUS` *`TARGETING_TYPE_CONTENT_INSTREAM_POSITION` *`TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` *`TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` *`TARGETING_TYPE_HOUSEHOLD_INCOME` *`TARGETING_TYPE_ON_SCREEN_POSITION` *`TARGETING_TYPE_CARRIER_AND_ISP` *`TARGETING_TYPE_OPERATING_SYSTEM` *`TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` *`TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` *`TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` *`TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` *`TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` *`TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` *`TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` *`TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID`.
func (*TargetingTypesTargetingOptionsService)Search¶added inv0.36.0
func (r *TargetingTypesTargetingOptionsService) Search(targetingTypestring, searchtargetingoptionsrequest *SearchTargetingOptionsRequest) *TargetingTypesTargetingOptionsSearchCall
Search: Searches for targeting options of a given type based on thegiven search terms.
- targetingType: The type of targeting options to retrieve. Acceptedvalues are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` *`TARGETING_TYPE_BUSINESS_CHAIN`.
typeThirdPartyOnlyConfig¶added inv0.23.0
type ThirdPartyOnlyConfig struct {// PixelOrderIdReportingEnabled: Whether or not order ID reporting for// pixels is enabled. This value cannot be changed once set to `true`.PixelOrderIdReportingEnabledbool `json:"pixelOrderIdReportingEnabled,omitempty"`// ForceSendFields is a list of field names (e.g.// "PixelOrderIdReportingEnabled") to unconditionally include in API// requests. By default, fields with empty or default values are omitted// from API requests. However, any non-pointer, non-interface field// appearing in ForceSendFields will be sent to the server regardless of// whether the field is empty or not. This may be used to include empty// fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g.// "PixelOrderIdReportingEnabled") to include in API requests with the// JSON null value. By default, fields with empty values are omitted// from API requests. However, any field with an empty value appearing// in NullFields will be sent to the server as null. It is an error if a// field in this list has a non-empty value. This may be used to include// null fields in Patch requests.NullFields []string `json:"-"`}ThirdPartyOnlyConfig: Settings for advertisers that use third-partyad servers only.
func (*ThirdPartyOnlyConfig)MarshalJSON¶added inv0.23.0
func (s *ThirdPartyOnlyConfig) MarshalJSON() ([]byte,error)
typeThirdPartyUrl¶added inv0.23.0
type ThirdPartyUrl struct {// Type: The type of interaction needs to be tracked by the tracking URL//// Possible values:// "THIRD_PARTY_URL_TYPE_UNSPECIFIED" - The type of third-party URL is// unspecified or is unknown in this version.// "THIRD_PARTY_URL_TYPE_IMPRESSION" - Used to count impressions of// the creative after the audio or video buffering is complete.// "THIRD_PARTY_URL_TYPE_CLICK_TRACKING" - Used to track user clicks// on the audio or video.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_START" - Used to track the number// of times a user starts the audio or video.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FIRST_QUARTILE" - Used to track// the number of times the audio or video plays to 25% of its length.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MIDPOINT" - Used to track the// number of times the audio or video plays to 50% of its length.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_THIRD_QUARTILE" - Used to track// the number of times the audio or video plays to 75% of its length.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_COMPLETE" - Used to track the// number of times the audio or video plays to the end.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_MUTE" - Used to track the number// of times a user mutes the audio or video.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PAUSE" - Used to track the number// of times a user pauses the audio or video.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_REWIND" - Used to track the// number of times a user replays the audio or video.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_FULLSCREEN" - Used to track the// number of times a user expands the player to full-screen size.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_STOP" - Used to track the number// of times a user stops the audio or video.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_CUSTOM" - Used to track the// number of times a user performs a custom click, such as clicking on a// video hot spot.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_SKIP" - Used to track the number// of times the audio or video was skipped.// "THIRD_PARTY_URL_TYPE_AUDIO_VIDEO_PROGRESS" - Used to track the// number of times the audio or video plays to an offset determined by// the progress_offset.Typestring `json:"type,omitempty"`// Url: Tracking URL used to track the interaction. Provide a URL with// optional path or query string, beginning with `https:`. For example,//https://www.example.com/pathUrlstring `json:"url,omitempty"`// ForceSendFields is a list of field names (e.g. "Type") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Type") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ThirdPartyUrl: Tracking URLs from third parties to track interactionswith an audio or a video creative.
func (*ThirdPartyUrl)MarshalJSON¶added inv0.23.0
func (s *ThirdPartyUrl) MarshalJSON() ([]byte,error)
typeThirdPartyVerifierAssignedTargetingOptionDetails¶added inv0.23.0
type ThirdPartyVerifierAssignedTargetingOptionDetails struct {// Adloox: Third party brand verifier -- Adloox.Adloox *Adloox `json:"adloox,omitempty"`// DoubleVerify: Third party brand verifier -- DoubleVerify.DoubleVerify *DoubleVerify `json:"doubleVerify,omitempty"`// IntegralAdScience: Third party brand verifier -- Integral Ad Science.IntegralAdScience *IntegralAdScience `json:"integralAdScience,omitempty"`// ForceSendFields is a list of field names (e.g. "Adloox") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Adloox") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ThirdPartyVerifierAssignedTargetingOptionDetails: Assigned thirdparty verifier targeting option details. This will be populated inthe details field of an AssignedTargetingOption when targeting_typeis `TARGETING_TYPE_THIRD_PARTY_VERIFIER`.
func (*ThirdPartyVerifierAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ThirdPartyVerifierAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeTimeRange¶added inv0.23.0
type TimeRange struct {// EndTime: Required. The upper bound of a time range, inclusive.EndTimestring `json:"endTime,omitempty"`// StartTime: Required. The lower bound of a time range, inclusive.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "EndTime") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndTime") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}TimeRange: A time range.
func (*TimeRange)MarshalJSON¶added inv0.23.0
typeTimerEvent¶added inv0.23.0
type TimerEvent struct {// Name: Required. The name of the timer event.Namestring `json:"name,omitempty"`// ReportingName: Required. The name used to identify this timer event// in reports.ReportingNamestring `json:"reportingName,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}TimerEvent: Timer event of the creative.
func (*TimerEvent)MarshalJSON¶added inv0.23.0
func (s *TimerEvent) MarshalJSON() ([]byte,error)
typeTrackingFloodlightActivityConfig¶added inv0.23.0
type TrackingFloodlightActivityConfig struct {// FloodlightActivityId: Required. The ID of the Floodlight activity.FloodlightActivityIdint64 `json:"floodlightActivityId,omitempty,string"`// PostClickLookbackWindowDays: Required. The number of days after an ad// has been clicked in which a conversion may be counted. Must be// between 0 and 90 inclusive.PostClickLookbackWindowDaysint64 `json:"postClickLookbackWindowDays,omitempty"`// PostViewLookbackWindowDays: Required. The number of days after an ad// has been viewed in which a conversion may be counted. Must be between// 0 and 90 inclusive.PostViewLookbackWindowDaysint64 `json:"postViewLookbackWindowDays,omitempty"`// ForceSendFields is a list of field names (e.g.// "FloodlightActivityId") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. However, any non-pointer, non-interface field appearing in// ForceSendFields will be sent to the server regardless of whether the// field is empty or not. This may be used to include empty fields in// Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FloodlightActivityId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}TrackingFloodlightActivityConfig: Settings that control the behaviorof a single Floodlight activity config.
func (*TrackingFloodlightActivityConfig)MarshalJSON¶added inv0.23.0
func (s *TrackingFloodlightActivityConfig) MarshalJSON() ([]byte,error)
typeTranscode¶added inv0.23.0
type Transcode struct {// AudioBitRateKbps: The bit rate for the audio stream of the transcoded// video, or the bit rate for the transcoded audio, in kilobits per// second.AudioBitRateKbpsint64 `json:"audioBitRateKbps,omitempty,string"`// AudioSampleRateHz: The sample rate for the audio stream of the// transcoded video, or the sample rate for the transcoded audio, in// hertz.AudioSampleRateHzint64 `json:"audioSampleRateHz,omitempty,string"`// BitRateKbps: The transcoding bit rate of the transcoded video, in// kilobits per second.BitRateKbpsint64 `json:"bitRateKbps,omitempty,string"`// Dimensions: The dimensions of the transcoded video.Dimensions *Dimensions `json:"dimensions,omitempty"`// FileSizeBytes: The size of the transcoded file, in bytes.FileSizeBytesint64 `json:"fileSizeBytes,omitempty,string"`// FrameRate: The frame rate of the transcoded video, in frames per// second.FrameRatefloat64 `json:"frameRate,omitempty"`// MimeType: The MIME type of the transcoded file.MimeTypestring `json:"mimeType,omitempty"`// Name: The name of the transcoded file.Namestring `json:"name,omitempty"`// Transcoded: Indicates if the transcoding was successful.Transcodedbool `json:"transcoded,omitempty"`// ForceSendFields is a list of field names (e.g. "AudioBitRateKbps") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AudioBitRateKbps") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}Transcode: Represents information about the transcoded audio or videofile.
func (*Transcode)MarshalJSON¶added inv0.23.0
func (*Transcode)UnmarshalJSON¶added inv0.23.0
typeUniversalAdId¶added inv0.23.0
type UniversalAdId struct {// Id: The unique creative identifier.Idstring `json:"id,omitempty"`// Registry: The registry provides unique creative identifiers.//// Possible values:// "UNIVERSAL_AD_REGISTRY_UNSPECIFIED" - The Universal Ad registry is// unspecified or is unknown in this version.// "UNIVERSAL_AD_REGISTRY_OTHER" - Use a custom provider to provide// the Universal Ad ID.// "UNIVERSAL_AD_REGISTRY_AD_ID" - Use Ad-ID to provide the Universal// Ad ID.// "UNIVERSAL_AD_REGISTRY_CLEARCAST" - Use clearcast.co.uk to provide// the Universal Ad ID.// "UNIVERSAL_AD_REGISTRY_DV360" - Use Display & Video 360 to provide// the Universal Ad ID.// "UNIVERSAL_AD_REGISTRY_CM" - Use Campaign Manager 360 to provide// the Universal Ad ID.Registrystring `json:"registry,omitempty"`// ForceSendFields is a list of field names (e.g. "Id") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Id") to include in API// requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}UniversalAdId: A creative identifier provided by a registry that isunique across all platforms. This is part of the VAST 4.0 standard.
func (*UniversalAdId)MarshalJSON¶added inv0.23.0
func (s *UniversalAdId) MarshalJSON() ([]byte,error)
typeUrlAssignedTargetingOptionDetails¶added inv0.23.0
type UrlAssignedTargetingOptionDetails struct {// Negative: Indicates if this option is being negatively targeted.Negativebool `json:"negative,omitempty"`// Url: Required. The URL, for example `example.com`. DV360 supports two// levels of subdirectory targeting, for example// `www.example.com/one-subdirectory-level/second-level`, and five// levels of subdomain targeting, for example// `five.four.three.two.one.example.com`.Urlstring `json:"url,omitempty"`// ForceSendFields is a list of field names (e.g. "Negative") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Negative") to include in// API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. However, any field with an// empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}UrlAssignedTargetingOptionDetails: Details for assigned URL targetingoption. This will be populated in the details field of anAssignedTargetingOption when targeting_type is `TARGETING_TYPE_URL`.
func (*UrlAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *UrlAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeUser¶added inv0.30.0
type User struct {// AssignedUserRoles: The assigned user roles. Required in CreateUser.// Output only in UpdateUser. Can only be updated through// BulkEditAssignedUserRoles.AssignedUserRoles []*AssignedUserRole `json:"assignedUserRoles,omitempty"`// DisplayName: Required. The display name of the user. Must be UTF-8// encoded with a maximum size of 240 bytes.DisplayNamestring `json:"displayName,omitempty"`// Email: Required. Immutable. The email address used to identify the// user.Emailstring `json:"email,omitempty"`// LastLoginTime: Output only. The timestamp when the user last logged// in DV360 UI.LastLoginTimestring `json:"lastLoginTime,omitempty"`// Name: Output only. The resource name of the user.Namestring `json:"name,omitempty"`// UserId: Output only. The unique ID of the user. Assigned by the// system.UserIdint64 `json:"userId,omitempty,string"`// ServerResponse contains the HTTP response code and headers from the// server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AssignedUserRoles")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedUserRoles") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}User: A single user in Display & Video 360.
func (*User)MarshalJSON¶added inv0.30.0
typeUserRewardedContentAssignedTargetingOptionDetails¶added inv0.23.0
type UserRewardedContentAssignedTargetingOptionDetails struct {// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// UserRewardedContent: Output only. User rewarded content status for// video ads.//// Possible values:// "USER_REWARDED_CONTENT_UNSPECIFIED" - User rewarded content is not// specified or is unknown in this version.// "USER_REWARDED_CONTENT_USER_REWARDED" - Represents ads where the// user will see a reward after viewing.// "USER_REWARDED_CONTENT_NOT_USER_REWARDED" - Represents all other// ads besides user-rewarded.UserRewardedContentstring `json:"userRewardedContent,omitempty"`// ForceSendFields is a list of field names (e.g. "TargetingOptionId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "TargetingOptionId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}UserRewardedContentAssignedTargetingOptionDetails: User rewardedcontent targeting option details. This will be populated in theuser_rewarded_content_details field when targeting_type is`TARGETING_TYPE_USER_REWARDED_CONTENT`.
func (*UserRewardedContentAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *UserRewardedContentAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeUserRewardedContentTargetingOptionDetails¶added inv0.23.0
type UserRewardedContentTargetingOptionDetails struct {// UserRewardedContent: Output only. User rewarded content status for// video ads.//// Possible values:// "USER_REWARDED_CONTENT_UNSPECIFIED" - User rewarded content is not// specified or is unknown in this version.// "USER_REWARDED_CONTENT_USER_REWARDED" - Represents ads where the// user will see a reward after viewing.// "USER_REWARDED_CONTENT_NOT_USER_REWARDED" - Represents all other// ads besides user-rewarded.UserRewardedContentstring `json:"userRewardedContent,omitempty"`// ForceSendFields is a list of field names (e.g. "UserRewardedContent")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "UserRewardedContent") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}UserRewardedContentTargetingOptionDetails: Represents a targetableuser rewarded content status for video ads only. This will bepopulated in the user_rewarded_content_details field whentargeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`.
func (*UserRewardedContentTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *UserRewardedContentTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeUsersBulkEditAssignedUserRolesCall¶added inv0.30.0
type UsersBulkEditAssignedUserRolesCall struct {// contains filtered or unexported fields}func (*UsersBulkEditAssignedUserRolesCall)Context¶added inv0.30.0
func (c *UsersBulkEditAssignedUserRolesCall) Context(ctxcontext.Context) *UsersBulkEditAssignedUserRolesCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*UsersBulkEditAssignedUserRolesCall)Do¶added inv0.30.0
func (c *UsersBulkEditAssignedUserRolesCall) Do(opts ...googleapi.CallOption) (*BulkEditAssignedUserRolesResponse,error)
Do executes the "displayvideo.users.bulkEditAssignedUserRoles" call.Exactly one of *BulkEditAssignedUserRolesResponse or error will benon-nil. Any non-2xx status code is an error. Response headers are ineither *BulkEditAssignedUserRolesResponse.ServerResponse.Header or(if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*UsersBulkEditAssignedUserRolesCall)Fields¶added inv0.30.0
func (c *UsersBulkEditAssignedUserRolesCall) Fields(s ...googleapi.Field) *UsersBulkEditAssignedUserRolesCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*UsersBulkEditAssignedUserRolesCall)Header¶added inv0.30.0
func (c *UsersBulkEditAssignedUserRolesCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeUsersCreateCall¶added inv0.30.0
type UsersCreateCall struct {// contains filtered or unexported fields}func (*UsersCreateCall)Context¶added inv0.30.0
func (c *UsersCreateCall) Context(ctxcontext.Context) *UsersCreateCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*UsersCreateCall)Do¶added inv0.30.0
func (c *UsersCreateCall) Do(opts ...googleapi.CallOption) (*User,error)
Do executes the "displayvideo.users.create" call.Exactly one of *User or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*User.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*UsersCreateCall)Fields¶added inv0.30.0
func (c *UsersCreateCall) Fields(s ...googleapi.Field) *UsersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*UsersCreateCall)Header¶added inv0.30.0
func (c *UsersCreateCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeUsersDeleteCall¶added inv0.30.0
type UsersDeleteCall struct {// contains filtered or unexported fields}func (*UsersDeleteCall)Context¶added inv0.30.0
func (c *UsersDeleteCall) Context(ctxcontext.Context) *UsersDeleteCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*UsersDeleteCall)Do¶added inv0.30.0
func (c *UsersDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "displayvideo.users.delete" call.Exactly one of *Empty or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModifiedwas returned.
func (*UsersDeleteCall)Fields¶added inv0.30.0
func (c *UsersDeleteCall) Fields(s ...googleapi.Field) *UsersDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*UsersDeleteCall)Header¶added inv0.30.0
func (c *UsersDeleteCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
typeUsersGetCall¶added inv0.30.0
type UsersGetCall struct {// contains filtered or unexported fields}func (*UsersGetCall)Context¶added inv0.30.0
func (c *UsersGetCall) Context(ctxcontext.Context) *UsersGetCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*UsersGetCall)Do¶added inv0.30.0
func (c *UsersGetCall) Do(opts ...googleapi.CallOption) (*User,error)
Do executes the "displayvideo.users.get" call.Exactly one of *User or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*User.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*UsersGetCall)Fields¶added inv0.30.0
func (c *UsersGetCall) Fields(s ...googleapi.Field) *UsersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*UsersGetCall)Header¶added inv0.30.0
func (c *UsersGetCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*UsersGetCall)IfNoneMatch¶added inv0.30.0
func (c *UsersGetCall) IfNoneMatch(entityTagstring) *UsersGetCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
typeUsersListCall¶added inv0.30.0
type UsersListCall struct {// contains filtered or unexported fields}func (*UsersListCall)Context¶added inv0.30.0
func (c *UsersListCall) Context(ctxcontext.Context) *UsersListCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*UsersListCall)Do¶added inv0.30.0
func (c *UsersListCall) Do(opts ...googleapi.CallOption) (*ListUsersResponse,error)
Do executes the "displayvideo.users.list" call.Exactly one of *ListUsersResponse or error will be non-nil. Anynon-2xx status code is an error. Response headers are in either*ListUsersResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error wasbecause http.StatusNotModified was returned.
func (*UsersListCall)Fields¶added inv0.30.0
func (c *UsersListCall) Fields(s ...googleapi.Field) *UsersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*UsersListCall)Filter¶added inv0.30.0
func (c *UsersListCall) Filter(filterstring) *UsersListCall
Filter sets the optional parameter "filter": Allows filtering by userfields. Supported syntax: * Filter expressions are made up of one ormore restrictions. * Restrictions can be combined by the logicaloperator `AND`. * A restriction has the form of `{field} {operator}{value}`. * The `budget.budget_segments.date_range.end_date` fieldmust use the `LESS THAN (<)` operator. * The `displayName and `email`field must use the `HAS (:)` operator. * All other fields must usethe `EQUALS (=)` operator. Supported fields: *`assignedUserRole.advertiserId` * `assignedUserRole.entityType` *This is synthetic field of `AssignedUserRole` used for filtering.Identifies the type of entity to which the user role is assigned.Valid values are `Partner` and `Advertiser`. *`assignedUserRole.parentPartnerId` * This is a synthetic field of`AssignedUserRole` used for filtering. Identifies the parent partnerof the entity to which the user role is assigned. *`assignedUserRole.partnerId` * `assignedUserRole.userRole` *`displayName` * `email` Examples: * The user with `displayName`containing "foo": `displayName:"foo" * The user with `email`containing "bar": `email:"bar" * All users with standard user roles:`assignedUserRole.userRole="STANDARD" * All users with user rolesfor partner 123: `assignedUserRole.partnerId="123" * All users withuser roles for advertiser 123: `assignedUserRole.advertiserId="123"* All users with partner level user roles: `entityType="PARTNER" *All users with user roles for partner 123 and advertisers underpartner 123: `parentPartnerId="123" The length of this field shouldbe no more than 500 characters. Reference our filter `LIST` requests(/display-video/api/guides/how-tos/filters) guide for moreinformation.
func (*UsersListCall)Header¶added inv0.30.0
func (c *UsersListCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*UsersListCall)IfNoneMatch¶added inv0.30.0
func (c *UsersListCall) IfNoneMatch(entityTagstring) *UsersListCall
IfNoneMatch sets the optional parameter which makes the operationfail if the object's ETag matches the given value. This is useful forgetting updates only after the object has changed since the lastrequest. Use googleapi.IsNotModified to check whether the responseerror from Do is the result of In-None-Match.
func (*UsersListCall)OrderBy¶added inv0.30.0
func (c *UsersListCall) OrderBy(orderBystring) *UsersListCall
OrderBy sets the optional parameter "orderBy": Field by which to sortthe list. Acceptable values are: * `displayName` (default) Thedefault sorting order is ascending. To specify descending order for afield, a suffix "desc" should be added to the field name. Forexample, `displayName desc`.
func (*UsersListCall)PageSize¶added inv0.30.0
func (c *UsersListCall) PageSize(pageSizeint64) *UsersListCall
PageSize sets the optional parameter "pageSize": Requested page size.Must be between `1` and `200`. If unspecified will default to `100`.
func (*UsersListCall)PageToken¶added inv0.30.0
func (c *UsersListCall) PageToken(pageTokenstring) *UsersListCall
PageToken sets the optional parameter "pageToken": A tokenidentifying a page of results the server should return. Typically,this is the value of next_page_token returned from the previous callto `ListUsers` method. If not specified, the first page of resultswill be returned.
func (*UsersListCall)Pages¶added inv0.30.0
func (c *UsersListCall) Pages(ctxcontext.Context, f func(*ListUsersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeUsersPatchCall¶added inv0.30.0
type UsersPatchCall struct {// contains filtered or unexported fields}func (*UsersPatchCall)Context¶added inv0.30.0
func (c *UsersPatchCall) Context(ctxcontext.Context) *UsersPatchCall
Context sets the context to be used in this call's Do method. Anypending HTTP request will be aborted if the provided context iscanceled.
func (*UsersPatchCall)Do¶added inv0.30.0
func (c *UsersPatchCall) Do(opts ...googleapi.CallOption) (*User,error)
Do executes the "displayvideo.users.patch" call.Exactly one of *User or error will be non-nil. Any non-2xx statuscode is an error. Response headers are in either*User.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified wasreturned.
func (*UsersPatchCall)Fields¶added inv0.30.0
func (c *UsersPatchCall) Fields(s ...googleapi.Field) *UsersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponsefor more information.
func (*UsersPatchCall)Header¶added inv0.30.0
func (c *UsersPatchCall) Header()http.Header
Header returns an http.Header that can be modified by the caller toadd HTTP headers to the request.
func (*UsersPatchCall)UpdateMask¶added inv0.30.0
func (c *UsersPatchCall) UpdateMask(updateMaskstring) *UsersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Themask to control which fields to update.
typeUsersService¶added inv0.30.0
type UsersService struct {// contains filtered or unexported fields}funcNewUsersService¶added inv0.30.0
func NewUsersService(s *Service) *UsersService
func (*UsersService)BulkEditAssignedUserRoles¶added inv0.30.0
func (r *UsersService) BulkEditAssignedUserRoles(userIdint64, bulkeditassigneduserrolesrequest *BulkEditAssignedUserRolesRequest) *UsersBulkEditAssignedUserRolesCall
BulkEditAssignedUserRoles: Bulk edits user roles for a user. Theoperation will delete the assigned user roles provided inBulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and thenassign the user roles provided inBulkEditAssignedUserRolesRequest.createdAssignedUserRoles. Thismethod has unique authentication requirements. Read the prerequisitesin our Managing Users guide(/display-video/api/guides/users/overview#prerequisites) before usingthis method. The "Try this method" feature does not work for thismethod.
- userId: The ID of the user to which the assigned user roles belong.
func (*UsersService)Create¶added inv0.30.0
func (r *UsersService) Create(user *User) *UsersCreateCall
Create: Creates a new user. Returns the newly created user ifsuccessful. This method has unique authentication requirements. Readthe prerequisites in our Managing Users guide(/display-video/api/guides/users/overview#prerequisites) before usingthis method. The "Try this method" feature does not work for thismethod.
func (*UsersService)Delete¶added inv0.30.0
func (r *UsersService) Delete(userIdint64) *UsersDeleteCall
Delete: Deletes a user. This method has unique authenticationrequirements. Read the prerequisites in our Managing Users guide(/display-video/api/guides/users/overview#prerequisites) before usingthis method. The "Try this method" feature does not work for thismethod.
- userId: The ID of the user to delete.
func (*UsersService)Get¶added inv0.30.0
func (r *UsersService) Get(userIdint64) *UsersGetCall
Get: Gets a user. This method has unique authentication requirements.Read the prerequisites in our Managing Users guide(/display-video/api/guides/users/overview#prerequisites) before usingthis method. The "Try this method" feature does not work for thismethod.
- userId: The ID of the user to fetch.
func (*UsersService)List¶added inv0.30.0
func (r *UsersService) List() *UsersListCall
List: Lists users that are accessible to the current user. If twousers have user roles on the same partner or advertiser, they canaccess each other. This method has unique authenticationrequirements. Read the prerequisites in our Managing Users guide(/display-video/api/guides/users/overview#prerequisites) before usingthis method. The "Try this method" feature does not work for thismethod.
func (*UsersService)Patch¶added inv0.30.0
func (r *UsersService) Patch(userIdint64, user *User) *UsersPatchCall
Patch: Updates an existing user. Returns the updated user ifsuccessful. This method has unique authentication requirements. Readthe prerequisites in our Managing Users guide(/display-video/api/guides/users/overview#prerequisites) before usingthis method. The "Try this method" feature does not work for thismethod.
- userId: Output only. The unique ID of the user. Assigned by thesystem.
typeVideoPlayerSizeAssignedTargetingOptionDetails¶added inv0.23.0
type VideoPlayerSizeAssignedTargetingOptionDetails struct {// TargetingOptionId: Required. The targeting_option_id field when// targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// VideoPlayerSize: Required. The video player size.//// Possible values:// "VIDEO_PLAYER_SIZE_UNSPECIFIED" - Video player size is not// specified in this version. This enum is a place holder for a default// value and does not represent a real video player size.// "VIDEO_PLAYER_SIZE_SMALL" - The dimensions of the video player are// less than 400×300 (desktop), or up to 20% of screen covered// (mobile).// "VIDEO_PLAYER_SIZE_LARGE" - The dimensions of the video player are// between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the// screen covered (mobile).// "VIDEO_PLAYER_SIZE_HD" - The dimensions of the video player are// 1280×720 or greater (desktop), or over 90% of the screen covered// (mobile).// "VIDEO_PLAYER_SIZE_UNKNOWN" - The dimensions of the video player// are unknown.VideoPlayerSizestring `json:"videoPlayerSize,omitempty"`// ForceSendFields is a list of field names (e.g. "TargetingOptionId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "TargetingOptionId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}VideoPlayerSizeAssignedTargetingOptionDetails: Video player sizetargeting option details. This will be populated in thevideo_player_size_details field when targeting_type is`TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all optionsis not supported. Remove all video player size targeting options toachieve this effect.
func (*VideoPlayerSizeAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *VideoPlayerSizeAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeVideoPlayerSizeTargetingOptionDetails¶added inv0.23.0
type VideoPlayerSizeTargetingOptionDetails struct {// VideoPlayerSize: Output only. The video player size.//// Possible values:// "VIDEO_PLAYER_SIZE_UNSPECIFIED" - Video player size is not// specified in this version. This enum is a place holder for a default// value and does not represent a real video player size.// "VIDEO_PLAYER_SIZE_SMALL" - The dimensions of the video player are// less than 400×300 (desktop), or up to 20% of screen covered// (mobile).// "VIDEO_PLAYER_SIZE_LARGE" - The dimensions of the video player are// between 400x300 and 1280x720 pixels (desktop), or 20% to 90% of the// screen covered (mobile).// "VIDEO_PLAYER_SIZE_HD" - The dimensions of the video player are// 1280×720 or greater (desktop), or over 90% of the screen covered// (mobile).// "VIDEO_PLAYER_SIZE_UNKNOWN" - The dimensions of the video player// are unknown.VideoPlayerSizestring `json:"videoPlayerSize,omitempty"`// ForceSendFields is a list of field names (e.g. "VideoPlayerSize") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "VideoPlayerSize") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}VideoPlayerSizeTargetingOptionDetails: Represents a targetable videoplayer size. This will be populated in the video_player_size_detailsfield when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`.
func (*VideoPlayerSizeTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *VideoPlayerSizeTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeViewabilityAssignedTargetingOptionDetails¶added inv0.23.0
type ViewabilityAssignedTargetingOptionDetails struct {// TargetingOptionId: Required. The targeting_option_id of a// TargetingOption of type `TARGETING_TYPE_VIEWABILITY` (e.g., "509010"// for targeting the `VIEWABILITY_10_PERCENT_OR_MORE` option).TargetingOptionIdstring `json:"targetingOptionId,omitempty"`// Viewability: Required. The predicted viewability percentage.//// Possible values:// "VIEWABILITY_UNSPECIFIED" - Default value when viewability is not// specified in this version. This enum is a placeholder for default// value and does not represent a real viewability option.// "VIEWABILITY_10_PERCENT_OR_MORE" - Bid only on impressions that are// at least 10% likely to be viewable.// "VIEWABILITY_20_PERCENT_OR_MORE" - Bid only on impressions that are// at least 20% likely to be viewable.// "VIEWABILITY_30_PERCENT_OR_MORE" - Bid only on impressions that are// at least 30% likely to be viewable.// "VIEWABILITY_40_PERCENT_OR_MORE" - Bid only on impressions that are// at least 40% likely to be viewable.// "VIEWABILITY_50_PERCENT_OR_MORE" - Bid only on impressions that are// at least 50% likely to be viewable.// "VIEWABILITY_60_PERCENT_OR_MORE" - Bid only on impressions that are// at least 60% likely to be viewable.// "VIEWABILITY_70_PERCENT_OR_MORE" - Bid only on impressions that are// at least 70% likely to be viewable.// "VIEWABILITY_80_PERCENT_OR_MORE" - Bid only on impressions that are// at least 80% likely to be viewable.// "VIEWABILITY_90_PERCENT_OR_MORE" - Bid only on impressions that are// at least 90% likely to be viewable.Viewabilitystring `json:"viewability,omitempty"`// ForceSendFields is a list of field names (e.g. "TargetingOptionId")// to unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "TargetingOptionId") to// include in API requests with the JSON null value. By default, fields// with empty values are omitted from API requests. However, any field// with an empty value appearing in NullFields will be sent to the// server as null. It is an error if a field in this list has a// non-empty value. This may be used to include null fields in Patch// requests.NullFields []string `json:"-"`}ViewabilityAssignedTargetingOptionDetails: Assigned viewabilitytargeting option details. This will be populated in theviewability_details field of an AssignedTargetingOption whentargeting_type is `TARGETING_TYPE_VIEWABILITY`.
func (*ViewabilityAssignedTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ViewabilityAssignedTargetingOptionDetails) MarshalJSON() ([]byte,error)
typeViewabilityTargetingOptionDetails¶added inv0.23.0
type ViewabilityTargetingOptionDetails struct {// Viewability: Output only. The predicted viewability percentage.//// Possible values:// "VIEWABILITY_UNSPECIFIED" - Default value when viewability is not// specified in this version. This enum is a placeholder for default// value and does not represent a real viewability option.// "VIEWABILITY_10_PERCENT_OR_MORE" - Bid only on impressions that are// at least 10% likely to be viewable.// "VIEWABILITY_20_PERCENT_OR_MORE" - Bid only on impressions that are// at least 20% likely to be viewable.// "VIEWABILITY_30_PERCENT_OR_MORE" - Bid only on impressions that are// at least 30% likely to be viewable.// "VIEWABILITY_40_PERCENT_OR_MORE" - Bid only on impressions that are// at least 40% likely to be viewable.// "VIEWABILITY_50_PERCENT_OR_MORE" - Bid only on impressions that are// at least 50% likely to be viewable.// "VIEWABILITY_60_PERCENT_OR_MORE" - Bid only on impressions that are// at least 60% likely to be viewable.// "VIEWABILITY_70_PERCENT_OR_MORE" - Bid only on impressions that are// at least 70% likely to be viewable.// "VIEWABILITY_80_PERCENT_OR_MORE" - Bid only on impressions that are// at least 80% likely to be viewable.// "VIEWABILITY_90_PERCENT_OR_MORE" - Bid only on impressions that are// at least 90% likely to be viewable.Viewabilitystring `json:"viewability,omitempty"`// ForceSendFields is a list of field names (e.g. "Viewability") to// unconditionally include in API requests. By default, fields with// empty or default values are omitted from API requests. However, any// non-pointer, non-interface field appearing in ForceSendFields will be// sent to the server regardless of whether the field is empty or not.// This may be used to include empty fields in Patch requests.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Viewability") to include// in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. However, any field with// an empty value appearing in NullFields will be sent to the server as// null. It is an error if a field in this list has a non-empty value.// This may be used to include null fields in Patch requests.NullFields []string `json:"-"`}ViewabilityTargetingOptionDetails: Represents a targetableviewability. This will be populated in the viewability_details fieldof a TargetingOption when targeting_type is`TARGETING_TYPE_VIEWABILITY`.
func (*ViewabilityTargetingOptionDetails)MarshalJSON¶added inv0.23.0
func (s *ViewabilityTargetingOptionDetails) MarshalJSON() ([]byte,error)