googleads

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package googleads is an auto-generated package for the Google Ads API.

Manage your Google Ads accounts, campaigns, and reports with this API.

Example usage

To get started with this package, create a client.

ctx := context.Background()
c, err := googleads.NewAccountBudgetProposalClient(ctx)
if err != nil {
	// TODO: Handle error.
}
defer c.Close()

The client will use your default application credentials. Clients should be reused instead of created as needed. The methods of Client are safe for concurrent use by multiple goroutines. The returned client must be Closed when it is done being used.

Using the Client

The following is an example of making an API call with the newly created client.

ctx := context.Background()
c, err := googleads.NewAccountBudgetProposalClient(ctx)
if err != nil {
	// TODO: Handle error.
}
defer c.Close()

req := &servicespb.MutateAccountBudgetProposalRequest{
	// TODO: Fill request struct fields.
	// See https://pkg.go.dev/github.com/fresh8gaming/go-genproto-googleads/pb/v10/services#MutateAccountBudgetProposalRequest.
}
resp, err := c.MutateAccountBudgetProposal(ctx, req)
if err != nil {
	// TODO: Handle error.
}
// TODO: Use resp.
_ = resp

Use of Context

The ctx passed to NewClient is used for authentication requests and for creating the underlying connection, but is not used for subsequent calls. Individual methods on the client use the ctx given to them.

To close the open connection, use the Close() method.

For information about setting deadlines, reusing contexts, and more please visit https://pkg.go.dev/cloud.google.com/go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAuthScopes

func DefaultAuthScopes() []string

DefaultAuthScopes reports the default set of authentication scopes to use with this package.

Types

type AccountBudgetProposalCallOptions

type AccountBudgetProposalCallOptions struct {
	MutateAccountBudgetProposal []gax.CallOption
}

AccountBudgetProposalCallOptions contains the retry settings for each method of AccountBudgetProposalClient.

type AccountBudgetProposalClient

type AccountBudgetProposalClient struct {

	// The call options for this service.
	CallOptions *AccountBudgetProposalCallOptions
	// contains filtered or unexported fields
}

AccountBudgetProposalClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for managing account-level budgets via proposals.

A proposal is a request to create a new budget or make changes to an existing one.

Mutates: The CREATE operation creates a new proposal. UPDATE operations aren’t supported. The REMOVE operation cancels a pending proposal.

func NewAccountBudgetProposalClient

func NewAccountBudgetProposalClient(ctx context.Context, opts ...option.ClientOption) (*AccountBudgetProposalClient, error)

NewAccountBudgetProposalClient creates a new account budget proposal service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for managing account-level budgets via proposals.

A proposal is a request to create a new budget or make changes to an existing one.

Mutates: The CREATE operation creates a new proposal. UPDATE operations aren’t supported. The REMOVE operation cancels a pending proposal.

func (*AccountBudgetProposalClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AccountBudgetProposalClient) Connection

func (c *AccountBudgetProposalClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AccountBudgetProposalClient) MutateAccountBudgetProposal

MutateAccountBudgetProposal creates, updates, or removes account budget proposals. Operation statuses are returned.

List of thrown errors: AccountBudgetProposalError (at ) AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DateError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at ) StringLengthError (at )

type AccountLinkCallOptions

type AccountLinkCallOptions struct {
	CreateAccountLink []gax.CallOption
	MutateAccountLink []gax.CallOption
}

AccountLinkCallOptions contains the retry settings for each method of AccountLinkClient.

type AccountLinkClient

type AccountLinkClient struct {

	// The call options for this service.
	CallOptions *AccountLinkCallOptions
	// contains filtered or unexported fields
}

AccountLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

This service allows management of links between Google Ads accounts and other accounts.

func NewAccountLinkClient

func NewAccountLinkClient(ctx context.Context, opts ...option.ClientOption) (*AccountLinkClient, error)

NewAccountLinkClient creates a new account link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

This service allows management of links between Google Ads accounts and other accounts.

func (*AccountLinkClient) Close

func (c *AccountLinkClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AccountLinkClient) Connection

func (c *AccountLinkClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

CreateAccountLink creates an account link.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at ) ThirdPartyAppAnalyticsLinkError (at )

MutateAccountLink creates or removes an account link. From V5, create is not supported through AccountLinkService.MutateAccountLink. Please use AccountLinkService.CreateAccountLink instead.

List of thrown errors: AccountLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type AdCallOptions

type AdCallOptions struct {
	GetAd     []gax.CallOption
	MutateAds []gax.CallOption
}

AdCallOptions contains the retry settings for each method of AdClient.

type AdClient

type AdClient struct {

	// The call options for this service.
	CallOptions *AdCallOptions
	// contains filtered or unexported fields
}

AdClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ads.

func NewAdClient

func NewAdClient(ctx context.Context, opts ...option.ClientOption) (*AdClient, error)

NewAdClient creates a new ad service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ads.

func (*AdClient) Close

func (c *AdClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdClient) Connection

func (c *AdClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdClient) GetAd

func (c *AdClient) GetAd(ctx context.Context, req *servicespb.GetAdRequest, opts ...gax.CallOption) (*resourcespb.Ad, error)

GetAd returns the requested ad in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*AdClient) MutateAds

MutateAds updates ads. Operation statuses are returned. Updating ads is not supported for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd.

List of thrown errors: AdCustomizerError (at ) AdError (at ) AdSharingError (at ) AdxError (at ) AssetError (at ) AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FeedAttributeReferenceError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) ImageError (at ) InternalError (at ) ListOperationError (at ) MediaBundleError (at ) MediaFileError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) PolicyFindingError (at ) PolicyViolationError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type AdGroupAdCallOptions

type AdGroupAdCallOptions struct {
	MutateAdGroupAds []gax.CallOption
}

AdGroupAdCallOptions contains the retry settings for each method of AdGroupAdClient.

type AdGroupAdClient

type AdGroupAdClient struct {

	// The call options for this service.
	CallOptions *AdGroupAdCallOptions
	// contains filtered or unexported fields
}

AdGroupAdClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ads in an ad group.

func NewAdGroupAdClient

func NewAdGroupAdClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAdClient, error)

NewAdGroupAdClient creates a new ad group ad service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ads in an ad group.

func (*AdGroupAdClient) Close

func (c *AdGroupAdClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupAdClient) Connection

func (c *AdGroupAdClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupAdClient) MutateAdGroupAds

MutateAdGroupAds creates, updates, or removes ads. Operation statuses are returned.

List of thrown errors: AdCustomizerError (at ) AdError (at ) AdGroupAdError (at ) AdSharingError (at ) AdxError (at ) AssetError (at ) AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) ContextError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FeedAttributeReferenceError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) ImageError (at ) InternalError (at ) ListOperationError (at ) MediaBundleError (at ) MediaFileError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) PolicyFindingError (at ) PolicyValidationParameterError (at ) PolicyViolationError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type AdGroupAdLabelCallOptions

type AdGroupAdLabelCallOptions struct {
	MutateAdGroupAdLabels []gax.CallOption
}

AdGroupAdLabelCallOptions contains the retry settings for each method of AdGroupAdLabelClient.

type AdGroupAdLabelClient

type AdGroupAdLabelClient struct {

	// The call options for this service.
	CallOptions *AdGroupAdLabelCallOptions
	// contains filtered or unexported fields
}

AdGroupAdLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage labels on ad group ads.

func NewAdGroupAdLabelClient

func NewAdGroupAdLabelClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAdLabelClient, error)

NewAdGroupAdLabelClient creates a new ad group ad label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage labels on ad group ads.

func (*AdGroupAdLabelClient) Close

func (c *AdGroupAdLabelClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupAdLabelClient) Connection

func (c *AdGroupAdLabelClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupAdLabelClient) MutateAdGroupAdLabels

MutateAdGroupAdLabels creates and removes ad group ad labels. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) HeaderError (at ) InternalError (at ) LabelError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at )

type AdGroupAssetCallOptions

type AdGroupAssetCallOptions struct {
	MutateAdGroupAssets []gax.CallOption
}

AdGroupAssetCallOptions contains the retry settings for each method of AdGroupAssetClient.

type AdGroupAssetClient

type AdGroupAssetClient struct {

	// The call options for this service.
	CallOptions *AdGroupAssetCallOptions
	// contains filtered or unexported fields
}

AdGroupAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad group assets.

func NewAdGroupAssetClient

func NewAdGroupAssetClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAssetClient, error)

NewAdGroupAssetClient creates a new ad group asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad group assets.

func (*AdGroupAssetClient) Close

func (c *AdGroupAssetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupAssetClient) Connection

func (c *AdGroupAssetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupAssetClient) MutateAdGroupAssets

MutateAdGroupAssets creates, updates, or removes ad group assets. Operation statuses are returned.

List of thrown errors: AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NotAllowlistedError (at ) QuotaError (at ) RequestError (at )

type AdGroupBidModifierCallOptions

type AdGroupBidModifierCallOptions struct {
	MutateAdGroupBidModifiers []gax.CallOption
}

AdGroupBidModifierCallOptions contains the retry settings for each method of AdGroupBidModifierClient.

type AdGroupBidModifierClient

type AdGroupBidModifierClient struct {

	// The call options for this service.
	CallOptions *AdGroupBidModifierCallOptions
	// contains filtered or unexported fields
}

AdGroupBidModifierClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad group bid modifiers.

func NewAdGroupBidModifierClient

func NewAdGroupBidModifierClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupBidModifierClient, error)

NewAdGroupBidModifierClient creates a new ad group bid modifier service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad group bid modifiers.

func (*AdGroupBidModifierClient) Close

func (c *AdGroupBidModifierClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupBidModifierClient) Connection

func (c *AdGroupBidModifierClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupBidModifierClient) MutateAdGroupBidModifiers

MutateAdGroupBidModifiers creates, updates, or removes ad group bid modifiers. Operation statuses are returned.

List of thrown errors: AdGroupBidModifierError (at ) AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) CriterionError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type AdGroupCallOptions

type AdGroupCallOptions struct {
	MutateAdGroups []gax.CallOption
}

AdGroupCallOptions contains the retry settings for each method of AdGroupClient.

type AdGroupClient

type AdGroupClient struct {

	// The call options for this service.
	CallOptions *AdGroupCallOptions
	// contains filtered or unexported fields
}

AdGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad groups.

func NewAdGroupClient

func NewAdGroupClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupClient, error)

NewAdGroupClient creates a new ad group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad groups.

func (*AdGroupClient) Close

func (c *AdGroupClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupClient) Connection

func (c *AdGroupClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupClient) MutateAdGroups

MutateAdGroups creates, updates, or removes ad groups. Operation statuses are returned.

List of thrown errors: AdGroupError (at ) AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) BiddingError (at ) BiddingStrategyError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MultiplierError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SettingError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type AdGroupCriterionCallOptions

type AdGroupCriterionCallOptions struct {
	MutateAdGroupCriteria []gax.CallOption
}

AdGroupCriterionCallOptions contains the retry settings for each method of AdGroupCriterionClient.

type AdGroupCriterionClient

type AdGroupCriterionClient struct {

	// The call options for this service.
	CallOptions *AdGroupCriterionCallOptions
	// contains filtered or unexported fields
}

AdGroupCriterionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad group criteria.

func NewAdGroupCriterionClient

func NewAdGroupCriterionClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCriterionClient, error)

NewAdGroupCriterionClient creates a new ad group criterion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad group criteria.

func (*AdGroupCriterionClient) Close

func (c *AdGroupCriterionClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupCriterionClient) Connection

func (c *AdGroupCriterionClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupCriterionClient) MutateAdGroupCriteria

MutateAdGroupCriteria creates, updates, or removes criteria. Operation statuses are returned.

List of thrown errors: AdGroupCriterionError (at ) AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) BiddingError (at ) BiddingStrategyError (at ) CollectionSizeError (at ) ContextError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MultiplierError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) PolicyViolationError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type AdGroupCriterionCustomizerCallOptions

type AdGroupCriterionCustomizerCallOptions struct {
	MutateAdGroupCriterionCustomizers []gax.CallOption
}

AdGroupCriterionCustomizerCallOptions contains the retry settings for each method of AdGroupCriterionCustomizerClient.

type AdGroupCriterionCustomizerClient

type AdGroupCriterionCustomizerClient struct {

	// The call options for this service.
	CallOptions *AdGroupCriterionCustomizerCallOptions
	// contains filtered or unexported fields
}

AdGroupCriterionCustomizerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad group criterion customizer

func NewAdGroupCriterionCustomizerClient

func NewAdGroupCriterionCustomizerClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCriterionCustomizerClient, error)

NewAdGroupCriterionCustomizerClient creates a new ad group criterion customizer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad group criterion customizer

func (*AdGroupCriterionCustomizerClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupCriterionCustomizerClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupCriterionCustomizerClient) MutateAdGroupCriterionCustomizers

MutateAdGroupCriterionCustomizers creates, updates or removes ad group criterion customizers. Operation statuses are returned.

type AdGroupCriterionLabelCallOptions

type AdGroupCriterionLabelCallOptions struct {
	MutateAdGroupCriterionLabels []gax.CallOption
}

AdGroupCriterionLabelCallOptions contains the retry settings for each method of AdGroupCriterionLabelClient.

type AdGroupCriterionLabelClient

type AdGroupCriterionLabelClient struct {

	// The call options for this service.
	CallOptions *AdGroupCriterionLabelCallOptions
	// contains filtered or unexported fields
}

AdGroupCriterionLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage labels on ad group criteria.

func NewAdGroupCriterionLabelClient

func NewAdGroupCriterionLabelClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCriterionLabelClient, error)

NewAdGroupCriterionLabelClient creates a new ad group criterion label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage labels on ad group criteria.

func (*AdGroupCriterionLabelClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupCriterionLabelClient) Connection

func (c *AdGroupCriterionLabelClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupCriterionLabelClient) MutateAdGroupCriterionLabels

MutateAdGroupCriterionLabels creates and removes ad group criterion labels. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type AdGroupCustomizerCallOptions

type AdGroupCustomizerCallOptions struct {
	MutateAdGroupCustomizers []gax.CallOption
}

AdGroupCustomizerCallOptions contains the retry settings for each method of AdGroupCustomizerClient.

type AdGroupCustomizerClient

type AdGroupCustomizerClient struct {

	// The call options for this service.
	CallOptions *AdGroupCustomizerCallOptions
	// contains filtered or unexported fields
}

AdGroupCustomizerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad group customizer

func NewAdGroupCustomizerClient

func NewAdGroupCustomizerClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCustomizerClient, error)

NewAdGroupCustomizerClient creates a new ad group customizer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad group customizer

func (*AdGroupCustomizerClient) Close

func (c *AdGroupCustomizerClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupCustomizerClient) Connection

func (c *AdGroupCustomizerClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupCustomizerClient) MutateAdGroupCustomizers

MutateAdGroupCustomizers creates, updates or removes ad group customizers. Operation statuses are returned.

type AdGroupExtensionSettingCallOptions

type AdGroupExtensionSettingCallOptions struct {
	MutateAdGroupExtensionSettings []gax.CallOption
}

AdGroupExtensionSettingCallOptions contains the retry settings for each method of AdGroupExtensionSettingClient.

type AdGroupExtensionSettingClient

type AdGroupExtensionSettingClient struct {

	// The call options for this service.
	CallOptions *AdGroupExtensionSettingCallOptions
	// contains filtered or unexported fields
}

AdGroupExtensionSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad group extension settings.

func NewAdGroupExtensionSettingClient

func NewAdGroupExtensionSettingClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupExtensionSettingClient, error)

NewAdGroupExtensionSettingClient creates a new ad group extension setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad group extension settings.

func (*AdGroupExtensionSettingClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupExtensionSettingClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupExtensionSettingClient) MutateAdGroupExtensionSettings

MutateAdGroupExtensionSettings creates, updates, or removes ad group extension settings. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionSettingError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type AdGroupFeedCallOptions

type AdGroupFeedCallOptions struct {
	MutateAdGroupFeeds []gax.CallOption
}

AdGroupFeedCallOptions contains the retry settings for each method of AdGroupFeedClient.

type AdGroupFeedClient

type AdGroupFeedClient struct {

	// The call options for this service.
	CallOptions *AdGroupFeedCallOptions
	// contains filtered or unexported fields
}

AdGroupFeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad group feeds.

func NewAdGroupFeedClient

func NewAdGroupFeedClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupFeedClient, error)

NewAdGroupFeedClient creates a new ad group feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad group feeds.

