api: google.golang.org/api/adexchangebuyer2/v2beta1 Index | Files

package adexchangebuyer2

import "google.golang.org/api/adexchangebuyer2/v2beta1"

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

Package Files

adexchangebuyer2-gen.go

Constants

const (
    // Manage your Ad Exchange buyer account configuration
    AdexchangeBuyerScope = "https://www.googleapis.com/auth/adexchange.buyer"
)

OAuth2 scopes used by this API.

type AbsoluteDateRange Uses

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 Uses

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

type AcceptProposalRequest Uses

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 Uses

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

type AccountsClientsCreateCall Uses

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

func (*AccountsClientsCreateCall) Context Uses

func (c *AccountsClientsCreateCall) Context(ctx context.Context) *AccountsClientsCreateCall

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 Uses

func (c *AccountsClientsCreateCall) Do(opts ...googleapi.CallOption) (*Client, error)

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 Uses

func (c *AccountsClientsCreateCall) Fields(s ...googleapi.Field) *AccountsClientsCreateCall

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

func (*AccountsClientsCreateCall) Header Uses

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

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

type AccountsClientsGetCall Uses

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

func (*AccountsClientsGetCall) Context Uses

func (c *AccountsClientsGetCall) Context(ctx context.Context) *AccountsClientsGetCall

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 Uses

func (c *AccountsClientsGetCall) Do(opts ...googleapi.CallOption) (*Client, error)

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 Uses

func (c *AccountsClientsGetCall) Fields(s ...googleapi.Field) *AccountsClientsGetCall

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

func (*AccountsClientsGetCall) Header Uses

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 Uses

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 Uses

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

func (*AccountsClientsInvitationsCreateCall) Context Uses

func (c *AccountsClientsInvitationsCreateCall) Context(ctx context.Context) *AccountsClientsInvitationsCreateCall

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 Uses

func (c *AccountsClientsInvitationsCreateCall) Do(opts ...googleapi.CallOption) (*ClientUserInvitation, error)

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 Uses

func (c *AccountsClientsInvitationsCreateCall) Fields(s ...googleapi.Field) *AccountsClientsInvitationsCreateCall

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

func (*AccountsClientsInvitationsCreateCall) Header Uses

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

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

type AccountsClientsInvitationsGetCall Uses

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

func (*AccountsClientsInvitationsGetCall) Context Uses

func (c *AccountsClientsInvitationsGetCall) Context(ctx context.Context) *AccountsClientsInvitationsGetCall

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 Uses

func (c *AccountsClientsInvitationsGetCall) Do(opts ...googleapi.CallOption) (*ClientUserInvitation, error)

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 Uses

func (c *AccountsClientsInvitationsGetCall) Fields(s ...googleapi.Field) *AccountsClientsInvitationsGetCall

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

func (*AccountsClientsInvitationsGetCall) Header Uses

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

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

func (*AccountsClientsInvitationsGetCall) IfNoneMatch Uses

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

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 Uses

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

func (*AccountsClientsInvitationsListCall) Context Uses

func (c *AccountsClientsInvitationsListCall) Context(ctx context.Context) *AccountsClientsInvitationsListCall

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 Uses

func (c *AccountsClientsInvitationsListCall) Do(opts ...googleapi.CallOption) (*ListClientUserInvitationsResponse, error)

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 Uses

func (c *AccountsClientsInvitationsListCall) Fields(s ...googleapi.Field) *AccountsClientsInvitationsListCall

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

func (*AccountsClientsInvitationsListCall) Header Uses

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

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

