@Generated("by gapic-generator-java")

Package com.google.ads.googleads.v10.services

The interfaces provided are listed below, along with usage samples.

======================= AccountBudgetProposalServiceClient =======================

Service Description: A service for managing account-level budgets via proposals.

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

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

Sample for AccountBudgetProposalServiceClient:


 try (AccountBudgetProposalServiceClient accountBudgetProposalServiceClient =
     AccountBudgetProposalServiceClient.create()) {
   String customerId = "customerId-1581184615";
   AccountBudgetProposalOperation operation =
       AccountBudgetProposalOperation.newBuilder().build();
   MutateAccountBudgetProposalResponse response =
       accountBudgetProposalServiceClient.mutateAccountBudgetProposal(customerId, operation);
 }
 

======================= AccountLinkServiceClient =======================

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

Sample for AccountLinkServiceClient:


 try (AccountLinkServiceClient accountLinkServiceClient = AccountLinkServiceClient.create()) {
   String customerId = "customerId-1581184615";
   AccountLink accountLink = AccountLink.newBuilder().build();
   CreateAccountLinkResponse response =
       accountLinkServiceClient.createAccountLink(customerId, accountLink);
 }
 

======================= AdGroupAdLabelServiceClient =======================

Service Description: Service to manage labels on ad group ads.

Sample for AdGroupAdLabelServiceClient:


 try (AdGroupAdLabelServiceClient adGroupAdLabelServiceClient =
     AdGroupAdLabelServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupAdLabelOperation> operations = new ArrayList<>();
   MutateAdGroupAdLabelsResponse response =
       adGroupAdLabelServiceClient.mutateAdGroupAdLabels(customerId, operations);
 }
 

======================= AdGroupAdServiceClient =======================

Service Description: Service to manage ads in an ad group.

Sample for AdGroupAdServiceClient:


 try (AdGroupAdServiceClient adGroupAdServiceClient = AdGroupAdServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupAdOperation> operations = new ArrayList<>();
   MutateAdGroupAdsResponse response =
       adGroupAdServiceClient.mutateAdGroupAds(customerId, operations);
 }
 

======================= AdGroupAssetServiceClient =======================

Service Description: Service to manage ad group assets.

Sample for AdGroupAssetServiceClient:


 try (AdGroupAssetServiceClient adGroupAssetServiceClient = AdGroupAssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupAssetOperation> operations = new ArrayList<>();
   MutateAdGroupAssetsResponse response =
       adGroupAssetServiceClient.mutateAdGroupAssets(customerId, operations);
 }
 

======================= AdGroupBidModifierServiceClient =======================

Service Description: Service to manage ad group bid modifiers.

Sample for AdGroupBidModifierServiceClient:


 try (AdGroupBidModifierServiceClient adGroupBidModifierServiceClient =
     AdGroupBidModifierServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupBidModifierOperation> operations = new ArrayList<>();
   MutateAdGroupBidModifiersResponse response =
       adGroupBidModifierServiceClient.mutateAdGroupBidModifiers(customerId, operations);
 }
 

======================= AdGroupCriterionCustomizerServiceClient =======================

Service Description: Service to manage ad group criterion customizer

Sample for AdGroupCriterionCustomizerServiceClient:


 try (AdGroupCriterionCustomizerServiceClient adGroupCriterionCustomizerServiceClient =
     AdGroupCriterionCustomizerServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupCriterionCustomizerOperation> operations = new ArrayList<>();
   MutateAdGroupCriterionCustomizersResponse response =
       adGroupCriterionCustomizerServiceClient.mutateAdGroupCriterionCustomizers(
           customerId, operations);
 }
 

======================= AdGroupCriterionLabelServiceClient =======================

Service Description: Service to manage labels on ad group criteria.

Sample for AdGroupCriterionLabelServiceClient:


 try (AdGroupCriterionLabelServiceClient adGroupCriterionLabelServiceClient =
     AdGroupCriterionLabelServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupCriterionLabelOperation> operations = new ArrayList<>();
   MutateAdGroupCriterionLabelsResponse response =
       adGroupCriterionLabelServiceClient.mutateAdGroupCriterionLabels(customerId, operations);
 }
 

======================= AdGroupCriterionServiceClient =======================

Service Description: Service to manage ad group criteria.

Sample for AdGroupCriterionServiceClient:


 try (AdGroupCriterionServiceClient adGroupCriterionServiceClient =
     AdGroupCriterionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupCriterionOperation> operations = new ArrayList<>();
   MutateAdGroupCriteriaResponse response =
       adGroupCriterionServiceClient.mutateAdGroupCriteria(customerId, operations);
 }
 

======================= AdGroupCustomizerServiceClient =======================

Service Description: Service to manage ad group customizer

Sample for AdGroupCustomizerServiceClient:


 try (AdGroupCustomizerServiceClient adGroupCustomizerServiceClient =
     AdGroupCustomizerServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupCustomizerOperation> operations = new ArrayList<>();
   MutateAdGroupCustomizersResponse response =
       adGroupCustomizerServiceClient.mutateAdGroupCustomizers(customerId, operations);
 }
 

======================= AdGroupExtensionSettingServiceClient =======================

Service Description: Service to manage ad group extension settings.

Sample for AdGroupExtensionSettingServiceClient:


 try (AdGroupExtensionSettingServiceClient adGroupExtensionSettingServiceClient =
     AdGroupExtensionSettingServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupExtensionSettingOperation> operations = new ArrayList<>();
   MutateAdGroupExtensionSettingsResponse response =
       adGroupExtensionSettingServiceClient.mutateAdGroupExtensionSettings(
           customerId, operations);
 }
 

======================= AdGroupFeedServiceClient =======================

Service Description: Service to manage ad group feeds.

Sample for AdGroupFeedServiceClient:


 try (AdGroupFeedServiceClient adGroupFeedServiceClient = AdGroupFeedServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupFeedOperation> operations = new ArrayList<>();
   MutateAdGroupFeedsResponse response =
       adGroupFeedServiceClient.mutateAdGroupFeeds(customerId, operations);
 }
 