func (*AdGroupFeedClient) Close

func (c *AdGroupFeedClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupFeedClient) Connection

func (c *AdGroupFeedClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupFeedClient) MutateAdGroupFeeds

MutateAdGroupFeeds creates, updates, or removes ad group feeds. Operation statuses are returned.

List of thrown errors: AdGroupFeedError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type AdGroupLabelCallOptions

type AdGroupLabelCallOptions struct {
	MutateAdGroupLabels []gax.CallOption
}

AdGroupLabelCallOptions contains the retry settings for each method of AdGroupLabelClient.

type AdGroupLabelClient

type AdGroupLabelClient struct {

	// The call options for this service.
	CallOptions *AdGroupLabelCallOptions
	// contains filtered or unexported fields
}

AdGroupLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage labels on ad groups.

func NewAdGroupLabelClient

func NewAdGroupLabelClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupLabelClient, error)

NewAdGroupLabelClient creates a new ad group label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage labels on ad groups.

func (*AdGroupLabelClient) Close

func (c *AdGroupLabelClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdGroupLabelClient) Connection

func (c *AdGroupLabelClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupLabelClient) MutateAdGroupLabels

MutateAdGroupLabels creates and removes ad group labels. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) LabelError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at )

type AdParameterCallOptions

type AdParameterCallOptions struct {
	MutateAdParameters []gax.CallOption
}

AdParameterCallOptions contains the retry settings for each method of AdParameterClient.

type AdParameterClient

type AdParameterClient struct {

	// The call options for this service.
	CallOptions *AdParameterCallOptions
	// contains filtered or unexported fields
}

AdParameterClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage ad parameters.

func NewAdParameterClient

func NewAdParameterClient(ctx context.Context, opts ...option.ClientOption) (*AdParameterClient, error)

NewAdParameterClient creates a new ad parameter service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage ad parameters.

func (*AdParameterClient) Close

func (c *AdParameterClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AdParameterClient) Connection

func (c *AdParameterClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AdParameterClient) MutateAdParameters

MutateAdParameters creates, updates, or removes ad parameters. Operation statuses are returned.

List of thrown errors: AdParameterError (at ) AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type AssetCallOptions

type AssetCallOptions struct {
	MutateAssets []gax.CallOption
}

AssetCallOptions contains the retry settings for each method of AssetClient.

type AssetClient

type AssetClient struct {

	// The call options for this service.
	CallOptions *AssetCallOptions
	// contains filtered or unexported fields
}

AssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage assets. Asset types can be created with AssetService are YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be created with Ad inline.

func NewAssetClient

func NewAssetClient(ctx context.Context, opts ...option.ClientOption) (*AssetClient, error)

NewAssetClient creates a new asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage assets. Asset types can be created with AssetService are YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be created with Ad inline.

func (*AssetClient) Close

func (c *AssetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AssetClient) Connection

func (c *AssetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AssetClient) MutateAssets

MutateAssets creates assets. Operation statuses are returned.

List of thrown errors: AssetError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CurrencyCodeError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MediaUploadError (at ) MutateError (at ) NotAllowlistedError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at ) YoutubeVideoRegistrationError (at )

type AssetGroupAssetCallOptions

type AssetGroupAssetCallOptions struct {
	MutateAssetGroupAssets []gax.CallOption
}

AssetGroupAssetCallOptions contains the retry settings for each method of AssetGroupAssetClient.

type AssetGroupAssetClient

type AssetGroupAssetClient struct {

	// The call options for this service.
	CallOptions *AssetGroupAssetCallOptions
	// contains filtered or unexported fields
}

AssetGroupAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage asset group asset.

func NewAssetGroupAssetClient

func NewAssetGroupAssetClient(ctx context.Context, opts ...option.ClientOption) (*AssetGroupAssetClient, error)

NewAssetGroupAssetClient creates a new asset group asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage asset group asset.

func (*AssetGroupAssetClient) Close

func (c *AssetGroupAssetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AssetGroupAssetClient) Connection

func (c *AssetGroupAssetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AssetGroupAssetClient) MutateAssetGroupAssets

MutateAssetGroupAssets creates, updates or removes asset group assets. Operation statuses are returned.

type AssetGroupCallOptions

type AssetGroupCallOptions struct {
	MutateAssetGroups []gax.CallOption
}

AssetGroupCallOptions contains the retry settings for each method of AssetGroupClient.

type AssetGroupClient

type AssetGroupClient struct {

	// The call options for this service.
	CallOptions *AssetGroupCallOptions
	// contains filtered or unexported fields
}

AssetGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage asset group

func NewAssetGroupClient

func NewAssetGroupClient(ctx context.Context, opts ...option.ClientOption) (*AssetGroupClient, error)

NewAssetGroupClient creates a new asset group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage asset group

func (*AssetGroupClient) Close

func (c *AssetGroupClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AssetGroupClient) Connection

func (c *AssetGroupClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AssetGroupClient) MutateAssetGroups

MutateAssetGroups creates, updates or removes asset groups. Operation statuses are returned.

type AssetGroupListingGroupFilterCallOptions

type AssetGroupListingGroupFilterCallOptions struct {
	MutateAssetGroupListingGroupFilters []gax.CallOption
}

AssetGroupListingGroupFilterCallOptions contains the retry settings for each method of AssetGroupListingGroupFilterClient.

type AssetGroupListingGroupFilterClient

type AssetGroupListingGroupFilterClient struct {

	// The call options for this service.
	CallOptions *AssetGroupListingGroupFilterCallOptions
	// contains filtered or unexported fields
}

AssetGroupListingGroupFilterClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage asset group listing group filter.

func NewAssetGroupListingGroupFilterClient

func NewAssetGroupListingGroupFilterClient(ctx context.Context, opts ...option.ClientOption) (*AssetGroupListingGroupFilterClient, error)

NewAssetGroupListingGroupFilterClient creates a new asset group listing group filter service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage asset group listing group filter.

func (*AssetGroupListingGroupFilterClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AssetGroupListingGroupFilterClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*AssetGroupListingGroupFilterClient) MutateAssetGroupListingGroupFilters

MutateAssetGroupListingGroupFilters creates, updates or removes asset group listing group filters. Operation statuses are returned.

type AssetGroupSignalCallOptions

type AssetGroupSignalCallOptions struct {
	MutateAssetGroupSignals []gax.CallOption
}

AssetGroupSignalCallOptions contains the retry settings for each method of AssetGroupSignalClient.

type AssetGroupSignalClient

type AssetGroupSignalClient struct {

	// The call options for this service.
	CallOptions *AssetGroupSignalCallOptions
	// contains filtered or unexported fields
}

AssetGroupSignalClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage asset group signal.

func NewAssetGroupSignalClient

func NewAssetGroupSignalClient(ctx context.Context, opts ...option.ClientOption) (*AssetGroupSignalClient, error)

NewAssetGroupSignalClient creates a new asset group signal service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage asset group signal.

func (*AssetGroupSignalClient) Close

func (c *AssetGroupSignalClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AssetGroupSignalClient) Connection

func (c *AssetGroupSignalClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AssetGroupSignalClient) MutateAssetGroupSignals

MutateAssetGroupSignals creates or removes asset group signals. Operation statuses are returned.

type AssetSetAssetCallOptions

type AssetSetAssetCallOptions struct {
	MutateAssetSetAssets []gax.CallOption
}

AssetSetAssetCallOptions contains the retry settings for each method of AssetSetAssetClient.

type AssetSetAssetClient

type AssetSetAssetClient struct {

	// The call options for this service.
	CallOptions *AssetSetAssetCallOptions
	// contains filtered or unexported fields
}

AssetSetAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage asset set asset.

func NewAssetSetAssetClient

func NewAssetSetAssetClient(ctx context.Context, opts ...option.ClientOption) (*AssetSetAssetClient, error)

NewAssetSetAssetClient creates a new asset set asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage asset set asset.

func (*AssetSetAssetClient) Close

func (c *AssetSetAssetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AssetSetAssetClient) Connection

func (c *AssetSetAssetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AssetSetAssetClient) MutateAssetSetAssets

MutateAssetSetAssets creates, updates or removes asset set assets. Operation statuses are returned.

type AssetSetCallOptions

type AssetSetCallOptions struct {
	MutateAssetSets []gax.CallOption
}

AssetSetCallOptions contains the retry settings for each method of AssetSetClient.

type AssetSetClient

type AssetSetClient struct {

	// The call options for this service.
	CallOptions *AssetSetCallOptions
	// contains filtered or unexported fields
}

AssetSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage asset set

func NewAssetSetClient

func NewAssetSetClient(ctx context.Context, opts ...option.ClientOption) (*AssetSetClient, error)

NewAssetSetClient creates a new asset set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage asset set

func (*AssetSetClient) Close

func (c *AssetSetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AssetSetClient) Connection

func (c *AssetSetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AssetSetClient) MutateAssetSets

MutateAssetSets creates, updates or removes asset sets. Operation statuses are returned.

type AudienceCallOptions

type AudienceCallOptions struct {
	MutateAudiences []gax.CallOption
}

AudienceCallOptions contains the retry settings for each method of AudienceClient.

type AudienceClient

type AudienceClient struct {

	// The call options for this service.
	CallOptions *AudienceCallOptions
	// contains filtered or unexported fields
}

AudienceClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage audiences.

func NewAudienceClient

func NewAudienceClient(ctx context.Context, opts ...option.ClientOption) (*AudienceClient, error)

NewAudienceClient creates a new audience service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage audiences.

func (*AudienceClient) Close

func (c *AudienceClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*AudienceClient) Connection

func (c *AudienceClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*AudienceClient) MutateAudiences

MutateAudiences creates audiences. Operation statuses are returned.

List of thrown errors: AudienceError (at )

type BatchJobCallOptions

type BatchJobCallOptions struct {
	MutateBatchJob        []gax.CallOption
	ListBatchJobResults   []gax.CallOption
	RunBatchJob           []gax.CallOption
	AddBatchJobOperations []gax.CallOption
}

BatchJobCallOptions contains the retry settings for each method of BatchJobClient.

type BatchJobClient

type BatchJobClient struct {

	// The call options for this service.
	CallOptions *BatchJobCallOptions

	// LROClient is used internally to handle long-running operations.
	// It is exposed so that its CallOptions can be modified if required.
	// Users should not Close this client.
	LROClient *lroauto.OperationsClient
	// contains filtered or unexported fields
}

BatchJobClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage batch jobs.

func NewBatchJobClient

func NewBatchJobClient(ctx context.Context, opts ...option.ClientOption) (*BatchJobClient, error)

NewBatchJobClient creates a new batch job service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage batch jobs.

func (*BatchJobClient) AddBatchJobOperations

AddBatchJobOperations add operations to the batch job.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) BatchJobError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )

func (*BatchJobClient) Close

func (c *BatchJobClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*BatchJobClient) Connection

func (c *BatchJobClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*BatchJobClient) ListBatchJobResults

ListBatchJobResults returns the results of the batch job. The job must be done. Supports standard list paging.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) BatchJobError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*BatchJobClient) MutateBatchJob

MutateBatchJob mutates a batch job.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )

func (*BatchJobClient) RunBatchJob

RunBatchJob runs the batch job.

The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation will not contain errors or a response. Instead, use ListBatchJobResults to get the results of the job.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) BatchJobError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*BatchJobClient) RunBatchJobOperation

func (c *BatchJobClient) RunBatchJobOperation(name string) *RunBatchJobOperation

RunBatchJobOperation returns a new RunBatchJobOperation from a given name. The name must be that of a previously created RunBatchJobOperation, possibly from a different process.

type BatchJobResultIterator

type BatchJobResultIterator struct {

	// Response is the raw response for the current page.
	// It must be cast to the RPC response type.
	// Calling Next() or InternalFetch() updates this value.
	Response interface{}

	// InternalFetch is for use by the Google Cloud Libraries only.
	// It is not part of the stable interface of this package.
	//
	// InternalFetch returns results from a single call to the underlying RPC.
	// The number of results is no greater than pageSize.
	// If there are no more results, nextPageToken is empty and err is nil.
	InternalFetch func(pageSize int, pageToken string) (results []*servicespb.BatchJobResult, nextPageToken string, err error)
	// contains filtered or unexported fields
}

BatchJobResultIterator manages a stream of *servicespb.BatchJobResult.

func (*BatchJobResultIterator) Next

Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.

func (*BatchJobResultIterator) PageInfo

func (it *BatchJobResultIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the google.golang.org/api/iterator package for details.

type BiddingDataExclusionCallOptions

type BiddingDataExclusionCallOptions struct {
	MutateBiddingDataExclusions []gax.CallOption
}

BiddingDataExclusionCallOptions contains the retry settings for each method of BiddingDataExclusionClient.

type BiddingDataExclusionClient

type BiddingDataExclusionClient struct {

	// The call options for this service.
	CallOptions *BiddingDataExclusionCallOptions
	// contains filtered or unexported fields
}

BiddingDataExclusionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage bidding data exclusions.

func NewBiddingDataExclusionClient

func NewBiddingDataExclusionClient(ctx context.Context, opts ...option.ClientOption) (*BiddingDataExclusionClient, error)

NewBiddingDataExclusionClient creates a new bidding data exclusion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage bidding data exclusions.

func (*BiddingDataExclusionClient) Close

func (c *BiddingDataExclusionClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*BiddingDataExclusionClient) Connection

func (c *BiddingDataExclusionClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*BiddingDataExclusionClient) MutateBiddingDataExclusions

MutateBiddingDataExclusions creates, updates, or removes data exclusions. Operation statuses are returned.

type BiddingSeasonalityAdjustmentCallOptions

type BiddingSeasonalityAdjustmentCallOptions struct {
	MutateBiddingSeasonalityAdjustments []gax.CallOption
}

BiddingSeasonalityAdjustmentCallOptions contains the retry settings for each method of BiddingSeasonalityAdjustmentClient.

type BiddingSeasonalityAdjustmentClient

type BiddingSeasonalityAdjustmentClient struct {

	// The call options for this service.
	CallOptions *BiddingSeasonalityAdjustmentCallOptions
	// contains filtered or unexported fields
}

BiddingSeasonalityAdjustmentClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage bidding seasonality adjustments.

func NewBiddingSeasonalityAdjustmentClient

func NewBiddingSeasonalityAdjustmentClient(ctx context.Context, opts ...option.ClientOption) (*BiddingSeasonalityAdjustmentClient, error)

NewBiddingSeasonalityAdjustmentClient creates a new bidding seasonality adjustment service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage bidding seasonality adjustments.

func (*BiddingSeasonalityAdjustmentClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*BiddingSeasonalityAdjustmentClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*BiddingSeasonalityAdjustmentClient) MutateBiddingSeasonalityAdjustments

MutateBiddingSeasonalityAdjustments creates, updates, or removes seasonality adjustments. Operation statuses are returned.

type BiddingStrategyCallOptions

type BiddingStrategyCallOptions struct {
	MutateBiddingStrategies []gax.CallOption
}

BiddingStrategyCallOptions contains the retry settings for each method of BiddingStrategyClient.

type BiddingStrategyClient

type BiddingStrategyClient struct {

	// The call options for this service.
	CallOptions *BiddingStrategyCallOptions
	// contains filtered or unexported fields
}

BiddingStrategyClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage bidding strategies.

func NewBiddingStrategyClient

func NewBiddingStrategyClient(ctx context.Context, opts ...option.ClientOption) (*BiddingStrategyClient, error)

NewBiddingStrategyClient creates a new bidding strategy service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage bidding strategies.

func (*BiddingStrategyClient) Close

func (c *BiddingStrategyClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*BiddingStrategyClient) Connection

func (c *BiddingStrategyClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*BiddingStrategyClient) MutateBiddingStrategies

MutateBiddingStrategies creates, updates, or removes bidding strategies. Operation statuses are returned.

List of thrown errors: AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) BiddingError (at ) BiddingStrategyError (at ) ContextError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type BillingSetupCallOptions

type BillingSetupCallOptions struct {
	MutateBillingSetup []gax.CallOption
}

BillingSetupCallOptions contains the retry settings for each method of BillingSetupClient.

type BillingSetupClient

type BillingSetupClient struct {

	// The call options for this service.
	CallOptions *BillingSetupCallOptions
	// contains filtered or unexported fields
}

BillingSetupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service for designating the business entity responsible for accrued costs.

A billing setup is associated with a payments account. Billing-related activity for all billing setups associated with a particular payments account will appear on a single invoice generated monthly.

Mutates: The REMOVE operation cancels a pending billing setup. The CREATE operation creates a new billing setup.

