# frozen_string_literal: true # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Auto-generated by gapic-generator-ruby. DO NOT EDIT! module Google module Ads module GoogleAds module V6 module Services module BatchJobService # Path helper methods for the BatchJobService API. module Paths ## # Create a fully-qualified Ad resource string. # # The resource will be in the following format: # # `customers/{customer_id}/ads/{ad_id}` # # @param customer_id [String] # @param ad_id [String] # # @return [::String] def ad_path customer_id:, ad_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/ads/#{ad_id}" end ## # Create a fully-qualified AdGroup resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroups/{ad_group_id}` # # @param customer_id [String] # @param ad_group_id [String] # # @return [::String] def ad_group_path customer_id:, ad_group_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/adGroups/#{ad_group_id}" end ## # Create a fully-qualified AdGroupAd resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` # # @param customer_id [String] # @param ad_group_id [String] # @param ad_id [String] # # @return [::String] def ad_group_ad_path customer_id:, ad_group_id:, ad_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" "customers/#{customer_id}/adGroupAds/#{ad_group_id}~#{ad_id}" end ## # Create a fully-qualified AdGroupAdLabel resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` # # @param customer_id [String] # @param ad_group_id [String] # @param ad_id [String] # @param label_id [String] # # @return [::String] def ad_group_ad_label_path customer_id:, ad_group_id:, ad_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" raise ::ArgumentError, "ad_id cannot contain /" if ad_id.to_s.include? "/" "customers/#{customer_id}/adGroupAdLabels/#{ad_group_id}~#{ad_id}~#{label_id}" end ## # Create a fully-qualified AdGroupBidModifier resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` # # @param customer_id [String] # @param ad_group_id [String] # @param criterion_id [String] # # @return [::String] def ad_group_bid_modifier_path customer_id:, ad_group_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" "customers/#{customer_id}/adGroupBidModifiers/#{ad_group_id}~#{criterion_id}" end ## # Create a fully-qualified AdGroupCriterion resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` # # @param customer_id [String] # @param ad_group_id [String] # @param criterion_id [String] # # @return [::String] def ad_group_criterion_path customer_id:, ad_group_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" "customers/#{customer_id}/adGroupCriteria/#{ad_group_id}~#{criterion_id}" end ## # Create a fully-qualified AdGroupCriterionLabel resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` # # @param customer_id [String] # @param ad_group_id [String] # @param criterion_id [String] # @param label_id [String] # # @return [::String] def ad_group_criterion_label_path customer_id:, ad_group_id:, criterion_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" raise ::ArgumentError, "criterion_id cannot contain /" if criterion_id.to_s.include? "/" "customers/#{customer_id}/adGroupCriterionLabels/#{ad_group_id}~#{criterion_id}~#{label_id}" end ## # Create a fully-qualified AdGroupExtensionSetting resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` # # @param customer_id [String] # @param ad_group_id [String] # @param extension_type [String] # # @return [::String] def ad_group_extension_setting_path customer_id:, ad_group_id:, extension_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" "customers/#{customer_id}/adGroupExtensionSettings/#{ad_group_id}~#{extension_type}" end ## # Create a fully-qualified AdGroupFeed resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` # # @param customer_id [String] # @param ad_group_id [String] # @param feed_id [String] # # @return [::String] def ad_group_feed_path customer_id:, ad_group_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" "customers/#{customer_id}/adGroupFeeds/#{ad_group_id}~#{feed_id}" end ## # Create a fully-qualified AdGroupLabel resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` # # @param customer_id [String] # @param ad_group_id [String] # @param label_id [String] # # @return [::String] def ad_group_label_path customer_id:, ad_group_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" "customers/#{customer_id}/adGroupLabels/#{ad_group_id}~#{label_id}" end ## # Create a fully-qualified AdParameter resource string. # # The resource will be in the following format: # # `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` # # @param customer_id [String] # @param ad_group_id [String] # @param criterion_id [String] # @param parameter_index [String] # # @return [::String] def ad_parameter_path customer_id:, ad_group_id:, criterion_id:, parameter_index: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/" raise ::ArgumentError, "criterion_id cannot contain /" if criterion_id.to_s.include? "/" "customers/#{customer_id}/adParameters/#{ad_group_id}~#{criterion_id}~#{parameter_index}" end ## # Create a fully-qualified Asset resource string. # # The resource will be in the following format: # # `customers/{customer_id}/assets/{asset_id}` # # @param customer_id [String] # @param asset_id [String] # # @return [::String] def asset_path customer_id:, asset_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/assets/#{asset_id}" end ## # Create a fully-qualified BatchJob resource string. # # The resource will be in the following format: # # `customers/{customer_id}/batchJobs/{batch_job_id}` # # @param customer_id [String] # @param batch_job_id [String] # # @return [::String] def batch_job_path customer_id:, batch_job_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/batchJobs/#{batch_job_id}" end ## # Create a fully-qualified BiddingStrategy resource string. # # The resource will be in the following format: # # `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` # # @param customer_id [String] # @param bidding_strategy_id [String] # # @return [::String] def bidding_strategy_path customer_id:, bidding_strategy_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/biddingStrategies/#{bidding_strategy_id}" end ## # Create a fully-qualified Campaign resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaigns/{campaign_id}` # # @param customer_id [String] # @param campaign_id [String] # # @return [::String] def campaign_path customer_id:, campaign_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/campaigns/#{campaign_id}" end ## # Create a fully-qualified CampaignAsset resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` # # @param customer_id [String] # @param campaign_id [String] # @param asset_id [String] # @param field_type [String] # # @return [::String] def campaign_asset_path customer_id:, campaign_id:, asset_id:, field_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/" raise ::ArgumentError, "asset_id cannot contain /" if asset_id.to_s.include? "/" "customers/#{customer_id}/campaignAssets/#{campaign_id}~#{asset_id}~#{field_type}" end ## # Create a fully-qualified CampaignBidModifier resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` # # @param customer_id [String] # @param campaign_id [String] # @param criterion_id [String] # # @return [::String] def campaign_bid_modifier_path customer_id:, campaign_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/" "customers/#{customer_id}/campaignBidModifiers/#{campaign_id}~#{criterion_id}" end ## # Create a fully-qualified CampaignBudget resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` # # @param customer_id [String] # @param campaign_budget_id [String] # # @return [::String] def campaign_budget_path customer_id:, campaign_budget_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/campaignBudgets/#{campaign_budget_id}" end ## # Create a fully-qualified CampaignCriterion resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` # # @param customer_id [String] # @param campaign_id [String] # @param criterion_id [String] # # @return [::String] def campaign_criterion_path customer_id:, campaign_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/" "customers/#{customer_id}/campaignCriteria/#{campaign_id}~#{criterion_id}" end ## # Create a fully-qualified CampaignDraft resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` # # @param customer_id [String] # @param base_campaign_id [String] # @param draft_id [String] # # @return [::String] def campaign_draft_path customer_id:, base_campaign_id:, draft_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "base_campaign_id cannot contain /" if base_campaign_id.to_s.include? "/" "customers/#{customer_id}/campaignDrafts/#{base_campaign_id}~#{draft_id}" end ## # Create a fully-qualified CampaignExperiment resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` # # @param customer_id [String] # @param campaign_experiment_id [String] # # @return [::String] def campaign_experiment_path customer_id:, campaign_experiment_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/campaignExperiments/#{campaign_experiment_id}" end ## # Create a fully-qualified CampaignExtensionSetting resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` # # @param customer_id [String] # @param campaign_id [String] # @param extension_type [String] # # @return [::String] def campaign_extension_setting_path customer_id:, campaign_id:, extension_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/" "customers/#{customer_id}/campaignExtensionSettings/#{campaign_id}~#{extension_type}" end ## # Create a fully-qualified CampaignFeed resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` # # @param customer_id [String] # @param campaign_id [String] # @param feed_id [String] # # @return [::String] def campaign_feed_path customer_id:, campaign_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/" "customers/#{customer_id}/campaignFeeds/#{campaign_id}~#{feed_id}" end ## # Create a fully-qualified CampaignLabel resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` # # @param customer_id [String] # @param campaign_id [String] # @param label_id [String] # # @return [::String] def campaign_label_path customer_id:, campaign_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/" "customers/#{customer_id}/campaignLabels/#{campaign_id}~#{label_id}" end ## # Create a fully-qualified CampaignSharedSet resource string. # # The resource will be in the following format: # # `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` # # @param customer_id [String] # @param campaign_id [String] # @param shared_set_id [String] # # @return [::String] def campaign_shared_set_path customer_id:, campaign_id:, shared_set_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/" "customers/#{customer_id}/campaignSharedSets/#{campaign_id}~#{shared_set_id}" end ## # Create a fully-qualified ConversionAction resource string. # # The resource will be in the following format: # # `customers/{customer_id}/conversionActions/{conversion_action_id}` # # @param customer_id [String] # @param conversion_action_id [String] # # @return [::String] def conversion_action_path customer_id:, conversion_action_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/conversionActions/#{conversion_action_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] def customer_path customer_id: "customers/#{customer_id}" end ## # Create a fully-qualified CustomerExtensionSetting resource string. # # The resource will be in the following format: # # `customers/{customer_id}/customerExtensionSettings/{extension_type}` # # @param customer_id [String] # @param extension_type [String] # # @return [::String] def customer_extension_setting_path customer_id:, extension_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/customerExtensionSettings/#{extension_type}" end ## # Create a fully-qualified CustomerFeed resource string. # # The resource will be in the following format: # # `customers/{customer_id}/customerFeeds/{feed_id}` # # @param customer_id [String] # @param feed_id [String] # # @return [::String] def customer_feed_path customer_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/customerFeeds/#{feed_id}" end ## # Create a fully-qualified CustomerLabel resource string. # # The resource will be in the following format: # # `customers/{customer_id}/customerLabels/{label_id}` # # @param customer_id [String] # @param label_id [String] # # @return [::String] def customer_label_path customer_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/customerLabels/#{label_id}" end ## # Create a fully-qualified CustomerNegativeCriterion resource string. # # The resource will be in the following format: # # `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` # # @param customer_id [String] # @param criterion_id [String] # # @return [::String] def customer_negative_criterion_path customer_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/customerNegativeCriteria/#{criterion_id}" end ## # Create a fully-qualified ExtensionFeedItem resource string. # # The resource will be in the following format: # # `customers/{customer_id}/extensionFeedItems/{feed_item_id}` # # @param customer_id [String] # @param feed_item_id [String] # # @return [::String] def extension_feed_item_path customer_id:, feed_item_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/extensionFeedItems/#{feed_item_id}" end ## # Create a fully-qualified Feed resource string. # # The resource will be in the following format: # # `customers/{customer_id}/feeds/{feed_id}` # # @param customer_id [String] # @param feed_id [String] # # @return [::String] def feed_path customer_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/feeds/#{feed_id}" end ## # Create a fully-qualified FeedItem resource string. # # The resource will be in the following format: # # `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` # # @param customer_id [String] # @param feed_id [String] # @param feed_item_id [String] # # @return [::String] def feed_item_path customer_id:, feed_id:, feed_item_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/" "customers/#{customer_id}/feedItems/#{feed_id}~#{feed_item_id}" end ## # Create a fully-qualified FeedItemSet resource string. # # The resource will be in the following format: # # `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` # # @param customer_id [String] # @param feed_id [String] # @param feed_item_set_id [String] # # @return [::String] def feed_item_set_path customer_id:, feed_id:, feed_item_set_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/" "customers/#{customer_id}/feedItemSets/#{feed_id}~#{feed_item_set_id}" end ## # Create a fully-qualified FeedItemSetLink resource string. # # The resource will be in the following format: # # `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` # # @param customer_id [String] # @param feed_id [String] # @param feed_item_set_id [String] # @param feed_item_id [String] # # @return [::String] def feed_item_set_link_path customer_id:, feed_id:, feed_item_set_id:, feed_item_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/" raise ::ArgumentError, "feed_item_set_id cannot contain /" if feed_item_set_id.to_s.include? "/" "customers/#{customer_id}/feedItemSetLinks/#{feed_id}~#{feed_item_set_id}~#{feed_item_id}" end ## # Create a fully-qualified FeedItemTarget resource string. # # The resource will be in the following format: # # `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` # # @param customer_id [String] # @param feed_id [String] # @param feed_item_id [String] # @param feed_item_target_type [String] # @param feed_item_target_id [String] # # @return [::String] def feed_item_target_path customer_id:, feed_id:, feed_item_id:, feed_item_target_type:, feed_item_target_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/" raise ::ArgumentError, "feed_item_id cannot contain /" if feed_item_id.to_s.include? "/" raise ::ArgumentError, "feed_item_target_type cannot contain /" if feed_item_target_type.to_s.include? "/" "customers/#{customer_id}/feedItemTargets/#{feed_id}~#{feed_item_id}~#{feed_item_target_type}~#{feed_item_target_id}" end ## # Create a fully-qualified FeedMapping resource string. # # The resource will be in the following format: # # `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` # # @param customer_id [String] # @param feed_id [String] # @param feed_mapping_id [String] # # @return [::String] def feed_mapping_path customer_id:, feed_id:, feed_mapping_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/" "customers/#{customer_id}/feedMappings/#{feed_id}~#{feed_mapping_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] def geo_target_constant_path criterion_id: "geoTargetConstants/#{criterion_id}" end ## # Create a fully-qualified KeywordPlan resource string. # # The resource will be in the following format: # # `customers/{customer_id}/keywordPlans/{keyword_plan_id}` # # @param customer_id [String] # @param keyword_plan_id [String] # # @return [::String] def keyword_plan_path customer_id:, keyword_plan_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/keywordPlans/#{keyword_plan_id}" end ## # Create a fully-qualified KeywordPlanAdGroup resource string. # # The resource will be in the following format: # # `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` # # @param customer_id [String] # @param keyword_plan_ad_group_id [String] # # @return [::String] def keyword_plan_ad_group_path customer_id:, keyword_plan_ad_group_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/keywordPlanAdGroups/#{keyword_plan_ad_group_id}" end ## # Create a fully-qualified KeywordPlanAdGroupKeyword resource string. # # The resource will be in the following format: # # `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` # # @param customer_id [String] # @param keyword_plan_ad_group_keyword_id [String] # # @return [::String] def keyword_plan_ad_group_keyword_path customer_id:, keyword_plan_ad_group_keyword_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/keywordPlanAdGroupKeywords/#{keyword_plan_ad_group_keyword_id}" end ## # Create a fully-qualified KeywordPlanCampaign resource string. # # The resource will be in the following format: # # `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` # # @param customer_id [String] # @param keyword_plan_campaign_id [String] # # @return [::String] def keyword_plan_campaign_path customer_id:, keyword_plan_campaign_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/keywordPlanCampaigns/#{keyword_plan_campaign_id}" end ## # Create a fully-qualified KeywordPlanCampaignKeyword resource string. # # The resource will be in the following format: # # `customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}` # # @param customer_id [String] # @param keyword_plan_campaign_keyword_id [String] # # @return [::String] def keyword_plan_campaign_keyword_path customer_id:, keyword_plan_campaign_keyword_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/keywordPlanCampaignKeywords/#{keyword_plan_campaign_keyword_id}" end ## # Create a fully-qualified Label resource string. # # The resource will be in the following format: # # `customers/{customer_id}/labels/{label_id}` # # @param customer_id [String] # @param label_id [String] # # @return [::String] def label_path customer_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/labels/#{label_id}" end ## # Create a fully-qualified LanguageConstant resource string. # # The resource will be in the following format: # # `languageConstants/{criterion_id}` # # @param criterion_id [String] # # @return [::String] def language_constant_path criterion_id: "languageConstants/#{criterion_id}" end ## # Create a fully-qualified MediaFile resource string. # # The resource will be in the following format: # # `customers/{customer_id}/mediaFiles/{media_file_id}` # # @param customer_id [String] # @param media_file_id [String] # # @return [::String] def media_file_path customer_id:, media_file_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/mediaFiles/#{media_file_id}" end ## # Create a fully-qualified RemarketingAction resource string. # # The resource will be in the following format: # # `customers/{customer_id}/remarketingActions/{remarketing_action_id}` # # @param customer_id [String] # @param remarketing_action_id [String] # # @return [::String] def remarketing_action_path customer_id:, remarketing_action_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/remarketingActions/#{remarketing_action_id}" end ## # Create a fully-qualified SharedCriterion resource string. # # The resource will be in the following format: # # `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` # # @param customer_id [String] # @param shared_set_id [String] # @param criterion_id [String] # # @return [::String] def shared_criterion_path customer_id:, shared_set_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" raise ::ArgumentError, "shared_set_id cannot contain /" if shared_set_id.to_s.include? "/" "customers/#{customer_id}/sharedCriteria/#{shared_set_id}~#{criterion_id}" end ## # Create a fully-qualified SharedSet resource string. # # The resource will be in the following format: # # `customers/{customer_id}/sharedSets/{shared_set_id}` # # @param customer_id [String] # @param shared_set_id [String] # # @return [::String] def shared_set_path customer_id:, shared_set_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/" "customers/#{customer_id}/sharedSets/#{shared_set_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] 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 extend self end end end end end end end