module Google::Ads::GoogleAds::V7::Services::BiddingStrategySimulationService::Paths
Path helper methods for the BiddingStrategySimulationService
API.
Public Instance Methods
bidding_strategy_simulation_path(customer_id:, bidding_strategy_id:, type:, modification_method:, start_date:, end_date: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/")
click to toggle source
Create a fully-qualified BiddingStrategySimulation resource string.
The resource will be in the following format:
`customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}`
@param customer_id [String] @param bidding_strategy_id [String] @param type [String] @param modification_method [String] @param start_date [String] @param end_date [String]
@return [::String]
# File lib/google/ads/google_ads/v7/services/bidding_strategy_simulation_service/paths.rb, line 43 def bidding_strategy_simulation_path customer_id:, bidding_strategy_id:, type:, modification_method:, start_date:, end_date: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "bidding_strategy_id cannot contain /" if bidding_strategy_id.to_s.include? "/" raise ::ArgumentError, "type cannot contain /" if type.to_s.include? "/" raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/" raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/" "customers/#{customer_id}/biddingStrategySimulations/#{bidding_strategy_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}" end