Module: Google::Ads::AdManager::V1::PrivateAuctionDealService::Paths
- Extended by:
- Paths
- Included in:
- Paths, Rest::Client
- Defined in:
- lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb
Overview
Path helper methods for the PrivateAuctionDealService API.
Instance Method Summary collapse
-
#ad_unit_path(network_code:, ad_unit:) ⇒ ::String
Create a fully-qualified AdUnit resource string.
-
#bandwidth_group_path(network_code:, bandwidth_group:) ⇒ ::String
Create a fully-qualified BandwidthGroup resource string.
-
#custom_targeting_key_path(network_code:, custom_targeting_key:) ⇒ ::String
Create a fully-qualified CustomTargetingKey resource string.
-
#custom_targeting_value_path(network_code:, custom_targeting_value:) ⇒ ::String
Create a fully-qualified CustomTargetingValue resource string.
-
#device_category_path(network_code:, device_category:) ⇒ ::String
Create a fully-qualified DeviceCategory resource string.
-
#geo_target_path(network_code:, geo_target:) ⇒ ::String
Create a fully-qualified GeoTarget resource string.
-
#network_path(network_code:) ⇒ ::String
Create a fully-qualified Network resource string.
-
#operating_system_path(network_code:, operating_system:) ⇒ ::String
Create a fully-qualified OperatingSystem resource string.
-
#operating_system_version_path(network_code:, operating_system_version:) ⇒ ::String
Create a fully-qualified OperatingSystemVersion resource string.
-
#placement_path(network_code:, placement:) ⇒ ::String
Create a fully-qualified Placement resource string.
-
#private_auction_deal_path(network_code:, private_auction_deal:) ⇒ ::String
Create a fully-qualified PrivateAuctionDeal resource string.
Instance Method Details
#ad_unit_path(network_code:, ad_unit:) ⇒ ::String
Create a fully-qualified AdUnit resource string.
The resource will be in the following format:
networks/{network_code}/adUnits/{ad_unit}
38 39 40 41 42 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 38 def ad_unit_path network_code:, ad_unit: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/adUnits/#{ad_unit}" end |
#bandwidth_group_path(network_code:, bandwidth_group:) ⇒ ::String
Create a fully-qualified BandwidthGroup resource string.
The resource will be in the following format:
networks/{network_code}/bandwidthGroups/{bandwidth_group}
55 56 57 58 59 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 55 def bandwidth_group_path network_code:, bandwidth_group: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/bandwidthGroups/#{bandwidth_group}" end |
#custom_targeting_key_path(network_code:, custom_targeting_key:) ⇒ ::String
Create a fully-qualified CustomTargetingKey resource string.
The resource will be in the following format:
networks/{network_code}/customTargetingKeys/{custom_targeting_key}
72 73 74 75 76 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 72 def custom_targeting_key_path network_code:, custom_targeting_key: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/customTargetingKeys/#{custom_targeting_key}" end |
#custom_targeting_value_path(network_code:, custom_targeting_value:) ⇒ ::String
Create a fully-qualified CustomTargetingValue resource string.
The resource will be in the following format:
networks/{network_code}/customTargetingValues/{custom_targeting_value}
89 90 91 92 93 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 89 def custom_targeting_value_path network_code:, custom_targeting_value: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/customTargetingValues/#{custom_targeting_value}" end |
#device_category_path(network_code:, device_category:) ⇒ ::String
Create a fully-qualified DeviceCategory resource string.
The resource will be in the following format:
networks/{network_code}/deviceCategories/{device_category}
106 107 108 109 110 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 106 def device_category_path network_code:, device_category: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/deviceCategories/#{device_category}" end |
#geo_target_path(network_code:, geo_target:) ⇒ ::String
Create a fully-qualified GeoTarget resource string.
The resource will be in the following format:
networks/{network_code}/geoTargets/{geo_target}
123 124 125 126 127 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 123 def geo_target_path network_code:, geo_target: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/geoTargets/#{geo_target}" end |
#network_path(network_code:) ⇒ ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
networks/{network_code}
139 140 141 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 139 def network_path network_code: "networks/#{network_code}" end |
#operating_system_path(network_code:, operating_system:) ⇒ ::String
Create a fully-qualified OperatingSystem resource string.
The resource will be in the following format:
networks/{network_code}/operatingSystems/{operating_system}
154 155 156 157 158 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 154 def network_code:, operating_system: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/operatingSystems/#{operating_system}" end |
#operating_system_version_path(network_code:, operating_system_version:) ⇒ ::String
Create a fully-qualified OperatingSystemVersion resource string.
The resource will be in the following format:
networks/{network_code}/operatingSystemVersions/{operating_system_version}
171 172 173 174 175 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 171 def network_code:, operating_system_version: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/operatingSystemVersions/#{operating_system_version}" end |
#placement_path(network_code:, placement:) ⇒ ::String
Create a fully-qualified Placement resource string.
The resource will be in the following format:
networks/{network_code}/placements/{placement}
188 189 190 191 192 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 188 def placement_path network_code:, placement: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/placements/#{placement}" end |
#private_auction_deal_path(network_code:, private_auction_deal:) ⇒ ::String
Create a fully-qualified PrivateAuctionDeal resource string.
The resource will be in the following format:
networks/{network_code}/privateAuctionDeals/{private_auction_deal}
205 206 207 208 209 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 205 def private_auction_deal_path network_code:, private_auction_deal: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/privateAuctionDeals/#{private_auction_deal}" end |