Documentation

Overview

Package displayvideo provides access to the Display & Video 360 API.

For product documentation, see: https://developers.google.com/display-video/

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 for authentication.

For information on how to create and obtain Application Default Credentials, see https://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, use option.WithScopes:

displayvideoService, err := displayvideo.NewService(ctx, option.WithScopes(displayvideo.DoubleclickbidmanagerScope))

To use an API key for authentication (note: some APIs do not support API keys), use 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 OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
displayvideoService, err := displayvideo.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// Create, see, edit, and permanently delete your Display & Video 360
	// entities and reports
	DisplayVideoScope = "https://www.googleapis.com/auth/display-video"

	// View and manage your reports in DoubleClick Bid Manager
	DoubleclickbidmanagerScope = "https://www.googleapis.com/auth/doubleclickbidmanager"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type ActiveViewVideoViewabilityMetricConfig

    type ActiveViewVideoViewabilityMetricConfig struct {
    	// DisplayName: Required. The display name of the custom metric.
    	DisplayName string `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.
    	MinimumDuration string `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).
    	MinimumQuartile string `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.
    	MinimumViewability string `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.
    	MinimumVolume string `json:"minimumVolume,omitempty"`
    
    	// ForceSendFields is a list of field names (e.g. "DisplayName") to
    	// unconditionally include in API requests. By default, fields with
    	// empty values are omitted from API requests. However, any non-pointer,
    	// non-interface field appearing in ForceSendFields will be sent to the
    	// server regardless of whether the field is empty or 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 custom Active View video viewability metrics.

      func (*ActiveViewVideoViewabilityMetricConfig) MarshalJSON

      func (s *ActiveViewVideoViewabilityMetricConfig) MarshalJSON() ([]byte, error)

      type Adloox

      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 values are omitted from API
      	// requests. However, any non-pointer, non-interface field appearing in
      	// ForceSendFields will be sent to the server regardless of whether the
      	// field is empty or 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

        func (s *Adloox) MarshalJSON() ([]byte, error)

        type Advertiser

        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.
        	AdvertiserId int64 `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.
        	DisplayName string `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`
        	// 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.
        	EntityStatus string `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.
        	Name string `json:"name,omitempty"`
        
        	// PartnerId: Required. Immutable. The unique ID of the partner that the
        	// advertiser belongs to.
        	PartnerId int64 `json:"partnerId,omitempty,string"`
        
        	// 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.
        	UpdateTime string `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 values are omitted from API requests. However, any non-pointer,
        	// non-interface field appearing in ForceSendFields will be sent to the
        	// server regardless of whether the field is empty or 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

          func (s *Advertiser) MarshalJSON() ([]byte, error)

          type AdvertiserAdServerConfig

          type AdvertiserAdServerConfig struct {
          	// CmHybridConfig: The configuration for advertisers that use both
          	// Campaign Manager (CM) 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 values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or 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 an advertiser.

            func (*AdvertiserAdServerConfig) MarshalJSON

            func (s *AdvertiserAdServerConfig) MarshalJSON() ([]byte, error)

            type AdvertiserCreativeConfig

            type AdvertiserCreativeConfig struct {
            	// DynamicCreativeEnabled: Whether or not the advertiser is enabled for
            	// dynamic creatives.
            	DynamicCreativeEnabled bool `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.
            	IasClientId int64 `json:"iasClientId,omitempty,string"`
            
            	// ObaComplianceDisabled: Whether or not to use DV360's Online
            	// Behavioral Advertising (OBA)
            	// compliance.
            	//
            	// 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.
            	ObaComplianceDisabled bool `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
            	// CM hybrid ad server
            	// configuration.
            	VideoCreativeDataSharingAuthorized bool `json:"videoCreativeDataSharingAuthorized,omitempty"`
            
            	// ForceSendFields is a list of field names (e.g.
            	// "DynamicCreativeEnabled") to unconditionally include in API requests.
            	// By default, fields with empty values are omitted from API requests.
            	// However, any non-pointer, non-interface field appearing in
            	// ForceSendFields will be sent to the server regardless of whether the
            	// field is empty or 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 an advertiser.

              func (*AdvertiserCreativeConfig) MarshalJSON

              func (s *AdvertiserCreativeConfig) MarshalJSON() ([]byte, error)

              type AdvertiserDataAccessConfig

              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 values are omitted from API requests. However, any non-pointer,
              	// non-interface field appearing in ForceSendFields will be sent to the
              	// server regardless of whether the field is empty or 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 advertiser related data may be accessed.

                func (*AdvertiserDataAccessConfig) MarshalJSON

                func (s *AdvertiserDataAccessConfig) MarshalJSON() ([]byte, error)

                type AdvertiserGeneralConfig

                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 Rand
                	CurrencyCode string `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.com
                	DomainUrl string `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 CM hybrid advertisers, the time zone is the same as that of
                	// the
                	// associated CM account; for third-party only advertisers, the time
                	// zone is
                	// the same as that of the parent partner.
                	TimeZone string `json:"timeZone,omitempty"`
                
                	// ForceSendFields is a list of field names (e.g. "CurrencyCode") to
                	// unconditionally include in API requests. By default, fields with
                	// empty values are omitted from API requests. However, any non-pointer,
                	// non-interface field appearing in ForceSendFields will be sent to the
                	// server regardless of whether the field is empty or 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

                  func (s *AdvertiserGeneralConfig) MarshalJSON() ([]byte, error)

                  type AdvertiserSdfConfig

                  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.
                  	OverridePartnerSdfConfig bool `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 values are omitted from API
                  	// requests. However, any non-pointer, non-interface field appearing in
                  	// ForceSendFields will be sent to the server regardless of whether the
                  	// field is empty or 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 an advertiser.

                    func (*AdvertiserSdfConfig) MarshalJSON

                    func (s *AdvertiserSdfConfig) MarshalJSON() ([]byte, error)

                    type AdvertiserTargetingConfig

                    type AdvertiserTargetingConfig struct {
                    	// ExemptTvFromViewabilityTargeting: Whether or not connected TV devices
                    	// are exempt from viewability targeting
                    	// for all video line items under the advertiser.
                    	ExemptTvFromViewabilityTargeting bool `json:"exemptTvFromViewabilityTargeting,omitempty"`
                    
                    	// ForceSendFields is a list of field names (e.g.
                    	// "ExemptTvFromViewabilityTargeting") to unconditionally include in API
                    	// requests. By default, fields with empty values are omitted from API
                    	// requests. However, any non-pointer, non-interface field appearing in
                    	// ForceSendFields will be sent to the server regardless of whether the
                    	// field is empty or 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 serving of an advertiser.

                      func (*AdvertiserTargetingConfig) MarshalJSON

                      func (s *AdvertiserTargetingConfig) MarshalJSON() ([]byte, error)

                      type AdvertisersAssetsService

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

                      func NewAdvertisersAssetsService

                      func NewAdvertisersAssetsService(s *Service) *AdvertisersAssetsService

                      func (*AdvertisersAssetsService) Upload

                      func (r *AdvertisersAssetsService) Upload(advertiserId int64, createassetrequest *CreateAssetRequest) *AdvertisersAssetsUploadCall

                        Upload: Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos.

                        type AdvertisersAssetsUploadCall

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

                        func (*AdvertisersAssetsUploadCall) Context

                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.

                          func (*AdvertisersAssetsUploadCall) Do

                            Do executes the "displayvideo.advertisers.assets.upload" call. Exactly one of *CreateAssetResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CreateAssetResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                            func (*AdvertisersAssetsUploadCall) Fields

                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                              func (*AdvertisersAssetsUploadCall) Header

                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                func (*AdvertisersAssetsUploadCall) Media

                                  Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

                                  func (*AdvertisersAssetsUploadCall) ProgressUpdater

                                    ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).

                                    func (*AdvertisersAssetsUploadCall) ResumableMedia

                                    func (c *AdvertisersAssetsUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *AdvertisersAssetsUploadCall

                                      ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

                                      Deprecated: use Media instead.

                                      At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.

                                      type AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall

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

                                      func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Context

                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                        func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Do

                                          Do executes the "displayvideo.advertisers.bulkEditAdvertiserAssignedTargetingOptions" call. Exactly one of *BulkEditAdvertiserAssignedTargetingOptionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BulkEditAdvertiserAssignedTargetingOptionsResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                          func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Fields

                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                            func (*AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Header

                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                              type AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall

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

                                              func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Context

                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Do

                                                  Do executes the "displayvideo.advertisers.bulkListAdvertiserAssignedTargetingOptions" call. Exactly one of *BulkListAdvertiserAssignedTargetingOptionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BulkListAdvertiserAssignedTargetingOptionsResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                  func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Fields

                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                    func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Filter

                                                      Filter sets the optional parameter "filter": Allows filtering by assigned targeting option properties. Supported syntax:

                                                      * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`.. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `EQUALS (=)`. * Supported fields:

                                                      - `targetingType`
                                                      

                                                      Examples:

                                                      * targetingType with value TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_CHANNEL"

                                                      The length of this field should be no more than 500 characters.

                                                      func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Header

                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                        func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) IfNoneMatch

                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                          func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) OrderBy

                                                            OrderBy sets the optional parameter "orderBy": Field by which to sort the list. Acceptable values are:

                                                            * `targetingType` (default)

                                                            The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `targetingType desc`.

                                                            func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) PageSize

                                                              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 an invalid value is specified.

                                                              func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) PageToken

                                                                PageToken sets the optional parameter "pageToken": A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the first page of results will be returned.

                                                                func (*AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Pages

                                                                  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.

                                                                  type AdvertisersCampaignsCreateCall

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

                                                                  func (*AdvertisersCampaignsCreateCall) Context

                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                    func (*AdvertisersCampaignsCreateCall) Do

                                                                      Do executes the "displayvideo.advertisers.campaigns.create" call. Exactly one of *Campaign or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Campaign.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                      func (*AdvertisersCampaignsCreateCall) Fields

                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                        func (*AdvertisersCampaignsCreateCall) Header

                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                          type AdvertisersCampaignsDeleteCall

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

                                                                          func (*AdvertisersCampaignsDeleteCall) Context

                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                            func (*AdvertisersCampaignsDeleteCall) Do

                                                                              Do executes the "displayvideo.advertisers.campaigns.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code 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 to check whether the returned error was because http.StatusNotModified was returned.

                                                                              func (*AdvertisersCampaignsDeleteCall) Fields

                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                func (*AdvertisersCampaignsDeleteCall) Header

                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                  type AdvertisersCampaignsGetCall

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

                                                                                  func (*AdvertisersCampaignsGetCall) Context

                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                    func (*AdvertisersCampaignsGetCall) Do

                                                                                      Do executes the "displayvideo.advertisers.campaigns.get" call. Exactly one of *Campaign or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Campaign.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                      func (*AdvertisersCampaignsGetCall) Fields

                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                        func (*AdvertisersCampaignsGetCall) Header

                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                          func (*AdvertisersCampaignsGetCall) IfNoneMatch

                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                            type AdvertisersCampaignsListCall

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

                                                                                            func (*AdvertisersCampaignsListCall) Context

                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                              func (*AdvertisersCampaignsListCall) Do

                                                                                                Do executes the "displayvideo.advertisers.campaigns.list" call. Exactly one of *ListCampaignsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCampaignsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                func (*AdvertisersCampaignsListCall) Fields

                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                  func (*AdvertisersCampaignsListCall) Filter

                                                                                                    Filter sets the optional parameter "filter": Allows filtering by campaign properties.

                                                                                                    Supported syntax:

                                                                                                    * Filter expressions are made up of 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 operator must be `EQUALS (=)`. * Supported fields:

                                                                                                    - `entityStatus`
                                                                                                    

                                                                                                    Examples:

                                                                                                    * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED")`

                                                                                                    The length of this field should be no more than 500 characters.

                                                                                                    func (*AdvertisersCampaignsListCall) Header

                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                      func (*AdvertisersCampaignsListCall) IfNoneMatch

                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                        func (*AdvertisersCampaignsListCall) OrderBy

                                                                                                          OrderBy sets the optional parameter "orderBy": Field by which to sort the list. Acceptable values are:

                                                                                                          * `displayName` (default) * `entityStatus`

                                                                                                          The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `displayName desc`.

                                                                                                          func (*AdvertisersCampaignsListCall) PageSize

                                                                                                            PageSize sets the optional parameter "pageSize": Requested page size. Must be between `1` and `100`. If unspecified will default to `100`.

                                                                                                            func (*AdvertisersCampaignsListCall) PageToken

                                                                                                              PageToken sets the optional parameter "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 `ListCampaigns` method. If not specified, the first page of results will be returned.

                                                                                                              func (*AdvertisersCampaignsListCall) Pages

                                                                                                                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.

                                                                                                                type AdvertisersCampaignsPatchCall

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

                                                                                                                func (*AdvertisersCampaignsPatchCall) Context

                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                  func (*AdvertisersCampaignsPatchCall) Do

                                                                                                                    Do executes the "displayvideo.advertisers.campaigns.patch" call. Exactly one of *Campaign or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Campaign.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                    func (*AdvertisersCampaignsPatchCall) Fields

                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                      func (*AdvertisersCampaignsPatchCall) Header

                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                        func (*AdvertisersCampaignsPatchCall) UpdateMask

                                                                                                                          UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields to update.

                                                                                                                          type AdvertisersCampaignsService

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

                                                                                                                          func NewAdvertisersCampaignsService

                                                                                                                          func NewAdvertisersCampaignsService(s *Service) *AdvertisersCampaignsService

                                                                                                                          func (*AdvertisersCampaignsService) Create

                                                                                                                          func (r *AdvertisersCampaignsService) Create(advertiserId int64, campaign *Campaign) *AdvertisersCampaignsCreateCall

                                                                                                                            Create: Creates a new campaign. Returns the newly created campaign if successful.

                                                                                                                            func (*AdvertisersCampaignsService) Delete

                                                                                                                            func (r *AdvertisersCampaignsService) Delete(advertiserId int64, campaignId int64) *AdvertisersCampaignsDeleteCall

                                                                                                                              Delete: Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.

                                                                                                                              func (*AdvertisersCampaignsService) Get

                                                                                                                              func (r *AdvertisersCampaignsService) Get(advertiserId int64, campaignId int64) *AdvertisersCampaignsGetCall

                                                                                                                                Get: Gets a campaign.

                                                                                                                                func (*AdvertisersCampaignsService) List

                                                                                                                                  List: Lists campaigns in an advertiser.

                                                                                                                                  The order is defined by the order_by parameter. If a filter by entity_status is not specified, campaigns with `ENTITY_STATUS_ARCHIVED` will not be included in the results.

                                                                                                                                  func (*AdvertisersCampaignsService) Patch

                                                                                                                                  func (r *AdvertisersCampaignsService) Patch(advertiserId int64, campaignId int64, campaign *Campaign) *AdvertisersCampaignsPatchCall

                                                                                                                                    Patch: Updates an existing campaign. Returns the updated campaign if successful.

                                                                                                                                    type AdvertisersChannelsGetCall

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

                                                                                                                                    func (*AdvertisersChannelsGetCall) Context

                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                      func (*AdvertisersChannelsGetCall) Do

                                                                                                                                        Do executes the "displayvideo.advertisers.channels.get" call. Exactly one of *Channel or error will be non-nil. Any non-2xx status code 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 to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                        func (*AdvertisersChannelsGetCall) Fields

                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                          func (*AdvertisersChannelsGetCall) Header

                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                            func (*AdvertisersChannelsGetCall) IfNoneMatch

                                                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                              func (*AdvertisersChannelsGetCall) PartnerId

                                                                                                                                                PartnerId sets the optional parameter "partnerId": The ID of the partner that owns the fetched channel.

                                                                                                                                                type AdvertisersChannelsListCall

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

                                                                                                                                                func (*AdvertisersChannelsListCall) Context

                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                  func (*AdvertisersChannelsListCall) Do

                                                                                                                                                    Do executes the "displayvideo.advertisers.channels.list" call. Exactly one of *ListChannelsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListChannelsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                    func (*AdvertisersChannelsListCall) Fields

                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                      func (*AdvertisersChannelsListCall) Filter

                                                                                                                                                        Filter sets the optional parameter "filter": Allows filtering by channel fields.

                                                                                                                                                        Supported syntax:

                                                                                                                                                        * Filter expressions for channel currently can only contain at most one * restriction. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `CONTAINS (:)`. * Supported fields:

                                                                                                                                                        - `displayName`
                                                                                                                                                        

                                                                                                                                                        Examples:

                                                                                                                                                        * All channels for which the display name contains "google": `displayName : "google".

                                                                                                                                                        The length of this field should be no more than 500 characters.

                                                                                                                                                        func (*AdvertisersChannelsListCall) Header

                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                          func (*AdvertisersChannelsListCall) IfNoneMatch

                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                            func (*AdvertisersChannelsListCall) OrderBy

                                                                                                                                                              OrderBy sets the optional parameter "orderBy": Field by which to sort the list. Acceptable values are:

                                                                                                                                                              * `displayName` (default) * `channelId`

                                                                                                                                                              The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be added to the field name. Example: `displayName desc`.

                                                                                                                                                              func (*AdvertisersChannelsListCall) PageSize

                                                                                                                                                                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 is specified.

                                                                                                                                                                func (*AdvertisersChannelsListCall) PageToken

                                                                                                                                                                  PageToken sets the optional parameter "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 `ListChannels` method. If not specified, the first page of results will be returned.

                                                                                                                                                                  func (*AdvertisersChannelsListCall) Pages

                                                                                                                                                                    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

                                                                                                                                                                      PartnerId sets the optional parameter "partnerId": The ID of the partner that owns the channels.

                                                                                                                                                                      type AdvertisersChannelsService

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

                                                                                                                                                                      func NewAdvertisersChannelsService

                                                                                                                                                                      func NewAdvertisersChannelsService(s *Service) *AdvertisersChannelsService

                                                                                                                                                                      func (*AdvertisersChannelsService) Get

                                                                                                                                                                      func (r *AdvertisersChannelsService) Get(advertiserId int64, channelId int64) *AdvertisersChannelsGetCall

                                                                                                                                                                        Get: Gets a channel for a partner or advertiser.

                                                                                                                                                                        func (*AdvertisersChannelsService) List

                                                                                                                                                                          List: Lists channels for a partner or advertiser.

                                                                                                                                                                          type AdvertisersCreateCall

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

                                                                                                                                                                          func (*AdvertisersCreateCall) Context

                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                            func (*AdvertisersCreateCall) Do

                                                                                                                                                                              Do executes the "displayvideo.advertisers.create" call. Exactly one of *Advertiser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Advertiser.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                              func (*AdvertisersCreateCall) Fields

                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                func (*AdvertisersCreateCall) Header

                                                                                                                                                                                func (c *AdvertisersCreateCall) Header() http.Header

                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                  type AdvertisersCreativesCreateCall

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

                                                                                                                                                                                  func (*AdvertisersCreativesCreateCall) Context

                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                    func (*AdvertisersCreativesCreateCall) Do

                                                                                                                                                                                      Do executes the "displayvideo.advertisers.creatives.create" call. Exactly one of *Creative or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Creative.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                      func (*AdvertisersCreativesCreateCall) Fields

                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                        func (*AdvertisersCreativesCreateCall) Header

                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                          type AdvertisersCreativesDeleteCall

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

                                                                                                                                                                                          func (*AdvertisersCreativesDeleteCall) Context

                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                            func (*AdvertisersCreativesDeleteCall) Do

                                                                                                                                                                                              Do executes the "displayvideo.advertisers.creatives.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code 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 to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                              func (*AdvertisersCreativesDeleteCall) Fields

                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                func (*AdvertisersCreativesDeleteCall) Header

                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                  type AdvertisersCreativesGetCall

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

                                                                                                                                                                                                  func (*AdvertisersCreativesGetCall) Context

                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                    func (*AdvertisersCreativesGetCall) Do

                                                                                                                                                                                                      Do executes the "displayvideo.advertisers.creatives.get" call. Exactly one of *Creative or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Creative.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                      func (*AdvertisersCreativesGetCall) Fields

                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                        func (*AdvertisersCreativesGetCall) Header

                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                          func (*AdvertisersCreativesGetCall) IfNoneMatch

                                                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                            type AdvertisersCreativesListCall

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

                                                                                                                                                                                                            func (*AdvertisersCreativesListCall) Context

                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                              func (*AdvertisersCreativesListCall) Do

                                                                                                                                                                                                                Do executes the "displayvideo.advertisers.creatives.list" call. Exactly one of *ListCreativesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCreativesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                func (*AdvertisersCreativesListCall) Fields

                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                  func (*AdvertisersCreativesListCall) Filter

                                                                                                                                                                                                                    Filter sets the optional parameter "filter": Allows filtering by creative properties.

                                                                                                                                                                                                                    Supported syntax:

                                                                                                                                                                                                                    * Filter expressions are made up of one or more restrictions. * Restriction for the same field must be combined by `OR`. * Restriction for different fields must be combined by `AND`. * Between `(` and `)` there can only be restrictions combined by `OR` for the same field. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `EQUALS (=)` for the following fields:

                                                                                                                                                                                                                    - `entityStatus`
                                                                                                                                                                                                                    - `creativeType`.
                                                                                                                                                                                                                    - `dimensions`
                                                                                                                                                                                                                    - `minDuration`
                                                                                                                                                                                                                    - `maxDuration`
                                                                                                                                                                                                                    - `approvalStatus`
                                                                                                                                                                                                                    - `exchangeReviewStatus`
                                                                                                                                                                                                                    - `dynamic`
                                                                                                                                                                                                                    

                                                                                                                                                                                                                    * The operator must be `HAS (:)` for the following fields:

                                                                                                                                                                                                                    - `lineItemIds`
                                                                                                                                                                                                                    

                                                                                                                                                                                                                    * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may be at most one restriction. * For `dimensions`, the value is in the form of "{width}x{height}". * For `exchangeReviewStatus`, the value is in the form of `{exchange}-{reviewStatus}`. * For `minDuration` and `maxDuration`, the value is in the form of "{duration}s". Only seconds are supported with millisecond granularity. * There may be multiple `lineItemIds` restrictions in order to search against multiple possible line item IDs.

                                                                                                                                                                                                                    Examples:

                                                                                                                                                                                                                    * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE" * All active creatives with 300x400 or 50x100 dimensions: `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR dimensions="50x100")` * All dynamic creatives that are approved by AdX or AppNexus, with a minimum duration of 5 seconds and 200ms. `dynamic="true" AND minDuration="5.2s" AND (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_AP PROVED" OR exchangeReviewStatus="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 OR lineItemIds:2)

                                                                                                                                                                                                                    The length of this field should be no more than 500 characters.

                                                                                                                                                                                                                    func (*AdvertisersCreativesListCall) Header

                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                      func (*AdvertisersCreativesListCall) IfNoneMatch

                                                                                                                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                        func (*AdvertisersCreativesListCall) OrderBy

                                                                                                                                                                                                                          OrderBy sets the optional parameter "orderBy": Field by which to sort the list. Acceptable values are:

                                                                                                                                                                                                                          * `creativeId` (default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first, then by height)

                                                                                                                                                                                                                          The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `createTime desc`.

                                                                                                                                                                                                                          func (*AdvertisersCreativesListCall) PageSize

                                                                                                                                                                                                                            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 is specified.

                                                                                                                                                                                                                            func (*AdvertisersCreativesListCall) PageToken

                                                                                                                                                                                                                              PageToken sets the optional parameter "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 `ListCreatives` method. If not specified, the first page of results will be returned.

                                                                                                                                                                                                                              func (*AdvertisersCreativesListCall) Pages

                                                                                                                                                                                                                                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.

                                                                                                                                                                                                                                type AdvertisersCreativesPatchCall

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

                                                                                                                                                                                                                                func (*AdvertisersCreativesPatchCall) Context

                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                  func (*AdvertisersCreativesPatchCall) Do

                                                                                                                                                                                                                                    Do executes the "displayvideo.advertisers.creatives.patch" call. Exactly one of *Creative or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Creative.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                    func (*AdvertisersCreativesPatchCall) Fields

                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                      func (*AdvertisersCreativesPatchCall) Header

                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                        func (*AdvertisersCreativesPatchCall) UpdateMask

                                                                                                                                                                                                                                          UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields to update.

                                                                                                                                                                                                                                          type AdvertisersCreativesService

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

                                                                                                                                                                                                                                          func NewAdvertisersCreativesService

                                                                                                                                                                                                                                          func NewAdvertisersCreativesService(s *Service) *AdvertisersCreativesService

                                                                                                                                                                                                                                          func (*AdvertisersCreativesService) Create

                                                                                                                                                                                                                                          func (r *AdvertisersCreativesService) Create(advertiserId int64, creative *Creative) *AdvertisersCreativesCreateCall

                                                                                                                                                                                                                                            Create: Creates a new creative. Returns the newly created creative if successful.

                                                                                                                                                                                                                                            func (*AdvertisersCreativesService) Delete

                                                                                                                                                                                                                                            func (r *AdvertisersCreativesService) Delete(advertiserId int64, creativeId int64) *AdvertisersCreativesDeleteCall

                                                                                                                                                                                                                                              Delete: Deletes a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, before it can be deleted.

                                                                                                                                                                                                                                              func (*AdvertisersCreativesService) Get

                                                                                                                                                                                                                                              func (r *AdvertisersCreativesService) Get(advertiserId int64, creativeId int64) *AdvertisersCreativesGetCall

                                                                                                                                                                                                                                                Get: Gets a creative.

                                                                                                                                                                                                                                                func (*AdvertisersCreativesService) List

                                                                                                                                                                                                                                                  List: Lists creatives in an advertiser.

                                                                                                                                                                                                                                                  The order is defined by the order_by parameter. If a filter by entity_status is not specified, creatives with `ENTITY_STATUS_ARCHIVED` will not be included in the results.

                                                                                                                                                                                                                                                  func (*AdvertisersCreativesService) Patch

                                                                                                                                                                                                                                                  func (r *AdvertisersCreativesService) Patch(advertiserId int64, creativeId int64, creative *Creative) *AdvertisersCreativesPatchCall

                                                                                                                                                                                                                                                    Patch: Updates an existing creative. Returns the updated creative if successful.

                                                                                                                                                                                                                                                    type AdvertisersDeleteCall

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

                                                                                                                                                                                                                                                    func (*AdvertisersDeleteCall) Context

                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                      func (*AdvertisersDeleteCall) Do

                                                                                                                                                                                                                                                        Do executes the "displayvideo.advertisers.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code 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 to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                        func (*AdvertisersDeleteCall) Fields

                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                          func (*AdvertisersDeleteCall) Header

                                                                                                                                                                                                                                                          func (c *AdvertisersDeleteCall) Header() http.Header

                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                            type AdvertisersGetCall

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

                                                                                                                                                                                                                                                            func (*AdvertisersGetCall) Context

                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                              func (*AdvertisersGetCall) Do

                                                                                                                                                                                                                                                                Do executes the "displayvideo.advertisers.get" call. Exactly one of *Advertiser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Advertiser.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                func (*AdvertisersGetCall) Fields

                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                  func (*AdvertisersGetCall) Header

                                                                                                                                                                                                                                                                  func (c *AdvertisersGetCall) Header() http.Header

                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                    func (*AdvertisersGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                    func (c *AdvertisersGetCall) IfNoneMatch(entityTag string) *AdvertisersGetCall

                                                                                                                                                                                                                                                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                      type AdvertisersInsertionOrdersCreateCall

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

                                                                                                                                                                                                                                                                      func (*AdvertisersInsertionOrdersCreateCall) Context

                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                        func (*AdvertisersInsertionOrdersCreateCall) Do

                                                                                                                                                                                                                                                                          Do executes the "displayvideo.advertisers.insertionOrders.create" call. Exactly one of *InsertionOrder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InsertionOrder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                          func (*AdvertisersInsertionOrdersCreateCall) Fields

                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                            func (*AdvertisersInsertionOrdersCreateCall) Header

                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                              type AdvertisersInsertionOrdersDeleteCall

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

                                                                                                                                                                                                                                                                              func (*AdvertisersInsertionOrdersDeleteCall) Context

                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                func (*AdvertisersInsertionOrdersDeleteCall) Do

                                                                                                                                                                                                                                                                                  Do executes the "displayvideo.advertisers.insertionOrders.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code 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 to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                  func (*AdvertisersInsertionOrdersDeleteCall) Fields

                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                    func (*AdvertisersInsertionOrdersDeleteCall) Header

                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                      type AdvertisersInsertionOrdersGetCall

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

                                                                                                                                                                                                                                                                                      func (*AdvertisersInsertionOrdersGetCall) Context

                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                        func (*AdvertisersInsertionOrdersGetCall) Do

                                                                                                                                                                                                                                                                                          Do executes the "displayvideo.advertisers.insertionOrders.get" call. Exactly one of *InsertionOrder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InsertionOrder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                          func (*AdvertisersInsertionOrdersGetCall) Fields

                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                            func (*AdvertisersInsertionOrdersGetCall) Header

                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                              func (*AdvertisersInsertionOrdersGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                type AdvertisersInsertionOrdersListCall

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

                                                                                                                                                                                                                                                                                                func (*AdvertisersInsertionOrdersListCall) Context

                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                  func (*AdvertisersInsertionOrdersListCall) Do

                                                                                                                                                                                                                                                                                                    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 response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                    func (*AdvertisersInsertionOrdersListCall) Fields

                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                      func (*AdvertisersInsertionOrdersListCall) Filter

                                                                                                                                                                                                                                                                                                        Filter sets the optional parameter "filter": Allows filtering by insertion order properties.

                                                                                                                                                                                                                                                                                                        Supported syntax:

                                                                                                                                                                                                                                                                                                        * Filter expressions are made up of 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 operator must be `EQUALS (=)`. * Supported fields:

                                                                                                                                                                                                                                                                                                        - `campaignId`
                                                                                                                                                                                                                                                                                                        - `entityStatus`
                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                        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" OR entityStatus="ENTITY_STATUS_PAUSED")`

                                                                                                                                                                                                                                                                                                        The length of this field should be no more than 500 characters.

                                                                                                                                                                                                                                                                                                        func (*AdvertisersInsertionOrdersListCall) Header

                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                          func (*AdvertisersInsertionOrdersListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                            func (*AdvertisersInsertionOrdersListCall) OrderBy

                                                                                                                                                                                                                                                                                                              OrderBy sets the optional parameter "orderBy": Field by which to sort the list. Acceptable values are:

                                                                                                                                                                                                                                                                                                              * "displayName" (default) * "entityStatus"

                                                                                                                                                                                                                                                                                                              The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `displayName desc`.

                                                                                                                                                                                                                                                                                                              func (*AdvertisersInsertionOrdersListCall) PageSize

                                                                                                                                                                                                                                                                                                                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 is specified.

                                                                                                                                                                                                                                                                                                                func (*AdvertisersInsertionOrdersListCall) PageToken

                                                                                                                                                                                                                                                                                                                  PageToken sets the optional parameter "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 `ListInsertionOrders` method. If not specified, the first page of results will be returned.

                                                                                                                                                                                                                                                                                                                  func (*AdvertisersInsertionOrdersListCall) Pages

                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                    type AdvertisersInsertionOrdersPatchCall

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

                                                                                                                                                                                                                                                                                                                    func (*AdvertisersInsertionOrdersPatchCall) Context

                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                      func (*AdvertisersInsertionOrdersPatchCall) Do

                                                                                                                                                                                                                                                                                                                        Do executes the "displayvideo.advertisers.insertionOrders.patch" call. Exactly one of *InsertionOrder or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InsertionOrder.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                        func (*AdvertisersInsertionOrdersPatchCall) Fields

                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                          func (*AdvertisersInsertionOrdersPatchCall) Header

                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                            func (*AdvertisersInsertionOrdersPatchCall) UpdateMask

                                                                                                                                                                                                                                                                                                                              UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields to update.

                                                                                                                                                                                                                                                                                                                              type AdvertisersInsertionOrdersService

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

                                                                                                                                                                                                                                                                                                                              func NewAdvertisersInsertionOrdersService

                                                                                                                                                                                                                                                                                                                              func NewAdvertisersInsertionOrdersService(s *Service) *AdvertisersInsertionOrdersService

                                                                                                                                                                                                                                                                                                                              func (*AdvertisersInsertionOrdersService) Create

                                                                                                                                                                                                                                                                                                                                Create: Creates a new insertion order. Returns the newly created insertion order if successful.

                                                                                                                                                                                                                                                                                                                                func (*AdvertisersInsertionOrdersService) Delete

                                                                                                                                                                                                                                                                                                                                func (r *AdvertisersInsertionOrdersService) Delete(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersDeleteCall

                                                                                                                                                                                                                                                                                                                                  Delete: Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. The insertion order should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.

                                                                                                                                                                                                                                                                                                                                  func (*AdvertisersInsertionOrdersService) Get

                                                                                                                                                                                                                                                                                                                                  func (r *AdvertisersInsertionOrdersService) Get(advertiserId int64, insertionOrderId int64) *AdvertisersInsertionOrdersGetCall

                                                                                                                                                                                                                                                                                                                                    Get: Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist.

                                                                                                                                                                                                                                                                                                                                    func (*AdvertisersInsertionOrdersService) List

                                                                                                                                                                                                                                                                                                                                      List: Lists insertion orders in an advertiser.

                                                                                                                                                                                                                                                                                                                                      The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.

                                                                                                                                                                                                                                                                                                                                      func (*AdvertisersInsertionOrdersService) Patch

                                                                                                                                                                                                                                                                                                                                      func (r *AdvertisersInsertionOrdersService) Patch(advertiserId int64, insertionOrderId int64, insertionorder *InsertionOrder) *AdvertisersInsertionOrdersPatchCall

                                                                                                                                                                                                                                                                                                                                        Patch: Updates an existing insertion order. Returns the updated insertion order if successful.

                                                                                                                                                                                                                                                                                                                                        type AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall

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

                                                                                                                                                                                                                                                                                                                                        func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Context

                                                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                          func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Do

                                                                                                                                                                                                                                                                                                                                            Do executes the "displayvideo.advertisers.lineItems.bulkEditLineItemAssignedTargetingOptions" call. Exactly one of *BulkEditLineItemAssignedTargetingOptionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BulkEditLineItemAssignedTargetingOptionsResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                            func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Fields

                                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                              func (*AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Header

                                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                type AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall

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

                                                                                                                                                                                                                                                                                                                                                func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Context

                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                  func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Do

                                                                                                                                                                                                                                                                                                                                                    Do executes the "displayvideo.advertisers.lineItems.bulkListLineItemAssignedTargetingOptions" call. Exactly one of *BulkListLineItemAssignedTargetingOptionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BulkListLineItemAssignedTargetingOptionsResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                    func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Fields

                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                      func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Filter

                                                                                                                                                                                                                                                                                                                                                        Filter sets the optional parameter "filter": Allows filtering by assigned targeting option properties. Supported syntax:

                                                                                                                                                                                                                                                                                                                                                        * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR` on the same field. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `EQUALS (=)`. * Supported fields:

                                                                                                                                                                                                                                                                                                                                                        - `targetingType`
                                                                                                                                                                                                                                                                                                                                                        - `inheritance`
                                                                                                                                                                                                                                                                                                                                                        

                                                                                                                                                                                                                                                                                                                                                        Examples:

                                                                                                                                                                                                                                                                                                                                                        * AssignedTargetingOptions of targeting type TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_PROXIMITY_LOCATI ON_LIST" OR targetingType="TARGETING_TYPE_CHANNEL" * AssignedTargetingOptions 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.

                                                                                                                                                                                                                                                                                                                                                        func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Header

                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                          func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                            func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) OrderBy

                                                                                                                                                                                                                                                                                                                                                              OrderBy sets the optional parameter "orderBy": Field by which to sort the list. Acceptable values are:

                                                                                                                                                                                                                                                                                                                                                              * `targetingType` (default)

                                                                                                                                                                                                                                                                                                                                                              The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `targetingType desc`.

                                                                                                                                                                                                                                                                                                                                                              func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) PageSize

                                                                                                                                                                                                                                                                                                                                                                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 an invalid value is specified.

                                                                                                                                                                                                                                                                                                                                                                func (*AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                  PageToken sets the optional parameter "pageToken": A token that lets the client fetch the next page of results. Typically, this is the value 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

                                                                                                                                                                                                                                                                                                                                                                    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.

                                                                                                                                                                                                                                                                                                                                                                    type AdvertisersLineItemsCreateCall

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

                                                                                                                                                                                                                                                                                                                                                                    func (*AdvertisersLineItemsCreateCall) Context

                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                      func (*AdvertisersLineItemsCreateCall) Do

                                                                                                                                                                                                                                                                                                                                                                        Do executes the "displayvideo.advertisers.lineItems.create" call. Exactly one of *LineItem or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LineItem.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                        func (*AdvertisersLineItemsCreateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                          func (*AdvertisersLineItemsCreateCall) Header

                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                            type AdvertisersLineItemsDeleteCall

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

                                                                                                                                                                                                                                                                                                                                                                            func (*AdvertisersLineItemsDeleteCall) Context

                                                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                              func (*AdvertisersLineItemsDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                Do executes the "displayvideo.advertisers.lineItems.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code 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 to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                func (*AdvertisersLineItemsDeleteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                  func (*AdvertisersLineItemsDeleteCall) Header

                                                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                    type AdvertisersLineItemsGetCall

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

                                                                                                                                                                                                                                                                                                                                                                                    func (*AdvertisersLineItemsGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                      func (*AdvertisersLineItemsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                        Do executes the "displayvideo.advertisers.lineItems.get" call. Exactly one of *LineItem or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LineItem.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                        func (*AdvertisersLineItemsGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                          func (*AdvertisersLineItemsGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                            func (*AdvertisersLineItemsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                              type AdvertisersLineItemsListCall

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

                                                                                                                                                                                                                                                                                                                                                                                              func (*AdvertisersLineItemsListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                func (*AdvertisersLineItemsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                  Do executes the "displayvideo.advertisers.lineItems.list" call. Exactly one of *ListLineItemsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLineItemsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                  func (*AdvertisersLineItemsListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                    func (*AdvertisersLineItemsListCall) Filter

                                                                                                                                                                                                                                                                                                                                                                                                      Filter sets the optional parameter "filter": Allows filtering by line item properties.

                                                                                                                                                                                                                                                                                                                                                                                                      Supported syntax:

                                                                                                                                                                                                                                                                                                                                                                                                      * Filter expressions are made up of 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 operator must be `EQUALS (=)`. * Supported fields:

                                                                                                                                                                                                                                                                                                                                                                                                      - `campaignId`
                                                                                                                                                                                                                                                                                                                                                                                                      - `insertionOrderId`
                                                                                                                                                                                                                                                                                                                                                                                                      - `entityStatus`
                                                                                                                                                                                                                                                                                                                                                                                                      - `lineItemType`.
                                                                                                                                                                                                                                                                                                                                                                                                      

                                                                                                                                                                                                                                                                                                                                                                                                      Examples:

                                                                                                                                                                                                                                                                                                                                                                                                      * All line items under an insertion order: `insertionOrderId="1234" * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"

                                                                                                                                                                                                                                                                                                                                                                                                      The length of this field should be no more than 500 characters.

                                                                                                                                                                                                                                                                                                                                                                                                      func (*AdvertisersLineItemsListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                        func (*AdvertisersLineItemsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                          func (*AdvertisersLineItemsListCall) OrderBy

                                                                                                                                                                                                                                                                                                                                                                                                            OrderBy sets the optional parameter "orderBy": Field by which to sort the list. Acceptable values are:

                                                                                                                                                                                                                                                                                                                                                                                                            * "displayName" (default) * "entityStatus"

                                                                                                                                                                                                                                                                                                                                                                                                            The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `displayName desc`.

                                                                                                                                                                                                                                                                                                                                                                                                            func (*AdvertisersLineItemsListCall) PageSize

                                                                                                                                                                                                                                                                                                                                                                                                              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 is specified.

                                                                                                                                                                                                                                                                                                                                                                                                              func (*AdvertisersLineItemsListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                                PageToken sets the optional parameter "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 `ListLineItems` method. If not specified, the first page of results will be returned.

                                                                                                                                                                                                                                                                                                                                                                                                                func (*AdvertisersLineItemsListCall) Pages

                                                                                                                                                                                                                                                                                                                                                                                                                  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.

                                                                                                                                                                                                                                                                                                                                                                                                                  type AdvertisersLineItemsPatchCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*AdvertisersLineItemsPatchCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*AdvertisersLineItemsPatchCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "displayvideo.advertisers.lineItems.patch" call. Exactly one of *LineItem or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LineItem.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                      func (*AdvertisersLineItemsPatchCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*AdvertisersLineItemsPatchCall) Header