======================= AdGroupLabelServiceClient =======================

Service Description: Service to manage labels on ad groups.

Sample for AdGroupLabelServiceClient:


 try (AdGroupLabelServiceClient adGroupLabelServiceClient = AdGroupLabelServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupLabelOperation> operations = new ArrayList<>();
   MutateAdGroupLabelsResponse response =
       adGroupLabelServiceClient.mutateAdGroupLabels(customerId, operations);
 }
 

======================= AdGroupServiceClient =======================

Service Description: Service to manage ad groups.

Sample for AdGroupServiceClient:


 try (AdGroupServiceClient adGroupServiceClient = AdGroupServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupOperation> operations = new ArrayList<>();
   MutateAdGroupsResponse response = adGroupServiceClient.mutateAdGroups(customerId, operations);
 }
 

======================= AdParameterServiceClient =======================

Service Description: Service to manage ad parameters.

Sample for AdParameterServiceClient:


 try (AdParameterServiceClient adParameterServiceClient = AdParameterServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdParameterOperation> operations = new ArrayList<>();
   MutateAdParametersResponse response =
       adParameterServiceClient.mutateAdParameters(customerId, operations);
 }
 

======================= AdServiceClient =======================

Service Description: Service to manage ads.

Sample for AdServiceClient:


 try (AdServiceClient adServiceClient = AdServiceClient.create()) {
   AdName resourceName = AdName.of("[CUSTOMER_ID]", "[AD_ID]");
   Ad response = adServiceClient.getAd(resourceName);
 }
 

======================= AssetGroupAssetServiceClient =======================

Service Description: Service to manage asset group asset.

Sample for AssetGroupAssetServiceClient:


 try (AssetGroupAssetServiceClient assetGroupAssetServiceClient =
     AssetGroupAssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetGroupAssetOperation> operations = new ArrayList<>();
   MutateAssetGroupAssetsResponse response =
       assetGroupAssetServiceClient.mutateAssetGroupAssets(customerId, operations);
 }
 

======================= AssetGroupListingGroupFilterServiceClient =======================

Service Description: Service to manage asset group listing group filter.

Sample for AssetGroupListingGroupFilterServiceClient:


 try (AssetGroupListingGroupFilterServiceClient assetGroupListingGroupFilterServiceClient =
     AssetGroupListingGroupFilterServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetGroupListingGroupFilterOperation> operations = new ArrayList<>();
   MutateAssetGroupListingGroupFiltersResponse response =
       assetGroupListingGroupFilterServiceClient.mutateAssetGroupListingGroupFilters(
           customerId, operations);
 }
 

======================= AssetGroupServiceClient =======================

Service Description: Service to manage asset group

Sample for AssetGroupServiceClient:


 try (AssetGroupServiceClient assetGroupServiceClient = AssetGroupServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetGroupOperation> operations = new ArrayList<>();
   MutateAssetGroupsResponse response =
       assetGroupServiceClient.mutateAssetGroups(customerId, operations);
 }
 

======================= AssetGroupSignalServiceClient =======================

Service Description: Service to manage asset group signal.

Sample for AssetGroupSignalServiceClient:


 try (AssetGroupSignalServiceClient assetGroupSignalServiceClient =
     AssetGroupSignalServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetGroupSignalOperation> operations = new ArrayList<>();
   MutateAssetGroupSignalsResponse response =
       assetGroupSignalServiceClient.mutateAssetGroupSignals(customerId, operations);
 }
 

======================= AssetServiceClient =======================

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

Sample for AssetServiceClient:


 try (AssetServiceClient assetServiceClient = AssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetOperation> operations = new ArrayList<>();
   MutateAssetsResponse response = assetServiceClient.mutateAssets(customerId, operations);
 }
 

======================= AssetSetAssetServiceClient =======================

Service Description: Service to manage asset set asset.

Sample for AssetSetAssetServiceClient:


 try (AssetSetAssetServiceClient assetSetAssetServiceClient =
     AssetSetAssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetSetAssetOperation> operations = new ArrayList<>();
   MutateAssetSetAssetsResponse response =
       assetSetAssetServiceClient.mutateAssetSetAssets(customerId, operations);
 }
 

======================= AssetSetServiceClient =======================

Service Description: Service to manage asset set

Sample for AssetSetServiceClient:


 try (AssetSetServiceClient assetSetServiceClient = AssetSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetSetOperation> operations = new ArrayList<>();
   MutateAssetSetsResponse response =
       assetSetServiceClient.mutateAssetSets(customerId, operations);
 }
 

======================= AudienceServiceClient =======================

Service Description: Service to manage audiences.

Sample for AudienceServiceClient:


 try (AudienceServiceClient audienceServiceClient = AudienceServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AudienceOperation> operations = new ArrayList<>();
   MutateAudiencesResponse response =
       audienceServiceClient.mutateAudiences(customerId, operations);
 }
 

======================= BatchJobServiceClient =======================

Service Description: Service to manage batch jobs.

Sample for BatchJobServiceClient:


 try (BatchJobServiceClient batchJobServiceClient = BatchJobServiceClient.create()) {
   String customerId = "customerId-1581184615";
   BatchJobOperation operation = BatchJobOperation.newBuilder().build();
   MutateBatchJobResponse response = batchJobServiceClient.mutateBatchJob(customerId, operation);
 }
 

======================= BiddingDataExclusionServiceClient =======================

Service Description: Service to manage bidding data exclusions.

Sample for BiddingDataExclusionServiceClient:


 try (BiddingDataExclusionServiceClient biddingDataExclusionServiceClient =
     BiddingDataExclusionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<BiddingDataExclusionOperation> operations = new ArrayList<>();
   MutateBiddingDataExclusionsResponse response =
       biddingDataExclusionServiceClient.mutateBiddingDataExclusions(customerId, operations);
 }
 

======================= BiddingSeasonalityAdjustmentServiceClient =======================

Service Description: Service to manage bidding seasonality adjustments.