func (*AccountsClientsInvitationsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *AccountsClientsInvitationsListCall) Pages(ctx context.Context, f func(*ListClientUserInvitationsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsClientsInvitationsService Uses

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

func NewAccountsClientsInvitationsService Uses

func NewAccountsClientsInvitationsService(s *Service) *AccountsClientsInvitationsService

func (*AccountsClientsInvitationsService) Create Uses

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 Uses

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

Get: Retrieves an existing client user invitation.

func (*AccountsClientsInvitationsService) List Uses

func (r *AccountsClientsInvitationsService) List(accountId int64, clientAccountId string) *AccountsClientsInvitationsListCall

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

type AccountsClientsListCall Uses

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

func (*AccountsClientsListCall) Context Uses

func (c *AccountsClientsListCall) Context(ctx context.Context) *AccountsClientsListCall

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 Uses

func (c *AccountsClientsListCall) Do(opts ...googleapi.CallOption) (*ListClientsResponse, error)

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 Uses

func (c *AccountsClientsListCall) Fields(s ...googleapi.Field) *AccountsClientsListCall

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

func (*AccountsClientsListCall) Header Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *AccountsClientsListCall) Pages(ctx context.Context, f func(*ListClientsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountsClientsListCall) PartnerClientId Uses

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 Uses

type AccountsClientsService struct {
    Invitations *AccountsClientsInvitationsService

    Users *AccountsClientsUsersService
    // contains filtered or unexported fields
}

func NewAccountsClientsService Uses

func NewAccountsClientsService(s *Service) *AccountsClientsService

func (*AccountsClientsService) Create Uses

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

Create: Creates a new client buyer.

func (*AccountsClientsService) Get Uses

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

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

func (*AccountsClientsService) List Uses

func (r *AccountsClientsService) List(accountId int64) *AccountsClientsListCall

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

func (*AccountsClientsService) Update Uses

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

Update: Updates an existing client buyer.

type AccountsClientsUpdateCall Uses

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

func (*AccountsClientsUpdateCall) Context Uses

func (c *AccountsClientsUpdateCall) Context(ctx context.Context) *AccountsClientsUpdateCall

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 Uses

func (c *AccountsClientsUpdateCall) Do(opts ...googleapi.CallOption) (*Client, error)

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 Uses

func (c *AccountsClientsUpdateCall) Fields(s ...googleapi.Field) *AccountsClientsUpdateCall

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

func (*AccountsClientsUpdateCall) Header Uses

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

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

type AccountsClientsUsersGetCall Uses

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

func (*AccountsClientsUsersGetCall) Context Uses

func (c *AccountsClientsUsersGetCall) Context(ctx context.Context) *AccountsClientsUsersGetCall

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 Uses

func (c *AccountsClientsUsersGetCall) Do(opts ...googleapi.CallOption) (*ClientUser, error)

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 Uses

func (c *AccountsClientsUsersGetCall) Fields(s ...googleapi.Field) *AccountsClientsUsersGetCall

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

func (*AccountsClientsUsersGetCall) Header Uses

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

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

func (*AccountsClientsUsersGetCall) IfNoneMatch Uses

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

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 Uses

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

func (*AccountsClientsUsersListCall) Context Uses

func (c *AccountsClientsUsersListCall) Context(ctx context.Context) *AccountsClientsUsersListCall

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 Uses

func (c *AccountsClientsUsersListCall) Do(opts ...googleapi.CallOption) (*ListClientUsersResponse, error)

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 Uses

func (c *AccountsClientsUsersListCall) Fields(s ...googleapi.Field) *AccountsClientsUsersListCall

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

func (*AccountsClientsUsersListCall) Header Uses

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

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

func (*AccountsClientsUsersListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *AccountsClientsUsersListCall) Pages(ctx context.Context, f func(*ListClientUsersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsClientsUsersService Uses

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

func NewAccountsClientsUsersService Uses

func NewAccountsClientsUsersService(s *Service) *AccountsClientsUsersService

func (*AccountsClientsUsersService) Get Uses

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

Get: Retrieves an existing client user.

func (*AccountsClientsUsersService) List Uses

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 Uses

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 Uses

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

func (*AccountsClientsUsersUpdateCall) Context Uses

func (c *AccountsClientsUsersUpdateCall) Context(ctx context.Context) *AccountsClientsUsersUpdateCall

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 Uses

func (c *AccountsClientsUsersUpdateCall) Do(opts ...googleapi.CallOption) (*ClientUser, error)

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 Uses

func (c *AccountsClientsUsersUpdateCall) Fields(s ...googleapi.Field) *AccountsClientsUsersUpdateCall

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

func (*AccountsClientsUsersUpdateCall) Header Uses

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

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

type AccountsCreativesCreateCall Uses

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

func (*AccountsCreativesCreateCall) Context Uses

func (c *AccountsCreativesCreateCall) Context(ctx context.Context) *AccountsCreativesCreateCall

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 Uses

func (c *AccountsCreativesCreateCall) Do(opts ...googleapi.CallOption) (*Creative, error)

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 Uses

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"
"FORCE_ENABLE_DUPLICATE_IDS"

func (*AccountsCreativesCreateCall) Fields Uses

func (c *AccountsCreativesCreateCall) Fields(s ...googleapi.Field) *AccountsCreativesCreateCall

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

func (*AccountsCreativesCreateCall) Header Uses

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

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

type AccountsCreativesDealAssociationsAddCall Uses

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

func (*AccountsCreativesDealAssociationsAddCall) Context Uses

func (c *AccountsCreativesDealAssociationsAddCall) Context(ctx context.Context) *AccountsCreativesDealAssociationsAddCall

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 Uses

func (c *AccountsCreativesDealAssociationsAddCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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 Uses

func (c *AccountsCreativesDealAssociationsAddCall) Fields(s ...googleapi.Field) *AccountsCreativesDealAssociationsAddCall

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

func (*AccountsCreativesDealAssociationsAddCall) Header Uses

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

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

type AccountsCreativesDealAssociationsListCall Uses

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

func (*AccountsCreativesDealAssociationsListCall) Context Uses

func (c *AccountsCreativesDealAssociationsListCall) Context(ctx context.Context) *AccountsCreativesDealAssociationsListCall

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 Uses

func (c *AccountsCreativesDealAssociationsListCall) Do(opts ...googleapi.CallOption) (*ListDealAssociationsResponse, error)

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 Uses

func (c *AccountsCreativesDealAssociationsListCall) Fields(s ...googleapi.Field) *AccountsCreativesDealAssociationsListCall

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

func (*AccountsCreativesDealAssociationsListCall) Header Uses

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

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

func (*AccountsCreativesDealAssociationsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *AccountsCreativesDealAssociationsListCall) Pages(ctx context.Context, f func(*ListDealAssociationsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountsCreativesDealAssociationsListCall) Query Uses

func (c *AccountsCreativesDealAssociationsListCall) Query(query string) *AccountsCreativesDealAssociationsListCall

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: <ul> <li>accountId=<i>account_id_string</i> <li>creativeId=<i>cre ative_id_string</i> <li>dealsId=<i>deals_id_string</i> <li>dealsStatus :{approved, conditionally_approved, disapproved,

not_checked}

<li>openAuctionStatus:{approved, conditionally_approved, disapproved,

not_checked}

</ul> Example: 'dealsId=12345 AND dealsStatus:disapproved'

type AccountsCreativesDealAssociationsRemoveCall Uses

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

func (*AccountsCreativesDealAssociationsRemoveCall) Context Uses

func (c *AccountsCreativesDealAssociationsRemoveCall) Context(ctx context.Context) *AccountsCreativesDealAssociationsRemoveCall

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 Uses

func (c *AccountsCreativesDealAssociationsRemoveCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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 Uses

func (c *AccountsCreativesDealAssociationsRemoveCall) Fields(s ...googleapi.Field) *AccountsCreativesDealAssociationsRemoveCall

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

func (*AccountsCreativesDealAssociationsRemoveCall) Header Uses

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

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

type AccountsCreativesDealAssociationsService Uses

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

func NewAccountsCreativesDealAssociationsService Uses

func NewAccountsCreativesDealAssociationsService(s *Service) *AccountsCreativesDealAssociationsService

func (*AccountsCreativesDealAssociationsService) Add Uses

func (r *AccountsCreativesDealAssociationsService) Add(accountId string, creativeId string, adddealassociationrequest *AddDealAssociationRequest) *AccountsCreativesDealAssociationsAddCall

Add: Associate an existing deal with a creative.

func (*AccountsCreativesDealAssociationsService) List Uses

func (r *AccountsCreativesDealAssociationsService) List(accountId string, creativeId string) *AccountsCreativesDealAssociationsListCall

List: List all creative-deal associations.

func (*AccountsCreativesDealAssociationsService) Remove Uses

func (r *AccountsCreativesDealAssociationsService) Remove(accountId string, creativeId string, removedealassociationrequest *RemoveDealAssociationRequest) *AccountsCreativesDealAssociationsRemoveCall

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

type AccountsCreativesGetCall Uses

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

func (*AccountsCreativesGetCall) Context Uses

func (c *AccountsCreativesGetCall) Context(ctx context.Context) *AccountsCreativesGetCall

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 Uses

func (c *AccountsCreativesGetCall) Do(opts ...googleapi.CallOption) (*Creative, error)

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 Uses

func (c *AccountsCreativesGetCall) Fields(s ...googleapi.Field) *AccountsCreativesGetCall

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

func (*AccountsCreativesGetCall) Header Uses

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 Uses

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 Uses

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

func (*AccountsCreativesListCall) Context Uses

func (c *AccountsCreativesListCall) Context(ctx context.Context) *AccountsCreativesListCall

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 Uses

func (c *AccountsCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreativesResponse, error)

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 Uses

func (c *AccountsCreativesListCall) Fields(s ...googleapi.Field) *AccountsCreativesListCall

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

func (*AccountsCreativesListCall) Header Uses

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

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

func (*AccountsCreativesListCall) IfNoneMatch Uses

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 Uses

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

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 Uses

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

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 Uses

func (c *AccountsCreativesListCall) Pages(ctx context.Context, f func(*ListCreativesResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*AccountsCreativesListCall) Query Uses

func (c *AccountsCreativesListCall) Query(query string) *AccountsCreativesListCall

Query sets the optional parameter "query": An optional query string to filter creatives. If no filter is specified, all active creatives will be returned. <p>Supported queries are: <ul> <li>accountId=<i>account_id_string</i> <li>creativeId=<i>cre ative_id_string</i> <li>dealsStatus: {approved, conditionally_approved, disapproved,

not_checked}

<li>openAuctionStatus: {approved, conditionally_approved, disapproved,

not_checked}

<li>attribute: {a numeric attribute from the list of attributes} <li>disapprovalReason: {a reason from DisapprovalReason} </ul> Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:unacceptable_content) OR attribute:47'

type AccountsCreativesService Uses

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

func NewAccountsCreativesService Uses

func NewAccountsCreativesService(s *Service) *AccountsCreativesService

func (*AccountsCreativesService) Create Uses

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

Create: Creates a creative.

func (*AccountsCreativesService) Get Uses

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

Get: Gets a creative.

func (*AccountsCreativesService) List Uses

func (r *AccountsCreativesService) List(accountId string) *AccountsCreativesListCall

List: Lists creatives.

func (*AccountsCreativesService) StopWatching Uses

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 Uses

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

Update: Updates a creative.

func (*AccountsCreativesService) Watch Uses

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 Uses

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

func (*AccountsCreativesStopWatchingCall) Context Uses

func (c *AccountsCreativesStopWatchingCall) Context(ctx context.Context) *AccountsCreativesStopWatchingCall

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 Uses

func (c *AccountsCreativesStopWatchingCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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 Uses

func (c *AccountsCreativesStopWatchingCall) Fields(s ...googleapi.Field) *AccountsCreativesStopWatchingCall

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

func (*AccountsCreativesStopWatchingCall) Header Uses

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

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

type AccountsCreativesUpdateCall Uses

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

func (*AccountsCreativesUpdateCall) Context Uses

func (c *AccountsCreativesUpdateCall) Context(ctx context.Context) *AccountsCreativesUpdateCall

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 Uses

func (c *AccountsCreativesUpdateCall) Do(opts ...googleapi.CallOption) (*Creative, error)

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 Uses

func (c *AccountsCreativesUpdateCall) Fields(s ...googleapi.Field) *AccountsCreativesUpdateCall

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

func (*AccountsCreativesUpdateCall) Header Uses

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

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

type AccountsCreativesWatchCall Uses

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

func (*AccountsCreativesWatchCall) Context Uses

func (c *AccountsCreativesWatchCall) Context(ctx context.Context) *AccountsCreativesWatchCall

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 Uses

func (c *AccountsCreativesWatchCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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 Uses

func (c *AccountsCreativesWatchCall) Fields(s ...googleapi.Field) *AccountsCreativesWatchCall

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

func (*AccountsCreativesWatchCall) Header Uses

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

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

type AccountsFinalizedProposalsListCall Uses

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

func (*AccountsFinalizedProposalsListCall) Context Uses

func (c *AccountsFinalizedProposalsListCall) Context(ctx context.Context) *AccountsFinalizedProposalsListCall

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 Uses

func (c *AccountsFinalizedProposalsListCall) Do(opts ...googleapi.CallOption) (*ListProposalsResponse, error)

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 Uses

func (c *AccountsFinalizedProposalsListCall) Fields(s ...googleapi.Field) *AccountsFinalizedProposalsListCall

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

func (*AccountsFinalizedProposalsListCall) Filter Uses

func (c *AccountsFinalizedProposalsListCall) Filter(filter string) *AccountsFinalizedProposalsListCall

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 Uses

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

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"
"PQL"
"LIST_FILTER"

func (*AccountsFinalizedProposalsListCall) Header Uses

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

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

func (*AccountsFinalizedProposalsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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

func (*AccountsFinalizedProposalsListCall) Pages Uses

func (c *AccountsFinalizedProposalsListCall) Pages(ctx context.Context, f func(*ListProposalsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsFinalizedProposalsService Uses

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

func NewAccountsFinalizedProposalsService Uses

func NewAccountsFinalizedProposalsService(s *Service) *AccountsFinalizedProposalsService

func (*AccountsFinalizedProposalsService) List Uses

func (r *AccountsFinalizedProposalsService) List(accountId string) *AccountsFinalizedProposalsListCall

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 Uses

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

func (*AccountsProductsGetCall) Context Uses

func (c *AccountsProductsGetCall) Context(ctx context.Context) *AccountsProductsGetCall

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 Uses

func (c *AccountsProductsGetCall) Do(opts ...googleapi.CallOption) (*Product, error)

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 Uses

func (c *AccountsProductsGetCall) Fields(s ...googleapi.Field) *AccountsProductsGetCall

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

func (*AccountsProductsGetCall) Header Uses

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 Uses

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 Uses

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

func (*AccountsProductsListCall) Context Uses

func (c *AccountsProductsListCall) Context(ctx context.Context) *AccountsProductsListCall

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 Uses

func (c *AccountsProductsListCall) Do(opts ...googleapi.CallOption) (*ListProductsResponse, error)

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 Uses

func (c *AccountsProductsListCall) Fields(s ...googleapi.Field) *AccountsProductsListCall

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

func (*AccountsProductsListCall) Filter Uses

func (c *AccountsProductsListCall) Filter(filter string) *AccountsProductsListCall

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 Uses

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 Uses

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 Uses

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

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 Uses

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

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

func (*AccountsProductsListCall) Pages Uses

func (c *AccountsProductsListCall) Pages(ctx context.Context, f func(*ListProductsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsProductsService Uses

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

func NewAccountsProductsService Uses

func NewAccountsProductsService(s *Service) *AccountsProductsService

func (*AccountsProductsService) Get Uses

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

Get: Gets the requested product by ID.

func (*AccountsProductsService) List Uses

func (r *AccountsProductsService) List(accountId string) *AccountsProductsListCall

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

type AccountsProposalsAcceptCall Uses

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

func (*AccountsProposalsAcceptCall) Context Uses

func (c *AccountsProposalsAcceptCall) Context(ctx context.Context) *AccountsProposalsAcceptCall

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 Uses

func (c *AccountsProposalsAcceptCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsAcceptCall) Fields(s ...googleapi.Field) *AccountsProposalsAcceptCall

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

func (*AccountsProposalsAcceptCall) Header Uses

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

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

type AccountsProposalsAddNoteCall Uses

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

func (*AccountsProposalsAddNoteCall) Context Uses

func (c *AccountsProposalsAddNoteCall) Context(ctx context.Context) *AccountsProposalsAddNoteCall

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 Uses

func (c *AccountsProposalsAddNoteCall) Do(opts ...googleapi.CallOption) (*Note, error)

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 Uses

func (c *AccountsProposalsAddNoteCall) Fields(s ...googleapi.Field) *AccountsProposalsAddNoteCall

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

func (*AccountsProposalsAddNoteCall) Header Uses

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

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

type AccountsProposalsCancelNegotiationCall Uses

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

func (*AccountsProposalsCancelNegotiationCall) Context Uses

func (c *AccountsProposalsCancelNegotiationCall) Context(ctx context.Context) *AccountsProposalsCancelNegotiationCall

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 Uses

func (c *AccountsProposalsCancelNegotiationCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsCancelNegotiationCall) Fields(s ...googleapi.Field) *AccountsProposalsCancelNegotiationCall

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

func (*AccountsProposalsCancelNegotiationCall) Header Uses

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

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

type AccountsProposalsCompleteSetupCall Uses

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

func (*AccountsProposalsCompleteSetupCall) Context Uses

func (c *AccountsProposalsCompleteSetupCall) Context(ctx context.Context) *AccountsProposalsCompleteSetupCall

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 Uses

func (c *AccountsProposalsCompleteSetupCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsCompleteSetupCall) Fields(s ...googleapi.Field) *AccountsProposalsCompleteSetupCall

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

func (*AccountsProposalsCompleteSetupCall) Header Uses

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

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

type AccountsProposalsCreateCall Uses

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

func (*AccountsProposalsCreateCall) Context Uses

func (c *AccountsProposalsCreateCall) Context(ctx context.Context) *AccountsProposalsCreateCall

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 Uses

func (c *AccountsProposalsCreateCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsCreateCall) Fields(s ...googleapi.Field) *AccountsProposalsCreateCall

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

func (*AccountsProposalsCreateCall) Header Uses

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

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

type AccountsProposalsGetCall Uses

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

func (*AccountsProposalsGetCall) Context Uses

func (c *AccountsProposalsGetCall) Context(ctx context.Context) *AccountsProposalsGetCall

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 Uses

func (c *AccountsProposalsGetCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsGetCall) Fields(s ...googleapi.Field) *AccountsProposalsGetCall

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

func (*AccountsProposalsGetCall) Header Uses

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 Uses

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 Uses

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

func (*AccountsProposalsListCall) Context Uses

func (c *AccountsProposalsListCall) Context(ctx context.Context) *AccountsProposalsListCall

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 Uses

func (c *AccountsProposalsListCall) Do(opts ...googleapi.CallOption) (*ListProposalsResponse, error)

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 Uses

func (c *AccountsProposalsListCall) Fields(s ...googleapi.Field) *AccountsProposalsListCall

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

func (*AccountsProposalsListCall) Filter Uses

func (c *AccountsProposalsListCall) Filter(filter string) *AccountsProposalsListCall

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 Uses

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"
"PQL"
"LIST_FILTER"

func (*AccountsProposalsListCall) Header Uses

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

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

func (*AccountsProposalsListCall) IfNoneMatch Uses

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 Uses

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

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 Uses

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

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

func (*AccountsProposalsListCall) Pages Uses

func (c *AccountsProposalsListCall) Pages(ctx context.Context, f func(*ListProposalsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsProposalsPauseCall Uses

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

func (*AccountsProposalsPauseCall) Context Uses

func (c *AccountsProposalsPauseCall) Context(ctx context.Context) *AccountsProposalsPauseCall

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 Uses

func (c *AccountsProposalsPauseCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsPauseCall) Fields(s ...googleapi.Field) *AccountsProposalsPauseCall

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

func (*AccountsProposalsPauseCall) Header Uses

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

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

type AccountsProposalsResumeCall Uses

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

func (*AccountsProposalsResumeCall) Context Uses

func (c *AccountsProposalsResumeCall) Context(ctx context.Context) *AccountsProposalsResumeCall

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 Uses

func (c *AccountsProposalsResumeCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsResumeCall) Fields(s ...googleapi.Field) *AccountsProposalsResumeCall

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

func (*AccountsProposalsResumeCall) Header Uses

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

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

type AccountsProposalsService Uses

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

func NewAccountsProposalsService Uses

func NewAccountsProposalsService(s *Service) *AccountsProposalsService

func (*AccountsProposalsService) Accept Uses

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`.

func (*AccountsProposalsService) AddNote Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (r *AccountsProposalsService) List(accountId string) *AccountsProposalsListCall

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 Uses

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 Uses

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 Uses

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 Uses

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

func (*AccountsProposalsUpdateCall) Context Uses

func (c *AccountsProposalsUpdateCall) Context(ctx context.Context) *AccountsProposalsUpdateCall

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 Uses

func (c *AccountsProposalsUpdateCall) Do(opts ...googleapi.CallOption) (*Proposal, error)

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 Uses

func (c *AccountsProposalsUpdateCall) Fields(s ...googleapi.Field) *AccountsProposalsUpdateCall

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

func (*AccountsProposalsUpdateCall) Header Uses

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

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

type AccountsPublisherProfilesGetCall Uses

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

func (*AccountsPublisherProfilesGetCall) Context Uses

func (c *AccountsPublisherProfilesGetCall) Context(ctx context.Context) *AccountsPublisherProfilesGetCall

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 Uses

func (c *AccountsPublisherProfilesGetCall) Do(opts ...googleapi.CallOption) (*PublisherProfile, error)

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 Uses

func (c *AccountsPublisherProfilesGetCall) Fields(s ...googleapi.Field) *AccountsPublisherProfilesGetCall

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

func (*AccountsPublisherProfilesGetCall) Header Uses

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

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

func (*AccountsPublisherProfilesGetCall) IfNoneMatch Uses

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

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 Uses

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

func (*AccountsPublisherProfilesListCall) Context Uses

func (c *AccountsPublisherProfilesListCall) Context(ctx context.Context) *AccountsPublisherProfilesListCall

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 Uses

func (c *AccountsPublisherProfilesListCall) Do(opts ...googleapi.CallOption) (*ListPublisherProfilesResponse, error)

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 Uses

func (c *AccountsPublisherProfilesListCall) Fields(s ...googleapi.Field) *AccountsPublisherProfilesListCall

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

func (*AccountsPublisherProfilesListCall) Header Uses

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

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

func (*AccountsPublisherProfilesListCall) IfNoneMatch Uses

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

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 Uses

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

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

func (*AccountsPublisherProfilesListCall) PageToken Uses

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

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

func (*AccountsPublisherProfilesListCall) Pages Uses

func (c *AccountsPublisherProfilesListCall) Pages(ctx context.Context, f func(*ListPublisherProfilesResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AccountsPublisherProfilesService Uses

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

func NewAccountsPublisherProfilesService Uses

func NewAccountsPublisherProfilesService(s *Service) *AccountsPublisherProfilesService

func (*AccountsPublisherProfilesService) Get Uses

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

Get: Gets the requested publisher profile by id.

func (*AccountsPublisherProfilesService) List Uses

func (r *AccountsPublisherProfilesService) List(accountId string) *AccountsPublisherProfilesListCall

List: List all publisher profiles visible to the buyer

type AccountsService Uses

type AccountsService struct {
    Clients *AccountsClientsService

    Creatives *AccountsCreativesService

    FinalizedProposals *AccountsFinalizedProposalsService

    Products *AccountsProductsService

    Proposals *AccountsProposalsService

    PublisherProfiles *AccountsPublisherProfilesService
    // contains filtered or unexported fields
}

func NewAccountsService Uses

func NewAccountsService(s *Service) *AccountsService

type AdSize Uses

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 Uses

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

type AdTechnologyProviders Uses

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`
    // f
    // ield on the (Google
    // bid
    // protocol)[https://developers.google.com/authorized-buyers/rtb/down
    // loads/realtime-bidding-proto]
    // and
    // the
    // `BidRequest.user.ext.consented_providers_settings.consented_provid
    // ers`
    // field on the
    // (OpenRTB
    // protocol)[https://developers.google.com/authorized-buyers/rtb
    // /downloads/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 Uses

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

type AddDealAssociationRequest Uses

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 Uses

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

type AddNoteRequest Uses

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 Uses

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

type AppContext Uses

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 Uses

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

type AuctionContext Uses

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 Uses

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

type BidMetricsRow Uses

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 an impression.
    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"`

    // 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 Uses

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

type BidResponseWithoutBidsStatusRow Uses

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.
    //   "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.
    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 Uses

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

type BiddersAccountsFilterSetsBidMetricsListCall Uses

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

func (*BiddersAccountsFilterSetsBidMetricsListCall) Context Uses

func (c *BiddersAccountsFilterSetsBidMetricsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsBidMetricsListCall

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 Uses

func (c *BiddersAccountsFilterSetsBidMetricsListCall) Do(opts ...googleapi.CallOption) (*ListBidMetricsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsBidMetricsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsBidMetricsListCall

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

func (*BiddersAccountsFilterSetsBidMetricsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsBidMetricsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsBidMetricsListCall) Pages(ctx context.Context, f func(*ListBidMetricsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsBidMetricsService Uses

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

func NewBiddersAccountsFilterSetsBidMetricsService Uses

func NewBiddersAccountsFilterSetsBidMetricsService(s *Service) *BiddersAccountsFilterSetsBidMetricsService

func (*BiddersAccountsFilterSetsBidMetricsService) List Uses

func (r *BiddersAccountsFilterSetsBidMetricsService) List(filterSetName string) *BiddersAccountsFilterSetsBidMetricsListCall

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

type BiddersAccountsFilterSetsBidResponseErrorsListCall Uses

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

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) Context Uses

func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsBidResponseErrorsListCall

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 Uses

func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) Do(opts ...googleapi.CallOption) (*ListBidResponseErrorsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsBidResponseErrorsListCall

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

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsBidResponseErrorsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) Pages(ctx context.Context, f func(*ListBidResponseErrorsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsBidResponseErrorsService Uses

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

func NewBiddersAccountsFilterSetsBidResponseErrorsService Uses

func NewBiddersAccountsFilterSetsBidResponseErrorsService(s *Service) *BiddersAccountsFilterSetsBidResponseErrorsService

func (*BiddersAccountsFilterSetsBidResponseErrorsService) List Uses

func (r *BiddersAccountsFilterSetsBidResponseErrorsService) List(filterSetName string) *BiddersAccountsFilterSetsBidResponseErrorsListCall

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

type BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall Uses

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

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Context Uses

func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall

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 Uses

func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Do(opts ...googleapi.CallOption) (*ListBidResponsesWithoutBidsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall

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

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Pages(ctx context.Context, f func(*ListBidResponsesWithoutBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsBidResponsesWithoutBidsService Uses

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

func NewBiddersAccountsFilterSetsBidResponsesWithoutBidsService Uses

func NewBiddersAccountsFilterSetsBidResponsesWithoutBidsService(s *Service) *BiddersAccountsFilterSetsBidResponsesWithoutBidsService

func (*BiddersAccountsFilterSetsBidResponsesWithoutBidsService) List Uses

func (r *BiddersAccountsFilterSetsBidResponsesWithoutBidsService) List(filterSetName string) *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall

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 Uses

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

func (*BiddersAccountsFilterSetsCreateCall) Context Uses

func (c *BiddersAccountsFilterSetsCreateCall) Context(ctx context.Context) *BiddersAccountsFilterSetsCreateCall

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 Uses

func (c *BiddersAccountsFilterSetsCreateCall) Do(opts ...googleapi.CallOption) (*FilterSet, error)

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 Uses

func (c *BiddersAccountsFilterSetsCreateCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsCreateCall

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

func (*BiddersAccountsFilterSetsCreateCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsCreateCall) IsTransient Uses

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

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 Uses

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

func (*BiddersAccountsFilterSetsDeleteCall) Context Uses

func (c *BiddersAccountsFilterSetsDeleteCall) Context(ctx context.Context) *BiddersAccountsFilterSetsDeleteCall

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 Uses

func (c *BiddersAccountsFilterSetsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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 Uses

func (c *BiddersAccountsFilterSetsDeleteCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsDeleteCall

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

func (*BiddersAccountsFilterSetsDeleteCall) Header Uses

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

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

type BiddersAccountsFilterSetsFilteredBidRequestsListCall Uses

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

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) Context Uses

func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsFilteredBidRequestsListCall

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) Do(opts ...googleapi.CallOption) (*ListFilteredBidRequestsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsFilteredBidRequestsListCall

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

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsFilteredBidRequestsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) Pages(ctx context.Context, f func(*ListFilteredBidRequestsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsFilteredBidRequestsService Uses

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

func NewBiddersAccountsFilterSetsFilteredBidRequestsService Uses

func NewBiddersAccountsFilterSetsFilteredBidRequestsService(s *Service) *BiddersAccountsFilterSetsFilteredBidRequestsService

func (*BiddersAccountsFilterSetsFilteredBidRequestsService) List Uses

func (r *BiddersAccountsFilterSetsFilteredBidRequestsService) List(filterSetName string) *BiddersAccountsFilterSetsFilteredBidRequestsListCall

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 Uses

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

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Context Uses

func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsFilteredBidsCreativesListCall

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreativeStatusBreakdownByCreativeResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsFilteredBidsCreativesListCall

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

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 returne d from the previous call to the filteredBids.creatives.list method.

func (*BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Pages Uses

func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Pages(ctx context.Context, f func(*ListCreativeStatusBreakdownByCreativeResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsFilteredBidsCreativesService Uses

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

func NewBiddersAccountsFilterSetsFilteredBidsCreativesService Uses

func NewBiddersAccountsFilterSetsFilteredBidsCreativesService(s *Service) *BiddersAccountsFilterSetsFilteredBidsCreativesService

func (*BiddersAccountsFilterSetsFilteredBidsCreativesService) List Uses

func (r *BiddersAccountsFilterSetsFilteredBidsCreativesService) List(filterSetName string, creativeStatusId int64) *BiddersAccountsFilterSetsFilteredBidsCreativesListCall

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 Uses

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

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Context Uses

func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsFilteredBidsDetailsListCall

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Do(opts ...googleapi.CallOption) (*ListCreativeStatusBreakdownByDetailResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsFilteredBidsDetailsListCall

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

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsFilteredBidsDetailsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Pages(ctx context.Context, f func(*ListCreativeStatusBreakdownByDetailResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsFilteredBidsDetailsService Uses

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

func NewBiddersAccountsFilterSetsFilteredBidsDetailsService Uses

func NewBiddersAccountsFilterSetsFilteredBidsDetailsService(s *Service) *BiddersAccountsFilterSetsFilteredBidsDetailsService

func (*BiddersAccountsFilterSetsFilteredBidsDetailsService) List Uses

func (r *BiddersAccountsFilterSetsFilteredBidsDetailsService) List(filterSetName string, creativeStatusId int64) *BiddersAccountsFilterSetsFilteredBidsDetailsListCall

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 Uses

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

func (*BiddersAccountsFilterSetsFilteredBidsListCall) Context Uses

func (c *BiddersAccountsFilterSetsFilteredBidsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsFilteredBidsListCall

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsListCall) Do(opts ...googleapi.CallOption) (*ListFilteredBidsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsFilteredBidsListCall

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

func (*BiddersAccountsFilterSetsFilteredBidsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsFilteredBidsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsFilteredBidsListCall) Pages(ctx context.Context, f func(*ListFilteredBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsFilteredBidsService Uses

type BiddersAccountsFilterSetsFilteredBidsService struct {
    Creatives *BiddersAccountsFilterSetsFilteredBidsCreativesService

    Details *BiddersAccountsFilterSetsFilteredBidsDetailsService
    // contains filtered or unexported fields
}

func NewBiddersAccountsFilterSetsFilteredBidsService Uses

func NewBiddersAccountsFilterSetsFilteredBidsService(s *Service) *BiddersAccountsFilterSetsFilteredBidsService

func (*BiddersAccountsFilterSetsFilteredBidsService) List Uses

func (r *BiddersAccountsFilterSetsFilteredBidsService) List(filterSetName string) *BiddersAccountsFilterSetsFilteredBidsListCall

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

type BiddersAccountsFilterSetsGetCall Uses

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

func (*BiddersAccountsFilterSetsGetCall) Context Uses

func (c *BiddersAccountsFilterSetsGetCall) Context(ctx context.Context) *BiddersAccountsFilterSetsGetCall

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 Uses

func (c *BiddersAccountsFilterSetsGetCall) Do(opts ...googleapi.CallOption) (*FilterSet, error)

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 Uses

func (c *BiddersAccountsFilterSetsGetCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsGetCall

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

func (*BiddersAccountsFilterSetsGetCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsGetCall) IfNoneMatch Uses

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

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 Uses

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

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) Context Uses

func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsImpressionMetricsListCall

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 Uses

func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) Do(opts ...googleapi.CallOption) (*ListImpressionMetricsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsImpressionMetricsListCall

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

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsImpressionMetricsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) Pages(ctx context.Context, f func(*ListImpressionMetricsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsImpressionMetricsService Uses

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

func NewBiddersAccountsFilterSetsImpressionMetricsService Uses

func NewBiddersAccountsFilterSetsImpressionMetricsService(s *Service) *BiddersAccountsFilterSetsImpressionMetricsService

func (*BiddersAccountsFilterSetsImpressionMetricsService) List Uses

func (r *BiddersAccountsFilterSetsImpressionMetricsService) List(filterSetName string) *BiddersAccountsFilterSetsImpressionMetricsListCall

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

type BiddersAccountsFilterSetsListCall Uses

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

func (*BiddersAccountsFilterSetsListCall) Context Uses

func (c *BiddersAccountsFilterSetsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsListCall

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 Uses

func (c *BiddersAccountsFilterSetsListCall) Do(opts ...googleapi.CallOption) (*ListFilterSetsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsListCall

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

func (*BiddersAccountsFilterSetsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsListCall) Pages(ctx context.Context, f func(*ListFilterSetsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsLosingBidsListCall Uses

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

func (*BiddersAccountsFilterSetsLosingBidsListCall) Context Uses

func (c *BiddersAccountsFilterSetsLosingBidsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsLosingBidsListCall

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 Uses

func (c *BiddersAccountsFilterSetsLosingBidsListCall) Do(opts ...googleapi.CallOption) (*ListLosingBidsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsLosingBidsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsLosingBidsListCall

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

func (*BiddersAccountsFilterSetsLosingBidsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsLosingBidsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsLosingBidsListCall) Pages(ctx context.Context, f func(*ListLosingBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsLosingBidsService Uses

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

func NewBiddersAccountsFilterSetsLosingBidsService Uses

func NewBiddersAccountsFilterSetsLosingBidsService(s *Service) *BiddersAccountsFilterSetsLosingBidsService

func (*BiddersAccountsFilterSetsLosingBidsService) List Uses

func (r *BiddersAccountsFilterSetsLosingBidsService) List(filterSetName string) *BiddersAccountsFilterSetsLosingBidsListCall

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

type BiddersAccountsFilterSetsNonBillableWinningBidsListCall Uses

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

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Context Uses

func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Context(ctx context.Context) *BiddersAccountsFilterSetsNonBillableWinningBidsListCall

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 Uses

func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Do(opts ...googleapi.CallOption) (*ListNonBillableWinningBidsResponse, error)

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 Uses

func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Fields(s ...googleapi.Field) *BiddersAccountsFilterSetsNonBillableWinningBidsListCall

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

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Header Uses

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

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

func (*BiddersAccountsFilterSetsNonBillableWinningBidsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Pages(ctx context.Context, f func(*ListNonBillableWinningBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersAccountsFilterSetsNonBillableWinningBidsService Uses

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

func NewBiddersAccountsFilterSetsNonBillableWinningBidsService Uses

func NewBiddersAccountsFilterSetsNonBillableWinningBidsService(s *Service) *BiddersAccountsFilterSetsNonBillableWinningBidsService

func (*BiddersAccountsFilterSetsNonBillableWinningBidsService) List Uses

func (r *BiddersAccountsFilterSetsNonBillableWinningBidsService) List(filterSetName string) *BiddersAccountsFilterSetsNonBillableWinningBidsListCall

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

type BiddersAccountsFilterSetsService Uses

type BiddersAccountsFilterSetsService struct {
    BidMetrics *BiddersAccountsFilterSetsBidMetricsService

    BidResponseErrors *BiddersAccountsFilterSetsBidResponseErrorsService

    BidResponsesWithoutBids *BiddersAccountsFilterSetsBidResponsesWithoutBidsService

    FilteredBidRequests *BiddersAccountsFilterSetsFilteredBidRequestsService

    FilteredBids *BiddersAccountsFilterSetsFilteredBidsService

    ImpressionMetrics *BiddersAccountsFilterSetsImpressionMetricsService

    LosingBids *BiddersAccountsFilterSetsLosingBidsService

    NonBillableWinningBids *BiddersAccountsFilterSetsNonBillableWinningBidsService
    // contains filtered or unexported fields
}

func NewBiddersAccountsFilterSetsService Uses

func NewBiddersAccountsFilterSetsService(s *Service) *BiddersAccountsFilterSetsService

func (*BiddersAccountsFilterSetsService) Create Uses

func (r *BiddersAccountsFilterSetsService) Create(ownerName string, filterset *FilterSet) *BiddersAccountsFilterSetsCreateCall

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

func (*BiddersAccountsFilterSetsService) Delete Uses

func (r *BiddersAccountsFilterSetsService) Delete(name string) *BiddersAccountsFilterSetsDeleteCall

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

func (*BiddersAccountsFilterSetsService) Get Uses

func (r *BiddersAccountsFilterSetsService) Get(name string) *BiddersAccountsFilterSetsGetCall

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

func (*BiddersAccountsFilterSetsService) List Uses

func (r *BiddersAccountsFilterSetsService) List(ownerName string) *BiddersAccountsFilterSetsListCall

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

type BiddersAccountsService Uses

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

func NewBiddersAccountsService Uses

func NewBiddersAccountsService(s *Service) *BiddersAccountsService

type BiddersFilterSetsBidMetricsListCall Uses

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

func (*BiddersFilterSetsBidMetricsListCall) Context Uses

func (c *BiddersFilterSetsBidMetricsListCall) Context(ctx context.Context) *BiddersFilterSetsBidMetricsListCall

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 Uses

func (c *BiddersFilterSetsBidMetricsListCall) Do(opts ...googleapi.CallOption) (*ListBidMetricsResponse, error)

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 Uses

func (c *BiddersFilterSetsBidMetricsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsBidMetricsListCall

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

func (*BiddersFilterSetsBidMetricsListCall) Header Uses

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

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

func (*BiddersFilterSetsBidMetricsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersFilterSetsBidMetricsListCall) Pages(ctx context.Context, f func(*ListBidMetricsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsBidMetricsService Uses

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

func NewBiddersFilterSetsBidMetricsService Uses

func NewBiddersFilterSetsBidMetricsService(s *Service) *BiddersFilterSetsBidMetricsService

func (*BiddersFilterSetsBidMetricsService) List Uses

func (r *BiddersFilterSetsBidMetricsService) List(filterSetName string) *BiddersFilterSetsBidMetricsListCall

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

type BiddersFilterSetsBidResponseErrorsListCall Uses

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

func (*BiddersFilterSetsBidResponseErrorsListCall) Context Uses

func (c *BiddersFilterSetsBidResponseErrorsListCall) Context(ctx context.Context) *BiddersFilterSetsBidResponseErrorsListCall

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 Uses

func (c *BiddersFilterSetsBidResponseErrorsListCall) Do(opts ...googleapi.CallOption) (*ListBidResponseErrorsResponse, error)

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 Uses

func (c *BiddersFilterSetsBidResponseErrorsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsBidResponseErrorsListCall

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

func (*BiddersFilterSetsBidResponseErrorsListCall) Header Uses

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

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

func (*BiddersFilterSetsBidResponseErrorsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersFilterSetsBidResponseErrorsListCall) Pages(ctx context.Context, f func(*ListBidResponseErrorsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsBidResponseErrorsService Uses

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

func NewBiddersFilterSetsBidResponseErrorsService Uses

func NewBiddersFilterSetsBidResponseErrorsService(s *Service) *BiddersFilterSetsBidResponseErrorsService

func (*BiddersFilterSetsBidResponseErrorsService) List Uses

func (r *BiddersFilterSetsBidResponseErrorsService) List(filterSetName string) *BiddersFilterSetsBidResponseErrorsListCall

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

type BiddersFilterSetsBidResponsesWithoutBidsListCall Uses

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

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) Context Uses

func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) Context(ctx context.Context) *BiddersFilterSetsBidResponsesWithoutBidsListCall

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 Uses

func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) Do(opts ...googleapi.CallOption) (*ListBidResponsesWithoutBidsResponse, error)

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 Uses

func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsBidResponsesWithoutBidsListCall

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

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) Header Uses

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

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

func (*BiddersFilterSetsBidResponsesWithoutBidsListCall) IfNoneMatch Uses

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

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 Uses

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

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 Uses

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

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 Uses

func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) Pages(ctx context.Context, f func(*ListBidResponsesWithoutBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsBidResponsesWithoutBidsService Uses

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

func NewBiddersFilterSetsBidResponsesWithoutBidsService Uses

func NewBiddersFilterSetsBidResponsesWithoutBidsService(s *Service) *BiddersFilterSetsBidResponsesWithoutBidsService

func (*BiddersFilterSetsBidResponsesWithoutBidsService) List Uses

func (r *BiddersFilterSetsBidResponsesWithoutBidsService) List(filterSetName string) *BiddersFilterSetsBidResponsesWithoutBidsListCall

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 Uses

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

func (*BiddersFilterSetsCreateCall) Context Uses

func (c *BiddersFilterSetsCreateCall) Context(ctx context.Context) *BiddersFilterSetsCreateCall

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 Uses

func (c *BiddersFilterSetsCreateCall) Do(opts ...googleapi.CallOption) (*FilterSet, error)

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 Uses

func (c *BiddersFilterSetsCreateCall) Fields(s ...googleapi.Field) *BiddersFilterSetsCreateCall

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

func (*BiddersFilterSetsCreateCall) Header Uses

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

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

func (*BiddersFilterSetsCreateCall) IsTransient Uses

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 Uses

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

func (*BiddersFilterSetsDeleteCall) Context Uses

func (c *BiddersFilterSetsDeleteCall) Context(ctx context.Context) *BiddersFilterSetsDeleteCall

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 Uses

func (c *BiddersFilterSetsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

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 Uses

func (c *BiddersFilterSetsDeleteCall) Fields(s ...googleapi.Field) *BiddersFilterSetsDeleteCall

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

func (*BiddersFilterSetsDeleteCall) Header Uses

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

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

type BiddersFilterSetsFilteredBidRequestsListCall Uses

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

func (*BiddersFilterSetsFilteredBidRequestsListCall) Context Uses

func (c *BiddersFilterSetsFilteredBidRequestsListCall) Context(ctx context.Context) *BiddersFilterSetsFilteredBidRequestsListCall

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 (*BiddersFilterSetsFilteredBidRequestsListCall) Do Uses

func (c *BiddersFilterSetsFilteredBidRequestsListCall) Do(opts ...googleapi.CallOption) (*ListFilteredBidRequestsResponse, error)

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

func (c *BiddersFilterSetsFilteredBidRequestsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsFilteredBidRequestsListCall

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

func (*BiddersFilterSetsFilteredBidRequestsListCall) Header Uses

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

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

func (*BiddersFilterSetsFilteredBidRequestsListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsFilteredBidRequestsListCall) PageToken Uses

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

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 (*BiddersFilterSetsFilteredBidRequestsListCall) Pages Uses

func (c *BiddersFilterSetsFilteredBidRequestsListCall) Pages(ctx context.Context, f func(*ListFilteredBidRequestsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsFilteredBidRequestsService Uses

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

func NewBiddersFilterSetsFilteredBidRequestsService Uses

func NewBiddersFilterSetsFilteredBidRequestsService(s *Service) *BiddersFilterSetsFilteredBidRequestsService

func (*BiddersFilterSetsFilteredBidRequestsService) List Uses

func (r *BiddersFilterSetsFilteredBidRequestsService) List(filterSetName string) *BiddersFilterSetsFilteredBidRequestsListCall

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 BiddersFilterSetsFilteredBidsCreativesListCall Uses

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

func (*BiddersFilterSetsFilteredBidsCreativesListCall) Context Uses

func (c *BiddersFilterSetsFilteredBidsCreativesListCall) Context(ctx context.Context) *BiddersFilterSetsFilteredBidsCreativesListCall

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 (*BiddersFilterSetsFilteredBidsCreativesListCall) Do Uses

func (c *BiddersFilterSetsFilteredBidsCreativesListCall) Do(opts ...googleapi.CallOption) (*ListCreativeStatusBreakdownByCreativeResponse, error)

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

func (c *BiddersFilterSetsFilteredBidsCreativesListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsFilteredBidsCreativesListCall

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

func (*BiddersFilterSetsFilteredBidsCreativesListCall) Header Uses

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

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

func (*BiddersFilterSetsFilteredBidsCreativesListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsFilteredBidsCreativesListCall) PageToken Uses

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

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 returne d from the previous call to the filteredBids.creatives.list method.

func (*BiddersFilterSetsFilteredBidsCreativesListCall) Pages Uses

func (c *BiddersFilterSetsFilteredBidsCreativesListCall) Pages(ctx context.Context, f func(*ListCreativeStatusBreakdownByCreativeResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsFilteredBidsCreativesService Uses

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

func NewBiddersFilterSetsFilteredBidsCreativesService Uses

func NewBiddersFilterSetsFilteredBidsCreativesService(s *Service) *BiddersFilterSetsFilteredBidsCreativesService

func (*BiddersFilterSetsFilteredBidsCreativesService) List Uses

func (r *BiddersFilterSetsFilteredBidsCreativesService) List(filterSetName string, creativeStatusId int64) *BiddersFilterSetsFilteredBidsCreativesListCall

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

type BiddersFilterSetsFilteredBidsDetailsListCall Uses

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

func (*BiddersFilterSetsFilteredBidsDetailsListCall) Context Uses

func (c *BiddersFilterSetsFilteredBidsDetailsListCall) Context(ctx context.Context) *BiddersFilterSetsFilteredBidsDetailsListCall

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 (*BiddersFilterSetsFilteredBidsDetailsListCall) Do Uses

func (c *BiddersFilterSetsFilteredBidsDetailsListCall) Do(opts ...googleapi.CallOption) (*ListCreativeStatusBreakdownByDetailResponse, error)

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

func (c *BiddersFilterSetsFilteredBidsDetailsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsFilteredBidsDetailsListCall

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

func (*BiddersFilterSetsFilteredBidsDetailsListCall) Header Uses

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

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

func (*BiddersFilterSetsFilteredBidsDetailsListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsFilteredBidsDetailsListCall) PageToken Uses

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

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 (*BiddersFilterSetsFilteredBidsDetailsListCall) Pages Uses

func (c *BiddersFilterSetsFilteredBidsDetailsListCall) Pages(ctx context.Context, f func(*ListCreativeStatusBreakdownByDetailResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsFilteredBidsDetailsService Uses

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

func NewBiddersFilterSetsFilteredBidsDetailsService Uses

func NewBiddersFilterSetsFilteredBidsDetailsService(s *Service) *BiddersFilterSetsFilteredBidsDetailsService

func (*BiddersFilterSetsFilteredBidsDetailsService) List Uses

func (r *BiddersFilterSetsFilteredBidsDetailsService) List(filterSetName string, creativeStatusId int64) *BiddersFilterSetsFilteredBidsDetailsListCall

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

type BiddersFilterSetsFilteredBidsListCall Uses

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

func (*BiddersFilterSetsFilteredBidsListCall) Context Uses

func (c *BiddersFilterSetsFilteredBidsListCall) Context(ctx context.Context) *BiddersFilterSetsFilteredBidsListCall

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 (*BiddersFilterSetsFilteredBidsListCall) Do Uses

func (c *BiddersFilterSetsFilteredBidsListCall) Do(opts ...googleapi.CallOption) (*ListFilteredBidsResponse, error)

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

func (c *BiddersFilterSetsFilteredBidsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsFilteredBidsListCall

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

func (*BiddersFilterSetsFilteredBidsListCall) Header Uses

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

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

func (*BiddersFilterSetsFilteredBidsListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsFilteredBidsListCall) PageToken Uses

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

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 (*BiddersFilterSetsFilteredBidsListCall) Pages Uses

func (c *BiddersFilterSetsFilteredBidsListCall) Pages(ctx context.Context, f func(*ListFilteredBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsFilteredBidsService Uses

type BiddersFilterSetsFilteredBidsService struct {
    Creatives *BiddersFilterSetsFilteredBidsCreativesService

    Details *BiddersFilterSetsFilteredBidsDetailsService
    // contains filtered or unexported fields
}

func NewBiddersFilterSetsFilteredBidsService Uses

func NewBiddersFilterSetsFilteredBidsService(s *Service) *BiddersFilterSetsFilteredBidsService

func (*BiddersFilterSetsFilteredBidsService) List Uses

func (r *BiddersFilterSetsFilteredBidsService) List(filterSetName string) *BiddersFilterSetsFilteredBidsListCall

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

type BiddersFilterSetsGetCall Uses

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

func (*BiddersFilterSetsGetCall) Context Uses

func (c *BiddersFilterSetsGetCall) Context(ctx context.Context) *BiddersFilterSetsGetCall

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 (*BiddersFilterSetsGetCall) Do Uses

func (c *BiddersFilterSetsGetCall) Do(opts ...googleapi.CallOption) (*FilterSet, error)

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

func (c *BiddersFilterSetsGetCall) Fields(s ...googleapi.Field) *BiddersFilterSetsGetCall

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

func (*BiddersFilterSetsGetCall) Header Uses

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

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

func (*BiddersFilterSetsGetCall) IfNoneMatch Uses

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

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 BiddersFilterSetsImpressionMetricsListCall Uses

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

func (*BiddersFilterSetsImpressionMetricsListCall) Context Uses

func (c *BiddersFilterSetsImpressionMetricsListCall) Context(ctx context.Context) *BiddersFilterSetsImpressionMetricsListCall

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 (*BiddersFilterSetsImpressionMetricsListCall) Do Uses

func (c *BiddersFilterSetsImpressionMetricsListCall) Do(opts ...googleapi.CallOption) (*ListImpressionMetricsResponse, error)

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

func (c *BiddersFilterSetsImpressionMetricsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsImpressionMetricsListCall

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

func (*BiddersFilterSetsImpressionMetricsListCall) Header Uses

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

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

func (*BiddersFilterSetsImpressionMetricsListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsImpressionMetricsListCall) PageToken Uses

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

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 (*BiddersFilterSetsImpressionMetricsListCall) Pages Uses

func (c *BiddersFilterSetsImpressionMetricsListCall) Pages(ctx context.Context, f func(*ListImpressionMetricsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsImpressionMetricsService Uses

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

func NewBiddersFilterSetsImpressionMetricsService Uses

func NewBiddersFilterSetsImpressionMetricsService(s *Service) *BiddersFilterSetsImpressionMetricsService

func (*BiddersFilterSetsImpressionMetricsService) List Uses

func (r *BiddersFilterSetsImpressionMetricsService) List(filterSetName string) *BiddersFilterSetsImpressionMetricsListCall

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

type BiddersFilterSetsListCall Uses

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

func (*BiddersFilterSetsListCall) Context Uses

func (c *BiddersFilterSetsListCall) Context(ctx context.Context) *BiddersFilterSetsListCall

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 (*BiddersFilterSetsListCall) Do Uses

func (c *BiddersFilterSetsListCall) Do(opts ...googleapi.CallOption) (*ListFilterSetsResponse, error)

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

func (c *BiddersFilterSetsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsListCall

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

func (*BiddersFilterSetsListCall) Header Uses

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

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

func (*BiddersFilterSetsListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsListCall) PageToken Uses

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

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 (*BiddersFilterSetsListCall) Pages Uses

func (c *BiddersFilterSetsListCall) Pages(ctx context.Context, f func(*ListFilterSetsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsLosingBidsListCall Uses

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

func (*BiddersFilterSetsLosingBidsListCall) Context Uses

func (c *BiddersFilterSetsLosingBidsListCall) Context(ctx context.Context) *BiddersFilterSetsLosingBidsListCall

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 (*BiddersFilterSetsLosingBidsListCall) Do Uses

func (c *BiddersFilterSetsLosingBidsListCall) Do(opts ...googleapi.CallOption) (*ListLosingBidsResponse, error)

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

func (c *BiddersFilterSetsLosingBidsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsLosingBidsListCall

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

func (*BiddersFilterSetsLosingBidsListCall) Header Uses

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

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

func (*BiddersFilterSetsLosingBidsListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsLosingBidsListCall) PageToken Uses

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

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 (*BiddersFilterSetsLosingBidsListCall) Pages Uses

func (c *BiddersFilterSetsLosingBidsListCall) Pages(ctx context.Context, f func(*ListLosingBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsLosingBidsService Uses

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

func NewBiddersFilterSetsLosingBidsService Uses

func NewBiddersFilterSetsLosingBidsService(s *Service) *BiddersFilterSetsLosingBidsService

func (*BiddersFilterSetsLosingBidsService) List Uses

func (r *BiddersFilterSetsLosingBidsService) List(filterSetName string) *BiddersFilterSetsLosingBidsListCall

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

type BiddersFilterSetsNonBillableWinningBidsListCall Uses

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

func (*BiddersFilterSetsNonBillableWinningBidsListCall) Context Uses

func (c *BiddersFilterSetsNonBillableWinningBidsListCall) Context(ctx context.Context) *BiddersFilterSetsNonBillableWinningBidsListCall

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 (*BiddersFilterSetsNonBillableWinningBidsListCall) Do Uses

func (c *BiddersFilterSetsNonBillableWinningBidsListCall) Do(opts ...googleapi.CallOption) (*ListNonBillableWinningBidsResponse, error)

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

func (c *BiddersFilterSetsNonBillableWinningBidsListCall) Fields(s ...googleapi.Field) *BiddersFilterSetsNonBillableWinningBidsListCall

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

func (*BiddersFilterSetsNonBillableWinningBidsListCall) Header Uses

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

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

func (*BiddersFilterSetsNonBillableWinningBidsListCall) IfNoneMatch Uses

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

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

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

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 (*BiddersFilterSetsNonBillableWinningBidsListCall) PageToken Uses

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

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 (*BiddersFilterSetsNonBillableWinningBidsListCall) Pages Uses

func (c *BiddersFilterSetsNonBillableWinningBidsListCall) Pages(ctx context.Context, f func(*ListNonBillableWinningBidsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BiddersFilterSetsNonBillableWinningBidsService Uses

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

func NewBiddersFilterSetsNonBillableWinningBidsService Uses

func NewBiddersFilterSetsNonBillableWinningBidsService(s *Service) *BiddersFilterSetsNonBillableWinningBidsService

func (*BiddersFilterSetsNonBillableWinningBidsService) List Uses

func (r *BiddersFilterSetsNonBillableWinningBidsService) List(filterSetName string) *BiddersFilterSetsNonBillableWinningBidsListCall

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

type BiddersFilterSetsService Uses

type BiddersFilterSetsService struct {
    BidMetrics *BiddersFilterSetsBidMetricsService

    BidResponseErrors *BiddersFilterSetsBidResponseErrorsService

    BidResponsesWithoutBids *BiddersFilterSetsBidResponsesWithoutBidsService

    FilteredBidRequests *BiddersFilterSetsFilteredBidRequestsService

    FilteredBids *BiddersFilterSetsFilteredBidsService

    ImpressionMetrics *BiddersFilterSetsImpressionMetricsService

    LosingBids *BiddersFilterSetsLosingBidsService

    NonBillableWinningBids *BiddersFilterSetsNonBillableWinningBidsService
    // contains filtered or unexported fields
}

func NewBiddersFilterSetsService Uses

func NewBiddersFilterSetsService(s *Service) *BiddersFilterSetsService

func (*BiddersFilterSetsService) Create Uses

func (r *BiddersFilterSetsService) Create(ownerName string, filterset *FilterSet) *BiddersFilterSetsCreateCall

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

func (*BiddersFilterSetsService) Delete Uses

func (r *BiddersFilterSetsService) Delete(name string) *BiddersFilterSetsDeleteCall

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

func (*BiddersFilterSetsService) Get Uses

func (r *BiddersFilterSetsService) Get(name string) *BiddersFilterSetsGetCall

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

func (*BiddersFilterSetsService) List Uses

func (r *BiddersFilterSetsService) List(ownerName string) *BiddersFilterSetsListCall

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

type BiddersService Uses

type BiddersService struct {
    Accounts *BiddersAccountsService

    FilterSets *BiddersFilterSetsService
    // contains filtered or unexported fields
}

func NewBiddersService Uses

func NewBiddersService(s *Service) *BiddersService

type Buyer Uses

type Buyer struct {
    // AccountId: Authorized Buyers account ID of the buyer.
    AccountId string `json:"accountId,omitempty"`

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

Buyer: Represents a buyer of inventory. Each buyer is identified by a unique Authorized Buyers account ID.

func (*Buyer) MarshalJSON Uses

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

type CalloutStatusRow Uses

type CalloutStatusRow struct {
    // CalloutStatusId: The ID of the callout
    // status.
    // See
    // [callout-status-codes](https://developers.google.com/autho
    // rized-buyers/rtb/downloads/callout-status-codes).
    CalloutStatusId int64 `json:"calloutStatusId,omitempty"`

    // ImpressionCount: The number of impressions for which there was a bid
    // request or bid response
    // with the specified callout status.
    ImpressionCount *MetricValue `json:"impressionCount,omitempty"`

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

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

CalloutStatusRow: The number of impressions with the specified dimension values where the corresponding bid request or bid response was not successful, as described by the specified callout status.

func (*CalloutStatusRow) MarshalJSON Uses

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

type CancelNegotiationRequest Uses

type CancelNegotiationRequest struct {
}

CancelNegotiationRequest: Request to cancel an ongoing negotiation.

type Client Uses

type Client struct {
    // ClientAccountId: The globally-unique numerical ID of the client.
    // The value of this field is ignored in create and update operations.
    ClientAccountId int64 `json:"clientAccountId,omitempty,string"`

    // ClientName: Name used to represent this client to publishers.
    // You may have multiple clients that map to the same entity,
    // but for each client the combination of `clientName` and entity
    // must be unique.
    // You can specify this field as empty.
    ClientName string `json:"clientName,omitempty"`

    // EntityId: Numerical identifier of the client entity.
    // The entity can be an advertiser, a brand, or an agency.
    // This identifier is unique among all the entities with the same
    // type.
    //
    // A list of all known advertisers with their identifiers is available
    // in
    // the
    // [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionar
    // ies/advertisers.txt)
    // file.
    //
    // A list of all known brands with their identifiers is available in
    // the
    // [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/b
    // rands.txt)
    // file.
    //
    // A list of all known agencies with their identifiers is available in
    // the
    // [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries
    // /agencies.txt)
    // file.
    EntityId int64 `json:"entityId,omitempty,string"`

    // EntityName: The name of the entity. This field is automatically
    // fetched based on
    // the type and ID.
    // The value of this field is ignored in create and update operations.
    EntityName string `json:"entityName,omitempty"`

    // EntityType: The type of the client entity: `ADVERTISER`, `BRAND`, or
    // `AGENCY`.
    //
    // Possible values:
    //   "ENTITY_TYPE_UNSPECIFIED" - A placeholder for an undefined client
    // entity type. Should not be used.
    //   "ADVERTISER" - An advertiser.
    //   "BRAND" - A brand.
    //   "AGENCY" - An advertising agency.
    //   "ENTITY_TYPE_UNCLASSIFIED" - An explicit value for a client that
    // was not yet classified
    // as any particular entity.
    EntityType string `json:"entityType,omitempty"`

    // PartnerClientId: Optional arbitrary unique identifier of this client
    // buyer from the
    // standpoint of its Ad Exchange sponsor buyer.
    //
    // This field can be used to associate a client buyer with the
    // identifier
    // in the namespace of its sponsor buyer, lookup client buyers by
    // that
    // identifier and verify whether an Ad Exchange counterpart of a given
    // client
    // buyer already exists.
    //
    // If present, must be unique among all the client buyers for its
    // Ad Exchange sponsor buyer.
    PartnerClientId string `json:"partnerClientId,omitempty"`

    // Role: The role which is assigned to the client buyer. Each role
    // implies a set of
    // permissions granted to the client. Must be one of
    // `CLIENT_DEAL_VIEWER`,
    // `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
    //
    // Possible values:
    //   "CLIENT_ROLE_UNSPECIFIED" - A placeholder for an undefined client
    // role.
    //   "CLIENT_DEAL_VIEWER" - Users associated with this client can see
    // publisher deal offers
    // in the Marketplace.
    // They can neither negotiate proposals nor approve deals.
    // If this client is visible to publishers, they can send deal
    // proposals
    // to this client.
    //   "CLIENT_DEAL_NEGOTIATOR" - Users associated with this client can
    // respond to deal proposals
    // sent to them by publishers. They can also initiate deal proposals
    // of their own.
    //   "CLIENT_DEAL_APPROVER" - Users associated with this client can
    // approve eligible deals
    // on your behalf. Some deals may still explicitly require
    // publisher
    // finalization. If this role is not selected, the sponsor buyer
    // will need to manually approve each of their deals.
    Role string `json:"role,omitempty"`

    // Status: The status of the client buyer.
    //
    // Possible values:
    //   "CLIENT_STATUS_UNSPECIFIED" - A placeholder for an undefined client
    // status.
    //   "DISABLED" - A client that is currently disabled.
    //   "ACTIVE" - A client that is currently active.
    Status string `json:"status,omitempty"`

    // VisibleToSeller: Whether the client buyer will be visible to sellers.
    VisibleToSeller bool `json:"visibleToSeller,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

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

Client: A client resource represents a client buyer&mdash;an agency, a brand, or an advertiser customer of the sponsor buyer. Users associated with the client buyer have restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the client buyer. All fields are required unless otherwise specified.

func (*Client) MarshalJSON Uses

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

type ClientUser Uses

type ClientUser struct {
    // ClientAccountId: Numerical account ID of the client buyer
    // with which the user is associated; the
    // buyer must be a client of the current sponsor buyer.
    // The value of this field is ignored in an update operation.
    ClientAccountId int64 `json:"clientAccountId,omitempty,string"`

    // Email: User's email address. The value of this field
    // is ignored in an update operation.
    Email string `json:"email,omitempty"`

    // Status: The status of the client user.
    //
    // Possible values:
    //   "USER_STATUS_UNSPECIFIED" - A placeholder for an undefined user
    // status.
    //   "PENDING" - A user who was already created but hasn't accepted the
    // invitation yet.
    //   "ACTIVE" - A user that is currently active.
    //   "DISABLED" - A user that is currently disabled.
    Status string `json:"status,omitempty"`

    // UserId: The unique numerical ID of the client user
    // that has accepted an invitation.
    // The value of this field is ignored in an update operation.
    UserId int64 `json:"userId,omitempty,string"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

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

ClientUser: A client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer.

The only way a new client user can be created is via accepting an email invitation (see the accounts.clients.invitations.create method).

All fields are required unless otherwise specified.

func (*ClientUser) MarshalJSON Uses

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

type ClientUserInvitation Uses

type ClientUserInvitation struct {
    // ClientAccountId: Numerical account ID of the client buyer
    // that the invited user is associated with.
    // The value of this field is ignored in create operations.
    ClientAccountId int64 `json:"clientAccountId,omitempty,string"`

    // Email: The email address to which the invitation is sent.
    // Email
    // addresses should be unique among all client users under each
    // sponsor
    // buyer.
    Email string `json:"email,omitempty"`

    // InvitationId: The unique numerical ID of the invitation that is sent
    // to the user.
    // The value of this field is ignored in create operations.
    InvitationId int64 `json:"invitationId,omitempty,string"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

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

ClientUserInvitation: An invitation for a new client user to get access to the Authorized Buyers UI. All fields are required unless otherwise specified.

func (*ClientUserInvitation) MarshalJSON Uses

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

type CompleteSetupRequest Uses

type CompleteSetupRequest struct {
}

CompleteSetupRequest: Request message for indicating that the proposal's setup step is complete.

type ContactInformation Uses

type ContactInformation struct {
    // Email: Email address for the contact.
    Email string `json:"email,omitempty"`

    // Name: The name of the contact.
    Name string `json:"name,omitempty"`

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

ContactInformation: Contains information on how a buyer or seller can be reached.

func (*ContactInformation) MarshalJSON Uses

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

type Correction Uses

type Correction struct {
    // Contexts: The contexts for the correction.
    Contexts []*ServingContext `json:"contexts,omitempty"`

    // Details: Additional details about what was corrected.
    Details []string `json:"details,omitempty"`

    // Type: The type of correction that was applied to the creative.
    //
    // Possible values:
    //   "CORRECTION_TYPE_UNSPECIFIED" - The correction type is unknown.
    // Refer to the details for more information.
    //   "VENDOR_IDS_ADDED" - The ad's declared vendors did not match the
    // vendors that were detected.
    // The detected vendors were added.
    //   "SSL_ATTRIBUTE_REMOVED" - The ad had the SSL attribute declared but
    // was not SSL-compliant.
    // The SSL attribute was removed.
    //   "FLASH_FREE_ATTRIBUTE_REMOVED" - The ad was declared as Flash-free
    // but contained Flash, so the Flash-free
    // attribute was removed.
    //   "FLASH_FREE_ATTRIBUTE_ADDED" - The ad was not declared as
    // Flash-free but it did not reference any flash
    // content, so the Flash-free attribute was added.
    //   "REQUIRED_ATTRIBUTE_ADDED" - The ad did not declare a required
    // creative attribute.
    // The attribute was added.
    //   "REQUIRED_VENDOR_ADDED" - The ad did not declare a required
    // technology vendor.
    // The technology vendor was added.
    //   "SSL_ATTRIBUTE_ADDED" - The ad did not declare the SSL attribute
    // but was SSL-compliant, so the
    // SSL attribute was added.
    //   "IN_BANNER_VIDEO_ATTRIBUTE_ADDED" - Properties consistent with
    // In-banner video were found, so an
    // In-Banner Video attribute was added.
    //   "MRAID_ATTRIBUTE_ADDED" - The ad makes calls to the MRAID API so
    // the MRAID attribute was added.
    //   "FLASH_ATTRIBUTE_REMOVED" - The ad unnecessarily declared the Flash
    // attribute, so the Flash attribute
    // was removed.
    //   "VIDEO_IN_SNIPPET_ATTRIBUTE_ADDED" - The ad contains video content.
    Type string `json:"type,omitempty"`

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

Correction: Output only. Shows any corrections that were applied to this creative.

func (*Correction) MarshalJSON Uses

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

type Creative Uses

type Creative struct {
    // AccountId: The account that this creative belongs to.
    // Can be used to filter the response of the
    // creatives.list
    // method.
    AccountId string `json:"accountId,omitempty"`

    // AdChoicesDestinationUrl: The link to AdChoices destination page.
    AdChoicesDestinationUrl string `json:"adChoicesDestinationUrl,omitempty"`

    // AdTechnologyProviders: Output only. The detected ad technology
    // providers.
    AdTechnologyProviders *AdTechnologyProviders `json:"adTechnologyProviders,omitempty"`

    // AdvertiserName: The name of the company being advertised in the
    // creative.
    AdvertiserName string `json:"advertiserName,omitempty"`

    // AgencyId: The agency ID for this creative.
    AgencyId int64 `json:"agencyId,omitempty,string"`

    // ApiUpdateTime: Output only. The last update timestamp of the creative
    // via API.
    ApiUpdateTime string `json:"apiUpdateTime,omitempty"`

    // Attributes: All attributes for the ads that may be shown from this
    // creative.
    // Can be used to filter the response of the
    // creatives.list
    // method.
    //
    // Possible values:
    //   "ATTRIBUTE_UNSPECIFIED" - Do not use. This is a placeholder value
    // only.
    //   "IMAGE_RICH_MEDIA" - The creative is of type image/rich media. For
    // pretargeting.
    //   "ADOBE_FLASH_FLV" - The creative is of video type Adobe Flash FLV.
    // For pretargeting.
    //   "IS_TAGGED" - The creative is tagged.
    //   "IS_COOKIE_TARGETED" - The creative is cookie targeted.
    //   "IS_USER_INTEREST_TARGETED" - The creative is user interest
    // targeted.
    //   "EXPANDING_DIRECTION_NONE" - The creative does not expand.
    //   "EXPANDING_DIRECTION_UP" - The creative expands up.
    //   "EXPANDING_DIRECTION_DOWN" - The creative expands down.
    //   "EXPANDING_DIRECTION_LEFT" - The creative expands left.
    //   "EXPANDING_DIRECTION_RIGHT" - The creative expands right.
    //   "EXPANDING_DIRECTION_UP_LEFT" - The creative expands up and left.
    //   "EXPANDING_DIRECTION_UP_RIGHT" - The creative expands up and right.
    //   "EXPANDING_DIRECTION_DOWN_LEFT" - The creative expands down and
    // left.
    //   "EXPANDING_DIRECTION_DOWN_RIGHT" - The creative expands down and
    // right.
    //   "CREATIVE_TYPE_HTML" - The creative type is HTML.
    //   "CREATIVE_TYPE_VAST_VIDEO" - The creative type is VAST video.
    //   "EXPANDING_DIRECTION_UP_OR_DOWN" - The creative expands up or down.
    //   "EXPANDING_DIRECTION_LEFT_OR_RIGHT" - The creative expands left or
    // right.
    //   "EXPANDING_DIRECTION_ANY_DIAGONAL" - The creative expands on any
    // diagonal.
    //   "EXPANDING_ACTION_ROLLOVER_TO_EXPAND" - The creative expands when
    // rolled over.
    //   "INSTREAM_VAST_VIDEO_TYPE_VPAID_FLASH" - The instream vast video
    // type is vpaid flash.
    //   "RICH_MEDIA_CAPABILITY_TYPE_MRAID" - The creative is MRAID.
    //   "RICH_MEDIA_CAPABILITY_TYPE_FLASH" - The creative is Flash.
    //   "RICH_MEDIA_CAPABILITY_TYPE_HTML5" - The creative is HTML5.
    //   "SKIPPABLE_INSTREAM_VIDEO" - The creative has an instream VAST
    // video type of skippable instream video.
    // For pretargeting.
    //   "RICH_MEDIA_CAPABILITY_TYPE_SSL" - The creative is SSL.
    //   "RICH_MEDIA_CAPABILITY_TYPE_NON_SSL" - The creative is non-SSL.
    //   "RICH_MEDIA_CAPABILITY_TYPE_INTERSTITIAL" - The creative is an
    // interstitial.
    //   "NON_SKIPPABLE_INSTREAM_VIDEO" - The creative has an instream VAST
    // video type of non-skippable instream
    // video. For pretargeting.
    //   "NATIVE_ELIGIBILITY_ELIGIBLE" - The creative is eligible for
    // native.
    //   "NON_VPAID" - The creative has an instream VAST video type of
    // non-VPAID. For
    // pretargeting.
    //   "NATIVE_ELIGIBILITY_NOT_ELIGIBLE" - The creative is not eligible
    // for native.
    //   "ANY_INTERSTITIAL" - The creative has an interstitial size of any
    // interstitial. For
    // pretargeting.
    //   "NON_INTERSTITIAL" - The creative has an interstitial size of non
    // interstitial. For
    // pretargeting.
    //   "IN_BANNER_VIDEO" - The video type is in-banner video.
    //   "RENDERING_SIZELESS_ADX" - The creative can dynamically resize to
    // fill a variety of slot sizes.
    //   "OMSDK_1_0" - The open measurement SDK is supported.
    Attributes []string `json:"attributes,omitempty"`

    // ClickThroughUrls: The set of destination URLs for the creative.
    ClickThroughUrls []string `json:"clickThroughUrls,omitempty"`

    // Corrections: Output only. Shows any corrections that were applied to
    // this creative.
    Corrections []*Correction `json:"corrections,omitempty"`

    // CreativeId: The buyer-defined creative ID of this creative.
    // Can be used to filter the response of the
    // creatives.list
    // method.
    CreativeId string `json:"creativeId,omitempty"`

    // DealsStatus: Output only. The top-level deals status of this
    // creative.
    // If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL')
    // in
    // serving_restrictions will also exist. Note
    // that this may be nuanced with other contextual restrictions, in which
    // case,
    // it may be preferable to read from serving_restrictions directly.
    // Can be used to filter the response of the
    // creatives.list
    // method.
    //
    // Possible values:
    //   "STATUS_UNSPECIFIED" - The status is unknown.
    //   "NOT_CHECKED" - The creative has not been checked.
    //   "CONDITIONALLY_APPROVED" - The creative has been conditionally
    // approved.
    // See serving_restrictions for details.
    //   "APPROVED" - The creative has been approved.
    //   "DISAPPROVED" - The creative has been disapproved.
    //   "PENDING_REVIEW" - Placeholder for transition to v1beta1. Currently
    // not used.
    //   "STATUS_TYPE_UNSPECIFIED" - Placeholder for transition to v1beta1.
    // Currently not used.
    DealsStatus string `json:"dealsStatus,omitempty"`

    // DeclaredClickThroughUrls: The set of declared destination URLs for
    // the creative.
    DeclaredClickThroughUrls []string `json:"declaredClickThroughUrls,omitempty"`

    // DetectedAdvertiserIds: Output only. Detected advertiser IDs, if any.
    DetectedAdvertiserIds googleapi.Int64s `json:"detectedAdvertiserIds,omitempty"`

    // DetectedDomains: Output only. The detected domains for this creative.
    DetectedDomains []string `json:"detectedDomains,omitempty"`

    // DetectedLanguages: Output only. The detected languages for this
    // creative. The order is
    // arbitrary. The codes are 2 or 5 characters and are documented
    // at
    // https://developers.google.com/adwords/api/docs/appendix/languagecod
    // es.
    DetectedLanguages []string `json:"detectedLanguages,omitempty"`

    // DetectedProductCategories: Output only. Detected product categories,
    // if any.
    // See the ad-product-categories.txt file in the technical
    // documentation
    // for a list of IDs.
    DetectedProductCategories []int64 `json:"detectedProductCategories,omitempty"`

    // DetectedSensitiveCategories: Output only. Detected sensitive
    // categories, if any.
    // See the ad-sensitive-categories.txt file in the technical
    // documentation for
    // a list of IDs. You should use these IDs along with
    // the
    // excluded-sensitive-category field in the bid request to filter your
    // bids.
    DetectedSensitiveCategories []int64 `json:"detectedSensitiveCategories,omitempty"`

    // Html: An HTML creative.
    Html *HtmlContent `json:"html,omitempty"`

    // ImpressionTrackingUrls: The set of URLs to be called to record an
    // impression.
    ImpressionTrackingUrls []string `json:"impressionTrackingUrls,omitempty"`

    // Native: A native creative.
    Native *NativeContent `json:"native,omitempty"`

    // OpenAuctionStatus: Output only. The top-level open auction status of
    // this creative.
    // If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL')
    // in
    // serving_restrictions will also exist. Note
    // that this may be nuanced with other contextual restrictions, in which
    // case,
    // it may be preferable to read from serving_restrictions directly.
    // Can be used to filter the response of the
    // creatives.list
    // method.
    //
    // Possible values:
    //   "STATUS_UNSPECIFIED" - The status is unknown.
    //   "NOT_CHECKED" - The creative has not been checked.
    //   "CONDITIONALLY_APPROVED" - The creative has been conditionally
    // approved.
    // See serving_restrictions for details.
    //   "APPROVED" - The creative has been approved.
    //   "DISAPPROVED" - The creative has been disapproved.
    //   "PENDING_REVIEW" - Placeholder for transition to v1beta1. Currently
    // not used.
    //   "STATUS_TYPE_UNSPECIFIED" - Placeholder for transition to v1beta1.
    // Currently not used.
    OpenAuctionStatus string `json:"openAuctionStatus,omitempty"`

    // RestrictedCategories: All restricted categories for the ads that may
    // be shown from this creative.
    //
    // Possible values:
    //   "NO_RESTRICTED_CATEGORIES" - The ad has no restricted categories
    //   "ALCOHOL" - The alcohol restricted category.
    RestrictedCategories []string `json:"restrictedCategories,omitempty"`

    // ServingRestrictions: Output only. The granular status of this ad in
    // specific contexts.
    // A context here relates to where something ultimately serves (for
    // example,
    // a physical location, a platform, an HTTPS vs HTTP request, or the
    // type
    // of auction).
    ServingRestrictions []*ServingRestriction `json:"servingRestrictions,omitempty"`

    // VendorIds: All vendor IDs for the ads that may be shown from this
    // creative.
    // See
    // https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
    // for possible values.
    VendorIds []int64 `json:"vendorIds,omitempty"`

    // Version: Output only. The version of this creative.
    Version int64 `json:"version,omitempty"`

    // Video: A video creative.
    Video *VideoContent `json:"video,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

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

Creative: A creative and its classification data.

func (*Creative) MarshalJSON Uses

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

type CreativeDealAssociation Uses

type CreativeDealAssociation struct {
    // AccountId: The account the creative belongs to.
    AccountId string `json:"accountId,omitempty"`

    // CreativeId: The ID of the creative associated with the deal.
    CreativeId string `json:"creativeId,omitempty"`

    // DealsId: The externalDealId for the deal associated with the
    // creative.
    DealsId string `json:"dealsId,omitempty"`

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

CreativeDealAssociation: The association between a creative and a deal.

func (*CreativeDealAssociation) MarshalJSON Uses

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

type CreativeRestrictions Uses

type CreativeRestrictions struct {
    // CreativeFormat: The format of the environment that the creatives will
    // be displayed in.
    //
    // Possible values:
    //   "CREATIVE_FORMAT_UNSPECIFIED" - A placeholder for an undefined
    // creative format.
    //   "DISPLAY" - A creative that will be displayed in environments such
    // as a browser.
    //   "VIDEO" - A video creative that will be displayed in environments
    // such as a video
    // player.
    CreativeFormat string `json:"creativeFormat,omitempty"`

    CreativeSpecifications []*CreativeSpecification `json:"creativeSpecifications,omitempty"`

    // SkippableAdType: Skippable video ads allow viewers to skip ads after
    // 5 seconds.
    //
    // Possible values:
    //   "SKIPPABLE_AD_TYPE_UNSPECIFIED" - A placeholder for an undefined
    // skippable ad type.
    //   "SKIPPABLE" - This video ad can be skipped after 5 seconds.
    //   "INSTREAM_SELECT" - This video ad can be skipped after 5 seconds,
    // and is counted as
    // engaged view after 30 seconds. The creative is hosted on
    // YouTube only, and viewcount of the YouTube video increments
    // after the engaged view.
    //   "NOT_SKIPPABLE" - This video ad is not skippable.
    SkippableAdType string `json:"skippableAdType,omitempty"`

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

CreativeRestrictions: Represents creative restrictions associated to Programmatic Guaranteed/ Preferred Deal in Ad Manager. This doesn't apply to Private Auction and AdX Preferred Deals.

func (*CreativeRestrictions) MarshalJSON Uses

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

type CreativeSize Uses

type CreativeSize struct {
    // AllowedFormats: What formats are allowed by the publisher.
    // If this repeated field is empty then all formats are allowed.
    // For example, if this field contains AllowedFormatType.AUDIO then
    // the
    // publisher only allows an audio ad (without any video).
    //
    // Possible values:
    //   "UNKNOWN" - A placeholder for an undefined allowed format.
    //   "AUDIO" - An audio-only ad (without any video).
    AllowedFormats []string `json:"allowedFormats,omitempty"`

    // CompanionSizes: For video creatives specifies the sizes of companion
    // ads (if present).
    // Companion sizes may be filled in only when creative_size_type = VIDEO
    CompanionSizes []*Size `json:"companionSizes,omitempty"`

    // CreativeSizeType: The creative size type.
    //
    // Possible values:
    //   "CREATIVE_SIZE_TYPE_UNSPECIFIED" - A placeholder for an undefined
    // creative size type.
    //   "REGULAR" - The creative is a regular desktop creative.
    //   "INTERSTITIAL" - The creative is an interstitial creative.
    //   "VIDEO" - The creative is a video creative.
    //   "NATIVE" - The creative is a native (mobile) creative.
    CreativeSizeType string `json:"creativeSizeType,omitempty"`

    // NativeTemplate: Output only. The native template for this creative.
    // It will have a value
    // only if creative_size_type = CreativeSizeType.NATIVE.
    //
    // Possible values:
    //   "UNKNOWN_NATIVE_TEMPLATE" - A placeholder for an undefined native
    // template.
    //   "NATIVE_CONTENT_AD" - The creative is linked to native content ad.
    //   "NATIVE_APP_INSTALL_AD" - The creative is linked to native app
    // install ad.
    //   "NATIVE_VIDEO_CONTENT_AD" - The creative is linked to native video
    // content ad.
    //   "NATIVE_VIDEO_APP_INSTALL_AD" - The creative is linked to native
    // video app install ad.
    NativeTemplate string `json:"nativeTemplate,omitempty"`

    // Size: For regular or video creative size type, specifies the size
    // of the creative
    Size *Size `json:"size,omitempty"`

    // SkippableAdType: The type of skippable ad for this creative. It will
    // have a value only if
    // creative_size_type = CreativeSizeType.VIDEO.
    //
    // Possible values:
    //   "SKIPPABLE_AD_TYPE_UNSPECIFIED" - A placeholder for an undefined
    // skippable ad type.
    //   "GENERIC" - This video ad can be skipped after 5 seconds.
    //   "INSTREAM_SELECT" - This video ad can be skipped after 5 seconds,
    // and count as
    // engaged view after 30 seconds. The creative is hosted on
    // YouTube only, and viewcount of the YouTube video increments
    // after the engaged view.
    //   "NOT_SKIPPABLE" - This video ad is not skippable.
    SkippableAdType string `json:"skippableAdType,omitempty"`

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

CreativeSize: Specifies the size of the creative.

func (*CreativeSize) MarshalJSON Uses

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

type CreativeSpecification Uses

type CreativeSpecification struct {
    // CreativeCompanionSizes: Companion sizes may be filled in only when
    // this is a video creative.
    CreativeCompanionSizes []*AdSize `json:"creativeCompanionSizes,omitempty"`

    // CreativeSize: The size of the creative.
    CreativeSize *AdSize `json:"creativeSize,omitempty"`

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

CreativeSpecification: Represents information for a creative that is associated with a Programmatic Guaranteed/Preferred Deal in Ad Manager.

func (*CreativeSpecification) MarshalJSON Uses

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

type CreativeStatusRow Uses

type CreativeStatusRow struct {
    // BidCount: The number of bids with the specified status.
    BidCount *MetricValue `json:"bidCount,omitempty"`

    // CreativeStatusId: The ID of the creative
    // status.
    // See
    // [creative-status-codes](https://developers.google.com/auth
    // orized-buyers/rtb/downloads/creative-status-codes).
    CreativeStatusId int64 `json:"creativeStatusId,omitempty"`

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

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

CreativeStatusRow: The number of bids with the specified dimension values that did not win the auction (either were filtered pre-auction or lost the auction), as described by the specified creative status.

func (*CreativeStatusRow) MarshalJSON Uses

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

type CriteriaTargeting Uses

type CriteriaTargeting struct {
    // ExcludedCriteriaIds: A list of numeric IDs to be excluded.
    ExcludedCriteriaIds googleapi.Int64s `json:"excludedCriteriaIds,omitempty"`

    // TargetedCriteriaIds: A list of numeric IDs to be included.
    TargetedCriteriaIds googleapi.Int64s `json:"targetedCriteriaIds,omitempty"`

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

CriteriaTargeting: Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs.

func (*CriteriaTargeting) MarshalJSON Uses

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

type Date Uses

type Date struct {
    // Day: Day of month. Must be from 1 to 31 and valid for the year and
    // month, or 0
    // if specifying a year by itself or a year and month where the day is
    // not
    // significant.
    Day int64 `json:"day,omitempty"`

    // Month: Month of year. Must be from 1 to 12, or 0 if specifying a year
    // without a
    // month and day.
    Month int64 `json:"month,omitempty"`

    // Year: Year of date. Must be from 1 to 9999, or 0 if specifying a date
    // without
    // a year.
    Year int64 `json:"year,omitempty"`

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

Date: Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:

* A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date

Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.

func (*Date) MarshalJSON Uses

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

type DayPart Uses

type DayPart struct {
    // DayOfWeek: The day of the week to target. If unspecified, applicable
    // to all days.
    //
    // Possible values:
    //   "DAY_OF_WEEK_UNSPECIFIED" - A placeholder for when the day of the
    // week is not specified.
    //   "MONDAY" - Monday
    //   "TUESDAY" - Tuesday
    //   "WEDNESDAY" - Wednesday
    //   "THURSDAY" - Thursday
    //   "FRIDAY" - Friday
    //   "SATURDAY" - Saturday
    //   "SUNDAY" - Sunday
    DayOfWeek string `json:"dayOfWeek,omitempty"`

    // EndTime: The ending time of the day for the ad to show (minute
    // level
    // granularity). The end time is exclusive. This field is not
    // available
    // for filtering in PQL queries.
    EndTime *TimeOfDay `json:"endTime,omitempty"`

    // StartTime: The starting time of day for the ad to show (minute level
    // granularity).
    // The start time is inclusive.
    // This field is not available for filtering in PQL queries.
    StartTime *TimeOfDay `json:"startTime,omitempty"`

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

DayPart: Daypart targeting message that specifies if the ad can be shown only during certain parts of a day/week.

func (*DayPart) MarshalJSON Uses

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

type DayPartTargeting Uses

type DayPartTargeting struct {
    // DayParts: A list of day part targeting criterion.
    DayParts []*DayPart `json:"dayParts,omitempty"`

    // TimeZoneType: The timezone to use for interpreting the day part
    // targeting.
    //
    // Possible values:
    //   "TIME_ZONE_SOURCE_UNSPECIFIED" - A placeholder for an undefined
    // time zone source.
    //   "PUBLISHER" - Use publisher's time zone setting.
    //   "USER" - Use the user's time zone setting.
    TimeZoneType string `json:"timeZoneType,omitempty"`

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

DayPartTargeting: Specifies the day part targeting criteria.

func (*DayPartTargeting) MarshalJSON Uses

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

type Deal Uses

type Deal struct {
    // AvailableEndTime: Proposed flight end time of the deal.
    // This will generally be stored in a granularity of a second.
    // A value is not required for Private Auction deals or Preferred Deals.
    AvailableEndTime string `json:"availableEndTime,omitempty"`

    // AvailableStartTime: Optional proposed flight start time of the
    // deal.
    // This will generally be stored in the granularity of one second since
    // deal
    // serving starts at seconds boundary. Any time specified with
    // more
    // granularity (e.g., in milliseconds) will be truncated towards the
    // start of
    // time in seconds.
    AvailableStartTime string `json:"availableStartTime,omitempty"`

    // BuyerPrivateData: Buyer private data (hidden from seller).
    BuyerPrivateData *PrivateData `json:"buyerPrivateData,omitempty"`

    // CreateProductId: The product ID from which this deal was
    // created.
    //
    // Note: This field may be set only when creating the resource.
    // Modifying
    // this field while updating the resource will result in an error.
    CreateProductId string `json:"createProductId,omitempty"`

    // CreateProductRevision: Optional revision number of the product that
    // the deal was created from.
    // If present on create, and the server `product_revision` has advanced
    // sinced
    // the passed-in `create_product_revision`, an `ABORTED` error will
    // be
    // returned.
    //
    // Note: This field may be set only when creating the resource.
    // Modifying
    // this field while updating the resource will result in an error.
    CreateProductRevision int64 `json:"createProductRevision,omitempty,string"`

    // CreateTime: Output only. The time of the deal creation.
    CreateTime string `json:"createTime,omitempty"`

    // CreativePreApprovalPolicy: Output only. Specifies the creative
    // pre-approval policy.
    //
    // Possible values:
    //   "CREATIVE_PRE_APPROVAL_POLICY_UNSPECIFIED" - A placeholder for an
    // undefined creative pre-approval policy.
    //   "SELLER_PRE_APPROVAL_REQUIRED" - The seller needs to approve each
    // creative before it can serve.
    //   "SELLER_PRE_APPROVAL_NOT_REQUIRED" - The seller does not need to
    // approve each creative before it can serve.
    CreativePreApprovalPolicy string `json:"creativePreApprovalPolicy,omitempty"`

    // CreativeRestrictions: Output only. Restricitions about the creatives
    // associated with the deal
    // (i.e., size) This is available for Programmatic Guaranteed/Preferred
    // Deals
    // in Ad Manager.
    CreativeRestrictions *CreativeRestrictions `json:"creativeRestrictions,omitempty"`

    // CreativeSafeFrameCompatibility: Output only. Specifies whether the
    // creative is safeFrame compatible.
    //
    // Possible values:
    //   "CREATIVE_SAFE_FRAME_COMPATIBILITY_UNSPECIFIED" - A placeholder for
    // an undefined creative safe-frame compatibility.
    //   "COMPATIBLE" - The creatives need to be compatible with the safe
    // frame option.
    //   "INCOMPATIBLE" - The creatives can be incompatible with the safe
    // frame option.
    CreativeSafeFrameCompatibility string `json:"creativeSafeFrameCompatibility,omitempty"`

    // DealId: Output only. A unique deal ID for the deal (server-assigned).
    DealId string `json:"dealId,omitempty"`

    // DealServingMetadata: Output only. Metadata about the serving status
    // of this deal.
    DealServingMetadata *DealServingMetadata `json:"dealServingMetadata,omitempty"`

    // DealTerms: The negotiable terms of the deal.
    DealTerms *DealTerms `json:"dealTerms,omitempty"`

    // DeliveryControl: The set of fields around delivery control that are
    // interesting for a buyer
    // to see but are non-negotiable. These are set by the publisher.
    DeliveryControl *DeliveryControl `json:"deliveryControl,omitempty"`

    // Description: Description for the deal terms.
    Description string `json:"description,omitempty"`

    // DisplayName: The name of the deal.
    DisplayName string `json:"displayName,omitempty"`

    // ExternalDealId: Output only. The external deal ID assigned to this
    // deal once the deal is
    // finalized. This is the deal ID that shows up in serving/reporting
    // etc.
    ExternalDealId string `json:"externalDealId,omitempty"`

    // IsSetupComplete: Output only. True, if the buyside inventory setup is
    // complete for this
    // deal.
    IsSetupComplete bool `json:"isSetupComplete,omitempty"`

    // ProgrammaticCreativeSource: Output only. Specifies the creative
    // source for programmatic deals.
    // PUBLISHER means creative is provided by seller and ADVERTISER
    // means
    // creative is provided by buyer.
    //
    // Possible values:
    //   "PROGRAMMATIC_CREATIVE_SOURCE_UNSPECIFIED" - A placeholder for an
    // undefined programmatic creative source.
    //   "ADVERTISER" - The advertiser provides the creatives.
    //   "PUBLISHER" - The publisher provides the creatives to be served.
    ProgrammaticCreativeSource string `json:"programmaticCreativeSource,omitempty"`

    // ProposalId: Output only. ID of the proposal that this deal is part
    // of.
    ProposalId string `json:"proposalId,omitempty"`

    // SellerContacts: Output only. Seller contact information for the deal.
    SellerContacts []*ContactInformation `json:"sellerContacts,omitempty"`

    // SyndicationProduct: The syndication product associated with the
    // deal.
    //
    // Note: This field may be set only when creating the resource.
    // Modifying
    // this field while updating the resource will result in an error.
    //
    // Possible values:
    //   "SYNDICATION_PRODUCT_UNSPECIFIED" - A placeholder for an undefined
    // syndication product.
    //   "CONTENT" - This typically represents a web page.
    //   "MOBILE" - This represents a mobile property.
    //   "VIDEO" - This represents video ad formats.
    //   "GAMES" - This represents ads shown within games.
    SyndicationProduct string `json:"syndicationProduct,omitempty"`

    // Targeting: Output only. Specifies the subset of inventory targeted by
    // the deal.
    Targeting *MarketplaceTargeting `json:"targeting,omitempty"`

    // TargetingCriterion: The shared targeting visible to buyers and
    // sellers. Each shared
    // targeting entity is AND'd together.
    TargetingCriterion []*TargetingCriteria `json:"targetingCriterion,omitempty"`

    // UpdateTime: Output only. The time when the deal was last updated.
    UpdateTime string `json:"updateTime,omitempty"`

    // WebPropertyCode: The web property code for the seller copied over
    // from the product.
    WebPropertyCode string `json:"webPropertyCode,omitempty"`

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

Deal: A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.

func (*Deal) MarshalJSON Uses

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

type DealPauseStatus Uses

type DealPauseStatus struct {
    // BuyerPauseReason: The buyer's reason for pausing, if the buyer paused
    // the deal.
    BuyerPauseReason string `json:"buyerPauseReason,omitempty"`

    // FirstPausedBy: The role of the person who first paused this deal.
    //
    // Possible values:
    //   "BUYER_SELLER_ROLE_UNSPECIFIED" - A placeholder for an undefined
    // buyer/seller role.
    //   "BUYER" - Specifies the role as buyer.
    //   "SELLER" - Specifies the role as seller.
    FirstPausedBy string `json:"firstPausedBy,omitempty"`

    // HasBuyerPaused: True, if the buyer has paused the deal unilaterally.
    HasBuyerPaused bool `json:"hasBuyerPaused,omitempty"`

    // HasSellerPaused: True, if the seller has paused the deal
    // unilaterally.
    HasSellerPaused bool `json:"hasSellerPaused,omitempty"`

    // SellerPauseReason: The seller's reason for pausing, if the seller
    // paused the deal.
    SellerPauseReason string `json:"sellerPauseReason,omitempty"`

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

DealPauseStatus: Tracks which parties (if any) have paused a deal. The deal is considered paused if either hasBuyerPaused or hasSellPaused is true.

func (*DealPauseStatus) MarshalJSON Uses

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

type DealServingMetadata Uses

type DealServingMetadata struct {
    // DealPauseStatus: Output only. Tracks which parties (if any) have
    // paused a deal.
    DealPauseStatus *DealPauseStatus `json:"dealPauseStatus,omitempty"`

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

DealServingMetadata: Message captures metadata about the serving status of a deal.

func (*DealServingMetadata) MarshalJSON Uses

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

type DealTerms Uses

type DealTerms struct {
    // BrandingType: Visibility of the URL in bid requests. (default:
    // BRANDED)
    //
    // Possible values:
    //   "BRANDING_TYPE_UNSPECIFIED" - A placeholder for an undefined
    // branding type.
    //   "BRANDED" - Full URL is included in bid requests.
    //   "SEMI_TRANSPARENT" - A TopLevelDomain or masked URL is sent in bid
    // requests
    // rather than the full one.
    BrandingType string `json:"brandingType,omitempty"`

    // Description: Publisher provided description for the terms.
    Description string `json:"description,omitempty"`

    // EstimatedGrossSpend: Non-binding estimate of the estimated gross
    // spend for this deal.
    // Can be set by buyer or seller.
    EstimatedGrossSpend *Price `json:"estimatedGrossSpend,omitempty"`

    // EstimatedImpressionsPerDay: Non-binding estimate of the impressions
    // served per day.
    // Can be set by buyer or seller.
    EstimatedImpressionsPerDay int64 `json:"estimatedImpressionsPerDay,omitempty,string"`

    // GuaranteedFixedPriceTerms: The terms for guaranteed fixed price
    // deals.
    GuaranteedFixedPriceTerms *GuaranteedFixedPriceTerms `json:"guaranteedFixedPriceTerms,omitempty"`

    // NonGuaranteedAuctionTerms: The terms for non-guaranteed auction
    // deals.
    NonGuaranteedAuctionTerms *NonGuaranteedAuctionTerms `json:"nonGuaranteedAuctionTerms,omitempty"`

    // NonGuaranteedFixedPriceTerms: The terms for non-guaranteed fixed
    // price deals.
    NonGuaranteedFixedPriceTerms *NonGuaranteedFixedPriceTerms `json:"nonGuaranteedFixedPriceTerms,omitempty"`

    // SellerTimeZone: The time zone name. For deals with Cost Per Day
    // billing, defines the
    // time zone used to mark the boundaries of a day. It should be an
    // IANA TZ name, such as "America/Los_Angeles". For more
    // information,
    // see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
    SellerTimeZone string `json:"sellerTimeZone,omitempty"`

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

DealTerms: The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (e.g., fixed price, auction) and expected impressions from the publisher.

func (*DealTerms) MarshalJSON Uses

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

type DeliveryControl Uses

type DeliveryControl struct {
    // CreativeBlockingLevel: Output only. Specified the creative blocking
    // levels to be applied.
    //
    // Possible values:
    //   "CREATIVE_BLOCKING_LEVEL_UNSPECIFIED" - A placeholder for an
    // undefined creative blocking level.
    //   "PUBLISHER_BLOCKING_RULES" - Publisher blocking rules will be
    // applied.
    //   "ADX_POLICY_BLOCKING_ONLY" - The Ad Exchange policy blocking rules
    // will be applied.
    CreativeBlockingLevel string `json:"creativeBlockingLevel,omitempty"`

    // DeliveryRateType: Output only. Specifies how the impression delivery
    // will be paced.
    //
    // Possible values:
    //   "DELIVERY_RATE_TYPE_UNSPECIFIED" - A placeholder for an undefined
    // delivery rate type.
    //   "EVENLY" - Impressions are served uniformly over the life of the
    // deal.
    //   "FRONT_LOADED" - Impressions are served front-loaded.
    //   "AS_FAST_AS_POSSIBLE" - Impressions are served as fast as possible.
    DeliveryRateType string `json:"deliveryRateType,omitempty"`

    // FrequencyCaps: Output only. Specifies any frequency caps.
    FrequencyCaps []*FrequencyCap `json:"frequencyCaps,omitempty"`

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

DeliveryControl: Message contains details about how the deals will be paced.

func (*DeliveryControl) MarshalJSON Uses

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

type Disapproval Uses

type Disapproval struct {
    // Details: Additional details about the reason for disapproval.
    Details []string `json:"details,omitempty"`

    // Reason: The categorized reason for disapproval.
    //
    // Possible values:
    //   "LENGTH_OF_IMAGE_ANIMATION" - The length of the image animation is
    // longer than allowed.
    //   "BROKEN_URL" - The click through URL doesn't work properly.
    //   "MEDIA_NOT_FUNCTIONAL" - Something is wrong with the creative
    // itself.
    //   "INVALID_FOURTH_PARTY_CALL" - The ad makes a fourth party call to
    // an unapproved vendor.
    //   "INCORRECT_REMARKETING_DECLARATION" - The ad targets consumers
    // using remarketing lists and/or collects
    // data for subsequent use in retargeting, but does not correctly
    // declare
    // that use.
    //   "LANDING_PAGE_ERROR" - Clicking on the ad leads to an error page.
    //   "AD_SIZE_DOES_NOT_MATCH_AD_SLOT" - The ad size when rendered does
    // not match the declaration.
    //   "NO_BORDER" - Ads with a white background require a border, which
    // was missing.
    //   "FOURTH_PARTY_BROWSER_COOKIES" - The creative attempts to set
    // cookies from a fourth party that is not
    // certified.
    //   "LSO_OBJECTS" - The creative sets an LSO object.
    //   "BLANK_CREATIVE" - The ad serves a blank.
    //   "DESTINATION_URLS_UNDECLARED" - The ad uses rotation, but not all
    // destination URLs were declared.
    //   "PROBLEM_WITH_CLICK_MACRO" - There is a problem with the way the
    // click macro is used.
    //   "INCORRECT_AD_TECHNOLOGY_DECLARATION" - The ad technology
    // declaration is not accurate.
    //   "INCORRECT_DESTINATION_URL_DECLARATION" - The actual destination
    // URL does not match the declared destination URL.
    //   "EXPANDABLE_INCORRECT_DIRECTION" - The declared expanding direction
    // does not match the actual direction.
    //   "EXPANDABLE_DIRECTION_NOT_SUPPORTED" - The ad does not expand in a
    // supported direction.
    //   "EXPANDABLE_INVALID_VENDOR" - The ad uses an expandable vendor that
    // is not supported.
    //   "EXPANDABLE_FUNCTIONALITY" - There was an issue with the expandable
    // ad.
    //   "VIDEO_INVALID_VENDOR" - The ad uses a video vendor that is not
    // supported.
    //   "VIDEO_UNSUPPORTED_LENGTH" - The length of the video ad is not
    // supported.
    //   "VIDEO_UNSUPPORTED_FORMAT" - The format of the video ad is not
    // supported.
    //   "VIDEO_FUNCTIONALITY" - There was an issue with the video ad.
    //   "LANDING_PAGE_DISABLED" - The landing page does not conform to Ad
    // Exchange policy.
    //   "MALWARE_SUSPECTED" - The ad or the landing page may contain
    // malware.
    //   "ADULT_IMAGE_OR_VIDEO" - The ad contains adult images or video
    // content.
    //   "INACCURATE_AD_TEXT" - The ad contains text that is unclear or
    // inaccurate.
    //   "COUNTERFEIT_DESIGNER_GOODS" - The ad promotes counterfeit designer
    // goods.
    //   "POP_UP" - The ad causes a popup window to appear.
    //   "INVALID_RTB_PROTOCOL_USAGE" - The creative does not follow
    // policies set for the RTB protocol.
    //   "RAW_IP_ADDRESS_IN_SNIPPET" - The ad contains a URL that uses a
    // numeric IP address for the domain.
    //   "UNACCEPTABLE_CONTENT_SOFTWARE" - The ad or landing page contains
    // unacceptable content b