func NewBillingSetupClient

func NewBillingSetupClient(ctx context.Context, opts ...option.ClientOption) (*BillingSetupClient, error)

NewBillingSetupClient creates a new billing setup service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

A service for designating the business entity responsible for accrued costs.

A billing setup is associated with a payments account. Billing-related activity for all billing setups associated with a particular payments account will appear on a single invoice generated monthly.

Mutates: The REMOVE operation cancels a pending billing setup. The CREATE operation creates a new billing setup.

func (*BillingSetupClient) Close

func (c *BillingSetupClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*BillingSetupClient) Connection

func (c *BillingSetupClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*BillingSetupClient) MutateBillingSetup

MutateBillingSetup creates a billing setup, or cancels an existing billing setup.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) BillingSetupError (at ) DateError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type CallOptions

type CallOptions struct {
	Search       []gax.CallOption
	SearchStream []gax.CallOption
	Mutate       []gax.CallOption
}

CallOptions contains the retry settings for each method of Client.

type CampaignAssetCallOptions

type CampaignAssetCallOptions struct {
	MutateCampaignAssets []gax.CallOption
}

CampaignAssetCallOptions contains the retry settings for each method of CampaignAssetClient.

type CampaignAssetClient

type CampaignAssetClient struct {

	// The call options for this service.
	CallOptions *CampaignAssetCallOptions
	// contains filtered or unexported fields
}

CampaignAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign assets.

func NewCampaignAssetClient

func NewCampaignAssetClient(ctx context.Context, opts ...option.ClientOption) (*CampaignAssetClient, error)

NewCampaignAssetClient creates a new campaign asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign assets.

func (*CampaignAssetClient) Close

func (c *CampaignAssetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignAssetClient) Connection

func (c *CampaignAssetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignAssetClient) MutateCampaignAssets

MutateCampaignAssets creates, updates, or removes campaign assets. Operation statuses are returned.

List of thrown errors: AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NotAllowlistedError (at ) QuotaError (at ) RequestError (at )

type CampaignAssetSetCallOptions

type CampaignAssetSetCallOptions struct {
	MutateCampaignAssetSets []gax.CallOption
}

CampaignAssetSetCallOptions contains the retry settings for each method of CampaignAssetSetClient.

type CampaignAssetSetClient

type CampaignAssetSetClient struct {

	// The call options for this service.
	CallOptions *CampaignAssetSetCallOptions
	// contains filtered or unexported fields
}

CampaignAssetSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign asset set

func NewCampaignAssetSetClient

func NewCampaignAssetSetClient(ctx context.Context, opts ...option.ClientOption) (*CampaignAssetSetClient, error)

NewCampaignAssetSetClient creates a new campaign asset set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign asset set

func (*CampaignAssetSetClient) Close

func (c *CampaignAssetSetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignAssetSetClient) Connection

func (c *CampaignAssetSetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignAssetSetClient) MutateCampaignAssetSets

MutateCampaignAssetSets creates, updates or removes campaign asset sets. Operation statuses are returned.

type CampaignBidModifierCallOptions

type CampaignBidModifierCallOptions struct {
	MutateCampaignBidModifiers []gax.CallOption
}

CampaignBidModifierCallOptions contains the retry settings for each method of CampaignBidModifierClient.

type CampaignBidModifierClient

type CampaignBidModifierClient struct {

	// The call options for this service.
	CallOptions *CampaignBidModifierCallOptions
	// contains filtered or unexported fields
}

CampaignBidModifierClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign bid modifiers.

func NewCampaignBidModifierClient

func NewCampaignBidModifierClient(ctx context.Context, opts ...option.ClientOption) (*CampaignBidModifierClient, error)

NewCampaignBidModifierClient creates a new campaign bid modifier service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign bid modifiers.

func (*CampaignBidModifierClient) Close

func (c *CampaignBidModifierClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignBidModifierClient) Connection

func (c *CampaignBidModifierClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignBidModifierClient) MutateCampaignBidModifiers

MutateCampaignBidModifiers creates, updates, or removes campaign bid modifiers. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type CampaignBudgetCallOptions

type CampaignBudgetCallOptions struct {
	MutateCampaignBudgets []gax.CallOption
}

CampaignBudgetCallOptions contains the retry settings for each method of CampaignBudgetClient.

type CampaignBudgetClient

type CampaignBudgetClient struct {

	// The call options for this service.
	CallOptions *CampaignBudgetCallOptions
	// contains filtered or unexported fields
}

CampaignBudgetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign budgets.

func NewCampaignBudgetClient

func NewCampaignBudgetClient(ctx context.Context, opts ...option.ClientOption) (*CampaignBudgetClient, error)

NewCampaignBudgetClient creates a new campaign budget service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign budgets.

func (*CampaignBudgetClient) Close

func (c *CampaignBudgetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignBudgetClient) Connection

func (c *CampaignBudgetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignBudgetClient) MutateCampaignBudgets

MutateCampaignBudgets creates, updates, or removes campaign budgets. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignBudgetError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) OperationAccessDeniedError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) StringLengthError (at )

type CampaignCallOptions

type CampaignCallOptions struct {
	MutateCampaigns []gax.CallOption
}

CampaignCallOptions contains the retry settings for each method of CampaignClient.

type CampaignClient

type CampaignClient struct {

	// The call options for this service.
	CallOptions *CampaignCallOptions
	// contains filtered or unexported fields
}

CampaignClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaigns.

func NewCampaignClient

func NewCampaignClient(ctx context.Context, opts ...option.ClientOption) (*CampaignClient, error)

NewCampaignClient creates a new campaign service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaigns.

func (*CampaignClient) Close

func (c *CampaignClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignClient) Connection

func (c *CampaignClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignClient) MutateCampaigns

MutateCampaigns creates, updates, or removes campaigns. Operation statuses are returned.

List of thrown errors: AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) BiddingError (at ) BiddingStrategyError (at ) CampaignBudgetError (at ) CampaignError (at ) ContextError (at ) DatabaseError (at ) DateError (at ) DateRangeError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotAllowlistedError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RegionCodeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SettingError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type CampaignConversionGoalCallOptions

type CampaignConversionGoalCallOptions struct {
	MutateCampaignConversionGoals []gax.CallOption
}

CampaignConversionGoalCallOptions contains the retry settings for each method of CampaignConversionGoalClient.

type CampaignConversionGoalClient

type CampaignConversionGoalClient struct {

	// The call options for this service.
	CallOptions *CampaignConversionGoalCallOptions
	// contains filtered or unexported fields
}

CampaignConversionGoalClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign conversion goal.

func NewCampaignConversionGoalClient

func NewCampaignConversionGoalClient(ctx context.Context, opts ...option.ClientOption) (*CampaignConversionGoalClient, error)

NewCampaignConversionGoalClient creates a new campaign conversion goal service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign conversion goal.

func (*CampaignConversionGoalClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignConversionGoalClient) Connection

func (c *CampaignConversionGoalClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignConversionGoalClient) MutateCampaignConversionGoals

MutateCampaignConversionGoals creates, updates or removes campaign conversion goals. Operation statuses are returned.

type CampaignCriterionCallOptions

type CampaignCriterionCallOptions struct {
	MutateCampaignCriteria []gax.CallOption
}

CampaignCriterionCallOptions contains the retry settings for each method of CampaignCriterionClient.

type CampaignCriterionClient

type CampaignCriterionClient struct {

	// The call options for this service.
	CallOptions *CampaignCriterionCallOptions
	// contains filtered or unexported fields
}

CampaignCriterionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign criteria.

func NewCampaignCriterionClient

func NewCampaignCriterionClient(ctx context.Context, opts ...option.ClientOption) (*CampaignCriterionClient, error)

NewCampaignCriterionClient creates a new campaign criterion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign criteria.

func (*CampaignCriterionClient) Close

func (c *CampaignCriterionClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignCriterionClient) Connection

func (c *CampaignCriterionClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignCriterionClient) MutateCampaignCriteria

MutateCampaignCriteria creates, updates, or removes criteria. Operation statuses are returned.

List of thrown errors: AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) CampaignCriterionError (at ) CollectionSizeError (at ) ContextError (at ) CriterionError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RegionCodeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type CampaignCustomizerCallOptions

type CampaignCustomizerCallOptions struct {
	MutateCampaignCustomizers []gax.CallOption
}

CampaignCustomizerCallOptions contains the retry settings for each method of CampaignCustomizerClient.

type CampaignCustomizerClient

type CampaignCustomizerClient struct {

	// The call options for this service.
	CallOptions *CampaignCustomizerCallOptions
	// contains filtered or unexported fields
}

CampaignCustomizerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign customizer

func NewCampaignCustomizerClient

func NewCampaignCustomizerClient(ctx context.Context, opts ...option.ClientOption) (*CampaignCustomizerClient, error)

NewCampaignCustomizerClient creates a new campaign customizer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign customizer

func (*CampaignCustomizerClient) Close

func (c *CampaignCustomizerClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignCustomizerClient) Connection

func (c *CampaignCustomizerClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignCustomizerClient) MutateCampaignCustomizers

MutateCampaignCustomizers creates, updates or removes campaign customizers. Operation statuses are returned.

type CampaignDraftCallOptions

type CampaignDraftCallOptions struct {
	MutateCampaignDrafts         []gax.CallOption
	PromoteCampaignDraft         []gax.CallOption
	ListCampaignDraftAsyncErrors []gax.CallOption
}

CampaignDraftCallOptions contains the retry settings for each method of CampaignDraftClient.

type CampaignDraftClient

type CampaignDraftClient struct {

	// The call options for this service.
	CallOptions *CampaignDraftCallOptions

	// LROClient is used internally to handle long-running operations.
	// It is exposed so that its CallOptions can be modified if required.
	// Users should not Close this client.
	LROClient *lroauto.OperationsClient
	// contains filtered or unexported fields
}

CampaignDraftClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign drafts.

func NewCampaignDraftClient

func NewCampaignDraftClient(ctx context.Context, opts ...option.ClientOption) (*CampaignDraftClient, error)

NewCampaignDraftClient creates a new campaign draft service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign drafts.

func (*CampaignDraftClient) Close

func (c *CampaignDraftClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignDraftClient) Connection

func (c *CampaignDraftClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignDraftClient) ListCampaignDraftAsyncErrors

ListCampaignDraftAsyncErrors returns all errors that occurred during CampaignDraft promote. Throws an error if called before campaign draft is promoted. Supports standard list paging.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*CampaignDraftClient) MutateCampaignDrafts

MutateCampaignDrafts creates, updates, or removes campaign drafts. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignDraftError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

func (*CampaignDraftClient) PromoteCampaignDraft

PromoteCampaignDraft promotes the changes in a draft back to the base campaign.

This method returns a Long Running Operation (LRO) indicating if the Promote is done. Use [Operations.GetOperation] to poll the LRO until it is done. Only a done status is returned in the response. See the status in the Campaign Draft resource to determine if the promotion was successful. If the LRO failed, use [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v10.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of error reasons.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignDraftError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*CampaignDraftClient) PromoteCampaignDraftOperation

func (c *CampaignDraftClient) PromoteCampaignDraftOperation(name string) *PromoteCampaignDraftOperation

PromoteCampaignDraftOperation returns a new PromoteCampaignDraftOperation from a given name. The name must be that of a previously created PromoteCampaignDraftOperation, possibly from a different process.

type CampaignExperimentCallOptions

type CampaignExperimentCallOptions struct {
	CreateCampaignExperiment          []gax.CallOption
	MutateCampaignExperiments         []gax.CallOption
	GraduateCampaignExperiment        []gax.CallOption
	PromoteCampaignExperiment         []gax.CallOption
	EndCampaignExperiment             []gax.CallOption
	ListCampaignExperimentAsyncErrors []gax.CallOption
}

CampaignExperimentCallOptions contains the retry settings for each method of CampaignExperimentClient.

type CampaignExperimentClient

type CampaignExperimentClient struct {

	// The call options for this service.
	CallOptions *CampaignExperimentCallOptions

	// LROClient is used internally to handle long-running operations.
	// It is exposed so that its CallOptions can be modified if required.
	// Users should not Close this client.
	LROClient *lroauto.OperationsClient
	// contains filtered or unexported fields
}

CampaignExperimentClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

CampaignExperimentService manages the life cycle of campaign experiments. It is used to create new experiments from drafts, modify experiment properties, promote changes in an experiment back to its base campaign, graduate experiments into new stand-alone campaigns, and to remove an experiment.

An experiment consists of two variants or arms - the base campaign and the experiment campaign, directing a fixed share of traffic to each arm. A campaign experiment is created from a draft of changes to the base campaign and will be a snapshot of changes in the draft at the time of creation.

func NewCampaignExperimentClient

func NewCampaignExperimentClient(ctx context.Context, opts ...option.ClientOption) (*CampaignExperimentClient, error)

NewCampaignExperimentClient creates a new campaign experiment service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

CampaignExperimentService manages the life cycle of campaign experiments. It is used to create new experiments from drafts, modify experiment properties, promote changes in an experiment back to its base campaign, graduate experiments into new stand-alone campaigns, and to remove an experiment.

An experiment consists of two variants or arms - the base campaign and the experiment campaign, directing a fixed share of traffic to each arm. A campaign experiment is created from a draft of changes to the base campaign and will be a snapshot of changes in the draft at the time of creation.

func (*CampaignExperimentClient) Close

func (c *CampaignExperimentClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignExperimentClient) Connection

func (c *CampaignExperimentClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignExperimentClient) CreateCampaignExperiment

CreateCampaignExperiment creates a campaign experiment based on a campaign draft. The draft campaign will be forked into a real campaign (called the experiment campaign) that will begin serving ads if successfully created.

The campaign experiment is created immediately with status INITIALIZING. This method return a long running operation that tracks the forking of the draft campaign. If the forking fails, a list of errors can be retrieved using the ListCampaignExperimentAsyncErrors method. The operation’s metadata will be a StringValue containing the resource name of the created campaign experiment.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignExperimentError (at ) DatabaseError (at ) DateError (at ) DateRangeError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (at )

func (*CampaignExperimentClient) CreateCampaignExperimentOperation

func (c *CampaignExperimentClient) CreateCampaignExperimentOperation(name string) *CreateCampaignExperimentOperation

CreateCampaignExperimentOperation returns a new CreateCampaignExperimentOperation from a given name. The name must be that of a previously created CreateCampaignExperimentOperation, possibly from a different process.

func (*CampaignExperimentClient) EndCampaignExperiment

EndCampaignExperiment immediately ends a campaign experiment, changing the experiment’s scheduled end date and without waiting for end of day. End date is updated to be the time of the request.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*CampaignExperimentClient) GraduateCampaignExperiment

GraduateCampaignExperiment graduates a campaign experiment to a full campaign. The base and experiment campaigns will start running independently with their own budgets.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignExperimentError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

func (*CampaignExperimentClient) ListCampaignExperimentAsyncErrors

ListCampaignExperimentAsyncErrors returns all errors that occurred during CampaignExperiment create or promote (whichever occurred last). Supports standard list paging.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*CampaignExperimentClient) MutateCampaignExperiments

MutateCampaignExperiments updates campaign experiments. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*CampaignExperimentClient) PromoteCampaignExperiment

PromoteCampaignExperiment promotes the changes in a experiment campaign back to the base campaign.

The campaign experiment is updated immediately with status PROMOTING. This method return a long running operation that tracks the promoting of the experiment campaign. If the promoting fails, a list of errors can be retrieved using the ListCampaignExperimentAsyncErrors method.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*CampaignExperimentClient) PromoteCampaignExperimentOperation

func (c *CampaignExperimentClient) PromoteCampaignExperimentOperation(name string) *PromoteCampaignExperimentOperation

PromoteCampaignExperimentOperation returns a new PromoteCampaignExperimentOperation from a given name. The name must be that of a previously created PromoteCampaignExperimentOperation, possibly from a different process.

type CampaignExtensionSettingCallOptions

type CampaignExtensionSettingCallOptions struct {
	MutateCampaignExtensionSettings []gax.CallOption
}

CampaignExtensionSettingCallOptions contains the retry settings for each method of CampaignExtensionSettingClient.

type CampaignExtensionSettingClient

type CampaignExtensionSettingClient struct {

	// The call options for this service.
	CallOptions *CampaignExtensionSettingCallOptions
	// contains filtered or unexported fields
}

CampaignExtensionSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign extension settings.

func NewCampaignExtensionSettingClient

