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

Package com.google.ads.googleads.v13.services

A client to Google Ads API

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

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

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

Sample for AccountBudgetProposalServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AdGroupAssetServiceClient adGroupAssetServiceClient = AdGroupAssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupAssetOperation> operations = new ArrayList<>();
   MutateAdGroupAssetsResponse response =
       adGroupAssetServiceClient.mutateAdGroupAssets(customerId, operations);
 }
 

======================= AdGroupAssetSetServiceClient =======================

Service Description: Service to manage ad group asset set

Sample for AdGroupAssetSetServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AdGroupAssetSetServiceClient adGroupAssetSetServiceClient =
     AdGroupAssetSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AdGroupAssetSetOperation> operations = new ArrayList<>();
   MutateAdGroupAssetSetsResponse response =
       adGroupAssetSetServiceClient.mutateAdGroupAssetSets(customerId, operations);
 }
 

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

Service Description: Service to manage ad group bid modifiers.

Sample for AdGroupBidModifierServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AssetSetServiceClient assetSetServiceClient = AssetSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<AssetSetOperation> operations = new ArrayList<>();
   MutateAssetSetsResponse response =
       assetSetServiceClient.mutateAssetSets(customerId, operations);
 }
 

======================= AudienceInsightsServiceClient =======================

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

Sample for AudienceInsightsServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AudienceInsightsServiceClient audienceInsightsServiceClient =
     AudienceInsightsServiceClient.create()) {
   String customerId = "customerId-1581184615";
   BasicInsightsAudience baselineAudience = BasicInsightsAudience.newBuilder().build();
   BasicInsightsAudience specificAudience = BasicInsightsAudience.newBuilder().build();
   GenerateInsightsFinderReportResponse response =
       audienceInsightsServiceClient.generateInsightsFinderReport(
           customerId, baselineAudience, specificAudience);
 }
 

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

Service Description: Service to manage audiences.

Sample for AudienceServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (CampaignDraftServiceClient campaignDraftServiceClient =
     CampaignDraftServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignDraftOperation> operations = new ArrayList<>();
   MutateCampaignDraftsResponse response =
       campaignDraftServiceClient.mutateCampaignDrafts(customerId, operations);
 }
 

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

Service Description: Service to manage campaign extension settings.

Sample for CampaignExtensionSettingServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (CampaignFeedServiceClient campaignFeedServiceClient = CampaignFeedServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignFeedOperation> operations = new ArrayList<>();
   MutateCampaignFeedsResponse response =
       campaignFeedServiceClient.mutateCampaignFeeds(customerId, operations);
 }
 

======================= CampaignGroupServiceClient =======================

Service Description: Service to manage campaign groups.

Sample for CampaignGroupServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (CampaignGroupServiceClient campaignGroupServiceClient =
     CampaignGroupServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CampaignGroupOperation> operations = new ArrayList<>();
   MutateCampaignGroupsResponse response =
       campaignGroupServiceClient.mutateCampaignGroups(customerId, operations);
 }
 

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

Service Description: Service to manage labels on campaigns.

Sample for CampaignLabelServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (CustomerAssetServiceClient customerAssetServiceClient =
     CustomerAssetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerAssetOperation> operations = new ArrayList<>();
   MutateCustomerAssetsResponse response =
       customerAssetServiceClient.mutateCustomerAssets(customerId, operations);
 }
 

======================= CustomerAssetSetServiceClient =======================

Service Description: Service to manage customer asset set

Sample for CustomerAssetSetServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (CustomerAssetSetServiceClient customerAssetSetServiceClient =
     CustomerAssetSetServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<CustomerAssetSetOperation> operations = new ArrayList<>();
   MutateCustomerAssetSetsResponse response =
       customerAssetSetServiceClient.mutateCustomerAssetSets(customerId, operations);
 }
 

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

Service Description: Service to manage customer client links.

Sample for CustomerClientLinkServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (CustomerServiceClient customerServiceClient = CustomerServiceClient.create()) {
   String customerId = "customerId-1581184615";
   CustomerOperation operation = CustomerOperation.newBuilder().build();
   MutateCustomerResponse response = customerServiceClient.mutateCustomer(customerId, operation);
 }
 

======================= CustomerSkAdNetworkConversionValueSchemaServiceClient =======================

Service Description: Service to manage CustomerSkAdNetworkConversionValueSchema.

