googleads

package
v0.20220327.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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.NewAccessibleBiddingStrategyClient(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.NewAccessibleBiddingStrategyClient(ctx)
if err != nil {
	// TODO: Handle error.
}
defer c.Close()

req := &servicespb.GetAccessibleBiddingStrategyRequest{
	// TODO: Fill request struct fields.
	// See https://pkg.go.dev/github.com/dictav/go-genproto-googleads/pb/v9/services#GetAccessibleBiddingStrategyRequest.
}
resp, err := c.GetAccessibleBiddingStrategy(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 AccessibleBiddingStrategyCallOptions

type AccessibleBiddingStrategyCallOptions struct {
	GetAccessibleBiddingStrategy []gax.CallOption
}

AccessibleBiddingStrategyCallOptions contains the retry settings for each method of AccessibleBiddingStrategyClient.

type AccessibleBiddingStrategyClient

type AccessibleBiddingStrategyClient struct {

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

AccessibleBiddingStrategyClient 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 read accessible bidding strategies.

func NewAccessibleBiddingStrategyClient

func NewAccessibleBiddingStrategyClient(ctx context.Context, opts ...option.ClientOption) (*AccessibleBiddingStrategyClient, error)

NewAccessibleBiddingStrategyClient creates a new accessible 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 read accessible bidding strategies.

func (*AccessibleBiddingStrategyClient) Close

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

func (*AccessibleBiddingStrategyClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*AccessibleBiddingStrategyClient) GetAccessibleBiddingStrategy

GetAccessibleBiddingStrategy returns the requested accessible bidding strategy in full detail.

type AccountBudgetCallOptions

type AccountBudgetCallOptions struct {
	GetAccountBudget []gax.CallOption
}

AccountBudgetCallOptions contains the retry settings for each method of AccountBudgetClient.

type AccountBudgetClient

type AccountBudgetClient struct {

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

AccountBudgetClient 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 fetching an account-level budget.

Account-level budgets are mutated by creating proposal resources.

func NewAccountBudgetClient

func NewAccountBudgetClient(ctx context.Context, opts ...option.ClientOption) (*AccountBudgetClient, error)

NewAccountBudgetClient creates a new account budget 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 fetching an account-level budget.

Account-level budgets are mutated by creating proposal resources.

func (*AccountBudgetClient) Close

func (c *AccountBudgetClient) Close() error

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

func (*AccountBudgetClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*AccountBudgetClient) GetAccountBudget

GetAccountBudget returns an account-level budget in full detail.

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

type AccountBudgetProposalCallOptions

type AccountBudgetProposalCallOptions struct {
	GetAccountBudgetProposal    []gax.CallOption
	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.

Reads for account-level budgets managed by these proposals will be supported in a future version. Until then, please use the BudgetOrderService from the AdWords API. Learn more at https://developers.google.com/adwords/api/docs/guides/budget-order (at https://developers.google.com/adwords/api/docs/guides/budget-order)

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.

Reads for account-level budgets managed by these proposals will be supported in a future version. Until then, please use the BudgetOrderService from the AdWords API. Learn more at https://developers.google.com/adwords/api/docs/guides/budget-order (at https://developers.google.com/adwords/api/docs/guides/budget-order)

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) GetAccountBudgetProposal

GetAccountBudgetProposal returns an account-level budget proposal in full detail.

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

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 {
	GetAccountLink    []gax.CallOption
	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 )

GetAccountLink returns the account link in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (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 AdGroupAdAssetViewCallOptions

type AdGroupAdAssetViewCallOptions struct {
	GetAdGroupAdAssetView []gax.CallOption
}

AdGroupAdAssetViewCallOptions contains the retry settings for each method of AdGroupAdAssetViewClient.

type AdGroupAdAssetViewClient

type AdGroupAdAssetViewClient struct {

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

AdGroupAdAssetViewClient 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 ad group ad asset views.

func NewAdGroupAdAssetViewClient

func NewAdGroupAdAssetViewClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAdAssetViewClient, error)

NewAdGroupAdAssetViewClient creates a new ad group ad asset view 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 ad group ad asset views.

func (*AdGroupAdAssetViewClient) Close

func (c *AdGroupAdAssetViewClient) Close() error

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

func (*AdGroupAdAssetViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupAdAssetViewClient) GetAdGroupAdAssetView

GetAdGroupAdAssetView returns the requested ad group ad asset view in full detail.

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

type AdGroupAdCallOptions

type AdGroupAdCallOptions struct {
	GetAdGroupAd     []gax.CallOption
	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) GetAdGroupAd

GetAdGroupAd returns the requested ad in full detail.

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

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 {
	GetAdGroupAdLabel     []gax.CallOption
	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) GetAdGroupAdLabel

GetAdGroupAdLabel returns the requested ad group ad label in full detail.

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

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 {
	GetAdGroupAsset     []gax.CallOption
	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) GetAdGroupAsset

GetAdGroupAsset returns the requested ad group asset in full detail.

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

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 AdGroupAudienceViewCallOptions

type AdGroupAudienceViewCallOptions struct {
	GetAdGroupAudienceView []gax.CallOption
}

AdGroupAudienceViewCallOptions contains the retry settings for each method of AdGroupAudienceViewClient.

type AdGroupAudienceViewClient

type AdGroupAudienceViewClient struct {

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

AdGroupAudienceViewClient 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 audience views.

func NewAdGroupAudienceViewClient

func NewAdGroupAudienceViewClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAudienceViewClient, error)

NewAdGroupAudienceViewClient creates a new ad group audience view 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 audience views.

func (*AdGroupAudienceViewClient) Close

func (c *AdGroupAudienceViewClient) Close() error

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

func (*AdGroupAudienceViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupAudienceViewClient) GetAdGroupAudienceView

GetAdGroupAudienceView returns the requested ad group audience view in full detail.

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

type AdGroupBidModifierCallOptions

type AdGroupBidModifierCallOptions struct {
	GetAdGroupBidModifier     []gax.CallOption
	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) GetAdGroupBidModifier

GetAdGroupBidModifier returns the requested ad group bid modifier in full detail.

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

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 {
	GetAdGroup     []gax.CallOption
	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) GetAdGroup

GetAdGroup returns the requested ad group in full detail.

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

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 {
	GetAdGroupCriterion   []gax.CallOption
	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) GetAdGroupCriterion

GetAdGroupCriterion returns the requested criterion in full detail.

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

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 {
	GetAdGroupCriterionLabel     []gax.CallOption
	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) GetAdGroupCriterionLabel

GetAdGroupCriterionLabel returns the requested ad group criterion label in full detail.

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

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 AdGroupCriterionSimulationCallOptions

type AdGroupCriterionSimulationCallOptions struct {
	GetAdGroupCriterionSimulation []gax.CallOption
}

AdGroupCriterionSimulationCallOptions contains the retry settings for each method of AdGroupCriterionSimulationClient.

type AdGroupCriterionSimulationClient

type AdGroupCriterionSimulationClient struct {

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

AdGroupCriterionSimulationClient 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 ad group criterion simulations.

func NewAdGroupCriterionSimulationClient

func NewAdGroupCriterionSimulationClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCriterionSimulationClient, error)

NewAdGroupCriterionSimulationClient creates a new ad group criterion simulation 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 ad group criterion simulations.

func (*AdGroupCriterionSimulationClient) Close

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

func (*AdGroupCriterionSimulationClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupCriterionSimulationClient) GetAdGroupCriterionSimulation

GetAdGroupCriterionSimulation returns the requested ad group criterion simulation in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (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 {
	GetAdGroupExtensionSetting     []gax.CallOption
	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) GetAdGroupExtensionSetting

GetAdGroupExtensionSetting returns the requested ad group extension setting in full detail.

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

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 {
	GetAdGroupFeed     []gax.CallOption
	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) GetAdGroupFeed

GetAdGroupFeed returns the requested ad group feed in full detail.

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

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 {
	GetAdGroupLabel     []gax.CallOption
	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) GetAdGroupLabel

GetAdGroupLabel returns the requested ad group label in full detail.

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

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 AdGroupSimulationCallOptions

type AdGroupSimulationCallOptions struct {
	GetAdGroupSimulation []gax.CallOption
}

AdGroupSimulationCallOptions contains the retry settings for each method of AdGroupSimulationClient.

type AdGroupSimulationClient

type AdGroupSimulationClient struct {

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

AdGroupSimulationClient 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 ad group simulations.

func NewAdGroupSimulationClient

func NewAdGroupSimulationClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupSimulationClient, error)

NewAdGroupSimulationClient creates a new ad group simulation 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 ad group simulations.

func (*AdGroupSimulationClient) Close

func (c *AdGroupSimulationClient) Close() error

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

func (*AdGroupSimulationClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*AdGroupSimulationClient) GetAdGroupSimulation

GetAdGroupSimulation returns the requested ad group simulation in full detail.

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

type AdParameterCallOptions

type AdParameterCallOptions struct {
	GetAdParameter     []gax.CallOption
	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) GetAdParameter

GetAdParameter returns the requested ad parameter in full detail.

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

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 AdScheduleViewCallOptions

type AdScheduleViewCallOptions struct {
	GetAdScheduleView []gax.CallOption
}

AdScheduleViewCallOptions contains the retry settings for each method of AdScheduleViewClient.

type AdScheduleViewClient

type AdScheduleViewClient struct {

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

AdScheduleViewClient 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 ad schedule views.

func NewAdScheduleViewClient

func NewAdScheduleViewClient(ctx context.Context, opts ...option.ClientOption) (*AdScheduleViewClient, error)

NewAdScheduleViewClient creates a new ad schedule view 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 ad schedule views.

func (*AdScheduleViewClient) Close

func (c *AdScheduleViewClient) Close() error

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

func (*AdScheduleViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*AdScheduleViewClient) GetAdScheduleView

GetAdScheduleView returns the requested ad schedule view in full detail.

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

type AgeRangeViewCallOptions

type AgeRangeViewCallOptions struct {
	GetAgeRangeView []gax.CallOption
}

AgeRangeViewCallOptions contains the retry settings for each method of AgeRangeViewClient.

type AgeRangeViewClient

type AgeRangeViewClient struct {

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

AgeRangeViewClient 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 age range views.

func NewAgeRangeViewClient

func NewAgeRangeViewClient(ctx context.Context, opts ...option.ClientOption) (*AgeRangeViewClient, error)

NewAgeRangeViewClient creates a new age range view 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 age range views.

func (*AgeRangeViewClient) Close

func (c *AgeRangeViewClient) Close() error

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

func (*AgeRangeViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*AgeRangeViewClient) GetAgeRangeView

GetAgeRangeView returns the requested age range view in full detail.

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

type AssetCallOptions

type AssetCallOptions struct {
	GetAsset     []gax.CallOption
	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) GetAsset

GetAsset returns the requested asset in full detail.

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

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 AssetFieldTypeViewCallOptions

type AssetFieldTypeViewCallOptions struct {
	GetAssetFieldTypeView []gax.CallOption
}

AssetFieldTypeViewCallOptions contains the retry settings for each method of AssetFieldTypeViewClient.

type AssetFieldTypeViewClient

type AssetFieldTypeViewClient struct {

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

AssetFieldTypeViewClient 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 asset field type views.

func NewAssetFieldTypeViewClient

func NewAssetFieldTypeViewClient(ctx context.Context, opts ...option.ClientOption) (*AssetFieldTypeViewClient, error)

NewAssetFieldTypeViewClient creates a new asset field type view 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 asset field type views.

func (*AssetFieldTypeViewClient) Close

func (c *AssetFieldTypeViewClient) Close() error

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

func (*AssetFieldTypeViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*AssetFieldTypeViewClient) GetAssetFieldTypeView

GetAssetFieldTypeView returns the requested asset field type view in full detail.

type AssetGroupAssetCallOptions

type AssetGroupAssetCallOptions struct {
	GetAssetGroupAsset     []gax.CallOption
	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) GetAssetGroupAsset

GetAssetGroupAsset returns the requested asset group asset in full detail.

func (*AssetGroupAssetClient) MutateAssetGroupAssets

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

type AssetGroupCallOptions

type AssetGroupCallOptions struct {
	GetAssetGroup     []gax.CallOption
	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) GetAssetGroup

GetAssetGroup returns the requested asset group in full detail.

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 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 BatchJobCallOptions

type BatchJobCallOptions struct {
	MutateBatchJob        []gax.CallOption
	GetBatchJob           []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) GetBatchJob

GetBatchJob returns the batch job.

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

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 {
	GetBiddingDataExclusion     []gax.CallOption
	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) GetBiddingDataExclusion

GetBiddingDataExclusion returns the requested data exclusion in full detail.

func (*BiddingDataExclusionClient) MutateBiddingDataExclusions

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

type BiddingSeasonalityAdjustmentCallOptions

type BiddingSeasonalityAdjustmentCallOptions struct {
	GetBiddingSeasonalityAdjustment     []gax.CallOption
	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) GetBiddingSeasonalityAdjustment

GetBiddingSeasonalityAdjustment returns the requested seasonality adjustment in full detail.

func (*BiddingSeasonalityAdjustmentClient) MutateBiddingSeasonalityAdjustments

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

type BiddingStrategyCallOptions

type BiddingStrategyCallOptions struct {
	GetBiddingStrategy      []gax.CallOption
	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) GetBiddingStrategy

GetBiddingStrategy returns the requested bidding strategy in full detail.

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

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 BiddingStrategySimulationCallOptions

type BiddingStrategySimulationCallOptions struct {
	GetBiddingStrategySimulation []gax.CallOption
}

BiddingStrategySimulationCallOptions contains the retry settings for each method of BiddingStrategySimulationClient.

type BiddingStrategySimulationClient

type BiddingStrategySimulationClient struct {

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

BiddingStrategySimulationClient 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 bidding strategy simulations.

func NewBiddingStrategySimulationClient

func NewBiddingStrategySimulationClient(ctx context.Context, opts ...option.ClientOption) (*BiddingStrategySimulationClient, error)

NewBiddingStrategySimulationClient creates a new bidding strategy simulation 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 bidding strategy simulations.

func (*BiddingStrategySimulationClient) Close

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

func (*BiddingStrategySimulationClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*BiddingStrategySimulationClient) GetBiddingStrategySimulation

GetBiddingStrategySimulation returns the requested bidding strategy simulation in full detail.

type BillingSetupCallOptions

type BillingSetupCallOptions struct {
	GetBillingSetup    []gax.CallOption
	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) GetBillingSetup

GetBillingSetup returns a billing setup.

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

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 {
	GetCampaignAsset     []gax.CallOption
	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) GetCampaignAsset

GetCampaignAsset returns the requested campaign asset in full detail.

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

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 CampaignAudienceViewCallOptions

type CampaignAudienceViewCallOptions struct {
	GetCampaignAudienceView []gax.CallOption
}

CampaignAudienceViewCallOptions contains the retry settings for each method of CampaignAudienceViewClient.

type CampaignAudienceViewClient

type CampaignAudienceViewClient struct {

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

CampaignAudienceViewClient 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 audience views.

func NewCampaignAudienceViewClient

func NewCampaignAudienceViewClient(ctx context.Context, opts ...option.ClientOption) (*CampaignAudienceViewClient, error)

NewCampaignAudienceViewClient creates a new campaign audience view 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 audience views.

func (*CampaignAudienceViewClient) Close

func (c *CampaignAudienceViewClient) Close() error

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

func (*CampaignAudienceViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*CampaignAudienceViewClient) GetCampaignAudienceView

GetCampaignAudienceView returns the requested campaign audience view in full detail.

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

type CampaignBidModifierCallOptions

type CampaignBidModifierCallOptions struct {
	GetCampaignBidModifier     []gax.CallOption
	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) GetCampaignBidModifier

GetCampaignBidModifier returns the requested campaign bid modifier in full detail.

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

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 {
	GetCampaignBudget     []gax.CallOption
	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) GetCampaignBudget

GetCampaignBudget returns the requested Campaign Budget in full detail.

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

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 {
	GetCampaign     []gax.CallOption
	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) GetCampaign

GetCampaign returns the requested campaign in full detail.

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

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 {
	GetCampaignCriterion   []gax.CallOption
	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) GetCampaignCriterion

GetCampaignCriterion returns the requested criterion in full detail.

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

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 CampaignCriterionSimulationCallOptions

type CampaignCriterionSimulationCallOptions struct {
	GetCampaignCriterionSimulation []gax.CallOption
}

CampaignCriterionSimulationCallOptions contains the retry settings for each method of CampaignCriterionSimulationClient.

type CampaignCriterionSimulationClient

type CampaignCriterionSimulationClient struct {

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

CampaignCriterionSimulationClient 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 campaign criterion simulations.

func NewCampaignCriterionSimulationClient

func NewCampaignCriterionSimulationClient(ctx context.Context, opts ...option.ClientOption) (*CampaignCriterionSimulationClient, error)

NewCampaignCriterionSimulationClient creates a new campaign criterion simulation 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 campaign criterion simulations.

func (*CampaignCriterionSimulationClient) Close

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

func (*CampaignCriterionSimulationClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*CampaignCriterionSimulationClient) GetCampaignCriterionSimulation

GetCampaignCriterionSimulation returns the requested campaign criterion simulation in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (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 {
	GetCampaignDraft             []gax.CallOption
	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) GetCampaignDraft

GetCampaignDraft returns the requested campaign draft in full detail.

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

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 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 {
	GetCampaignExperiment             []gax.CallOption
	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) GetCampaignExperiment

GetCampaignExperiment returns the requested campaign experiment in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (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 {
	GetCampaignExtensionSetting     []gax.CallOption
	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) GetCampaignExtensionSetting

GetCampaignExtensionSetting returns the requested campaign extension setting in full detail.

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

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 {
	GetCampaignFeed     []gax.CallOption
	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) GetCampaignFeed

GetCampaignFeed returns the requested campaign feed in full detail.

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

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 CampaignLabelCallOptions

type CampaignLabelCallOptions struct {
	GetCampaignLabel     []gax.CallOption
	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) GetCampaignLabel

GetCampaignLabel returns the requested campaign-label relationship in full detail.

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

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 {
	GetCampaignSharedSet     []gax.CallOption
	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) GetCampaignSharedSet

GetCampaignSharedSet returns the requested campaign shared set in full detail.

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

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 CampaignSimulationCallOptions

type CampaignSimulationCallOptions struct {
	GetCampaignSimulation []gax.CallOption
}

CampaignSimulationCallOptions contains the retry settings for each method of CampaignSimulationClient.

type CampaignSimulationClient

type CampaignSimulationClient struct {

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

CampaignSimulationClient 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 campaign simulations.

func NewCampaignSimulationClient

func NewCampaignSimulationClient(ctx context.Context, opts ...option.ClientOption) (*CampaignSimulationClient, error)

NewCampaignSimulationClient creates a new campaign simulation 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 campaign simulations.

func (*CampaignSimulationClient) Close

func (c *CampaignSimulationClient) Close() error

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

func (*CampaignSimulationClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*CampaignSimulationClient) GetCampaignSimulation

GetCampaignSimulation returns the requested campaign simulation in full detail.

type CarrierConstantCallOptions

type CarrierConstantCallOptions struct {
	GetCarrierConstant []gax.CallOption
}

CarrierConstantCallOptions contains the retry settings for each method of CarrierConstantClient.

type CarrierConstantClient

type CarrierConstantClient struct {

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

CarrierConstantClient 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 carrier constants.

func NewCarrierConstantClient

func NewCarrierConstantClient(ctx context.Context, opts ...option.ClientOption) (*CarrierConstantClient, error)

NewCarrierConstantClient creates a new carrier 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 carrier constants.

func (*CarrierConstantClient) Close

func (c *CarrierConstantClient) Close() error

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

func (*CarrierConstantClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*CarrierConstantClient) GetCarrierConstant

GetCarrierConstant returns the requested carrier constant in full detail.

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

type ChangeStatusCallOptions

type ChangeStatusCallOptions struct {
	GetChangeStatus []gax.CallOption
}

ChangeStatusCallOptions contains the retry settings for each method of ChangeStatusClient.

type ChangeStatusClient

type ChangeStatusClient struct {

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

ChangeStatusClient 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 change statuses.

func NewChangeStatusClient

func NewChangeStatusClient(ctx context.Context, opts ...option.ClientOption) (*ChangeStatusClient, error)

NewChangeStatusClient creates a new change status 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 change statuses.

func (*ChangeStatusClient) Close

func (c *ChangeStatusClient) Close() error

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

func (*ChangeStatusClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*ChangeStatusClient) GetChangeStatus

GetChangeStatus returns the requested change status in full detail.

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

type ClickViewCallOptions

type ClickViewCallOptions struct {
	GetClickView []gax.CallOption
}

ClickViewCallOptions contains the retry settings for each method of ClickViewClient.

type ClickViewClient

type ClickViewClient struct {

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

ClickViewClient 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 click views.

func NewClickViewClient

func NewClickViewClient(ctx context.Context, opts ...option.ClientOption) (*ClickViewClient, error)

NewClickViewClient creates a new click view 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 click views.

func (*ClickViewClient) Close

func (c *ClickViewClient) Close() error

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

func (*ClickViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*ClickViewClient) GetClickView

GetClickView returns the requested click view in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (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 CombinedAudienceCallOptions

type CombinedAudienceCallOptions struct {
	GetCombinedAudience []gax.CallOption
}

CombinedAudienceCallOptions contains the retry settings for each method of CombinedAudienceClient.

type CombinedAudienceClient

type CombinedAudienceClient struct {

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

CombinedAudienceClient 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 combined audiences. This service can be used to list all your combined audiences with metadata, but won’t show the structure and components of the combined audience.

func NewCombinedAudienceClient

func NewCombinedAudienceClient(ctx context.Context, opts ...option.ClientOption) (*CombinedAudienceClient, error)

NewCombinedAudienceClient creates a new combined 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 combined audiences. This service can be used to list all your combined audiences with metadata, but won’t show the structure and components of the combined audience.

func (*CombinedAudienceClient) Close

func (c *CombinedAudienceClient) Close() error

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

func (*CombinedAudienceClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*CombinedAudienceClient) GetCombinedAudience

GetCombinedAudience returns the requested combined audience in full detail.

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

type ConversionActionCallOptions

type ConversionActionCallOptions struct {
	GetConversionAction     []gax.CallOption
	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) GetConversionAction

GetConversionAction returns the requested conversion action.

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

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 {
	GetConversionCustomVariable     []gax.CallOption
	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) GetConversionCustomVariable

GetConversionCustomVariable returns the requested conversion custom variable.

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

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 {
	GetConversionValueRule     []gax.CallOption
	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) GetConversionValueRule

GetConversionValueRule returns the requested conversion value rule.

func (*ConversionValueRuleClient) MutateConversionValueRules

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

type ConversionValueRuleSetCallOptions

type ConversionValueRuleSetCallOptions struct {
	GetConversionValueRuleSet     []gax.CallOption
	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) GetConversionValueRuleSet

GetConversionValueRuleSet returns the requested conversion value rule set.

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 CurrencyConstantCallOptions

type CurrencyConstantCallOptions struct {
	GetCurrencyConstant []gax.CallOption
}

CurrencyConstantCallOptions contains the retry settings for each method of CurrencyConstantClient.

type CurrencyConstantClient

type CurrencyConstantClient struct {

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

CurrencyConstantClient 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 currency constants.

func NewCurrencyConstantClient

func NewCurrencyConstantClient(ctx context.Context, opts ...option.ClientOption) (*CurrencyConstantClient, error)

NewCurrencyConstantClient creates a new currency 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 currency constants.

func (*CurrencyConstantClient) Close

func (c *CurrencyConstantClient) Close() error

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

func (*CurrencyConstantClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*CurrencyConstantClient) GetCurrencyConstant

GetCurrencyConstant returns the requested currency constant.

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

type CustomAudienceCallOptions

type CustomAudienceCallOptions struct {
	GetCustomAudience     []gax.CallOption
	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) GetCustomAudience

GetCustomAudience returns the requested custom audience in full detail.

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

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 {
	GetCustomInterest     []gax.CallOption
	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) GetCustomInterest

GetCustomInterest returns the requested custom interest in full detail.

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

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 {
	GetCustomerAsset     []gax.CallOption
	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) GetCustomerAsset

GetCustomerAsset returns the requested customer asset in full detail.

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

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 {
	GetCustomer             []gax.CallOption
	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) GetCustomer

GetCustomer returns the requested customer in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (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 CustomerClientCallOptions

type CustomerClientCallOptions struct {
	GetCustomerClient []gax.CallOption
}

CustomerClientCallOptions contains the retry settings for each method of CustomerClientClient.

type CustomerClientClient

type CustomerClientClient struct {

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

CustomerClientClient 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 clients in a customer’s hierarchy.

func NewCustomerClientClient

func NewCustomerClientClient(ctx context.Context, opts ...option.ClientOption) (*CustomerClientClient, error)

NewCustomerClientClient creates a new customer client 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 clients in a customer’s hierarchy.

func (*CustomerClientClient) Close

func (c *CustomerClientClient) Close() error

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

func (*CustomerClientClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*CustomerClientClient) GetCustomerClient

GetCustomerClient returns the requested client in full detail.

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

type CustomerClientLinkCallOptions

type CustomerClientLinkCallOptions struct {
	GetCustomerClientLink    []gax.CallOption
	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.

GetCustomerClientLink returns the requested CustomerClientLink in full detail.

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

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 {
	GetCustomerExtensionSetting     []gax.CallOption
	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) GetCustomerExtensionSetting

GetCustomerExtensionSetting returns the requested customer extension setting in full detail.

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

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 {
	GetCustomerFeed     []gax.CallOption
	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) GetCustomerFeed

GetCustomerFeed returns the requested customer feed in full detail.

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

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 {
	GetCustomerLabel     []gax.CallOption
	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) GetCustomerLabel

GetCustomerLabel returns the requested customer-label relationship in full detail.

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

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 {
	GetCustomerManagerLink    []gax.CallOption
	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.

GetCustomerManagerLink returns the requested CustomerManagerLink in full detail.

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

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 creates or 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 {
	GetCustomerNegativeCriterion   []gax.CallOption
	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) GetCustomerNegativeCriterion

GetCustomerNegativeCriterion returns the requested criterion in full detail.

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

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 {
	GetCustomerUserAccess    []gax.CallOption
	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) GetCustomerUserAccess

GetCustomerUserAccess returns the CustomerUserAccess in full detail.

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

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 {
	GetCustomerUserAccessInvitation    []gax.CallOption
	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) GetCustomerUserAccessInvitation

GetCustomerUserAccessInvitation returns the requested access invitation in full detail.

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

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 DetailPlacementViewCallOptions

type DetailPlacementViewCallOptions struct {
	GetDetailPlacementView []gax.CallOption
}

DetailPlacementViewCallOptions contains the retry settings for each method of DetailPlacementViewClient.

type DetailPlacementViewClient

type DetailPlacementViewClient struct {

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

DetailPlacementViewClient 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 Detail Placement views.

func NewDetailPlacementViewClient

func NewDetailPlacementViewClient(ctx context.Context, opts ...option.ClientOption) (*DetailPlacementViewClient, error)

NewDetailPlacementViewClient creates a new detail placement view 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 Detail Placement views.

func (*DetailPlacementViewClient) Close

func (c *DetailPlacementViewClient) Close() error

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

func (*DetailPlacementViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*DetailPlacementViewClient) GetDetailPlacementView

GetDetailPlacementView returns the requested Detail Placement view in full detail.

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

type DetailedDemographicCallOptions

type DetailedDemographicCallOptions struct {
	GetDetailedDemographic []gax.CallOption
}

DetailedDemographicCallOptions contains the retry settings for each method of DetailedDemographicClient.

type DetailedDemographicClient

type DetailedDemographicClient struct {

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

DetailedDemographicClient 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 Detailed Demographics.

func NewDetailedDemographicClient

func NewDetailedDemographicClient(ctx context.Context, opts ...option.ClientOption) (*DetailedDemographicClient, error)

NewDetailedDemographicClient creates a new detailed demographic 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 Detailed Demographics.

func (*DetailedDemographicClient) Close

func (c *DetailedDemographicClient) Close() error

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

func (*DetailedDemographicClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*DetailedDemographicClient) GetDetailedDemographic

GetDetailedDemographic returns the requested detailed demographic in full detail.

type DisplayKeywordViewCallOptions

type DisplayKeywordViewCallOptions struct {
	GetDisplayKeywordView []gax.CallOption
}

DisplayKeywordViewCallOptions contains the retry settings for each method of DisplayKeywordViewClient.

type DisplayKeywordViewClient

type DisplayKeywordViewClient struct {

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

DisplayKeywordViewClient 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 display keyword views.

func NewDisplayKeywordViewClient

func NewDisplayKeywordViewClient(ctx context.Context, opts ...option.ClientOption) (*DisplayKeywordViewClient, error)

NewDisplayKeywordViewClient creates a new display keyword view 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 display keyword views.

func (*DisplayKeywordViewClient) Close

func (c *DisplayKeywordViewClient) Close() error

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

func (*DisplayKeywordViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*DisplayKeywordViewClient) GetDisplayKeywordView

GetDisplayKeywordView returns the requested display keyword view in full detail.

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

type DistanceViewCallOptions

type DistanceViewCallOptions struct {
	GetDistanceView []gax.CallOption
}

DistanceViewCallOptions contains the retry settings for each method of DistanceViewClient.

type DistanceViewClient

type DistanceViewClient struct {

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

DistanceViewClient 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 distance views.

func NewDistanceViewClient

func NewDistanceViewClient(ctx context.Context, opts ...option.ClientOption) (*DistanceViewClient, error)

NewDistanceViewClient creates a new distance view 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 distance views.

func (*DistanceViewClient) Close

func (c *DistanceViewClient) Close() error

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

func (*DistanceViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*DistanceViewClient) GetDistanceView

GetDistanceView returns the attributes of the requested distance view.

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

type DomainCategoryCallOptions

type DomainCategoryCallOptions struct {
	GetDomainCategory []gax.CallOption
}

DomainCategoryCallOptions contains the retry settings for each method of DomainCategoryClient.

type DomainCategoryClient

type DomainCategoryClient struct {

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

DomainCategoryClient 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 domain categories.

func NewDomainCategoryClient

func NewDomainCategoryClient(ctx context.Context, opts ...option.ClientOption) (*DomainCategoryClient, error)

NewDomainCategoryClient creates a new domain category 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 domain categories.

func (*DomainCategoryClient) Close

func (c *DomainCategoryClient) Close() error

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

func (*DomainCategoryClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*DomainCategoryClient) GetDomainCategory

GetDomainCategory returns the requested domain category.

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

type DynamicSearchAdsSearchTermViewCallOptions

type DynamicSearchAdsSearchTermViewCallOptions struct {
	GetDynamicSearchAdsSearchTermView []gax.CallOption
}

DynamicSearchAdsSearchTermViewCallOptions contains the retry settings for each method of DynamicSearchAdsSearchTermViewClient.

type DynamicSearchAdsSearchTermViewClient

type DynamicSearchAdsSearchTermViewClient struct {

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

DynamicSearchAdsSearchTermViewClient 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 dynamic search ads views.

func NewDynamicSearchAdsSearchTermViewClient

func NewDynamicSearchAdsSearchTermViewClient(ctx context.Context, opts ...option.ClientOption) (*DynamicSearchAdsSearchTermViewClient, error)

NewDynamicSearchAdsSearchTermViewClient creates a new dynamic search ads search term view 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 dynamic search ads views.

func (*DynamicSearchAdsSearchTermViewClient) Close

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

func (*DynamicSearchAdsSearchTermViewClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*DynamicSearchAdsSearchTermViewClient) GetDynamicSearchAdsSearchTermView

GetDynamicSearchAdsSearchTermView returns the requested dynamic search ads search term view in full detail.

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

type ExpandedLandingPageViewCallOptions

type ExpandedLandingPageViewCallOptions struct {
	GetExpandedLandingPageView []gax.CallOption
}

ExpandedLandingPageViewCallOptions contains the retry settings for each method of ExpandedLandingPageViewClient.

type ExpandedLandingPageViewClient

type ExpandedLandingPageViewClient struct {

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

ExpandedLandingPageViewClient 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 expanded landing page views.

func NewExpandedLandingPageViewClient

func NewExpandedLandingPageViewClient(ctx context.Context, opts ...option.ClientOption) (*ExpandedLandingPageViewClient, error)

NewExpandedLandingPageViewClient creates a new expanded landing page view 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 expanded landing page views.

func (*ExpandedLandingPageViewClient) Close

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

func (*ExpandedLandingPageViewClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*ExpandedLandingPageViewClient) GetExpandedLandingPageView

GetExpandedLandingPageView returns the requested expanded landing page view in full detail.

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

type ExtensionFeedItemCallOptions

type ExtensionFeedItemCallOptions struct {
	GetExtensionFeedItem     []gax.CallOption
	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) GetExtensionFeedItem

GetExtensionFeedItem returns the requested extension feed item in full detail.

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

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 {
	GetFeed     []gax.CallOption
	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) GetFeed

GetFeed returns the requested feed in full detail.

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

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 {
	GetFeedItem     []gax.CallOption
	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) GetFeedItem

GetFeedItem returns the requested feed item in full detail.

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

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 {
	GetFeedItemSet     []gax.CallOption
	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) GetFeedItemSet

GetFeedItemSet returns the requested feed item set in full detail.

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

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 {
	GetFeedItemSetLink     []gax.CallOption
	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.

GetFeedItemSetLink returns the requested feed item set link in full detail.

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

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 {
	GetFeedItemTarget     []gax.CallOption
	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) GetFeedItemTarget

GetFeedItemTarget returns the requested feed item targets in full detail.

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

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 {
	GetFeedMapping     []gax.CallOption
	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) GetFeedMapping

GetFeedMapping returns the requested feed mapping in full detail.

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

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 FeedPlaceholderViewCallOptions

type FeedPlaceholderViewCallOptions struct {
	GetFeedPlaceholderView []gax.CallOption
}

FeedPlaceholderViewCallOptions contains the retry settings for each method of FeedPlaceholderViewClient.

type FeedPlaceholderViewClient

type FeedPlaceholderViewClient struct {

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

FeedPlaceholderViewClient 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 feed placeholder views.

func NewFeedPlaceholderViewClient

func NewFeedPlaceholderViewClient(ctx context.Context, opts ...option.ClientOption) (*FeedPlaceholderViewClient, error)

NewFeedPlaceholderViewClient creates a new feed placeholder view 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 feed placeholder views.

func (*FeedPlaceholderViewClient) Close

func (c *FeedPlaceholderViewClient) Close() error

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

func (*FeedPlaceholderViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*FeedPlaceholderViewClient) GetFeedPlaceholderView

GetFeedPlaceholderView returns the requested feed placeholder view in full detail.

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

type GenderViewCallOptions

type GenderViewCallOptions struct {
	GetGenderView []gax.CallOption
}

GenderViewCallOptions contains the retry settings for each method of GenderViewClient.

type GenderViewClient

type GenderViewClient struct {

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

GenderViewClient 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 gender views.

func NewGenderViewClient

func NewGenderViewClient(ctx context.Context, opts ...option.ClientOption) (*GenderViewClient, error)

NewGenderViewClient creates a new gender view 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 gender views.

func (*GenderViewClient) Close

func (c *GenderViewClient) Close() error

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

func (*GenderViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*GenderViewClient) GetGenderView

GetGenderView returns the requested gender view in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (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 {
	GetGeoTargetConstant      []gax.CallOption
	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) GetGeoTargetConstant

GetGeoTargetConstant returns the requested geo target constant in full detail.

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

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 GeographicViewCallOptions

type GeographicViewCallOptions struct {
	GetGeographicView []gax.CallOption
}

GeographicViewCallOptions contains the retry settings for each method of GeographicViewClient.

type GeographicViewClient

type GeographicViewClient struct {

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

GeographicViewClient 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 geographic views.

func NewGeographicViewClient

func NewGeographicViewClient(ctx context.Context, opts ...option.ClientOption) (*GeographicViewClient, error)

NewGeographicViewClient creates a new geographic view 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 geographic views.

func (*GeographicViewClient) Close

func (c *GeographicViewClient) Close() error

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

func (*GeographicViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*GeographicViewClient) GetGeographicView

GetGeographicView returns the requested geographic view in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (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 GroupPlacementViewCallOptions

type GroupPlacementViewCallOptions struct {
	GetGroupPlacementView []gax.CallOption
}

GroupPlacementViewCallOptions contains the retry settings for each method of GroupPlacementViewClient.

type GroupPlacementViewClient

type GroupPlacementViewClient struct {

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

GroupPlacementViewClient 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 Group Placement views.

func NewGroupPlacementViewClient

func NewGroupPlacementViewClient(ctx context.Context, opts ...option.ClientOption) (*GroupPlacementViewClient, error)

NewGroupPlacementViewClient creates a new group placement view 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 Group Placement views.

func (*GroupPlacementViewClient) Close

func (c *GroupPlacementViewClient) Close() error

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

func (*GroupPlacementViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*GroupPlacementViewClient) GetGroupPlacementView

GetGroupPlacementView returns the requested Group Placement view in full detail.

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

type HotelGroupViewCallOptions

type HotelGroupViewCallOptions struct {
	GetHotelGroupView []gax.CallOption
}

HotelGroupViewCallOptions contains the retry settings for each method of HotelGroupViewClient.

type HotelGroupViewClient

type HotelGroupViewClient struct {

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

HotelGroupViewClient 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 Hotel Group Views.

func NewHotelGroupViewClient

func NewHotelGroupViewClient(ctx context.Context, opts ...option.ClientOption) (*HotelGroupViewClient, error)

NewHotelGroupViewClient creates a new hotel group view 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 Hotel Group Views.

func (*HotelGroupViewClient) Close

func (c *HotelGroupViewClient) Close() error

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

func (*HotelGroupViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*HotelGroupViewClient) GetHotelGroupView

GetHotelGroupView returns the requested Hotel Group View in full detail.

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

type HotelPerformanceViewCallOptions

type HotelPerformanceViewCallOptions struct {
	GetHotelPerformanceView []gax.CallOption
}

HotelPerformanceViewCallOptions contains the retry settings for each method of HotelPerformanceViewClient.

type HotelPerformanceViewClient

type HotelPerformanceViewClient struct {

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

HotelPerformanceViewClient 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 Hotel Performance Views.

func NewHotelPerformanceViewClient

func NewHotelPerformanceViewClient(ctx context.Context, opts ...option.ClientOption) (*HotelPerformanceViewClient, error)

NewHotelPerformanceViewClient creates a new hotel performance view 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 Hotel Performance Views.

func (*HotelPerformanceViewClient) Close

func (c *HotelPerformanceViewClient) Close() error

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

func (*HotelPerformanceViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*HotelPerformanceViewClient) GetHotelPerformanceView

GetHotelPerformanceView returns the requested Hotel Performance View in full detail.

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

type IncomeRangeViewCallOptions

type IncomeRangeViewCallOptions struct {
	GetIncomeRangeView []gax.CallOption
}

IncomeRangeViewCallOptions contains the retry settings for each method of IncomeRangeViewClient.

type IncomeRangeViewClient

type IncomeRangeViewClient struct {

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

IncomeRangeViewClient 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 income range views.

func NewIncomeRangeViewClient

func NewIncomeRangeViewClient(ctx context.Context, opts ...option.ClientOption) (*IncomeRangeViewClient, error)

NewIncomeRangeViewClient creates a new income range view 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 income range views.

func (*IncomeRangeViewClient) Close

func (c *IncomeRangeViewClient) Close() error

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

func (*IncomeRangeViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*IncomeRangeViewClient) GetIncomeRangeView

GetIncomeRangeView returns the requested income range view in full detail.

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

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 {
	GetKeywordPlanAdGroup     []gax.CallOption
	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) GetKeywordPlanAdGroup

GetKeywordPlanAdGroup returns the requested Keyword Plan ad group in full detail.

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

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 {
	GetKeywordPlanAdGroupKeyword     []gax.CallOption
	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) GetKeywordPlanAdGroupKeyword

GetKeywordPlanAdGroupKeyword returns the requested Keyword Plan ad group keyword in full detail.

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

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 {
	GetKeywordPlan             []gax.CallOption
	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 {
	GetKeywordPlanCampaign     []gax.CallOption
	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) GetKeywordPlanCampaign

GetKeywordPlanCampaign returns the requested Keyword Plan campaign in full detail.

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

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 {
	GetKeywordPlanCampaignKeyword     []gax.CallOption
	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) GetKeywordPlanCampaignKeyword

GetKeywordPlanCampaignKeyword returns the requested plan in full detail.

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

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) GetKeywordPlan

GetKeywordPlan returns the requested plan in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (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
}

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) 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 {
	GetKeywordThemeConstant      []gax.CallOption
	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) GetKeywordThemeConstant

GetKeywordThemeConstant returns the requested keyword theme constant in full detail.

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 KeywordViewCallOptions

type KeywordViewCallOptions struct {
	GetKeywordView []gax.CallOption
}

KeywordViewCallOptions contains the retry settings for each method of KeywordViewClient.

type KeywordViewClient

type KeywordViewClient struct {

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

KeywordViewClient 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 views.

func NewKeywordViewClient

func NewKeywordViewClient(ctx context.Context, opts ...option.ClientOption) (*KeywordViewClient, error)

NewKeywordViewClient creates a new keyword view 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 views.

func (*KeywordViewClient) Close

func (c *KeywordViewClient) Close() error

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

func (*KeywordViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*KeywordViewClient) GetKeywordView

GetKeywordView returns the requested keyword view in full detail.

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

type LabelCallOptions

type LabelCallOptions struct {
	GetLabel     []gax.CallOption
	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) GetLabel

GetLabel returns the requested label in full detail.

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

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 LandingPageViewCallOptions

type LandingPageViewCallOptions struct {
	GetLandingPageView []gax.CallOption
}

LandingPageViewCallOptions contains the retry settings for each method of LandingPageViewClient.

type LandingPageViewClient

type LandingPageViewClient struct {

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

LandingPageViewClient 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 landing page views.

func NewLandingPageViewClient

func NewLandingPageViewClient(ctx context.Context, opts ...option.ClientOption) (*LandingPageViewClient, error)

NewLandingPageViewClient creates a new landing page view 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 landing page views.

func (*LandingPageViewClient) Close

func (c *LandingPageViewClient) Close() error

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

func (*LandingPageViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*LandingPageViewClient) GetLandingPageView

GetLandingPageView returns the requested landing page view in full detail.

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

type LanguageConstantCallOptions

type LanguageConstantCallOptions struct {
	GetLanguageConstant []gax.CallOption
}

LanguageConstantCallOptions contains the retry settings for each method of LanguageConstantClient.

type LanguageConstantClient

type LanguageConstantClient struct {

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

LanguageConstantClient 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 language constants.

func NewLanguageConstantClient

func NewLanguageConstantClient(ctx context.Context, opts ...option.ClientOption) (*LanguageConstantClient, error)

NewLanguageConstantClient creates a new language 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 language constants.

func (*LanguageConstantClient) Close

func (c *LanguageConstantClient) Close() error

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

func (*LanguageConstantClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*LanguageConstantClient) GetLanguageConstant

GetLanguageConstant returns the requested language constant.

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

type LifeEventCallOptions

type LifeEventCallOptions struct {
	GetLifeEvent []gax.CallOption
}

LifeEventCallOptions contains the retry settings for each method of LifeEventClient.

type LifeEventClient

type LifeEventClient struct {

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

LifeEventClient 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 Life Events.

func NewLifeEventClient

func NewLifeEventClient(ctx context.Context, opts ...option.ClientOption) (*LifeEventClient, error)

NewLifeEventClient creates a new life event 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 Life Events.

func (*LifeEventClient) Close

func (c *LifeEventClient) Close() error

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

func (*LifeEventClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*LifeEventClient) GetLifeEvent

GetLifeEvent returns the requested life event in full detail.

type LocationViewCallOptions

type LocationViewCallOptions struct {
	GetLocationView []gax.CallOption
}

LocationViewCallOptions contains the retry settings for each method of LocationViewClient.

type LocationViewClient

type LocationViewClient struct {

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

LocationViewClient 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 location views.

func NewLocationViewClient

func NewLocationViewClient(ctx context.Context, opts ...option.ClientOption) (*LocationViewClient, error)

NewLocationViewClient creates a new location view 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 location views.

func (*LocationViewClient) Close

func (c *LocationViewClient) Close() error

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

func (*LocationViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*LocationViewClient) GetLocationView

GetLocationView returns the requested location view in full detail.

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

type ManagedPlacementViewCallOptions

type ManagedPlacementViewCallOptions struct {
	GetManagedPlacementView []gax.CallOption
}

ManagedPlacementViewCallOptions contains the retry settings for each method of ManagedPlacementViewClient.

type ManagedPlacementViewClient

type ManagedPlacementViewClient struct {

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

ManagedPlacementViewClient 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 Managed Placement views.

func NewManagedPlacementViewClient

func NewManagedPlacementViewClient(ctx context.Context, opts ...option.ClientOption) (*ManagedPlacementViewClient, error)

NewManagedPlacementViewClient creates a new managed placement view 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 Managed Placement views.

func (*ManagedPlacementViewClient) Close

func (c *ManagedPlacementViewClient) Close() error

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

func (*ManagedPlacementViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*ManagedPlacementViewClient) GetManagedPlacementView

GetManagedPlacementView returns the requested Managed Placement view in full detail.

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

type MediaFileCallOptions

type MediaFileCallOptions struct {
	GetMediaFile     []gax.CallOption
	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) GetMediaFile

GetMediaFile returns the requested media file in full detail.

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

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 MobileAppCategoryConstantCallOptions

type MobileAppCategoryConstantCallOptions struct {
	GetMobileAppCategoryConstant []gax.CallOption
}

MobileAppCategoryConstantCallOptions contains the retry settings for each method of MobileAppCategoryConstantClient.

type MobileAppCategoryConstantClient

type MobileAppCategoryConstantClient struct {

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

MobileAppCategoryConstantClient 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 mobile app category constants.

func NewMobileAppCategoryConstantClient

func NewMobileAppCategoryConstantClient(ctx context.Context, opts ...option.ClientOption) (*MobileAppCategoryConstantClient, error)

NewMobileAppCategoryConstantClient creates a new mobile app category 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 mobile app category constants.

func (*MobileAppCategoryConstantClient) Close

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

func (*MobileAppCategoryConstantClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*MobileAppCategoryConstantClient) GetMobileAppCategoryConstant

GetMobileAppCategoryConstant returns the requested mobile app category constant.

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

type MobileDeviceConstantCallOptions

type MobileDeviceConstantCallOptions struct {
	GetMobileDeviceConstant []gax.CallOption
}

MobileDeviceConstantCallOptions contains the retry settings for each method of MobileDeviceConstantClient.

type MobileDeviceConstantClient

type MobileDeviceConstantClient struct {

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

MobileDeviceConstantClient 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 mobile device constants.

func NewMobileDeviceConstantClient

func NewMobileDeviceConstantClient(ctx context.Context, opts ...option.ClientOption) (*MobileDeviceConstantClient, error)

NewMobileDeviceConstantClient creates a new mobile device 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 mobile device constants.

func (*MobileDeviceConstantClient) Close

func (c *MobileDeviceConstantClient) Close() error

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

func (*MobileDeviceConstantClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*MobileDeviceConstantClient) GetMobileDeviceConstant

GetMobileDeviceConstant returns the requested mobile device constant in full detail.

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

type OfflineUserDataJobCallOptions

type OfflineUserDataJobCallOptions struct {
	CreateOfflineUserDataJob        []gax.CallOption
	GetOfflineUserDataJob           []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) GetOfflineUserDataJob

GetOfflineUserDataJob returns the offline user data job.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (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 OperatingSystemVersionConstantCallOptions

type OperatingSystemVersionConstantCallOptions struct {
	GetOperatingSystemVersionConstant []gax.CallOption
}

OperatingSystemVersionConstantCallOptions contains the retry settings for each method of OperatingSystemVersionConstantClient.

type OperatingSystemVersionConstantClient

type OperatingSystemVersionConstantClient struct {

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

OperatingSystemVersionConstantClient 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 Operating System Version constants.

func NewOperatingSystemVersionConstantClient

func NewOperatingSystemVersionConstantClient(ctx context.Context, opts ...option.ClientOption) (*OperatingSystemVersionConstantClient, error)

NewOperatingSystemVersionConstantClient creates a new operating system version 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 Operating System Version constants.

func (*OperatingSystemVersionConstantClient) Close

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

func (*OperatingSystemVersionConstantClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*OperatingSystemVersionConstantClient) GetOperatingSystemVersionConstant

GetOperatingSystemVersionConstant returns the requested OS version constant in full detail.

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

type PaidOrganicSearchTermViewCallOptions

type PaidOrganicSearchTermViewCallOptions struct {
	GetPaidOrganicSearchTermView []gax.CallOption
}

PaidOrganicSearchTermViewCallOptions contains the retry settings for each method of PaidOrganicSearchTermViewClient.

type PaidOrganicSearchTermViewClient

type PaidOrganicSearchTermViewClient struct {

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

PaidOrganicSearchTermViewClient 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 paid organic search term views.

func NewPaidOrganicSearchTermViewClient

func NewPaidOrganicSearchTermViewClient(ctx context.Context, opts ...option.ClientOption) (*PaidOrganicSearchTermViewClient, error)

NewPaidOrganicSearchTermViewClient creates a new paid organic search term view 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 paid organic search term views.

func (*PaidOrganicSearchTermViewClient) Close

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

func (*PaidOrganicSearchTermViewClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*PaidOrganicSearchTermViewClient) GetPaidOrganicSearchTermView

GetPaidOrganicSearchTermView returns the requested paid organic search term view in full detail.

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

type ParentalStatusViewCallOptions

type ParentalStatusViewCallOptions struct {
	GetParentalStatusView []gax.CallOption
}

ParentalStatusViewCallOptions contains the retry settings for each method of ParentalStatusViewClient.

type ParentalStatusViewClient

type ParentalStatusViewClient struct {

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

ParentalStatusViewClient 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 parental status views.

func NewParentalStatusViewClient

func NewParentalStatusViewClient(ctx context.Context, opts ...option.ClientOption) (*ParentalStatusViewClient, error)

NewParentalStatusViewClient creates a new parental status view 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 parental status views.

func (*ParentalStatusViewClient) Close

func (c *ParentalStatusViewClient) Close() error

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

func (*ParentalStatusViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*ParentalStatusViewClient) GetParentalStatusView

GetParentalStatusView returns the requested parental status view in full detail.

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

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 ProductBiddingCategoryConstantCallOptions

type ProductBiddingCategoryConstantCallOptions struct {
	GetProductBiddingCategoryConstant []gax.CallOption
}

ProductBiddingCategoryConstantCallOptions contains the retry settings for each method of ProductBiddingCategoryConstantClient.

type ProductBiddingCategoryConstantClient

type ProductBiddingCategoryConstantClient struct {

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

ProductBiddingCategoryConstantClient 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 Product Bidding Categories.

func NewProductBiddingCategoryConstantClient

func NewProductBiddingCategoryConstantClient(ctx context.Context, opts ...option.ClientOption) (*ProductBiddingCategoryConstantClient, error)

NewProductBiddingCategoryConstantClient creates a new product bidding category 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 Product Bidding Categories.

func (*ProductBiddingCategoryConstantClient) Close

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

func (*ProductBiddingCategoryConstantClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*ProductBiddingCategoryConstantClient) GetProductBiddingCategoryConstant

GetProductBiddingCategoryConstant returns the requested Product Bidding Category in full detail.

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

type ProductGroupViewCallOptions

type ProductGroupViewCallOptions struct {
	GetProductGroupView []gax.CallOption
}

ProductGroupViewCallOptions contains the retry settings for each method of ProductGroupViewClient.

type ProductGroupViewClient

type ProductGroupViewClient struct {

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

ProductGroupViewClient 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 product group views.

func NewProductGroupViewClient

func NewProductGroupViewClient(ctx context.Context, opts ...option.ClientOption) (*ProductGroupViewClient, error)

NewProductGroupViewClient creates a new product group view 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 product group views.

func (*ProductGroupViewClient) Close

func (c *ProductGroupViewClient) Close() error

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

func (*ProductGroupViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*ProductGroupViewClient) GetProductGroupView

GetProductGroupView returns the requested product group view in full detail.

List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (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 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 & DMAs).

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 {
	GetRecommendation     []gax.CallOption
	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 )

func (*RecommendationClient) GetRecommendation

GetRecommendation returns the requested recommendation in full detail.

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

type RemarketingActionCallOptions

type RemarketingActionCallOptions struct {
	GetRemarketingAction     []gax.CallOption
	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) GetRemarketingAction

GetRemarketingAction returns the requested remarketing action in full detail.

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

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 SearchTermViewCallOptions

type SearchTermViewCallOptions struct {
	GetSearchTermView []gax.CallOption
}

SearchTermViewCallOptions contains the retry settings for each method of SearchTermViewClient.

type SearchTermViewClient

type SearchTermViewClient struct {

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

SearchTermViewClient 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 search term views.

func NewSearchTermViewClient

func NewSearchTermViewClient(ctx context.Context, opts ...option.ClientOption) (*SearchTermViewClient, error)

NewSearchTermViewClient creates a new search term view 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 search term views.

func (*SearchTermViewClient) Close

func (c *SearchTermViewClient) Close() error

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

func (*SearchTermViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*SearchTermViewClient) GetSearchTermView

GetSearchTermView returns the attributes of the requested search term view.

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

type SharedCriterionCallOptions

type SharedCriterionCallOptions struct {
	GetSharedCriterion   []gax.CallOption
	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) GetSharedCriterion

GetSharedCriterion returns the requested shared criterion in full detail.

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

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 {
	GetSharedSet     []gax.CallOption
	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) GetSharedSet

GetSharedSet returns the requested shared set in full detail.

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

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 ShoppingPerformanceViewCallOptions

type ShoppingPerformanceViewCallOptions struct {
	GetShoppingPerformanceView []gax.CallOption
}

ShoppingPerformanceViewCallOptions contains the retry settings for each method of ShoppingPerformanceViewClient.

type ShoppingPerformanceViewClient

type ShoppingPerformanceViewClient struct {

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

ShoppingPerformanceViewClient 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 Shopping performance views.

func NewShoppingPerformanceViewClient

func NewShoppingPerformanceViewClient(ctx context.Context, opts ...option.ClientOption) (*ShoppingPerformanceViewClient, error)

NewShoppingPerformanceViewClient creates a new shopping performance view 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 Shopping performance views.

func (*ShoppingPerformanceViewClient) Close

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

func (*ShoppingPerformanceViewClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*ShoppingPerformanceViewClient) GetShoppingPerformanceView

GetShoppingPerformanceView returns the requested Shopping performance view in full detail.

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

type SmartCampaignSearchTermViewCallOptions

type SmartCampaignSearchTermViewCallOptions struct {
	GetSmartCampaignSearchTermView []gax.CallOption
}

SmartCampaignSearchTermViewCallOptions contains the retry settings for each method of SmartCampaignSearchTermViewClient.

type SmartCampaignSearchTermViewClient

type SmartCampaignSearchTermViewClient struct {

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

SmartCampaignSearchTermViewClient 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 search term views.

func NewSmartCampaignSearchTermViewClient

func NewSmartCampaignSearchTermViewClient(ctx context.Context, opts ...option.ClientOption) (*SmartCampaignSearchTermViewClient, error)

NewSmartCampaignSearchTermViewClient creates a new smart campaign search term view 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 search term views.

func (*SmartCampaignSearchTermViewClient) Close

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

func (*SmartCampaignSearchTermViewClient) Connection

Connection returns a connection to the API service.

Deprecated.

func (*SmartCampaignSearchTermViewClient) GetSmartCampaignSearchTermView

GetSmartCampaignSearchTermView returns the attributes of the requested Smart campaign search term view.

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

type SmartCampaignSettingCallOptions

type SmartCampaignSettingCallOptions struct {
	GetSmartCampaignSetting     []gax.CallOption
	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) GetSmartCampaignSetting

GetSmartCampaignSetting returns the requested Smart campaign setting in full detail.

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 {
	GetThirdPartyAppAnalyticsLink []gax.CallOption
	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.

GetThirdPartyAppAnalyticsLink returns the third party app analytics link in full detail.

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

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 TopicConstantCallOptions

type TopicConstantCallOptions struct {
	GetTopicConstant []gax.CallOption
}

TopicConstantCallOptions contains the retry settings for each method of TopicConstantClient.

type TopicConstantClient

type TopicConstantClient struct {

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

TopicConstantClient 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 topic constants.

func NewTopicConstantClient

func NewTopicConstantClient(ctx context.Context, opts ...option.ClientOption) (*TopicConstantClient, error)

NewTopicConstantClient creates a new topic 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 topic constants.

func (*TopicConstantClient) Close

func (c *TopicConstantClient) Close() error

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

func (*TopicConstantClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*TopicConstantClient) GetTopicConstant

GetTopicConstant returns the requested topic constant in full detail.

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

type TopicViewCallOptions

type TopicViewCallOptions struct {
	GetTopicView []gax.CallOption
}

TopicViewCallOptions contains the retry settings for each method of TopicViewClient.

type TopicViewClient

type TopicViewClient struct {

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

TopicViewClient 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 topic views.

func NewTopicViewClient

func NewTopicViewClient(ctx context.Context, opts ...option.ClientOption) (*TopicViewClient, error)

NewTopicViewClient creates a new topic view 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 topic views.

func (*TopicViewClient) Close

func (c *TopicViewClient) Close() error

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

func (*TopicViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*TopicViewClient) GetTopicView

GetTopicView returns the requested topic view in full detail.

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 UserInterestCallOptions

type UserInterestCallOptions struct {
	GetUserInterest []gax.CallOption
}

UserInterestCallOptions contains the retry settings for each method of UserInterestClient.

type UserInterestClient

type UserInterestClient struct {

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

UserInterestClient 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 User Interest.

func NewUserInterestClient

func NewUserInterestClient(ctx context.Context, opts ...option.ClientOption) (*UserInterestClient, error)

NewUserInterestClient creates a new user 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 fetch Google Ads User Interest.

func (*UserInterestClient) Close

func (c *UserInterestClient) Close() error

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

func (*UserInterestClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*UserInterestClient) GetUserInterest

GetUserInterest returns the requested user interest in full detail

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

type UserListCallOptions

type UserListCallOptions struct {
	GetUserList     []gax.CallOption
	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) GetUserList

GetUserList returns the requested user list.

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

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 )

type UserLocationViewCallOptions

type UserLocationViewCallOptions struct {
	GetUserLocationView []gax.CallOption
}

UserLocationViewCallOptions contains the retry settings for each method of UserLocationViewClient.

type UserLocationViewClient

type UserLocationViewClient struct {

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

UserLocationViewClient 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 location views.

func NewUserLocationViewClient

func NewUserLocationViewClient(ctx context.Context, opts ...option.ClientOption) (*UserLocationViewClient, error)

NewUserLocationViewClient creates a new user location view 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 location views.

func (*UserLocationViewClient) Close

func (c *UserLocationViewClient) Close() error

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

func (*UserLocationViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*UserLocationViewClient) GetUserLocationView

GetUserLocationView returns the requested user location view in full detail.

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

type VideoCallOptions

type VideoCallOptions struct {
	GetVideo []gax.CallOption
}

VideoCallOptions contains the retry settings for each method of VideoClient.

type VideoClient

type VideoClient struct {

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

VideoClient 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 videos.

func NewVideoClient

func NewVideoClient(ctx context.Context, opts ...option.ClientOption) (*VideoClient, error)

NewVideoClient creates a new video 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 videos.

func (*VideoClient) Close

func (c *VideoClient) Close() error

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

func (*VideoClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*VideoClient) GetVideo

GetVideo returns the requested video in full detail.

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

type WebpageViewCallOptions

type WebpageViewCallOptions struct {
	GetWebpageView []gax.CallOption
}

WebpageViewCallOptions contains the retry settings for each method of WebpageViewClient.

type WebpageViewClient

type WebpageViewClient struct {

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

WebpageViewClient 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 webpage views.

func NewWebpageViewClient

func NewWebpageViewClient(ctx context.Context, opts ...option.ClientOption) (*WebpageViewClient, error)

NewWebpageViewClient creates a new webpage view 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 webpage views.

func (*WebpageViewClient) Close

func (c *WebpageViewClient) Close() error

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

func (*WebpageViewClient) Connection

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

Connection returns a connection to the API service.

Deprecated.

func (*WebpageViewClient) GetWebpageView

GetWebpageView returns the requested webpage view in full detail.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL