Documentation ¶
Overview ¶
Package googleads is an auto-generated package for the Google Ads API.
Manage your Google Ads accounts, campaigns, and reports with this API.
Example usage ¶
To get started with this package, create a client.
ctx := context.Background() c, err := googleads.NewAccountBudgetProposalClient(ctx) if err != nil { // TODO: Handle error. } defer c.Close()
The client will use your default application credentials. Clients should be reused instead of created as needed. The methods of Client are safe for concurrent use by multiple goroutines. The returned client must be Closed when it is done being used.
Using the Client ¶
The following is an example of making an API call with the newly created client.
ctx := context.Background() c, err := googleads.NewAccountBudgetProposalClient(ctx) if err != nil { // TODO: Handle error. } defer c.Close() req := &servicespb.MutateAccountBudgetProposalRequest{ // TODO: Fill request struct fields. // See https://pkg.go.dev/github.com/nico-juni/googleads-go/v10/pb/services#MutateAccountBudgetProposalRequest. } resp, err := c.MutateAccountBudgetProposal(ctx, req) if err != nil { // TODO: Handle error. } // TODO: Use resp. _ = resp
Use of Context ¶
The ctx passed to NewClient is used for authentication requests and for creating the underlying connection, but is not used for subsequent calls. Individual methods on the client use the ctx given to them.
To close the open connection, use the Close() method.
For information about setting deadlines, reusing contexts, and more please visit https://pkg.go.dev/cloud.google.com/go.
Index ¶
- func DefaultAuthScopes() []string
- type AccountBudgetProposalCallOptions
- type AccountBudgetProposalClient
- func (c *AccountBudgetProposalClient) Close() error
- func (c *AccountBudgetProposalClient) Connection() *grpc.ClientConn
- func (c *AccountBudgetProposalClient) MutateAccountBudgetProposal(ctx context.Context, req *servicespb.MutateAccountBudgetProposalRequest, ...) (*servicespb.MutateAccountBudgetProposalResponse, error)
- type AccountLinkCallOptions
- type AccountLinkClient
- func (c *AccountLinkClient) Close() error
- func (c *AccountLinkClient) Connection() *grpc.ClientConn
- func (c *AccountLinkClient) CreateAccountLink(ctx context.Context, req *servicespb.CreateAccountLinkRequest, ...) (*servicespb.CreateAccountLinkResponse, error)
- func (c *AccountLinkClient) MutateAccountLink(ctx context.Context, req *servicespb.MutateAccountLinkRequest, ...) (*servicespb.MutateAccountLinkResponse, error)
- type AdCallOptions
- type AdClient
- func (c *AdClient) Close() error
- func (c *AdClient) Connection() *grpc.ClientConn
- func (c *AdClient) GetAd(ctx context.Context, req *servicespb.GetAdRequest, opts ...gax.CallOption) (*resourcespb.Ad, error)
- func (c *AdClient) MutateAds(ctx context.Context, req *servicespb.MutateAdsRequest, opts ...gax.CallOption) (*servicespb.MutateAdsResponse, error)
- type AdGroupAdCallOptions
- type AdGroupAdClient
- type AdGroupAdLabelCallOptions
- type AdGroupAdLabelClient
- type AdGroupAssetCallOptions
- type AdGroupAssetClient
- type AdGroupBidModifierCallOptions
- type AdGroupBidModifierClient
- func (c *AdGroupBidModifierClient) Close() error
- func (c *AdGroupBidModifierClient) Connection() *grpc.ClientConn
- func (c *AdGroupBidModifierClient) MutateAdGroupBidModifiers(ctx context.Context, req *servicespb.MutateAdGroupBidModifiersRequest, ...) (*servicespb.MutateAdGroupBidModifiersResponse, error)
- type AdGroupCallOptions
- type AdGroupClient
- type AdGroupCriterionCallOptions
- type AdGroupCriterionClient
- type AdGroupCriterionCustomizerCallOptions
- type AdGroupCriterionCustomizerClient
- func (c *AdGroupCriterionCustomizerClient) Close() error
- func (c *AdGroupCriterionCustomizerClient) Connection() *grpc.ClientConn
- func (c *AdGroupCriterionCustomizerClient) MutateAdGroupCriterionCustomizers(ctx context.Context, req *servicespb.MutateAdGroupCriterionCustomizersRequest, ...) (*servicespb.MutateAdGroupCriterionCustomizersResponse, error)
- type AdGroupCriterionLabelCallOptions
- type AdGroupCriterionLabelClient
- func (c *AdGroupCriterionLabelClient) Close() error
- func (c *AdGroupCriterionLabelClient) Connection() *grpc.ClientConn
- func (c *AdGroupCriterionLabelClient) MutateAdGroupCriterionLabels(ctx context.Context, req *servicespb.MutateAdGroupCriterionLabelsRequest, ...) (*servicespb.MutateAdGroupCriterionLabelsResponse, error)
- type AdGroupCustomizerCallOptions
- type AdGroupCustomizerClient
- type AdGroupExtensionSettingCallOptions
- type AdGroupExtensionSettingClient
- func (c *AdGroupExtensionSettingClient) Close() error
- func (c *AdGroupExtensionSettingClient) Connection() *grpc.ClientConn
- func (c *AdGroupExtensionSettingClient) MutateAdGroupExtensionSettings(ctx context.Context, req *servicespb.MutateAdGroupExtensionSettingsRequest, ...) (*servicespb.MutateAdGroupExtensionSettingsResponse, error)
- type AdGroupFeedCallOptions
- type AdGroupFeedClient
- type AdGroupLabelCallOptions
- type AdGroupLabelClient
- type AdParameterCallOptions
- type AdParameterClient
- type AssetCallOptions
- type AssetClient
- type AssetGroupAssetCallOptions
- type AssetGroupAssetClient
- type AssetGroupCallOptions
- type AssetGroupClient
- type AssetGroupListingGroupFilterCallOptions
- type AssetGroupListingGroupFilterClient
- func (c *AssetGroupListingGroupFilterClient) Close() error
- func (c *AssetGroupListingGroupFilterClient) Connection() *grpc.ClientConn
- func (c *AssetGroupListingGroupFilterClient) MutateAssetGroupListingGroupFilters(ctx context.Context, ...) (*servicespb.MutateAssetGroupListingGroupFiltersResponse, error)
- type AssetGroupSignalCallOptions
- type AssetGroupSignalClient
- type AssetSetAssetCallOptions
- type AssetSetAssetClient
- type AssetSetCallOptions
- type AssetSetClient
- type AudienceCallOptions
- type AudienceClient
- type BatchJobCallOptions
- type BatchJobClient
- func (c *BatchJobClient) AddBatchJobOperations(ctx context.Context, req *servicespb.AddBatchJobOperationsRequest, ...) (*servicespb.AddBatchJobOperationsResponse, error)
- func (c *BatchJobClient) Close() error
- func (c *BatchJobClient) Connection() *grpc.ClientConn
- func (c *BatchJobClient) ListBatchJobResults(ctx context.Context, req *servicespb.ListBatchJobResultsRequest, ...) *BatchJobResultIterator
- func (c *BatchJobClient) MutateBatchJob(ctx context.Context, req *servicespb.MutateBatchJobRequest, ...) (*servicespb.MutateBatchJobResponse, error)
- func (c *BatchJobClient) RunBatchJob(ctx context.Context, req *servicespb.RunBatchJobRequest, ...) (*RunBatchJobOperation, error)
- func (c *BatchJobClient) RunBatchJobOperation(name string) *RunBatchJobOperation
- type BatchJobResultIterator
- type BiddingDataExclusionCallOptions
- type BiddingDataExclusionClient
- func (c *BiddingDataExclusionClient) Close() error
- func (c *BiddingDataExclusionClient) Connection() *grpc.ClientConn
- func (c *BiddingDataExclusionClient) MutateBiddingDataExclusions(ctx context.Context, req *servicespb.MutateBiddingDataExclusionsRequest, ...) (*servicespb.MutateBiddingDataExclusionsResponse, error)
- type BiddingSeasonalityAdjustmentCallOptions
- type BiddingSeasonalityAdjustmentClient
- func (c *BiddingSeasonalityAdjustmentClient) Close() error
- func (c *BiddingSeasonalityAdjustmentClient) Connection() *grpc.ClientConn
- func (c *BiddingSeasonalityAdjustmentClient) MutateBiddingSeasonalityAdjustments(ctx context.Context, ...) (*servicespb.MutateBiddingSeasonalityAdjustmentsResponse, error)
- type BiddingStrategyCallOptions
- type BiddingStrategyClient
- type BillingSetupCallOptions
- type BillingSetupClient
- type CallOptions
- type CampaignAssetCallOptions
- type CampaignAssetClient
- type CampaignAssetSetCallOptions
- type CampaignAssetSetClient
- type CampaignBidModifierCallOptions
- type CampaignBidModifierClient
- func (c *CampaignBidModifierClient) Close() error
- func (c *CampaignBidModifierClient) Connection() *grpc.ClientConn
- func (c *CampaignBidModifierClient) MutateCampaignBidModifiers(ctx context.Context, req *servicespb.MutateCampaignBidModifiersRequest, ...) (*servicespb.MutateCampaignBidModifiersResponse, error)
- type CampaignBudgetCallOptions
- type CampaignBudgetClient
- type CampaignCallOptions
- type CampaignClient
- type CampaignConversionGoalCallOptions
- type CampaignConversionGoalClient
- func (c *CampaignConversionGoalClient) Close() error
- func (c *CampaignConversionGoalClient) Connection() *grpc.ClientConn
- func (c *CampaignConversionGoalClient) MutateCampaignConversionGoals(ctx context.Context, req *servicespb.MutateCampaignConversionGoalsRequest, ...) (*servicespb.MutateCampaignConversionGoalsResponse, error)
- type CampaignCriterionCallOptions
- type CampaignCriterionClient
- type CampaignCustomizerCallOptions
- type CampaignCustomizerClient
- func (c *CampaignCustomizerClient) Close() error
- func (c *CampaignCustomizerClient) Connection() *grpc.ClientConn
- func (c *CampaignCustomizerClient) MutateCampaignCustomizers(ctx context.Context, req *servicespb.MutateCampaignCustomizersRequest, ...) (*servicespb.MutateCampaignCustomizersResponse, error)
- type CampaignDraftCallOptions
- type CampaignDraftClient
- func (c *CampaignDraftClient) Close() error
- func (c *CampaignDraftClient) Connection() *grpc.ClientConn
- func (c *CampaignDraftClient) ListCampaignDraftAsyncErrors(ctx context.Context, req *servicespb.ListCampaignDraftAsyncErrorsRequest, ...) *StatusIterator
- func (c *CampaignDraftClient) MutateCampaignDrafts(ctx context.Context, req *servicespb.MutateCampaignDraftsRequest, ...) (*servicespb.MutateCampaignDraftsResponse, error)
- func (c *CampaignDraftClient) PromoteCampaignDraft(ctx context.Context, req *servicespb.PromoteCampaignDraftRequest, ...) (*PromoteCampaignDraftOperation, error)
- func (c *CampaignDraftClient) PromoteCampaignDraftOperation(name string) *PromoteCampaignDraftOperation
- type CampaignExperimentCallOptions
- type CampaignExperimentClient
- func (c *CampaignExperimentClient) Close() error
- func (c *CampaignExperimentClient) Connection() *grpc.ClientConn
- func (c *CampaignExperimentClient) CreateCampaignExperiment(ctx context.Context, req *servicespb.CreateCampaignExperimentRequest, ...) (*CreateCampaignExperimentOperation, error)
- func (c *CampaignExperimentClient) CreateCampaignExperimentOperation(name string) *CreateCampaignExperimentOperation
- func (c *CampaignExperimentClient) EndCampaignExperiment(ctx context.Context, req *servicespb.EndCampaignExperimentRequest, ...) error
- func (c *CampaignExperimentClient) GraduateCampaignExperiment(ctx context.Context, req *servicespb.GraduateCampaignExperimentRequest, ...) (*servicespb.GraduateCampaignExperimentResponse, error)
- func (c *CampaignExperimentClient) ListCampaignExperimentAsyncErrors(ctx context.Context, req *servicespb.ListCampaignExperimentAsyncErrorsRequest, ...) *StatusIterator
- func (c *CampaignExperimentClient) MutateCampaignExperiments(ctx context.Context, req *servicespb.MutateCampaignExperimentsRequest, ...) (*servicespb.MutateCampaignExperimentsResponse, error)
- func (c *CampaignExperimentClient) PromoteCampaignExperiment(ctx context.Context, req *servicespb.PromoteCampaignExperimentRequest, ...) (*PromoteCampaignExperimentOperation, error)
- func (c *CampaignExperimentClient) PromoteCampaignExperimentOperation(name string) *PromoteCampaignExperimentOperation
- type CampaignExtensionSettingCallOptions
- type CampaignExtensionSettingClient
- func (c *CampaignExtensionSettingClient) Close() error
- func (c *CampaignExtensionSettingClient) Connection() *grpc.ClientConn
- func (c *CampaignExtensionSettingClient) MutateCampaignExtensionSettings(ctx context.Context, req *servicespb.MutateCampaignExtensionSettingsRequest, ...) (*servicespb.MutateCampaignExtensionSettingsResponse, error)
- type CampaignFeedCallOptions
- type CampaignFeedClient
- type CampaignLabelCallOptions
- type CampaignLabelClient
- type CampaignSharedSetCallOptions
- type CampaignSharedSetClient
- type Client
- func (c *Client) Close() error
- func (c *Client) Connection() *grpc.ClientConn
- func (c *Client) Mutate(ctx context.Context, req *servicespb.MutateGoogleAdsRequest, ...) (*servicespb.MutateGoogleAdsResponse, error)
- func (c *Client) Search(ctx context.Context, req *servicespb.SearchGoogleAdsRequest, ...) *GoogleAdsRowIterator
- func (c *Client) SearchStream(ctx context.Context, req *servicespb.SearchGoogleAdsStreamRequest, ...) (servicespb.GoogleAdsService_SearchStreamClient, error)
- type ConversionActionCallOptions
- type ConversionActionClient
- type ConversionAdjustmentUploadCallOptions
- type ConversionAdjustmentUploadClient
- func (c *ConversionAdjustmentUploadClient) Close() error
- func (c *ConversionAdjustmentUploadClient) Connection() *grpc.ClientConn
- func (c *ConversionAdjustmentUploadClient) UploadConversionAdjustments(ctx context.Context, req *servicespb.UploadConversionAdjustmentsRequest, ...) (*servicespb.UploadConversionAdjustmentsResponse, error)
- type ConversionCustomVariableCallOptions
- type ConversionCustomVariableClient
- func (c *ConversionCustomVariableClient) Close() error
- func (c *ConversionCustomVariableClient) Connection() *grpc.ClientConn
- func (c *ConversionCustomVariableClient) MutateConversionCustomVariables(ctx context.Context, req *servicespb.MutateConversionCustomVariablesRequest, ...) (*servicespb.MutateConversionCustomVariablesResponse, error)
- type ConversionGoalCampaignConfigCallOptions
- type ConversionGoalCampaignConfigClient
- func (c *ConversionGoalCampaignConfigClient) Close() error
- func (c *ConversionGoalCampaignConfigClient) Connection() *grpc.ClientConn
- func (c *ConversionGoalCampaignConfigClient) MutateConversionGoalCampaignConfigs(ctx context.Context, ...) (*servicespb.MutateConversionGoalCampaignConfigsResponse, error)
- type ConversionUploadCallOptions
- type ConversionUploadClient
- func (c *ConversionUploadClient) Close() error
- func (c *ConversionUploadClient) Connection() *grpc.ClientConn
- func (c *ConversionUploadClient) UploadCallConversions(ctx context.Context, req *servicespb.UploadCallConversionsRequest, ...) (*servicespb.UploadCallConversionsResponse, error)
- func (c *ConversionUploadClient) UploadClickConversions(ctx context.Context, req *servicespb.UploadClickConversionsRequest, ...) (*servicespb.UploadClickConversionsResponse, error)
- type ConversionValueRuleCallOptions
- type ConversionValueRuleClient
- func (c *ConversionValueRuleClient) Close() error
- func (c *ConversionValueRuleClient) Connection() *grpc.ClientConn
- func (c *ConversionValueRuleClient) MutateConversionValueRules(ctx context.Context, req *servicespb.MutateConversionValueRulesRequest, ...) (*servicespb.MutateConversionValueRulesResponse, error)
- type ConversionValueRuleSetCallOptions
- type ConversionValueRuleSetClient
- func (c *ConversionValueRuleSetClient) Close() error
- func (c *ConversionValueRuleSetClient) Connection() *grpc.ClientConn
- func (c *ConversionValueRuleSetClient) MutateConversionValueRuleSets(ctx context.Context, req *servicespb.MutateConversionValueRuleSetsRequest, ...) (*servicespb.MutateConversionValueRuleSetsResponse, error)
- type CreateCampaignExperimentOperation
- func (op *CreateCampaignExperimentOperation) Done() bool
- func (op *CreateCampaignExperimentOperation) Metadata() (*servicespb.CreateCampaignExperimentMetadata, error)
- func (op *CreateCampaignExperimentOperation) Name() string
- func (op *CreateCampaignExperimentOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *CreateCampaignExperimentOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type CustomAudienceCallOptions
- type CustomAudienceClient
- type CustomConversionGoalCallOptions
- type CustomConversionGoalClient
- func (c *CustomConversionGoalClient) Close() error
- func (c *CustomConversionGoalClient) Connection() *grpc.ClientConn
- func (c *CustomConversionGoalClient) MutateCustomConversionGoals(ctx context.Context, req *servicespb.MutateCustomConversionGoalsRequest, ...) (*servicespb.MutateCustomConversionGoalsResponse, error)
- type CustomInterestCallOptions
- type CustomInterestClient
- type CustomerAssetCallOptions
- type CustomerAssetClient
- type CustomerCallOptions
- type CustomerClient
- func (c *CustomerClient) Close() error
- func (c *CustomerClient) Connection() *grpc.ClientConn
- func (c *CustomerClient) CreateCustomerClient(ctx context.Context, req *servicespb.CreateCustomerClientRequest, ...) (*servicespb.CreateCustomerClientResponse, error)
- func (c *CustomerClient) ListAccessibleCustomers(ctx context.Context, req *servicespb.ListAccessibleCustomersRequest, ...) (*servicespb.ListAccessibleCustomersResponse, error)
- func (c *CustomerClient) MutateCustomer(ctx context.Context, req *servicespb.MutateCustomerRequest, ...) (*servicespb.MutateCustomerResponse, error)
- type CustomerClientLinkCallOptions
- type CustomerClientLinkClient
- func (c *CustomerClientLinkClient) Close() error
- func (c *CustomerClientLinkClient) Connection() *grpc.ClientConn
- func (c *CustomerClientLinkClient) MutateCustomerClientLink(ctx context.Context, req *servicespb.MutateCustomerClientLinkRequest, ...) (*servicespb.MutateCustomerClientLinkResponse, error)
- type CustomerConversionGoalCallOptions
- type CustomerConversionGoalClient
- func (c *CustomerConversionGoalClient) Close() error
- func (c *CustomerConversionGoalClient) Connection() *grpc.ClientConn
- func (c *CustomerConversionGoalClient) MutateCustomerConversionGoals(ctx context.Context, req *servicespb.MutateCustomerConversionGoalsRequest, ...) (*servicespb.MutateCustomerConversionGoalsResponse, error)
- type CustomerCustomizerCallOptions
- type CustomerCustomizerClient
- func (c *CustomerCustomizerClient) Close() error
- func (c *CustomerCustomizerClient) Connection() *grpc.ClientConn
- func (c *CustomerCustomizerClient) MutateCustomerCustomizers(ctx context.Context, req *servicespb.MutateCustomerCustomizersRequest, ...) (*servicespb.MutateCustomerCustomizersResponse, error)
- type CustomerExtensionSettingCallOptions
- type CustomerExtensionSettingClient
- func (c *CustomerExtensionSettingClient) Close() error
- func (c *CustomerExtensionSettingClient) Connection() *grpc.ClientConn
- func (c *CustomerExtensionSettingClient) MutateCustomerExtensionSettings(ctx context.Context, req *servicespb.MutateCustomerExtensionSettingsRequest, ...) (*servicespb.MutateCustomerExtensionSettingsResponse, error)
- type CustomerFeedCallOptions
- type CustomerFeedClient
- type CustomerLabelCallOptions
- type CustomerLabelClient
- type CustomerManagerLinkCallOptions
- type CustomerManagerLinkClient
- func (c *CustomerManagerLinkClient) Close() error
- func (c *CustomerManagerLinkClient) Connection() *grpc.ClientConn
- func (c *CustomerManagerLinkClient) MoveManagerLink(ctx context.Context, req *servicespb.MoveManagerLinkRequest, ...) (*servicespb.MoveManagerLinkResponse, error)
- func (c *CustomerManagerLinkClient) MutateCustomerManagerLink(ctx context.Context, req *servicespb.MutateCustomerManagerLinkRequest, ...) (*servicespb.MutateCustomerManagerLinkResponse, error)
- type CustomerNegativeCriterionCallOptions
- type CustomerNegativeCriterionClient
- func (c *CustomerNegativeCriterionClient) Close() error
- func (c *CustomerNegativeCriterionClient) Connection() *grpc.ClientConn
- func (c *CustomerNegativeCriterionClient) MutateCustomerNegativeCriteria(ctx context.Context, req *servicespb.MutateCustomerNegativeCriteriaRequest, ...) (*servicespb.MutateCustomerNegativeCriteriaResponse, error)
- type CustomerUserAccessCallOptions
- type CustomerUserAccessClient
- func (c *CustomerUserAccessClient) Close() error
- func (c *CustomerUserAccessClient) Connection() *grpc.ClientConn
- func (c *CustomerUserAccessClient) MutateCustomerUserAccess(ctx context.Context, req *servicespb.MutateCustomerUserAccessRequest, ...) (*servicespb.MutateCustomerUserAccessResponse, error)
- type CustomerUserAccessInvitationCallOptions
- type CustomerUserAccessInvitationClient
- func (c *CustomerUserAccessInvitationClient) Close() error
- func (c *CustomerUserAccessInvitationClient) Connection() *grpc.ClientConn
- func (c *CustomerUserAccessInvitationClient) MutateCustomerUserAccessInvitation(ctx context.Context, req *servicespb.MutateCustomerUserAccessInvitationRequest, ...) (*servicespb.MutateCustomerUserAccessInvitationResponse, error)
- type CustomizerAttributeCallOptions
- type CustomizerAttributeClient
- func (c *CustomizerAttributeClient) Close() error
- func (c *CustomizerAttributeClient) Connection() *grpc.ClientConn
- func (c *CustomizerAttributeClient) MutateCustomizerAttributes(ctx context.Context, req *servicespb.MutateCustomizerAttributesRequest, ...) (*servicespb.MutateCustomizerAttributesResponse, error)
- type ExperimentArmCallOptions
- type ExperimentArmClient
- type ExperimentCallOptions
- type ExperimentClient
- func (c *ExperimentClient) Close() error
- func (c *ExperimentClient) Connection() *grpc.ClientConn
- func (c *ExperimentClient) EndExperiment(ctx context.Context, req *servicespb.EndExperimentRequest, ...) error
- func (c *ExperimentClient) GraduateExperiment(ctx context.Context, req *servicespb.GraduateExperimentRequest, ...) error
- func (c *ExperimentClient) ListExperimentAsyncErrors(ctx context.Context, req *servicespb.ListExperimentAsyncErrorsRequest, ...) *StatusIterator
- func (c *ExperimentClient) MutateExperiments(ctx context.Context, req *servicespb.MutateExperimentsRequest, ...) (*servicespb.MutateExperimentsResponse, error)
- func (c *ExperimentClient) PromoteExperiment(ctx context.Context, req *servicespb.PromoteExperimentRequest, ...) (*PromoteExperimentOperation, error)
- func (c *ExperimentClient) PromoteExperimentOperation(name string) *PromoteExperimentOperation
- func (c *ExperimentClient) ScheduleExperiment(ctx context.Context, req *servicespb.ScheduleExperimentRequest, ...) (*ScheduleExperimentOperation, error)
- func (c *ExperimentClient) ScheduleExperimentOperation(name string) *ScheduleExperimentOperation
- type ExtensionFeedItemCallOptions
- type ExtensionFeedItemClient
- type FeedCallOptions
- type FeedClient
- type FeedItemCallOptions
- type FeedItemClient
- type FeedItemSetCallOptions
- type FeedItemSetClient
- type FeedItemSetLinkCallOptions
- type FeedItemSetLinkClient
- type FeedItemTargetCallOptions
- type FeedItemTargetClient
- type FeedMappingCallOptions
- type FeedMappingClient
- type GenerateKeywordIdeaResultIterator
- type GeoTargetConstantCallOptions
- type GeoTargetConstantClient
- func (c *GeoTargetConstantClient) Close() error
- func (c *GeoTargetConstantClient) Connection() *grpc.ClientConn
- func (c *GeoTargetConstantClient) SuggestGeoTargetConstants(ctx context.Context, req *servicespb.SuggestGeoTargetConstantsRequest, ...) (*servicespb.SuggestGeoTargetConstantsResponse, error)
- type GoogleAdsFieldCallOptions
- type GoogleAdsFieldClient
- func (c *GoogleAdsFieldClient) Close() error
- func (c *GoogleAdsFieldClient) Connection() *grpc.ClientConn
- func (c *GoogleAdsFieldClient) GetGoogleAdsField(ctx context.Context, req *servicespb.GetGoogleAdsFieldRequest, ...) (*resourcespb.GoogleAdsField, error)
- func (c *GoogleAdsFieldClient) SearchGoogleAdsFields(ctx context.Context, req *servicespb.SearchGoogleAdsFieldsRequest, ...) *GoogleAdsFieldIterator
- type GoogleAdsFieldIterator
- type GoogleAdsRowIterator
- type InvoiceCallOptions
- type InvoiceClient
- type KeywordPlanAdGroupCallOptions
- type KeywordPlanAdGroupClient
- func (c *KeywordPlanAdGroupClient) Close() error
- func (c *KeywordPlanAdGroupClient) Connection() *grpc.ClientConn
- func (c *KeywordPlanAdGroupClient) MutateKeywordPlanAdGroups(ctx context.Context, req *servicespb.MutateKeywordPlanAdGroupsRequest, ...) (*servicespb.MutateKeywordPlanAdGroupsResponse, error)
- type KeywordPlanAdGroupKeywordCallOptions
- type KeywordPlanAdGroupKeywordClient
- func (c *KeywordPlanAdGroupKeywordClient) Close() error
- func (c *KeywordPlanAdGroupKeywordClient) Connection() *grpc.ClientConn
- func (c *KeywordPlanAdGroupKeywordClient) MutateKeywordPlanAdGroupKeywords(ctx context.Context, req *servicespb.MutateKeywordPlanAdGroupKeywordsRequest, ...) (*servicespb.MutateKeywordPlanAdGroupKeywordsResponse, error)
- type KeywordPlanCallOptions
- type KeywordPlanCampaignCallOptions
- type KeywordPlanCampaignClient
- func (c *KeywordPlanCampaignClient) Close() error
- func (c *KeywordPlanCampaignClient) Connection() *grpc.ClientConn
- func (c *KeywordPlanCampaignClient) MutateKeywordPlanCampaigns(ctx context.Context, req *servicespb.MutateKeywordPlanCampaignsRequest, ...) (*servicespb.MutateKeywordPlanCampaignsResponse, error)
- type KeywordPlanCampaignKeywordCallOptions
- type KeywordPlanCampaignKeywordClient
- func (c *KeywordPlanCampaignKeywordClient) Close() error
- func (c *KeywordPlanCampaignKeywordClient) Connection() *grpc.ClientConn
- func (c *KeywordPlanCampaignKeywordClient) MutateKeywordPlanCampaignKeywords(ctx context.Context, req *servicespb.MutateKeywordPlanCampaignKeywordsRequest, ...) (*servicespb.MutateKeywordPlanCampaignKeywordsResponse, error)
- type KeywordPlanClient
- func (c *KeywordPlanClient) Close() error
- func (c *KeywordPlanClient) Connection() *grpc.ClientConn
- func (c *KeywordPlanClient) GenerateForecastCurve(ctx context.Context, req *servicespb.GenerateForecastCurveRequest, ...) (*servicespb.GenerateForecastCurveResponse, error)
- func (c *KeywordPlanClient) GenerateForecastMetrics(ctx context.Context, req *servicespb.GenerateForecastMetricsRequest, ...) (*servicespb.GenerateForecastMetricsResponse, error)
- func (c *KeywordPlanClient) GenerateForecastTimeSeries(ctx context.Context, req *servicespb.GenerateForecastTimeSeriesRequest, ...) (*servicespb.GenerateForecastTimeSeriesResponse, error)
- func (c *KeywordPlanClient) GenerateHistoricalMetrics(ctx context.Context, req *servicespb.GenerateHistoricalMetricsRequest, ...) (*servicespb.GenerateHistoricalMetricsResponse, error)
- func (c *KeywordPlanClient) MutateKeywordPlans(ctx context.Context, req *servicespb.MutateKeywordPlansRequest, ...) (*servicespb.MutateKeywordPlansResponse, error)
- type KeywordPlanIdeaCallOptions
- type KeywordPlanIdeaClient
- type KeywordThemeConstantCallOptions
- type KeywordThemeConstantClient
- func (c *KeywordThemeConstantClient) Close() error
- func (c *KeywordThemeConstantClient) Connection() *grpc.ClientConn
- func (c *KeywordThemeConstantClient) SuggestKeywordThemeConstants(ctx context.Context, req *servicespb.SuggestKeywordThemeConstantsRequest, ...) (*servicespb.SuggestKeywordThemeConstantsResponse, error)
- type LabelCallOptions
- type LabelClient
- type MediaFileCallOptions
- type MediaFileClient
- type MerchantCenterLinkCallOptions
- type MerchantCenterLinkClient
- func (c *MerchantCenterLinkClient) Close() error
- func (c *MerchantCenterLinkClient) Connection() *grpc.ClientConn
- func (c *MerchantCenterLinkClient) GetMerchantCenterLink(ctx context.Context, req *servicespb.GetMerchantCenterLinkRequest, ...) (*resourcespb.MerchantCenterLink, error)
- func (c *MerchantCenterLinkClient) ListMerchantCenterLinks(ctx context.Context, req *servicespb.ListMerchantCenterLinksRequest, ...) (*servicespb.ListMerchantCenterLinksResponse, error)
- func (c *MerchantCenterLinkClient) MutateMerchantCenterLink(ctx context.Context, req *servicespb.MutateMerchantCenterLinkRequest, ...) (*servicespb.MutateMerchantCenterLinkResponse, error)
- type OfflineUserDataJobCallOptions
- type OfflineUserDataJobClient
- func (c *OfflineUserDataJobClient) AddOfflineUserDataJobOperations(ctx context.Context, req *servicespb.AddOfflineUserDataJobOperationsRequest, ...) (*servicespb.AddOfflineUserDataJobOperationsResponse, error)
- func (c *OfflineUserDataJobClient) Close() error
- func (c *OfflineUserDataJobClient) Connection() *grpc.ClientConn
- func (c *OfflineUserDataJobClient) CreateOfflineUserDataJob(ctx context.Context, req *servicespb.CreateOfflineUserDataJobRequest, ...) (*servicespb.CreateOfflineUserDataJobResponse, error)
- func (c *OfflineUserDataJobClient) RunOfflineUserDataJob(ctx context.Context, req *servicespb.RunOfflineUserDataJobRequest, ...) (*RunOfflineUserDataJobOperation, error)
- func (c *OfflineUserDataJobClient) RunOfflineUserDataJobOperation(name string) *RunOfflineUserDataJobOperation
- type PaymentsAccountCallOptions
- type PaymentsAccountClient
- type PromoteCampaignDraftOperation
- func (op *PromoteCampaignDraftOperation) Done() bool
- func (op *PromoteCampaignDraftOperation) Metadata() (*emptypb.Empty, error)
- func (op *PromoteCampaignDraftOperation) Name() string
- func (op *PromoteCampaignDraftOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *PromoteCampaignDraftOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type PromoteCampaignExperimentOperation
- func (op *PromoteCampaignExperimentOperation) Done() bool
- func (op *PromoteCampaignExperimentOperation) Metadata() (*emptypb.Empty, error)
- func (op *PromoteCampaignExperimentOperation) Name() string
- func (op *PromoteCampaignExperimentOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *PromoteCampaignExperimentOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type PromoteExperimentOperation
- func (op *PromoteExperimentOperation) Done() bool
- func (op *PromoteExperimentOperation) Metadata() (*servicespb.PromoteExperimentMetadata, error)
- func (op *PromoteExperimentOperation) Name() string
- func (op *PromoteExperimentOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *PromoteExperimentOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type ReachPlanCallOptions
- type ReachPlanClient
- func (c *ReachPlanClient) Close() error
- func (c *ReachPlanClient) Connection() *grpc.ClientConn
- func (c *ReachPlanClient) GenerateProductMixIdeas(ctx context.Context, req *servicespb.GenerateProductMixIdeasRequest, ...) (*servicespb.GenerateProductMixIdeasResponse, error)
- func (c *ReachPlanClient) GenerateReachForecast(ctx context.Context, req *servicespb.GenerateReachForecastRequest, ...) (*servicespb.GenerateReachForecastResponse, error)
- func (c *ReachPlanClient) ListPlannableLocations(ctx context.Context, req *servicespb.ListPlannableLocationsRequest, ...) (*servicespb.ListPlannableLocationsResponse, error)
- func (c *ReachPlanClient) ListPlannableProducts(ctx context.Context, req *servicespb.ListPlannableProductsRequest, ...) (*servicespb.ListPlannableProductsResponse, error)
- type RecommendationCallOptions
- type RecommendationClient
- func (c *RecommendationClient) ApplyRecommendation(ctx context.Context, req *servicespb.ApplyRecommendationRequest, ...) (*servicespb.ApplyRecommendationResponse, error)
- func (c *RecommendationClient) Close() error
- func (c *RecommendationClient) Connection() *grpc.ClientConn
- func (c *RecommendationClient) DismissRecommendation(ctx context.Context, req *servicespb.DismissRecommendationRequest, ...) (*servicespb.DismissRecommendationResponse, error)
- type RemarketingActionCallOptions
- type RemarketingActionClient
- type RunBatchJobOperation
- func (op *RunBatchJobOperation) Done() bool
- func (op *RunBatchJobOperation) Metadata() (*resourcespb.BatchJob_BatchJobMetadata, error)
- func (op *RunBatchJobOperation) Name() string
- func (op *RunBatchJobOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *RunBatchJobOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type RunOfflineUserDataJobOperation
- func (op *RunOfflineUserDataJobOperation) Done() bool
- func (op *RunOfflineUserDataJobOperation) Metadata() (*resourcespb.OfflineUserDataJobMetadata, error)
- func (op *RunOfflineUserDataJobOperation) Name() string
- func (op *RunOfflineUserDataJobOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *RunOfflineUserDataJobOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type ScheduleExperimentOperation
- func (op *ScheduleExperimentOperation) Done() bool
- func (op *ScheduleExperimentOperation) Metadata() (*servicespb.ScheduleExperimentMetadata, error)
- func (op *ScheduleExperimentOperation) Name() string
- func (op *ScheduleExperimentOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *ScheduleExperimentOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type SharedCriterionCallOptions
- type SharedCriterionClient
- type SharedSetCallOptions
- type SharedSetClient
- type SmartCampaignSettingCallOptions
- type SmartCampaignSettingClient
- func (c *SmartCampaignSettingClient) Close() error
- func (c *SmartCampaignSettingClient) Connection() *grpc.ClientConn
- func (c *SmartCampaignSettingClient) MutateSmartCampaignSettings(ctx context.Context, req *servicespb.MutateSmartCampaignSettingsRequest, ...) (*servicespb.MutateSmartCampaignSettingsResponse, error)
- type SmartCampaignSuggestCallOptions
- type SmartCampaignSuggestClient
- func (c *SmartCampaignSuggestClient) Close() error
- func (c *SmartCampaignSuggestClient) Connection() *grpc.ClientConn
- func (c *SmartCampaignSuggestClient) SuggestKeywordThemes(ctx context.Context, req *servicespb.SuggestKeywordThemesRequest, ...) (*servicespb.SuggestKeywordThemesResponse, error)
- func (c *SmartCampaignSuggestClient) SuggestSmartCampaignAd(ctx context.Context, req *servicespb.SuggestSmartCampaignAdRequest, ...) (*servicespb.SuggestSmartCampaignAdResponse, error)
- func (c *SmartCampaignSuggestClient) SuggestSmartCampaignBudgetOptions(ctx context.Context, req *servicespb.SuggestSmartCampaignBudgetOptionsRequest, ...) (*servicespb.SuggestSmartCampaignBudgetOptionsResponse, error)
- type StatusIterator
- type ThirdPartyAppAnalyticsLinkCallOptions
- type ThirdPartyAppAnalyticsLinkClient
- func (c *ThirdPartyAppAnalyticsLinkClient) Close() error
- func (c *ThirdPartyAppAnalyticsLinkClient) Connection() *grpc.ClientConn
- func (c *ThirdPartyAppAnalyticsLinkClient) RegenerateShareableLinkId(ctx context.Context, req *servicespb.RegenerateShareableLinkIdRequest, ...) (*servicespb.RegenerateShareableLinkIdResponse, error)
- type UserDataCallOptions
- type UserDataClient
- type UserListCallOptions
- type UserListClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAuthScopes ¶
func DefaultAuthScopes() []string
DefaultAuthScopes reports the default set of authentication scopes to use with this package.
Types ¶
type AccountBudgetProposalCallOptions ¶
type AccountBudgetProposalCallOptions struct {
MutateAccountBudgetProposal []gax.CallOption
}
AccountBudgetProposalCallOptions contains the retry settings for each method of AccountBudgetProposalClient.
type AccountBudgetProposalClient ¶
type AccountBudgetProposalClient struct { // The call options for this service. CallOptions *AccountBudgetProposalCallOptions // contains filtered or unexported fields }
AccountBudgetProposalClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
A service for managing account-level budgets via proposals.
A proposal is a request to create a new budget or make changes to an existing one.
Mutates: The CREATE operation creates a new proposal. UPDATE operations aren’t supported. The REMOVE operation cancels a pending proposal.
func NewAccountBudgetProposalClient ¶
func NewAccountBudgetProposalClient(ctx context.Context, opts ...option.ClientOption) (*AccountBudgetProposalClient, error)
NewAccountBudgetProposalClient creates a new account budget proposal service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
A service for managing account-level budgets via proposals.
A proposal is a request to create a new budget or make changes to an existing one.
Mutates: The CREATE operation creates a new proposal. UPDATE operations aren’t supported. The REMOVE operation cancels a pending proposal.
func (*AccountBudgetProposalClient) Close ¶
func (c *AccountBudgetProposalClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AccountBudgetProposalClient) Connection ¶
func (c *AccountBudgetProposalClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AccountBudgetProposalClient) MutateAccountBudgetProposal ¶
func (c *AccountBudgetProposalClient) MutateAccountBudgetProposal(ctx context.Context, req *servicespb.MutateAccountBudgetProposalRequest, opts ...gax.CallOption) (*servicespb.MutateAccountBudgetProposalResponse, error)
MutateAccountBudgetProposal creates, updates, or removes account budget proposals. Operation statuses are returned.
List of thrown errors: AccountBudgetProposalError (at ) AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DateError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at ) StringLengthError (at )
type AccountLinkCallOptions ¶
type AccountLinkCallOptions struct { CreateAccountLink []gax.CallOption MutateAccountLink []gax.CallOption }
AccountLinkCallOptions contains the retry settings for each method of AccountLinkClient.
type AccountLinkClient ¶
type AccountLinkClient struct { // The call options for this service. CallOptions *AccountLinkCallOptions // contains filtered or unexported fields }
AccountLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
This service allows management of links between Google Ads accounts and other accounts.
func NewAccountLinkClient ¶
func NewAccountLinkClient(ctx context.Context, opts ...option.ClientOption) (*AccountLinkClient, error)
NewAccountLinkClient creates a new account link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
This service allows management of links between Google Ads accounts and other accounts.
func (*AccountLinkClient) Close ¶
func (c *AccountLinkClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AccountLinkClient) Connection ¶
func (c *AccountLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AccountLinkClient) CreateAccountLink ¶
func (c *AccountLinkClient) CreateAccountLink(ctx context.Context, req *servicespb.CreateAccountLinkRequest, opts ...gax.CallOption) (*servicespb.CreateAccountLinkResponse, error)
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 )
func (*AccountLinkClient) MutateAccountLink ¶
func (c *AccountLinkClient) MutateAccountLink(ctx context.Context, req *servicespb.MutateAccountLinkRequest, opts ...gax.CallOption) (*servicespb.MutateAccountLinkResponse, error)
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 ¶
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 ¶
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 ¶
func (c *AdClient) MutateAds(ctx context.Context, req *servicespb.MutateAdsRequest, opts ...gax.CallOption) (*servicespb.MutateAdsResponse, error)
MutateAds updates ads. Operation statuses are returned. Updating ads is not supported for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd.
List of thrown errors: AdCustomizerError (at ) AdError (at ) AdSharingError (at ) AdxError (at ) AssetError (at ) AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FeedAttributeReferenceError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) ImageError (at ) InternalError (at ) ListOperationError (at ) MediaBundleError (at ) MediaFileError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) PolicyFindingError (at ) PolicyViolationError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )
type AdGroupAdCallOptions ¶
type AdGroupAdCallOptions struct {
MutateAdGroupAds []gax.CallOption
}
AdGroupAdCallOptions contains the retry settings for each method of AdGroupAdClient.
type AdGroupAdClient ¶
type AdGroupAdClient struct { // The call options for this service. CallOptions *AdGroupAdCallOptions // contains filtered or unexported fields }
AdGroupAdClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ads in an ad group.
func NewAdGroupAdClient ¶
func NewAdGroupAdClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAdClient, error)
NewAdGroupAdClient creates a new ad group ad service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ads in an ad group.
func (*AdGroupAdClient) Close ¶
func (c *AdGroupAdClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupAdClient) Connection ¶
func (c *AdGroupAdClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupAdClient) MutateAdGroupAds ¶
func (c *AdGroupAdClient) MutateAdGroupAds(ctx context.Context, req *servicespb.MutateAdGroupAdsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupAdsResponse, error)
MutateAdGroupAds creates, updates, or removes ads. Operation statuses are returned.
List of thrown errors: AdCustomizerError (at ) AdError (at ) AdGroupAdError (at ) AdSharingError (at ) AdxError (at ) AssetError (at ) AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) ContextError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FeedAttributeReferenceError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) ImageError (at ) InternalError (at ) ListOperationError (at ) MediaBundleError (at ) MediaFileError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) PolicyFindingError (at ) PolicyValidationParameterError (at ) PolicyViolationError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )
type AdGroupAdLabelCallOptions ¶
type AdGroupAdLabelCallOptions struct {
MutateAdGroupAdLabels []gax.CallOption
}
AdGroupAdLabelCallOptions contains the retry settings for each method of AdGroupAdLabelClient.
type AdGroupAdLabelClient ¶
type AdGroupAdLabelClient struct { // The call options for this service. CallOptions *AdGroupAdLabelCallOptions // contains filtered or unexported fields }
AdGroupAdLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage labels on ad group ads.
func NewAdGroupAdLabelClient ¶
func NewAdGroupAdLabelClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAdLabelClient, error)
NewAdGroupAdLabelClient creates a new ad group ad label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage labels on ad group ads.
func (*AdGroupAdLabelClient) Close ¶
func (c *AdGroupAdLabelClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupAdLabelClient) Connection ¶
func (c *AdGroupAdLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupAdLabelClient) MutateAdGroupAdLabels ¶
func (c *AdGroupAdLabelClient) MutateAdGroupAdLabels(ctx context.Context, req *servicespb.MutateAdGroupAdLabelsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupAdLabelsResponse, error)
MutateAdGroupAdLabels creates and removes ad group ad labels. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) HeaderError (at ) InternalError (at ) LabelError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at )
type AdGroupAssetCallOptions ¶
type AdGroupAssetCallOptions struct {
MutateAdGroupAssets []gax.CallOption
}
AdGroupAssetCallOptions contains the retry settings for each method of AdGroupAssetClient.
type AdGroupAssetClient ¶
type AdGroupAssetClient struct { // The call options for this service. CallOptions *AdGroupAssetCallOptions // contains filtered or unexported fields }
AdGroupAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad group assets.
func NewAdGroupAssetClient ¶
func NewAdGroupAssetClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAssetClient, error)
NewAdGroupAssetClient creates a new ad group asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad group assets.
func (*AdGroupAssetClient) Close ¶
func (c *AdGroupAssetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupAssetClient) Connection ¶
func (c *AdGroupAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupAssetClient) MutateAdGroupAssets ¶
func (c *AdGroupAssetClient) MutateAdGroupAssets(ctx context.Context, req *servicespb.MutateAdGroupAssetsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupAssetsResponse, error)
MutateAdGroupAssets creates, updates, or removes ad group assets. Operation statuses are returned.
List of thrown errors: AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NotAllowlistedError (at ) QuotaError (at ) RequestError (at )
type AdGroupBidModifierCallOptions ¶
type AdGroupBidModifierCallOptions struct {
MutateAdGroupBidModifiers []gax.CallOption
}
AdGroupBidModifierCallOptions contains the retry settings for each method of AdGroupBidModifierClient.
type AdGroupBidModifierClient ¶
type AdGroupBidModifierClient struct { // The call options for this service. CallOptions *AdGroupBidModifierCallOptions // contains filtered or unexported fields }
AdGroupBidModifierClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad group bid modifiers.
func NewAdGroupBidModifierClient ¶
func NewAdGroupBidModifierClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupBidModifierClient, error)
NewAdGroupBidModifierClient creates a new ad group bid modifier service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad group bid modifiers.
func (*AdGroupBidModifierClient) Close ¶
func (c *AdGroupBidModifierClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupBidModifierClient) Connection ¶
func (c *AdGroupBidModifierClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupBidModifierClient) MutateAdGroupBidModifiers ¶
func (c *AdGroupBidModifierClient) MutateAdGroupBidModifiers(ctx context.Context, req *servicespb.MutateAdGroupBidModifiersRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupBidModifiersResponse, error)
MutateAdGroupBidModifiers creates, updates, or removes ad group bid modifiers. Operation statuses are returned.
List of thrown errors: AdGroupBidModifierError (at ) AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) CriterionError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type AdGroupCallOptions ¶
type AdGroupCallOptions struct {
MutateAdGroups []gax.CallOption
}
AdGroupCallOptions contains the retry settings for each method of AdGroupClient.
type AdGroupClient ¶
type AdGroupClient struct { // The call options for this service. CallOptions *AdGroupCallOptions // contains filtered or unexported fields }
AdGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad groups.
func NewAdGroupClient ¶
func NewAdGroupClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupClient, error)
NewAdGroupClient creates a new ad group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad groups.
func (*AdGroupClient) Close ¶
func (c *AdGroupClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupClient) Connection ¶
func (c *AdGroupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupClient) MutateAdGroups ¶
func (c *AdGroupClient) MutateAdGroups(ctx context.Context, req *servicespb.MutateAdGroupsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupsResponse, error)
MutateAdGroups creates, updates, or removes ad groups. Operation statuses are returned.
List of thrown errors: AdGroupError (at ) AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) BiddingError (at ) BiddingStrategyError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MultiplierError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SettingError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )
type AdGroupCriterionCallOptions ¶
type AdGroupCriterionCallOptions struct {
MutateAdGroupCriteria []gax.CallOption
}
AdGroupCriterionCallOptions contains the retry settings for each method of AdGroupCriterionClient.
type AdGroupCriterionClient ¶
type AdGroupCriterionClient struct { // The call options for this service. CallOptions *AdGroupCriterionCallOptions // contains filtered or unexported fields }
AdGroupCriterionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad group criteria.
func NewAdGroupCriterionClient ¶
func NewAdGroupCriterionClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCriterionClient, error)
NewAdGroupCriterionClient creates a new ad group criterion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad group criteria.
func (*AdGroupCriterionClient) Close ¶
func (c *AdGroupCriterionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupCriterionClient) Connection ¶
func (c *AdGroupCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupCriterionClient) MutateAdGroupCriteria ¶
func (c *AdGroupCriterionClient) MutateAdGroupCriteria(ctx context.Context, req *servicespb.MutateAdGroupCriteriaRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupCriteriaResponse, error)
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 ¶
func (c *AdGroupCriterionCustomizerClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupCriterionCustomizerClient) Connection ¶
func (c *AdGroupCriterionCustomizerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupCriterionCustomizerClient) MutateAdGroupCriterionCustomizers ¶
func (c *AdGroupCriterionCustomizerClient) MutateAdGroupCriterionCustomizers(ctx context.Context, req *servicespb.MutateAdGroupCriterionCustomizersRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupCriterionCustomizersResponse, error)
MutateAdGroupCriterionCustomizers creates, updates or removes ad group criterion customizers. Operation statuses are returned.
type AdGroupCriterionLabelCallOptions ¶
type AdGroupCriterionLabelCallOptions struct {
MutateAdGroupCriterionLabels []gax.CallOption
}
AdGroupCriterionLabelCallOptions contains the retry settings for each method of AdGroupCriterionLabelClient.
type AdGroupCriterionLabelClient ¶
type AdGroupCriterionLabelClient struct { // The call options for this service. CallOptions *AdGroupCriterionLabelCallOptions // contains filtered or unexported fields }
AdGroupCriterionLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage labels on ad group criteria.
func NewAdGroupCriterionLabelClient ¶
func NewAdGroupCriterionLabelClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCriterionLabelClient, error)
NewAdGroupCriterionLabelClient creates a new ad group criterion label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage labels on ad group criteria.
func (*AdGroupCriterionLabelClient) Close ¶
func (c *AdGroupCriterionLabelClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupCriterionLabelClient) Connection ¶
func (c *AdGroupCriterionLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupCriterionLabelClient) MutateAdGroupCriterionLabels ¶
func (c *AdGroupCriterionLabelClient) MutateAdGroupCriterionLabels(ctx context.Context, req *servicespb.MutateAdGroupCriterionLabelsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupCriterionLabelsResponse, error)
MutateAdGroupCriterionLabels creates and removes ad group criterion labels. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type AdGroupCustomizerCallOptions ¶
type AdGroupCustomizerCallOptions struct {
MutateAdGroupCustomizers []gax.CallOption
}
AdGroupCustomizerCallOptions contains the retry settings for each method of AdGroupCustomizerClient.
type AdGroupCustomizerClient ¶
type AdGroupCustomizerClient struct { // The call options for this service. CallOptions *AdGroupCustomizerCallOptions // contains filtered or unexported fields }
AdGroupCustomizerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad group customizer
func NewAdGroupCustomizerClient ¶
func NewAdGroupCustomizerClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupCustomizerClient, error)
NewAdGroupCustomizerClient creates a new ad group customizer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad group customizer
func (*AdGroupCustomizerClient) Close ¶
func (c *AdGroupCustomizerClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupCustomizerClient) Connection ¶
func (c *AdGroupCustomizerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupCustomizerClient) MutateAdGroupCustomizers ¶
func (c *AdGroupCustomizerClient) MutateAdGroupCustomizers(ctx context.Context, req *servicespb.MutateAdGroupCustomizersRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupCustomizersResponse, error)
MutateAdGroupCustomizers creates, updates or removes ad group customizers. Operation statuses are returned.
type AdGroupExtensionSettingCallOptions ¶
type AdGroupExtensionSettingCallOptions struct {
MutateAdGroupExtensionSettings []gax.CallOption
}
AdGroupExtensionSettingCallOptions contains the retry settings for each method of AdGroupExtensionSettingClient.
type AdGroupExtensionSettingClient ¶
type AdGroupExtensionSettingClient struct { // The call options for this service. CallOptions *AdGroupExtensionSettingCallOptions // contains filtered or unexported fields }
AdGroupExtensionSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad group extension settings.
func NewAdGroupExtensionSettingClient ¶
func NewAdGroupExtensionSettingClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupExtensionSettingClient, error)
NewAdGroupExtensionSettingClient creates a new ad group extension setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad group extension settings.
func (*AdGroupExtensionSettingClient) Close ¶
func (c *AdGroupExtensionSettingClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupExtensionSettingClient) Connection ¶
func (c *AdGroupExtensionSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupExtensionSettingClient) MutateAdGroupExtensionSettings ¶
func (c *AdGroupExtensionSettingClient) MutateAdGroupExtensionSettings(ctx context.Context, req *servicespb.MutateAdGroupExtensionSettingsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupExtensionSettingsResponse, error)
MutateAdGroupExtensionSettings creates, updates, or removes ad group extension settings. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionSettingError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )
type AdGroupFeedCallOptions ¶
type AdGroupFeedCallOptions struct {
MutateAdGroupFeeds []gax.CallOption
}
AdGroupFeedCallOptions contains the retry settings for each method of AdGroupFeedClient.
type AdGroupFeedClient ¶
type AdGroupFeedClient struct { // The call options for this service. CallOptions *AdGroupFeedCallOptions // contains filtered or unexported fields }
AdGroupFeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad group feeds.
func NewAdGroupFeedClient ¶
func NewAdGroupFeedClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupFeedClient, error)
NewAdGroupFeedClient creates a new ad group feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad group feeds.
func (*AdGroupFeedClient) Close ¶
func (c *AdGroupFeedClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupFeedClient) Connection ¶
func (c *AdGroupFeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupFeedClient) MutateAdGroupFeeds ¶
func (c *AdGroupFeedClient) MutateAdGroupFeeds(ctx context.Context, req *servicespb.MutateAdGroupFeedsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupFeedsResponse, error)
MutateAdGroupFeeds creates, updates, or removes ad group feeds. Operation statuses are returned.
List of thrown errors: AdGroupFeedError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type AdGroupLabelCallOptions ¶
type AdGroupLabelCallOptions struct {
MutateAdGroupLabels []gax.CallOption
}
AdGroupLabelCallOptions contains the retry settings for each method of AdGroupLabelClient.
type AdGroupLabelClient ¶
type AdGroupLabelClient struct { // The call options for this service. CallOptions *AdGroupLabelCallOptions // contains filtered or unexported fields }
AdGroupLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage labels on ad groups.
func NewAdGroupLabelClient ¶
func NewAdGroupLabelClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupLabelClient, error)
NewAdGroupLabelClient creates a new ad group label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage labels on ad groups.
func (*AdGroupLabelClient) Close ¶
func (c *AdGroupLabelClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupLabelClient) Connection ¶
func (c *AdGroupLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdGroupLabelClient) MutateAdGroupLabels ¶
func (c *AdGroupLabelClient) MutateAdGroupLabels(ctx context.Context, req *servicespb.MutateAdGroupLabelsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupLabelsResponse, error)
MutateAdGroupLabels creates and removes ad group labels. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) LabelError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at )
type AdParameterCallOptions ¶
type AdParameterCallOptions struct {
MutateAdParameters []gax.CallOption
}
AdParameterCallOptions contains the retry settings for each method of AdParameterClient.
type AdParameterClient ¶
type AdParameterClient struct { // The call options for this service. CallOptions *AdParameterCallOptions // contains filtered or unexported fields }
AdParameterClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage ad parameters.
func NewAdParameterClient ¶
func NewAdParameterClient(ctx context.Context, opts ...option.ClientOption) (*AdParameterClient, error)
NewAdParameterClient creates a new ad parameter service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage ad parameters.
func (*AdParameterClient) Close ¶
func (c *AdParameterClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdParameterClient) Connection ¶
func (c *AdParameterClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AdParameterClient) MutateAdParameters ¶
func (c *AdParameterClient) MutateAdParameters(ctx context.Context, req *servicespb.MutateAdParametersRequest, opts ...gax.CallOption) (*servicespb.MutateAdParametersResponse, error)
MutateAdParameters creates, updates, or removes ad parameters. Operation statuses are returned.
List of thrown errors: AdParameterError (at ) AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type AssetCallOptions ¶
type AssetCallOptions struct {
MutateAssets []gax.CallOption
}
AssetCallOptions contains the retry settings for each method of AssetClient.
type AssetClient ¶
type AssetClient struct { // The call options for this service. CallOptions *AssetCallOptions // contains filtered or unexported fields }
AssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage assets. Asset types can be created with AssetService are YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be created with Ad inline.
func NewAssetClient ¶
func NewAssetClient(ctx context.Context, opts ...option.ClientOption) (*AssetClient, error)
NewAssetClient creates a new asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage assets. Asset types can be created with AssetService are YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be created with Ad inline.
func (*AssetClient) Close ¶
func (c *AssetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AssetClient) Connection ¶
func (c *AssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AssetClient) MutateAssets ¶
func (c *AssetClient) MutateAssets(ctx context.Context, req *servicespb.MutateAssetsRequest, opts ...gax.CallOption) (*servicespb.MutateAssetsResponse, error)
MutateAssets creates assets. Operation statuses are returned.
List of thrown errors: AssetError (at ) AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CurrencyCodeError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MediaUploadError (at ) MutateError (at ) NotAllowlistedError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at ) YoutubeVideoRegistrationError (at )
type AssetGroupAssetCallOptions ¶
type AssetGroupAssetCallOptions struct {
MutateAssetGroupAssets []gax.CallOption
}
AssetGroupAssetCallOptions contains the retry settings for each method of AssetGroupAssetClient.
type AssetGroupAssetClient ¶
type AssetGroupAssetClient struct { // The call options for this service. CallOptions *AssetGroupAssetCallOptions // contains filtered or unexported fields }
AssetGroupAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage asset group asset.
func NewAssetGroupAssetClient ¶
func NewAssetGroupAssetClient(ctx context.Context, opts ...option.ClientOption) (*AssetGroupAssetClient, error)
NewAssetGroupAssetClient creates a new asset group asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage asset group asset.
func (*AssetGroupAssetClient) Close ¶
func (c *AssetGroupAssetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AssetGroupAssetClient) Connection ¶
func (c *AssetGroupAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AssetGroupAssetClient) MutateAssetGroupAssets ¶
func (c *AssetGroupAssetClient) MutateAssetGroupAssets(ctx context.Context, req *servicespb.MutateAssetGroupAssetsRequest, opts ...gax.CallOption) (*servicespb.MutateAssetGroupAssetsResponse, error)
MutateAssetGroupAssets creates, updates or removes asset group assets. Operation statuses are returned.
type AssetGroupCallOptions ¶
type AssetGroupCallOptions struct {
MutateAssetGroups []gax.CallOption
}
AssetGroupCallOptions contains the retry settings for each method of AssetGroupClient.
type AssetGroupClient ¶
type AssetGroupClient struct { // The call options for this service. CallOptions *AssetGroupCallOptions // contains filtered or unexported fields }
AssetGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage asset group
func NewAssetGroupClient ¶
func NewAssetGroupClient(ctx context.Context, opts ...option.ClientOption) (*AssetGroupClient, error)
NewAssetGroupClient creates a new asset group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage asset group
func (*AssetGroupClient) Close ¶
func (c *AssetGroupClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AssetGroupClient) Connection ¶
func (c *AssetGroupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AssetGroupClient) MutateAssetGroups ¶
func (c *AssetGroupClient) MutateAssetGroups(ctx context.Context, req *servicespb.MutateAssetGroupsRequest, opts ...gax.CallOption) (*servicespb.MutateAssetGroupsResponse, error)
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 ¶
func (c *AssetGroupListingGroupFilterClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AssetGroupListingGroupFilterClient) Connection ¶
func (c *AssetGroupListingGroupFilterClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AssetGroupListingGroupFilterClient) MutateAssetGroupListingGroupFilters ¶
func (c *AssetGroupListingGroupFilterClient) MutateAssetGroupListingGroupFilters(ctx context.Context, req *servicespb.MutateAssetGroupListingGroupFiltersRequest, opts ...gax.CallOption) (*servicespb.MutateAssetGroupListingGroupFiltersResponse, error)
MutateAssetGroupListingGroupFilters creates, updates or removes asset group listing group filters. Operation statuses are returned.
type AssetGroupSignalCallOptions ¶
type AssetGroupSignalCallOptions struct {
MutateAssetGroupSignals []gax.CallOption
}
AssetGroupSignalCallOptions contains the retry settings for each method of AssetGroupSignalClient.
type AssetGroupSignalClient ¶
type AssetGroupSignalClient struct { // The call options for this service. CallOptions *AssetGroupSignalCallOptions // contains filtered or unexported fields }
AssetGroupSignalClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage asset group signal.
func NewAssetGroupSignalClient ¶
func NewAssetGroupSignalClient(ctx context.Context, opts ...option.ClientOption) (*AssetGroupSignalClient, error)
NewAssetGroupSignalClient creates a new asset group signal service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage asset group signal.
func (*AssetGroupSignalClient) Close ¶
func (c *AssetGroupSignalClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AssetGroupSignalClient) Connection ¶
func (c *AssetGroupSignalClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AssetGroupSignalClient) MutateAssetGroupSignals ¶
func (c *AssetGroupSignalClient) MutateAssetGroupSignals(ctx context.Context, req *servicespb.MutateAssetGroupSignalsRequest, opts ...gax.CallOption) (*servicespb.MutateAssetGroupSignalsResponse, error)
MutateAssetGroupSignals creates or removes asset group signals. Operation statuses are returned.
type AssetSetAssetCallOptions ¶
type AssetSetAssetCallOptions struct {
MutateAssetSetAssets []gax.CallOption
}
AssetSetAssetCallOptions contains the retry settings for each method of AssetSetAssetClient.
type AssetSetAssetClient ¶
type AssetSetAssetClient struct { // The call options for this service. CallOptions *AssetSetAssetCallOptions // contains filtered or unexported fields }
AssetSetAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage asset set asset.
func NewAssetSetAssetClient ¶
func NewAssetSetAssetClient(ctx context.Context, opts ...option.ClientOption) (*AssetSetAssetClient, error)
NewAssetSetAssetClient creates a new asset set asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage asset set asset.
func (*AssetSetAssetClient) Close ¶
func (c *AssetSetAssetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AssetSetAssetClient) Connection ¶
func (c *AssetSetAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AssetSetAssetClient) MutateAssetSetAssets ¶
func (c *AssetSetAssetClient) MutateAssetSetAssets(ctx context.Context, req *servicespb.MutateAssetSetAssetsRequest, opts ...gax.CallOption) (*servicespb.MutateAssetSetAssetsResponse, error)
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 ¶
func (c *AssetSetClient) MutateAssetSets(ctx context.Context, req *servicespb.MutateAssetSetsRequest, opts ...gax.CallOption) (*servicespb.MutateAssetSetsResponse, error)
MutateAssetSets creates, updates or removes asset sets. Operation statuses are returned.
type AudienceCallOptions ¶
type AudienceCallOptions struct {
MutateAudiences []gax.CallOption
}
AudienceCallOptions contains the retry settings for each method of AudienceClient.
type AudienceClient ¶
type AudienceClient struct { // The call options for this service. CallOptions *AudienceCallOptions // contains filtered or unexported fields }
AudienceClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage audiences.
func NewAudienceClient ¶
func NewAudienceClient(ctx context.Context, opts ...option.ClientOption) (*AudienceClient, error)
NewAudienceClient creates a new audience service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage audiences.
func (*AudienceClient) Close ¶
func (c *AudienceClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AudienceClient) Connection ¶
func (c *AudienceClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*AudienceClient) MutateAudiences ¶
func (c *AudienceClient) MutateAudiences(ctx context.Context, req *servicespb.MutateAudiencesRequest, opts ...gax.CallOption) (*servicespb.MutateAudiencesResponse, error)
MutateAudiences creates audiences. Operation statuses are returned.
List of thrown errors: AudienceError (at )
type BatchJobCallOptions ¶
type BatchJobCallOptions struct { MutateBatchJob []gax.CallOption ListBatchJobResults []gax.CallOption RunBatchJob []gax.CallOption AddBatchJobOperations []gax.CallOption }
BatchJobCallOptions contains the retry settings for each method of BatchJobClient.
type BatchJobClient ¶
type BatchJobClient struct { // The call options for this service. CallOptions *BatchJobCallOptions // LROClient is used internally to handle long-running operations. // It is exposed so that its CallOptions can be modified if required. // Users should not Close this client. LROClient *lroauto.OperationsClient // contains filtered or unexported fields }
BatchJobClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage batch jobs.
func NewBatchJobClient ¶
func NewBatchJobClient(ctx context.Context, opts ...option.ClientOption) (*BatchJobClient, error)
NewBatchJobClient creates a new batch job service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage batch jobs.
func (*BatchJobClient) AddBatchJobOperations ¶
func (c *BatchJobClient) AddBatchJobOperations(ctx context.Context, req *servicespb.AddBatchJobOperationsRequest, opts ...gax.CallOption) (*servicespb.AddBatchJobOperationsResponse, error)
AddBatchJobOperations add operations to the batch job.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) BatchJobError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )
func (*BatchJobClient) Close ¶
func (c *BatchJobClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*BatchJobClient) Connection ¶
func (c *BatchJobClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*BatchJobClient) ListBatchJobResults ¶
func (c *BatchJobClient) ListBatchJobResults(ctx context.Context, req *servicespb.ListBatchJobResultsRequest, opts ...gax.CallOption) *BatchJobResultIterator
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 ¶
func (c *BatchJobClient) MutateBatchJob(ctx context.Context, req *servicespb.MutateBatchJobRequest, opts ...gax.CallOption) (*servicespb.MutateBatchJobResponse, error)
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 ¶
func (c *BatchJobClient) RunBatchJob(ctx context.Context, req *servicespb.RunBatchJobRequest, opts ...gax.CallOption) (*RunBatchJobOperation, error)
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 ¶
func (it *BatchJobResultIterator) Next() (*servicespb.BatchJobResult, 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 (*BatchJobResultIterator) PageInfo ¶
func (it *BatchJobResultIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type BiddingDataExclusionCallOptions ¶
type BiddingDataExclusionCallOptions struct {
MutateBiddingDataExclusions []gax.CallOption
}
BiddingDataExclusionCallOptions contains the retry settings for each method of BiddingDataExclusionClient.
type BiddingDataExclusionClient ¶
type BiddingDataExclusionClient struct { // The call options for this service. CallOptions *BiddingDataExclusionCallOptions // contains filtered or unexported fields }
BiddingDataExclusionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage bidding data exclusions.
func NewBiddingDataExclusionClient ¶
func NewBiddingDataExclusionClient(ctx context.Context, opts ...option.ClientOption) (*BiddingDataExclusionClient, error)
NewBiddingDataExclusionClient creates a new bidding data exclusion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage bidding data exclusions.
func (*BiddingDataExclusionClient) Close ¶
func (c *BiddingDataExclusionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*BiddingDataExclusionClient) Connection ¶
func (c *BiddingDataExclusionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*BiddingDataExclusionClient) MutateBiddingDataExclusions ¶
func (c *BiddingDataExclusionClient) MutateBiddingDataExclusions(ctx context.Context, req *servicespb.MutateBiddingDataExclusionsRequest, opts ...gax.CallOption) (*servicespb.MutateBiddingDataExclusionsResponse, error)
MutateBiddingDataExclusions creates, updates, or removes data exclusions. Operation statuses are returned.
type BiddingSeasonalityAdjustmentCallOptions ¶
type BiddingSeasonalityAdjustmentCallOptions struct {
MutateBiddingSeasonalityAdjustments []gax.CallOption
}
BiddingSeasonalityAdjustmentCallOptions contains the retry settings for each method of BiddingSeasonalityAdjustmentClient.
type BiddingSeasonalityAdjustmentClient ¶
type BiddingSeasonalityAdjustmentClient struct { // The call options for this service. CallOptions *BiddingSeasonalityAdjustmentCallOptions // contains filtered or unexported fields }
BiddingSeasonalityAdjustmentClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage bidding seasonality adjustments.
func NewBiddingSeasonalityAdjustmentClient ¶
func NewBiddingSeasonalityAdjustmentClient(ctx context.Context, opts ...option.ClientOption) (*BiddingSeasonalityAdjustmentClient, error)
NewBiddingSeasonalityAdjustmentClient creates a new bidding seasonality adjustment service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage bidding seasonality adjustments.
func (*BiddingSeasonalityAdjustmentClient) Close ¶
func (c *BiddingSeasonalityAdjustmentClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*BiddingSeasonalityAdjustmentClient) Connection ¶
func (c *BiddingSeasonalityAdjustmentClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*BiddingSeasonalityAdjustmentClient) MutateBiddingSeasonalityAdjustments ¶
func (c *BiddingSeasonalityAdjustmentClient) MutateBiddingSeasonalityAdjustments(ctx context.Context, req *servicespb.MutateBiddingSeasonalityAdjustmentsRequest, opts ...gax.CallOption) (*servicespb.MutateBiddingSeasonalityAdjustmentsResponse, error)
MutateBiddingSeasonalityAdjustments creates, updates, or removes seasonality adjustments. Operation statuses are returned.
type BiddingStrategyCallOptions ¶
type BiddingStrategyCallOptions struct {
MutateBiddingStrategies []gax.CallOption
}
BiddingStrategyCallOptions contains the retry settings for each method of BiddingStrategyClient.
type BiddingStrategyClient ¶
type BiddingStrategyClient struct { // The call options for this service. CallOptions *BiddingStrategyCallOptions // contains filtered or unexported fields }
BiddingStrategyClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage bidding strategies.
func NewBiddingStrategyClient ¶
func NewBiddingStrategyClient(ctx context.Context, opts ...option.ClientOption) (*BiddingStrategyClient, error)
NewBiddingStrategyClient creates a new bidding strategy service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage bidding strategies.
func (*BiddingStrategyClient) Close ¶
func (c *BiddingStrategyClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*BiddingStrategyClient) Connection ¶
func (c *BiddingStrategyClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*BiddingStrategyClient) MutateBiddingStrategies ¶
func (c *BiddingStrategyClient) MutateBiddingStrategies(ctx context.Context, req *servicespb.MutateBiddingStrategiesRequest, opts ...gax.CallOption) (*servicespb.MutateBiddingStrategiesResponse, error)
MutateBiddingStrategies creates, updates, or removes bidding strategies. Operation statuses are returned.
List of thrown errors: AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) BiddingError (at ) BiddingStrategyError (at ) ContextError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type BillingSetupCallOptions ¶
type BillingSetupCallOptions struct {
MutateBillingSetup []gax.CallOption
}
BillingSetupCallOptions contains the retry settings for each method of BillingSetupClient.
type BillingSetupClient ¶
type BillingSetupClient struct { // The call options for this service. CallOptions *BillingSetupCallOptions // contains filtered or unexported fields }
BillingSetupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
A service for designating the business entity responsible for accrued costs.
A billing setup is associated with a payments account. Billing-related activity for all billing setups associated with a particular payments account will appear on a single invoice generated monthly.
Mutates: The REMOVE operation cancels a pending billing setup. The CREATE operation creates a new billing setup.
func NewBillingSetupClient ¶
func NewBillingSetupClient(ctx context.Context, opts ...option.ClientOption) (*BillingSetupClient, error)
NewBillingSetupClient creates a new billing setup service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
A service for designating the business entity responsible for accrued costs.
A billing setup is associated with a payments account. Billing-related activity for all billing setups associated with a particular payments account will appear on a single invoice generated monthly.
Mutates: The REMOVE operation cancels a pending billing setup. The CREATE operation creates a new billing setup.
func (*BillingSetupClient) Close ¶
func (c *BillingSetupClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*BillingSetupClient) Connection ¶
func (c *BillingSetupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*BillingSetupClient) MutateBillingSetup ¶
func (c *BillingSetupClient) MutateBillingSetup(ctx context.Context, req *servicespb.MutateBillingSetupRequest, opts ...gax.CallOption) (*servicespb.MutateBillingSetupResponse, error)
MutateBillingSetup creates a billing setup, or cancels an existing billing setup.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) BillingSetupError (at ) DateError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type CallOptions ¶
type CallOptions struct { Search []gax.CallOption SearchStream []gax.CallOption Mutate []gax.CallOption }
CallOptions contains the retry settings for each method of Client.
type CampaignAssetCallOptions ¶
type CampaignAssetCallOptions struct {
MutateCampaignAssets []gax.CallOption
}
CampaignAssetCallOptions contains the retry settings for each method of CampaignAssetClient.
type CampaignAssetClient ¶
type CampaignAssetClient struct { // The call options for this service. CallOptions *CampaignAssetCallOptions // contains filtered or unexported fields }
CampaignAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign assets.
func NewCampaignAssetClient ¶
func NewCampaignAssetClient(ctx context.Context, opts ...option.ClientOption) (*CampaignAssetClient, error)
NewCampaignAssetClient creates a new campaign asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign assets.
func (*CampaignAssetClient) Close ¶
func (c *CampaignAssetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignAssetClient) Connection ¶
func (c *CampaignAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignAssetClient) MutateCampaignAssets ¶
func (c *CampaignAssetClient) MutateCampaignAssets(ctx context.Context, req *servicespb.MutateCampaignAssetsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignAssetsResponse, error)
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 ¶
func (c *CampaignAssetSetClient) MutateCampaignAssetSets(ctx context.Context, req *servicespb.MutateCampaignAssetSetsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignAssetSetsResponse, error)
MutateCampaignAssetSets creates, updates or removes campaign asset sets. Operation statuses are returned.
type CampaignBidModifierCallOptions ¶
type CampaignBidModifierCallOptions struct {
MutateCampaignBidModifiers []gax.CallOption
}
CampaignBidModifierCallOptions contains the retry settings for each method of CampaignBidModifierClient.
type CampaignBidModifierClient ¶
type CampaignBidModifierClient struct { // The call options for this service. CallOptions *CampaignBidModifierCallOptions // contains filtered or unexported fields }
CampaignBidModifierClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign bid modifiers.
func NewCampaignBidModifierClient ¶
func NewCampaignBidModifierClient(ctx context.Context, opts ...option.ClientOption) (*CampaignBidModifierClient, error)
NewCampaignBidModifierClient creates a new campaign bid modifier service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign bid modifiers.
func (*CampaignBidModifierClient) Close ¶
func (c *CampaignBidModifierClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignBidModifierClient) Connection ¶
func (c *CampaignBidModifierClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignBidModifierClient) MutateCampaignBidModifiers ¶
func (c *CampaignBidModifierClient) MutateCampaignBidModifiers(ctx context.Context, req *servicespb.MutateCampaignBidModifiersRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignBidModifiersResponse, error)
MutateCampaignBidModifiers creates, updates, or removes campaign bid modifiers. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ContextError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type CampaignBudgetCallOptions ¶
type CampaignBudgetCallOptions struct {
MutateCampaignBudgets []gax.CallOption
}
CampaignBudgetCallOptions contains the retry settings for each method of CampaignBudgetClient.
type CampaignBudgetClient ¶
type CampaignBudgetClient struct { // The call options for this service. CallOptions *CampaignBudgetCallOptions // contains filtered or unexported fields }
CampaignBudgetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign budgets.
func NewCampaignBudgetClient ¶
func NewCampaignBudgetClient(ctx context.Context, opts ...option.ClientOption) (*CampaignBudgetClient, error)
NewCampaignBudgetClient creates a new campaign budget service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign budgets.
func (*CampaignBudgetClient) Close ¶
func (c *CampaignBudgetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignBudgetClient) Connection ¶
func (c *CampaignBudgetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignBudgetClient) MutateCampaignBudgets ¶
func (c *CampaignBudgetClient) MutateCampaignBudgets(ctx context.Context, req *servicespb.MutateCampaignBudgetsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignBudgetsResponse, error)
MutateCampaignBudgets creates, updates, or removes campaign budgets. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignBudgetError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) OperationAccessDeniedError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) StringLengthError (at )
type CampaignCallOptions ¶
type CampaignCallOptions struct {
MutateCampaigns []gax.CallOption
}
CampaignCallOptions contains the retry settings for each method of CampaignClient.
type CampaignClient ¶
type CampaignClient struct { // The call options for this service. CallOptions *CampaignCallOptions // contains filtered or unexported fields }
CampaignClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaigns.
func NewCampaignClient ¶
func NewCampaignClient(ctx context.Context, opts ...option.ClientOption) (*CampaignClient, error)
NewCampaignClient creates a new campaign service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaigns.
func (*CampaignClient) Close ¶
func (c *CampaignClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignClient) Connection ¶
func (c *CampaignClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignClient) MutateCampaigns ¶
func (c *CampaignClient) MutateCampaigns(ctx context.Context, req *servicespb.MutateCampaignsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignsResponse, error)
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 ¶
func (c *CampaignConversionGoalClient) Close() error
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 ¶
func (c *CampaignConversionGoalClient) MutateCampaignConversionGoals(ctx context.Context, req *servicespb.MutateCampaignConversionGoalsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignConversionGoalsResponse, error)
MutateCampaignConversionGoals creates, updates or removes campaign conversion goals. Operation statuses are returned.
type CampaignCriterionCallOptions ¶
type CampaignCriterionCallOptions struct {
MutateCampaignCriteria []gax.CallOption
}
CampaignCriterionCallOptions contains the retry settings for each method of CampaignCriterionClient.
type CampaignCriterionClient ¶
type CampaignCriterionClient struct { // The call options for this service. CallOptions *CampaignCriterionCallOptions // contains filtered or unexported fields }
CampaignCriterionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign criteria.
func NewCampaignCriterionClient ¶
func NewCampaignCriterionClient(ctx context.Context, opts ...option.ClientOption) (*CampaignCriterionClient, error)
NewCampaignCriterionClient creates a new campaign criterion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign criteria.
func (*CampaignCriterionClient) Close ¶
func (c *CampaignCriterionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignCriterionClient) Connection ¶
func (c *CampaignCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignCriterionClient) MutateCampaignCriteria ¶
func (c *CampaignCriterionClient) MutateCampaignCriteria(ctx context.Context, req *servicespb.MutateCampaignCriteriaRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignCriteriaResponse, error)
MutateCampaignCriteria creates, updates, or removes criteria. Operation statuses are returned.
List of thrown errors: AdxError (at ) AuthenticationError (at ) AuthorizationError (at ) CampaignCriterionError (at ) CollectionSizeError (at ) ContextError (at ) CriterionError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RegionCodeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type CampaignCustomizerCallOptions ¶
type CampaignCustomizerCallOptions struct {
MutateCampaignCustomizers []gax.CallOption
}
CampaignCustomizerCallOptions contains the retry settings for each method of CampaignCustomizerClient.
type CampaignCustomizerClient ¶
type CampaignCustomizerClient struct { // The call options for this service. CallOptions *CampaignCustomizerCallOptions // contains filtered or unexported fields }
CampaignCustomizerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign customizer
func NewCampaignCustomizerClient ¶
func NewCampaignCustomizerClient(ctx context.Context, opts ...option.ClientOption) (*CampaignCustomizerClient, error)
NewCampaignCustomizerClient creates a new campaign customizer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign customizer
func (*CampaignCustomizerClient) Close ¶
func (c *CampaignCustomizerClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignCustomizerClient) Connection ¶
func (c *CampaignCustomizerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignCustomizerClient) MutateCampaignCustomizers ¶
func (c *CampaignCustomizerClient) MutateCampaignCustomizers(ctx context.Context, req *servicespb.MutateCampaignCustomizersRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignCustomizersResponse, error)
MutateCampaignCustomizers creates, updates or removes campaign customizers. Operation statuses are returned.
type CampaignDraftCallOptions ¶
type CampaignDraftCallOptions struct { MutateCampaignDrafts []gax.CallOption PromoteCampaignDraft []gax.CallOption ListCampaignDraftAsyncErrors []gax.CallOption }
CampaignDraftCallOptions contains the retry settings for each method of CampaignDraftClient.
type CampaignDraftClient ¶
type CampaignDraftClient struct { // The call options for this service. CallOptions *CampaignDraftCallOptions // LROClient is used internally to handle long-running operations. // It is exposed so that its CallOptions can be modified if required. // Users should not Close this client. LROClient *lroauto.OperationsClient // contains filtered or unexported fields }
CampaignDraftClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign drafts.
func NewCampaignDraftClient ¶
func NewCampaignDraftClient(ctx context.Context, opts ...option.ClientOption) (*CampaignDraftClient, error)
NewCampaignDraftClient creates a new campaign draft service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign drafts.
func (*CampaignDraftClient) Close ¶
func (c *CampaignDraftClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignDraftClient) Connection ¶
func (c *CampaignDraftClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignDraftClient) ListCampaignDraftAsyncErrors ¶
func (c *CampaignDraftClient) ListCampaignDraftAsyncErrors(ctx context.Context, req *servicespb.ListCampaignDraftAsyncErrorsRequest, opts ...gax.CallOption) *StatusIterator
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 ¶
func (c *CampaignDraftClient) MutateCampaignDrafts(ctx context.Context, req *servicespb.MutateCampaignDraftsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignDraftsResponse, error)
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 ¶
func (c *CampaignDraftClient) PromoteCampaignDraft(ctx context.Context, req *servicespb.PromoteCampaignDraftRequest, opts ...gax.CallOption) (*PromoteCampaignDraftOperation, error)
PromoteCampaignDraft promotes the changes in a draft back to the base campaign.
This method returns a Long Running Operation (LRO) indicating if the Promote is done. Use [Operations.GetOperation] to poll the LRO until it is done. Only a done status is returned in the response. See the status in the Campaign Draft resource to determine if the promotion was successful. If the LRO failed, use [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v10.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of error reasons.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignDraftError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*CampaignDraftClient) PromoteCampaignDraftOperation ¶
func (c *CampaignDraftClient) PromoteCampaignDraftOperation(name string) *PromoteCampaignDraftOperation
PromoteCampaignDraftOperation returns a new PromoteCampaignDraftOperation from a given name. The name must be that of a previously created PromoteCampaignDraftOperation, possibly from a different process.
type CampaignExperimentCallOptions ¶
type CampaignExperimentCallOptions struct { CreateCampaignExperiment []gax.CallOption MutateCampaignExperiments []gax.CallOption GraduateCampaignExperiment []gax.CallOption PromoteCampaignExperiment []gax.CallOption EndCampaignExperiment []gax.CallOption ListCampaignExperimentAsyncErrors []gax.CallOption }
CampaignExperimentCallOptions contains the retry settings for each method of CampaignExperimentClient.
type CampaignExperimentClient ¶
type CampaignExperimentClient struct { // The call options for this service. CallOptions *CampaignExperimentCallOptions // LROClient is used internally to handle long-running operations. // It is exposed so that its CallOptions can be modified if required. // Users should not Close this client. LROClient *lroauto.OperationsClient // contains filtered or unexported fields }
CampaignExperimentClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
CampaignExperimentService manages the life cycle of campaign experiments. It is used to create new experiments from drafts, modify experiment properties, promote changes in an experiment back to its base campaign, graduate experiments into new stand-alone campaigns, and to remove an experiment.
An experiment consists of two variants or arms - the base campaign and the experiment campaign, directing a fixed share of traffic to each arm. A campaign experiment is created from a draft of changes to the base campaign and will be a snapshot of changes in the draft at the time of creation.
func NewCampaignExperimentClient ¶
func NewCampaignExperimentClient(ctx context.Context, opts ...option.ClientOption) (*CampaignExperimentClient, error)
NewCampaignExperimentClient creates a new campaign experiment service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
CampaignExperimentService manages the life cycle of campaign experiments. It is used to create new experiments from drafts, modify experiment properties, promote changes in an experiment back to its base campaign, graduate experiments into new stand-alone campaigns, and to remove an experiment.
An experiment consists of two variants or arms - the base campaign and the experiment campaign, directing a fixed share of traffic to each arm. A campaign experiment is created from a draft of changes to the base campaign and will be a snapshot of changes in the draft at the time of creation.
func (*CampaignExperimentClient) Close ¶
func (c *CampaignExperimentClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignExperimentClient) Connection ¶
func (c *CampaignExperimentClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignExperimentClient) CreateCampaignExperiment ¶
func (c *CampaignExperimentClient) CreateCampaignExperiment(ctx context.Context, req *servicespb.CreateCampaignExperimentRequest, opts ...gax.CallOption) (*CreateCampaignExperimentOperation, error)
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 ¶
func (c *CampaignExperimentClient) EndCampaignExperiment(ctx context.Context, req *servicespb.EndCampaignExperimentRequest, opts ...gax.CallOption) error
EndCampaignExperiment immediately ends a campaign experiment, changing the experiment’s scheduled end date and without waiting for end of day. End date is updated to be the time of the request.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*CampaignExperimentClient) GraduateCampaignExperiment ¶
func (c *CampaignExperimentClient) GraduateCampaignExperiment(ctx context.Context, req *servicespb.GraduateCampaignExperimentRequest, opts ...gax.CallOption) (*servicespb.GraduateCampaignExperimentResponse, error)
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 ¶
func (c *CampaignExperimentClient) ListCampaignExperimentAsyncErrors(ctx context.Context, req *servicespb.ListCampaignExperimentAsyncErrorsRequest, opts ...gax.CallOption) *StatusIterator
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 ¶
func (c *CampaignExperimentClient) MutateCampaignExperiments(ctx context.Context, req *servicespb.MutateCampaignExperimentsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignExperimentsResponse, error)
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 ¶
func (c *CampaignExperimentClient) PromoteCampaignExperiment(ctx context.Context, req *servicespb.PromoteCampaignExperimentRequest, opts ...gax.CallOption) (*PromoteCampaignExperimentOperation, error)
PromoteCampaignExperiment promotes the changes in a experiment campaign back to the base campaign.
The campaign experiment is updated immediately with status PROMOTING. This method return a long running operation that tracks the promoting of the experiment campaign. If the promoting fails, a list of errors can be retrieved using the ListCampaignExperimentAsyncErrors method.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*CampaignExperimentClient) PromoteCampaignExperimentOperation ¶
func (c *CampaignExperimentClient) PromoteCampaignExperimentOperation(name string) *PromoteCampaignExperimentOperation
PromoteCampaignExperimentOperation returns a new PromoteCampaignExperimentOperation from a given name. The name must be that of a previously created PromoteCampaignExperimentOperation, possibly from a different process.
type CampaignExtensionSettingCallOptions ¶
type CampaignExtensionSettingCallOptions struct {
MutateCampaignExtensionSettings []gax.CallOption
}
CampaignExtensionSettingCallOptions contains the retry settings for each method of CampaignExtensionSettingClient.
type CampaignExtensionSettingClient ¶
type CampaignExtensionSettingClient struct { // The call options for this service. CallOptions *CampaignExtensionSettingCallOptions // contains filtered or unexported fields }
CampaignExtensionSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign extension settings.
func NewCampaignExtensionSettingClient ¶
func NewCampaignExtensionSettingClient(ctx context.Context, opts ...option.ClientOption) (*CampaignExtensionSettingClient, error)
NewCampaignExtensionSettingClient creates a new campaign extension setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign extension settings.
func (*CampaignExtensionSettingClient) Close ¶
func (c *CampaignExtensionSettingClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignExtensionSettingClient) Connection ¶
func (c *CampaignExtensionSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignExtensionSettingClient) MutateCampaignExtensionSettings ¶
func (c *CampaignExtensionSettingClient) MutateCampaignExtensionSettings(ctx context.Context, req *servicespb.MutateCampaignExtensionSettingsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignExtensionSettingsResponse, error)
MutateCampaignExtensionSettings creates, updates, or removes campaign extension settings. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionSettingError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )
type CampaignFeedCallOptions ¶
type CampaignFeedCallOptions struct {
MutateCampaignFeeds []gax.CallOption
}
CampaignFeedCallOptions contains the retry settings for each method of CampaignFeedClient.
type CampaignFeedClient ¶
type CampaignFeedClient struct { // The call options for this service. CallOptions *CampaignFeedCallOptions // contains filtered or unexported fields }
CampaignFeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign feeds.
func NewCampaignFeedClient ¶
func NewCampaignFeedClient(ctx context.Context, opts ...option.ClientOption) (*CampaignFeedClient, error)
NewCampaignFeedClient creates a new campaign feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign feeds.
func (*CampaignFeedClient) Close ¶
func (c *CampaignFeedClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignFeedClient) Connection ¶
func (c *CampaignFeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignFeedClient) MutateCampaignFeeds ¶
func (c *CampaignFeedClient) MutateCampaignFeeds(ctx context.Context, req *servicespb.MutateCampaignFeedsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignFeedsResponse, error)
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 {
MutateCampaignLabels []gax.CallOption
}
CampaignLabelCallOptions contains the retry settings for each method of CampaignLabelClient.
type CampaignLabelClient ¶
type CampaignLabelClient struct { // The call options for this service. CallOptions *CampaignLabelCallOptions // contains filtered or unexported fields }
CampaignLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage labels on campaigns.
func NewCampaignLabelClient ¶
func NewCampaignLabelClient(ctx context.Context, opts ...option.ClientOption) (*CampaignLabelClient, error)
NewCampaignLabelClient creates a new campaign label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage labels on campaigns.
func (*CampaignLabelClient) Close ¶
func (c *CampaignLabelClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignLabelClient) Connection ¶
func (c *CampaignLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignLabelClient) MutateCampaignLabels ¶
func (c *CampaignLabelClient) MutateCampaignLabels(ctx context.Context, req *servicespb.MutateCampaignLabelsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignLabelsResponse, error)
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 {
}CampaignSharedSetCallOptions contains the retry settings for each method of CampaignSharedSetClient.
type CampaignSharedSetClient ¶
type CampaignSharedSetClient struct { CampaignSharedSetCallOptions // contains filtered or unexported fields }CallOptions *
CampaignSharedSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign shared sets.
func NewCampaignSharedSetClient ¶
func NewCampaignSharedSetClient(ctx context.Context, opts ...option.ClientOption) (*CampaignSharedSetClient, error)
NewCampaignSharedSetClient creates a new campaign shared set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign shared sets.
func (*CampaignSharedSetClient) Close ¶
func (c *CampaignSharedSetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignSharedSetClient) Connection ¶
func (c *CampaignSharedSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CampaignSharedSetClient) MutateCampaignSharedSets ¶
func (c *CampaignSharedSetClient) MutateCampaignSharedSets(ctx context.Context, req *servicespb.MutateCampaignSharedSetsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignSharedSetsResponse, error)
MutateCampaignSharedSets creates or removes campaign shared sets. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignSharedSetError (at ) ContextError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type Client ¶
type Client struct { // The call options for this service. CallOptions *CallOptions // contains filtered or unexported fields }
Client is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to fetch data and metrics across resources.
func NewClient ¶
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 ¶
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 ¶
func (c *Client) Mutate(ctx context.Context, req *servicespb.MutateGoogleAdsRequest, opts ...gax.CallOption) (*servicespb.MutateGoogleAdsResponse, error)
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 ¶
func (c *Client) Search(ctx context.Context, req *servicespb.SearchGoogleAdsRequest, opts ...gax.CallOption) *GoogleAdsRowIterator
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 ¶
func (c *Client) SearchStream(ctx context.Context, req *servicespb.SearchGoogleAdsStreamRequest, opts ...gax.CallOption) (servicespb.GoogleAdsService_SearchStreamClient, error)
SearchStream returns all rows that match the search stream query.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ChangeEventError (at ) ChangeStatusError (at ) ClickViewError (at ) HeaderError (at ) InternalError (at ) QueryError (at ) QuotaError (at ) RequestError (at )
type ConversionActionCallOptions ¶
type ConversionActionCallOptions struct {
MutateConversionActions []gax.CallOption
}
ConversionActionCallOptions contains the retry settings for each method of ConversionActionClient.
type ConversionActionClient ¶
type ConversionActionClient struct { // The call options for this service. CallOptions *ConversionActionCallOptions // contains filtered or unexported fields }
ConversionActionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage conversion actions.
func NewConversionActionClient ¶
func NewConversionActionClient(ctx context.Context, opts ...option.ClientOption) (*ConversionActionClient, error)
NewConversionActionClient creates a new conversion action service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage conversion actions.
func (*ConversionActionClient) Close ¶
func (c *ConversionActionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ConversionActionClient) Connection ¶
func (c *ConversionActionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ConversionActionClient) MutateConversionActions ¶
func (c *ConversionActionClient) MutateConversionActions(ctx context.Context, req *servicespb.MutateConversionActionsRequest, opts ...gax.CallOption) (*servicespb.MutateConversionActionsResponse, error)
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 ¶
func (c *ConversionAdjustmentUploadClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ConversionAdjustmentUploadClient) Connection ¶
func (c *ConversionAdjustmentUploadClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ConversionAdjustmentUploadClient) UploadConversionAdjustments ¶
func (c *ConversionAdjustmentUploadClient) UploadConversionAdjustments(ctx context.Context, req *servicespb.UploadConversionAdjustmentsRequest, opts ...gax.CallOption) (*servicespb.UploadConversionAdjustmentsResponse, error)
UploadConversionAdjustments processes the given conversion adjustments.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) PartialFailureError (at ) QuotaError (at ) RequestError (at )
type ConversionCustomVariableCallOptions ¶
type ConversionCustomVariableCallOptions struct {
MutateConversionCustomVariables []gax.CallOption
}
ConversionCustomVariableCallOptions contains the retry settings for each method of ConversionCustomVariableClient.
type ConversionCustomVariableClient ¶
type ConversionCustomVariableClient struct { // The call options for this service. CallOptions *ConversionCustomVariableCallOptions // contains filtered or unexported fields }
ConversionCustomVariableClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage conversion custom variables.
func NewConversionCustomVariableClient ¶
func NewConversionCustomVariableClient(ctx context.Context, opts ...option.ClientOption) (*ConversionCustomVariableClient, error)
NewConversionCustomVariableClient creates a new conversion custom variable service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage conversion custom variables.
func (*ConversionCustomVariableClient) Close ¶
func (c *ConversionCustomVariableClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ConversionCustomVariableClient) Connection ¶
func (c *ConversionCustomVariableClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ConversionCustomVariableClient) MutateConversionCustomVariables ¶
func (c *ConversionCustomVariableClient) MutateConversionCustomVariables(ctx context.Context, req *servicespb.MutateConversionCustomVariablesRequest, opts ...gax.CallOption) (*servicespb.MutateConversionCustomVariablesResponse, error)
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 ¶
func (c *ConversionGoalCampaignConfigClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ConversionGoalCampaignConfigClient) Connection ¶
func (c *ConversionGoalCampaignConfigClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ConversionGoalCampaignConfigClient) MutateConversionGoalCampaignConfigs ¶
func (c *ConversionGoalCampaignConfigClient) MutateConversionGoalCampaignConfigs(ctx context.Context, req *servicespb.MutateConversionGoalCampaignConfigsRequest, opts ...gax.CallOption) (*servicespb.MutateConversionGoalCampaignConfigsResponse, error)
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 ¶
func (c *ConversionUploadClient) UploadCallConversions(ctx context.Context, req *servicespb.UploadCallConversionsRequest, opts ...gax.CallOption) (*servicespb.UploadCallConversionsResponse, error)
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 ¶
func (c *ConversionUploadClient) UploadClickConversions(ctx context.Context, req *servicespb.UploadClickConversionsRequest, opts ...gax.CallOption) (*servicespb.UploadClickConversionsResponse, error)
UploadClickConversions processes the given click conversions.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ConversionUploadError (at ) HeaderError (at ) InternalError (at ) PartialFailureError (at ) QuotaError (at ) RequestError (at )
type ConversionValueRuleCallOptions ¶
type ConversionValueRuleCallOptions struct {
MutateConversionValueRules []gax.CallOption
}
ConversionValueRuleCallOptions contains the retry settings for each method of ConversionValueRuleClient.
type ConversionValueRuleClient ¶
type ConversionValueRuleClient struct { // The call options for this service. CallOptions *ConversionValueRuleCallOptions // contains filtered or unexported fields }
ConversionValueRuleClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage conversion value rules.
func NewConversionValueRuleClient ¶
func NewConversionValueRuleClient(ctx context.Context, opts ...option.ClientOption) (*ConversionValueRuleClient, error)
NewConversionValueRuleClient creates a new conversion value rule service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage conversion value rules.
func (*ConversionValueRuleClient) Close ¶
func (c *ConversionValueRuleClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ConversionValueRuleClient) Connection ¶
func (c *ConversionValueRuleClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ConversionValueRuleClient) MutateConversionValueRules ¶
func (c *ConversionValueRuleClient) MutateConversionValueRules(ctx context.Context, req *servicespb.MutateConversionValueRulesRequest, opts ...gax.CallOption) (*servicespb.MutateConversionValueRulesResponse, error)
MutateConversionValueRules creates, updates, or removes conversion value rules. Operation statuses are returned.
type ConversionValueRuleSetCallOptions ¶
type ConversionValueRuleSetCallOptions struct {
MutateConversionValueRuleSets []gax.CallOption
}
ConversionValueRuleSetCallOptions contains the retry settings for each method of ConversionValueRuleSetClient.
type ConversionValueRuleSetClient ¶
type ConversionValueRuleSetClient struct { // The call options for this service. CallOptions *ConversionValueRuleSetCallOptions // contains filtered or unexported fields }
ConversionValueRuleSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage conversion value rule sets.
func NewConversionValueRuleSetClient ¶
func NewConversionValueRuleSetClient(ctx context.Context, opts ...option.ClientOption) (*ConversionValueRuleSetClient, error)
NewConversionValueRuleSetClient creates a new conversion value rule set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage conversion value rule sets.
func (*ConversionValueRuleSetClient) Close ¶
func (c *ConversionValueRuleSetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ConversionValueRuleSetClient) Connection ¶
func (c *ConversionValueRuleSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ConversionValueRuleSetClient) MutateConversionValueRuleSets ¶
func (c *ConversionValueRuleSetClient) MutateConversionValueRuleSets(ctx context.Context, req *servicespb.MutateConversionValueRuleSetsRequest, opts ...gax.CallOption) (*servicespb.MutateConversionValueRuleSetsResponse, error)
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 ¶
func (op *CreateCampaignExperimentOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateCampaignExperimentOperation) Metadata ¶
func (op *CreateCampaignExperimentOperation) Metadata() (*servicespb.CreateCampaignExperimentMetadata, 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 (*CreateCampaignExperimentOperation) Name ¶
func (op *CreateCampaignExperimentOperation) 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 (*CreateCampaignExperimentOperation) Poll ¶
func (op *CreateCampaignExperimentOperation) 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 (*CreateCampaignExperimentOperation) Wait ¶
func (op *CreateCampaignExperimentOperation) 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 CustomAudienceCallOptions ¶
type CustomAudienceCallOptions struct {
MutateCustomAudiences []gax.CallOption
}
CustomAudienceCallOptions contains the retry settings for each method of CustomAudienceClient.
type CustomAudienceClient ¶
type CustomAudienceClient struct { // The call options for this service. CallOptions *CustomAudienceCallOptions // contains filtered or unexported fields }
CustomAudienceClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage custom audiences.
func NewCustomAudienceClient ¶
func NewCustomAudienceClient(ctx context.Context, opts ...option.ClientOption) (*CustomAudienceClient, error)
NewCustomAudienceClient creates a new custom audience service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage custom audiences.
func (*CustomAudienceClient) Close ¶
func (c *CustomAudienceClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomAudienceClient) Connection ¶
func (c *CustomAudienceClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomAudienceClient) MutateCustomAudiences ¶
func (c *CustomAudienceClient) MutateCustomAudiences(ctx context.Context, req *servicespb.MutateCustomAudiencesRequest, opts ...gax.CallOption) (*servicespb.MutateCustomAudiencesResponse, error)
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 ¶
func (c *CustomConversionGoalClient) MutateCustomConversionGoals(ctx context.Context, req *servicespb.MutateCustomConversionGoalsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomConversionGoalsResponse, error)
MutateCustomConversionGoals creates, updates or removes custom conversion goals. Operation statuses are returned.
type CustomInterestCallOptions ¶
type CustomInterestCallOptions struct {
MutateCustomInterests []gax.CallOption
}
CustomInterestCallOptions contains the retry settings for each method of CustomInterestClient.
type CustomInterestClient ¶
type CustomInterestClient struct { // The call options for this service. CallOptions *CustomInterestCallOptions // contains filtered or unexported fields }
CustomInterestClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage custom interests.
func NewCustomInterestClient ¶
func NewCustomInterestClient(ctx context.Context, opts ...option.ClientOption) (*CustomInterestClient, error)
NewCustomInterestClient creates a new custom interest service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage custom interests.
func (*CustomInterestClient) Close ¶
func (c *CustomInterestClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomInterestClient) Connection ¶
func (c *CustomInterestClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomInterestClient) MutateCustomInterests ¶
func (c *CustomInterestClient) MutateCustomInterests(ctx context.Context, req *servicespb.MutateCustomInterestsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomInterestsResponse, error)
MutateCustomInterests creates or updates custom interests. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CriterionError (at ) CustomInterestError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) PolicyViolationError (at ) QuotaError (at ) RequestError (at ) StringLengthError (at )
type CustomerAssetCallOptions ¶
type CustomerAssetCallOptions struct {
MutateCustomerAssets []gax.CallOption
}
CustomerAssetCallOptions contains the retry settings for each method of CustomerAssetClient.
type CustomerAssetClient ¶
type CustomerAssetClient struct { // The call options for this service. CallOptions *CustomerAssetCallOptions // contains filtered or unexported fields }
CustomerAssetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage customer assets.
func NewCustomerAssetClient ¶
func NewCustomerAssetClient(ctx context.Context, opts ...option.ClientOption) (*CustomerAssetClient, error)
NewCustomerAssetClient creates a new customer asset service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage customer assets.
func (*CustomerAssetClient) Close ¶
func (c *CustomerAssetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerAssetClient) Connection ¶
func (c *CustomerAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerAssetClient) MutateCustomerAssets ¶
func (c *CustomerAssetClient) MutateCustomerAssets(ctx context.Context, req *servicespb.MutateCustomerAssetsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerAssetsResponse, error)
MutateCustomerAssets creates, updates, or removes customer assets. Operation statuses are returned.
List of thrown errors: AssetLinkError (at ) AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type CustomerCallOptions ¶
type CustomerCallOptions struct { MutateCustomer []gax.CallOption ListAccessibleCustomers []gax.CallOption CreateCustomerClient []gax.CallOption }
CustomerCallOptions contains the retry settings for each method of CustomerClient.
type CustomerClient ¶
type CustomerClient struct { // The call options for this service. CallOptions *CustomerCallOptions // contains filtered or unexported fields }
CustomerClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage customers.
func NewCustomerClient ¶
func NewCustomerClient(ctx context.Context, opts ...option.ClientOption) (*CustomerClient, error)
NewCustomerClient creates a new customer service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage customers.
func (*CustomerClient) Close ¶
func (c *CustomerClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerClient) Connection ¶
func (c *CustomerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerClient) CreateCustomerClient ¶
func (c *CustomerClient) CreateCustomerClient(ctx context.Context, req *servicespb.CreateCustomerClientRequest, opts ...gax.CallOption) (*servicespb.CreateCustomerClientResponse, error)
CreateCustomerClient creates a new client under manager. The new client customer is returned.
List of thrown errors: AccessInvitationError (at ) AuthenticationError (at ) AuthorizationError (at ) CurrencyCodeError (at ) HeaderError (at ) InternalError (at ) ManagerLinkError (at ) QuotaError (at ) RequestError (at ) StringLengthError (at ) TimeZoneError (at )
func (*CustomerClient) ListAccessibleCustomers ¶
func (c *CustomerClient) ListAccessibleCustomers(ctx context.Context, req *servicespb.ListAccessibleCustomersRequest, opts ...gax.CallOption) (*servicespb.ListAccessibleCustomersResponse, error)
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 ¶
func (c *CustomerClient) MutateCustomer(ctx context.Context, req *servicespb.MutateCustomerRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerResponse, error)
MutateCustomer updates a customer. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at ) UrlFieldError (at )
type CustomerClientLinkCallOptions ¶
type CustomerClientLinkCallOptions struct {
MutateCustomerClientLink []gax.CallOption
}
CustomerClientLinkCallOptions contains the retry settings for each method of CustomerClientLinkClient.
type CustomerClientLinkClient ¶
type CustomerClientLinkClient struct { // The call options for this service. CallOptions *CustomerClientLinkCallOptions // contains filtered or unexported fields }
CustomerClientLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage customer client links.
func NewCustomerClientLinkClient ¶
func NewCustomerClientLinkClient(ctx context.Context, opts ...option.ClientOption) (*CustomerClientLinkClient, error)
NewCustomerClientLinkClient creates a new customer client link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage customer client links.
func (*CustomerClientLinkClient) Close ¶
func (c *CustomerClientLinkClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerClientLinkClient) Connection ¶
func (c *CustomerClientLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerClientLinkClient) MutateCustomerClientLink ¶
func (c *CustomerClientLinkClient) MutateCustomerClientLink(ctx context.Context, req *servicespb.MutateCustomerClientLinkRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerClientLinkResponse, error)
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 ¶
func (c *CustomerConversionGoalClient) Close() error
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 ¶
func (c *CustomerConversionGoalClient) MutateCustomerConversionGoals(ctx context.Context, req *servicespb.MutateCustomerConversionGoalsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerConversionGoalsResponse, error)
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 ¶
func (c *CustomerCustomizerClient) MutateCustomerCustomizers(ctx context.Context, req *servicespb.MutateCustomerCustomizersRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerCustomizersResponse, error)
MutateCustomerCustomizers creates, updates or removes customer customizers. Operation statuses are returned.
type CustomerExtensionSettingCallOptions ¶
type CustomerExtensionSettingCallOptions struct {
MutateCustomerExtensionSettings []gax.CallOption
}
CustomerExtensionSettingCallOptions contains the retry settings for each method of CustomerExtensionSettingClient.
type CustomerExtensionSettingClient ¶
type CustomerExtensionSettingClient struct { // The call options for this service. CallOptions *CustomerExtensionSettingCallOptions // contains filtered or unexported fields }
CustomerExtensionSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage customer extension settings.
func NewCustomerExtensionSettingClient ¶
func NewCustomerExtensionSettingClient(ctx context.Context, opts ...option.ClientOption) (*CustomerExtensionSettingClient, error)
NewCustomerExtensionSettingClient creates a new customer extension setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage customer extension settings.
func (*CustomerExtensionSettingClient) Close ¶
func (c *CustomerExtensionSettingClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerExtensionSettingClient) Connection ¶
func (c *CustomerExtensionSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerExtensionSettingClient) MutateCustomerExtensionSettings ¶
func (c *CustomerExtensionSettingClient) MutateCustomerExtensionSettings(ctx context.Context, req *servicespb.MutateCustomerExtensionSettingsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerExtensionSettingsResponse, error)
MutateCustomerExtensionSettings creates, updates, or removes customer extension settings. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionSettingError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )
type CustomerFeedCallOptions ¶
type CustomerFeedCallOptions struct {
MutateCustomerFeeds []gax.CallOption
}
CustomerFeedCallOptions contains the retry settings for each method of CustomerFeedClient.
type CustomerFeedClient ¶
type CustomerFeedClient struct { // The call options for this service. CallOptions *CustomerFeedCallOptions // contains filtered or unexported fields }
CustomerFeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage customer feeds.
func NewCustomerFeedClient ¶
func NewCustomerFeedClient(ctx context.Context, opts ...option.ClientOption) (*CustomerFeedClient, error)
NewCustomerFeedClient creates a new customer feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage customer feeds.
func (*CustomerFeedClient) Close ¶
func (c *CustomerFeedClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerFeedClient) Connection ¶
func (c *CustomerFeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerFeedClient) MutateCustomerFeeds ¶
func (c *CustomerFeedClient) MutateCustomerFeeds(ctx context.Context, req *servicespb.MutateCustomerFeedsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerFeedsResponse, error)
MutateCustomerFeeds creates, updates, or removes customer feeds. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CustomerFeedError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) FunctionError (at ) FunctionParsingError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type CustomerLabelCallOptions ¶
type CustomerLabelCallOptions struct {
MutateCustomerLabels []gax.CallOption
}
CustomerLabelCallOptions contains the retry settings for each method of CustomerLabelClient.
type CustomerLabelClient ¶
type CustomerLabelClient struct { // The call options for this service. CallOptions *CustomerLabelCallOptions // contains filtered or unexported fields }
CustomerLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage labels on customers.
func NewCustomerLabelClient ¶
func NewCustomerLabelClient(ctx context.Context, opts ...option.ClientOption) (*CustomerLabelClient, error)
NewCustomerLabelClient creates a new customer label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage labels on customers.
func (*CustomerLabelClient) Close ¶
func (c *CustomerLabelClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerLabelClient) Connection ¶
func (c *CustomerLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerLabelClient) MutateCustomerLabels ¶
func (c *CustomerLabelClient) MutateCustomerLabels(ctx context.Context, req *servicespb.MutateCustomerLabelsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerLabelsResponse, error)
MutateCustomerLabels creates and removes customer-label relationships. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) HeaderError (at ) InternalError (at ) LabelError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type CustomerManagerLinkCallOptions ¶
type CustomerManagerLinkCallOptions struct { MutateCustomerManagerLink []gax.CallOption MoveManagerLink []gax.CallOption }
CustomerManagerLinkCallOptions contains the retry settings for each method of CustomerManagerLinkClient.
type CustomerManagerLinkClient ¶
type CustomerManagerLinkClient struct { // The call options for this service. CallOptions *CustomerManagerLinkCallOptions // contains filtered or unexported fields }
CustomerManagerLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage customer-manager links.
func NewCustomerManagerLinkClient ¶
func NewCustomerManagerLinkClient(ctx context.Context, opts ...option.ClientOption) (*CustomerManagerLinkClient, error)
NewCustomerManagerLinkClient creates a new customer manager link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage customer-manager links.
func (*CustomerManagerLinkClient) Close ¶
func (c *CustomerManagerLinkClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerManagerLinkClient) Connection ¶
func (c *CustomerManagerLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerManagerLinkClient) MoveManagerLink ¶
func (c *CustomerManagerLinkClient) MoveManagerLink(ctx context.Context, req *servicespb.MoveManagerLinkRequest, opts ...gax.CallOption) (*servicespb.MoveManagerLinkResponse, error)
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 )
func (*CustomerManagerLinkClient) MutateCustomerManagerLink ¶
func (c *CustomerManagerLinkClient) MutateCustomerManagerLink(ctx context.Context, req *servicespb.MutateCustomerManagerLinkRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerManagerLinkResponse, error)
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 {
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 ¶
func (c *CustomerNegativeCriterionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerNegativeCriterionClient) Connection ¶
func (c *CustomerNegativeCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerNegativeCriterionClient) MutateCustomerNegativeCriteria ¶
func (c *CustomerNegativeCriterionClient) MutateCustomerNegativeCriteria(ctx context.Context, req *servicespb.MutateCustomerNegativeCriteriaRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerNegativeCriteriaResponse, error)
MutateCustomerNegativeCriteria creates or removes criteria. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CriterionError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type CustomerUserAccessCallOptions ¶
type CustomerUserAccessCallOptions struct {
MutateCustomerUserAccess []gax.CallOption
}
CustomerUserAccessCallOptions contains the retry settings for each method of CustomerUserAccessClient.
type CustomerUserAccessClient ¶
type CustomerUserAccessClient struct { // The call options for this service. CallOptions *CustomerUserAccessCallOptions // contains filtered or unexported fields }
CustomerUserAccessClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
This service manages the permissions of a user on a given customer.
func NewCustomerUserAccessClient ¶
func NewCustomerUserAccessClient(ctx context.Context, opts ...option.ClientOption) (*CustomerUserAccessClient, error)
NewCustomerUserAccessClient creates a new customer user access service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
This service manages the permissions of a user on a given customer.
func (*CustomerUserAccessClient) Close ¶
func (c *CustomerUserAccessClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerUserAccessClient) Connection ¶
func (c *CustomerUserAccessClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerUserAccessClient) MutateCustomerUserAccess ¶
func (c *CustomerUserAccessClient) MutateCustomerUserAccess(ctx context.Context, req *servicespb.MutateCustomerUserAccessRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerUserAccessResponse, error)
MutateCustomerUserAccess updates, removes permission of a user on a given customer. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CustomerUserAccessError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type CustomerUserAccessInvitationCallOptions ¶
type CustomerUserAccessInvitationCallOptions struct {
MutateCustomerUserAccessInvitation []gax.CallOption
}
CustomerUserAccessInvitationCallOptions contains the retry settings for each method of CustomerUserAccessInvitationClient.
type CustomerUserAccessInvitationClient ¶
type CustomerUserAccessInvitationClient struct { // The call options for this service. CallOptions *CustomerUserAccessInvitationCallOptions // contains filtered or unexported fields }
CustomerUserAccessInvitationClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
This service manages the access invitation extended to users for a given customer.
func NewCustomerUserAccessInvitationClient ¶
func NewCustomerUserAccessInvitationClient(ctx context.Context, opts ...option.ClientOption) (*CustomerUserAccessInvitationClient, error)
NewCustomerUserAccessInvitationClient creates a new customer user access invitation service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
This service manages the access invitation extended to users for a given customer.
func (*CustomerUserAccessInvitationClient) Close ¶
func (c *CustomerUserAccessInvitationClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerUserAccessInvitationClient) Connection ¶
func (c *CustomerUserAccessInvitationClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*CustomerUserAccessInvitationClient) MutateCustomerUserAccessInvitation ¶
func (c *CustomerUserAccessInvitationClient) MutateCustomerUserAccessInvitation(ctx context.Context, req *servicespb.MutateCustomerUserAccessInvitationRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerUserAccessInvitationResponse, error)
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 ¶
func (c *CustomizerAttributeClient) MutateCustomizerAttributes(ctx context.Context, req *servicespb.MutateCustomizerAttributesRequest, opts ...gax.CallOption) (*servicespb.MutateCustomizerAttributesResponse, error)
MutateCustomizerAttributes creates, updates or removes customizer attributes. Operation statuses are returned.
type ExperimentArmCallOptions ¶
type ExperimentArmCallOptions struct {
MutateExperimentArms []gax.CallOption
}
ExperimentArmCallOptions contains the retry settings for each method of ExperimentArmClient.
type ExperimentArmClient ¶
type ExperimentArmClient struct { // The call options for this service. CallOptions *ExperimentArmCallOptions // contains filtered or unexported fields }
ExperimentArmClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage experiment arms.
func NewExperimentArmClient ¶
func NewExperimentArmClient(ctx context.Context, opts ...option.ClientOption) (*ExperimentArmClient, error)
NewExperimentArmClient creates a new experiment arm service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage experiment arms.
func (*ExperimentArmClient) Close ¶
func (c *ExperimentArmClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ExperimentArmClient) Connection ¶
func (c *ExperimentArmClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ExperimentArmClient) MutateExperimentArms ¶
func (c *ExperimentArmClient) MutateExperimentArms(ctx context.Context, req *servicespb.MutateExperimentArmsRequest, opts ...gax.CallOption) (*servicespb.MutateExperimentArmsResponse, error)
MutateExperimentArms creates, updates, or removes experiment arms. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentArmError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type ExperimentCallOptions ¶
type ExperimentCallOptions struct { MutateExperiments []gax.CallOption EndExperiment []gax.CallOption ListExperimentAsyncErrors []gax.CallOption GraduateExperiment []gax.CallOption ScheduleExperiment []gax.CallOption PromoteExperiment []gax.CallOption }
ExperimentCallOptions contains the retry settings for each method of ExperimentClient.
type ExperimentClient ¶
type ExperimentClient struct { // The call options for this service. CallOptions *ExperimentCallOptions // LROClient is used internally to handle long-running operations. // It is exposed so that its CallOptions can be modified if required. // Users should not Close this client. LROClient *lroauto.OperationsClient // contains filtered or unexported fields }
ExperimentClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage experiments.
func NewExperimentClient ¶
func NewExperimentClient(ctx context.Context, opts ...option.ClientOption) (*ExperimentClient, error)
NewExperimentClient creates a new experiment service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage experiments.
func (*ExperimentClient) Close ¶
func (c *ExperimentClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ExperimentClient) Connection ¶
func (c *ExperimentClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ExperimentClient) EndExperiment ¶
func (c *ExperimentClient) EndExperiment(ctx context.Context, req *servicespb.EndExperimentRequest, opts ...gax.CallOption) error
EndExperiment immediately ends an experiment, changing the experiment’s scheduled end date and without waiting for end of day. End date is updated to be the time of the request.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*ExperimentClient) GraduateExperiment ¶
func (c *ExperimentClient) GraduateExperiment(ctx context.Context, req *servicespb.GraduateExperimentRequest, opts ...gax.CallOption) error
GraduateExperiment graduates an experiment to a full campaign.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
func (*ExperimentClient) ListExperimentAsyncErrors ¶
func (c *ExperimentClient) ListExperimentAsyncErrors(ctx context.Context, req *servicespb.ListExperimentAsyncErrorsRequest, opts ...gax.CallOption) *StatusIterator
ListExperimentAsyncErrors returns all errors that occurred during the last Experiment update (either scheduling or promotion). Supports standard list paging.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*ExperimentClient) MutateExperiments ¶
func (c *ExperimentClient) MutateExperiments(ctx context.Context, req *servicespb.MutateExperimentsRequest, opts ...gax.CallOption) (*servicespb.MutateExperimentsResponse, error)
MutateExperiments creates, updates, or removes experiments. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*ExperimentClient) PromoteExperiment ¶
func (c *ExperimentClient) PromoteExperiment(ctx context.Context, req *servicespb.PromoteExperimentRequest, opts ...gax.CallOption) (*PromoteExperimentOperation, error)
PromoteExperiment promotes the trial campaign thus applying changes in the trial campaign to the base campaign. This method returns a long running operation that tracks the promotion of the experiment campaign. If it fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation’s metadata will be a string containing the resource name of the created experiment.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*ExperimentClient) PromoteExperimentOperation ¶
func (c *ExperimentClient) PromoteExperimentOperation(name string) *PromoteExperimentOperation
PromoteExperimentOperation returns a new PromoteExperimentOperation from a given name. The name must be that of a previously created PromoteExperimentOperation, possibly from a different process.
func (*ExperimentClient) ScheduleExperiment ¶
func (c *ExperimentClient) ScheduleExperiment(ctx context.Context, req *servicespb.ScheduleExperimentRequest, opts ...gax.CallOption) (*ScheduleExperimentOperation, error)
ScheduleExperiment schedule an experiment. The in design campaign will be converted into a real campaign (called the experiment campaign) that will begin serving ads if successfully created.
The experiment is scheduled immediately with status INITIALIZING. This method returns a long running operation that tracks the forking of the in design campaign. If the forking fails, a list of errors can be retrieved using the ListExperimentAsyncErrors method. The operation’s metadata will be a string containing the resource name of the created experiment.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) ExperimentError (at ) DatabaseError (at ) DateError (at ) DateRangeError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (at )
func (*ExperimentClient) ScheduleExperimentOperation ¶
func (c *ExperimentClient) ScheduleExperimentOperation(name string) *ScheduleExperimentOperation
ScheduleExperimentOperation returns a new ScheduleExperimentOperation from a given name. The name must be that of a previously created ScheduleExperimentOperation, possibly from a different process.
type ExtensionFeedItemCallOptions ¶
type ExtensionFeedItemCallOptions struct {
MutateExtensionFeedItems []gax.CallOption
}
ExtensionFeedItemCallOptions contains the retry settings for each method of ExtensionFeedItemClient.
type ExtensionFeedItemClient ¶
type ExtensionFeedItemClient struct { // The call options for this service. CallOptions *ExtensionFeedItemCallOptions // contains filtered or unexported fields }
ExtensionFeedItemClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage extension feed items.
func NewExtensionFeedItemClient ¶
func NewExtensionFeedItemClient(ctx context.Context, opts ...option.ClientOption) (*ExtensionFeedItemClient, error)
NewExtensionFeedItemClient creates a new extension feed item service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage extension feed items.
func (*ExtensionFeedItemClient) Close ¶
func (c *ExtensionFeedItemClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ExtensionFeedItemClient) Connection ¶
func (c *ExtensionFeedItemClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ExtensionFeedItemClient) MutateExtensionFeedItems ¶
func (c *ExtensionFeedItemClient) MutateExtensionFeedItems(ctx context.Context, req *servicespb.MutateExtensionFeedItemsRequest, opts ...gax.CallOption) (*servicespb.MutateExtensionFeedItemsResponse, error)
MutateExtensionFeedItems creates, updates, or removes extension feed items. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CountryCodeError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) ExtensionFeedItemError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) ImageError (at ) InternalError (at ) LanguageCodeError (at ) MutateError (at ) NewResourceCreationError (at ) OperationAccessDeniedError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringLengthError (at ) UrlFieldError (at )
type FeedCallOptions ¶
type FeedCallOptions struct {
MutateFeeds []gax.CallOption
}
FeedCallOptions contains the retry settings for each method of FeedClient.
type FeedClient ¶
type FeedClient struct { // The call options for this service. CallOptions *FeedCallOptions // contains filtered or unexported fields }
FeedClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage feeds.
func NewFeedClient ¶
func NewFeedClient(ctx context.Context, opts ...option.ClientOption) (*FeedClient, error)
NewFeedClient creates a new feed service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage feeds.
func (*FeedClient) Close ¶
func (c *FeedClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*FeedClient) Connection ¶
func (c *FeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*FeedClient) MutateFeeds ¶
func (c *FeedClient) MutateFeeds(ctx context.Context, req *servicespb.MutateFeedsRequest, opts ...gax.CallOption) (*servicespb.MutateFeedsResponse, error)
MutateFeeds creates, updates, or removes feeds. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DistinctError (at ) FeedError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type FeedItemCallOptions ¶
type FeedItemCallOptions struct {
MutateFeedItems []gax.CallOption
}
FeedItemCallOptions contains the retry settings for each method of FeedItemClient.
type FeedItemClient ¶
type FeedItemClient struct { // The call options for this service. CallOptions *FeedItemCallOptions // contains filtered or unexported fields }
FeedItemClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage feed items.
func NewFeedItemClient ¶
func NewFeedItemClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemClient, error)
NewFeedItemClient creates a new feed item service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage feed items.
func (*FeedItemClient) Close ¶
func (c *FeedItemClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*FeedItemClient) Connection ¶
func (c *FeedItemClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*FeedItemClient) MutateFeedItems ¶
func (c *FeedItemClient) MutateFeedItems(ctx context.Context, req *servicespb.MutateFeedItemsRequest, opts ...gax.CallOption) (*servicespb.MutateFeedItemsResponse, error)
MutateFeedItems creates, updates, or removes feed items. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) CriterionError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FeedItemError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) ListOperationError (at ) MutateError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at ) UrlFieldError (at )
type FeedItemSetCallOptions ¶
type FeedItemSetCallOptions struct {
MutateFeedItemSets []gax.CallOption
}
FeedItemSetCallOptions contains the retry settings for each method of FeedItemSetClient.
type FeedItemSetClient ¶
type FeedItemSetClient struct { // The call options for this service. CallOptions *FeedItemSetCallOptions // contains filtered or unexported fields }
FeedItemSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage feed Item Set
func NewFeedItemSetClient ¶
func NewFeedItemSetClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemSetClient, error)
NewFeedItemSetClient creates a new feed item set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage feed Item Set
func (*FeedItemSetClient) Close ¶
func (c *FeedItemSetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*FeedItemSetClient) Connection ¶
func (c *FeedItemSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*FeedItemSetClient) MutateFeedItemSets ¶
func (c *FeedItemSetClient) MutateFeedItemSets(ctx context.Context, req *servicespb.MutateFeedItemSetsRequest, opts ...gax.CallOption) (*servicespb.MutateFeedItemSetsResponse, error)
MutateFeedItemSets creates, updates or removes feed item sets. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type FeedItemSetLinkCallOptions ¶
type FeedItemSetLinkCallOptions struct {
MutateFeedItemSetLinks []gax.CallOption
}
FeedItemSetLinkCallOptions contains the retry settings for each method of FeedItemSetLinkClient.
type FeedItemSetLinkClient ¶
type FeedItemSetLinkClient struct { // The call options for this service. CallOptions *FeedItemSetLinkCallOptions // contains filtered or unexported fields }
FeedItemSetLinkClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage feed item set links.
func NewFeedItemSetLinkClient ¶
func NewFeedItemSetLinkClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemSetLinkClient, error)
NewFeedItemSetLinkClient creates a new feed item set link service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage feed item set links.
func (*FeedItemSetLinkClient) Close ¶
func (c *FeedItemSetLinkClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*FeedItemSetLinkClient) Connection ¶
func (c *FeedItemSetLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*FeedItemSetLinkClient) MutateFeedItemSetLinks ¶
func (c *FeedItemSetLinkClient) MutateFeedItemSetLinks(ctx context.Context, req *servicespb.MutateFeedItemSetLinksRequest, opts ...gax.CallOption) (*servicespb.MutateFeedItemSetLinksResponse, error)
MutateFeedItemSetLinks creates, updates, or removes feed item set links.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type FeedItemTargetCallOptions ¶
type FeedItemTargetCallOptions struct {
MutateFeedItemTargets []gax.CallOption
}
FeedItemTargetCallOptions contains the retry settings for each method of FeedItemTargetClient.
type FeedItemTargetClient ¶
type FeedItemTargetClient struct { // The call options for this service. CallOptions *FeedItemTargetCallOptions // contains filtered or unexported fields }
FeedItemTargetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage feed item targets.
func NewFeedItemTargetClient ¶
func NewFeedItemTargetClient(ctx context.Context, opts ...option.ClientOption) (*FeedItemTargetClient, error)
NewFeedItemTargetClient creates a new feed item target service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage feed item targets.
func (*FeedItemTargetClient) Close ¶
func (c *FeedItemTargetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*FeedItemTargetClient) Connection ¶
func (c *FeedItemTargetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*FeedItemTargetClient) MutateFeedItemTargets ¶
func (c *FeedItemTargetClient) MutateFeedItemTargets(ctx context.Context, req *servicespb.MutateFeedItemTargetsRequest, opts ...gax.CallOption) (*servicespb.MutateFeedItemTargetsResponse, error)
MutateFeedItemTargets creates or removes feed item targets. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CriterionError (at ) DatabaseError (at ) DistinctError (at ) FeedItemTargetError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type FeedMappingCallOptions ¶
type FeedMappingCallOptions struct {
MutateFeedMappings []gax.CallOption
}
FeedMappingCallOptions contains the retry settings for each method of FeedMappingClient.
type FeedMappingClient ¶
type FeedMappingClient struct { // The call options for this service. CallOptions *FeedMappingCallOptions // contains filtered or unexported fields }
FeedMappingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage feed mappings.
func NewFeedMappingClient ¶
func NewFeedMappingClient(ctx context.Context, opts ...option.ClientOption) (*FeedMappingClient, error)
NewFeedMappingClient creates a new feed mapping service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage feed mappings.
func (*FeedMappingClient) Close ¶
func (c *FeedMappingClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*FeedMappingClient) Connection ¶
func (c *FeedMappingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*FeedMappingClient) MutateFeedMappings ¶
func (c *FeedMappingClient) MutateFeedMappings(ctx context.Context, req *servicespb.MutateFeedMappingsRequest, opts ...gax.CallOption) (*servicespb.MutateFeedMappingsResponse, error)
MutateFeedMappings creates or removes feed mappings. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DistinctError (at ) FeedMappingError (at ) FieldError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NotEmptyError (at ) OperationAccessDeniedError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type GenerateKeywordIdeaResultIterator ¶
type GenerateKeywordIdeaResultIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*servicespb.GenerateKeywordIdeaResult, nextPageToken string, err error) // contains filtered or unexported fields }
GenerateKeywordIdeaResultIterator manages a stream of *servicespb.GenerateKeywordIdeaResult.
func (*GenerateKeywordIdeaResultIterator) Next ¶
func (it *GenerateKeywordIdeaResultIterator) Next() (*servicespb.GenerateKeywordIdeaResult, 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 (*GenerateKeywordIdeaResultIterator) PageInfo ¶
func (it *GenerateKeywordIdeaResultIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type GeoTargetConstantCallOptions ¶
type GeoTargetConstantCallOptions struct {
SuggestGeoTargetConstants []gax.CallOption
}
GeoTargetConstantCallOptions contains the retry settings for each method of GeoTargetConstantClient.
type GeoTargetConstantClient ¶
type GeoTargetConstantClient struct { // The call options for this service. CallOptions *GeoTargetConstantCallOptions // contains filtered or unexported fields }
GeoTargetConstantClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to fetch geo target constants.
func NewGeoTargetConstantClient ¶
func NewGeoTargetConstantClient(ctx context.Context, opts ...option.ClientOption) (*GeoTargetConstantClient, error)
NewGeoTargetConstantClient creates a new geo target constant service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to fetch geo target constants.
func (*GeoTargetConstantClient) Close ¶
func (c *GeoTargetConstantClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*GeoTargetConstantClient) Connection ¶
func (c *GeoTargetConstantClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*GeoTargetConstantClient) SuggestGeoTargetConstants ¶
func (c *GeoTargetConstantClient) SuggestGeoTargetConstants(ctx context.Context, req *servicespb.SuggestGeoTargetConstantsRequest, opts ...gax.CallOption) (*servicespb.SuggestGeoTargetConstantsResponse, error)
SuggestGeoTargetConstants returns GeoTargetConstant suggestions by location name or by resource name.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) GeoTargetConstantSuggestionError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type GoogleAdsFieldCallOptions ¶
type GoogleAdsFieldCallOptions struct { GetGoogleAdsField []gax.CallOption SearchGoogleAdsFields []gax.CallOption }
GoogleAdsFieldCallOptions contains the retry settings for each method of GoogleAdsFieldClient.
type GoogleAdsFieldClient ¶
type GoogleAdsFieldClient struct { // The call options for this service. CallOptions *GoogleAdsFieldCallOptions // contains filtered or unexported fields }
GoogleAdsFieldClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to fetch Google Ads API fields.
func NewGoogleAdsFieldClient ¶
func NewGoogleAdsFieldClient(ctx context.Context, opts ...option.ClientOption) (*GoogleAdsFieldClient, error)
NewGoogleAdsFieldClient creates a new google ads field service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to fetch Google Ads API fields.
func (*GoogleAdsFieldClient) Close ¶
func (c *GoogleAdsFieldClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*GoogleAdsFieldClient) Connection ¶
func (c *GoogleAdsFieldClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*GoogleAdsFieldClient) GetGoogleAdsField ¶
func (c *GoogleAdsFieldClient) GetGoogleAdsField(ctx context.Context, req *servicespb.GetGoogleAdsFieldRequest, opts ...gax.CallOption) (*resourcespb.GoogleAdsField, error)
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 ¶
func (c *GoogleAdsFieldClient) SearchGoogleAdsFields(ctx context.Context, req *servicespb.SearchGoogleAdsFieldsRequest, opts ...gax.CallOption) *GoogleAdsFieldIterator
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 ¶
func (it *GoogleAdsFieldIterator) Next() (*resourcespb.GoogleAdsField, 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 (*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 ¶
func (it *GoogleAdsRowIterator) Next() (*servicespb.GoogleAdsRow, 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 (*GoogleAdsRowIterator) PageInfo ¶
func (it *GoogleAdsRowIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type InvoiceCallOptions ¶
type InvoiceCallOptions struct {
ListInvoices []gax.CallOption
}
InvoiceCallOptions contains the retry settings for each method of InvoiceClient.
type InvoiceClient ¶
type InvoiceClient struct { // The call options for this service. CallOptions *InvoiceCallOptions // contains filtered or unexported fields }
InvoiceClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
A service to fetch invoices issued for a billing setup during a given month.
func NewInvoiceClient ¶
func NewInvoiceClient(ctx context.Context, opts ...option.ClientOption) (*InvoiceClient, error)
NewInvoiceClient creates a new invoice service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
A service to fetch invoices issued for a billing setup during a given month.
func (*InvoiceClient) Close ¶
func (c *InvoiceClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*InvoiceClient) Connection ¶
func (c *InvoiceClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*InvoiceClient) ListInvoices ¶
func (c *InvoiceClient) ListInvoices(ctx context.Context, req *servicespb.ListInvoicesRequest, opts ...gax.CallOption) (*servicespb.ListInvoicesResponse, error)
ListInvoices returns all invoices associated with a billing setup, for a given month.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) InvoiceError (at ) QuotaError (at ) RequestError (at )
type KeywordPlanAdGroupCallOptions ¶
type KeywordPlanAdGroupCallOptions struct {
MutateKeywordPlanAdGroups []gax.CallOption
}
KeywordPlanAdGroupCallOptions contains the retry settings for each method of KeywordPlanAdGroupClient.
type KeywordPlanAdGroupClient ¶
type KeywordPlanAdGroupClient struct { // The call options for this service. CallOptions *KeywordPlanAdGroupCallOptions // contains filtered or unexported fields }
KeywordPlanAdGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage Keyword Plan ad groups.
func NewKeywordPlanAdGroupClient ¶
func NewKeywordPlanAdGroupClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanAdGroupClient, error)
NewKeywordPlanAdGroupClient creates a new keyword plan ad group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage Keyword Plan ad groups.
func (*KeywordPlanAdGroupClient) Close ¶
func (c *KeywordPlanAdGroupClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*KeywordPlanAdGroupClient) Connection ¶
func (c *KeywordPlanAdGroupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*KeywordPlanAdGroupClient) MutateKeywordPlanAdGroups ¶
func (c *KeywordPlanAdGroupClient) MutateKeywordPlanAdGroups(ctx context.Context, req *servicespb.MutateKeywordPlanAdGroupsRequest, opts ...gax.CallOption) (*servicespb.MutateKeywordPlanAdGroupsResponse, error)
MutateKeywordPlanAdGroups creates, updates, or removes Keyword Plan ad groups. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) KeywordPlanAdGroupError (at ) KeywordPlanError (at ) MutateError (at ) NewResourceCreationError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )
type KeywordPlanAdGroupKeywordCallOptions ¶
type KeywordPlanAdGroupKeywordCallOptions struct {
MutateKeywordPlanAdGroupKeywords []gax.CallOption
}
KeywordPlanAdGroupKeywordCallOptions contains the retry settings for each method of KeywordPlanAdGroupKeywordClient.
type KeywordPlanAdGroupKeywordClient ¶
type KeywordPlanAdGroupKeywordClient struct { // The call options for this service. CallOptions *KeywordPlanAdGroupKeywordCallOptions // contains filtered or unexported fields }
KeywordPlanAdGroupKeywordClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is required to add ad group keywords. Positive and negative keywords are supported. A maximum of 10,000 positive keywords are allowed per keyword plan. A maximum of 1,000 negative keywords are allower per keyword plan. This includes campaign negative keywords and ad group negative keywords.
func NewKeywordPlanAdGroupKeywordClient ¶
func NewKeywordPlanAdGroupKeywordClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanAdGroupKeywordClient, error)
NewKeywordPlanAdGroupKeywordClient creates a new keyword plan ad group keyword service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is required to add ad group keywords. Positive and negative keywords are supported. A maximum of 10,000 positive keywords are allowed per keyword plan. A maximum of 1,000 negative keywords are allower per keyword plan. This includes campaign negative keywords and ad group negative keywords.
func (*KeywordPlanAdGroupKeywordClient) Close ¶
func (c *KeywordPlanAdGroupKeywordClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*KeywordPlanAdGroupKeywordClient) Connection ¶
func (c *KeywordPlanAdGroupKeywordClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*KeywordPlanAdGroupKeywordClient) MutateKeywordPlanAdGroupKeywords ¶
func (c *KeywordPlanAdGroupKeywordClient) MutateKeywordPlanAdGroupKeywords(ctx context.Context, req *servicespb.MutateKeywordPlanAdGroupKeywordsRequest, opts ...gax.CallOption) (*servicespb.MutateKeywordPlanAdGroupKeywordsResponse, error)
MutateKeywordPlanAdGroupKeywords creates, updates, or removes Keyword Plan ad group keywords. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) KeywordPlanAdGroupKeywordError (at ) KeywordPlanError (at ) MutateError (at ) QuotaError (at ) RequestError (at ) ResourceCountLimitExceededError (at )
type KeywordPlanCallOptions ¶
type KeywordPlanCallOptions struct { MutateKeywordPlans []gax.CallOption GenerateForecastCurve []gax.CallOption GenerateForecastTimeSeries []gax.CallOption GenerateForecastMetrics []gax.CallOption GenerateHistoricalMetrics []gax.CallOption }
KeywordPlanCallOptions contains the retry settings for each method of KeywordPlanClient.
type KeywordPlanCampaignCallOptions ¶
type KeywordPlanCampaignCallOptions struct {
MutateKeywordPlanCampaigns []gax.CallOption
}
KeywordPlanCampaignCallOptions contains the retry settings for each method of KeywordPlanCampaignClient.
type KeywordPlanCampaignClient ¶
type KeywordPlanCampaignClient struct { // The call options for this service. CallOptions *KeywordPlanCampaignCallOptions // contains filtered or unexported fields }
KeywordPlanCampaignClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage Keyword Plan campaigns.
func NewKeywordPlanCampaignClient ¶
func NewKeywordPlanCampaignClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanCampaignClient, error)
NewKeywordPlanCampaignClient creates a new keyword plan campaign service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage Keyword Plan campaigns.
func (*KeywordPlanCampaignClient) Close ¶
func (c *KeywordPlanCampaignClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*KeywordPlanCampaignClient) Connection ¶
func (c *KeywordPlanCampaignClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*KeywordPlanCampaignClient) MutateKeywordPlanCampaigns ¶
func (c *KeywordPlanCampaignClient) MutateKeywordPlanCampaigns(ctx context.Context, req *servicespb.MutateKeywordPlanCampaignsRequest, opts ...gax.CallOption) (*servicespb.MutateKeywordPlanCampaignsResponse, error)
MutateKeywordPlanCampaigns creates, updates, or removes Keyword Plan campaigns. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) KeywordPlanCampaignError (at ) KeywordPlanError (at ) ListOperationError (at ) MutateError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at )
type KeywordPlanCampaignKeywordCallOptions ¶
type KeywordPlanCampaignKeywordCallOptions struct {
MutateKeywordPlanCampaignKeywords []gax.CallOption
}
KeywordPlanCampaignKeywordCallOptions contains the retry settings for each method of KeywordPlanCampaignKeywordClient.
type KeywordPlanCampaignKeywordClient ¶
type KeywordPlanCampaignKeywordClient struct { // The call options for this service. CallOptions *KeywordPlanCampaignKeywordCallOptions // contains filtered or unexported fields }
KeywordPlanCampaignKeywordClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is required to add the campaign keywords. Only negative keywords are supported. A maximum of 1000 negative keywords are allowed per plan. This includes both campaign negative keywords and ad group negative keywords.
func NewKeywordPlanCampaignKeywordClient ¶
func NewKeywordPlanCampaignKeywordClient(ctx context.Context, opts ...option.ClientOption) (*KeywordPlanCampaignKeywordClient, error)
NewKeywordPlanCampaignKeywordClient creates a new keyword plan campaign keyword service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is required to add the campaign keywords. Only negative keywords are supported. A maximum of 1000 negative keywords are allowed per plan. This includes both campaign negative keywords and ad group negative keywords.
func (*KeywordPlanCampaignKeywordClient) Close ¶
func (c *KeywordPlanCampaignKeywordClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*KeywordPlanCampaignKeywordClient) Connection ¶
func (c *KeywordPlanCampaignKeywordClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*KeywordPlanCampaignKeywordClient) MutateKeywordPlanCampaignKeywords ¶
func (c *KeywordPlanCampaignKeywordClient) MutateKeywordPlanCampaignKeywords(ctx context.Context, req *servicespb.MutateKeywordPlanCampaignKeywordsRequest, opts ...gax.CallOption) (*servicespb.MutateKeywordPlanCampaignKeywordsResponse, error)
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 ¶
func (c *KeywordPlanClient) GenerateForecastCurve(ctx context.Context, req *servicespb.GenerateForecastCurveRequest, opts ...gax.CallOption) (*servicespb.GenerateForecastCurveResponse, error)
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 ¶
func (c *KeywordPlanClient) GenerateForecastMetrics(ctx context.Context, req *servicespb.GenerateForecastMetricsRequest, opts ...gax.CallOption) (*servicespb.GenerateForecastMetricsResponse, error)
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 ¶
func (c *KeywordPlanClient) GenerateForecastTimeSeries(ctx context.Context, req *servicespb.GenerateForecastTimeSeriesRequest, opts ...gax.CallOption) (*servicespb.GenerateForecastTimeSeriesResponse, error)
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 ¶
func (c *KeywordPlanClient) GenerateHistoricalMetrics(ctx context.Context, req *servicespb.GenerateHistoricalMetricsRequest, opts ...gax.CallOption) (*servicespb.GenerateHistoricalMetricsResponse, error)
GenerateHistoricalMetrics returns the requested Keyword Plan historical metrics.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) KeywordPlanError (at ) QuotaError (at ) RequestError (at )
func (*KeywordPlanClient) MutateKeywordPlans ¶
func (c *KeywordPlanClient) MutateKeywordPlans(ctx context.Context, req *servicespb.MutateKeywordPlansRequest, opts ...gax.CallOption) (*servicespb.MutateKeywordPlansResponse, error)
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 ¶
func (c *KeywordPlanIdeaClient) GenerateKeywordIdeas(ctx context.Context, req *servicespb.GenerateKeywordIdeasRequest, opts ...gax.CallOption) *GenerateKeywordIdeaResultIterator
GenerateKeywordIdeas returns a list of keyword ideas.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) HeaderError (at ) InternalError (at ) KeywordPlanIdeaError (at ) QuotaError (at ) RequestError (at )
type KeywordThemeConstantCallOptions ¶
type KeywordThemeConstantCallOptions struct {
SuggestKeywordThemeConstants []gax.CallOption
}
KeywordThemeConstantCallOptions contains the retry settings for each method of KeywordThemeConstantClient.
type KeywordThemeConstantClient ¶
type KeywordThemeConstantClient struct { // The call options for this service. CallOptions *KeywordThemeConstantCallOptions // contains filtered or unexported fields }
KeywordThemeConstantClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to fetch Smart Campaign keyword themes.
func NewKeywordThemeConstantClient ¶
func NewKeywordThemeConstantClient(ctx context.Context, opts ...option.ClientOption) (*KeywordThemeConstantClient, error)
NewKeywordThemeConstantClient creates a new keyword theme constant service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to fetch Smart Campaign keyword themes.
func (*KeywordThemeConstantClient) Close ¶
func (c *KeywordThemeConstantClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*KeywordThemeConstantClient) Connection ¶
func (c *KeywordThemeConstantClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*KeywordThemeConstantClient) SuggestKeywordThemeConstants ¶
func (c *KeywordThemeConstantClient) SuggestKeywordThemeConstants(ctx context.Context, req *servicespb.SuggestKeywordThemeConstantsRequest, opts ...gax.CallOption) (*servicespb.SuggestKeywordThemeConstantsResponse, error)
SuggestKeywordThemeConstants returns KeywordThemeConstant suggestions by keyword themes.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type LabelCallOptions ¶
type LabelCallOptions struct {
MutateLabels []gax.CallOption
}
LabelCallOptions contains the retry settings for each method of LabelClient.
type LabelClient ¶
type LabelClient struct { // The call options for this service. CallOptions *LabelCallOptions // contains filtered or unexported fields }
LabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage labels.
func NewLabelClient ¶
func NewLabelClient(ctx context.Context, opts ...option.ClientOption) (*LabelClient, error)
NewLabelClient creates a new label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage labels.
func (*LabelClient) Close ¶
func (c *LabelClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*LabelClient) Connection ¶
func (c *LabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*LabelClient) MutateLabels ¶
func (c *LabelClient) MutateLabels(ctx context.Context, req *servicespb.MutateLabelsRequest, opts ...gax.CallOption) (*servicespb.MutateLabelsResponse, error)
MutateLabels creates, updates, or removes labels. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) LabelError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type MediaFileCallOptions ¶
type MediaFileCallOptions struct {
MutateMediaFiles []gax.CallOption
}
MediaFileCallOptions contains the retry settings for each method of MediaFileClient.
type MediaFileClient ¶
type MediaFileClient struct { // The call options for this service. CallOptions *MediaFileCallOptions // contains filtered or unexported fields }
MediaFileClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage media files.
func NewMediaFileClient ¶
func NewMediaFileClient(ctx context.Context, opts ...option.ClientOption) (*MediaFileClient, error)
NewMediaFileClient creates a new media file service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage media files.
func (*MediaFileClient) Close ¶
func (c *MediaFileClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*MediaFileClient) Connection ¶
func (c *MediaFileClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*MediaFileClient) MutateMediaFiles ¶
func (c *MediaFileClient) MutateMediaFiles(ctx context.Context, req *servicespb.MutateMediaFilesRequest, opts ...gax.CallOption) (*servicespb.MutateMediaFilesResponse, error)
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.
func (*MerchantCenterLinkClient) GetMerchantCenterLink ¶
func (c *MerchantCenterLinkClient) GetMerchantCenterLink(ctx context.Context, req *servicespb.GetMerchantCenterLinkRequest, opts ...gax.CallOption) (*resourcespb.MerchantCenterLink, error)
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 )
func (*MerchantCenterLinkClient) ListMerchantCenterLinks ¶
func (c *MerchantCenterLinkClient) ListMerchantCenterLinks(ctx context.Context, req *servicespb.ListMerchantCenterLinksRequest, opts ...gax.CallOption) (*servicespb.ListMerchantCenterLinksResponse, error)
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 )
func (*MerchantCenterLinkClient) MutateMerchantCenterLink ¶
func (c *MerchantCenterLinkClient) MutateMerchantCenterLink(ctx context.Context, req *servicespb.MutateMerchantCenterLinkRequest, opts ...gax.CallOption) (*servicespb.MutateMerchantCenterLinkResponse, error)
MutateMerchantCenterLink updates status or removes a Merchant Center link.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type OfflineUserDataJobCallOptions ¶
type OfflineUserDataJobCallOptions struct { CreateOfflineUserDataJob []gax.CallOption AddOfflineUserDataJobOperations []gax.CallOption RunOfflineUserDataJob []gax.CallOption }
OfflineUserDataJobCallOptions contains the retry settings for each method of OfflineUserDataJobClient.
type OfflineUserDataJobClient ¶
type OfflineUserDataJobClient struct { // The call options for this service. CallOptions *OfflineUserDataJobCallOptions // LROClient is used internally to handle long-running operations. // It is exposed so that its CallOptions can be modified if required. // Users should not Close this client. LROClient *lroauto.OperationsClient // contains filtered or unexported fields }
OfflineUserDataJobClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage offline user data jobs.
func NewOfflineUserDataJobClient ¶
func NewOfflineUserDataJobClient(ctx context.Context, opts ...option.ClientOption) (*OfflineUserDataJobClient, error)
NewOfflineUserDataJobClient creates a new offline user data job service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage offline user data jobs.
func (*OfflineUserDataJobClient) AddOfflineUserDataJobOperations ¶
func (c *OfflineUserDataJobClient) AddOfflineUserDataJobOperations(ctx context.Context, req *servicespb.AddOfflineUserDataJobOperationsRequest, opts ...gax.CallOption) (*servicespb.AddOfflineUserDataJobOperationsResponse, error)
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 ¶
func (c *OfflineUserDataJobClient) CreateOfflineUserDataJob(ctx context.Context, req *servicespb.CreateOfflineUserDataJobRequest, opts ...gax.CallOption) (*servicespb.CreateOfflineUserDataJobResponse, error)
CreateOfflineUserDataJob creates an offline user data job.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) NotAllowlistedError (at ) OfflineUserDataJobError (at ) QuotaError (at ) RequestError (at )
func (*OfflineUserDataJobClient) RunOfflineUserDataJob ¶
func (c *OfflineUserDataJobClient) RunOfflineUserDataJob(ctx context.Context, req *servicespb.RunOfflineUserDataJobRequest, opts ...gax.CallOption) (*RunOfflineUserDataJobOperation, error)
RunOfflineUserDataJob runs the offline user data job.
When finished, the long running operation will contain the processing result or failure information, if any.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) HeaderError (at ) InternalError (at ) OfflineUserDataJobError (at ) QuotaError (at ) RequestError (at )
func (*OfflineUserDataJobClient) RunOfflineUserDataJobOperation ¶
func (c *OfflineUserDataJobClient) RunOfflineUserDataJobOperation(name string) *RunOfflineUserDataJobOperation
RunOfflineUserDataJobOperation returns a new RunOfflineUserDataJobOperation from a given name. The name must be that of a previously created RunOfflineUserDataJobOperation, possibly from a different process.
type PaymentsAccountCallOptions ¶
type PaymentsAccountCallOptions struct {
ListPaymentsAccounts []gax.CallOption
}
PaymentsAccountCallOptions contains the retry settings for each method of PaymentsAccountClient.
type PaymentsAccountClient ¶
type PaymentsAccountClient struct { // The call options for this service. CallOptions *PaymentsAccountCallOptions // contains filtered or unexported fields }
PaymentsAccountClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to provide payments accounts that can be used to set up consolidated billing.
func NewPaymentsAccountClient ¶
func NewPaymentsAccountClient(ctx context.Context, opts ...option.ClientOption) (*PaymentsAccountClient, error)
NewPaymentsAccountClient creates a new payments account service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to provide payments accounts that can be used to set up consolidated billing.
func (*PaymentsAccountClient) Close ¶
func (c *PaymentsAccountClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*PaymentsAccountClient) Connection ¶
func (c *PaymentsAccountClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*PaymentsAccountClient) ListPaymentsAccounts ¶
func (c *PaymentsAccountClient) ListPaymentsAccounts(ctx context.Context, req *servicespb.ListPaymentsAccountsRequest, opts ...gax.CallOption) (*servicespb.ListPaymentsAccountsResponse, error)
ListPaymentsAccounts returns all payments accounts associated with all managers between the login customer ID and specified serving customer in the hierarchy, inclusive.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) PaymentsAccountError (at ) QuotaError (at ) RequestError (at )
type PromoteCampaignDraftOperation ¶
type PromoteCampaignDraftOperation struct {
// contains filtered or unexported fields
}
PromoteCampaignDraftOperation manages a long-running operation from PromoteCampaignDraft.
func (*PromoteCampaignDraftOperation) Done ¶
func (op *PromoteCampaignDraftOperation) Done() bool
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 ¶
func (op *PromoteCampaignDraftOperation) 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 (*PromoteCampaignDraftOperation) Poll ¶
func (op *PromoteCampaignDraftOperation) 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 (*PromoteCampaignDraftOperation) Wait ¶
func (op *PromoteCampaignDraftOperation) 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 PromoteCampaignExperimentOperation ¶
type PromoteCampaignExperimentOperation struct {
// contains filtered or unexported fields
}
PromoteCampaignExperimentOperation manages a long-running operation from PromoteCampaignExperiment.
func (*PromoteCampaignExperimentOperation) Done ¶
func (op *PromoteCampaignExperimentOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*PromoteCampaignExperimentOperation) Metadata ¶
func (op *PromoteCampaignExperimentOperation) 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 (*PromoteCampaignExperimentOperation) Name ¶
func (op *PromoteCampaignExperimentOperation) 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 (*PromoteCampaignExperimentOperation) Poll ¶
func (op *PromoteCampaignExperimentOperation) 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 (*PromoteCampaignExperimentOperation) Wait ¶
func (op *PromoteCampaignExperimentOperation) 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 PromoteExperimentOperation ¶
type PromoteExperimentOperation struct {
// contains filtered or unexported fields
}
PromoteExperimentOperation manages a long-running operation from PromoteExperiment.
func (*PromoteExperimentOperation) Done ¶
func (op *PromoteExperimentOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*PromoteExperimentOperation) Metadata ¶
func (op *PromoteExperimentOperation) Metadata() (*servicespb.PromoteExperimentMetadata, 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 (*PromoteExperimentOperation) Name ¶
func (op *PromoteExperimentOperation) 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 (*PromoteExperimentOperation) Poll ¶
func (op *PromoteExperimentOperation) 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 (*PromoteExperimentOperation) Wait ¶
func (op *PromoteExperimentOperation) 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 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 ¶
func (c *ReachPlanClient) GenerateProductMixIdeas(ctx context.Context, req *servicespb.GenerateProductMixIdeasRequest, opts ...gax.CallOption) (*servicespb.GenerateProductMixIdeasResponse, error)
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 ¶
func (c *ReachPlanClient) GenerateReachForecast(ctx context.Context, req *servicespb.GenerateReachForecastRequest, opts ...gax.CallOption) (*servicespb.GenerateReachForecastResponse, error)
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 ¶
func (c *ReachPlanClient) ListPlannableLocations(ctx context.Context, req *servicespb.ListPlannableLocationsRequest, opts ...gax.CallOption) (*servicespb.ListPlannableLocationsResponse, error)
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 ¶
func (c *ReachPlanClient) ListPlannableProducts(ctx context.Context, req *servicespb.ListPlannableProductsRequest, opts ...gax.CallOption) (*servicespb.ListPlannableProductsResponse, error)
ListPlannableProducts returns the list of per-location plannable YouTube ad formats with allowed targeting.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type RecommendationCallOptions ¶
type RecommendationCallOptions struct { ApplyRecommendation []gax.CallOption DismissRecommendation []gax.CallOption }
RecommendationCallOptions contains the retry settings for each method of RecommendationClient.
type RecommendationClient ¶
type RecommendationClient struct { // The call options for this service. CallOptions *RecommendationCallOptions // contains filtered or unexported fields }
RecommendationClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage recommendations.
func NewRecommendationClient ¶
func NewRecommendationClient(ctx context.Context, opts ...option.ClientOption) (*RecommendationClient, error)
NewRecommendationClient creates a new recommendation service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage recommendations.
func (*RecommendationClient) ApplyRecommendation ¶
func (c *RecommendationClient) ApplyRecommendation(ctx context.Context, req *servicespb.ApplyRecommendationRequest, opts ...gax.CallOption) (*servicespb.ApplyRecommendationResponse, error)
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 ¶
func (c *RecommendationClient) DismissRecommendation(ctx context.Context, req *servicespb.DismissRecommendationRequest, opts ...gax.CallOption) (*servicespb.DismissRecommendationResponse, error)
DismissRecommendation dismisses given recommendations.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RecommendationError (at ) RequestError (at )
type RemarketingActionCallOptions ¶
type RemarketingActionCallOptions struct {
MutateRemarketingActions []gax.CallOption
}
RemarketingActionCallOptions contains the retry settings for each method of RemarketingActionClient.
type RemarketingActionClient ¶
type RemarketingActionClient struct { // The call options for this service. CallOptions *RemarketingActionCallOptions // contains filtered or unexported fields }
RemarketingActionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage remarketing actions.
func NewRemarketingActionClient ¶
func NewRemarketingActionClient(ctx context.Context, opts ...option.ClientOption) (*RemarketingActionClient, error)
NewRemarketingActionClient creates a new remarketing action service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage remarketing actions.
func (*RemarketingActionClient) Close ¶
func (c *RemarketingActionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*RemarketingActionClient) Connection ¶
func (c *RemarketingActionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*RemarketingActionClient) MutateRemarketingActions ¶
func (c *RemarketingActionClient) MutateRemarketingActions(ctx context.Context, req *servicespb.MutateRemarketingActionsRequest, opts ...gax.CallOption) (*servicespb.MutateRemarketingActionsResponse, error)
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 ¶
func (op *RunBatchJobOperation) Metadata() (*resourcespb.BatchJob_BatchJobMetadata, 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 (*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 ¶
func (op *RunOfflineUserDataJobOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*RunOfflineUserDataJobOperation) Metadata ¶
func (op *RunOfflineUserDataJobOperation) Metadata() (*resourcespb.OfflineUserDataJobMetadata, 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 (*RunOfflineUserDataJobOperation) Name ¶
func (op *RunOfflineUserDataJobOperation) 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 (*RunOfflineUserDataJobOperation) Poll ¶
func (op *RunOfflineUserDataJobOperation) 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 (*RunOfflineUserDataJobOperation) Wait ¶
func (op *RunOfflineUserDataJobOperation) 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 ScheduleExperimentOperation ¶
type ScheduleExperimentOperation struct {
// contains filtered or unexported fields
}
ScheduleExperimentOperation manages a long-running operation from ScheduleExperiment.
func (*ScheduleExperimentOperation) Done ¶
func (op *ScheduleExperimentOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*ScheduleExperimentOperation) Metadata ¶
func (op *ScheduleExperimentOperation) Metadata() (*servicespb.ScheduleExperimentMetadata, 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 (*ScheduleExperimentOperation) Name ¶
func (op *ScheduleExperimentOperation) 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 (*ScheduleExperimentOperation) Poll ¶
func (op *ScheduleExperimentOperation) 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 (*ScheduleExperimentOperation) Wait ¶
func (op *ScheduleExperimentOperation) 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 SharedCriterionCallOptions ¶
type SharedCriterionCallOptions struct {
}SharedCriterionCallOptions contains the retry settings for each method of SharedCriterionClient.
type SharedCriterionClient ¶
type SharedCriterionClient struct { SharedCriterionCallOptions // contains filtered or unexported fields }CallOptions *
SharedCriterionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage shared criteria.
func NewSharedCriterionClient ¶
func NewSharedCriterionClient(ctx context.Context, opts ...option.ClientOption) (*SharedCriterionClient, error)
NewSharedCriterionClient creates a new shared criterion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage shared criteria.
func (*SharedCriterionClient) Close ¶
func (c *SharedCriterionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*SharedCriterionClient) Connection ¶
func (c *SharedCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*SharedCriterionClient) MutateSharedCriteria ¶
func (c *SharedCriterionClient) MutateSharedCriteria(ctx context.Context, req *servicespb.MutateSharedCriteriaRequest, opts ...gax.CallOption) (*servicespb.MutateSharedCriteriaResponse, error)
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 {
}SharedSetCallOptions contains the retry settings for each method of SharedSetClient.
type SharedSetClient ¶
type SharedSetClient struct { SharedSetCallOptions // contains filtered or unexported fields }CallOptions *
SharedSetClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage shared sets.
func NewSharedSetClient ¶
func NewSharedSetClient(ctx context.Context, opts ...option.ClientOption) (*SharedSetClient, error)
NewSharedSetClient creates a new shared set service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage shared sets.
func (*SharedSetClient) Close ¶
func (c *SharedSetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*SharedSetClient) Connection ¶
func (c *SharedSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*SharedSetClient) MutateSharedSets ¶
func (c *SharedSetClient) MutateSharedSets(ctx context.Context, req *servicespb.MutateSharedSetsRequest, opts ...gax.CallOption) (*servicespb.MutateSharedSetsResponse, error)
MutateSharedSets creates, updates, or removes shared sets. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) DateError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) IdError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotEmptyError (at ) NullError (at ) OperatorError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) ResourceCountLimitExceededError (at ) SharedSetError (at ) SizeLimitError (at ) StringFormatError (at ) StringLengthError (at )
type SmartCampaignSettingCallOptions ¶
type SmartCampaignSettingCallOptions struct {
MutateSmartCampaignSettings []gax.CallOption
}
SmartCampaignSettingCallOptions contains the retry settings for each method of SmartCampaignSettingClient.
type SmartCampaignSettingClient ¶
type SmartCampaignSettingClient struct { // The call options for this service. CallOptions *SmartCampaignSettingCallOptions // contains filtered or unexported fields }
SmartCampaignSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage Smart campaign settings.
func NewSmartCampaignSettingClient ¶
func NewSmartCampaignSettingClient(ctx context.Context, opts ...option.ClientOption) (*SmartCampaignSettingClient, error)
NewSmartCampaignSettingClient creates a new smart campaign setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage Smart campaign settings.
func (*SmartCampaignSettingClient) Close ¶
func (c *SmartCampaignSettingClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*SmartCampaignSettingClient) Connection ¶
func (c *SmartCampaignSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*SmartCampaignSettingClient) MutateSmartCampaignSettings ¶
func (c *SmartCampaignSettingClient) MutateSmartCampaignSettings(ctx context.Context, req *servicespb.MutateSmartCampaignSettingsRequest, opts ...gax.CallOption) (*servicespb.MutateSmartCampaignSettingsResponse, error)
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 ¶
func (c *SmartCampaignSuggestClient) SuggestKeywordThemes(ctx context.Context, req *servicespb.SuggestKeywordThemesRequest, opts ...gax.CallOption) (*servicespb.SuggestKeywordThemesResponse, error)
SuggestKeywordThemes suggests keyword themes to advertise on.
func (*SmartCampaignSuggestClient) SuggestSmartCampaignAd ¶
func (c *SmartCampaignSuggestClient) SuggestSmartCampaignAd(ctx context.Context, req *servicespb.SuggestSmartCampaignAdRequest, opts ...gax.CallOption) (*servicespb.SuggestSmartCampaignAdResponse, error)
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 ¶
func (c *SmartCampaignSuggestClient) SuggestSmartCampaignBudgetOptions(ctx context.Context, req *servicespb.SuggestSmartCampaignBudgetOptionsRequest, opts ...gax.CallOption) (*servicespb.SuggestSmartCampaignBudgetOptionsResponse, error)
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 {
}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 ¶
func (c *ThirdPartyAppAnalyticsLinkClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ThirdPartyAppAnalyticsLinkClient) Connection ¶
func (c *ThirdPartyAppAnalyticsLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*ThirdPartyAppAnalyticsLinkClient) RegenerateShareableLinkId ¶
func (c *ThirdPartyAppAnalyticsLinkClient) RegenerateShareableLinkId(ctx context.Context, req *servicespb.RegenerateShareableLinkIdRequest, opts ...gax.CallOption) (*servicespb.RegenerateShareableLinkIdResponse, error)
RegenerateShareableLinkId regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be provided to the third party when setting up app analytics.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
type UserDataCallOptions ¶
type UserDataCallOptions struct {
UploadUserData []gax.CallOption
}
UserDataCallOptions contains the retry settings for each method of UserDataClient.
type UserDataClient ¶
type UserDataClient struct { // The call options for this service. CallOptions *UserDataCallOptions // contains filtered or unexported fields }
UserDataClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage user data uploads.
func NewUserDataClient ¶
func NewUserDataClient(ctx context.Context, opts ...option.ClientOption) (*UserDataClient, error)
NewUserDataClient creates a new user data service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage user data uploads.
func (*UserDataClient) Close ¶
func (c *UserDataClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*UserDataClient) Connection ¶
func (c *UserDataClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*UserDataClient) UploadUserData ¶
func (c *UserDataClient) UploadUserData(ctx context.Context, req *servicespb.UploadUserDataRequest, opts ...gax.CallOption) (*servicespb.UploadUserDataResponse, error)
UploadUserData uploads the given user data.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) OfflineUserDataJobError (at ) QuotaError (at ) RequestError (at ) UserDataError (at )
type UserListCallOptions ¶
type UserListCallOptions struct {
MutateUserLists []gax.CallOption
}
UserListCallOptions contains the retry settings for each method of UserListClient.
type UserListClient ¶
type UserListClient struct { // The call options for this service. CallOptions *UserListCallOptions // contains filtered or unexported fields }
UserListClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage user lists.
func NewUserListClient ¶
func NewUserListClient(ctx context.Context, opts ...option.ClientOption) (*UserListClient, error)
NewUserListClient creates a new user list service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage user lists.
func (*UserListClient) Close ¶
func (c *UserListClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*UserListClient) Connection ¶
func (c *UserListClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated.
func (*UserListClient) MutateUserLists ¶
func (c *UserListClient) MutateUserLists(ctx context.Context, req *servicespb.MutateUserListsRequest, opts ...gax.CallOption) (*servicespb.MutateUserListsResponse, error)
MutateUserLists creates or updates user lists. Operation statuses are returned.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) DatabaseError (at ) DistinctError (at ) FieldError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) NewResourceCreationError (at ) NotAllowlistedError (at ) NotEmptyError (at ) OperationAccessDeniedError (at ) QuotaError (at ) RangeError (at ) RequestError (at ) StringFormatError (at ) StringLengthError (at ) UserListError (at )
Source Files ¶
- account_budget_proposal_client.go
- account_link_client.go
- ad_client.go
- ad_group_ad_client.go
- ad_group_ad_label_client.go
- ad_group_asset_client.go
- ad_group_bid_modifier_client.go
- ad_group_client.go
- ad_group_criterion_client.go
- ad_group_criterion_customizer_client.go
- ad_group_criterion_label_client.go
- ad_group_customizer_client.go
- ad_group_extension_setting_client.go
- ad_group_feed_client.go
- ad_group_label_client.go
- ad_parameter_client.go
- asset_client.go
- asset_group_asset_client.go
- asset_group_client.go
- asset_group_listing_group_filter_client.go
- asset_group_signal_client.go
- asset_set_asset_client.go
- asset_set_client.go
- audience_client.go
- batch_job_client.go
- bidding_data_exclusion_client.go
- bidding_seasonality_adjustment_client.go
- bidding_strategy_client.go
- billing_setup_client.go
- campaign_asset_client.go
- campaign_asset_set_client.go
- campaign_bid_modifier_client.go
- campaign_budget_client.go
- campaign_client.go
- campaign_conversion_goal_client.go
- campaign_criterion_client.go
- campaign_customizer_client.go
- campaign_draft_client.go
- campaign_experiment_client.go
- campaign_extension_setting_client.go
- campaign_feed_client.go
- campaign_label_client.go
- campaign_shared_set_client.go
- conversion_action_client.go
- conversion_adjustment_upload_client.go
- conversion_custom_variable_client.go
- conversion_goal_campaign_config_client.go
- conversion_upload_client.go
- conversion_value_rule_client.go
- conversion_value_rule_set_client.go
- custom_audience_client.go
- custom_conversion_goal_client.go
- custom_interest_client.go
- customer_asset_client.go
- customer_client.go
- customer_client_link_client.go
- customer_conversion_goal_client.go
- customer_customizer_client.go
- customer_extension_setting_client.go
- customer_feed_client.go
- customer_label_client.go
- customer_manager_link_client.go
- customer_negative_criterion_client.go
- customer_user_access_client.go
- customer_user_access_invitation_client.go
- customizer_attribute_client.go
- doc.go
- experiment_arm_client.go
- experiment_client.go
- extension_feed_item_client.go
- feed_client.go
- feed_item_client.go
- feed_item_set_client.go
- feed_item_set_link_client.go
- feed_item_target_client.go
- feed_mapping_client.go
- geo_target_constant_client.go
- google_ads_client.go
- google_ads_field_client.go
- invoice_client.go
- keyword_plan_ad_group_client.go
- keyword_plan_ad_group_keyword_client.go
- keyword_plan_campaign_client.go
- keyword_plan_campaign_keyword_client.go
- keyword_plan_client.go
- keyword_plan_idea_client.go
- keyword_theme_constant_client.go
- label_client.go
- media_file_client.go
- merchant_center_link_client.go
- offline_user_data_job_client.go
- payments_account_client.go
- reach_plan_client.go
- recommendation_client.go
- remarketing_action_client.go
- shared_criterion_client.go
- shared_set_client.go
- smart_campaign_setting_client.go
- smart_campaign_suggest_client.go
- third_party_app_analytics_link_client.go
- user_data_client.go
- user_list_client.go