Documentation

Overview

Package adexchangebuyer2 provides access to the Ad Exchange Buyer API II.

For product documentation, see: https://developers.google.com/authorized-buyers/apis/reference/rest/

Creating a client

Usage example:

import "google.golang.org/api/adexchangebuyer2/v2beta1"
...
ctx := context.Background()
adexchangebuyer2Service, err := adexchangebuyer2.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

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

adexchangebuyer2Service, err := adexchangebuyer2.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, ...)
adexchangebuyer2Service, err := adexchangebuyer2.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 (
	// Manage your Ad Exchange buyer account configuration
	AdexchangeBuyerScope = "https://www.googleapis.com/auth/adexchange.buyer"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbsoluteDateRange

type AbsoluteDateRange struct {
	// EndDate: The end date of the range (inclusive). Must be within the 30
	// days leading up to current date, and must be equal to or after
	// start_date.
	EndDate *Date `json:"endDate,omitempty"`

	// StartDate: The start date of the range (inclusive). Must be within
	// the 30 days leading up to current date, and must be equal to or
	// before end_date.
	StartDate *Date `json:"startDate,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EndDate") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "EndDate") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AbsoluteDateRange: An absolute date range, specified by its start date and end date. The supported range of dates begins 30 days before today and ends today. Validity checked upon filter set creation. If a filter set with an absolute date range is run at a later date more than 30 days after start_date, it will fail.

func (*AbsoluteDateRange) MarshalJSON

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

type AcceptProposalRequest

type AcceptProposalRequest struct {
	// ProposalRevision: The last known client revision number of the
	// proposal.
	ProposalRevision int64 `json:"proposalRevision,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "ProposalRevision") 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. "ProposalRevision") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

AcceptProposalRequest: Request to accept a proposal.

func (*AcceptProposalRequest) MarshalJSON

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

type AccountsClientsCreateCall

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

func (*AccountsClientsCreateCall) 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 (*AccountsClientsCreateCall) Do

Do executes the "adexchangebuyer2.accounts.clients.create" call. Exactly one of *Client or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Client.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 (*AccountsClientsCreateCall) Fields

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

func (*AccountsClientsCreateCall) Header

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

type AccountsClientsGetCall

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

func (*AccountsClientsGetCall) 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 (*AccountsClientsGetCall) Do

Do executes the "adexchangebuyer2.accounts.clients.get" call. Exactly one of *Client or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Client.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 (*AccountsClientsGetCall) Fields

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

func (*AccountsClientsGetCall) Header

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

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

func (*AccountsClientsGetCall) IfNoneMatch

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

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 AccountsClientsInvitationsCreateCall

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

func (*AccountsClientsInvitationsCreateCall) 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 (*AccountsClientsInvitationsCreateCall) Do

Do executes the "adexchangebuyer2.accounts.clients.invitations.create" call. Exactly one of *ClientUserInvitation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ClientUserInvitation.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 (*AccountsClientsInvitationsCreateCall) Fields

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

func (*AccountsClientsInvitationsCreateCall) Header

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

type AccountsClientsInvitationsGetCall

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

func (*AccountsClientsInvitationsGetCall) 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 (*AccountsClientsInvitationsGetCall) Do

Do executes the "adexchangebuyer2.accounts.clients.invitations.get" call. Exactly one of *ClientUserInvitation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ClientUserInvitation.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 (*AccountsClientsInvitationsGetCall) Fields

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

func (*AccountsClientsInvitationsGetCall) Header

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

func (*AccountsClientsInvitationsGetCall) 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 AccountsClientsInvitationsListCall

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

func (*AccountsClientsInvitationsListCall) 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 (*AccountsClientsInvitationsListCall) Do

Do executes the "adexchangebuyer2.accounts.clients.invitations.list" call. Exactly one of *ListClientUserInvitationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListClientUserInvitationsResponse.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 (*AccountsClientsInvitationsListCall) Fields

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

func (*AccountsClientsInvitationsListCall) Header

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

func (*AccountsClientsInvitationsListCall) 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 (*AccountsClientsInvitationsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer clients than requested. If unspecified, server will pick an appropriate default.

func (*AccountsClientsInvitationsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListClientUserInvitationsResponse.nextPageToken returned from the previous call to the clients.invitations.list method.

func (*AccountsClientsInvitationsListCall) 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 AccountsClientsInvitationsService

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

func NewAccountsClientsInvitationsService

func NewAccountsClientsInvitationsService(s *Service) *AccountsClientsInvitationsService

func (*AccountsClientsInvitationsService) Create

func (r *AccountsClientsInvitationsService) Create(accountId int64, clientAccountId int64, clientuserinvitation *ClientUserInvitation) *AccountsClientsInvitationsCreateCall

Create: Creates and sends out an email invitation to access an Ad Exchange client buyer account.

func (*AccountsClientsInvitationsService) Get

func (r *AccountsClientsInvitationsService) Get(accountId int64, clientAccountId int64, invitationId int64) *AccountsClientsInvitationsGetCall

Get: Retrieves an existing client user invitation.

func (*AccountsClientsInvitationsService) List

List: Lists all the client users invitations for a client with a given account ID.

type AccountsClientsListCall

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

func (*AccountsClientsListCall) 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 (*AccountsClientsListCall) Do

Do executes the "adexchangebuyer2.accounts.clients.list" call. Exactly one of *ListClientsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListClientsResponse.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 (*AccountsClientsListCall) Fields

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

func (*AccountsClientsListCall) Header

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

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

func (*AccountsClientsListCall) IfNoneMatch

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

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 (*AccountsClientsListCall) PageSize

func (c *AccountsClientsListCall) PageSize(pageSize int64) *AccountsClientsListCall

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer clients than requested. If unspecified, the server will pick an appropriate default.

func (*AccountsClientsListCall) PageToken

func (c *AccountsClientsListCall) PageToken(pageToken string) *AccountsClientsListCall

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListClientsResponse.nextPageToken returned from the previous call to the accounts.clients.list method.

func (*AccountsClientsListCall) 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 (*AccountsClientsListCall) PartnerClientId

func (c *AccountsClientsListCall) PartnerClientId(partnerClientId string) *AccountsClientsListCall

PartnerClientId sets the optional parameter "partnerClientId": Optional unique identifier (from the standpoint of an Ad Exchange sponsor buyer partner) of the client to return. If specified, at most one client will be returned in the response.

type AccountsClientsService

type AccountsClientsService struct {
	Invitations *AccountsClientsInvitationsService

	Users *AccountsClientsUsersService
	// contains filtered or unexported fields
}

func NewAccountsClientsService

func NewAccountsClientsService(s *Service) *AccountsClientsService

func (*AccountsClientsService) Create

func (r *AccountsClientsService) Create(accountId int64, client *Client) *AccountsClientsCreateCall

Create: Creates a new client buyer.

func (*AccountsClientsService) Get

func (r *AccountsClientsService) Get(accountId int64, clientAccountId int64) *AccountsClientsGetCall

Get: Gets a client buyer with a given client account ID.

func (*AccountsClientsService) List

List: Lists all the clients for the current sponsor buyer.

func (*AccountsClientsService) Update

func (r *AccountsClientsService) Update(accountId int64, clientAccountId int64, client *Client) *AccountsClientsUpdateCall

Update: Updates an existing client buyer.

type AccountsClientsUpdateCall

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

func (*AccountsClientsUpdateCall) 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 (*AccountsClientsUpdateCall) Do

Do executes the "adexchangebuyer2.accounts.clients.update" call. Exactly one of *Client or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Client.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 (*AccountsClientsUpdateCall) Fields

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

func (*AccountsClientsUpdateCall) Header

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

type AccountsClientsUsersGetCall

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

func (*AccountsClientsUsersGetCall) 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 (*AccountsClientsUsersGetCall) Do

Do executes the "adexchangebuyer2.accounts.clients.users.get" call. Exactly one of *ClientUser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ClientUser.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 (*AccountsClientsUsersGetCall) Fields

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

func (*AccountsClientsUsersGetCall) Header

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

func (*AccountsClientsUsersGetCall) 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 AccountsClientsUsersListCall

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

func (*AccountsClientsUsersListCall) 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 (*AccountsClientsUsersListCall) Do

Do executes the "adexchangebuyer2.accounts.clients.users.list" call. Exactly one of *ListClientUsersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListClientUsersResponse.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 (*AccountsClientsUsersListCall) Fields

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

func (*AccountsClientsUsersListCall) Header

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

func (*AccountsClientsUsersListCall) 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 (*AccountsClientsUsersListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer clients than requested. If unspecified, the server will pick an appropriate default.

func (*AccountsClientsUsersListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListClientUsersResponse.nextPageToken returned from the previous call to the accounts.clients.users.list method.

func (*AccountsClientsUsersListCall) 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 AccountsClientsUsersService

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

func NewAccountsClientsUsersService

func NewAccountsClientsUsersService(s *Service) *AccountsClientsUsersService

func (*AccountsClientsUsersService) Get

func (r *AccountsClientsUsersService) Get(accountId int64, clientAccountId int64, userId int64) *AccountsClientsUsersGetCall

Get: Retrieves an existing client user.

func (*AccountsClientsUsersService) List

func (r *AccountsClientsUsersService) List(accountId int64, clientAccountId string) *AccountsClientsUsersListCall

List: Lists all the known client users for a specified sponsor buyer account ID.

func (*AccountsClientsUsersService) Update

func (r *AccountsClientsUsersService) Update(accountId int64, clientAccountId int64, userId int64, clientuser *ClientUser) *AccountsClientsUsersUpdateCall

Update: Updates an existing client user. Only the user status can be changed on update.

type AccountsClientsUsersUpdateCall

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

func (*AccountsClientsUsersUpdateCall) 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 (*AccountsClientsUsersUpdateCall) Do

Do executes the "adexchangebuyer2.accounts.clients.users.update" call. Exactly one of *ClientUser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ClientUser.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 (*AccountsClientsUsersUpdateCall) Fields

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

func (*AccountsClientsUsersUpdateCall) Header

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

type AccountsCreativesCreateCall

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

func (*AccountsCreativesCreateCall) 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 (*AccountsCreativesCreateCall) Do

Do executes the "adexchangebuyer2.accounts.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 (*AccountsCreativesCreateCall) DuplicateIdMode

func (c *AccountsCreativesCreateCall) DuplicateIdMode(duplicateIdMode string) *AccountsCreativesCreateCall

DuplicateIdMode sets the optional parameter "duplicateIdMode": Indicates if multiple creatives can share an ID or not. Default is NO_DUPLICATES (one ID per creative).

Possible values:

"NO_DUPLICATES" - Recommended. This means that an ID will be unique

to a single creative. Multiple creatives will not share an ID.

"FORCE_ENABLE_DUPLICATE_IDS" - Not recommended. Using this option

will allow multiple creatives to share the same ID. Get and Update requests will not be possible for any ID that has more than one creative associated. (List will still function.) This is only intended for backwards compatibility in cases where a single ID is already shared by multiple creatives from previous APIs.

func (*AccountsCreativesCreateCall) Fields

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

func (*AccountsCreativesCreateCall) Header

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

type AccountsCreativesDealAssociationsAddCall

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

func (*AccountsCreativesDealAssociationsAddCall) 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 (*AccountsCreativesDealAssociationsAddCall) Do

Do executes the "adexchangebuyer2.accounts.creatives.dealAssociations.add" 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 (*AccountsCreativesDealAssociationsAddCall) Fields

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

func (*AccountsCreativesDealAssociationsAddCall) Header

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

type AccountsCreativesDealAssociationsListCall

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

func (*AccountsCreativesDealAssociationsListCall) 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 (*AccountsCreativesDealAssociationsListCall) Do

Do executes the "adexchangebuyer2.accounts.creatives.dealAssociations.list" call. Exactly one of *ListDealAssociationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListDealAssociationsResponse.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 (*AccountsCreativesDealAssociationsListCall) Fields

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

func (*AccountsCreativesDealAssociationsListCall) Header

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

func (*AccountsCreativesDealAssociationsListCall) 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 (*AccountsCreativesDealAssociationsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer associations than requested. If unspecified, server will pick an appropriate default.

func (*AccountsCreativesDealAssociationsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListDealAssociationsResponse.next_page_token returned from the previous call to 'ListDealAssociations' method.

func (*AccountsCreativesDealAssociationsListCall) 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 (*AccountsCreativesDealAssociationsListCall) Query

Query sets the optional parameter "query": An optional query string to filter deal associations. If no filter is specified, all associations will be returned. Supported queries are: - accountId=*account_id_string* - creativeId=*creative_id_string* - dealsId=*deals_id_string* - dealsStatus:{approved, conditionally_approved, disapproved, not_checked} - openAuctionStatus:{approved, conditionally_approved, disapproved, not_checked} Example: 'dealsId=12345 AND dealsStatus:disapproved'

type AccountsCreativesDealAssociationsRemoveCall

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

func (*AccountsCreativesDealAssociationsRemoveCall) 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 (*AccountsCreativesDealAssociationsRemoveCall) Do

Do executes the "adexchangebuyer2.accounts.creatives.dealAssociations.remove" 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 (*AccountsCreativesDealAssociationsRemoveCall) Fields

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

func (*AccountsCreativesDealAssociationsRemoveCall) Header

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

type AccountsCreativesDealAssociationsService

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

func NewAccountsCreativesDealAssociationsService

func NewAccountsCreativesDealAssociationsService(s *Service) *AccountsCreativesDealAssociationsService

func (*AccountsCreativesDealAssociationsService) Add

Add: Associate an existing deal with a creative.

func (*AccountsCreativesDealAssociationsService) List

List: List all creative-deal associations.

func (*AccountsCreativesDealAssociationsService) Remove

Remove: Remove the association between a deal and a creative.

type AccountsCreativesGetCall

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

func (*AccountsCreativesGetCall) 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 (*AccountsCreativesGetCall) Do

Do executes the "adexchangebuyer2.accounts.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 (*AccountsCreativesGetCall) Fields

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

func (*AccountsCreativesGetCall) Header

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

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

func (*AccountsCreativesGetCall) IfNoneMatch

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

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 AccountsCreativesListCall

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

func (*AccountsCreativesListCall) 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 (*AccountsCreativesListCall) Do

Do executes the "adexchangebuyer2.accounts.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 (*AccountsCreativesListCall) Fields

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

func (*AccountsCreativesListCall) Header

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

func (*AccountsCreativesListCall) IfNoneMatch

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

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 (*AccountsCreativesListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.

func (*AccountsCreativesListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.next_page_token returned from the previous call to 'ListCreatives' method.

func (*AccountsCreativesListCall) 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 (*AccountsCreativesListCall) Query

Query sets the optional parameter "query": An optional query string to filter creatives. If no filter is specified, all active creatives will be returned. Supported queries are: - accountId=*account_id_string* - creativeId=*creative_id_string* - dealsStatus: {approved, conditionally_approved, disapproved, not_checked} - openAuctionStatus: {approved, conditionally_approved, disapproved, not_checked} - attribute: {a numeric attribute from the list of attributes} - disapprovalReason: {a reason from DisapprovalReason} Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:unacceptable_content) OR attribute:47'

type AccountsCreativesService

type AccountsCreativesService struct {
	DealAssociations *AccountsCreativesDealAssociationsService
	// contains filtered or unexported fields
}

func NewAccountsCreativesService

func NewAccountsCreativesService(s *Service) *AccountsCreativesService

func (*AccountsCreativesService) Create

func (r *AccountsCreativesService) Create(accountId string, creative *Creative) *AccountsCreativesCreateCall

Create: Creates a creative.

func (*AccountsCreativesService) Get

func (r *AccountsCreativesService) Get(accountId string, creativeId string) *AccountsCreativesGetCall

Get: Gets a creative.

func (*AccountsCreativesService) List

List: Lists creatives.

func (*AccountsCreativesService) StopWatching

func (r *AccountsCreativesService) StopWatching(accountId string, creativeId string, stopwatchingcreativerequest *StopWatchingCreativeRequest) *AccountsCreativesStopWatchingCall

StopWatching: Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.

func (*AccountsCreativesService) Update

func (r *AccountsCreativesService) Update(accountId string, creativeId string, creative *Creative) *AccountsCreativesUpdateCall

Update: Updates a creative.

func (*AccountsCreativesService) Watch

func (r *AccountsCreativesService) Watch(accountId string, creativeId string, watchcreativerequest *WatchCreativeRequest) *AccountsCreativesWatchCall

Watch: Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.

type AccountsCreativesStopWatchingCall

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

func (*AccountsCreativesStopWatchingCall) 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 (*AccountsCreativesStopWatchingCall) Do

Do executes the "adexchangebuyer2.accounts.creatives.stopWatching" 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 (*AccountsCreativesStopWatchingCall) Fields

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

func (*AccountsCreativesStopWatchingCall) Header

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

type AccountsCreativesUpdateCall

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

func (*AccountsCreativesUpdateCall) 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 (*AccountsCreativesUpdateCall) Do

Do executes the "adexchangebuyer2.accounts.creatives.update" 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 (*AccountsCreativesUpdateCall) Fields

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

func (*AccountsCreativesUpdateCall) Header

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

type AccountsCreativesWatchCall

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

func (*AccountsCreativesWatchCall) 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 (*AccountsCreativesWatchCall) Do

Do executes the "adexchangebuyer2.accounts.creatives.watch" 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 (*AccountsCreativesWatchCall) Fields

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

func (*AccountsCreativesWatchCall) Header

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

type AccountsFinalizedProposalsListCall

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

func (*AccountsFinalizedProposalsListCall) 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 (*AccountsFinalizedProposalsListCall) Do

Do executes the "adexchangebuyer2.accounts.finalizedProposals.list" call. Exactly one of *ListProposalsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListProposalsResponse.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 (*AccountsFinalizedProposalsListCall) Fields

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

func (*AccountsFinalizedProposalsListCall) Filter

Filter sets the optional parameter "filter": An optional PQL filter query used to query for proposals. Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be filtered.

func (*AccountsFinalizedProposalsListCall) FilterSyntax

FilterSyntax sets the optional parameter "filterSyntax": Syntax the filter is written in. Current implementation defaults to PQL but in the future it will be LIST_FILTER.

Possible values:

"FILTER_SYNTAX_UNSPECIFIED" - A placeholder for an undefined filter

syntax.

"PQL" - PQL query syntax. Visit

https://developers.google.com/ad-manager/api/pqlreference for PQL documentation and examples.

"LIST_FILTER" - API list filtering syntax. Read about syntax and

usage at https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.

func (*AccountsFinalizedProposalsListCall) Header

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

func (*AccountsFinalizedProposalsListCall) 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 (*AccountsFinalizedProposalsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*AccountsFinalizedProposalsListCall) PageToken

PageToken sets the optional parameter "pageToken": The page token as returned from ListProposalsResponse.

func (*AccountsFinalizedProposalsListCall) 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 AccountsFinalizedProposalsService

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

func NewAccountsFinalizedProposalsService

func NewAccountsFinalizedProposalsService(s *Service) *AccountsFinalizedProposalsService

func (*AccountsFinalizedProposalsService) List

List: List finalized proposals, regardless if a proposal is being renegotiated. A filter expression (PQL query) may be specified to filter the results. The notes will not be returned.

type AccountsProductsGetCall

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

func (*AccountsProductsGetCall) 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 (*AccountsProductsGetCall) Do

Do executes the "adexchangebuyer2.accounts.products.get" call. Exactly one of *Product or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Product.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 (*AccountsProductsGetCall) Fields

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

func (*AccountsProductsGetCall) Header

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

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

func (*AccountsProductsGetCall) IfNoneMatch

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

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 AccountsProductsListCall

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

func (*AccountsProductsListCall) 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 (*AccountsProductsListCall) Do

Do executes the "adexchangebuyer2.accounts.products.list" call. Exactly one of *ListProductsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListProductsResponse.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 (*AccountsProductsListCall) Fields

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

func (*AccountsProductsListCall) Filter

Filter sets the optional parameter "filter": An optional PQL query used to query for products. See https://developers.google.com/ad-manager/docs/pqlreference for documentation about PQL and examples. Nested repeated fields, such as product.targetingCriterion.inclusions, cannot be filtered.

func (*AccountsProductsListCall) Header

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

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

func (*AccountsProductsListCall) IfNoneMatch

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

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 (*AccountsProductsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*AccountsProductsListCall) PageToken

func (c *AccountsProductsListCall) PageToken(pageToken string) *AccountsProductsListCall

PageToken sets the optional parameter "pageToken": The page token as returned from ListProductsResponse.

func (*AccountsProductsListCall) 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 AccountsProductsService

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

func NewAccountsProductsService

func NewAccountsProductsService(s *Service) *AccountsProductsService

func (*AccountsProductsService) Get

func (r *AccountsProductsService) Get(accountId string, productId string) *AccountsProductsGetCall

Get: Gets the requested product by ID.

func (*AccountsProductsService) List

List: List all products visible to the buyer (optionally filtered by the specified PQL query).

type AccountsProposalsAcceptCall

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

func (*AccountsProposalsAcceptCall) 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 (*AccountsProposalsAcceptCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.accept" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsAcceptCall) Fields

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

func (*AccountsProposalsAcceptCall) Header

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

type AccountsProposalsAddNoteCall

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

func (*AccountsProposalsAddNoteCall) 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 (*AccountsProposalsAddNoteCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.addNote" call. Exactly one of *Note or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Note.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 (*AccountsProposalsAddNoteCall) Fields

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

func (*AccountsProposalsAddNoteCall) Header

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

type AccountsProposalsCancelNegotiationCall

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

func (*AccountsProposalsCancelNegotiationCall) 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 (*AccountsProposalsCancelNegotiationCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.cancelNegotiation" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsCancelNegotiationCall) Fields

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

func (*AccountsProposalsCancelNegotiationCall) Header

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

type AccountsProposalsCompleteSetupCall

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

func (*AccountsProposalsCompleteSetupCall) 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 (*AccountsProposalsCompleteSetupCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.completeSetup" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsCompleteSetupCall) Fields

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

func (*AccountsProposalsCompleteSetupCall) Header

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

type AccountsProposalsCreateCall

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

func (*AccountsProposalsCreateCall) 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 (*AccountsProposalsCreateCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.create" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsCreateCall) Fields

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

func (*AccountsProposalsCreateCall) Header

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

type AccountsProposalsGetCall

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

func (*AccountsProposalsGetCall) 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 (*AccountsProposalsGetCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.get" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsGetCall) Fields

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

func (*AccountsProposalsGetCall) Header

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

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

func (*AccountsProposalsGetCall) IfNoneMatch

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

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 AccountsProposalsListCall

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

func (*AccountsProposalsListCall) 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 (*AccountsProposalsListCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.list" call. Exactly one of *ListProposalsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListProposalsResponse.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 (*AccountsProposalsListCall) Fields

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

func (*AccountsProposalsListCall) Filter

Filter sets the optional parameter "filter": An optional PQL filter query used to query for proposals. Nested repeated fields, such as proposal.deals.targetingCriterion, cannot be filtered.

func (*AccountsProposalsListCall) FilterSyntax

func (c *AccountsProposalsListCall) FilterSyntax(filterSyntax string) *AccountsProposalsListCall

FilterSyntax sets the optional parameter "filterSyntax": Syntax the filter is written in. Current implementation defaults to PQL but in the future it will be LIST_FILTER.

Possible values:

"FILTER_SYNTAX_UNSPECIFIED" - A placeholder for an undefined filter

syntax.

"PQL" - PQL query syntax. Visit

https://developers.google.com/ad-manager/api/pqlreference for PQL documentation and examples.

"LIST_FILTER" - API list filtering syntax. Read about syntax and

usage at https://developers.google.com/authorized-buyers/apis/guides/v2/list-filters.

func (*AccountsProposalsListCall) Header

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

func (*AccountsProposalsListCall) IfNoneMatch

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

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 (*AccountsProposalsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*AccountsProposalsListCall) PageToken

PageToken sets the optional parameter "pageToken": The page token as returned from ListProposalsResponse.

func (*AccountsProposalsListCall) 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 AccountsProposalsPauseCall

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

func (*AccountsProposalsPauseCall) 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 (*AccountsProposalsPauseCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.pause" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsPauseCall) Fields

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

func (*AccountsProposalsPauseCall) Header

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

type AccountsProposalsResumeCall

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

func (*AccountsProposalsResumeCall) 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 (*AccountsProposalsResumeCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.resume" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsResumeCall) Fields

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

func (*AccountsProposalsResumeCall) Header

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

type AccountsProposalsService

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

func NewAccountsProposalsService

func NewAccountsProposalsService(s *Service) *AccountsProposalsService

func (*AccountsProposalsService) Accept

func (r *AccountsProposalsService) Accept(accountId string, proposalId string, acceptproposalrequest *AcceptProposalRequest) *AccountsProposalsAcceptCall

Accept: Mark the proposal as accepted at the given revision number. If the number does not match the server's revision number an `ABORTED` error message will be returned. This call updates the proposal_state from `PROPOSED` to `BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`. Upon calling this endpoint, the buyer implicitly agrees to the terms and conditions optionally set within the proposal by the publisher.

func (*AccountsProposalsService) AddNote

func (r *AccountsProposalsService) AddNote(accountId string, proposalId string, addnoterequest *AddNoteRequest) *AccountsProposalsAddNoteCall

AddNote: Create a new note and attach it to the proposal. The note is assigned a unique ID by the server. The proposal revision number will not increase when associated with a new note.

func (*AccountsProposalsService) CancelNegotiation

func (r *AccountsProposalsService) CancelNegotiation(accountId string, proposalId string, cancelnegotiationrequest *CancelNegotiationRequest) *AccountsProposalsCancelNegotiationCall

CancelNegotiation: Cancel an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized, but only cancels a negotiation unilaterally.

func (*AccountsProposalsService) CompleteSetup

func (r *AccountsProposalsService) CompleteSetup(accountId string, proposalId string, completesetuprequest *CompleteSetupRequest) *AccountsProposalsCompleteSetupCall

CompleteSetup: Update the given proposal to indicate that setup has been completed. This method is called by the buyer when the line items have been created on their end for a finalized proposal and all the required creatives have been uploaded using the creatives API. This call updates the `is_setup_completed` bit on the proposal and also notifies the seller. The server will advance the revision number of the most recent proposal.

func (*AccountsProposalsService) Create

func (r *AccountsProposalsService) Create(accountId string, proposal *Proposal) *AccountsProposalsCreateCall

Create: Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server.

func (*AccountsProposalsService) Get

func (r *AccountsProposalsService) Get(accountId string, proposalId string) *AccountsProposalsGetCall

Get: Gets a proposal given its ID. The proposal is returned at its head revision.

func (*AccountsProposalsService) List

List: List proposals. A filter expression (PQL query) may be specified to filter the results. To retrieve all finalized proposals, regardless if a proposal is being renegotiated, see the FinalizedProposals resource. Note that Bidder/ChildSeat relationships differ from the usual behavior. A Bidder account can only see its child seats' proposals by specifying the ChildSeat's accountId in the request path.

func (*AccountsProposalsService) Pause

func (r *AccountsProposalsService) Pause(accountId string, proposalId string, pauseproposalrequest *PauseProposalRequest) *AccountsProposalsPauseCall

Pause: Update the given proposal to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all deals in the proposal. It is a no-op to pause an already-paused proposal. It is an error to call PauseProposal for a proposal that is not finalized or renegotiating.

func (*AccountsProposalsService) Resume

func (r *AccountsProposalsService) Resume(accountId string, proposalId string, resumeproposalrequest *ResumeProposalRequest) *AccountsProposalsResumeCall

Resume: Update the given proposal to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all deals in the proposal. Note that if the `has_seller_paused` bit is also set, serving will not resume until the seller also resumes. It is a no-op to resume an already-running proposal. It is an error to call ResumeProposal for a proposal that is not finalized or renegotiating.

func (*AccountsProposalsService) Update

func (r *AccountsProposalsService) Update(accountId string, proposalId string, proposal *Proposal) *AccountsProposalsUpdateCall

Update: Update the given proposal at the client known revision number. If the server revision has advanced since the passed-in `proposal.proposal_revision`, an `ABORTED` error message will be returned. Only the buyer-modifiable fields of the proposal will be updated. Note that the deals in the proposal will be updated to match the passed-in copy. If a passed-in deal does not have a `deal_id`, the server will assign a new unique ID and create the deal. If passed-in deal has a `deal_id`, it will be updated to match the passed-in copy. Any existing deals not present in the passed-in proposal will be deleted. It is an error to pass in a deal with a `deal_id` not present at head.

type AccountsProposalsUpdateCall

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

func (*AccountsProposalsUpdateCall) 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 (*AccountsProposalsUpdateCall) Do

Do executes the "adexchangebuyer2.accounts.proposals.update" call. Exactly one of *Proposal or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Proposal.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 (*AccountsProposalsUpdateCall) Fields

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

func (*AccountsProposalsUpdateCall) Header

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

type AccountsPublisherProfilesGetCall

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

func (*AccountsPublisherProfilesGetCall) 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 (*AccountsPublisherProfilesGetCall) Do

Do executes the "adexchangebuyer2.accounts.publisherProfiles.get" call. Exactly one of *PublisherProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublisherProfile.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 (*AccountsPublisherProfilesGetCall) Fields

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

func (*AccountsPublisherProfilesGetCall) Header

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

func (*AccountsPublisherProfilesGetCall) 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 AccountsPublisherProfilesListCall

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

func (*AccountsPublisherProfilesListCall) 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 (*AccountsPublisherProfilesListCall) Do

Do executes the "adexchangebuyer2.accounts.publisherProfiles.list" call. Exactly one of *ListPublisherProfilesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListPublisherProfilesResponse.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 (*AccountsPublisherProfilesListCall) Fields

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

func (*AccountsPublisherProfilesListCall) Header

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

func (*AccountsPublisherProfilesListCall) 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 (*AccountsPublisherProfilesListCall) PageSize

PageSize sets the optional parameter "pageSize": Specify the number of results to include per page.

func (*AccountsPublisherProfilesListCall) PageToken

PageToken sets the optional parameter "pageToken": The page token as return from ListPublisherProfilesResponse.

func (*AccountsPublisherProfilesListCall) 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 AccountsPublisherProfilesService

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

func NewAccountsPublisherProfilesService

func NewAccountsPublisherProfilesService(s *Service) *AccountsPublisherProfilesService

func (*AccountsPublisherProfilesService) Get

func (r *AccountsPublisherProfilesService) Get(accountId string, publisherProfileId string) *AccountsPublisherProfilesGetCall

Get: Gets the requested publisher profile by id.

func (*AccountsPublisherProfilesService) List

List: List all publisher profiles visible to the buyer

type AccountsService

type AccountsService struct {
	Clients *AccountsClientsService

	Creatives *AccountsCreativesService

	FinalizedProposals *AccountsFinalizedProposalsService

	Products *AccountsProductsService

	Proposals *AccountsProposalsService

	PublisherProfiles *AccountsPublisherProfilesService
	// contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

type AdSize

type AdSize struct {
	// Height: The height of the ad slot in pixels. This field will be
	// present only when size type is `PIXEL`.
	Height int64 `json:"height,omitempty,string"`

	// SizeType: The size type of the ad slot.
	//
	// Possible values:
	//   "SIZE_TYPE_UNSPECIFIED" - A placeholder for an undefined size type.
	//   "PIXEL" - Ad slot with size specified by height and width in
	// pixels.
	//   "INTERSTITIAL" - Special size to describe an interstitial ad slot.
	//   "NATIVE" - Native (mobile) ads rendered by the publisher.
	//   "FLUID" - Fluid size (i.e., responsive size) can be resized
	// automatically with the change of outside environment.
	SizeType string `json:"sizeType,omitempty"`

	// Width: The width of the ad slot in pixels. This field will be present
	// only when size type is `PIXEL`.
	Width int64 `json:"width,omitempty,string"`

	// ForceSendFields is a list of field names (e.g. "Height") 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. "Height") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AdSize: Represents size of a single ad slot, or a creative.

func (*AdSize) MarshalJSON

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

type AdTechnologyProviders

type AdTechnologyProviders struct {
	// DetectedProviderIds: The detected ad technology provider IDs for this
	// creative. See
	// https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
	// mapping of provider ID to provided name, a privacy policy URL, and a
	// list of domains which can be attributed to the provider. If the
	// creative contains provider IDs that are outside of those listed in
	// the
	// `BidRequest.adslot.consented_providers_settings.consented_providers`
	// field on the (Google bid
	// protocol)[https://developers.google.com/authorized-buyers/rtb/download
	// s/realtime-bidding-proto] and the
	// `BidRequest.user.ext.consented_providers_settings.consented_providers`
	//  field on the (OpenRTB
	// protocol)[https://developers.google.com/authorized-buyers/rtb/download
	// s/openrtb-adx-proto], and a bid is submitted with that creative for
	// an impression that will serve to an EEA user, the bid will be
	// filtered before the auction.
	DetectedProviderIds googleapi.Int64s `json:"detectedProviderIds,omitempty"`

	// HasUnidentifiedProvider: Whether the creative contains an
	// unidentified ad technology provider. If true for a given creative,
	// any bid submitted with that creative for an impression that will
	// serve to an EEA user will be filtered before the auction.
	HasUnidentifiedProvider bool `json:"hasUnidentifiedProvider,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DetectedProviderIds")
	// 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. "DetectedProviderIds") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

AdTechnologyProviders: Detected ad technology provider information.

func (*AdTechnologyProviders) MarshalJSON

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

type AddDealAssociationRequest

type AddDealAssociationRequest struct {
	// Association: The association between a creative and a deal that
	// should be added.
	Association *CreativeDealAssociation `json:"association,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Association") 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. "Association") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AddDealAssociationRequest: A request for associating a deal and a creative.

func (*AddDealAssociationRequest) MarshalJSON

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

type AddNoteRequest

type AddNoteRequest struct {
	// Note: Details of the note to add.
	Note *Note `json:"note,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Note") 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. "Note") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AddNoteRequest: Request message for adding a note to a given proposal.

func (*AddNoteRequest) MarshalJSON

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

type AppContext

type AppContext struct {
	// AppTypes: The app types this restriction applies to.
	//
	// Possible values:
	//   "NATIVE" - Native app context.
	//   "WEB" - Mobile web app context.
	AppTypes []string `json:"appTypes,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AppTypes") 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. "AppTypes") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AppContext: Output only. The app type the restriction applies to for mobile device.

func (*AppContext) MarshalJSON

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

type AuctionContext

type AuctionContext struct {
	// AuctionTypes: The auction types this restriction applies to.
	//
	// Possible values:
	//   "OPEN_AUCTION" - The restriction applies to open auction.
	//   "DIRECT_DEALS" - The restriction applies to direct deals.
	AuctionTypes []string `json:"auctionTypes,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AuctionTypes") 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. "AuctionTypes") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

AuctionContext: Output only. The auction type the restriction applies to.

func (*AuctionContext) MarshalJSON

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

type BidMetricsRow

type BidMetricsRow struct {
	// Bids: The number of bids that Ad Exchange received from the buyer.
	Bids *MetricValue `json:"bids,omitempty"`

	// BidsInAuction: The number of bids that were permitted to compete in
	// the auction.
	BidsInAuction *MetricValue `json:"bidsInAuction,omitempty"`

	// BilledImpressions: The number of bids for which the buyer was billed.
	BilledImpressions *MetricValue `json:"billedImpressions,omitempty"`

	// ImpressionsWon: The number of bids that won the auction.
	ImpressionsWon *MetricValue `json:"impressionsWon,omitempty"`

	// MeasurableImpressions: The number of bids for which the corresponding
	// impression was measurable for viewability (as defined by Active
	// View).
	MeasurableImpressions *MetricValue `json:"measurableImpressions,omitempty"`

	// ReachedQueries: The number of bids that won the auction and also won
	// the mediation waterfall (if any).
	ReachedQueries *MetricValue `json:"reachedQueries,omitempty"`

	// RowDimensions: The values of all dimensions associated with metric
	// values in this row.
	RowDimensions *RowDimensions `json:"rowDimensions,omitempty"`

	// ViewableImpressions: The number of bids for which the corresponding
	// impression was viewable (as defined by Active View).
	ViewableImpressions *MetricValue `json:"viewableImpressions,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Bids") 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. "Bids") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

BidMetricsRow: The set of metrics that are measured in numbers of bids, representing how many bids with the specified dimension values were considered eligible at each stage of the bidding funnel;

func (*BidMetricsRow) MarshalJSON

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

type BidResponseWithoutBidsStatusRow

type BidResponseWithoutBidsStatusRow struct {
	// ImpressionCount: The number of impressions for which there was a bid
	// response with the specified status.
	ImpressionCount *MetricValue `json:"impressionCount,omitempty"`

	// RowDimensions: The values of all dimensions associated with metric
	// values in this row.
	RowDimensions *RowDimensions `json:"rowDimensions,omitempty"`

	// Status: The status specifying why the bid responses were considered
	// to have no applicable bids.
	//
	// Possible values:
	//   "STATUS_UNSPECIFIED" - A placeholder for an undefined status. This
	// value will never be returned in responses.
	//   "RESPONSES_WITHOUT_BIDS" - The response had no bids.
	//   "RESPONSES_WITHOUT_BIDS_FOR_ACCOUNT" - The response had no bids for
	// the specified account, though it may have included bids on behalf of
	// other accounts. Applies if: 1. Request is on behalf of a bidder and
	// an account filter is present. 2. Request is on behalf of a child
	// seat.
	//   "RESPONSES_WITHOUT_BIDS_FOR_DEAL" - The response had no bids for
	// the specified deal, though it may have included bids on other deals
	// on behalf of the account to which the deal belongs. If request is on
	// behalf of a bidder and an account filter is not present, this also
	// includes responses that have bids on behalf of accounts other than
	// the account to which the deal belongs.
	Status string `json:"status,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ImpressionCount") 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. "ImpressionCount") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

BidResponseWithoutBidsStatusRow: The number of impressions with the specified dimension values that were considered to have no applicable bids, as described by the specified status.

func (*BidResponseWithoutBidsStatusRow) MarshalJSON

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

type BiddersAccountsFilterSetsBidMetricsListCall

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

func (*BiddersAccountsFilterSetsBidMetricsListCall) 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 (*BiddersAccountsFilterSetsBidMetricsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list" call. Exactly one of *ListBidMetricsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListBidMetricsResponse.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 (*BiddersAccountsFilterSetsBidMetricsListCall) Fields

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

func (*BiddersAccountsFilterSetsBidMetricsListCall) Header

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

func (*BiddersAccountsFilterSetsBidMetricsListCall) 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 (*BiddersAccountsFilterSetsBidMetricsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsBidMetricsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListBidMetricsResponse.nextPageToken returned from the previous call to the bidMetrics.list method.

func (*BiddersAccountsFilterSetsBidMetricsListCall) 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 BiddersAccountsFilterSetsBidMetricsService

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

func NewBiddersAccountsFilterSetsBidMetricsService

func NewBiddersAccountsFilterSetsBidMetricsService(s *Service) *BiddersAccountsFilterSetsBidMetricsService

func (*BiddersAccountsFilterSetsBidMetricsService) List

List: Lists all metrics that are measured in terms of number of bids.

type BiddersAccountsFilterSetsBidResponseErrorsListCall

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

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) 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 (*BiddersAccountsFilterSetsBidResponseErrorsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.bidResponseErrors.list" call. Exactly one of *ListBidResponseErrorsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListBidResponseErrorsResponse.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 (*BiddersAccountsFilterSetsBidResponseErrorsListCall) Fields

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

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) Header

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

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) 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 (*BiddersAccountsFilterSetsBidResponseErrorsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListBidResponseErrorsResponse.nextPageToken returned from the previous call to the bidResponseErrors.list method.

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) 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 BiddersAccountsFilterSetsBidResponseErrorsService

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

func (*BiddersAccountsFilterSetsBidResponseErrorsService) List

List: List all errors that occurred in bid responses, with the number of bid responses affected for each reason.

type BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall

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

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) 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 (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.bidResponsesWithoutBids.list" call. Exactly one of *ListBidResponsesWithoutBidsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListBidResponsesWithoutBidsResponse.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 (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Fields

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

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Header

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

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) 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 (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListBidResponsesWithoutBidsResponse.nextPageToken returned from the previous call to the bidResponsesWithoutBids.list method.

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) 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 BiddersAccountsFilterSetsBidResponsesWithoutBidsService

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

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsService) List

List: List all reasons for which bid responses were considered to have no applicable bids, with the number of bid responses affected for each reason.

type BiddersAccountsFilterSetsCreateCall

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

func (*BiddersAccountsFilterSetsCreateCall) 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 (*BiddersAccountsFilterSetsCreateCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.create" call. Exactly one of *FilterSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FilterSet.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 (*BiddersAccountsFilterSetsCreateCall) Fields

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

func (*BiddersAccountsFilterSetsCreateCall) Header

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

func (*BiddersAccountsFilterSetsCreateCall) IsTransient

IsTransient sets the optional parameter "isTransient": Whether the filter set is transient, or should be persisted indefinitely. By default, filter sets are not transient. If transient, it will be available for at least 1 hour after creation.

type BiddersAccountsFilterSetsDeleteCall

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

func (*BiddersAccountsFilterSetsDeleteCall) 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 (*BiddersAccountsFilterSetsDeleteCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.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 (*BiddersAccountsFilterSetsDeleteCall) Fields

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

func (*BiddersAccountsFilterSetsDeleteCall) Header

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

type BiddersAccountsFilterSetsFilteredBidRequestsListCall

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

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) 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 (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.filteredBidRequests.list" call. Exactly one of *ListFilteredBidRequestsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListFilteredBidRequestsResponse.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 (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) Fields

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

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) Header

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

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) 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 (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListFilteredBidRequestsResponse.nextPageToken returned from the previous call to the filteredBidRequests.list method.

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) 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 BiddersAccountsFilterSetsFilteredBidRequestsService

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

func (*BiddersAccountsFilterSetsFilteredBidRequestsService) List

List: List all reasons that caused a bid request not to be sent for an impression, with the number of bid requests not sent for each reason.

type BiddersAccountsFilterSetsFilteredBidsCreativesListCall

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

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) 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 (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.creatives.list" call. Exactly one of *ListCreativeStatusBreakdownByCreativeResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCreativeStatusBreakdownByCreativeResponse.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 (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Fields

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

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Header

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

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) 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 (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListCreativeStatusBreakdownByCreativeResponse.nextPageToken returned from the previous call to the filteredBids.creatives.list method.

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) 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 BiddersAccountsFilterSetsFilteredBidsCreativesService

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

func (*BiddersAccountsFilterSetsFilteredBidsCreativesService) List

List: List all creatives associated with a specific reason for which bids were filtered, with the number of bids filtered for each creative.

type BiddersAccountsFilterSetsFilteredBidsDetailsListCall

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

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) 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 (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.details.list" call. Exactly one of *ListCreativeStatusBreakdownByDetailResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCreativeStatusBreakdownByDetailResponse.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 (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Fields

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

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Header

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

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) 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 (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListCreativeStatusBreakdownByDetailResponse.nextPageToken returned from the previous call to the filteredBids.details.list method.

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) 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 BiddersAccountsFilterSetsFilteredBidsDetailsService

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

func (*BiddersAccountsFilterSetsFilteredBidsDetailsService) List

List: List all details associated with a specific reason for which bids were filtered, with the number of bids filtered for each detail.

type BiddersAccountsFilterSetsFilteredBidsListCall

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

func (*BiddersAccountsFilterSetsFilteredBidsListCall) 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 (*BiddersAccountsFilterSetsFilteredBidsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.filteredBids.list" call. Exactly one of *ListFilteredBidsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListFilteredBidsResponse.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 (*BiddersAccountsFilterSetsFilteredBidsListCall) Fields

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

func (*BiddersAccountsFilterSetsFilteredBidsListCall) Header

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

func (*BiddersAccountsFilterSetsFilteredBidsListCall) 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 (*BiddersAccountsFilterSetsFilteredBidsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsFilteredBidsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListFilteredBidsResponse.nextPageToken returned from the previous call to the filteredBids.list method.

func (*BiddersAccountsFilterSetsFilteredBidsListCall) 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 BiddersAccountsFilterSetsFilteredBidsService

type BiddersAccountsFilterSetsFilteredBidsService struct {
	Creatives *BiddersAccountsFilterSetsFilteredBidsCreativesService

	Details *BiddersAccountsFilterSetsFilteredBidsDetailsService
	// contains filtered or unexported fields
}

func NewBiddersAccountsFilterSetsFilteredBidsService

func NewBiddersAccountsFilterSetsFilteredBidsService(s *Service) *BiddersAccountsFilterSetsFilteredBidsService

func (*BiddersAccountsFilterSetsFilteredBidsService) List

List: List all reasons for which bids were filtered, with the number of bids filtered for each reason.

type BiddersAccountsFilterSetsGetCall

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

func (*BiddersAccountsFilterSetsGetCall) 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 (*BiddersAccountsFilterSetsGetCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.get" call. Exactly one of *FilterSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FilterSet.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 (*BiddersAccountsFilterSetsGetCall) Fields

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

func (*BiddersAccountsFilterSetsGetCall) Header

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

func (*BiddersAccountsFilterSetsGetCall) 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 BiddersAccountsFilterSetsImpressionMetricsListCall

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

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) 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 (*BiddersAccountsFilterSetsImpressionMetricsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.impressionMetrics.list" call. Exactly one of *ListImpressionMetricsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListImpressionMetricsResponse.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 (*BiddersAccountsFilterSetsImpressionMetricsListCall) Fields

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

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) Header

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

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) 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 (*BiddersAccountsFilterSetsImpressionMetricsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListImpressionMetricsResponse.nextPageToken returned from the previous call to the impressionMetrics.list method.

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) 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 BiddersAccountsFilterSetsImpressionMetricsService

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

func (*BiddersAccountsFilterSetsImpressionMetricsService) List

List: Lists all metrics that are measured in terms of number of impressions.

type BiddersAccountsFilterSetsListCall

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

func (*BiddersAccountsFilterSetsListCall) 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 (*BiddersAccountsFilterSetsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.list" call. Exactly one of *ListFilterSetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListFilterSetsResponse.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 (*BiddersAccountsFilterSetsListCall) Fields

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

func (*BiddersAccountsFilterSetsListCall) Header

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

func (*BiddersAccountsFilterSetsListCall) 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 (*BiddersAccountsFilterSetsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListFilterSetsResponse.nextPageToken returned from the previous call to the accounts.filterSets.list method.

func (*BiddersAccountsFilterSetsListCall) 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 BiddersAccountsFilterSetsLosingBidsListCall

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

func (*BiddersAccountsFilterSetsLosingBidsListCall) 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 (*BiddersAccountsFilterSetsLosingBidsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.losingBids.list" call. Exactly one of *ListLosingBidsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLosingBidsResponse.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 (*BiddersAccountsFilterSetsLosingBidsListCall) Fields

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

func (*BiddersAccountsFilterSetsLosingBidsListCall) Header

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

func (*BiddersAccountsFilterSetsLosingBidsListCall) 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 (*BiddersAccountsFilterSetsLosingBidsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsLosingBidsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListLosingBidsResponse.nextPageToken returned from the previous call to the losingBids.list method.

func (*BiddersAccountsFilterSetsLosingBidsListCall) 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 BiddersAccountsFilterSetsLosingBidsService

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

func NewBiddersAccountsFilterSetsLosingBidsService

func NewBiddersAccountsFilterSetsLosingBidsService(s *Service) *BiddersAccountsFilterSetsLosingBidsService

func (*BiddersAccountsFilterSetsLosingBidsService) List

List: List all reasons for which bids lost in the auction, with the number of bids that lost for each reason.

type BiddersAccountsFilterSetsNonBillableWinningBidsListCall

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

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) 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 (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Do

Do executes the "adexchangebuyer2.bidders.accounts.filterSets.nonBillableWinningBids.list" call. Exactly one of *ListNonBillableWinningBidsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListNonBillableWinningBidsResponse.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 (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Fields

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

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Header

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

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) 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 (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListNonBillableWinningBidsResponse.nextPageToken returned from the previous call to the nonBillableWinningBids.list method.

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) 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 BiddersAccountsFilterSetsNonBillableWinningBidsService

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

func (*BiddersAccountsFilterSetsNonBillableWinningBidsService) List

List: List all reasons for which winning bids were not billable, with the number of bids not billed for each reason.

type BiddersAccountsFilterSetsService

func NewBiddersAccountsFilterSetsService

func NewBiddersAccountsFilterSetsService(s *Service) *BiddersAccountsFilterSetsService

func (*BiddersAccountsFilterSetsService) Create

Create: Creates the specified filter set for the account with the given account ID.

func (*BiddersAccountsFilterSetsService) Delete

Delete: Deletes the requested filter set from the account with the given account ID.

func (*BiddersAccountsFilterSetsService) Get

Get: Retrieves the requested filter set for the account with the given account ID.

func (*BiddersAccountsFilterSetsService) List

List: Lists all filter sets for the account with the given account ID.

type BiddersAccountsService

type BiddersAccountsService struct {
	FilterSets *BiddersAccountsFilterSetsService
	// contains filtered or unexported fields
}

func NewBiddersAccountsService

func NewBiddersAccountsService(s *Service) *BiddersAccountsService

type BiddersFilterSetsBidMetricsListCall

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

func (*BiddersFilterSetsBidMetricsListCall) 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 (*BiddersFilterSetsBidMetricsListCall) Do

Do executes the "adexchangebuyer2.bidders.filterSets.bidMetrics.list" call. Exactly one of *ListBidMetricsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListBidMetricsResponse.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 (*BiddersFilterSetsBidMetricsListCall) Fields

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

func (*BiddersFilterSetsBidMetricsListCall) Header

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

func (*BiddersFilterSetsBidMetricsListCall) 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 (*BiddersFilterSetsBidMetricsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersFilterSetsBidMetricsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListBidMetricsResponse.nextPageToken returned from the previous call to the bidMetrics.list method.

func (*BiddersFilterSetsBidMetricsListCall) 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 BiddersFilterSetsBidMetricsService

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

func NewBiddersFilterSetsBidMetricsService

func NewBiddersFilterSetsBidMetricsService(s *Service) *BiddersFilterSetsBidMetricsService

func (*BiddersFilterSetsBidMetricsService) List

List: Lists all metrics that are measured in terms of number of bids.

type BiddersFilterSetsBidResponseErrorsListCall

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

func (*BiddersFilterSetsBidResponseErrorsListCall) 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 (*BiddersFilterSetsBidResponseErrorsListCall) Do

Do executes the "adexchangebuyer2.bidders.filterSets.bidResponseErrors.list" call. Exactly one of *ListBidResponseErrorsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListBidResponseErrorsResponse.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 (*BiddersFilterSetsBidResponseErrorsListCall) Fields

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

func (*BiddersFilterSetsBidResponseErrorsListCall) Header

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

func (*BiddersFilterSetsBidResponseErrorsListCall) 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 (*BiddersFilterSetsBidResponseErrorsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersFilterSetsBidResponseErrorsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListBidResponseErrorsResponse.nextPageToken returned from the previous call to the bidResponseErrors.list method.

func (*BiddersFilterSetsBidResponseErrorsListCall) 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 BiddersFilterSetsBidResponseErrorsService

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

func NewBiddersFilterSetsBidResponseErrorsService

func NewBiddersFilterSetsBidResponseErrorsService(s *Service) *BiddersFilterSetsBidResponseErrorsService

func (*BiddersFilterSetsBidResponseErrorsService) List

List: List all errors that occurred in bid responses, with the number of bid responses affected for each reason.

type BiddersFilterSetsBidResponsesWithoutBidsListCall

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

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) 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 (*BiddersFilterSetsBidResponsesWithoutBidsListCall) Do

Do executes the "adexchangebuyer2.bidders.filterSets.bidResponsesWithoutBids.list" call. Exactly one of *ListBidResponsesWithoutBidsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListBidResponsesWithoutBidsResponse.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 (*BiddersFilterSetsBidResponsesWithoutBidsListCall) Fields

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

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) Header

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

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) 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 (*BiddersFilterSetsBidResponsesWithoutBidsListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return. Typically, this is the value of ListBidResponsesWithoutBidsResponse.nextPageToken returned from the previous call to the bidResponsesWithoutBids.list method.

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) 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 BiddersFilterSetsBidResponsesWithoutBidsService

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

func (*BiddersFilterSetsBidResponsesWithoutBidsService) List

List: List all reasons for which bid responses were considered to have no applicable bids, with the number of bid responses affected for each reason.

type BiddersFilterSetsCreateCall

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

func (*BiddersFilterSetsCreateCall) 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 (*BiddersFilterSetsCreateCall) Do

Do executes the "adexchangebuyer2.bidders.filterSets.create" call. Exactly one of *FilterSet or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FilterSet.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 (*BiddersFilterSetsCreateCall) Fields

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

func (*BiddersFilterSetsCreateCall) Header

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

func (*BiddersFilterSetsCreateCall) IsTransient

func (c *BiddersFilterSetsCreateCall) IsTransient(isTransient bool) *BiddersFilterSetsCreateCall

IsTransient sets the optional parameter "isTransient": Whether the filter set is transient, or should be persisted indefinitely. By default, filter sets are not transient. If transient, it will be available for at least 1 hour after creation.

type BiddersFilterSetsDeleteCall

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

func (*BiddersFilterSetsDeleteCall) 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 (*BiddersFilterSetsDeleteCall) Do

Do executes the "adexchangebuyer2.bidders.filterSets.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 (*BiddersFilterSetsDeleteCall) Fields

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

func (*BiddersFilterSetsDeleteCall) Header

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

type BiddersFilterSetsFilteredBidRequestsListCall

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