Sample for BiddingSeasonalityAdjustmentServiceClient:


 try (BiddingSeasonalityAdjustmentServiceClient biddingSeasonalityAdjustmentServiceClient =
     BiddingSeasonalityAdjustmentServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<BiddingSeasonalityAdjustmentOperation> operations = new ArrayList<>();
   MutateBiddingSeasonalityAdjustmentsResponse response =
       biddingSeasonalityAdjustmentServiceClient.mutateBiddingSeasonalityAdjustments(
           customerId, operations);
 }
 

======================= BiddingStrategyServiceClient =======================

Service Description: Service to manage bidding strategies.

Sample for BiddingStrategyServiceClient:


 try (BiddingStrategyServiceClient biddingStrategyServiceClient =
     BiddingStrategyServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<BiddingStrategyOperation> operations = new ArrayList<>();
   MutateBiddingStrategiesResponse response =
       biddingStrategyServiceClient.mutateBiddingStrategies(customerId, operations);
 }
 

======================= BillingSetupServiceClient =======================

Service Description: 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.

Sample for BillingSetupServiceClient:


 try (BillingSetupServiceClient billingSetupServiceClient = BillingSetupServiceClient.create()) {
   String customerId = "customerId-1581184615";
   BillingSetupOperation operation = BillingSetupOperation.newBuilder().build();
   MutateBillingSetupResponse response =
       billingSetupServiceClient.mutateBillingSetup(customerId, operation);
 }
 

======================= CampaignAssetServiceClient =======================

Service Description: Service to manage campaign assets.

Sample for CampaignAssetServiceClient:


 try (CampaignAssetServiceClient campaignAssetServiceClient =
     CampaignAssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignAssetOperation> operations = new ArrayList<>();
   MutateCampaignAssetsResponse response =
       campaignAssetServiceClient.mutateCampaignAssets(customerId, operations);
 }
 

======================= CampaignAssetSetServiceClient =======================

Service Description: Service to manage campaign asset set

Sample for CampaignAssetSetServiceClient:


 try (CampaignAssetSetServiceClient campaignAssetSetServiceClient =
     CampaignAssetSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignAssetSetOperation> operations = new ArrayList<>();
   MutateCampaignAssetSetsResponse response =
       campaignAssetSetServiceClient.mutateCampaignAssetSets(customerId, operations);
 }
 

======================= CampaignBidModifierServiceClient =======================

Service Description: Service to manage campaign bid modifiers.

Sample for CampaignBidModifierServiceClient:


 try (CampaignBidModifierServiceClient campaignBidModifierServiceClient =
     CampaignBidModifierServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignBidModifierOperation> operations = new ArrayList<>();
   MutateCampaignBidModifiersResponse response =
       campaignBidModifierServiceClient.mutateCampaignBidModifiers(customerId, operations);
 }
 

======================= CampaignBudgetServiceClient =======================

Service Description: Service to manage campaign budgets.

Sample for CampaignBudgetServiceClient:


 try (CampaignBudgetServiceClient campaignBudgetServiceClient =
     CampaignBudgetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignBudgetOperation> operations = new ArrayList<>();
   MutateCampaignBudgetsResponse response =
       campaignBudgetServiceClient.mutateCampaignBudgets(customerId, operations);
 }
 

======================= CampaignConversionGoalServiceClient =======================

Service Description: Service to manage campaign conversion goal.

Sample for CampaignConversionGoalServiceClient:


 try (CampaignConversionGoalServiceClient campaignConversionGoalServiceClient =
     CampaignConversionGoalServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignConversionGoalOperation> operations = new ArrayList<>();
   MutateCampaignConversionGoalsResponse response =
       campaignConversionGoalServiceClient.mutateCampaignConversionGoals(customerId, operations);
 }
 

======================= CampaignCriterionServiceClient =======================

Service Description: Service to manage campaign criteria.

Sample for CampaignCriterionServiceClient:


 try (CampaignCriterionServiceClient campaignCriterionServiceClient =
     CampaignCriterionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignCriterionOperation> operations = new ArrayList<>();
   MutateCampaignCriteriaResponse response =
       campaignCriterionServiceClient.mutateCampaignCriteria(customerId, operations);
 }
 

======================= CampaignCustomizerServiceClient =======================

Service Description: Service to manage campaign customizer

Sample for CampaignCustomizerServiceClient:


 try (CampaignCustomizerServiceClient campaignCustomizerServiceClient =
     CampaignCustomizerServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignCustomizerOperation> operations = new ArrayList<>();
   MutateCampaignCustomizersResponse response =
       campaignCustomizerServiceClient.mutateCampaignCustomizers(customerId, operations);
 }
 

======================= CampaignDraftServiceClient =======================

Service Description: Service to manage campaign drafts.

Sample for CampaignDraftServiceClient:


 try (CampaignDraftServiceClient campaignDraftServiceClient =
     CampaignDraftServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignDraftOperation> operations = new ArrayList<>();
   MutateCampaignDraftsResponse response =
       campaignDraftServiceClient.mutateCampaignDrafts(customerId, operations);
 }
 

======================= CampaignExperimentServiceClient =======================

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

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

Sample for CampaignExperimentServiceClient:


 try (CampaignExperimentServiceClient campaignExperimentServiceClient =
     CampaignExperimentServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignExperimentOperation> operations = new ArrayList<>();
   MutateCampaignExperimentsResponse response =
       campaignExperimentServiceClient.mutateCampaignExperiments(customerId, operations);
 }
 

======================= CampaignExtensionSettingServiceClient =======================

Service Description: Service to manage campaign extension settings.

Sample for CampaignExtensionSettingServiceClient:


 try (CampaignExtensionSettingServiceClient campaignExtensionSettingServiceClient =
     CampaignExtensionSettingServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignExtensionSettingOperation> operations = new ArrayList<>();
   MutateCampaignExtensionSettingsResponse response =
       campaignExtensionSettingServiceClient.mutateCampaignExtensionSettings(
           customerId, operations);
 }
 

======================= CampaignFeedServiceClient =======================

Service Description: Service to manage campaign feeds.

