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

Path helper methods for the BatchJobService API.

Public Instance Methods

accessible_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 AccessibleBiddingStrategy resource string.

The resource will be in the following format:

`customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}`

@param customer_id [String] @param bidding_strategy_id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/batch_job_service/paths.rb, line 39
def accessible_bidding_strategy_path customer_id:, bidding_strategy_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/accessibleBiddingStrategies/#{bidding_strategy_id}"
end
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/v8/services/batch_job_service/paths.rb, line 111
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/v8/services/batch_job_service/paths.rb, line 91
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/v8/services/batch_job_service/paths.rb, line 132
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/v8/services/batch_job_service/paths.rb, line 152
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/v8/services/batch_job_service/paths.rb, line 191
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/v8/services/batch_job_service/paths.rb, line 171
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/v8/services/batch_job_service/paths.rb, line 211
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/v8/services/batch_job_service/paths.rb, line 230
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/v8/services/batch_job_service/paths.rb, line 249
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/v8/services/batch_job_service/paths.rb, line 73
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/v8/services/batch_job_service/paths.rb, line 269
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/v8/services/batch_job_service/paths.rb, line 56
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/v8/services/batch_job_service/paths.rb, line 288
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/v8/services/batch_job_service/paths.rb, line 305
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_data_exclusion_path(customer_id:, seasonality_event_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified BiddingDataExclusion resource string.

The resource will be in the following format:

`customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}`

@param customer_id [String] @param seasonality_event_id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/batch_job_service/paths.rb, line 322
def bidding_data_exclusion_path customer_id:, seasonality_event_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/biddingDataExclusions/#{seasonality_event_id}"
end
bidding_seasonality_adjustment_path(customer_id:, seasonality_event_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified BiddingSeasonalityAdjustment resource string.

The resource will be in the following format:

`customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}`

@param customer_id [String] @param seasonality_event_id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/batch_job_service/paths.rb, line 339
def bidding_seasonality_adjustment_path customer_id:, seasonality_event_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/biddingSeasonalityAdjustments/#{seasonality_event_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/v8/services/batch_job_service/paths.rb, line 356
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/v8/services/batch_job_service/paths.rb, line 392
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/v8/services/batch_job_service/paths.rb, line 412
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/v8/services/batch_job_service/paths.rb, line 430
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/v8/services/batch_job_service/paths.rb, line 448
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/v8/services/batch_job_service/paths.rb, line 467
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/v8/services/batch_job_service/paths.rb, line 485
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/v8/services/batch_job_service/paths.rb, line 503
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/v8/services/batch_job_service/paths.rb, line 522
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/v8/services/batch_job_service/paths.rb, line 541
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/v8/services/batch_job_service/paths.rb, line 373
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/v8/services/batch_job_service/paths.rb, line 560
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/v8/services/batch_job_service/paths.rb, line 578
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/v8/services/batch_job_service/paths.rb, line 595
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
conversion_value_rule_path(customer_id:, conversion_value_rule_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ConversionValueRule resource string.

The resource will be in the following format:

`customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}`

@param customer_id [String] @param conversion_value_rule_id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/batch_job_service/paths.rb, line 612
def conversion_value_rule_path customer_id:, conversion_value_rule_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/conversionValueRules/#{conversion_value_rule_id}"
end
conversion_value_rule_set_path(customer_id:, conversion_value_rule_set_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ConversionValueRuleSet resource string.

The resource will be in the following format:

`customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`

@param customer_id [String] @param conversion_value_rule_set_id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/batch_job_service/paths.rb, line 629
def conversion_value_rule_set_path customer_id:, conversion_value_rule_set_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/conversionValueRuleSets/#{conversion_value_rule_set_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/v8/services/batch_job_service/paths.rb, line 661
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/v8/services/batch_job_service/paths.rb, line 679
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/v8/services/batch_job_service/paths.rb, line 696
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/v8/services/batch_job_service/paths.rb, line 713
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/v8/services/batch_job_service/paths.rb, line 730
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/v8/services/batch_job_service/paths.rb, line 645
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/v8/services/batch_job_service/paths.rb, line 747
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/v8/services/batch_job_service/paths.rb, line 782
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/v8/services/batch_job_service/paths.rb, line 801
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/v8/services/batch_job_service/paths.rb, line 843
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/v8/services/batch_job_service/paths.rb, line 865
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/v8/services/batch_job_service/paths.rb, line 764
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/v8/services/batch_job_service/paths.rb, line 882
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/v8/services/batch_job_service/paths.rb, line 931
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/v8/services/batch_job_service/paths.rb, line 914
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/v8/services/batch_job_service/paths.rb, line 965
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/v8/services/batch_job_service/paths.rb, line 948
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/v8/services/batch_job_service/paths.rb, line 897
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/v8/services/batch_job_service/paths.rb, line 982
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/v8/services/batch_job_service/paths.rb, line 998
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/v8/services/batch_job_service/paths.rb, line 1013
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/v8/services/batch_job_service/paths.rb, line 1030
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/v8/services/batch_job_service/paths.rb, line 1048
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/v8/services/batch_job_service/paths.rb, line 1066
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
smart_campaign_setting_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 SmartCampaignSetting resource string.

The resource will be in the following format:

`customers/{customer_id}/smartCampaignSettings/{campaign_id}`

@param customer_id [String] @param campaign_id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/batch_job_service/paths.rb, line 1083
def smart_campaign_setting_path customer_id:, campaign_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/smartCampaignSettings/#{campaign_id}"
end
user_interest_path(customer_id:, user_interest_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified UserInterest resource string.

The resource will be in the following format:

`customers/{customer_id}/userInterests/{user_interest_id}`

@param customer_id [String] @param user_interest_id [String]

@return [::String]

# File lib/google/ads/google_ads/v8/services/batch_job_service/paths.rb, line 1100
def user_interest_path customer_id:, user_interest_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/userInterests/#{user_interest_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/v8/services/batch_job_service/paths.rb, line 1117
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