module Google::Ads::GoogleAds::V7::Services::BatchJobService::Paths

Path helper methods for the BatchJobService API.

Public Instance Methods

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? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 94
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
ad_group_ad_path(customer_id:, ad_group_id:, ad_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 74
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
ad_group_asset_path(customer_id:, ad_group_id:, asset_id:, field_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified AdGroupAsset resource string.

The resource will be in the following format:

`customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}`

@param customer_id [String] @param ad_group_id [String] @param asset_id [String] @param field_type [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 115
def ad_group_asset_path customer_id:, ad_group_id:, asset_id:, field_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? "/"
  raise ::ArgumentError, "asset_id cannot contain /" if asset_id.to_s.include? "/"

  "customers/#{customer_id}/adGroupAssets/#{ad_group_id}~#{asset_id}~#{field_type}"
end
ad_group_bid_modifier_path(customer_id:, ad_group_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 135
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
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? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 174
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
ad_group_criterion_path(customer_id:, ad_group_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 154
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
ad_group_extension_setting_path(customer_id:, ad_group_id:, extension_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 194
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
ad_group_feed_path(customer_id:, ad_group_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 213
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
ad_group_label_path(customer_id:, ad_group_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 232
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
ad_group_path(customer_id:, ad_group_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 56
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
ad_parameter_path(customer_id:, ad_group_id:, criterion_id:, parameter_index: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 252
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
ad_path(customer_id:, ad_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 39
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
asset_path(customer_id:, asset_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 271
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
batch_job_path(customer_id:, batch_job_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 288
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
bidding_strategy_path(customer_id:, bidding_strategy_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 305
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
campaign_asset_path(customer_id:, campaign_id:, asset_id:, field_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 341
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
campaign_bid_modifier_path(customer_id:, campaign_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 361
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
campaign_budget_path(customer_id:, campaign_budget_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 379
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
campaign_criterion_path(customer_id:, campaign_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 397
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
campaign_draft_path(customer_id:, base_campaign_id:, draft_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 416
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
campaign_experiment_path(customer_id:, campaign_experiment_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 434
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
campaign_extension_setting_path(customer_id:, campaign_id:, extension_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 452
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
campaign_feed_path(customer_id:, campaign_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 471
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
campaign_label_path(customer_id:, campaign_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 490
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
campaign_path(customer_id:, campaign_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 322
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
campaign_shared_set_path(customer_id:, campaign_id:, shared_set_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 509
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
conversion_action_path(customer_id:, conversion_action_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 527
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
conversion_custom_variable_path(customer_id:, conversion_custom_variable_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ConversionCustomVariable resource string.

The resource will be in the following format:

`customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}`

@param customer_id [String] @param conversion_custom_variable_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 544
def conversion_custom_variable_path customer_id:, conversion_custom_variable_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/conversionCustomVariables/#{conversion_custom_variable_id}"
end
customer_asset_path(customer_id:, asset_id:, field_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CustomerAsset resource string.

The resource will be in the following format:

`customers/{customer_id}/customerAssets/{asset_id}~{field_type}`

@param customer_id [String] @param asset_id [String] @param field_type [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 576
def customer_asset_path customer_id:, asset_id:, field_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "asset_id cannot contain /" if asset_id.to_s.include? "/"

  "customers/#{customer_id}/customerAssets/#{asset_id}~#{field_type}"
end
customer_extension_setting_path(customer_id:, extension_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 594
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
customer_feed_path(customer_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 611
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
customer_label_path(customer_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 628
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
customer_negative_criterion_path(customer_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 645
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
customer_path(customer_id: "customers/ click to toggle source

Create a fully-qualified Customer resource string.

The resource will be in the following format:

`customers/{customer_id}`

@param customer_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 560
def customer_path customer_id:
  "customers/#{customer_id}"
end
extension_feed_item_path(customer_id:, feed_item_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 662
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
feed_item_path(customer_id:, feed_id:, feed_item_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 697
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
feed_item_set_path(customer_id:, feed_id:, feed_item_set_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 716
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
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? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 758
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
feed_mapping_path(customer_id:, feed_id:, feed_mapping_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 780
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
feed_path(customer_id:, feed_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 679
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
geo_target_constant_path(criterion_id: "geoTargetConstants/ click to toggle source

Create a fully-qualified GeoTargetConstant resource string.

The resource will be in the following format:

`geoTargetConstants/{criterion_id}`

@param criterion_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 797
def geo_target_constant_path criterion_id:
  "geoTargetConstants/#{criterion_id}"
end
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? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 846
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
keyword_plan_ad_group_path(customer_id:, keyword_plan_ad_group_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 829
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
keyword_plan_campaign_keyword_path(customer_id:, keyword_plan_campaign_keyword_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 880
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
keyword_plan_campaign_path(customer_id:, keyword_plan_campaign_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 863
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
keyword_plan_path(customer_id:, keyword_plan_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 812
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
label_path(customer_id:, label_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 897
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
language_constant_path(criterion_id: "languageConstants/ click to toggle source

Create a fully-qualified LanguageConstant resource string.

The resource will be in the following format:

`languageConstants/{criterion_id}`

@param criterion_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 913
def language_constant_path criterion_id:
  "languageConstants/#{criterion_id}"
end
media_file_path(customer_id:, media_file_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 928
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
remarketing_action_path(customer_id:, remarketing_action_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 945
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
shared_criterion_path(customer_id:, shared_set_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 963
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
shared_set_path(customer_id:, shared_set_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 981
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
user_list_path(customer_id:, user_list_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

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]

# File lib/google/ads/google_ads/v7/services/batch_job_service/paths.rb, line 998
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