Sample for CampaignFeedServiceClient:


 try (CampaignFeedServiceClient campaignFeedServiceClient = CampaignFeedServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignFeedOperation> operations = new ArrayList<>();
   MutateCampaignFeedsResponse response =
       campaignFeedServiceClient.mutateCampaignFeeds(customerId, operations);
 }
 

======================= CampaignLabelServiceClient =======================

Service Description: Service to manage labels on campaigns.

Sample for CampaignLabelServiceClient:


 try (CampaignLabelServiceClient campaignLabelServiceClient =
     CampaignLabelServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignLabelOperation> operations = new ArrayList<>();
   MutateCampaignLabelsResponse response =
       campaignLabelServiceClient.mutateCampaignLabels(customerId, operations);
 }
 

======================= CampaignServiceClient =======================

Service Description: Service to manage campaigns.

Sample for CampaignServiceClient:


 try (CampaignServiceClient campaignServiceClient = CampaignServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignOperation> operations = new ArrayList<>();
   MutateCampaignsResponse response =
       campaignServiceClient.mutateCampaigns(customerId, operations);
 }
 

======================= CampaignSharedSetServiceClient =======================

Service Description: Service to manage campaign shared sets.

Sample for CampaignSharedSetServiceClient:


 try (CampaignSharedSetServiceClient campaignSharedSetServiceClient =
     CampaignSharedSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignSharedSetOperation> operations = new ArrayList<>();
   MutateCampaignSharedSetsResponse response =
       campaignSharedSetServiceClient.mutateCampaignSharedSets(customerId, operations);
 }
 

======================= ConversionActionServiceClient =======================

Service Description: Service to manage conversion actions.

Sample for ConversionActionServiceClient:


 try (ConversionActionServiceClient conversionActionServiceClient =
     ConversionActionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ConversionActionOperation> operations = new ArrayList<>();
   MutateConversionActionsResponse response =
       conversionActionServiceClient.mutateConversionActions(customerId, operations);
 }
 

======================= ConversionAdjustmentUploadServiceClient =======================

Service Description: Service to upload conversion adjustments.

Sample for ConversionAdjustmentUploadServiceClient:


 try (ConversionAdjustmentUploadServiceClient conversionAdjustmentUploadServiceClient =
     ConversionAdjustmentUploadServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ConversionAdjustment> conversionAdjustments = new ArrayList<>();
   boolean partialFailure = true;
   UploadConversionAdjustmentsResponse response =
       conversionAdjustmentUploadServiceClient.uploadConversionAdjustments(
           customerId, conversionAdjustments, partialFailure);
 }
 

======================= ConversionCustomVariableServiceClient =======================

Service Description: Service to manage conversion custom variables.

Sample for ConversionCustomVariableServiceClient:


 try (ConversionCustomVariableServiceClient conversionCustomVariableServiceClient =
     ConversionCustomVariableServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ConversionCustomVariableOperation> operations = new ArrayList<>();
   MutateConversionCustomVariablesResponse response =
       conversionCustomVariableServiceClient.mutateConversionCustomVariables(
           customerId, operations);
 }
 

======================= ConversionGoalCampaignConfigServiceClient =======================

Service Description: Service to manage conversion goal campaign config.

Sample for ConversionGoalCampaignConfigServiceClient:


 try (ConversionGoalCampaignConfigServiceClient conversionGoalCampaignConfigServiceClient =
     ConversionGoalCampaignConfigServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ConversionGoalCampaignConfigOperation> operations = new ArrayList<>();
   MutateConversionGoalCampaignConfigsResponse response =
       conversionGoalCampaignConfigServiceClient.mutateConversionGoalCampaignConfigs(
           customerId, operations);
 }
 

======================= ConversionUploadServiceClient =======================

Service Description: Service to upload conversions.

Sample for ConversionUploadServiceClient:


 try (ConversionUploadServiceClient conversionUploadServiceClient =
     ConversionUploadServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ClickConversion> conversions = new ArrayList<>();
   boolean partialFailure = true;
   UploadClickConversionsResponse response =
       conversionUploadServiceClient.uploadClickConversions(
           customerId, conversions, partialFailure);
 }
 

======================= ConversionValueRuleServiceClient =======================

Service Description: Service to manage conversion value rules.

Sample for ConversionValueRuleServiceClient:


 try (ConversionValueRuleServiceClient conversionValueRuleServiceClient =
     ConversionValueRuleServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ConversionValueRuleOperation> operations = new ArrayList<>();
   MutateConversionValueRulesResponse response =
       conversionValueRuleServiceClient.mutateConversionValueRules(customerId, operations);
 }
 

======================= ConversionValueRuleSetServiceClient =======================

Service Description: Service to manage conversion value rule sets.

Sample for ConversionValueRuleSetServiceClient:


 try (ConversionValueRuleSetServiceClient conversionValueRuleSetServiceClient =
     ConversionValueRuleSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ConversionValueRuleSetOperation> operations = new ArrayList<>();
   MutateConversionValueRuleSetsResponse response =
       conversionValueRuleSetServiceClient.mutateConversionValueRuleSets(customerId, operations);
 }
 

======================= CustomAudienceServiceClient =======================

Service Description: Service to manage custom audiences.

Sample for CustomAudienceServiceClient:


 try (CustomAudienceServiceClient customAudienceServiceClient =
     CustomAudienceServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomAudienceOperation> operations = new ArrayList<>();
   MutateCustomAudiencesResponse response =
       customAudienceServiceClient.mutateCustomAudiences(customerId, operations);
 }
 

======================= CustomConversionGoalServiceClient =======================

Service Description: Service to manage custom conversion goal.

Sample for CustomConversionGoalServiceClient:


 try (CustomConversionGoalServiceClient customConversionGoalServiceClient =
     CustomConversionGoalServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomConversionGoalOperation> operations = new ArrayList<>();
   MutateCustomConversionGoalsResponse response =
       customConversionGoalServiceClient.mutateCustomConversionGoals(customerId, operations);
 }
 

======================= CustomInterestServiceClient =======================

Service Description: Service to manage custom interests.

