Module: Google::Ads::GoogleAds::V5::Services::SharedSetService::Paths
- Extended by:
- Paths
- Defined in:
- lib/google/ads/google_ads/v5/services/shared_set_service/paths.rb
Overview
Path helper methods for the SharedSetService API.
Instance Method Summary collapse
-
#shared_set_path(customer:, shared_set:) ⇒ ::String
Create a fully-qualified SharedSet resource string.
Instance Method Details
#shared_set_path(customer:, shared_set:) ⇒ ::String
Create a fully-qualified SharedSet resource string.
The resource will be in the following format:
‘customers/customer/sharedSets/shared_set`
39 40 41 42 43 |
# File 'lib/google/ads/google_ads/v5/services/shared_set_service/paths.rb', line 39 def shared_set_path customer:, shared_set: raise ::ArgumentError, "customer cannot contain /" if customer.to_s.include? "/" "customers/#{customer}/sharedSets/#{shared_set}" end |