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.
-
#application_path(network_code:, application:) ⇒ ::String
Create a fully-qualified Application resource string.
-
#audience_segment_path(network_code:, audience_segment:) ⇒ ::String
Create a fully-qualified AudienceSegment resource string.
-
#bandwidth_group_path(network_code:, bandwidth_group:) ⇒ ::String
Create a fully-qualified BandwidthGroup resource string.
-
#browser_language_path(network_code:, browser_language:) ⇒ ::String
Create a fully-qualified BrowserLanguage resource string.
-
#browser_path(network_code:, browser:) ⇒ ::String
Create a fully-qualified Browser resource string.
-
#cms_metadata_value_path(network_code:, cms_metadata_value:) ⇒ ::String
Create a fully-qualified CmsMetadataValue resource string.
-
#content_bundle_path(network_code:, content_bundle:) ⇒ ::String
Create a fully-qualified ContentBundle resource string.
-
#content_path(network_code:, content:) ⇒ ::String
Create a fully-qualified Content 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_capability_path(network_code:, device_capability:) ⇒ ::String
Create a fully-qualified DeviceCapability resource string.
-
#device_category_path(network_code:, device_category:) ⇒ ::String
Create a fully-qualified DeviceCategory resource string.
-
#device_manufacturer_path(network_code:, device_manufacturer:) ⇒ ::String
Create a fully-qualified DeviceManufacturer resource string.
-
#geo_target_path(network_code:, geo_target:) ⇒ ::String
Create a fully-qualified GeoTarget resource string.
-
#mobile_carrier_path(network_code:, mobile_carrier:) ⇒ ::String
Create a fully-qualified MobileCarrier resource string.
-
#mobile_device_path(network_code:, mobile_device:) ⇒ ::String
Create a fully-qualified MobileDevice resource string.
-
#mobile_device_submodel_path(network_code:, mobile_device_submodel:) ⇒ ::String
Create a fully-qualified MobileDeviceSubmodel 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 |
#application_path(network_code:, application:) ⇒ ::String
Create a fully-qualified Application resource string.
The resource will be in the following format:
networks/{network_code}/applications/{application}
55 56 57 58 59 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 55 def application_path network_code:, application: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/applications/#{application}" end |
#audience_segment_path(network_code:, audience_segment:) ⇒ ::String
Create a fully-qualified AudienceSegment resource string.
The resource will be in the following format:
networks/{network_code}/audienceSegments/{audience_segment}
72 73 74 75 76 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 72 def audience_segment_path network_code:, audience_segment: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/audienceSegments/#{audience_segment}" 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}
89 90 91 92 93 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 89 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 |
#browser_language_path(network_code:, browser_language:) ⇒ ::String
Create a fully-qualified BrowserLanguage resource string.
The resource will be in the following format:
networks/{network_code}/browserLanguages/{browser_language}
123 124 125 126 127 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 123 def browser_language_path network_code:, browser_language: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/browserLanguages/#{browser_language}" end |
#browser_path(network_code:, browser:) ⇒ ::String
Create a fully-qualified Browser resource string.
The resource will be in the following format:
networks/{network_code}/browsers/{browser}
106 107 108 109 110 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 106 def browser_path network_code:, browser: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/browsers/#{browser}" end |
#cms_metadata_value_path(network_code:, cms_metadata_value:) ⇒ ::String
Create a fully-qualified CmsMetadataValue resource string.
The resource will be in the following format:
networks/{network_code}/cmsMetadataValues/{cms_metadata_value}
140 141 142 143 144 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 140 def network_code:, cms_metadata_value: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/cmsMetadataValues/#{cms_metadata_value}" end |
#content_bundle_path(network_code:, content_bundle:) ⇒ ::String
Create a fully-qualified ContentBundle resource string.
The resource will be in the following format:
networks/{network_code}/contentBundles/{content_bundle}
174 175 176 177 178 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 174 def content_bundle_path network_code:, content_bundle: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/contentBundles/#{content_bundle}" end |
#content_path(network_code:, content:) ⇒ ::String
Create a fully-qualified Content resource string.
The resource will be in the following format:
networks/{network_code}/content/{content}
157 158 159 160 161 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 157 def content_path network_code:, content: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/content/#{content}" 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}
191 192 193 194 195 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 191 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}
208 209 210 211 212 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 208 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_capability_path(network_code:, device_capability:) ⇒ ::String
Create a fully-qualified DeviceCapability resource string.
The resource will be in the following format:
networks/{network_code}/deviceCapabilities/{device_capability}
225 226 227 228 229 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 225 def device_capability_path network_code:, device_capability: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/deviceCapabilities/#{device_capability}" 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}
242 243 244 245 246 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 242 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 |
#device_manufacturer_path(network_code:, device_manufacturer:) ⇒ ::String
Create a fully-qualified DeviceManufacturer resource string.
The resource will be in the following format:
networks/{network_code}/deviceManufacturers/{device_manufacturer}
259 260 261 262 263 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 259 def device_manufacturer_path network_code:, device_manufacturer: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/deviceManufacturers/#{device_manufacturer}" 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}
276 277 278 279 280 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 276 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 |
#mobile_carrier_path(network_code:, mobile_carrier:) ⇒ ::String
Create a fully-qualified MobileCarrier resource string.
The resource will be in the following format:
networks/{network_code}/mobileCarriers/{mobile_carrier}
293 294 295 296 297 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 293 def mobile_carrier_path network_code:, mobile_carrier: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/mobileCarriers/#{mobile_carrier}" end |
#mobile_device_path(network_code:, mobile_device:) ⇒ ::String
Create a fully-qualified MobileDevice resource string.
The resource will be in the following format:
networks/{network_code}/mobileDevices/{mobile_device}
310 311 312 313 314 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 310 def mobile_device_path network_code:, mobile_device: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/mobileDevices/#{mobile_device}" end |
#mobile_device_submodel_path(network_code:, mobile_device_submodel:) ⇒ ::String
Create a fully-qualified MobileDeviceSubmodel resource string.
The resource will be in the following format:
networks/{network_code}/mobileDeviceSubmodels/{mobile_device_submodel}
327 328 329 330 331 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 327 def mobile_device_submodel_path network_code:, mobile_device_submodel: raise ::ArgumentError, "network_code cannot contain /" if network_code.to_s.include? "/" "networks/#{network_code}/mobileDeviceSubmodels/#{mobile_device_submodel}" end |
#network_path(network_code:) ⇒ ::String
Create a fully-qualified Network resource string.
The resource will be in the following format:
networks/{network_code}
343 344 345 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 343 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}
358 359 360 361 362 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 358 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}
375 376 377 378 379 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 375 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}
392 393 394 395 396 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 392 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}
409 410 411 412 413 |
# File 'lib/google/ads/ad_manager/v1/private_auction_deal_service/paths.rb', line 409 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 |