Sample for CustomInterestServiceClient:


 try (CustomInterestServiceClient customInterestServiceClient =
     CustomInterestServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomInterestOperation> operations = new ArrayList<>();
   MutateCustomInterestsResponse response =
       customInterestServiceClient.mutateCustomInterests(customerId, operations);
 }
 

======================= CustomerAssetServiceClient =======================

Service Description: Service to manage customer assets.

Sample for CustomerAssetServiceClient:


 try (CustomerAssetServiceClient customerAssetServiceClient =
     CustomerAssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerAssetOperation> operations = new ArrayList<>();
   MutateCustomerAssetsResponse response =
       customerAssetServiceClient.mutateCustomerAssets(customerId, operations);
 }
 

======================= CustomerClientLinkServiceClient =======================

Service Description: Service to manage customer client links.

Sample for CustomerClientLinkServiceClient:


 try (CustomerClientLinkServiceClient customerClientLinkServiceClient =
     CustomerClientLinkServiceClient.create()) {
   String customerId = "customerId-1581184615";
   CustomerClientLinkOperation operation = CustomerClientLinkOperation.newBuilder().build();
   MutateCustomerClientLinkResponse response =
       customerClientLinkServiceClient.mutateCustomerClientLink(customerId, operation);
 }
 

======================= CustomerConversionGoalServiceClient =======================

Service Description: Service to manage customer conversion goal.

Sample for CustomerConversionGoalServiceClient:


 try (CustomerConversionGoalServiceClient customerConversionGoalServiceClient =
     CustomerConversionGoalServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerConversionGoalOperation> operations = new ArrayList<>();
   MutateCustomerConversionGoalsResponse response =
       customerConversionGoalServiceClient.mutateCustomerConversionGoals(customerId, operations);
 }
 

======================= CustomerCustomizerServiceClient =======================

Service Description: Service to manage customer customizer

Sample for CustomerCustomizerServiceClient:


 try (CustomerCustomizerServiceClient customerCustomizerServiceClient =
     CustomerCustomizerServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerCustomizerOperation> operations = new ArrayList<>();
   MutateCustomerCustomizersResponse response =
       customerCustomizerServiceClient.mutateCustomerCustomizers(customerId, operations);
 }
 

======================= CustomerExtensionSettingServiceClient =======================

Service Description: Service to manage customer extension settings.

Sample for CustomerExtensionSettingServiceClient:


 try (CustomerExtensionSettingServiceClient customerExtensionSettingServiceClient =
     CustomerExtensionSettingServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerExtensionSettingOperation> operations = new ArrayList<>();
   MutateCustomerExtensionSettingsResponse response =
       customerExtensionSettingServiceClient.mutateCustomerExtensionSettings(
           customerId, operations);
 }
 

======================= CustomerFeedServiceClient =======================

Service Description: Service to manage customer feeds.

Sample for CustomerFeedServiceClient:


 try (CustomerFeedServiceClient customerFeedServiceClient = CustomerFeedServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerFeedOperation> operations = new ArrayList<>();
   MutateCustomerFeedsResponse response =
       customerFeedServiceClient.mutateCustomerFeeds(customerId, operations);
 }
 

======================= CustomerLabelServiceClient =======================

Service Description: Service to manage labels on customers.

Sample for CustomerLabelServiceClient:


 try (CustomerLabelServiceClient customerLabelServiceClient =
     CustomerLabelServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerLabelOperation> operations = new ArrayList<>();
   MutateCustomerLabelsResponse response =
       customerLabelServiceClient.mutateCustomerLabels(customerId, operations);
 }
 

======================= CustomerManagerLinkServiceClient =======================

Service Description: Service to manage customer-manager links.

Sample for CustomerManagerLinkServiceClient:


 try (CustomerManagerLinkServiceClient customerManagerLinkServiceClient =
     CustomerManagerLinkServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerManagerLinkOperation> operations = new ArrayList<>();
   MutateCustomerManagerLinkResponse response =
       customerManagerLinkServiceClient.mutateCustomerManagerLink(customerId, operations);
 }
 

======================= CustomerNegativeCriterionServiceClient =======================

Service Description: Service to manage customer negative criteria.

Sample for CustomerNegativeCriterionServiceClient:


 try (CustomerNegativeCriterionServiceClient customerNegativeCriterionServiceClient =
     CustomerNegativeCriterionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerNegativeCriterionOperation> operations = new ArrayList<>();
   MutateCustomerNegativeCriteriaResponse response =
       customerNegativeCriterionServiceClient.mutateCustomerNegativeCriteria(
           customerId, operations);
 }
 

======================= CustomerServiceClient =======================

Service Description: Service to manage customers.

Sample for CustomerServiceClient:


 try (CustomerServiceClient customerServiceClient = CustomerServiceClient.create()) {
   String customerId = "customerId-1581184615";
   CustomerOperation operation = CustomerOperation.newBuilder().build();
   MutateCustomerResponse response = customerServiceClient.mutateCustomer(customerId, operation);
 }
 

======================= CustomerUserAccessInvitationServiceClient =======================

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

Sample for CustomerUserAccessInvitationServiceClient:


 try (CustomerUserAccessInvitationServiceClient customerUserAccessInvitationServiceClient =
     CustomerUserAccessInvitationServiceClient.create()) {
   String customerId = "customerId-1581184615";
   CustomerUserAccessInvitationOperation operation =
       CustomerUserAccessInvitationOperation.newBuilder().build();
   MutateCustomerUserAccessInvitationResponse response =
       customerUserAccessInvitationServiceClient.mutateCustomerUserAccessInvitation(
           customerId, operation);
 }
 

======================= CustomerUserAccessServiceClient =======================

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

Sample for CustomerUserAccessServiceClient:


 try (CustomerUserAccessServiceClient customerUserAccessServiceClient =
     CustomerUserAccessServiceClient.create()) {
   String customerId = "customerId-1581184615";
   CustomerUserAccessOperation operation = CustomerUserAccessOperation.newBuilder().build();
   MutateCustomerUserAccessResponse response =
       customerUserAccessServiceClient.mutateCustomerUserAccess(customerId, operation);
 }
 

======================= CustomizerAttributeServiceClient =======================

Service Description: Service to manage customizer attribute

Sample for CustomizerAttributeServiceClient:


 try (CustomizerAttributeServiceClient customizerAttributeServiceClient =
     CustomizerAttributeServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomizerAttributeOperation> operations = new ArrayList<>();
   MutateCustomizerAttributesResponse response =
       customizerAttributeServiceClient.mutateCustomizerAttributes(customerId, operations);
 }
 

======================= ExperimentArmServiceClient =======================

Service Description: Service to manage experiment arms.

Sample for ExperimentArmServiceClient:


 try (ExperimentArmServiceClient experimentArmServiceClient =
     ExperimentArmServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ExperimentArmOperation> operations = new ArrayList<>();
   MutateExperimentArmsResponse response =
       experimentArmServiceClient.mutateExperimentArms(customerId, operations);
 }
 

======================= ExperimentServiceClient =======================

Service Description: Service to manage experiments.

Sample for ExperimentServiceClient:


 try (ExperimentServiceClient experimentServiceClient = ExperimentServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ExperimentOperation> operations = new ArrayList<>();
   MutateExperimentsResponse response =
       experimentServiceClient.mutateExperiments(customerId, operations);
 }
 

======================= ExtensionFeedItemServiceClient =======================

Service Description: Service to manage extension feed items.

Sample for ExtensionFeedItemServiceClient:


 try (ExtensionFeedItemServiceClient extensionFeedItemServiceClient =
     ExtensionFeedItemServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ExtensionFeedItemOperation> operations = new ArrayList<>();
   MutateExtensionFeedItemsResponse response =
       extensionFeedItemServiceClient.mutateExtensionFeedItems(customerId, operations);
 }
 

======================= FeedItemServiceClient =======================

Service Description: Service to manage feed items.

Sample for FeedItemServiceClient:


 try (FeedItemServiceClient feedItemServiceClient = FeedItemServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<FeedItemOperation> operations = new ArrayList<>();
   MutateFeedItemsResponse response =
       feedItemServiceClient.mutateFeedItems(customerId, operations);
 }
 

======================= FeedItemSetLinkServiceClient =======================

Service Description: Service to manage feed item set links.

Sample for FeedItemSetLinkServiceClient:


 try (FeedItemSetLinkServiceClient feedItemSetLinkServiceClient =
     FeedItemSetLinkServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<FeedItemSetLinkOperation> operations = new ArrayList<>();
   MutateFeedItemSetLinksResponse response =
       feedItemSetLinkServiceClient.mutateFeedItemSetLinks(customerId, operations);
 }
 

======================= FeedItemSetServiceClient =======================

Service Description: Service to manage feed Item Set

Sample for FeedItemSetServiceClient:


 try (FeedItemSetServiceClient feedItemSetServiceClient = FeedItemSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<FeedItemSetOperation> operations = new ArrayList<>();
   MutateFeedItemSetsResponse response =
       feedItemSetServiceClient.mutateFeedItemSets(customerId, operations);
 }
 

======================= FeedItemTargetServiceClient =======================

Service Description: Service to manage feed item targets.

Sample for FeedItemTargetServiceClient:


 try (FeedItemTargetServiceClient feedItemTargetServiceClient =
     FeedItemTargetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<FeedItemTargetOperation> operations = new ArrayList<>();
   MutateFeedItemTargetsResponse response =
       feedItemTargetServiceClient.mutateFeedItemTargets(customerId, operations);
 }
 

======================= FeedMappingServiceClient =======================

Service Description: Service to manage feed mappings.

Sample for FeedMappingServiceClient:


 try (FeedMappingServiceClient feedMappingServiceClient = FeedMappingServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<FeedMappingOperation> operations = new ArrayList<>();
   MutateFeedMappingsResponse response =
       feedMappingServiceClient.mutateFeedMappings(customerId, operations);
 }
 

======================= FeedServiceClient =======================

Service Description: Service to manage feeds.

Sample for FeedServiceClient:


 try (FeedServiceClient feedServiceClient = FeedServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<FeedOperation> operations = new ArrayList<>();
   MutateFeedsResponse response = feedServiceClient.mutateFeeds(customerId, operations);
 }
 

======================= GeoTargetConstantServiceClient =======================

Service Description: Service to fetch geo target constants.

Sample for GeoTargetConstantServiceClient:


 try (GeoTargetConstantServiceClient geoTargetConstantServiceClient =
     GeoTargetConstantServiceClient.create()) {
   SuggestGeoTargetConstantsRequest request =
       SuggestGeoTargetConstantsRequest.newBuilder()
           .setLocale("locale-1097462182")
           .setCountryCode("countryCode-1477067101")
           .build();
   SuggestGeoTargetConstantsResponse response =
       geoTargetConstantServiceClient.suggestGeoTargetConstants(request);
 }
 

======================= GoogleAdsFieldServiceClient =======================

Service Description: Service to fetch Google Ads API fields.

Sample for GoogleAdsFieldServiceClient:


 try (GoogleAdsFieldServiceClient googleAdsFieldServiceClient =
     GoogleAdsFieldServiceClient.create()) {
   GoogleAdsFieldName resourceName = GoogleAdsFieldName.of("[GOOGLE_ADS_FIELD]");
   GoogleAdsField response = googleAdsFieldServiceClient.getGoogleAdsField(resourceName);
 }
 

======================= GoogleAdsServiceClient =======================

Service Description: Service to fetch data and metrics across resources.

Sample for GoogleAdsServiceClient:


 try (GoogleAdsServiceClient googleAdsServiceClient = GoogleAdsServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<MutateOperation> mutateOperations = new ArrayList<>();
   MutateGoogleAdsResponse response =
       googleAdsServiceClient.mutate(customerId, mutateOperations);
 }
 

======================= InvoiceServiceClient =======================

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