func NewCampaignExtensionSettingClient(ctx context.Context, opts ...option.ClientOption) (*CampaignExtensionSettingClient, error)

NewCampaignExtensionSettingClient creates a new campaign extension setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign extension settings.

func (*CampaignExtensionSettingClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignExtensionSettingClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*CampaignExtensionSettingClient) MutateCampaignExtensionSettings

MutateCampaignExtensionSettings creates, updates, or removes campaign extension settings. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionSettingError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type CampaignFeedCallOptions

type CampaignFeedCallOptions struct {
	MutateCampaignFeeds []gax.CallOption
}

CampaignFeedCallOptions contains the retry settings for each method of CampaignFeedClient.

type CampaignFeedClient

type CampaignFeedClient struct {

	// The call options for this service.
	CallOptions *CampaignFeedCallOptions
	// contains filtered or unexported fields
}

CampaignFeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign feeds.

func NewCampaignFeedClient

func NewCampaignFeedClient(ctx context.Context, opts ...option.ClientOption) (*CampaignFeedClient, error)

NewCampaignFeedClient creates a new campaign feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign feeds.

func (*CampaignFeedClient) Close

func (c *CampaignFeedClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignFeedClient) Connection

func (c *CampaignFeedClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignFeedClient) MutateCampaignFeeds

MutateCampaignFeeds creates, updates, or removes campaign feeds. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignFeedError (at ) CollectionSizeError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type CampaignGroupCallOptions

type CampaignGroupCallOptions struct {
	MutateCampaignGroups []gax.CallOption
}

CampaignGroupCallOptions contains the retry settings for each method of CampaignGroupClient.

type CampaignGroupClient

type CampaignGroupClient struct {

	// The call options for this service.
	CallOptions *CampaignGroupCallOptions
	// contains filtered or unexported fields
}

CampaignGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign groups.

func NewCampaignGroupClient

func NewCampaignGroupClient(ctx context.Context, opts ...option.ClientOption) (*CampaignGroupClient, error)

NewCampaignGroupClient creates a new campaign group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign groups.

func (*CampaignGroupClient) Close

func (c *CampaignGroupClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignGroupClient) Connection

func (c *CampaignGroupClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignGroupClient) MutateCampaignGroups

MutateCampaignGroups creates, updates, or removes campaign groups. Operation statuses are returned.

type CampaignLabelCallOptions

type CampaignLabelCallOptions struct {
	MutateCampaignLabels []gax.CallOption
}

CampaignLabelCallOptions contains the retry settings for each method of CampaignLabelClient.

type CampaignLabelClient

type CampaignLabelClient struct {

	// The call options for this service.
	CallOptions *CampaignLabelCallOptions
	// contains filtered or unexported fields
}

CampaignLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage labels on campaigns.

func NewCampaignLabelClient

func NewCampaignLabelClient(ctx context.Context, opts ...option.ClientOption) (*CampaignLabelClient, error)

NewCampaignLabelClient creates a new campaign label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage labels on campaigns.

func (*CampaignLabelClient) Close

func (c *CampaignLabelClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignLabelClient) Connection

func (c *CampaignLabelClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignLabelClient) MutateCampaignLabels

MutateCampaignLabels creates and removes campaign-label relationships. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) LabelError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at )

type CampaignSharedSetCallOptions

type CampaignSharedSetCallOptions struct {
	MutateCampaignSharedSets []gax.CallOption
}

CampaignSharedSetCallOptions contains the retry settings for each method of CampaignSharedSetClient.

type CampaignSharedSetClient

type CampaignSharedSetClient struct {

	// The call options for this service.
	CallOptions *CampaignSharedSetCallOptions
	// contains filtered or unexported fields
}

CampaignSharedSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage campaign shared sets.

func NewCampaignSharedSetClient

func NewCampaignSharedSetClient(ctx context.Context, opts ...option.ClientOption) (*CampaignSharedSetClient, error)

NewCampaignSharedSetClient creates a new campaign shared set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage campaign shared sets.

func (*CampaignSharedSetClient) Close

func (c *CampaignSharedSetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CampaignSharedSetClient) Connection

func (c *CampaignSharedSetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CampaignSharedSetClient) MutateCampaignSharedSets

MutateCampaignSharedSets creates or removes campaign shared sets. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignSharedSetError (at ) ContextError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type Client

type Client struct {

	// The call options for this service.
	CallOptions *CallOptions
	// contains filtered or unexported fields
}

Client is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to fetch data and metrics across resources.

func NewClient

func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error)

NewClient creates a new google ads service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to fetch data and metrics across resources.

func (*Client) Close

func (c *Client) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*Client) Connection

func (c *Client) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*Client) Mutate

Mutate creates, updates, or removes resources. This method supports atomic transactions with multiple types of resources. For example, you can atomically create a campaign and a campaign budget, or perform up to thousands of mutates atomically.

This method is essentially a wrapper around a series of mutate methods. The only features it offers over calling those methods directly are:

Atomic transactions

Temp resource names (described below)

Somewhat reduced latency over making a series of mutate calls

Note: Only resources that support atomic transactions are included, so this method can’t replace all calls to individual services.

Atomic Transaction BenefitsAtomicity makes error handling much easier. If you’re making a series of changes and one fails, it can leave your account in an inconsistent state. With atomicity, you either reach the desired state directly, or the request fails and you can retry.

Temp Resource NamesTemp resource names are a special type of resource name used to create a resource and reference that resource in the same request. For example, if a campaign budget is created with resource_name equal to customers/123/campaignBudgets/-1, that resource name can be reused in the Campaign.budget field in the same request. That way, the two resources are created and linked atomically.

To create a temp resource name, put a negative number in the part of the name that the server would normally allocate.

Note:

Resources must be created with a temp name before the name can be reused.
For example, the previous CampaignBudget+Campaign example would fail if
the mutate order was reversed.

Temp names are not remembered across requests.

There’s no limit to the number of temp names in a request.

Each temp name must use a unique negative number, even if the resource
types differ.

LatencyIt’s important to group mutates by resource type or the request may time out and fail. Latency is roughly equal to a series of calls to individual mutate methods, where each change in resource type is a new call. For example, mutating 10 campaigns then 10 ad groups is like 2 calls, while mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls.

List of thrown errors: AdCustomizerError (at ) AdError (at ) AdGroupAdError (at ) AdGroupCriterionError (at ) AdGroupError (at ) AssetError (at ) AuthenticationError (at ) AuthorizationError (at ) BiddingError (at ) CampaignBudgetError (at ) CampaignCriterionError (at ) CampaignError (at ) CampaignExperimentError (at ) CampaignSharedSetError (at ) CollectionSizeError (at ) ContextError (at ) ConversionActionError (at ) CriterionError (at ) CustomerFeedError (at ) DatabaseError (at ) DateError (at ) DateRangeError (at ) DistinctError (at ) ExtensionFeedItemError (at ) ExtensionSettingError (at ) FeedAttributeReferenceError (at ) FeedError (at ) FeedItemError (at ) FeedItemSetError (at ) FieldError (at ) FieldMaskError (at ) FunctionParsingError (at ) HeaderError (at ) ImageError (at ) InternalError (at ) KeywordPlanAdGroupKeywordError (at ) KeywordPlanCampaignError (at ) KeywordPlanError (at ) LabelError (at ) ListOperationError (at ) MediaUploadError (at ) MutateError (at ) NewResourceCreationError (at ) NullError (at ) OperationAccessDeniedError (at ) PolicyFindingError (at ) PolicyViolationError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SettingError (at ) SharedSetError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at ) UserListError (at ) YoutubeVideoRegistrationError (at )

func (*Client) Search

Search returns all rows that match the search query.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ChangeEventError (at ) ChangeStatusError (at ) ClickViewError (at ) HeaderError (at ) InternalError (at ) QueryError (at ) QuotaError (at ) RequestError (at )

func (*Client) SearchStream

SearchStream returns all rows that match the search stream query.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ChangeEventError (at ) ChangeStatusError (at ) ClickViewError (at ) HeaderError (at ) InternalError (at ) QueryError (at ) QuotaError (at ) RequestError (at )

type ConversionActionCallOptions

type ConversionActionCallOptions struct {
	MutateConversionActions []gax.CallOption
}

ConversionActionCallOptions contains the retry settings for each method of ConversionActionClient.

type ConversionActionClient

type ConversionActionClient struct {

	// The call options for this service.
	CallOptions *ConversionActionCallOptions
	// contains filtered or unexported fields
}

ConversionActionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage conversion actions.

func NewConversionActionClient

func NewConversionActionClient(ctx context.Context, opts ...option.ClientOption) (*ConversionActionClient, error)

NewConversionActionClient creates a new conversion action service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage conversion actions.

func (*ConversionActionClient) Close

func (c *ConversionActionClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ConversionActionClient) Connection

func (c *ConversionActionClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ConversionActionClient) MutateConversionActions

MutateConversionActions creates, updates or removes conversion actions. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ConversionActionError (at ) CurrencyCodeError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) StringLengthError (at )

type ConversionAdjustmentUploadCallOptions

type ConversionAdjustmentUploadCallOptions struct {
	UploadConversionAdjustments []gax.CallOption
}

ConversionAdjustmentUploadCallOptions contains the retry settings for each method of ConversionAdjustmentUploadClient.

type ConversionAdjustmentUploadClient

type ConversionAdjustmentUploadClient struct {

	// The call options for this service.
	CallOptions *ConversionAdjustmentUploadCallOptions
	// contains filtered or unexported fields
}

ConversionAdjustmentUploadClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to upload conversion adjustments.

func NewConversionAdjustmentUploadClient

func NewConversionAdjustmentUploadClient(ctx context.Context, opts ...option.ClientOption) (*ConversionAdjustmentUploadClient, error)

NewConversionAdjustmentUploadClient creates a new conversion adjustment upload service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to upload conversion adjustments.

func (*ConversionAdjustmentUploadClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ConversionAdjustmentUploadClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*ConversionAdjustmentUploadClient) UploadConversionAdjustments

UploadConversionAdjustments processes the given conversion adjustments.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) PartialFailureError (at ) QuotaError (at ) RequestError (at )

type ConversionCustomVariableCallOptions

type ConversionCustomVariableCallOptions struct {
	MutateConversionCustomVariables []gax.CallOption
}

ConversionCustomVariableCallOptions contains the retry settings for each method of ConversionCustomVariableClient.

type ConversionCustomVariableClient

type ConversionCustomVariableClient struct {

	// The call options for this service.
	CallOptions *ConversionCustomVariableCallOptions
	// contains filtered or unexported fields
}

ConversionCustomVariableClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage conversion custom variables.

func NewConversionCustomVariableClient

func NewConversionCustomVariableClient(ctx context.Context, opts ...option.ClientOption) (*ConversionCustomVariableClient, error)

NewConversionCustomVariableClient creates a new conversion custom variable service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage conversion custom variables.

func (*ConversionCustomVariableClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ConversionCustomVariableClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*ConversionCustomVariableClient) MutateConversionCustomVariables

MutateConversionCustomVariables creates or updates conversion custom variables. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ConversionCustomVariableError (at ) DatabaseError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type ConversionGoalCampaignConfigCallOptions

type ConversionGoalCampaignConfigCallOptions struct {
	MutateConversionGoalCampaignConfigs []gax.CallOption
}

ConversionGoalCampaignConfigCallOptions contains the retry settings for each method of ConversionGoalCampaignConfigClient.

type ConversionGoalCampaignConfigClient

type ConversionGoalCampaignConfigClient struct {

	// The call options for this service.
	CallOptions *ConversionGoalCampaignConfigCallOptions
	// contains filtered or unexported fields
}

ConversionGoalCampaignConfigClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage conversion goal campaign config.

func NewConversionGoalCampaignConfigClient

func NewConversionGoalCampaignConfigClient(ctx context.Context, opts ...option.ClientOption) (*ConversionGoalCampaignConfigClient, error)

NewConversionGoalCampaignConfigClient creates a new conversion goal campaign config service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage conversion goal campaign config.

func (*ConversionGoalCampaignConfigClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ConversionGoalCampaignConfigClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*ConversionGoalCampaignConfigClient) MutateConversionGoalCampaignConfigs

MutateConversionGoalCampaignConfigs creates, updates or removes conversion goal campaign config. Operation statuses are returned.

type ConversionUploadCallOptions

type ConversionUploadCallOptions struct {
	UploadClickConversions []gax.CallOption
	UploadCallConversions  []gax.CallOption
}

ConversionUploadCallOptions contains the retry settings for each method of ConversionUploadClient.

type ConversionUploadClient

type ConversionUploadClient struct {

	// The call options for this service.
	CallOptions *ConversionUploadCallOptions
	// contains filtered or unexported fields
}

ConversionUploadClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to upload conversions.

func NewConversionUploadClient

func NewConversionUploadClient(ctx context.Context, opts ...option.ClientOption) (*ConversionUploadClient, error)

NewConversionUploadClient creates a new conversion upload service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to upload conversions.

func (*ConversionUploadClient) Close

func (c *ConversionUploadClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ConversionUploadClient) Connection

func (c *ConversionUploadClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ConversionUploadClient) UploadCallConversions

UploadCallConversions processes the given call conversions.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) PartialFailureError (at ) QuotaError (at ) RequestError (at )

func (*ConversionUploadClient) UploadClickConversions

UploadClickConversions processes the given click conversions.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ConversionUploadError (at ) HeaderError (at ) InternalError (at ) PartialFailureError (at ) QuotaError (at ) RequestError (at )

type ConversionValueRuleCallOptions

type ConversionValueRuleCallOptions struct {
	MutateConversionValueRules []gax.CallOption
}

ConversionValueRuleCallOptions contains the retry settings for each method of ConversionValueRuleClient.

type ConversionValueRuleClient

type ConversionValueRuleClient struct {

	// The call options for this service.
	CallOptions *ConversionValueRuleCallOptions
	// contains filtered or unexported fields
}

ConversionValueRuleClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage conversion value rules.

func NewConversionValueRuleClient

func NewConversionValueRuleClient(ctx context.Context, opts ...option.ClientOption) (*ConversionValueRuleClient, error)

NewConversionValueRuleClient creates a new conversion value rule service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage conversion value rules.

func (*ConversionValueRuleClient) Close

func (c *ConversionValueRuleClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ConversionValueRuleClient) Connection

func (c *ConversionValueRuleClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ConversionValueRuleClient) MutateConversionValueRules

MutateConversionValueRules creates, updates, or removes conversion value rules. Operation statuses are returned.

type ConversionValueRuleSetCallOptions

type ConversionValueRuleSetCallOptions struct {
	MutateConversionValueRuleSets []gax.CallOption
}

ConversionValueRuleSetCallOptions contains the retry settings for each method of ConversionValueRuleSetClient.

type ConversionValueRuleSetClient

type ConversionValueRuleSetClient struct {

	// The call options for this service.
	CallOptions *ConversionValueRuleSetCallOptions
	// contains filtered or unexported fields
}

ConversionValueRuleSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage conversion value rule sets.

func NewConversionValueRuleSetClient

func NewConversionValueRuleSetClient(ctx context.Context, opts ...option.ClientOption) (*ConversionValueRuleSetClient, error)

NewConversionValueRuleSetClient creates a new conversion value rule set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage conversion value rule sets.

func (*ConversionValueRuleSetClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ConversionValueRuleSetClient) Connection

func (c *ConversionValueRuleSetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ConversionValueRuleSetClient) MutateConversionValueRuleSets

MutateConversionValueRuleSets creates, updates or removes conversion value rule sets. Operation statuses are returned.

type CreateCampaignExperimentOperation

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

CreateCampaignExperimentOperation manages a long-running operation from CreateCampaignExperiment.

func (*CreateCampaignExperimentOperation) Done

Done reports whether the long-running operation has completed.

func (*CreateCampaignExperimentOperation) Metadata

Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.

func (*CreateCampaignExperimentOperation) Name

Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.

func (*CreateCampaignExperimentOperation) Poll

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.

func (*CreateCampaignExperimentOperation) Wait

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

type CustomAudienceCallOptions

type CustomAudienceCallOptions struct {
	MutateCustomAudiences []gax.CallOption
}

CustomAudienceCallOptions contains the retry settings for each method of CustomAudienceClient.

type CustomAudienceClient

type CustomAudienceClient struct {

	// The call options for this service.
	CallOptions *CustomAudienceCallOptions
	// contains filtered or unexported fields
}

CustomAudienceClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage custom audiences.

func NewCustomAudienceClient

