/// <summary>
        /// Constructs a client wrapper for the AdGroupCustomizerService service, with the specified gRPC client and
        /// settings.
        /// </summary>
        /// <param name="grpcClient">The underlying gRPC client.</param>
        /// <param name="settings">
        /// The base <see cref="AdGroupCustomizerServiceSettings"/> used within this client.
        /// </param>
        public AdGroupCustomizerServiceClientImpl(AdGroupCustomizerService.AdGroupCustomizerServiceClient grpcClient, AdGroupCustomizerServiceSettings settings)
        {
            GrpcClient = grpcClient;
            AdGroupCustomizerServiceSettings effectiveSettings = settings ?? AdGroupCustomizerServiceSettings.GetDefault();
            gaxgrpc::ClientHelper            clientHelper      = new gaxgrpc::ClientHelper(effectiveSettings);

            _callMutateAdGroupCustomizers = clientHelper.BuildApiCall <MutateAdGroupCustomizersRequest, MutateAdGroupCustomizersResponse>(grpcClient.MutateAdGroupCustomizersAsync, grpcClient.MutateAdGroupCustomizers, effectiveSettings.MutateAdGroupCustomizersSettings).WithGoogleRequestParam("customer_id", request => request.CustomerId);
            Modify_ApiCall(ref _callMutateAdGroupCustomizers);
            Modify_MutateAdGroupCustomizersApiCall(ref _callMutateAdGroupCustomizers);
            OnConstruction(grpcClient, effectiveSettings, clientHelper);
        }
        /// <summary>
        /// Creates a <see cref="AdGroupCustomizerServiceClient"/> which uses the specified call invoker for remote
        /// operations.
        /// </summary>
        /// <param name="callInvoker">
        /// The <see cref="grpccore::CallInvoker"/> for remote operations. Must not be null.
        /// </param>
        /// <param name="settings">Optional <see cref="AdGroupCustomizerServiceSettings"/>.</param>
        /// <returns>The created <see cref="AdGroupCustomizerServiceClient"/>.</returns>
        internal static AdGroupCustomizerServiceClient Create(grpccore::CallInvoker callInvoker, AdGroupCustomizerServiceSettings settings = null)
        {
            gax::GaxPreconditions.CheckNotNull(callInvoker, nameof(callInvoker));
            grpcinter::Interceptor interceptor = settings?.Interceptor;

            if (interceptor != null)
            {
                callInvoker = grpcinter::CallInvokerExtensions.Intercept(callInvoker, interceptor);
            }
            AdGroupCustomizerService.AdGroupCustomizerServiceClient grpcClient = new AdGroupCustomizerService.AdGroupCustomizerServiceClient(callInvoker);
            return(new AdGroupCustomizerServiceClientImpl(grpcClient, settings));
        }
 partial void OnConstruction(AdGroupCustomizerService.AdGroupCustomizerServiceClient grpcClient, AdGroupCustomizerServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper);