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

Path helper methods for the GoogleAdsService API.

Public Instance Methods

account_budget_path(customer_id:, account_budget_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified AccountBudget resource string.

The resource will be in the following format:

`customers/{customer_id}/accountBudgets/{account_budget_id}`

@param customer_id [String] @param account_budget_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 39
def account_budget_path customer_id:, account_budget_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/accountBudgets/#{account_budget_id}"
end
account_budget_proposal_path(customer_id:, account_budget_proposal_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified AccountBudgetProposal resource string.

The resource will be in the following format:

`customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`

@param customer_id [String] @param account_budget_proposal_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 56
def account_budget_proposal_path customer_id:, account_budget_proposal_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/accountBudgetProposals/#{account_budget_proposal_id}"
end
ad_group_ad_asset_view_path(customer_id:, ad_group_id:, ad_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 AdGroupAdAssetView resource string.

The resource will be in the following format:

`customers/{customer_id}/adGroupAdAssetViews/{ad_group_id}~{ad_id}~{asset_id}~{field_type}`

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

@return [::String]

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

  "customers/#{customer_id}/adGroupAdAssetViews/#{ad_group_id}~#{ad_id}~#{asset_id}~#{field_type}"
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/v7/services/google_ads_service/paths.rb, line 168
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/google_ads_service/paths.rb, line 125
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/google_ads_service/paths.rb, line 189
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_audience_view_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 AdGroupAudienceView resource string.

The resource will be in the following format:

`customers/{customer_id}/adGroupAudienceViews/{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/google_ads_service/paths.rb, line 209
def ad_group_audience_view_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}/adGroupAudienceViews/#{ad_group_id}~#{criterion_id}"
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/google_ads_service/paths.rb, line 228
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/google_ads_service/paths.rb, line 267
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/google_ads_service/paths.rb, line 247
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_criterion_simulation_path(customer_id:, ad_group_id:, criterion_id:, type:, modification_method:, start_date:, end_date: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified AdGroupCriterionSimulation resource string.

The resource will be in the following format:

`customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}`

@param customer_id [String] @param ad_group_id [String] @param criterion_id [String] @param type [String] @param modification_method [String] @param start_date [String] @param end_date [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 291
def ad_group_criterion_simulation_path customer_id:, ad_group_id:, criterion_id:, type:, modification_method:, start_date:, end_date:
  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? "/"
  raise ::ArgumentError, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/adGroupCriterionSimulations/#{ad_group_id}~#{criterion_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
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/google_ads_service/paths.rb, line 314
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/google_ads_service/paths.rb, line 333
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/google_ads_service/paths.rb, line 352
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/google_ads_service/paths.rb, line 107
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_group_simulation_path(customer_id:, ad_group_id:, type:, modification_method:, start_date:, end_date: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified AdGroupSimulation resource string.

The resource will be in the following format:

`customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}`

@param customer_id [String] @param ad_group_id [String] @param type [String] @param modification_method [String] @param start_date [String] @param end_date [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 374
def ad_group_simulation_path customer_id:, ad_group_id:, type:, modification_method:, start_date:, end_date:
  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, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/adGroupSimulations/#{ad_group_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
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/google_ads_service/paths.rb, line 397
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/google_ads_service/paths.rb, line 90
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
ad_schedule_view_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 AdScheduleView resource string.

The resource will be in the following format:

`customers/{customer_id}/adScheduleViews/{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/google_ads_service/paths.rb, line 417
def ad_schedule_view_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}/adScheduleViews/#{campaign_id}~#{criterion_id}"
end
age_range_view_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 AgeRangeView resource string.

The resource will be in the following format:

`customers/{customer_id}/ageRangeViews/{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/google_ads_service/paths.rb, line 436
def age_range_view_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}/ageRangeViews/#{ad_group_id}~#{criterion_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/google_ads_service/paths.rb, line 454
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/google_ads_service/paths.rb, line 471
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/google_ads_service/paths.rb, line 488
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
bidding_strategy_simulation_path(customer_id:, bidding_strategy_id:, type:, modification_method:, start_date:, end_date: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified BiddingStrategySimulation resource string.

The resource will be in the following format:

`customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}`

@param customer_id [String] @param bidding_strategy_id [String] @param type [String] @param modification_method [String] @param start_date [String] @param end_date [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 509
def bidding_strategy_simulation_path customer_id:, bidding_strategy_id:, type:, modification_method:, start_date:, end_date:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "bidding_strategy_id cannot contain /" if bidding_strategy_id.to_s.include? "/"
  raise ::ArgumentError, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/biddingStrategySimulations/#{bidding_strategy_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
end
billing_setup_path(customer_id:, billing_setup_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified BillingSetup resource string.

The resource will be in the following format:

`customers/{customer_id}/billingSetups/{billing_setup_id}`

@param customer_id [String] @param billing_setup_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 530
def billing_setup_path customer_id:, billing_setup_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/billingSetups/#{billing_setup_id}"
end
call_view_path(customer_id:, call_detail_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CallView resource string.

The resource will be in the following format:

`customers/{customer_id}/callViews/{call_detail_id}`

@param customer_id [String] @param call_detail_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 547
def call_view_path customer_id:, call_detail_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/callViews/#{call_detail_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/google_ads_service/paths.rb, line 583
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_audience_view_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 CampaignAudienceView resource string.

The resource will be in the following format:

`customers/{customer_id}/campaignAudienceViews/{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/google_ads_service/paths.rb, line 603
def campaign_audience_view_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}/campaignAudienceViews/#{campaign_id}~#{criterion_id}"
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/google_ads_service/paths.rb, line 622
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/google_ads_service/paths.rb, line 640
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/google_ads_service/paths.rb, line 658
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_criterion_simulation_path(customer_id:, campaign_id:, criterion_id:, type:, modification_method:, start_date:, end_date: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CampaignCriterionSimulation resource string.

The resource will be in the following format:

`customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}`

@param customer_id [String] @param campaign_id [String] @param criterion_id [String] @param type [String] @param modification_method [String] @param start_date [String] @param end_date [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 681
def campaign_criterion_simulation_path customer_id:, campaign_id:, criterion_id:, type:, modification_method:, start_date:, end_date:
  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, "criterion_id cannot contain /" if criterion_id.to_s.include? "/"
  raise ::ArgumentError, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/campaignCriterionSimulations/#{campaign_id}~#{criterion_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
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/google_ads_service/paths.rb, line 704
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/google_ads_service/paths.rb, line 722
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/google_ads_service/paths.rb, line 740
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/google_ads_service/paths.rb, line 759
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/google_ads_service/paths.rb, line 778
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/google_ads_service/paths.rb, line 564
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/google_ads_service/paths.rb, line 797
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
campaign_simulation_path(customer_id:, campaign_id:, type:, modification_method:, start_date:, end_date: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CampaignSimulation resource string.

The resource will be in the following format:

`customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}`

@param customer_id [String] @param campaign_id [String] @param type [String] @param modification_method [String] @param start_date [String] @param end_date [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 819
def campaign_simulation_path customer_id:, campaign_id:, type:, modification_method:, start_date:, end_date:
  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, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/campaignSimulations/#{campaign_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
end
carrier_constant_path(criterion_id: "carrierConstants/ click to toggle source

Create a fully-qualified CarrierConstant resource string.

The resource will be in the following format:

`carrierConstants/{criterion_id}`

@param criterion_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 839
def carrier_constant_path criterion_id:
  "carrierConstants/#{criterion_id}"
end
change_event_path(customer_id:, timestamp_micros:, command_index:, mutate_index: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ChangeEvent resource string.

The resource will be in the following format:

`customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}`

@param customer_id [String] @param timestamp_micros [String] @param command_index [String] @param mutate_index [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 856
def change_event_path customer_id:, timestamp_micros:, command_index:, mutate_index:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "timestamp_micros cannot contain /" if timestamp_micros.to_s.include? "/"
  raise ::ArgumentError, "command_index cannot contain /" if command_index.to_s.include? "/"

  "customers/#{customer_id}/changeEvents/#{timestamp_micros}~#{command_index}~#{mutate_index}"
end
change_status_path(customer_id:, change_status_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ChangeStatus resource string.

The resource will be in the following format:

`customers/{customer_id}/changeStatus/{change_status_id}`

@param customer_id [String] @param change_status_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 875
def change_status_path customer_id:, change_status_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/changeStatus/#{change_status_id}"
end
click_view_path(customer_id:, date:, gclid: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ClickView resource string.

The resource will be in the following format:

`customers/{customer_id}/clickViews/{date}~{gclid}`

@param customer_id [String] @param date [String] @param gclid [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 893
def click_view_path customer_id:, date:, gclid:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "date cannot contain /" if date.to_s.include? "/"

  "customers/#{customer_id}/clickViews/#{date}~#{gclid}"
end
combined_audience_path(customer_id:, combined_audience_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CombinedAudience resource string.

The resource will be in the following format:

`customers/{customer_id}/combinedAudiences/{combined_audience_id}`

@param customer_id [String] @param combined_audience_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 911
def combined_audience_path customer_id:, combined_audience_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/combinedAudiences/#{combined_audience_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/google_ads_service/paths.rb, line 928
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/google_ads_service/paths.rb, line 945
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
currency_constant_path(code: "currencyConstants/ click to toggle source

Create a fully-qualified CurrencyConstant resource string.

The resource will be in the following format:

`currencyConstants/{code}`

@param code [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 961
def currency_constant_path code:
  "currencyConstants/#{code}"
end
custom_audience_path(customer_id:, custom_audience_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CustomAudience resource string.

The resource will be in the following format:

`customers/{customer_id}/customAudiences/{custom_audience_id}`

@param customer_id [String] @param custom_audience_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 976
def custom_audience_path customer_id:, custom_audience_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customAudiences/#{custom_audience_id}"
end
custom_interest_path(customer_id:, custom_interest_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CustomInterest resource string.

The resource will be in the following format:

`customers/{customer_id}/customInterests/{custom_interest_id}`

@param customer_id [String] @param custom_interest_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 993
def custom_interest_path customer_id:, custom_interest_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customInterests/#{custom_interest_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/google_ads_service/paths.rb, line 1025
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_client_path(customer_id:, client_customer_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CustomerClient resource string.

The resource will be in the following format:

`customers/{customer_id}/customerClients/{client_customer_id}`

@param customer_id [String] @param client_customer_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1043
def customer_client_path customer_id:, client_customer_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerClients/#{client_customer_id}"
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/google_ads_service/paths.rb, line 1079
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/google_ads_service/paths.rb, line 1096
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/google_ads_service/paths.rb, line 1113
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/google_ads_service/paths.rb, line 1149
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/google_ads_service/paths.rb, line 1009
def customer_path customer_id:
  "customers/#{customer_id}"
end
customer_user_access_invitation_path(customer_id:, invitation_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CustomerUserAccessInvitation resource string.

The resource will be in the following format:

`customers/{customer_id}/customerUserAccessInvitations/{invitation_id}`

@param customer_id [String] @param invitation_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1183
def customer_user_access_invitation_path customer_id:, invitation_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerUserAccessInvitations/#{invitation_id}"
end
customer_user_access_path(customer_id:, user_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified CustomerUserAccess resource string.

The resource will be in the following format:

`customers/{customer_id}/customerUserAccesses/{user_id}`

@param customer_id [String] @param user_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1166
def customer_user_access_path customer_id:, user_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerUserAccesses/#{user_id}"
end
detail_placement_view_path(customer_id:, ad_group_id:, base64_placement: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified DetailPlacementView resource string.

The resource will be in the following format:

`customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}`

@param customer_id [String] @param ad_group_id [String] @param base64_placement [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1201
def detail_placement_view_path customer_id:, ad_group_id:, base64_placement:
  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}/detailPlacementViews/#{ad_group_id}~#{base64_placement}"
end
display_keyword_view_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 DisplayKeywordView resource string.

The resource will be in the following format:

`customers/{customer_id}/displayKeywordViews/{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/google_ads_service/paths.rb, line 1220
def display_keyword_view_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}/displayKeywordViews/#{ad_group_id}~#{criterion_id}"
end
distance_view_path(customer_id:, placeholder_chain_id:, distance_bucket: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified DistanceView resource string.

The resource will be in the following format:

`customers/{customer_id}/distanceViews/{placeholder_chain_id}~{distance_bucket}`

@param customer_id [String] @param placeholder_chain_id [String] @param distance_bucket [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1239
def distance_view_path customer_id:, placeholder_chain_id:, distance_bucket:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "placeholder_chain_id cannot contain /" if placeholder_chain_id.to_s.include? "/"

  "customers/#{customer_id}/distanceViews/#{placeholder_chain_id}~#{distance_bucket}"
end
domain_category_path(customer_id:, campaign_id:, base64_category:, language_code: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified DomainCategory resource string.

The resource will be in the following format:

`customers/{customer_id}/domainCategories/{campaign_id}~{base64_category}~{language_code}`

@param customer_id [String] @param campaign_id [String] @param base64_category [String] @param language_code [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1259
def domain_category_path customer_id:, campaign_id:, base64_category:, language_code:
  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, "base64_category cannot contain /" if base64_category.to_s.include? "/"

  "customers/#{customer_id}/domainCategories/#{campaign_id}~#{base64_category}~#{language_code}"
end
dynamic_search_ads_search_term_view_path(customer_id:, ad_group_id:, search_term_fingerprint:, headline_fingerprint:, landing_page_fingerprint:, page_url_fingerprint: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified DynamicSearchAdsSearchTermView resource string.

The resource will be in the following format:

`customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`

@param customer_id [String] @param ad_group_id [String] @param search_term_fingerprint [String] @param headline_fingerprint [String] @param landing_page_fingerprint [String] @param page_url_fingerprint [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1282
def dynamic_search_ads_search_term_view_path customer_id:, ad_group_id:, search_term_fingerprint:, headline_fingerprint:, landing_page_fingerprint:, page_url_fingerprint:
  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,
        "search_term_fingerprint cannot contain /" if search_term_fingerprint.to_s.include? "/"
  raise ::ArgumentError, "headline_fingerprint cannot contain /" if headline_fingerprint.to_s.include? "/"
  raise ::ArgumentError,
        "landing_page_fingerprint cannot contain /" if landing_page_fingerprint.to_s.include? "/"

  "customers/#{customer_id}/dynamicSearchAdsSearchTermViews/#{ad_group_id}~#{search_term_fingerprint}~#{headline_fingerprint}~#{landing_page_fingerprint}~#{page_url_fingerprint}"
end
expanded_landing_page_view_path(customer_id:, expanded_final_url_fingerprint: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ExpandedLandingPageView resource string.

The resource will be in the following format:

`customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}`

@param customer_id [String] @param expanded_final_url_fingerprint [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1305
def expanded_landing_page_view_path customer_id:, expanded_final_url_fingerprint:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/expandedLandingPageViews/#{expanded_final_url_fingerprint}"
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/google_ads_service/paths.rb, line 1322
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/google_ads_service/paths.rb, line 1357
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/google_ads_service/paths.rb, line 1376
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/google_ads_service/paths.rb, line 1418
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/google_ads_service/paths.rb, line 1440
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/google_ads_service/paths.rb, line 1339
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
feed_placeholder_view_path(customer_id:, placeholder_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified FeedPlaceholderView resource string.

The resource will be in the following format:

`customers/{customer_id}/feedPlaceholderViews/{placeholder_type}`

@param customer_id [String] @param placeholder_type [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1458
def feed_placeholder_view_path customer_id:, placeholder_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/feedPlaceholderViews/#{placeholder_type}"
end
gender_view_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 GenderView resource string.

The resource will be in the following format:

`customers/{customer_id}/genderViews/{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/google_ads_service/paths.rb, line 1476
def gender_view_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}/genderViews/#{ad_group_id}~#{criterion_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/google_ads_service/paths.rb, line 1493
def geo_target_constant_path criterion_id:
  "geoTargetConstants/#{criterion_id}"
end
geographic_view_path(customer_id:, country_criterion_id:, location_type: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified GeographicView resource string.

The resource will be in the following format:

`customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}`

@param customer_id [String] @param country_criterion_id [String] @param location_type [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1509
def geographic_view_path customer_id:, country_criterion_id:, location_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "country_criterion_id cannot contain /" if country_criterion_id.to_s.include? "/"

  "customers/#{customer_id}/geographicViews/#{country_criterion_id}~#{location_type}"
end
group_placement_view_path(customer_id:, ad_group_id:, base64_placement: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified GroupPlacementView resource string.

The resource will be in the following format:

`customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}`

@param customer_id [String] @param ad_group_id [String] @param base64_placement [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1528
def group_placement_view_path customer_id:, ad_group_id:, base64_placement:
  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}/groupPlacementViews/#{ad_group_id}~#{base64_placement}"
end
hotel_group_view_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 HotelGroupView resource string.

The resource will be in the following format:

`customers/{customer_id}/hotelGroupViews/{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/google_ads_service/paths.rb, line 1547
def hotel_group_view_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}/hotelGroupViews/#{ad_group_id}~#{criterion_id}"
end
hotel_performance_view_path(customer_id: "customers/ click to toggle source

Create a fully-qualified HotelPerformanceView resource string.

The resource will be in the following format:

`customers/{customer_id}/hotelPerformanceView`

@param customer_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1564
def hotel_performance_view_path customer_id:
  "customers/#{customer_id}/hotelPerformanceView"
end
income_range_view_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 IncomeRangeView resource string.

The resource will be in the following format:

`customers/{customer_id}/incomeRangeViews/{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/google_ads_service/paths.rb, line 1580
def income_range_view_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}/incomeRangeViews/#{ad_group_id}~#{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/google_ads_service/paths.rb, line 1632
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/google_ads_service/paths.rb, line 1615
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/google_ads_service/paths.rb, line 1666
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/google_ads_service/paths.rb, line 1649
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/google_ads_service/paths.rb, line 1598
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
keyword_view_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 KeywordView resource string.

The resource will be in the following format:

`customers/{customer_id}/keywordViews/{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/google_ads_service/paths.rb, line 1684
def keyword_view_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}/keywordViews/#{ad_group_id}~#{criterion_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/google_ads_service/paths.rb, line 1702
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
landing_page_view_path(customer_id:, unexpanded_final_url_fingerprint: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified LandingPageView resource string.

The resource will be in the following format:

`customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}`

@param customer_id [String] @param unexpanded_final_url_fingerprint [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1719
def landing_page_view_path customer_id:, unexpanded_final_url_fingerprint:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/landingPageViews/#{unexpanded_final_url_fingerprint}"
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/google_ads_service/paths.rb, line 1735
def language_constant_path criterion_id:
  "languageConstants/#{criterion_id}"
end
life_event_path(customer_id:, life_event_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified LifeEvent resource string.

The resource will be in the following format:

`customers/{customer_id}/lifeEvents/{life_event_id}`

@param customer_id [String] @param life_event_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1750
def life_event_path customer_id:, life_event_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/lifeEvents/#{life_event_id}"
end
location_view_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 LocationView resource string.

The resource will be in the following format:

`customers/{customer_id}/locationViews/{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/google_ads_service/paths.rb, line 1768
def location_view_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}/locationViews/#{campaign_id}~#{criterion_id}"
end
managed_placement_view_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 ManagedPlacementView resource string.

The resource will be in the following format:

`customers/{customer_id}/managedPlacementViews/{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/google_ads_service/paths.rb, line 1787
def managed_placement_view_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}/managedPlacementViews/#{ad_group_id}~#{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/google_ads_service/paths.rb, line 1805
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
mobile_app_category_constant_path(mobile_app_category_id: "mobileAppCategoryConstants/ click to toggle source

Create a fully-qualified MobileAppCategoryConstant resource string.

The resource will be in the following format:

`mobileAppCategoryConstants/{mobile_app_category_id}`

@param mobile_app_category_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1821
def mobile_app_category_constant_path mobile_app_category_id:
  "mobileAppCategoryConstants/#{mobile_app_category_id}"
end
mobile_device_constant_path(criterion_id: "mobileDeviceConstants/ click to toggle source

Create a fully-qualified MobileDeviceConstant resource string.

The resource will be in the following format:

`mobileDeviceConstants/{criterion_id}`

@param criterion_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1835
def mobile_device_constant_path criterion_id:
  "mobileDeviceConstants/#{criterion_id}"
end
offline_user_data_job_path(customer_id:, offline_user_data_update_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified OfflineUserDataJob resource string.

The resource will be in the following format:

`customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id}`

@param customer_id [String] @param offline_user_data_update_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1850
def offline_user_data_job_path customer_id:, offline_user_data_update_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/offlineUserDataJobs/#{offline_user_data_update_id}"
end
operating_system_version_constant_path(criterion_id: "operatingSystemVersionConstants/ click to toggle source

Create a fully-qualified OperatingSystemVersionConstant resource string.

The resource will be in the following format:

`operatingSystemVersionConstants/{criterion_id}`

@param criterion_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1866
def operating_system_version_constant_path criterion_id:
  "operatingSystemVersionConstants/#{criterion_id}"
end
paid_organic_search_term_view_path(customer_id:, campaign_id:, ad_group_id:, base64_search_term: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified PaidOrganicSearchTermView resource string.

The resource will be in the following format:

`customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~{ad_group_id}~{base64_search_term}`

@param customer_id [String] @param campaign_id [String] @param ad_group_id [String] @param base64_search_term [String]

@return [::String]

parental_status_view_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 ParentalStatusView resource string.

The resource will be in the following format:

`customers/{customer_id}/parentalStatusViews/{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/google_ads_service/paths.rb, line 1903
def parental_status_view_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}/parentalStatusViews/#{ad_group_id}~#{criterion_id}"
end
payments_account_path(customer_id:, payments_account_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified PaymentsAccount resource string.

The resource will be in the following format:

`customers/{customer_id}/paymentsAccounts/{payments_account_id}`

@param customer_id [String] @param payments_account_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1921
def payments_account_path customer_id:, payments_account_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/paymentsAccounts/#{payments_account_id}"
end
product_bidding_category_constant_path(country_code:, level:, id: raise ::ArgumentError, "country_code cannot contain /" if country_code.to_s.include? "/") click to toggle source

Create a fully-qualified ProductBiddingCategoryConstant resource string.

The resource will be in the following format:

`productBiddingCategoryConstants/{country_code}~{level}~{id}`

@param country_code [String] @param level [String] @param id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1939
def product_bidding_category_constant_path country_code:, level:, id:
  raise ::ArgumentError, "country_code cannot contain /" if country_code.to_s.include? "/"
  raise ::ArgumentError, "level cannot contain /" if level.to_s.include? "/"

  "productBiddingCategoryConstants/#{country_code}~#{level}~#{id}"
end
product_group_view_path(customer_id:, adgroup_id:, criterion_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified ProductGroupView resource string.

The resource will be in the following format:

`customers/{customer_id}/productGroupViews/{adgroup_id}~{criterion_id}`

@param customer_id [String] @param adgroup_id [String] @param criterion_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1958
def product_group_view_path customer_id:, adgroup_id:, criterion_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "adgroup_id cannot contain /" if adgroup_id.to_s.include? "/"

  "customers/#{customer_id}/productGroupViews/#{adgroup_id}~#{criterion_id}"
end
recommendation_path(customer_id:, recommendation_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified Recommendation resource string.

The resource will be in the following format:

`customers/{customer_id}/recommendations/{recommendation_id}`

@param customer_id [String] @param recommendation_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 1976
def recommendation_path customer_id:, recommendation_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/recommendations/#{recommendation_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/google_ads_service/paths.rb, line 1993
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
search_term_view_path(customer_id:, campaign_id:, ad_group_id:, query: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified SearchTermView resource string.

The resource will be in the following format:

`customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{query}`

@param customer_id [String] @param campaign_id [String] @param ad_group_id [String] @param query [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 2012
def search_term_view_path customer_id:, campaign_id:, ad_group_id:, query:
  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, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"

  "customers/#{customer_id}/searchTermViews/#{campaign_id}~#{ad_group_id}~#{query}"
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/google_ads_service/paths.rb, line 2032
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/google_ads_service/paths.rb, line 2050
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
shopping_performance_view_path(customer_id: "customers/ click to toggle source

Create a fully-qualified ShoppingPerformanceView resource string.

The resource will be in the following format:

`customers/{customer_id}/shoppingPerformanceView`

@param customer_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 2066
def shopping_performance_view_path customer_id:
  "customers/#{customer_id}/shoppingPerformanceView"
end
topic_constant_path(topic_id: "topicConstants/ click to toggle source

Create a fully-qualified TopicConstant resource string.

The resource will be in the following format:

`topicConstants/{topic_id}`

@param topic_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 2097
def topic_constant_path topic_id:
  "topicConstants/#{topic_id}"
end
topic_view_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 TopicView resource string.

The resource will be in the following format:

`customers/{customer_id}/topicViews/{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/google_ads_service/paths.rb, line 2113
def topic_view_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}/topicViews/#{ad_group_id}~#{criterion_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/v7/services/google_ads_service/paths.rb, line 2131
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/v7/services/google_ads_service/paths.rb, line 2148
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
user_location_view_path(customer_id:, country_criterion_id:, is_targeting_location: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified UserLocationView resource string.

The resource will be in the following format:

`customers/{customer_id}/userLocationViews/{country_criterion_id}~{is_targeting_location}`

@param customer_id [String] @param country_criterion_id [String] @param is_targeting_location [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 2166
def user_location_view_path customer_id:, country_criterion_id:, is_targeting_location:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "country_criterion_id cannot contain /" if country_criterion_id.to_s.include? "/"

  "customers/#{customer_id}/userLocationViews/#{country_criterion_id}~#{is_targeting_location}"
end
video_path(customer_id:, video_id: raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/") click to toggle source

Create a fully-qualified Video resource string.

The resource will be in the following format:

`customers/{customer_id}/videos/{video_id}`

@param customer_id [String] @param video_id [String]

@return [::String]

# File lib/google/ads/google_ads/v7/services/google_ads_service/paths.rb, line 2184
def video_path customer_id:, video_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/videos/#{video_id}"
end
webpage_view_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 WebpageView resource string.

The resource will be in the following format:

`customers/{customer_id}/webpageViews/{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/google_ads_service/paths.rb, line 2202
def webpage_view_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}/webpageViews/#{ad_group_id}~#{criterion_id}"
end