func NewCustomAudienceClient(ctx context.Context, opts ...option.ClientOption) (*CustomAudienceClient, error)

NewCustomAudienceClient creates a new custom audience service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage custom audiences.

func (*CustomAudienceClient) Close

func (c *CustomAudienceClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomAudienceClient) Connection

func (c *CustomAudienceClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomAudienceClient) MutateCustomAudiences

MutateCustomAudiences creates or updates custom audiences. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CustomAudienceError (at ) CustomInterestError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) OperationAccessDeniedError (at ) PolicyViolationError (at ) QuotaError (at ) RequestError (at )

type CustomConversionGoalCallOptions

type CustomConversionGoalCallOptions struct {
	MutateCustomConversionGoals []gax.CallOption
}

CustomConversionGoalCallOptions contains the retry settings for each method of CustomConversionGoalClient.

type CustomConversionGoalClient

type CustomConversionGoalClient struct {

	// The call options for this service.
	CallOptions *CustomConversionGoalCallOptions
	// contains filtered or unexported fields
}

CustomConversionGoalClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage custom conversion goal.

func NewCustomConversionGoalClient

func NewCustomConversionGoalClient(ctx context.Context, opts ...option.ClientOption) (*CustomConversionGoalClient, error)

NewCustomConversionGoalClient creates a new custom conversion goal service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage custom conversion goal.

func (*CustomConversionGoalClient) Close

func (c *CustomConversionGoalClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomConversionGoalClient) Connection

func (c *CustomConversionGoalClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomConversionGoalClient) MutateCustomConversionGoals

MutateCustomConversionGoals creates, updates or removes custom conversion goals. Operation statuses are returned.

type CustomInterestCallOptions

type CustomInterestCallOptions struct {
	MutateCustomInterests []gax.CallOption
}

CustomInterestCallOptions contains the retry settings for each method of CustomInterestClient.

type CustomInterestClient

type CustomInterestClient struct {

	// The call options for this service.
	CallOptions *CustomInterestCallOptions
	// contains filtered or unexported fields
}

CustomInterestClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage custom interests.

func NewCustomInterestClient

func NewCustomInterestClient(ctx context.Context, opts ...option.ClientOption) (*CustomInterestClient, error)

NewCustomInterestClient creates a new custom interest service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage custom interests.

func (*CustomInterestClient) Close

func (c *CustomInterestClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomInterestClient) Connection

func (c *CustomInterestClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomInterestClient) MutateCustomInterests

MutateCustomInterests creates or updates custom interests. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CriterionError (at ) CustomInterestError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) PolicyViolationError (at ) QuotaError (at ) RequestError (at ) StringLengthError (at )

type CustomerAssetCallOptions

type CustomerAssetCallOptions struct {
	MutateCustomerAssets []gax.CallOption
}

CustomerAssetCallOptions contains the retry settings for each method of CustomerAssetClient.

type CustomerAssetClient

type CustomerAssetClient struct {

	// The call options for this service.
	CallOptions *CustomerAssetCallOptions
	// contains filtered or unexported fields
}

CustomerAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer assets.

func NewCustomerAssetClient

func NewCustomerAssetClient(ctx context.Context, opts ...option.ClientOption) (*CustomerAssetClient, error)

NewCustomerAssetClient creates a new customer asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer assets.

func (*CustomerAssetClient) Close

func (c *CustomerAssetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerAssetClient) Connection

func (c *CustomerAssetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomerAssetClient) MutateCustomerAssets

MutateCustomerAssets creates, updates, or removes customer assets. Operation statuses are returned.

List of thrown errors: AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type CustomerCallOptions

type CustomerCallOptions struct {
	MutateCustomer          []gax.CallOption
	ListAccessibleCustomers []gax.CallOption
	CreateCustomerClient    []gax.CallOption
}

CustomerCallOptions contains the retry settings for each method of CustomerClient.

type CustomerClient

type CustomerClient struct {

	// The call options for this service.
	CallOptions *CustomerCallOptions
	// contains filtered or unexported fields
}

CustomerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customers.

func NewCustomerClient

func NewCustomerClient(ctx context.Context, opts ...option.ClientOption) (*CustomerClient, error)

NewCustomerClient creates a new customer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customers.

func (*CustomerClient) Close

func (c *CustomerClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerClient) Connection

func (c *CustomerClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomerClient) CreateCustomerClient

CreateCustomerClient creates a new client under manager. The new client customer is returned.

List of thrown errors: AccessInvitationError (at ) AuthenticationError (at ) AuthorizationError (at ) CurrencyCodeError (at ) HeaderError (at ) InternalError (at ) ManagerLinkError (at ) QuotaError (at ) RequestError (at ) StringLengthError (at ) TimeZoneError (at )

func (*CustomerClient) ListAccessibleCustomers

ListAccessibleCustomers returns resource names of customers directly accessible by the user authenticating the call.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*CustomerClient) MutateCustomer

MutateCustomer updates a customer. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at ) UrlFieldError (at )

type CustomerClientLinkCallOptions

type CustomerClientLinkCallOptions struct {
	MutateCustomerClientLink []gax.CallOption
}

CustomerClientLinkCallOptions contains the retry settings for each method of CustomerClientLinkClient.

type CustomerClientLinkClient

type CustomerClientLinkClient struct {

	// The call options for this service.
	CallOptions *CustomerClientLinkCallOptions
	// contains filtered or unexported fields
}

CustomerClientLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer client links.

func NewCustomerClientLinkClient

func NewCustomerClientLinkClient(ctx context.Context, opts ...option.ClientOption) (*CustomerClientLinkClient, error)

NewCustomerClientLinkClient creates a new customer client link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer client links.

func (*CustomerClientLinkClient) Close

func (c *CustomerClientLinkClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerClientLinkClient) Connection

func (c *CustomerClientLinkClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

MutateCustomerClientLink creates or updates a customer client link. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) ManagerLinkError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at )

type CustomerConversionGoalCallOptions

type CustomerConversionGoalCallOptions struct {
	MutateCustomerConversionGoals []gax.CallOption
}

CustomerConversionGoalCallOptions contains the retry settings for each method of CustomerConversionGoalClient.

type CustomerConversionGoalClient

type CustomerConversionGoalClient struct {

	// The call options for this service.
	CallOptions *CustomerConversionGoalCallOptions
	// contains filtered or unexported fields
}

CustomerConversionGoalClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer conversion goal.

func NewCustomerConversionGoalClient

func NewCustomerConversionGoalClient(ctx context.Context, opts ...option.ClientOption) (*CustomerConversionGoalClient, error)

NewCustomerConversionGoalClient creates a new customer conversion goal service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer conversion goal.

func (*CustomerConversionGoalClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerConversionGoalClient) Connection

func (c *CustomerConversionGoalClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomerConversionGoalClient) MutateCustomerConversionGoals

MutateCustomerConversionGoals creates, updates or removes customer conversion goals. Operation statuses are returned.

type CustomerCustomizerCallOptions

type CustomerCustomizerCallOptions struct {
	MutateCustomerCustomizers []gax.CallOption
}

CustomerCustomizerCallOptions contains the retry settings for each method of CustomerCustomizerClient.

type CustomerCustomizerClient

type CustomerCustomizerClient struct {

	// The call options for this service.
	CallOptions *CustomerCustomizerCallOptions
	// contains filtered or unexported fields
}

CustomerCustomizerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer customizer

func NewCustomerCustomizerClient

func NewCustomerCustomizerClient(ctx context.Context, opts ...option.ClientOption) (*CustomerCustomizerClient, error)

NewCustomerCustomizerClient creates a new customer customizer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer customizer

func (*CustomerCustomizerClient) Close

func (c *CustomerCustomizerClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerCustomizerClient) Connection

func (c *CustomerCustomizerClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomerCustomizerClient) MutateCustomerCustomizers

MutateCustomerCustomizers creates, updates or removes customer customizers. Operation statuses are returned.

type CustomerExtensionSettingCallOptions

type CustomerExtensionSettingCallOptions struct {
	MutateCustomerExtensionSettings []gax.CallOption
}

CustomerExtensionSettingCallOptions contains the retry settings for each method of CustomerExtensionSettingClient.

type CustomerExtensionSettingClient

type CustomerExtensionSettingClient struct {

	// The call options for this service.
	CallOptions *CustomerExtensionSettingCallOptions
	// contains filtered or unexported fields
}

CustomerExtensionSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer extension settings.

func NewCustomerExtensionSettingClient

func NewCustomerExtensionSettingClient(ctx context.Context, opts ...option.ClientOption) (*CustomerExtensionSettingClient, error)

NewCustomerExtensionSettingClient creates a new customer extension setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer extension settings.

func (*CustomerExtensionSettingClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerExtensionSettingClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*CustomerExtensionSettingClient) MutateCustomerExtensionSettings

MutateCustomerExtensionSettings creates, updates, or removes customer extension settings. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionSettingError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type CustomerFeedCallOptions

type CustomerFeedCallOptions struct {
	MutateCustomerFeeds []gax.CallOption
}

CustomerFeedCallOptions contains the retry settings for each method of CustomerFeedClient.

type CustomerFeedClient

type CustomerFeedClient struct {

	// The call options for this service.
	CallOptions *CustomerFeedCallOptions
	// contains filtered or unexported fields
}

CustomerFeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer feeds.

func NewCustomerFeedClient

func NewCustomerFeedClient(ctx context.Context, opts ...option.ClientOption) (*CustomerFeedClient, error)

NewCustomerFeedClient creates a new customer feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer feeds.

func (*CustomerFeedClient) Close

func (c *CustomerFeedClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerFeedClient) Connection

func (c *CustomerFeedClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomerFeedClient) MutateCustomerFeeds

MutateCustomerFeeds creates, updates, or removes customer feeds. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CustomerFeedError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type CustomerLabelCallOptions

type CustomerLabelCallOptions struct {
	MutateCustomerLabels []gax.CallOption
}

CustomerLabelCallOptions contains the retry settings for each method of CustomerLabelClient.

type CustomerLabelClient

type CustomerLabelClient struct {

	// The call options for this service.
	CallOptions *CustomerLabelCallOptions
	// contains filtered or unexported fields
}

CustomerLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage labels on customers.

func NewCustomerLabelClient

func NewCustomerLabelClient(ctx context.Context, opts ...option.ClientOption) (*CustomerLabelClient, error)

NewCustomerLabelClient creates a new customer label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage labels on customers.

func (*CustomerLabelClient) Close

func (c *CustomerLabelClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerLabelClient) Connection

func (c *CustomerLabelClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomerLabelClient) MutateCustomerLabels

MutateCustomerLabels creates and removes customer-label relationships. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) HeaderError (at ) InternalError (at ) LabelError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type CustomerManagerLinkCallOptions

type CustomerManagerLinkCallOptions struct {
	MutateCustomerManagerLink []gax.CallOption
	MoveManagerLink           []gax.CallOption
}

CustomerManagerLinkCallOptions contains the retry settings for each method of CustomerManagerLinkClient.

type CustomerManagerLinkClient

type CustomerManagerLinkClient struct {

	// The call options for this service.
	CallOptions *CustomerManagerLinkCallOptions
	// contains filtered or unexported fields
}

CustomerManagerLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer-manager links.

func NewCustomerManagerLinkClient

func NewCustomerManagerLinkClient(ctx context.Context, opts ...option.ClientOption) (*CustomerManagerLinkClient, error)

NewCustomerManagerLinkClient creates a new customer manager link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer-manager links.

func (*CustomerManagerLinkClient) Close

func (c *CustomerManagerLinkClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerManagerLinkClient) Connection

func (c *CustomerManagerLinkClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

MoveManagerLink moves a client customer to a new manager customer. This simplifies the complex request that requires two operations to move a client customer to a new manager. i.e:

Update operation with Status INACTIVE (previous manager) and,

Update operation with Status ACTIVE (new manager).

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

MutateCustomerManagerLink updates customer manager links. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) ManagerLinkError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type CustomerNegativeCriterionCallOptions

type CustomerNegativeCriterionCallOptions struct {
	MutateCustomerNegativeCriteria []gax.CallOption
}

CustomerNegativeCriterionCallOptions contains the retry settings for each method of CustomerNegativeCriterionClient.

type CustomerNegativeCriterionClient

type CustomerNegativeCriterionClient struct {

	// The call options for this service.
	CallOptions *CustomerNegativeCriterionCallOptions
	// contains filtered or unexported fields
}

CustomerNegativeCriterionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customer negative criteria.

func NewCustomerNegativeCriterionClient

func NewCustomerNegativeCriterionClient(ctx context.Context, opts ...option.ClientOption) (*CustomerNegativeCriterionClient, error)

NewCustomerNegativeCriterionClient creates a new customer negative criterion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customer negative criteria.

func (*CustomerNegativeCriterionClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerNegativeCriterionClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*CustomerNegativeCriterionClient) MutateCustomerNegativeCriteria

MutateCustomerNegativeCriteria creates or removes criteria. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CriterionError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type CustomerUserAccessCallOptions

type CustomerUserAccessCallOptions struct {
	MutateCustomerUserAccess []gax.CallOption
}

CustomerUserAccessCallOptions contains the retry settings for each method of CustomerUserAccessClient.

type CustomerUserAccessClient

type CustomerUserAccessClient struct {

	// The call options for this service.
	CallOptions *CustomerUserAccessCallOptions
	// contains filtered or unexported fields
}

CustomerUserAccessClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

This service manages the permissions of a user on a given customer.

func NewCustomerUserAccessClient

func NewCustomerUserAccessClient(ctx context.Context, opts ...option.ClientOption) (*CustomerUserAccessClient, error)

NewCustomerUserAccessClient creates a new customer user access service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

This service manages the permissions of a user on a given customer.

func (*CustomerUserAccessClient) Close

func (c *CustomerUserAccessClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerUserAccessClient) Connection

func (c *CustomerUserAccessClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomerUserAccessClient) MutateCustomerUserAccess

MutateCustomerUserAccess updates, removes permission of a user on a given customer. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CustomerUserAccessError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type CustomerUserAccessInvitationCallOptions

type CustomerUserAccessInvitationCallOptions struct {
	MutateCustomerUserAccessInvitation []gax.CallOption
}

CustomerUserAccessInvitationCallOptions contains the retry settings for each method of CustomerUserAccessInvitationClient.

type CustomerUserAccessInvitationClient

type CustomerUserAccessInvitationClient struct {

	// The call options for this service.
	CallOptions *CustomerUserAccessInvitationCallOptions
	// contains filtered or unexported fields
}

CustomerUserAccessInvitationClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

This service manages the access invitation extended to users for a given customer.

func NewCustomerUserAccessInvitationClient

func NewCustomerUserAccessInvitationClient(ctx context.Context, opts ...option.ClientOption) (*CustomerUserAccessInvitationClient, error)

NewCustomerUserAccessInvitationClient creates a new customer user access invitation service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

This service manages the access invitation extended to users for a given customer.

func (*CustomerUserAccessInvitationClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomerUserAccessInvitationClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*CustomerUserAccessInvitationClient) MutateCustomerUserAccessInvitation

MutateCustomerUserAccessInvitation creates or removes an access invitation.

List of thrown errors: AccessInvitationError (at ) AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type CustomizerAttributeCallOptions

type CustomizerAttributeCallOptions struct {
	MutateCustomizerAttributes []gax.CallOption
}

CustomizerAttributeCallOptions contains the retry settings for each method of CustomizerAttributeClient.

type CustomizerAttributeClient

type CustomizerAttributeClient struct {

	// The call options for this service.
	CallOptions *CustomizerAttributeCallOptions
	// contains filtered or unexported fields
}

CustomizerAttributeClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage customizer attribute

func NewCustomizerAttributeClient

func NewCustomizerAttributeClient(ctx context.Context, opts ...option.ClientOption) (*CustomizerAttributeClient, error)

NewCustomizerAttributeClient creates a new customizer attribute service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage customizer attribute

func (*CustomizerAttributeClient) Close

func (c *CustomizerAttributeClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*CustomizerAttributeClient) Connection

func (c *CustomizerAttributeClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*CustomizerAttributeClient) MutateCustomizerAttributes

MutateCustomizerAttributes creates, updates or removes customizer attributes. Operation statuses are returned.

type ExperimentArmCallOptions

type ExperimentArmCallOptions struct {
	MutateExperimentArms []gax.CallOption
}

ExperimentArmCallOptions contains the retry settings for each method of ExperimentArmClient.

type ExperimentArmClient

type ExperimentArmClient struct {

	// The call options for this service.
	CallOptions *ExperimentArmCallOptions
	// contains filtered or unexported fields
}

ExperimentArmClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage experiment arms.

func NewExperimentArmClient

func NewExperimentArmClient(ctx context.Context, opts ...option.ClientOption) (*ExperimentArmClient, error)

NewExperimentArmClient creates a new experiment arm service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage experiment arms.

func (*ExperimentArmClient) Close

func (c *ExperimentArmClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ExperimentArmClient) Connection

func (c *ExperimentArmClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ExperimentArmClient) MutateExperimentArms

MutateExperimentArms creates, updates, or removes experiment arms. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentArmError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type ExperimentCallOptions

type ExperimentCallOptions struct {
	MutateExperiments         []gax.CallOption
	EndExperiment             []gax.CallOption
	ListExperimentAsyncErrors []gax.CallOption
	GraduateExperiment        []gax.CallOption
	ScheduleExperiment        []gax.CallOption
	PromoteExperiment         []gax.CallOption
}

ExperimentCallOptions contains the retry settings for each method of ExperimentClient.

type ExperimentClient

type ExperimentClient struct {

	// The call options for this service.
	CallOptions *ExperimentCallOptions

	// LROClient is used internally to handle long-running operations.
	// It is exposed so that its CallOptions can be modified if required.
	// Users should not Close this client.
	LROClient *lroauto.OperationsClient
	// contains filtered or unexported fields
}

ExperimentClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage experiments.

func NewExperimentClient

func NewExperimentClient(ctx context.Context, opts ...option.ClientOption) (*ExperimentClient, error)

NewExperimentClient creates a new experiment service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage experiments.

func (*ExperimentClient) Close

func (c *ExperimentClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ExperimentClient) Connection

func (c *ExperimentClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ExperimentClient) EndExperiment

func (c *ExperimentClient) EndExperiment(ctx context.Context, req *servicespb.EndExperimentRequest, opts ...gax.CallOption) error

EndExperiment immediately ends an experiment, changing the experiment’s scheduled end date and without waiting for end of day. End date is updated to be the time of the request.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*ExperimentClient) GraduateExperiment

func (c *ExperimentClient) GraduateExperiment(ctx context.Context, req *servicespb.GraduateExperimentRequest, opts ...gax.CallOption) error

GraduateExperiment graduates an experiment to a full campaign.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

func (*ExperimentClient) ListExperimentAsyncErrors

func (c *ExperimentClient) ListExperimentAsyncErrors(ctx context.Context, req *servicespb.ListExperimentAsyncErrorsRequest, opts ...gax.CallOption) *StatusIterator

ListExperimentAsyncErrors returns all errors that occurred during the last Experiment update (either scheduling or promotion). Supports standard list paging.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*ExperimentClient) MutateExperiments

MutateExperiments creates, updates, or removes experiments. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*ExperimentClient) PromoteExperiment

PromoteExperiment promotes the trial campaign thus applying changes in the trial campaign to the base campaign. This method returns a long running operation that tracks the promotion of the experiment campaign. If it fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation’s metadata will be a string containing the resource name of the created experiment.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*ExperimentClient) PromoteExperimentOperation

func (c *ExperimentClient) PromoteExperimentOperation(name string) *PromoteExperimentOperation

PromoteExperimentOperation returns a new PromoteExperimentOperation from a given name. The name must be that of a previously created PromoteExperimentOperation, possibly from a different process.

func (*ExperimentClient) ScheduleExperiment

ScheduleExperiment schedule an experiment. The in design campaign will be converted into a real campaign (called the experiment campaign) that will begin serving ads if successfully created.

The experiment is scheduled immediately with status INITIALIZING. This method returns a long running operation that tracks the forking of the in design campaign. If the forking fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation’s metadata will be a string containing the resource name of the created experiment.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) DatabaseError (at ) DateError (at ) DateRangeError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (at )

func (*ExperimentClient) ScheduleExperimentOperation

func (c *ExperimentClient) ScheduleExperimentOperation(name string) *ScheduleExperimentOperation

ScheduleExperimentOperation returns a new ScheduleExperimentOperation from a given name. The name must be that of a previously created ScheduleExperimentOperation, possibly from a different process.

type ExtensionFeedItemCallOptions

type ExtensionFeedItemCallOptions struct {
	MutateExtensionFeedItems []gax.CallOption
}

ExtensionFeedItemCallOptions contains the retry settings for each method of ExtensionFeedItemClient.

type ExtensionFeedItemClient

type ExtensionFeedItemClient struct {

	// The call options for this service.
	CallOptions *ExtensionFeedItemCallOptions
	// contains filtered or unexported fields
}

ExtensionFeedItemClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage extension feed items.

func NewExtensionFeedItemClient

func NewExtensionFeedItemClient(ctx context.Context, opts ...option.ClientOption) (*ExtensionFeedItemClient, error)

NewExtensionFeedItemClient creates a new extension feed item service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage extension feed items.

func (*ExtensionFeedItemClient) Close

func (c *ExtensionFeedItemClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ExtensionFeedItemClient) Connection

func (c *ExtensionFeedItemClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ExtensionFeedItemClient) MutateExtensionFeedItems

MutateExtensionFeedItems creates, updates, or removes extension feed items. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CountryCodeError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionFeedItemError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) ImageError (at ) InternalError (at ) LanguageCodeError (at ) MutateError (at ) NewResourceCreationError (at ) OperationAccessDeniedError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringLengthError (at ) UrlFieldError (at )

type FeedCallOptions

type FeedCallOptions struct {
	MutateFeeds []gax.CallOption
}

FeedCallOptions contains the retry settings for each method of FeedClient.

type FeedClient

type FeedClient struct {

	// The call options for this service.
	CallOptions *FeedCallOptions
	// contains filtered or unexported fields
}

FeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage feeds.

func NewFeedClient

func NewFeedClient(ctx context.Context, opts ...option.ClientOption) (*FeedClient, error)

NewFeedClient creates a new feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage feeds.

func (*FeedClient) Close

func (c *FeedClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*FeedClient) Connection

func (c *FeedClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*FeedClient) MutateFeeds

MutateFeeds creates, updates, or removes feeds. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DistinctError (at ) FeedError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type FeedItemCallOptions

type FeedItemCallOptions struct {
	MutateFeedItems []gax.CallOption
}

FeedItemCallOptions contains the retry settings for each method of FeedItemClient.

type FeedItemClient

type FeedItemClient struct {

	// The call options for this service.
	CallOptions *FeedItemCallOptions
	// contains filtered or unexported fields
}

FeedItemClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage feed items.

func NewFeedItemClient

func NewFeedItemClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemClient, error)

NewFeedItemClient creates a new feed item service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage feed items.

func (*FeedItemClient) Close

func (c *FeedItemClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*FeedItemClient) Connection

func (c *FeedItemClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*FeedItemClient) MutateFeedItems

MutateFeedItems creates, updates, or removes feed items. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FeedItemError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )

type FeedItemSetCallOptions

type FeedItemSetCallOptions struct {
	MutateFeedItemSets []gax.CallOption
}

FeedItemSetCallOptions contains the retry settings for each method of FeedItemSetClient.

type FeedItemSetClient

type FeedItemSetClient struct {

	// The call options for this service.
	CallOptions *FeedItemSetCallOptions
	// contains filtered or unexported fields
}

FeedItemSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage feed Item Set

func NewFeedItemSetClient

func NewFeedItemSetClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemSetClient, error)

NewFeedItemSetClient creates a new feed item set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage feed Item Set

func (*FeedItemSetClient) Close

func (c *FeedItemSetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*FeedItemSetClient) Connection

func (c *FeedItemSetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*FeedItemSetClient) MutateFeedItemSets

MutateFeedItemSets creates, updates or removes feed item sets. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )

type FeedItemSetLinkCallOptions

type FeedItemSetLinkCallOptions struct {
	MutateFeedItemSetLinks []gax.CallOption
}

FeedItemSetLinkCallOptions contains the retry settings for each method of FeedItemSetLinkClient.

type FeedItemSetLinkClient

type FeedItemSetLinkClient struct {

	// The call options for this service.
	CallOptions *FeedItemSetLinkCallOptions
	// contains filtered or unexported fields
}

FeedItemSetLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage feed item set links.

func NewFeedItemSetLinkClient

func NewFeedItemSetLinkClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemSetLinkClient, error)

NewFeedItemSetLinkClient creates a new feed item set link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage feed item set links.

func (*FeedItemSetLinkClient) Close

func (c *FeedItemSetLinkClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*FeedItemSetLinkClient) Connection

func (c *FeedItemSetLinkClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

MutateFeedItemSetLinks creates, updates, or removes feed item set links.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type FeedItemTargetCallOptions

type FeedItemTargetCallOptions struct {
	MutateFeedItemTargets []gax.CallOption
}

FeedItemTargetCallOptions contains the retry settings for each method of FeedItemTargetClient.

type FeedItemTargetClient

type FeedItemTargetClient struct {

	// The call options for this service.
	CallOptions *FeedItemTargetCallOptions
	// contains filtered or unexported fields
}

FeedItemTargetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage feed item targets.

func NewFeedItemTargetClient

func NewFeedItemTargetClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemTargetClient, error)

NewFeedItemTargetClient creates a new feed item target service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage feed item targets.

func (*FeedItemTargetClient) Close

func (c *FeedItemTargetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*FeedItemTargetClient) Connection

func (c *FeedItemTargetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*FeedItemTargetClient) MutateFeedItemTargets

MutateFeedItemTargets creates or removes feed item targets. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CriterionError (at ) DatabaseError (at ) DistinctError (at ) FeedItemTargetError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type FeedMappingCallOptions

type FeedMappingCallOptions struct {
	MutateFeedMappings []gax.CallOption
}

FeedMappingCallOptions contains the retry settings for each method of FeedMappingClient.

type FeedMappingClient

type FeedMappingClient struct {

	// The call options for this service.
	CallOptions *FeedMappingCallOptions
	// contains filtered or unexported fields
}

FeedMappingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage feed mappings.

func NewFeedMappingClient

func NewFeedMappingClient(ctx context.Context, opts ...option.ClientOption) (*FeedMappingClient, error)

NewFeedMappingClient creates a new feed mapping service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage feed mappings.

func (*FeedMappingClient) Close

func (c *FeedMappingClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*FeedMappingClient) Connection

func (c *FeedMappingClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*FeedMappingClient) MutateFeedMappings

MutateFeedMappings creates or removes feed mappings. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DistinctError (at ) FeedMappingError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type GenerateKeywordIdeaResultIterator

type GenerateKeywordIdeaResultIterator struct {

	// Response is the raw response for the current page.
	// It must be cast to the RPC response type.
	// Calling Next() or InternalFetch() updates this value.
	Response interface{}

	// InternalFetch is for use by the Google Cloud Libraries only.
	// It is not part of the stable interface of this package.
	//
	// InternalFetch returns results from a single call to the underlying RPC.
	// The number of results is no greater than pageSize.
	// If there are no more results, nextPageToken is empty and err is nil.
	InternalFetch func(pageSize int, pageToken string) (results []*servicespb.GenerateKeywordIdeaResult, nextPageToken string, err error)
	// contains filtered or unexported fields
}

GenerateKeywordIdeaResultIterator manages a stream of *servicespb.GenerateKeywordIdeaResult.

func (*GenerateKeywordIdeaResultIterator) Next

Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.

func (*GenerateKeywordIdeaResultIterator) PageInfo

PageInfo supports pagination. See the google.golang.org/api/iterator package for details.

type GeoTargetConstantCallOptions

type GeoTargetConstantCallOptions struct {
	SuggestGeoTargetConstants []gax.CallOption
}

GeoTargetConstantCallOptions contains the retry settings for each method of GeoTargetConstantClient.

type GeoTargetConstantClient

type GeoTargetConstantClient struct {

	// The call options for this service.
	CallOptions *GeoTargetConstantCallOptions
	// contains filtered or unexported fields
}

GeoTargetConstantClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to fetch geo target constants.

func NewGeoTargetConstantClient

func NewGeoTargetConstantClient(ctx context.Context, opts ...option.ClientOption) (*GeoTargetConstantClient, error)

NewGeoTargetConstantClient creates a new geo target constant service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to fetch geo target constants.

func (*GeoTargetConstantClient) Close

func (c *GeoTargetConstantClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*GeoTargetConstantClient) Connection

func (c *GeoTargetConstantClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*GeoTargetConstantClient) SuggestGeoTargetConstants

SuggestGeoTargetConstants returns GeoTargetConstant suggestions by location name or by resource name.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) GeoTargetConstantSuggestionError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type GoogleAdsFieldCallOptions

type GoogleAdsFieldCallOptions struct {
	GetGoogleAdsField     []gax.CallOption
	SearchGoogleAdsFields []gax.CallOption
}

GoogleAdsFieldCallOptions contains the retry settings for each method of GoogleAdsFieldClient.

type GoogleAdsFieldClient

type GoogleAdsFieldClient struct {

	// The call options for this service.
	CallOptions *GoogleAdsFieldCallOptions
	// contains filtered or unexported fields
}

GoogleAdsFieldClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to fetch Google Ads API fields.

func NewGoogleAdsFieldClient

func NewGoogleAdsFieldClient(ctx context.Context, opts ...option.ClientOption) (*GoogleAdsFieldClient, error)

NewGoogleAdsFieldClient creates a new google ads field service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to fetch Google Ads API fields.

func (*GoogleAdsFieldClient) Close

func (c *GoogleAdsFieldClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*GoogleAdsFieldClient) Connection

func (c *GoogleAdsFieldClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*GoogleAdsFieldClient) GetGoogleAdsField

GetGoogleAdsField returns just the requested field.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*GoogleAdsFieldClient) SearchGoogleAdsFields

SearchGoogleAdsFields returns all fields that match the search query.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QueryError (at ) QuotaError (at ) RequestError (at )

type GoogleAdsFieldIterator

type GoogleAdsFieldIterator struct {

	// Response is the raw response for the current page.
	// It must be cast to the RPC response type.
	// Calling Next() or InternalFetch() updates this value.
	Response interface{}

	// InternalFetch is for use by the Google Cloud Libraries only.
	// It is not part of the stable interface of this package.
	//
	// InternalFetch returns results from a single call to the underlying RPC.
	// The number of results is no greater than pageSize.
	// If there are no more results, nextPageToken is empty and err is nil.
	InternalFetch func(pageSize int, pageToken string) (results []*resourcespb.GoogleAdsField, nextPageToken string, err error)
	// contains filtered or unexported fields
}

GoogleAdsFieldIterator manages a stream of *resourcespb.GoogleAdsField.

func (*GoogleAdsFieldIterator) Next

Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.

func (*GoogleAdsFieldIterator) PageInfo

func (it *GoogleAdsFieldIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the google.golang.org/api/iterator package for details.

type GoogleAdsRowIterator

type GoogleAdsRowIterator struct {

	// Response is the raw response for the current page.
	// It must be cast to the RPC response type.
	// Calling Next() or InternalFetch() updates this value.
	Response interface{}

	// InternalFetch is for use by the Google Cloud Libraries only.
	// It is not part of the stable interface of this package.
	//
	// InternalFetch returns results from a single call to the underlying RPC.
	// The number of results is no greater than pageSize.
	// If there are no more results, nextPageToken is empty and err is nil.
	InternalFetch func(pageSize int, pageToken string) (results []*servicespb.GoogleAdsRow, nextPageToken string, err error)
	// contains filtered or unexported fields
}

GoogleAdsRowIterator manages a stream of *servicespb.GoogleAdsRow.

func (*GoogleAdsRowIterator) Next

Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.

func (*GoogleAdsRowIterator) PageInfo

func (it *GoogleAdsRowIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the google.golang.org/api/iterator package for details.

type InvoiceCallOptions

type InvoiceCallOptions struct {
	ListInvoices []gax.CallOption
}

InvoiceCallOptions contains the retry settings for each method of InvoiceClient.

type InvoiceClient

type InvoiceClient struct {

	// The call options for this service.
	CallOptions *InvoiceCallOptions
	// contains filtered or unexported fields
}

InvoiceClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

A service to fetch invoices issued for a billing setup during a given month.

func NewInvoiceClient

func NewInvoiceClient(ctx context.Context, opts ...option.ClientOption) (*InvoiceClient, error)

NewInvoiceClient creates a new invoice service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

A service to fetch invoices issued for a billing setup during a given month.

func (*InvoiceClient) Close

func (c *InvoiceClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*InvoiceClient) Connection

func (c *InvoiceClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*InvoiceClient) ListInvoices

ListInvoices returns all invoices associated with a billing setup, for a given month.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) InvoiceError (at ) QuotaError (at ) RequestError (at )

type KeywordPlanAdGroupCallOptions

type KeywordPlanAdGroupCallOptions struct {
	MutateKeywordPlanAdGroups []gax.CallOption
}

KeywordPlanAdGroupCallOptions contains the retry settings for each method of KeywordPlanAdGroupClient.

type KeywordPlanAdGroupClient

type KeywordPlanAdGroupClient struct {

	// The call options for this service.
	CallOptions *KeywordPlanAdGroupCallOptions
	// contains filtered or unexported fields
}

KeywordPlanAdGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage Keyword Plan ad groups.

func NewKeywordPlanAdGroupClient

func NewKeywordPlanAdGroupClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanAdGroupClient, error)

