lib/google/ads/googleads/v0/services/customer_service_client.rb in google-ads-googleads-0.3.0 vs lib/google/ads/googleads/v0/services/customer_service_client.rb in google-ads-googleads-0.4.0

- old
+ new

@@ -193,12 +193,12 @@ # @yieldparam result [Google::Ads::Googleads::V0::Resources::Customer] # @yieldparam operation [GRPC::ActiveCall::Operation] # @return [Google::Ads::Googleads::V0::Resources::Customer] # @raise [Google::Gax::GaxError] if the RPC is aborted. # @example - # require "google/ads/googleads/v0/services" + # require "google/ads/googleads" # - # customer_service_client = Google::Ads::Googleads::V0::Services::Customer.new + # customer_service_client = Google::Ads::Googleads::Customer.new(version: :v0) # formatted_resource_name = Google::Ads::Googleads::V0::Services::CustomerServiceClient.customer_path("[CUSTOMER]") # response = customer_service_client.get_customer(formatted_resource_name) def get_customer \ resource_name,