Sample for CustomerSkAdNetworkConversionValueSchemaServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (CustomerSkAdNetworkConversionValueSchemaServiceClient
     customerSkAdNetworkConversionValueSchemaServiceClient =
         CustomerSkAdNetworkConversionValueSchemaServiceClient.create()) {
   MutateCustomerSkAdNetworkConversionValueSchemaRequest request =
       MutateCustomerSkAdNetworkConversionValueSchemaRequest.newBuilder()
           .setCustomerId("customerId-1581184615")
           .setOperation(CustomerSkAdNetworkConversionValueSchemaOperation.newBuilder().build())
           .setValidateOnly(true)
           .build();
   MutateCustomerSkAdNetworkConversionValueSchemaResponse response =
       customerSkAdNetworkConversionValueSchemaServiceClient
           .mutateCustomerSkAdNetworkConversionValueSchema(request);
 }
 

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

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

Sample for CustomerUserAccessInvitationServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (KeywordPlanIdeaServiceClient keywordPlanIdeaServiceClient =
     KeywordPlanIdeaServiceClient.create()) {
   GenerateKeywordHistoricalMetricsRequest request =
       GenerateKeywordHistoricalMetricsRequest.newBuilder()
           .setCustomerId("customerId-1581184615")
           .addAllKeywords(new ArrayList<String>())
           .setLanguage("language-1613589672")
           .setIncludeAdultKeywords(true)
           .addAllGeoTargetConstants(new ArrayList<String>())
           .setAggregateMetrics(KeywordPlanAggregateMetrics.newBuilder().build())
           .setHistoricalMetricsOptions(HistoricalMetricsOptions.newBuilder().build())
           .build();
   GenerateKeywordHistoricalMetricsResponse response =
       keywordPlanIdeaServiceClient.generateKeywordHistoricalMetrics(request);
 }
 

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

Service Description: Service to manage keyword plans.

Sample for KeywordPlanServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (PaymentsAccountServiceClient paymentsAccountServiceClient =
     PaymentsAccountServiceClient.create()) {
   String customerId = "customerId-1581184615";
   ListPaymentsAccountsResponse response =
       paymentsAccountServiceClient.listPaymentsAccounts(customerId);
 }
 

======================= ProductLinkServiceClient =======================

Service Description: This service allows management of links between a Google Ads customer and another product.

Sample for ProductLinkServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ProductLinkServiceClient productLinkServiceClient = ProductLinkServiceClient.create()) {
   String customerId = "customerId-1581184615";
   ProductLink productLink = ProductLink.newBuilder().build();
   CreateProductLinkResponse response =
       productLinkServiceClient.createProductLink(customerId, productLink);
 }
 

======================= 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (SmartCampaignSettingServiceClient smartCampaignSettingServiceClient =
     SmartCampaignSettingServiceClient.create()) {
   SmartCampaignSettingName resourceName =
       SmartCampaignSettingName.of("[CUSTOMER_ID]", "[CAMPAIGN_ID]");
   GetSmartCampaignStatusResponse response =
       smartCampaignSettingServiceClient.getSmartCampaignStatus(resourceName);
 }
 

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

Service Description: Service to get suggestions for Smart Campaigns.

Sample for SmartCampaignSuggestServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ThirdPartyAppAnalyticsLinkServiceClient thirdPartyAppAnalyticsLinkServiceClient =
     ThirdPartyAppAnalyticsLinkServiceClient.create()) {
   RegenerateShareableLinkIdRequest request =
       RegenerateShareableLinkIdRequest.newBuilder()
           .setResourceName(
               ThirdPartyAppAnalyticsLinkName.of("[CUSTOMER_ID]", "[CUSTOMER_LINK_ID]")
                   .toString())
           .build();
   RegenerateShareableLinkIdResponse response =
       thirdPartyAppAnalyticsLinkServiceClient.regenerateShareableLinkId(request);
 }
 

======================= TravelAssetSuggestionServiceClient =======================

Service Description: Service to retrieve Travel asset suggestions.

Sample for TravelAssetSuggestionServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (TravelAssetSuggestionServiceClient travelAssetSuggestionServiceClient =
     TravelAssetSuggestionServiceClient.create()) {
   String customerId = "customerId-1581184615";
   String languageOption = "languageOption-357816851";
   SuggestTravelAssetsResponse response =
       travelAssetSuggestionServiceClient.suggestTravelAssets(customerId, languageOption);
 }
 

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

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

Sample for UserDataServiceClient:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 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:


 // 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://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (UserListServiceClient userListServiceClient = UserListServiceClient.create()) {
   String customerId = "customerId-1581184615";
   List<UserListOperation> operations = new ArrayList<>();
   MutateUserListsResponse response =
       userListServiceClient.mutateUserLists(customerId, operations);
 }