NewKeywordPlanAdGroupClient creates a new keyword plan ad group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage Keyword Plan ad groups.

func (*KeywordPlanAdGroupClient) Close

func (c *KeywordPlanAdGroupClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*KeywordPlanAdGroupClient) Connection

func (c *KeywordPlanAdGroupClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*KeywordPlanAdGroupClient) MutateKeywordPlanAdGroups

MutateKeywordPlanAdGroups creates, updates, or removes Keyword Plan ad groups. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) KeywordPlanAdGroupError (at ) KeywordPlanError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )

type KeywordPlanAdGroupKeywordCallOptions

type KeywordPlanAdGroupKeywordCallOptions struct {
	MutateKeywordPlanAdGroupKeywords []gax.CallOption
}

KeywordPlanAdGroupKeywordCallOptions contains the retry settings for each method of KeywordPlanAdGroupKeywordClient.

type KeywordPlanAdGroupKeywordClient

type KeywordPlanAdGroupKeywordClient struct {

	// The call options for this service.
	CallOptions *KeywordPlanAdGroupKeywordCallOptions
	// contains filtered or unexported fields
}

KeywordPlanAdGroupKeywordClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is required to add ad group keywords. Positive and negative keywords are supported. A maximum of 10,000 positive keywords are allowed per keyword plan. A maximum of 1,000 negative keywords are allower per keyword plan. This includes campaign negative keywords and ad group negative keywords.

func NewKeywordPlanAdGroupKeywordClient

func NewKeywordPlanAdGroupKeywordClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanAdGroupKeywordClient, error)

NewKeywordPlanAdGroupKeywordClient creates a new keyword plan ad group keyword service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is required to add ad group keywords. Positive and negative keywords are supported. A maximum of 10,000 positive keywords are allowed per keyword plan. A maximum of 1,000 negative keywords are allower per keyword plan. This includes campaign negative keywords and ad group negative keywords.

func (*KeywordPlanAdGroupKeywordClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*KeywordPlanAdGroupKeywordClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*KeywordPlanAdGroupKeywordClient) MutateKeywordPlanAdGroupKeywords

MutateKeywordPlanAdGroupKeywords creates, updates, or removes Keyword Plan ad group keywords. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) KeywordPlanAdGroupKeywordError (at ) KeywordPlanError (at ) MutateError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )

type KeywordPlanCallOptions

type KeywordPlanCallOptions struct {
	MutateKeywordPlans         []gax.CallOption
	GenerateForecastCurve      []gax.CallOption
	GenerateForecastTimeSeries []gax.CallOption
	GenerateForecastMetrics    []gax.CallOption
	GenerateHistoricalMetrics  []gax.CallOption
}

KeywordPlanCallOptions contains the retry settings for each method of KeywordPlanClient.

type KeywordPlanCampaignCallOptions

type KeywordPlanCampaignCallOptions struct {
	MutateKeywordPlanCampaigns []gax.CallOption
}

KeywordPlanCampaignCallOptions contains the retry settings for each method of KeywordPlanCampaignClient.

type KeywordPlanCampaignClient

type KeywordPlanCampaignClient struct {

	// The call options for this service.
	CallOptions *KeywordPlanCampaignCallOptions
	// contains filtered or unexported fields
}

KeywordPlanCampaignClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage Keyword Plan campaigns.

func NewKeywordPlanCampaignClient

func NewKeywordPlanCampaignClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanCampaignClient, error)

NewKeywordPlanCampaignClient creates a new keyword plan campaign service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage Keyword Plan campaigns.

func (*KeywordPlanCampaignClient) Close

func (c *KeywordPlanCampaignClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*KeywordPlanCampaignClient) Connection

func (c *KeywordPlanCampaignClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*KeywordPlanCampaignClient) MutateKeywordPlanCampaigns

MutateKeywordPlanCampaigns creates, updates, or removes Keyword Plan campaigns. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) KeywordPlanCampaignError (at ) KeywordPlanError (at ) ListOperationError (at ) MutateError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at )

type KeywordPlanCampaignKeywordCallOptions

type KeywordPlanCampaignKeywordCallOptions struct {
	MutateKeywordPlanCampaignKeywords []gax.CallOption
}

KeywordPlanCampaignKeywordCallOptions contains the retry settings for each method of KeywordPlanCampaignKeywordClient.

type KeywordPlanCampaignKeywordClient

type KeywordPlanCampaignKeywordClient struct {

	// The call options for this service.
	CallOptions *KeywordPlanCampaignKeywordCallOptions
	// contains filtered or unexported fields
}

KeywordPlanCampaignKeywordClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is required to add the campaign keywords. Only negative keywords are supported. A maximum of 1000 negative keywords are allowed per plan. This includes both campaign negative keywords and ad group negative keywords.

func NewKeywordPlanCampaignKeywordClient

func NewKeywordPlanCampaignKeywordClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanCampaignKeywordClient, error)

NewKeywordPlanCampaignKeywordClient creates a new keyword plan campaign keyword service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is required to add the campaign keywords. Only negative keywords are supported. A maximum of 1000 negative keywords are allowed per plan. This includes both campaign negative keywords and ad group negative keywords.

func (*KeywordPlanCampaignKeywordClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*KeywordPlanCampaignKeywordClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*KeywordPlanCampaignKeywordClient) MutateKeywordPlanCampaignKeywords

MutateKeywordPlanCampaignKeywords creates, updates, or removes Keyword Plan campaign keywords. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) KeywordPlanAdGroupKeywordError (at ) KeywordPlanCampaignKeywordError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )

type KeywordPlanClient

type KeywordPlanClient struct {

	// The call options for this service.
	CallOptions *KeywordPlanCallOptions
	// contains filtered or unexported fields
}

KeywordPlanClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage keyword plans.

func NewKeywordPlanClient

func NewKeywordPlanClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanClient, error)

NewKeywordPlanClient creates a new keyword plan service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage keyword plans.

func (*KeywordPlanClient) Close

func (c *KeywordPlanClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*KeywordPlanClient) Connection

func (c *KeywordPlanClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*KeywordPlanClient) GenerateForecastCurve

GenerateForecastCurve returns the requested Keyword Plan forecast curve. Only the bidding strategy is considered for generating forecast curve. The bidding strategy value specified in the plan is ignored.

To generate a forecast at a value specified in the plan, use KeywordPlanService.GenerateForecastMetrics.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) KeywordPlanError (at ) QuotaError (at ) RequestError (at )

func (*KeywordPlanClient) GenerateForecastMetrics

GenerateForecastMetrics returns the requested Keyword Plan forecasts.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) KeywordPlanError (at ) QuotaError (at ) RequestError (at )

func (*KeywordPlanClient) GenerateForecastTimeSeries

GenerateForecastTimeSeries returns a forecast in the form of a time series for the Keyword Plan over the next 52 weeks. (1) Forecasts closer to the current date are generally more accurate than further out.

(2) The forecast reflects seasonal trends using current and prior traffic patterns. The forecast period of the plan is ignored.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) KeywordPlanError (at ) QuotaError (at ) RequestError (at )

func (*KeywordPlanClient) GenerateHistoricalMetrics

GenerateHistoricalMetrics returns the requested Keyword Plan historical metrics.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) KeywordPlanError (at ) QuotaError (at ) RequestError (at )

func (*KeywordPlanClient) MutateKeywordPlans

MutateKeywordPlans creates, updates, or removes keyword plans. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) KeywordPlanError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) StringLengthError (at )

type KeywordPlanIdeaCallOptions

type KeywordPlanIdeaCallOptions struct {
	GenerateKeywordIdeas             []gax.CallOption
	GenerateKeywordHistoricalMetrics []gax.CallOption
}

KeywordPlanIdeaCallOptions contains the retry settings for each method of KeywordPlanIdeaClient.

type KeywordPlanIdeaClient

type KeywordPlanIdeaClient struct {

	// The call options for this service.
	CallOptions *KeywordPlanIdeaCallOptions
	// contains filtered or unexported fields
}

KeywordPlanIdeaClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to generate keyword ideas.

func NewKeywordPlanIdeaClient

func NewKeywordPlanIdeaClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanIdeaClient, error)

NewKeywordPlanIdeaClient creates a new keyword plan idea service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to generate keyword ideas.

func (*KeywordPlanIdeaClient) Close

func (c *KeywordPlanIdeaClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*KeywordPlanIdeaClient) Connection

func (c *KeywordPlanIdeaClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*KeywordPlanIdeaClient) GenerateKeywordHistoricalMetrics

GenerateKeywordHistoricalMetrics returns a list of keyword historical metrics.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*KeywordPlanIdeaClient) GenerateKeywordIdeas

GenerateKeywordIdeas returns a list of keyword ideas.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) HeaderError (at ) InternalError (at ) KeywordPlanIdeaError (at ) QuotaError (at ) RequestError (at )

type KeywordThemeConstantCallOptions

type KeywordThemeConstantCallOptions struct {
	SuggestKeywordThemeConstants []gax.CallOption
}

KeywordThemeConstantCallOptions contains the retry settings for each method of KeywordThemeConstantClient.

type KeywordThemeConstantClient

type KeywordThemeConstantClient struct {

	// The call options for this service.
	CallOptions *KeywordThemeConstantCallOptions
	// contains filtered or unexported fields
}

KeywordThemeConstantClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to fetch Smart Campaign keyword themes.

func NewKeywordThemeConstantClient

func NewKeywordThemeConstantClient(ctx context.Context, opts ...option.ClientOption) (*KeywordThemeConstantClient, error)

NewKeywordThemeConstantClient creates a new keyword theme constant service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to fetch Smart Campaign keyword themes.

func (*KeywordThemeConstantClient) Close

func (c *KeywordThemeConstantClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*KeywordThemeConstantClient) Connection

func (c *KeywordThemeConstantClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*KeywordThemeConstantClient) SuggestKeywordThemeConstants

SuggestKeywordThemeConstants returns KeywordThemeConstant suggestions by keyword themes.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type LabelCallOptions

type LabelCallOptions struct {
	MutateLabels []gax.CallOption
}

LabelCallOptions contains the retry settings for each method of LabelClient.

type LabelClient

type LabelClient struct {

	// The call options for this service.
	CallOptions *LabelCallOptions
	// contains filtered or unexported fields
}

LabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage labels.

func NewLabelClient

func NewLabelClient(ctx context.Context, opts ...option.ClientOption) (*LabelClient, error)

NewLabelClient creates a new label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage labels.

func (*LabelClient) Close

func (c *LabelClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*LabelClient) Connection

func (c *LabelClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*LabelClient) MutateLabels

MutateLabels creates, updates, or removes labels. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) LabelError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type MediaFileCallOptions

type MediaFileCallOptions struct {
	MutateMediaFiles []gax.CallOption
}

MediaFileCallOptions contains the retry settings for each method of MediaFileClient.

type MediaFileClient

type MediaFileClient struct {

	// The call options for this service.
	CallOptions *MediaFileCallOptions
	// contains filtered or unexported fields
}

MediaFileClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage media files.

func NewMediaFileClient

func NewMediaFileClient(ctx context.Context, opts ...option.ClientOption) (*MediaFileClient, error)

NewMediaFileClient creates a new media file service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage media files.

func (*MediaFileClient) Close

func (c *MediaFileClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*MediaFileClient) Connection

func (c *MediaFileClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*MediaFileClient) MutateMediaFiles

MutateMediaFiles creates media files. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) HeaderError (at ) IdError (at ) ImageError (at ) InternalError (at ) MediaBundleError (at ) MediaFileError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type MerchantCenterLinkCallOptions

type MerchantCenterLinkCallOptions struct {
	ListMerchantCenterLinks  []gax.CallOption
	GetMerchantCenterLink    []gax.CallOption
	MutateMerchantCenterLink []gax.CallOption
}

MerchantCenterLinkCallOptions contains the retry settings for each method of MerchantCenterLinkClient.

type MerchantCenterLinkClient

type MerchantCenterLinkClient struct {

	// The call options for this service.
	CallOptions *MerchantCenterLinkCallOptions
	// contains filtered or unexported fields
}

MerchantCenterLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

This service allows management of links between Google Ads and Google Merchant Center.

func NewMerchantCenterLinkClient

func NewMerchantCenterLinkClient(ctx context.Context, opts ...option.ClientOption) (*MerchantCenterLinkClient, error)

NewMerchantCenterLinkClient creates a new merchant center link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

This service allows management of links between Google Ads and Google Merchant Center.

func (*MerchantCenterLinkClient) Close

func (c *MerchantCenterLinkClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*MerchantCenterLinkClient) Connection

func (c *MerchantCenterLinkClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

GetMerchantCenterLink returns the Merchant Center link in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

ListMerchantCenterLinks returns Merchant Center links available for this customer.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

MutateMerchantCenterLink updates status or removes a Merchant Center link.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type OfflineUserDataJobCallOptions

type OfflineUserDataJobCallOptions struct {
	CreateOfflineUserDataJob        []gax.CallOption
	AddOfflineUserDataJobOperations []gax.CallOption
	RunOfflineUserDataJob           []gax.CallOption
}

OfflineUserDataJobCallOptions contains the retry settings for each method of OfflineUserDataJobClient.

type OfflineUserDataJobClient

type OfflineUserDataJobClient struct {

	// The call options for this service.
	CallOptions *OfflineUserDataJobCallOptions

	// LROClient is used internally to handle long-running operations.
	// It is exposed so that its CallOptions can be modified if required.
	// Users should not Close this client.
	LROClient *lroauto.OperationsClient
	// contains filtered or unexported fields
}

OfflineUserDataJobClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage offline user data jobs.

func NewOfflineUserDataJobClient

func NewOfflineUserDataJobClient(ctx context.Context, opts ...option.ClientOption) (*OfflineUserDataJobClient, error)

NewOfflineUserDataJobClient creates a new offline user data job service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage offline user data jobs.

func (*OfflineUserDataJobClient) AddOfflineUserDataJobOperations

AddOfflineUserDataJobOperations adds operations to the offline user data job.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) OfflineUserDataJobError (at ) QuotaError (at ) RequestError (at )

func (*OfflineUserDataJobClient) Close

func (c *OfflineUserDataJobClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*OfflineUserDataJobClient) Connection

func (c *OfflineUserDataJobClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*OfflineUserDataJobClient) CreateOfflineUserDataJob

CreateOfflineUserDataJob creates an offline user data job.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) NotAllowlistedError (at ) OfflineUserDataJobError (at ) QuotaError (at ) RequestError (at )

func (*OfflineUserDataJobClient) RunOfflineUserDataJob

RunOfflineUserDataJob runs the offline user data job.

When finished, the long running operation will contain the processing result or failure information, if any.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) HeaderError (at ) InternalError (at ) OfflineUserDataJobError (at ) QuotaError (at ) RequestError (at )

func (*OfflineUserDataJobClient) RunOfflineUserDataJobOperation

func (c *OfflineUserDataJobClient) RunOfflineUserDataJobOperation(name string) *RunOfflineUserDataJobOperation

RunOfflineUserDataJobOperation returns a new RunOfflineUserDataJobOperation from a given name. The name must be that of a previously created RunOfflineUserDataJobOperation, possibly from a different process.

type PaymentsAccountCallOptions

type PaymentsAccountCallOptions struct {
	ListPaymentsAccounts []gax.CallOption
}

PaymentsAccountCallOptions contains the retry settings for each method of PaymentsAccountClient.

type PaymentsAccountClient

type PaymentsAccountClient struct {

	// The call options for this service.
	CallOptions *PaymentsAccountCallOptions
	// contains filtered or unexported fields
}

PaymentsAccountClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to provide payments accounts that can be used to set up consolidated billing.

func NewPaymentsAccountClient

func NewPaymentsAccountClient(ctx context.Context, opts ...option.ClientOption) (*PaymentsAccountClient, error)

