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.
General documentation ¶
For information that is relevant for all client libraries please reference https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this page includes:
- Authentication and Authorization
- Timeouts and Cancellation
- Testing against Client Libraries
- Debugging Client Libraries
- Inspecting errors
Example usage ¶
To get started with this package, create a client.
ctx := context.Background() // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. // - It may require specifying regional endpoints when creating the service client as shown in: // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options 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() // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. // - It may require specifying regional endpoints when creating the service client as shown in: // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options 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/dictav/go-genproto-googleads/pb/v15/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 NewAccountBudgetProposalClient 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.
Index ¶
- func DefaultAuthScopes() []string
- type AccountBudgetProposalCallOptions
- type AccountBudgetProposalClient
- func (c *AccountBudgetProposalClient) Close() error
- func (c *AccountBudgetProposalClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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 AdGroupAssetSetCallOptions
- type AdGroupAssetSetClient
- type AdGroupBidModifierCallOptions
- type AdGroupBidModifierClient
- func (c *AdGroupBidModifierClient) Close() error
- func (c *AdGroupBidModifierClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *AdGroupCriterionLabelClient) MutateAdGroupCriterionLabels(ctx context.Context, req *servicespb.MutateAdGroupCriterionLabelsRequest, ...) (*servicespb.MutateAdGroupCriterionLabelsResponse, error)
- type AdGroupCustomizerCallOptions
- type AdGroupCustomizerClient
- func (c *AdGroupCustomizerClient) Close() error
- func (c *AdGroupCustomizerClient) Connection() *grpc.ClientConndeprecated
- func (c *AdGroupCustomizerClient) MutateAdGroupCustomizers(ctx context.Context, req *servicespb.MutateAdGroupCustomizersRequest, ...) (*servicespb.MutateAdGroupCustomizersResponse, error)
- type AdGroupExtensionSettingCallOptions
- type AdGroupExtensionSettingClient
- func (c *AdGroupExtensionSettingClient) Close() error
- func (c *AdGroupExtensionSettingClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *AssetGroupListingGroupFilterClient) MutateAssetGroupListingGroupFilters(ctx context.Context, ...) (*servicespb.MutateAssetGroupListingGroupFiltersResponse, error)
- type AssetGroupSignalCallOptions
- type AssetGroupSignalClient
- func (c *AssetGroupSignalClient) Close() error
- func (c *AssetGroupSignalClient) Connection() *grpc.ClientConndeprecated
- func (c *AssetGroupSignalClient) MutateAssetGroupSignals(ctx context.Context, req *servicespb.MutateAssetGroupSignalsRequest, ...) (*servicespb.MutateAssetGroupSignalsResponse, error)
- type AssetSetAssetCallOptions
- type AssetSetAssetClient
- type AssetSetCallOptions
- type AssetSetClient
- type AudienceCallOptions
- type AudienceClient
- type AudienceInsightsCallOptions
- type AudienceInsightsClient
- func (c *AudienceInsightsClient) Close() error
- func (c *AudienceInsightsClient) Connection() *grpc.ClientConndeprecated
- func (c *AudienceInsightsClient) GenerateAudienceCompositionInsights(ctx context.Context, ...) (*servicespb.GenerateAudienceCompositionInsightsResponse, error)
- func (c *AudienceInsightsClient) GenerateInsightsFinderReport(ctx context.Context, req *servicespb.GenerateInsightsFinderReportRequest, ...) (*servicespb.GenerateInsightsFinderReportResponse, error)
- func (c *AudienceInsightsClient) GenerateSuggestedTargetingInsights(ctx context.Context, req *servicespb.GenerateSuggestedTargetingInsightsRequest, ...) (*servicespb.GenerateSuggestedTargetingInsightsResponse, error)
- func (c *AudienceInsightsClient) ListAudienceInsightsAttributes(ctx context.Context, req *servicespb.ListAudienceInsightsAttributesRequest, ...) (*servicespb.ListAudienceInsightsAttributesResponse, error)
- func (c *AudienceInsightsClient) ListInsightsEligibleDates(ctx context.Context, req *servicespb.ListInsightsEligibleDatesRequest, ...) (*servicespb.ListInsightsEligibleDatesResponse, error)
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *BiddingSeasonalityAdjustmentClient) MutateBiddingSeasonalityAdjustments(ctx context.Context, ...) (*servicespb.MutateBiddingSeasonalityAdjustmentsResponse, error)
- type BiddingStrategyCallOptions
- type BiddingStrategyClient
- func (c *BiddingStrategyClient) Close() error
- func (c *BiddingStrategyClient) Connection() *grpc.ClientConndeprecated
- func (c *BiddingStrategyClient) MutateBiddingStrategies(ctx context.Context, req *servicespb.MutateBiddingStrategiesRequest, ...) (*servicespb.MutateBiddingStrategiesResponse, error)
- type BillingSetupCallOptions
- type BillingSetupClient
- type BrandSuggestionCallOptions
- type BrandSuggestionClient
- type CallOptions
- type CampaignAssetCallOptions
- type CampaignAssetClient
- type CampaignAssetSetCallOptions
- type CampaignAssetSetClient
- func (c *CampaignAssetSetClient) Close() error
- func (c *CampaignAssetSetClient) Connection() *grpc.ClientConndeprecated
- func (c *CampaignAssetSetClient) MutateCampaignAssetSets(ctx context.Context, req *servicespb.MutateCampaignAssetSetsRequest, ...) (*servicespb.MutateCampaignAssetSetsResponse, error)
- type CampaignBidModifierCallOptions
- type CampaignBidModifierClient
- func (c *CampaignBidModifierClient) Close() error
- func (c *CampaignBidModifierClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *CampaignConversionGoalClient) MutateCampaignConversionGoals(ctx context.Context, req *servicespb.MutateCampaignConversionGoalsRequest, ...) (*servicespb.MutateCampaignConversionGoalsResponse, error)
- type CampaignCriterionCallOptions
- type CampaignCriterionClient
- func (c *CampaignCriterionClient) Close() error
- func (c *CampaignCriterionClient) Connection() *grpc.ClientConndeprecated
- func (c *CampaignCriterionClient) MutateCampaignCriteria(ctx context.Context, req *servicespb.MutateCampaignCriteriaRequest, ...) (*servicespb.MutateCampaignCriteriaResponse, error)
- type CampaignCustomizerCallOptions
- type CampaignCustomizerClient
- func (c *CampaignCustomizerClient) Close() error
- func (c *CampaignCustomizerClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- 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 CampaignExtensionSettingCallOptions
- type CampaignExtensionSettingClient
- func (c *CampaignExtensionSettingClient) Close() error
- func (c *CampaignExtensionSettingClient) Connection() *grpc.ClientConndeprecated
- func (c *CampaignExtensionSettingClient) MutateCampaignExtensionSettings(ctx context.Context, req *servicespb.MutateCampaignExtensionSettingsRequest, ...) (*servicespb.MutateCampaignExtensionSettingsResponse, error)
- type CampaignFeedCallOptions
- type CampaignFeedClient
- type CampaignGroupCallOptions
- type CampaignGroupClient
- type CampaignLabelCallOptions
- type CampaignLabelClient
- type CampaignLifecycleCallOptions
- type CampaignLifecycleClient
- func (c *CampaignLifecycleClient) Close() error
- func (c *CampaignLifecycleClient) ConfigureCampaignLifecycleGoals(ctx context.Context, req *servicespb.ConfigureCampaignLifecycleGoalsRequest, ...) (*servicespb.ConfigureCampaignLifecycleGoalsResponse, error)
- func (c *CampaignLifecycleClient) Connection() *grpc.ClientConndeprecated
- type CampaignSharedSetCallOptions
- type CampaignSharedSetClient
- func (c *CampaignSharedSetClient) Close() error
- func (c *CampaignSharedSetClient) Connection() *grpc.ClientConndeprecated
- func (c *CampaignSharedSetClient) MutateCampaignSharedSets(ctx context.Context, req *servicespb.MutateCampaignSharedSetsRequest, ...) (*servicespb.MutateCampaignSharedSetsResponse, error)
- type Client
- func (c *Client) Close() error
- func (c *Client) Connection() *grpc.ClientConndeprecated
- 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
- func (c *ConversionActionClient) Close() error
- func (c *ConversionActionClient) Connection() *grpc.ClientConndeprecated
- func (c *ConversionActionClient) MutateConversionActions(ctx context.Context, req *servicespb.MutateConversionActionsRequest, ...) (*servicespb.MutateConversionActionsResponse, error)
- type ConversionAdjustmentUploadCallOptions
- type ConversionAdjustmentUploadClient
- func (c *ConversionAdjustmentUploadClient) Close() error
- func (c *ConversionAdjustmentUploadClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *ConversionGoalCampaignConfigClient) MutateConversionGoalCampaignConfigs(ctx context.Context, ...) (*servicespb.MutateConversionGoalCampaignConfigsResponse, error)
- type ConversionUploadCallOptions
- type ConversionUploadClient
- func (c *ConversionUploadClient) Close() error
- func (c *ConversionUploadClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *ConversionValueRuleSetClient) MutateConversionValueRuleSets(ctx context.Context, req *servicespb.MutateConversionValueRuleSetsRequest, ...) (*servicespb.MutateConversionValueRuleSetsResponse, error)
- type CustomAudienceCallOptions
- type CustomAudienceClient
- type CustomConversionGoalCallOptions
- type CustomConversionGoalClient
- func (c *CustomConversionGoalClient) Close() error
- func (c *CustomConversionGoalClient) Connection() *grpc.ClientConndeprecated
- func (c *CustomConversionGoalClient) MutateCustomConversionGoals(ctx context.Context, req *servicespb.MutateCustomConversionGoalsRequest, ...) (*servicespb.MutateCustomConversionGoalsResponse, error)
- type CustomInterestCallOptions
- type CustomInterestClient
- type CustomerAssetCallOptions
- type CustomerAssetClient
- type CustomerAssetSetCallOptions
- type CustomerAssetSetClient
- func (c *CustomerAssetSetClient) Close() error
- func (c *CustomerAssetSetClient) Connection() *grpc.ClientConndeprecated
- func (c *CustomerAssetSetClient) MutateCustomerAssetSets(ctx context.Context, req *servicespb.MutateCustomerAssetSetsRequest, ...) (*servicespb.MutateCustomerAssetSetsResponse, error)
- type CustomerCallOptions
- type CustomerClient
- func (c *CustomerClient) Close() error
- func (c *CustomerClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *CustomerExtensionSettingClient) MutateCustomerExtensionSettings(ctx context.Context, req *servicespb.MutateCustomerExtensionSettingsRequest, ...) (*servicespb.MutateCustomerExtensionSettingsResponse, error)
- type CustomerFeedCallOptions
- type CustomerFeedClient
- type CustomerLabelCallOptions
- type CustomerLabelClient
- type CustomerLifecycleCallOptions
- type CustomerLifecycleClient
- func (c *CustomerLifecycleClient) Close() error
- func (c *CustomerLifecycleClient) ConfigureCustomerLifecycleGoals(ctx context.Context, req *servicespb.ConfigureCustomerLifecycleGoalsRequest, ...) (*servicespb.ConfigureCustomerLifecycleGoalsResponse, error)
- func (c *CustomerLifecycleClient) Connection() *grpc.ClientConndeprecated
- type CustomerManagerLinkCallOptions
- type CustomerManagerLinkClient
- func (c *CustomerManagerLinkClient) Close() error
- func (c *CustomerManagerLinkClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *CustomerNegativeCriterionClient) MutateCustomerNegativeCriteria(ctx context.Context, req *servicespb.MutateCustomerNegativeCriteriaRequest, ...) (*servicespb.MutateCustomerNegativeCriteriaResponse, error)
- type CustomerSkAdNetworkConversionValueSchemaCallOptions
- type CustomerSkAdNetworkConversionValueSchemaClient
- func (c *CustomerSkAdNetworkConversionValueSchemaClient) Close() error
- func (c *CustomerSkAdNetworkConversionValueSchemaClient) Connection() *grpc.ClientConndeprecated
- func (c *CustomerSkAdNetworkConversionValueSchemaClient) MutateCustomerSkAdNetworkConversionValueSchema(ctx context.Context, ...) (*servicespb.MutateCustomerSkAdNetworkConversionValueSchemaResponse, error)
- type CustomerUserAccessCallOptions
- type CustomerUserAccessClient
- func (c *CustomerUserAccessClient) Close() error
- func (c *CustomerUserAccessClient) Connection() *grpc.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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
- func (c *ExtensionFeedItemClient) Close() error
- func (c *ExtensionFeedItemClient) Connection() *grpc.ClientConndeprecated
- func (c *ExtensionFeedItemClient) MutateExtensionFeedItems(ctx context.Context, req *servicespb.MutateExtensionFeedItemsRequest, ...) (*servicespb.MutateExtensionFeedItemsResponse, error)
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *KeywordPlanCampaignKeywordClient) MutateKeywordPlanCampaignKeywords(ctx context.Context, req *servicespb.MutateKeywordPlanCampaignKeywordsRequest, ...) (*servicespb.MutateKeywordPlanCampaignKeywordsResponse, error)
- type KeywordPlanClient
- type KeywordPlanIdeaCallOptions
- type KeywordPlanIdeaClient
- func (c *KeywordPlanIdeaClient) Close() error
- func (c *KeywordPlanIdeaClient) Connection() *grpc.ClientConndeprecated
- func (c *KeywordPlanIdeaClient) GenerateAdGroupThemes(ctx context.Context, req *servicespb.GenerateAdGroupThemesRequest, ...) (*servicespb.GenerateAdGroupThemesResponse, error)
- func (c *KeywordPlanIdeaClient) GenerateKeywordForecastMetrics(ctx context.Context, req *servicespb.GenerateKeywordForecastMetricsRequest, ...) (*servicespb.GenerateKeywordForecastMetricsResponse, error)
- func (c *KeywordPlanIdeaClient) GenerateKeywordHistoricalMetrics(ctx context.Context, req *servicespb.GenerateKeywordHistoricalMetricsRequest, ...) (*servicespb.GenerateKeywordHistoricalMetricsResponse, error)
- func (c *KeywordPlanIdeaClient) GenerateKeywordIdeas(ctx context.Context, req *servicespb.GenerateKeywordIdeasRequest, ...) *GenerateKeywordIdeaResultIterator
- type KeywordThemeConstantCallOptions
- type KeywordThemeConstantClient
- func (c *KeywordThemeConstantClient) Close() error
- func (c *KeywordThemeConstantClient) Connection() *grpc.ClientConndeprecated
- func (c *KeywordThemeConstantClient) SuggestKeywordThemeConstants(ctx context.Context, req *servicespb.SuggestKeywordThemeConstantsRequest, ...) (*servicespb.SuggestKeywordThemeConstantsResponse, error)
- type LabelCallOptions
- type LabelClient
- 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.ClientConndeprecated
- 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 ProductLinkCallOptions
- type ProductLinkClient
- func (c *ProductLinkClient) Close() error
- func (c *ProductLinkClient) Connection() *grpc.ClientConndeprecated
- func (c *ProductLinkClient) CreateProductLink(ctx context.Context, req *servicespb.CreateProductLinkRequest, ...) (*servicespb.CreateProductLinkResponse, error)
- func (c *ProductLinkClient) RemoveProductLink(ctx context.Context, req *servicespb.RemoveProductLinkRequest, ...) (*servicespb.RemoveProductLinkResponse, error)
- type ProductLinkInvitationCallOptions
- type ProductLinkInvitationClient
- func (c *ProductLinkInvitationClient) Close() error
- func (c *ProductLinkInvitationClient) Connection() *grpc.ClientConndeprecated
- func (c *ProductLinkInvitationClient) UpdateProductLinkInvitation(ctx context.Context, req *servicespb.UpdateProductLinkInvitationRequest, ...) (*servicespb.UpdateProductLinkInvitationResponse, error)
- 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 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *RecommendationClient) DismissRecommendation(ctx context.Context, req *servicespb.DismissRecommendationRequest, ...) (*servicespb.DismissRecommendationResponse, error)
- type RecommendationSubscriptionCallOptions
- type RecommendationSubscriptionClient
- func (c *RecommendationSubscriptionClient) Close() error
- func (c *RecommendationSubscriptionClient) Connection() *grpc.ClientConndeprecated
- func (c *RecommendationSubscriptionClient) MutateRecommendationSubscription(ctx context.Context, req *servicespb.MutateRecommendationSubscriptionRequest, ...) (*servicespb.MutateRecommendationSubscriptionResponse, error)
- type RemarketingActionCallOptions
- type RemarketingActionClient
- func (c *RemarketingActionClient) Close() error
- func (c *RemarketingActionClient) Connection() *grpc.ClientConndeprecated
- func (c *RemarketingActionClient) MutateRemarketingActions(ctx context.Context, req *servicespb.MutateRemarketingActionsRequest, ...) (*servicespb.MutateRemarketingActionsResponse, error)
- 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.ClientConndeprecated
- func (c *SmartCampaignSettingClient) GetSmartCampaignStatus(ctx context.Context, req *servicespb.GetSmartCampaignStatusRequest, ...) (*servicespb.GetSmartCampaignStatusResponse, error)
- 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.ClientConndeprecated
- 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.ClientConndeprecated
- func (c *ThirdPartyAppAnalyticsLinkClient) RegenerateShareableLinkId(ctx context.Context, req *servicespb.RegenerateShareableLinkIdRequest, ...) (*servicespb.RegenerateShareableLinkIdResponse, error)
- type TravelAssetSuggestionCallOptions
- type TravelAssetSuggestionClient
- func (c *TravelAssetSuggestionClient) Close() error
- func (c *TravelAssetSuggestionClient) Connection() *grpc.ClientConndeprecated
- func (c *TravelAssetSuggestionClient) SuggestTravelAssets(ctx context.Context, req *servicespb.SuggestTravelAssetsRequest, ...) (*servicespb.SuggestTravelAssetsResponse, 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 through 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 through 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
deprecated
func (c *AccountBudgetProposalClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AccountLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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. 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
deprecated
func (c *AdClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupAdClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupAdLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 AdGroupAssetSetCallOptions ¶
type AdGroupAssetSetCallOptions struct {
MutateAdGroupAssetSets []gax.CallOption
}
AdGroupAssetSetCallOptions contains the retry settings for each method of AdGroupAssetSetClient.
type AdGroupAssetSetClient ¶
type AdGroupAssetSetClient struct { // The call options for this service. CallOptions *AdGroupAssetSetCallOptions // contains filtered or unexported fields }
AdGroupAssetSetClient is a client for interacting 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 asset set
func NewAdGroupAssetSetClient ¶
func NewAdGroupAssetSetClient(ctx context.Context, opts ...option.ClientOption) (*AdGroupAssetSetClient, error)
NewAdGroupAssetSetClient creates a new ad group 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 ad group asset set
func (*AdGroupAssetSetClient) Close ¶
func (c *AdGroupAssetSetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AdGroupAssetSetClient) Connection
deprecated
func (c *AdGroupAssetSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*AdGroupAssetSetClient) MutateAdGroupAssetSets ¶
func (c *AdGroupAssetSetClient) MutateAdGroupAssetSets(ctx context.Context, req *servicespb.MutateAdGroupAssetSetsRequest, opts ...gax.CallOption) (*servicespb.MutateAdGroupAssetSetsResponse, error)
MutateAdGroupAssetSets creates, or removes ad group asset sets. Operation statuses are returned.
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
deprecated
func (c *AdGroupBidModifierClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupCriterionCustomizerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupCriterionLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupCustomizerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupExtensionSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupFeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdGroupLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AdParameterClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AssetGroupAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AssetGroupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AssetGroupListingGroupFilterClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AssetGroupSignalClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AssetSetAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AssetSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *AudienceClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 AudienceInsightsCallOptions ¶
type AudienceInsightsCallOptions struct { GenerateInsightsFinderReport []gax.CallOption ListAudienceInsightsAttributes []gax.CallOption ListInsightsEligibleDates []gax.CallOption GenerateAudienceCompositionInsights []gax.CallOption GenerateSuggestedTargetingInsights []gax.CallOption }
AudienceInsightsCallOptions contains the retry settings for each method of AudienceInsightsClient.
type AudienceInsightsClient ¶
type AudienceInsightsClient struct { // The call options for this service. CallOptions *AudienceInsightsCallOptions // contains filtered or unexported fields }
AudienceInsightsClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Audience Insights Service helps users find information about groups of people and how they can be reached with Google Ads. Accessible to allowlisted customers only.
func NewAudienceInsightsClient ¶
func NewAudienceInsightsClient(ctx context.Context, opts ...option.ClientOption) (*AudienceInsightsClient, error)
NewAudienceInsightsClient creates a new audience insights service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Audience Insights Service helps users find information about groups of people and how they can be reached with Google Ads. Accessible to allowlisted customers only.
func (*AudienceInsightsClient) Close ¶
func (c *AudienceInsightsClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*AudienceInsightsClient) Connection
deprecated
func (c *AudienceInsightsClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*AudienceInsightsClient) GenerateAudienceCompositionInsights ¶
func (c *AudienceInsightsClient) GenerateAudienceCompositionInsights(ctx context.Context, req *servicespb.GenerateAudienceCompositionInsightsRequest, opts ...gax.CallOption) (*servicespb.GenerateAudienceCompositionInsightsResponse, error)
GenerateAudienceCompositionInsights returns a collection of attributes that are represented in an audience of interest, with metrics that compare each attribute’s share of the audience with its share of a baseline audience.
List of thrown errors: AudienceInsightsError (at ) AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (at )
func (*AudienceInsightsClient) GenerateInsightsFinderReport ¶
func (c *AudienceInsightsClient) GenerateInsightsFinderReport(ctx context.Context, req *servicespb.GenerateInsightsFinderReportRequest, opts ...gax.CallOption) (*servicespb.GenerateInsightsFinderReportResponse, error)
GenerateInsightsFinderReport creates a saved report that can be viewed in the Insights Finder tool.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (at )
func (*AudienceInsightsClient) GenerateSuggestedTargetingInsights ¶
func (c *AudienceInsightsClient) GenerateSuggestedTargetingInsights(ctx context.Context, req *servicespb.GenerateSuggestedTargetingInsightsRequest, opts ...gax.CallOption) (*servicespb.GenerateSuggestedTargetingInsightsResponse, error)
GenerateSuggestedTargetingInsights returns a collection of targeting insights (e.g. targetable audiences) that are relevant to the requested audience.
List of thrown errors: AudienceInsightsError (at ) AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (at )
func (*AudienceInsightsClient) ListAudienceInsightsAttributes ¶
func (c *AudienceInsightsClient) ListAudienceInsightsAttributes(ctx context.Context, req *servicespb.ListAudienceInsightsAttributesRequest, opts ...gax.CallOption) (*servicespb.ListAudienceInsightsAttributesResponse, error)
ListAudienceInsightsAttributes searches for audience attributes that can be used to generate insights.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (at )
func (*AudienceInsightsClient) ListInsightsEligibleDates ¶
func (c *AudienceInsightsClient) ListInsightsEligibleDates(ctx context.Context, req *servicespb.ListInsightsEligibleDatesRequest, opts ...gax.CallOption) (*servicespb.ListInsightsEligibleDatesResponse, error)
ListInsightsEligibleDates lists date ranges for which audience insights data can be requested.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RangeError (at ) RequestError (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
deprecated
func (c *BatchJobClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *BiddingDataExclusionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *BiddingSeasonalityAdjustmentClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *BiddingStrategyClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *BillingSetupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 BrandSuggestionCallOptions ¶
type BrandSuggestionCallOptions struct {
SuggestBrands []gax.CallOption
}
BrandSuggestionCallOptions contains the retry settings for each method of BrandSuggestionClient.
type BrandSuggestionClient ¶
type BrandSuggestionClient struct { // The call options for this service. CallOptions *BrandSuggestionCallOptions // contains filtered or unexported fields }
BrandSuggestionClient is a 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 will suggest brands based on a prefix.
func NewBrandSuggestionClient ¶
func NewBrandSuggestionClient(ctx context.Context, opts ...option.ClientOption) (*BrandSuggestionClient, error)
NewBrandSuggestionClient creates a new brand suggestion 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 will suggest brands based on a prefix.
func (*BrandSuggestionClient) Close ¶
func (c *BrandSuggestionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*BrandSuggestionClient) Connection
deprecated
func (c *BrandSuggestionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*BrandSuggestionClient) SuggestBrands ¶
func (c *BrandSuggestionClient) SuggestBrands(ctx context.Context, req *servicespb.SuggestBrandsRequest, opts ...gax.CallOption) (*servicespb.SuggestBrandsResponse, error)
SuggestBrands rpc to return a list of matching brands based on a prefix for this customer.
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
deprecated
func (c *CampaignAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignAssetSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignBidModifierClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignBudgetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignConversionGoalClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignCustomizerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignDraftClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 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 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
deprecated
func (c *CampaignExtensionSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignFeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 CampaignGroupCallOptions ¶
type CampaignGroupCallOptions struct {
MutateCampaignGroups []gax.CallOption
}
CampaignGroupCallOptions contains the retry settings for each method of CampaignGroupClient.
type CampaignGroupClient ¶
type CampaignGroupClient struct { // The call options for this service. CallOptions *CampaignGroupCallOptions // contains filtered or unexported fields }
CampaignGroupClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage campaign groups.
func NewCampaignGroupClient ¶
func NewCampaignGroupClient(ctx context.Context, opts ...option.ClientOption) (*CampaignGroupClient, error)
NewCampaignGroupClient creates a new campaign group service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage campaign groups.
func (*CampaignGroupClient) Close ¶
func (c *CampaignGroupClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignGroupClient) Connection
deprecated
func (c *CampaignGroupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*CampaignGroupClient) MutateCampaignGroups ¶
func (c *CampaignGroupClient) MutateCampaignGroups(ctx context.Context, req *servicespb.MutateCampaignGroupsRequest, opts ...gax.CallOption) (*servicespb.MutateCampaignGroupsResponse, error)
MutateCampaignGroups creates, updates, or removes campaign groups. Operation statuses are returned.
type CampaignLabelCallOptions ¶
type CampaignLabelCallOptions struct {
MutateCampaignLabels []gax.CallOption
}
CampaignLabelCallOptions contains the retry settings for each method of CampaignLabelClient.
type CampaignLabelClient ¶
type CampaignLabelClient struct { // The call options for this service. CallOptions *CampaignLabelCallOptions // contains filtered or unexported fields }
CampaignLabelClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage labels on campaigns.
func NewCampaignLabelClient ¶
func NewCampaignLabelClient(ctx context.Context, opts ...option.ClientOption) (*CampaignLabelClient, error)
NewCampaignLabelClient creates a new campaign label service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage labels on campaigns.
func (*CampaignLabelClient) Close ¶
func (c *CampaignLabelClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignLabelClient) Connection
deprecated
func (c *CampaignLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 CampaignLifecycleCallOptions ¶
type CampaignLifecycleCallOptions struct {
ConfigureCampaignLifecycleGoals []gax.CallOption
}
CampaignLifecycleCallOptions contains the retry settings for each method of CampaignLifecycleClient.
type CampaignLifecycleClient ¶
type CampaignLifecycleClient struct { // The call options for this service. CallOptions *CampaignLifecycleCallOptions // contains filtered or unexported fields }
CampaignLifecycleClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to configure campaign lifecycle goals.
func NewCampaignLifecycleClient ¶
func NewCampaignLifecycleClient(ctx context.Context, opts ...option.ClientOption) (*CampaignLifecycleClient, error)
NewCampaignLifecycleClient creates a new campaign lifecycle service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to configure campaign lifecycle goals.
func (*CampaignLifecycleClient) Close ¶
func (c *CampaignLifecycleClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CampaignLifecycleClient) ConfigureCampaignLifecycleGoals ¶
func (c *CampaignLifecycleClient) ConfigureCampaignLifecycleGoals(ctx context.Context, req *servicespb.ConfigureCampaignLifecycleGoalsRequest, opts ...gax.CallOption) (*servicespb.ConfigureCampaignLifecycleGoalsResponse, error)
ConfigureCampaignLifecycleGoals process the given campaign lifecycle configurations.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CampaignLifecycleGoalConfigError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*CampaignLifecycleClient) Connection
deprecated
func (c *CampaignLifecycleClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CampaignSharedSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *Client) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 chosen 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
deprecated
func (c *ConversionActionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ConversionAdjustmentUploadClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ConversionCustomVariableClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ConversionGoalCampaignConfigClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ConversionUploadClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ConversionValueRuleClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ConversionValueRuleSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 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
deprecated
func (c *CustomAudienceClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomConversionGoalClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomInterestClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerAssetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 CustomerAssetSetCallOptions ¶
type CustomerAssetSetCallOptions struct {
MutateCustomerAssetSets []gax.CallOption
}
CustomerAssetSetCallOptions contains the retry settings for each method of CustomerAssetSetClient.
type CustomerAssetSetClient ¶
type CustomerAssetSetClient struct { // The call options for this service. CallOptions *CustomerAssetSetCallOptions // contains filtered or unexported fields }
CustomerAssetSetClient is a client for interacting 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 asset set
func NewCustomerAssetSetClient ¶
func NewCustomerAssetSetClient(ctx context.Context, opts ...option.ClientOption) (*CustomerAssetSetClient, error)
NewCustomerAssetSetClient creates a new customer 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 customer asset set
func (*CustomerAssetSetClient) Close ¶
func (c *CustomerAssetSetClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerAssetSetClient) Connection
deprecated
func (c *CustomerAssetSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*CustomerAssetSetClient) MutateCustomerAssetSets ¶
func (c *CustomerAssetSetClient) MutateCustomerAssetSets(ctx context.Context, req *servicespb.MutateCustomerAssetSetsRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerAssetSetsResponse, error)
MutateCustomerAssetSets creates, or removes customer asset sets. Operation statuses are returned.
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
deprecated
func (c *CustomerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerClientLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerConversionGoalClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerCustomizerClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerExtensionSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerFeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerLabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 CustomerLifecycleCallOptions ¶
type CustomerLifecycleCallOptions struct {
ConfigureCustomerLifecycleGoals []gax.CallOption
}
CustomerLifecycleCallOptions contains the retry settings for each method of CustomerLifecycleClient.
type CustomerLifecycleClient ¶
type CustomerLifecycleClient struct { // The call options for this service. CallOptions *CustomerLifecycleCallOptions // contains filtered or unexported fields }
CustomerLifecycleClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to configure customer lifecycle goals.
func NewCustomerLifecycleClient ¶
func NewCustomerLifecycleClient(ctx context.Context, opts ...option.ClientOption) (*CustomerLifecycleClient, error)
NewCustomerLifecycleClient creates a new customer lifecycle service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to configure customer lifecycle goals.
func (*CustomerLifecycleClient) Close ¶
func (c *CustomerLifecycleClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerLifecycleClient) ConfigureCustomerLifecycleGoals ¶
func (c *CustomerLifecycleClient) ConfigureCustomerLifecycleGoals(ctx context.Context, req *servicespb.ConfigureCustomerLifecycleGoalsRequest, opts ...gax.CallOption) (*servicespb.ConfigureCustomerLifecycleGoalsResponse, error)
ConfigureCustomerLifecycleGoals process the given customer lifecycle configurations.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CustomerLifecycleGoalConfigError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*CustomerLifecycleClient) Connection
deprecated
func (c *CustomerLifecycleClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerManagerLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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, for example:
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 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
deprecated
func (c *CustomerNegativeCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 CustomerSkAdNetworkConversionValueSchemaCallOptions ¶
type CustomerSkAdNetworkConversionValueSchemaCallOptions struct {
MutateCustomerSkAdNetworkConversionValueSchema []gax.CallOption
}
CustomerSkAdNetworkConversionValueSchemaCallOptions contains the retry settings for each method of CustomerSkAdNetworkConversionValueSchemaClient.
type CustomerSkAdNetworkConversionValueSchemaClient ¶
type CustomerSkAdNetworkConversionValueSchemaClient struct { // The call options for this service. CallOptions *CustomerSkAdNetworkConversionValueSchemaCallOptions // contains filtered or unexported fields }
CustomerSkAdNetworkConversionValueSchemaClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage CustomerSkAdNetworkConversionValueSchema.
func NewCustomerSkAdNetworkConversionValueSchemaClient ¶
func NewCustomerSkAdNetworkConversionValueSchemaClient(ctx context.Context, opts ...option.ClientOption) (*CustomerSkAdNetworkConversionValueSchemaClient, error)
NewCustomerSkAdNetworkConversionValueSchemaClient creates a new customer sk ad network conversion value schema service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage CustomerSkAdNetworkConversionValueSchema.
func (*CustomerSkAdNetworkConversionValueSchemaClient) Close ¶
func (c *CustomerSkAdNetworkConversionValueSchemaClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*CustomerSkAdNetworkConversionValueSchemaClient) Connection
deprecated
func (c *CustomerSkAdNetworkConversionValueSchemaClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*CustomerSkAdNetworkConversionValueSchemaClient) MutateCustomerSkAdNetworkConversionValueSchema ¶
func (c *CustomerSkAdNetworkConversionValueSchemaClient) MutateCustomerSkAdNetworkConversionValueSchema(ctx context.Context, req *servicespb.MutateCustomerSkAdNetworkConversionValueSchemaRequest, opts ...gax.CallOption) (*servicespb.MutateCustomerSkAdNetworkConversionValueSchemaResponse, error)
MutateCustomerSkAdNetworkConversionValueSchema creates or updates the CustomerSkAdNetworkConversionValueSchema.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldError (at ) InternalError (at ) MutateError (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
deprecated
func (c *CustomerUserAccessClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomerUserAccessInvitationClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *CustomizerAttributeClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ExperimentArmClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ExperimentClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ExtensionFeedItemClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *FeedClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *FeedItemClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *FeedItemSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *FeedItemSetLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *FeedItemTargetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *FeedMappingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *GeoTargetConstantClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *GoogleAdsFieldClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *InvoiceClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *KeywordPlanAdGroupClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *KeywordPlanAdGroupKeywordClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
}
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
deprecated
func (c *KeywordPlanCampaignClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *KeywordPlanCampaignKeywordClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *KeywordPlanClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 GenerateKeywordHistoricalMetrics []gax.CallOption GenerateAdGroupThemes []gax.CallOption GenerateKeywordForecastMetrics []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
deprecated
func (c *KeywordPlanIdeaClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*KeywordPlanIdeaClient) GenerateAdGroupThemes ¶
func (c *KeywordPlanIdeaClient) GenerateAdGroupThemes(ctx context.Context, req *servicespb.GenerateAdGroupThemesRequest, opts ...gax.CallOption) (*servicespb.GenerateAdGroupThemesResponse, error)
GenerateAdGroupThemes returns a list of suggested AdGroups and suggested modifications (text, match type) for the given keywords.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*KeywordPlanIdeaClient) GenerateKeywordForecastMetrics ¶
func (c *KeywordPlanIdeaClient) GenerateKeywordForecastMetrics(ctx context.Context, req *servicespb.GenerateKeywordForecastMetricsRequest, opts ...gax.CallOption) (*servicespb.GenerateKeywordForecastMetricsResponse, error)
GenerateKeywordForecastMetrics returns metrics (such as impressions, clicks, total cost) of a keyword forecast for the given campaign.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*KeywordPlanIdeaClient) GenerateKeywordHistoricalMetrics ¶
func (c *KeywordPlanIdeaClient) GenerateKeywordHistoricalMetrics(ctx context.Context, req *servicespb.GenerateKeywordHistoricalMetricsRequest, opts ...gax.CallOption) (*servicespb.GenerateKeywordHistoricalMetricsResponse, error)
GenerateKeywordHistoricalMetrics returns a list of keyword historical metrics.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) CollectionSizeError (at ) HeaderError (at ) InternalError (at ) QuotaError (at ) RequestError (at )
func (*KeywordPlanIdeaClient) GenerateKeywordIdeas ¶
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
deprecated
func (c *KeywordThemeConstantClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *LabelClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 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
deprecated
func (c *OfflineUserDataJobClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *PaymentsAccountClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 ProductLinkCallOptions ¶
type ProductLinkCallOptions struct { CreateProductLink []gax.CallOption RemoveProductLink []gax.CallOption }
ProductLinkCallOptions contains the retry settings for each method of ProductLinkClient.
type ProductLinkClient ¶
type ProductLinkClient struct { // The call options for this service. CallOptions *ProductLinkCallOptions // contains filtered or unexported fields }
ProductLinkClient is a 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 a Google Ads customer and another product.
func NewProductLinkClient ¶
func NewProductLinkClient(ctx context.Context, opts ...option.ClientOption) (*ProductLinkClient, error)
NewProductLinkClient creates a new product 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 a Google Ads customer and another product.
func (*ProductLinkClient) Close ¶
func (c *ProductLinkClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ProductLinkClient) Connection
deprecated
func (c *ProductLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*ProductLinkClient) CreateProductLink ¶
func (c *ProductLinkClient) CreateProductLink(ctx context.Context, req *servicespb.CreateProductLinkRequest, opts ...gax.CallOption) (*servicespb.CreateProductLinkResponse, error)
CreateProductLink creates a product link.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) DatabaseError (at ) FieldError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
func (*ProductLinkClient) RemoveProductLink ¶
func (c *ProductLinkClient) RemoveProductLink(ctx context.Context, req *servicespb.RemoveProductLinkRequest, opts ...gax.CallOption) (*servicespb.RemoveProductLinkResponse, error)
RemoveProductLink removes a product link.
List of thrown errors: AuthenticationError (at ) AuthorizationError (at ) FieldMaskError (at ) HeaderError (at ) InternalError (at ) MutateError (at ) QuotaError (at ) RequestError (at )
type ProductLinkInvitationCallOptions ¶
type ProductLinkInvitationCallOptions struct {
UpdateProductLinkInvitation []gax.CallOption
}
ProductLinkInvitationCallOptions contains the retry settings for each method of ProductLinkInvitationClient.
type ProductLinkInvitationClient ¶
type ProductLinkInvitationClient struct { // The call options for this service. CallOptions *ProductLinkInvitationCallOptions // contains filtered or unexported fields }
ProductLinkInvitationClient is a 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 product link invitations from Google Ads accounts to other accounts.
func NewProductLinkInvitationClient ¶
func NewProductLinkInvitationClient(ctx context.Context, opts ...option.ClientOption) (*ProductLinkInvitationClient, error)
NewProductLinkInvitationClient creates a new product link 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 allows management of product link invitations from Google Ads accounts to other accounts.
func (*ProductLinkInvitationClient) Close ¶
func (c *ProductLinkInvitationClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ProductLinkInvitationClient) Connection
deprecated
func (c *ProductLinkInvitationClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*ProductLinkInvitationClient) UpdateProductLinkInvitation ¶
func (c *ProductLinkInvitationClient) UpdateProductLinkInvitation(ctx context.Context, req *servicespb.UpdateProductLinkInvitationRequest, opts ...gax.CallOption) (*servicespb.UpdateProductLinkInvitationResponse, error)
UpdateProductLinkInvitation update a product link invitation.
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 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 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
deprecated
func (c *ReachPlanClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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).
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
deprecated
func (c *RecommendationClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 RecommendationSubscriptionCallOptions ¶
type RecommendationSubscriptionCallOptions struct {
MutateRecommendationSubscription []gax.CallOption
}
RecommendationSubscriptionCallOptions contains the retry settings for each method of RecommendationSubscriptionClient.
type RecommendationSubscriptionClient ¶
type RecommendationSubscriptionClient struct { // The call options for this service. CallOptions *RecommendationSubscriptionCallOptions // contains filtered or unexported fields }
RecommendationSubscriptionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage recommendation subscriptions.
func NewRecommendationSubscriptionClient ¶
func NewRecommendationSubscriptionClient(ctx context.Context, opts ...option.ClientOption) (*RecommendationSubscriptionClient, error)
NewRecommendationSubscriptionClient creates a new recommendation subscription service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage recommendation subscriptions.
func (*RecommendationSubscriptionClient) Close ¶
func (c *RecommendationSubscriptionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*RecommendationSubscriptionClient) Connection
deprecated
func (c *RecommendationSubscriptionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*RecommendationSubscriptionClient) MutateRecommendationSubscription ¶
func (c *RecommendationSubscriptionClient) MutateRecommendationSubscription(ctx context.Context, req *servicespb.MutateRecommendationSubscriptionRequest, opts ...gax.CallOption) (*servicespb.MutateRecommendationSubscriptionResponse, error)
MutateRecommendationSubscription mutates given subscription 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 )
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
deprecated
func (c *RemarketingActionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *SharedCriterionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *SharedSetClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 { GetSmartCampaignStatus []gax.CallOption MutateSmartCampaignSettings []gax.CallOption }
SmartCampaignSettingCallOptions contains the retry settings for each method of SmartCampaignSettingClient.
type SmartCampaignSettingClient ¶
type SmartCampaignSettingClient struct { // The call options for this service. CallOptions *SmartCampaignSettingCallOptions // contains filtered or unexported fields }
SmartCampaignSettingClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to manage Smart campaign settings.
func NewSmartCampaignSettingClient ¶
func NewSmartCampaignSettingClient(ctx context.Context, opts ...option.ClientOption) (*SmartCampaignSettingClient, error)
NewSmartCampaignSettingClient creates a new smart campaign setting service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to manage Smart campaign settings.
func (*SmartCampaignSettingClient) Close ¶
func (c *SmartCampaignSettingClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*SmartCampaignSettingClient) Connection
deprecated
func (c *SmartCampaignSettingClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*SmartCampaignSettingClient) GetSmartCampaignStatus ¶
func (c *SmartCampaignSettingClient) GetSmartCampaignStatus(ctx context.Context, req *servicespb.GetSmartCampaignStatusRequest, opts ...gax.CallOption) (*servicespb.GetSmartCampaignStatusResponse, error)
GetSmartCampaignStatus returns the status of the requested Smart campaign.
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
deprecated
func (c *SmartCampaignSuggestClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *ThirdPartyAppAnalyticsLinkClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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 TravelAssetSuggestionCallOptions ¶
type TravelAssetSuggestionCallOptions struct {
SuggestTravelAssets []gax.CallOption
}
TravelAssetSuggestionCallOptions contains the retry settings for each method of TravelAssetSuggestionClient.
type TravelAssetSuggestionClient ¶
type TravelAssetSuggestionClient struct { // The call options for this service. CallOptions *TravelAssetSuggestionCallOptions // contains filtered or unexported fields }
TravelAssetSuggestionClient is a client for interacting with Google Ads API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
Service to retrieve Travel asset suggestions.
func NewTravelAssetSuggestionClient ¶
func NewTravelAssetSuggestionClient(ctx context.Context, opts ...option.ClientOption) (*TravelAssetSuggestionClient, error)
NewTravelAssetSuggestionClient creates a new travel asset suggestion service client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
Service to retrieve Travel asset suggestions.
func (*TravelAssetSuggestionClient) Close ¶
func (c *TravelAssetSuggestionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*TravelAssetSuggestionClient) Connection
deprecated
func (c *TravelAssetSuggestionClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*TravelAssetSuggestionClient) SuggestTravelAssets ¶
func (c *TravelAssetSuggestionClient) SuggestTravelAssets(ctx context.Context, req *servicespb.SuggestTravelAssetsRequest, opts ...gax.CallOption) (*servicespb.SuggestTravelAssetsResponse, error)
SuggestTravelAssets returns Travel Asset suggestions. Asset suggestions are returned on a best-effort basis. There are no guarantees that all possible asset types will be returned for any given hotel property.
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. Any uploads made to a Customer Match list through this service will be eligible for matching as per the customer matching process. See https://support.google.com/google-ads/answer/7474263 (at https://support.google.com/google-ads/answer/7474263). However, the uploads made through this service will not be visible under the ‘Segment members’ section for the Customer Match List in the Google Ads UI.
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. Any uploads made to a Customer Match list through this service will be eligible for matching as per the customer matching process. See https://support.google.com/google-ads/answer/7474263 (at https://support.google.com/google-ads/answer/7474263). However, the uploads made through this service will not be visible under the ‘Segment members’ section for the Customer Match List in the Google Ads UI.
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
deprecated
func (c *UserDataClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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
deprecated
func (c *UserListClient) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
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_asset_set_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
- audience_insights_client.go
- batch_job_client.go
- bidding_data_exclusion_client.go
- bidding_seasonality_adjustment_client.go
- bidding_strategy_client.go
- billing_setup_client.go
- brand_suggestion_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_extension_setting_client.go
- campaign_feed_client.go
- campaign_group_client.go
- campaign_label_client.go
- campaign_lifecycle_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_asset_set_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_lifecycle_client.go
- customer_manager_link_client.go
- customer_negative_criterion_client.go
- customer_sk_ad_network_conversion_value_schema_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
- offline_user_data_job_client.go
- payments_account_client.go
- product_link_client.go
- product_link_invitation_client.go
- reach_plan_client.go
- recommendation_client.go
- recommendation_subscription_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
- travel_asset_suggestion_client.go
- user_data_client.go
- user_list_client.go