Sample for InvoiceServiceClient:


 try (InvoiceServiceClient invoiceServiceClient = InvoiceServiceClient.create()) {
   String customerId = "customerId-1581184615";
   String billingSetup = "billingSetup-1435075390";
   String issueYear = "issueYear184914102";
   MonthOfYearEnum.MonthOfYear issueMonth = MonthOfYearEnum.MonthOfYear.forNumber(0);
   ListInvoicesResponse response =
       invoiceServiceClient.listInvoices(customerId, billingSetup, issueYear, issueMonth);
 }
 

======================= KeywordPlanAdGroupKeywordServiceClient =======================

Service Description: 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.

Sample for KeywordPlanAdGroupKeywordServiceClient:


 try (KeywordPlanAdGroupKeywordServiceClient keywordPlanAdGroupKeywordServiceClient =
     KeywordPlanAdGroupKeywordServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<KeywordPlanAdGroupKeywordOperation> operations = new ArrayList<>();
   MutateKeywordPlanAdGroupKeywordsResponse response =
       keywordPlanAdGroupKeywordServiceClient.mutateKeywordPlanAdGroupKeywords(
           customerId, operations);
 }
 

======================= KeywordPlanAdGroupServiceClient =======================

Service Description: Service to manage Keyword Plan ad groups.

Sample for KeywordPlanAdGroupServiceClient:


 try (KeywordPlanAdGroupServiceClient keywordPlanAdGroupServiceClient =
     KeywordPlanAdGroupServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<KeywordPlanAdGroupOperation> operations = new ArrayList<>();
   MutateKeywordPlanAdGroupsResponse response =
       keywordPlanAdGroupServiceClient.mutateKeywordPlanAdGroups(customerId, operations);
 }
 

======================= KeywordPlanCampaignKeywordServiceClient =======================

Service Description: 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.

Sample for KeywordPlanCampaignKeywordServiceClient:


 try (KeywordPlanCampaignKeywordServiceClient keywordPlanCampaignKeywordServiceClient =
     KeywordPlanCampaignKeywordServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<KeywordPlanCampaignKeywordOperation> operations = new ArrayList<>();
   MutateKeywordPlanCampaignKeywordsResponse response =
       keywordPlanCampaignKeywordServiceClient.mutateKeywordPlanCampaignKeywords(
           customerId, operations);
 }
 

======================= KeywordPlanCampaignServiceClient =======================

Service Description: Service to manage Keyword Plan campaigns.

Sample for KeywordPlanCampaignServiceClient:


 try (KeywordPlanCampaignServiceClient keywordPlanCampaignServiceClient =
     KeywordPlanCampaignServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<KeywordPlanCampaignOperation> operations = new ArrayList<>();
   MutateKeywordPlanCampaignsResponse response =
       keywordPlanCampaignServiceClient.mutateKeywordPlanCampaigns(customerId, operations);
 }
 

======================= KeywordPlanIdeaServiceClient =======================

Service Description: Service to generate keyword ideas.

Sample for KeywordPlanIdeaServiceClient:


 try (KeywordPlanIdeaServiceClient keywordPlanIdeaServiceClient =
     KeywordPlanIdeaServiceClient.create()) {
   GenerateKeywordIdeasRequest request =
       GenerateKeywordIdeasRequest.newBuilder()
           .setCustomerId("customerId-1581184615")
           .setLanguage("language-1613589672")
           .addAllGeoTargetConstants(new ArrayList<String>())
           .setIncludeAdultKeywords(true)
           .setPageToken("pageToken873572522")
           .setPageSize(883849137)
           .addAllKeywordAnnotation(
               new ArrayList<KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation>())
           .setAggregateMetrics(KeywordPlanAggregateMetrics.newBuilder().build())
           .setHistoricalMetricsOptions(HistoricalMetricsOptions.newBuilder().build())
           .build();
   for (GenerateKeywordIdeaResult element :
       keywordPlanIdeaServiceClient.generateKeywordIdeas(request).iterateAll()) {
     // doThingsWith(element);
   }
 }
 

======================= KeywordPlanServiceClient =======================

Service Description: Service to manage keyword plans.

Sample for KeywordPlanServiceClient:


 try (KeywordPlanServiceClient keywordPlanServiceClient = KeywordPlanServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<KeywordPlanOperation> operations = new ArrayList<>();
   MutateKeywordPlansResponse response =
       keywordPlanServiceClient.mutateKeywordPlans(customerId, operations);
 }
 

======================= KeywordThemeConstantServiceClient =======================

Service Description: Service to fetch Smart Campaign keyword themes.

Sample for KeywordThemeConstantServiceClient:


 try (KeywordThemeConstantServiceClient keywordThemeConstantServiceClient =
     KeywordThemeConstantServiceClient.create()) {
   SuggestKeywordThemeConstantsRequest request =
       SuggestKeywordThemeConstantsRequest.newBuilder()
           .setQueryText("queryText-1806881259")
           .setCountryCode("countryCode-1477067101")
           .setLanguageCode("languageCode-2092349083")
           .build();
   SuggestKeywordThemeConstantsResponse response =
       keywordThemeConstantServiceClient.suggestKeywordThemeConstants(request);
 }
 

======================= LabelServiceClient =======================

Service Description: Service to manage labels.

Sample for LabelServiceClient:


 try (LabelServiceClient labelServiceClient = LabelServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<LabelOperation> operations = new ArrayList<>();
   MutateLabelsResponse response = labelServiceClient.mutateLabels(customerId, operations);
 }
 

======================= MediaFileServiceClient =======================

Service Description: Service to manage media files.

Sample for MediaFileServiceClient:


 try (MediaFileServiceClient mediaFileServiceClient = MediaFileServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<MediaFileOperation> operations = new ArrayList<>();
   MutateMediaFilesResponse response =
       mediaFileServiceClient.mutateMediaFiles(customerId, operations);
 }
 

======================= MerchantCenterLinkServiceClient =======================

Service Description: This service allows management of links between Google Ads and Google Merchant Center.

Sample for MerchantCenterLinkServiceClient:


 try (MerchantCenterLinkServiceClient merchantCenterLinkServiceClient =
     MerchantCenterLinkServiceClient.create()) {
   String customerId = "customerId-1581184615";
   ListMerchantCenterLinksResponse response =
       merchantCenterLinkServiceClient.listMerchantCenterLinks(customerId);
 }
 

======================= OfflineUserDataJobServiceClient =======================

Service Description: Service to manage offline user data jobs.

Sample for OfflineUserDataJobServiceClient:


 try (OfflineUserDataJobServiceClient offlineUserDataJobServiceClient =
     OfflineUserDataJobServiceClient.create()) {
   String customerId = "customerId-1581184615";
   OfflineUserDataJob job = OfflineUserDataJob.newBuilder().build();
   CreateOfflineUserDataJobResponse response =
       offlineUserDataJobServiceClient.createOfflineUserDataJob(customerId, job);
 }
 

======================= PaymentsAccountServiceClient =======================

Service Description: Service to provide payments accounts that can be used to set up consolidated billing.

Sample for PaymentsAccountServiceClient:


 try (PaymentsAccountServiceClient paymentsAccountServiceClient =
     PaymentsAccountServiceClient.create()) {
   String customerId = "customerId-1581184615";
   ListPaymentsAccountsResponse response =
       paymentsAccountServiceClient.listPaymentsAccounts(customerId);
 }
 

======================= ReachPlanServiceClient =======================

Service Description: 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.

Sample for ReachPlanServiceClient:


 try (ReachPlanServiceClient reachPlanServiceClient = ReachPlanServiceClient.create()) {
   ListPlannableLocationsRequest request = ListPlannableLocationsRequest.newBuilder().build();
   ListPlannableLocationsResponse response =
       reachPlanServiceClient.listPlannableLocations(request);
 }
 

======================= RecommendationServiceClient =======================

Service Description: Service to manage recommendations.

Sample for RecommendationServiceClient:


 try (RecommendationServiceClient recommendationServiceClient =
     RecommendationServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<ApplyRecommendationOperation> operations = new ArrayList<>();
   ApplyRecommendationResponse response =
       recommendationServiceClient.applyRecommendation(customerId, operations);
 }
 

======================= RemarketingActionServiceClient =======================

Service Description: Service to manage remarketing actions.

Sample for RemarketingActionServiceClient:


 try (RemarketingActionServiceClient remarketingActionServiceClient =
     RemarketingActionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<RemarketingActionOperation> operations = new ArrayList<>();
   MutateRemarketingActionsResponse response =
       remarketingActionServiceClient.mutateRemarketingActions(customerId, operations);
 }
 

======================= SharedCriterionServiceClient =======================

Service Description: Service to manage shared criteria.

Sample for SharedCriterionServiceClient:


 try (SharedCriterionServiceClient sharedCriterionServiceClient =
     SharedCriterionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<SharedCriterionOperation> operations = new ArrayList<>();
   MutateSharedCriteriaResponse response =
       sharedCriterionServiceClient.mutateSharedCriteria(customerId, operations);
 }
 

======================= SharedSetServiceClient =======================

Service Description: Service to manage shared sets.

Sample for SharedSetServiceClient:


 try (SharedSetServiceClient sharedSetServiceClient = SharedSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<SharedSetOperation> operations = new ArrayList<>();
   MutateSharedSetsResponse response =
       sharedSetServiceClient.mutateSharedSets(customerId, operations);
 }
 

======================= SmartCampaignSettingServiceClient =======================

Service Description: Service to manage Smart campaign settings.

Sample for SmartCampaignSettingServiceClient:


 try (SmartCampaignSettingServiceClient smartCampaignSettingServiceClient =
     SmartCampaignSettingServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<SmartCampaignSettingOperation> operations = new ArrayList<>();
   MutateSmartCampaignSettingsResponse response =
       smartCampaignSettingServiceClient.mutateSmartCampaignSettings(customerId, operations);
 }
 

======================= SmartCampaignSuggestServiceClient =======================

Service Description: Service to get suggestions for Smart Campaigns.

Sample for SmartCampaignSuggestServiceClient:


 try (SmartCampaignSuggestServiceClient smartCampaignSuggestServiceClient =
     SmartCampaignSuggestServiceClient.create()) {
   SuggestSmartCampaignBudgetOptionsRequest request =
       SuggestSmartCampaignBudgetOptionsRequest.newBuilder()
           .setCustomerId("customerId-1581184615")
           .build();
   SuggestSmartCampaignBudgetOptionsResponse response =
       smartCampaignSuggestServiceClient.suggestSmartCampaignBudgetOptions(request);
 }
 

======================= ThirdPartyAppAnalyticsLinkServiceClient =======================

Service Description: This service allows management of links between Google Ads and third party app analytics.

Sample for ThirdPartyAppAnalyticsLinkServiceClient:


 try (ThirdPartyAppAnalyticsLinkServiceClient thirdPartyAppAnalyticsLinkServiceClient =
     ThirdPartyAppAnalyticsLinkServiceClient.create()) {
   RegenerateShareableLinkIdRequest request =
       RegenerateShareableLinkIdRequest.newBuilder()
           .setResourceName(
               ThirdPartyAppAnalyticsLinkName.of("[CUSTOMER_ID]", "[CUSTOMER_LINK_ID]")
                   .toString())
           .build();
   RegenerateShareableLinkIdResponse response =
       thirdPartyAppAnalyticsLinkServiceClient.regenerateShareableLinkId(request);
 }
 

======================= UserDataServiceClient =======================

Service Description: Service to manage user data uploads.

Sample for UserDataServiceClient:


 try (UserDataServiceClient userDataServiceClient = UserDataServiceClient.create()) {
   UploadUserDataRequest request =
       UploadUserDataRequest.newBuilder()
           .setCustomerId("customerId-1581184615")
           .addAllOperations(new ArrayList<UserDataOperation>())
           .build();
   UploadUserDataResponse response = userDataServiceClient.uploadUserData(request);
 }
 

======================= UserListServiceClient =======================

Service Description: Service to manage user lists.

Sample for UserListServiceClient:


 try (UserListServiceClient userListServiceClient = UserListServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<UserListOperation> operations = new ArrayList<>();
   MutateUserListsResponse response =
       userListServiceClient.mutateUserLists(customerId, operations);
 }