NewPaymentsAccountClient creates a new payments account service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to provide payments accounts that can be used to set up consolidated billing.

func (*PaymentsAccountClient) Close

func (c *PaymentsAccountClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*PaymentsAccountClient) Connection

func (c *PaymentsAccountClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*PaymentsAccountClient) ListPaymentsAccounts

ListPaymentsAccounts returns all payments accounts associated with all managers between the login customer ID and specified serving customer in the hierarchy, inclusive.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) PaymentsAccountError (at ) QuotaError (at ) RequestError (at )

type PromoteCampaignDraftOperation

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

PromoteCampaignDraftOperation manages a long-running operation from PromoteCampaignDraft.

func (*PromoteCampaignDraftOperation) Done

Done reports whether the long-running operation has completed.

func (*PromoteCampaignDraftOperation) Metadata

func (op *PromoteCampaignDraftOperation) Metadata() (*emptypb.Empty, error)

Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.

func (*PromoteCampaignDraftOperation) Name

Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.

func (*PromoteCampaignDraftOperation) Poll

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.

func (*PromoteCampaignDraftOperation) Wait

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

type PromoteCampaignExperimentOperation

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

PromoteCampaignExperimentOperation manages a long-running operation from PromoteCampaignExperiment.

func (*PromoteCampaignExperimentOperation) Done

Done reports whether the long-running operation has completed.

func (*PromoteCampaignExperimentOperation) Metadata

Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.

func (*PromoteCampaignExperimentOperation) Name

Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.

func (*PromoteCampaignExperimentOperation) Poll

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.

func (*PromoteCampaignExperimentOperation) Wait

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

type PromoteExperimentOperation

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

PromoteExperimentOperation manages a long-running operation from PromoteExperiment.

func (*PromoteExperimentOperation) Done

func (op *PromoteExperimentOperation) Done() bool

Done reports whether the long-running operation has completed.

func (*PromoteExperimentOperation) Metadata

Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.

func (*PromoteExperimentOperation) Name

Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.

func (*PromoteExperimentOperation) Poll

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.

func (*PromoteExperimentOperation) Wait

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

type ReachPlanCallOptions

type ReachPlanCallOptions struct {
	ListPlannableLocations  []gax.CallOption
	ListPlannableProducts   []gax.CallOption
	GenerateProductMixIdeas []gax.CallOption
	GenerateReachForecast   []gax.CallOption
}

ReachPlanCallOptions contains the retry settings for each method of ReachPlanClient.

type ReachPlanClient

type ReachPlanClient struct {

	// The call options for this service.
	CallOptions *ReachPlanCallOptions
	// contains filtered or unexported fields
}

ReachPlanClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Reach Plan Service gives users information about audience size that can be reached through advertisement on YouTube. In particular, GenerateReachForecast provides estimated number of people of specified demographics that can be reached by an ad in a given market by a campaign of certain duration with a defined budget.

func NewReachPlanClient

func NewReachPlanClient(ctx context.Context, opts ...option.ClientOption) (*ReachPlanClient, error)

NewReachPlanClient creates a new reach plan service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Reach Plan Service gives users information about audience size that can be reached through advertisement on YouTube. In particular, GenerateReachForecast provides estimated number of people of specified demographics that can be reached by an ad in a given market by a campaign of certain duration with a defined budget.

func (*ReachPlanClient) Close

func (c *ReachPlanClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ReachPlanClient) Connection

func (c *ReachPlanClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*ReachPlanClient) GenerateProductMixIdeas

GenerateProductMixIdeas generates a product mix ideas given a set of preferences. This method helps the advertiser to obtain a good mix of ad formats and budget allocations based on its preferences.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) ReachPlanError (at ) RequestError (at )

func (*ReachPlanClient) GenerateReachForecast

GenerateReachForecast generates a reach forecast for a given targeting / product mix.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) ReachPlanError (at ) RequestError (at )

func (*ReachPlanClient) ListPlannableLocations

ListPlannableLocations returns the list of plannable locations (for example, countries).

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

func (*ReachPlanClient) ListPlannableProducts

ListPlannableProducts returns the list of per-location plannable YouTube ad formats with allowed targeting.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type RecommendationCallOptions

type RecommendationCallOptions struct {
	ApplyRecommendation   []gax.CallOption
	DismissRecommendation []gax.CallOption
}

RecommendationCallOptions contains the retry settings for each method of RecommendationClient.

type RecommendationClient

type RecommendationClient struct {

	// The call options for this service.
	CallOptions *RecommendationCallOptions
	// contains filtered or unexported fields
}

RecommendationClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage recommendations.

func NewRecommendationClient

func NewRecommendationClient(ctx context.Context, opts ...option.ClientOption) (*RecommendationClient, error)

NewRecommendationClient creates a new recommendation service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage recommendations.

func (*RecommendationClient) ApplyRecommendation

ApplyRecommendation applies given recommendations with corresponding apply parameters.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RecommendationError (at ) RequestError (at ) UrlFieldError (at )

func (*RecommendationClient) Close

func (c *RecommendationClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*RecommendationClient) Connection

func (c *RecommendationClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*RecommendationClient) DismissRecommendation

DismissRecommendation dismisses given recommendations.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RecommendationError (at ) RequestError (at )

type RemarketingActionCallOptions

type RemarketingActionCallOptions struct {
	MutateRemarketingActions []gax.CallOption
}

RemarketingActionCallOptions contains the retry settings for each method of RemarketingActionClient.

type RemarketingActionClient

type RemarketingActionClient struct {

	// The call options for this service.
	CallOptions *RemarketingActionCallOptions
	// contains filtered or unexported fields
}

RemarketingActionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage remarketing actions.

func NewRemarketingActionClient

func NewRemarketingActionClient(ctx context.Context, opts ...option.ClientOption) (*RemarketingActionClient, error)

NewRemarketingActionClient creates a new remarketing action service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage remarketing actions.

func (*RemarketingActionClient) Close

func (c *RemarketingActionClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*RemarketingActionClient) Connection

func (c *RemarketingActionClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*RemarketingActionClient) MutateRemarketingActions

MutateRemarketingActions creates or updates remarketing actions. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ConversionActionError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type RunBatchJobOperation

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

RunBatchJobOperation manages a long-running operation from RunBatchJob.

func (*RunBatchJobOperation) Done

func (op *RunBatchJobOperation) Done() bool

Done reports whether the long-running operation has completed.

func (*RunBatchJobOperation) Metadata

Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.

func (*RunBatchJobOperation) Name

func (op *RunBatchJobOperation) Name() string

Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.

func (*RunBatchJobOperation) Poll

func (op *RunBatchJobOperation) Poll(ctx context.Context, opts ...gax.CallOption) error

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.

func (*RunBatchJobOperation) Wait

func (op *RunBatchJobOperation) Wait(ctx context.Context, opts ...gax.CallOption) error

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

type RunOfflineUserDataJobOperation

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

RunOfflineUserDataJobOperation manages a long-running operation from RunOfflineUserDataJob.

func (*RunOfflineUserDataJobOperation) Done

Done reports whether the long-running operation has completed.

func (*RunOfflineUserDataJobOperation) Metadata

Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.

func (*RunOfflineUserDataJobOperation) Name

Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.

func (*RunOfflineUserDataJobOperation) Poll

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.

func (*RunOfflineUserDataJobOperation) Wait

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

type ScheduleExperimentOperation

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

ScheduleExperimentOperation manages a long-running operation from ScheduleExperiment.

func (*ScheduleExperimentOperation) Done

func (op *ScheduleExperimentOperation) Done() bool

Done reports whether the long-running operation has completed.

func (*ScheduleExperimentOperation) Metadata

Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.

func (*ScheduleExperimentOperation) Name

Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.

func (*ScheduleExperimentOperation) Poll

Poll fetches the latest state of the long-running operation.

Poll also fetches the latest metadata, which can be retrieved by Metadata.

If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.

func (*ScheduleExperimentOperation) Wait

Wait blocks until the long-running operation is completed, returning the response and any errors encountered.

See documentation of Poll for error-handling information.

type SharedCriterionCallOptions

type SharedCriterionCallOptions struct {
	MutateSharedCriteria []gax.CallOption
}

SharedCriterionCallOptions contains the retry settings for each method of SharedCriterionClient.

type SharedCriterionClient

type SharedCriterionClient struct {

	// The call options for this service.
	CallOptions *SharedCriterionCallOptions
	// contains filtered or unexported fields
}

SharedCriterionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage shared criteria.

func NewSharedCriterionClient

func NewSharedCriterionClient(ctx context.Context, opts ...option.ClientOption) (*SharedCriterionClient, error)

NewSharedCriterionClient creates a new shared criterion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage shared criteria.

func (*SharedCriterionClient) Close

func (c *SharedCriterionClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*SharedCriterionClient) Connection

func (c *SharedCriterionClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*SharedCriterionClient) MutateSharedCriteria

MutateSharedCriteria creates or removes shared criteria. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CriterionError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type SharedSetCallOptions

type SharedSetCallOptions struct {
	MutateSharedSets []gax.CallOption
}

SharedSetCallOptions contains the retry settings for each method of SharedSetClient.

type SharedSetClient

type SharedSetClient struct {

	// The call options for this service.
	CallOptions *SharedSetCallOptions
	// contains filtered or unexported fields
}

SharedSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage shared sets.

func NewSharedSetClient

func NewSharedSetClient(ctx context.Context, opts ...option.ClientOption) (*SharedSetClient, error)

NewSharedSetClient creates a new shared set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage shared sets.

func (*SharedSetClient) Close

func (c *SharedSetClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*SharedSetClient) Connection

func (c *SharedSetClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*SharedSetClient) MutateSharedSets

MutateSharedSets creates, updates, or removes shared sets. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SharedSetError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )

type SmartCampaignSettingCallOptions

type SmartCampaignSettingCallOptions struct {
	MutateSmartCampaignSettings []gax.CallOption
}

SmartCampaignSettingCallOptions contains the retry settings for each method of SmartCampaignSettingClient.

type SmartCampaignSettingClient

type SmartCampaignSettingClient struct {

	// The call options for this service.
	CallOptions *SmartCampaignSettingCallOptions
	// contains filtered or unexported fields
}

SmartCampaignSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage Smart campaign settings.

func NewSmartCampaignSettingClient

func NewSmartCampaignSettingClient(ctx context.Context, opts ...option.ClientOption) (*SmartCampaignSettingClient, error)

NewSmartCampaignSettingClient creates a new smart campaign setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage Smart campaign settings.

func (*SmartCampaignSettingClient) Close

func (c *SmartCampaignSettingClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*SmartCampaignSettingClient) Connection

func (c *SmartCampaignSettingClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*SmartCampaignSettingClient) MutateSmartCampaignSettings

MutateSmartCampaignSettings updates Smart campaign settings for campaigns.

type SmartCampaignSuggestCallOptions

type SmartCampaignSuggestCallOptions struct {
	SuggestSmartCampaignBudgetOptions []gax.CallOption
	SuggestSmartCampaignAd            []gax.CallOption
	SuggestKeywordThemes              []gax.CallOption
}

SmartCampaignSuggestCallOptions contains the retry settings for each method of SmartCampaignSuggestClient.

type SmartCampaignSuggestClient

type SmartCampaignSuggestClient struct {

	// The call options for this service.
	CallOptions *SmartCampaignSuggestCallOptions
	// contains filtered or unexported fields
}

SmartCampaignSuggestClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to get suggestions for Smart Campaigns.

func NewSmartCampaignSuggestClient

func NewSmartCampaignSuggestClient(ctx context.Context, opts ...option.ClientOption) (*SmartCampaignSuggestClient, error)

NewSmartCampaignSuggestClient creates a new smart campaign suggest service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to get suggestions for Smart Campaigns.

func (*SmartCampaignSuggestClient) Close

func (c *SmartCampaignSuggestClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*SmartCampaignSuggestClient) Connection

func (c *SmartCampaignSuggestClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*SmartCampaignSuggestClient) SuggestKeywordThemes

SuggestKeywordThemes suggests keyword themes to advertise on.

func (*SmartCampaignSuggestClient) SuggestSmartCampaignAd

SuggestSmartCampaignAd suggests a Smart campaign ad compatible with the Ad family of resources, based on data points such as targeting and the business to advertise.

func (*SmartCampaignSuggestClient) SuggestSmartCampaignBudgetOptions

SuggestSmartCampaignBudgetOptions returns BudgetOption suggestions.

type StatusIterator

type StatusIterator struct {

	// Response is the raw response for the current page.
	// It must be cast to the RPC response type.
	// Calling Next() or InternalFetch() updates this value.
	Response interface{}

	// InternalFetch is for use by the Google Cloud Libraries only.
	// It is not part of the stable interface of this package.
	//
	// InternalFetch returns results from a single call to the underlying RPC.
	// The number of results is no greater than pageSize.
	// If there are no more results, nextPageToken is empty and err is nil.
	InternalFetch func(pageSize int, pageToken string) (results []*statuspb.Status, nextPageToken string, err error)
	// contains filtered or unexported fields
}

StatusIterator manages a stream of *statuspb.Status.

func (*StatusIterator) Next

func (it *StatusIterator) Next() (*statuspb.Status, error)

Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.

func (*StatusIterator) PageInfo

func (it *StatusIterator) PageInfo() *iterator.PageInfo

PageInfo supports pagination. See the google.golang.org/api/iterator package for details.

type ThirdPartyAppAnalyticsLinkCallOptions

type ThirdPartyAppAnalyticsLinkCallOptions struct {
	RegenerateShareableLinkId []gax.CallOption
}

ThirdPartyAppAnalyticsLinkCallOptions contains the retry settings for each method of ThirdPartyAppAnalyticsLinkClient.

type ThirdPartyAppAnalyticsLinkClient

type ThirdPartyAppAnalyticsLinkClient struct {

	// The call options for this service.
	CallOptions *ThirdPartyAppAnalyticsLinkCallOptions
	// contains filtered or unexported fields
}

ThirdPartyAppAnalyticsLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

This service allows management of links between Google Ads and third party app analytics.

func NewThirdPartyAppAnalyticsLinkClient

func NewThirdPartyAppAnalyticsLinkClient(ctx context.Context, opts ...option.ClientOption) (*ThirdPartyAppAnalyticsLinkClient, error)

NewThirdPartyAppAnalyticsLinkClient creates a new third party app analytics link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

This service allows management of links between Google Ads and third party app analytics.

func (*ThirdPartyAppAnalyticsLinkClient) Close

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*ThirdPartyAppAnalyticsLinkClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*ThirdPartyAppAnalyticsLinkClient) RegenerateShareableLinkId

RegenerateShareableLinkId regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third party when setting up app analytics.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )

type UserDataCallOptions

type UserDataCallOptions struct {
	UploadUserData []gax.CallOption
}

UserDataCallOptions contains the retry settings for each method of UserDataClient.

type UserDataClient

type UserDataClient struct {

	// The call options for this service.
	CallOptions *UserDataCallOptions
	// contains filtered or unexported fields
}

UserDataClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage user data uploads.

func NewUserDataClient

func NewUserDataClient(ctx context.Context, opts ...option.ClientOption) (*UserDataClient, error)

NewUserDataClient creates a new user data service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage user data uploads.

func (*UserDataClient) Close

func (c *UserDataClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*UserDataClient) Connection

func (c *UserDataClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*UserDataClient) UploadUserData

UploadUserData uploads the given user data.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) OfflineUserDataJobError (at ) QuotaError (at ) RequestError (at ) UserDataError (at )

type UserListCallOptions

type UserListCallOptions struct {
	MutateUserLists []gax.CallOption
}

UserListCallOptions contains the retry settings for each method of UserListClient.

type UserListClient

type UserListClient struct {

	// The call options for this service.
	CallOptions *UserListCallOptions
	// contains filtered or unexported fields
}

UserListClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

Service to manage user lists.

func NewUserListClient

func NewUserListClient(ctx context.Context, opts ...option.ClientOption) (*UserListClient, error)

NewUserListClient creates a new user list service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.

Service to manage user lists.

func (*UserListClient) Close

func (c *UserListClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*UserListClient) Connection

func (c *UserListClient) Connection() *grpc.ClientConn

Connection returns a connection to the API service.

Deprecated.

func (*UserListClient) MutateUserLists

MutateUserLists creates or updates user lists. Operation statuses are returned.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotAllowlistedError (at ) NotEmptyError (at ) OperationAccessDeniedError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) StringFormatError (at ) StringLengthError (at ) UserListError (at )

Source Files

Jump to

Keyboard shortcuts

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