module Google::Ads::GoogleAds::V8::Services::ConversionValueRuleService::Paths
Path helper methods for the ConversionValueRuleService
API.
Public Instance Methods
Create a fully-qualified ConversionValueRule resource string.
The resource will be in the following format:
`customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}`
@param customer_id [String] @param conversion_value_rule_id [String]
@return [::String]
# File lib/google/ads/google_ads/v8/services/conversion_value_rule_service/paths.rb, line 39 def conversion_value_rule_path customer_id:, conversion_value_rule_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/conversionValueRules/#{conversion_value_rule_id}" end
Create a fully-qualified Customer resource string.
The resource will be in the following format:
`customers/{customer_id}`
@param customer_id [String]
@return [::String]
# File lib/google/ads/google_ads/v8/services/conversion_value_rule_service/paths.rb, line 55 def customer_path customer_id: "customers/#{customer_id}" end
Create a fully-qualified GeoTargetConstant resource string.
The resource will be in the following format:
`geoTargetConstants/{criterion_id}`
@param criterion_id [String]
@return [::String]
# File lib/google/ads/google_ads/v8/services/conversion_value_rule_service/paths.rb, line 69 def geo_target_constant_path criterion_id: "geoTargetConstants/#{criterion_id}" end
Create a fully-qualified UserInterest resource string.
The resource will be in the following format:
`customers/{customer_id}/userInterests/{user_interest_id}`
@param customer_id [String] @param user_interest_id [String]
@return [::String]
# File lib/google/ads/google_ads/v8/services/conversion_value_rule_service/paths.rb, line 84 def user_interest_path customer_id:, user_interest_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/userInterests/#{user_interest_id}" end
Create a fully-qualified UserList resource string.
The resource will be in the following format:
`customers/{customer_id}/userLists/{user_list_id}`
@param customer_id [String] @param user_list_id [String]
@return [::String]
# File lib/google/ads/google_ads/v8/services/conversion_value_rule_service/paths.rb, line 101 def user_list_path customer_id:, user_list_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/userLists/#{user_list_id}" end