module Google::Ads::GoogleAds::V8::Services::ProductBiddingCategoryConstantService::Paths

Path helper methods for the ProductBiddingCategoryConstantService API.

Public Instance Methods

product_bidding_category_constant_path(country_code:, level:, id: raise ::ArgumentError, "country_code cannot contain /" if country_code.to_s.include? "/") click to toggle source

Create a fully-qualified ProductBiddingCategoryConstant resource string.

The resource will be in the following format:

`productBiddingCategoryConstants/{country_code}~{level}~{id}`

@param country_code [String] @param level [String] @param id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/product_bidding_category_constant_service/paths.rb, line 40
def product_bidding_category_constant_path country_code:, level:, id:
  raise ::ArgumentError, "country_code cannot contain /" if country_code.to_s.include? "/"
  raise ::ArgumentError, "level cannot contain /" if level.to_s.include? "/"

  "productBiddingCategoryConstants/#{country_code}~#{level}~#{id}"
end