Module: Google::Ads::GoogleAds::V24::Services::GoogleAdsService::Paths

Extended by:
Paths
Included in:
Client, Paths
Defined in:
lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb

Overview

Path helper methods for the GoogleAdsService API.

Instance Method Summary collapse

Instance Method Details

#accessible_bidding_strategy_path(customer_id:, bidding_strategy_id:) ⇒ ::String

Create a fully-qualified AccessibleBiddingStrategy resource string.

The resource will be in the following format:

‘customers/customer_id/accessibleBiddingStrategies/bidding_strategy_id`

Parameters:

  • customer_id (String)
  • bidding_strategy_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


39
40
41
42
43
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 39

def accessible_bidding_strategy_path customer_id:, bidding_strategy_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/accessibleBiddingStrategies/#{bidding_strategy_id}"
end

#account_budget_path(customer_id:, account_budget_id:) ⇒ ::String

Create a fully-qualified AccountBudget resource string.

The resource will be in the following format:

‘customers/customer_id/accountBudgets/account_budget_id`

Parameters:

  • customer_id (String)
  • account_budget_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


56
57
58
59
60
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 56

def  customer_id:, account_budget_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/accountBudgets/#{}"
end

#account_budget_proposal_path(customer_id:, account_budget_proposal_id:) ⇒ ::String

Create a fully-qualified AccountBudgetProposal resource string.

The resource will be in the following format:

‘customers/customer_id/accountBudgetProposals/account_budget_proposal_id`

Parameters:

  • customer_id (String)
  • account_budget_proposal_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


73
74
75
76
77
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 73

def  customer_id:, account_budget_proposal_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/accountBudgetProposals/#{}"
end

Create a fully-qualified AccountLink resource string.

The resource will be in the following format:

‘customers/customer_id/accountLinks/account_link_id`

Parameters:

  • customer_id (String)
  • account_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


90
91
92
93
94
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 90

def  customer_id:, account_link_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/accountLinks/#{}"
end

#ad_group_ad_asset_combination_view_path(customer_id:, ad_group_id:, ad_id:, asset_combination_id_low:, asset_combination_id_high:) ⇒ ::String

Create a fully-qualified AdGroupAdAssetCombinationView resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAdAssetCombinationViews/ad_group_id~ad_id~asset_combination_id_low~asset_combination_id_high`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • ad_id (String)
  • asset_combination_id_low (String)
  • asset_combination_id_high (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


163
164
165
166
167
168
169
170
171
172
173
174
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 163

def ad_group_ad_asset_combination_view_path customer_id:, ad_group_id:, ad_id:,
                                            asset_combination_id_low:, asset_combination_id_high:
  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? "/"
  if asset_combination_id_low.to_s.include? "/"
    raise ::ArgumentError,
          "asset_combination_id_low cannot contain /"
  end

  "customers/#{customer_id}/adGroupAdAssetCombinationViews/#{ad_group_id}~#{ad_id}~#{asset_combination_id_low}~#{asset_combination_id_high}"
end

#ad_group_ad_asset_view_path(customer_id:, ad_group_id:, ad_id:, asset_id:, field_type:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • ad_id (String)
  • asset_id (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


190
191
192
193
194
195
196
197
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 190

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • ad_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


212
213
214
215
216
217
218
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 212

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:) ⇒ ::String

Create a fully-qualified AdGroupAd resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAds/ad_group_id~ad_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • ad_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


142
143
144
145
146
147
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 142

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • asset_id (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


233
234
235
236
237
238
239
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 233

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_asset_set_path(customer_id:, ad_group_id:, asset_set_id:) ⇒ ::String

Create a fully-qualified AdGroupAssetSet resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAssetSets/ad_group_id~asset_set_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • asset_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


253
254
255
256
257
258
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 253

def ad_group_asset_set_path customer_id:, ad_group_id:, asset_set_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}/adGroupAssetSets/#{ad_group_id}~#{asset_set_id}"
end

#ad_group_audience_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified AdGroupAudienceView resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAudienceViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


272
273
274
275
276
277
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 272

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:) ⇒ ::String

Create a fully-qualified AdGroupBidModifier resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupBidModifiers/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


291
292
293
294
295
296
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 291

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_customizer_path(customer_id:, ad_group_id:, criterion_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified AdGroupCriterionCustomizer resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupCriterionCustomizers/ad_group_id~criterion_id~customizer_attribute_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)
  • customizer_attribute_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


330
331
332
333
334
335
336
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 330

def ad_group_criterion_customizer_path customer_id:, ad_group_id:, criterion_id:, customizer_attribute_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}/adGroupCriterionCustomizers/#{ad_group_id}~#{criterion_id}~#{customizer_attribute_id}"
end

#ad_group_criterion_label_path(customer_id:, ad_group_id:, criterion_id:, label_id:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


351
352
353
354
355
356
357
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 351

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:) ⇒ ::String

Create a fully-qualified AdGroupCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupCriteria/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


310
311
312
313
314
315
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 310

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)
  • type (String)
  • modification_method (String)
  • start_date (String)
  • end_date (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


375
376
377
378
379
380
381
382
383
384
385
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 375

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_customizer_path(customer_id:, ad_group_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified AdGroupCustomizer resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupCustomizers/ad_group_id~customizer_attribute_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • customizer_attribute_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


399
400
401
402
403
404
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 399

def ad_group_customizer_path customer_id:, ad_group_id:, customizer_attribute_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}/adGroupCustomizers/#{ad_group_id}~#{customizer_attribute_id}"
end

#ad_group_label_path(customer_id:, ad_group_id:, label_id:) ⇒ ::String

Create a fully-qualified AdGroupLabel resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupLabels/ad_group_id~label_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


418
419
420
421
422
423
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 418

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:) ⇒ ::String

Create a fully-qualified AdGroup resource string.

The resource will be in the following format:

‘customers/customer_id/adGroups/ad_group_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


124
125
126
127
128
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 124

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • type (String)
  • modification_method (String)
  • start_date (String)
  • end_date (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


440
441
442
443
444
445
446
447
448
449
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 440

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)
  • parameter_index (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


464
465
466
467
468
469
470
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 464

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:) ⇒ ::String

Create a fully-qualified Ad resource string.

The resource will be in the following format:

‘customers/customer_id/ads/ad_id`

Parameters:

  • customer_id (String)
  • ad_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


107
108
109
110
111
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 107

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:) ⇒ ::String

Create a fully-qualified AdScheduleView resource string.

The resource will be in the following format:

‘customers/customer_id/adScheduleViews/campaign_id~criterion_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


484
485
486
487
488
489
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 484

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:) ⇒ ::String

Create a fully-qualified AgeRangeView resource string.

The resource will be in the following format:

‘customers/customer_id/ageRangeViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


503
504
505
506
507
508
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 503

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

#ai_max_search_term_ad_combination_view_path(customer_id:, ad_group_id:, search_term:, landing_page:, headline:) ⇒ ::String

Create a fully-qualified AiMaxSearchTermAdCombinationView resource string.

The resource will be in the following format:

‘customers/customer_id/aiMaxSearchTermAdCombinationViews/ad_group_id~search_term~landing_page~headline`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • search_term (String)
  • landing_page (String)
  • headline (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


524
525
526
527
528
529
530
531
532
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 524

def ai_max_search_term_ad_combination_view_path customer_id:, ad_group_id:, search_term:, landing_page:,
                                                headline:
  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 cannot contain /" if search_term.to_s.include? "/"
  raise ::ArgumentError, "landing_page cannot contain /" if landing_page.to_s.include? "/"

  "customers/#{customer_id}/aiMaxSearchTermAdCombinationViews/#{ad_group_id}~#{search_term}~#{landing_page}~#{headline}"
end

#android_privacy_shared_key_google_ad_group_path(customer_id:, campaign_id:, ad_group_id:, android_privacy_interaction_type:, android_privacy_network_type:, android_privacy_interaction_date:) ⇒ ::String

Create a fully-qualified AndroidPrivacySharedKeyGoogleAdGroup resource string.

The resource will be in the following format:

‘customers/customer_id/androidPrivacySharedKeyGoogleAdGroups/campaign_id~ad_group_id~android_privacy_interaction_type~android_privacy_network_type~android_privacy_interaction_date`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • ad_group_id (String)
  • android_privacy_interaction_type (String)
  • android_privacy_network_type (String)
  • android_privacy_interaction_date (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 549

def android_privacy_shared_key_google_ad_group_path customer_id:, campaign_id:, ad_group_id:,
                                                    android_privacy_interaction_type:, android_privacy_network_type:, android_privacy_interaction_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, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"
  if android_privacy_interaction_type.to_s.include? "/"
    raise ::ArgumentError,
          "android_privacy_interaction_type cannot contain /"
  end
  if android_privacy_network_type.to_s.include? "/"
    raise ::ArgumentError,
          "android_privacy_network_type cannot contain /"
  end

  "customers/#{customer_id}/androidPrivacySharedKeyGoogleAdGroups/#{campaign_id}~#{ad_group_id}~#{android_privacy_interaction_type}~#{android_privacy_network_type}~#{android_privacy_interaction_date}"
end

#android_privacy_shared_key_google_campaign_path(customer_id:, campaign_id:, android_privacy_interaction_type:, android_privacy_interaction_date:) ⇒ ::String

Create a fully-qualified AndroidPrivacySharedKeyGoogleCampaign resource string.

The resource will be in the following format:

‘customers/customer_id/androidPrivacySharedKeyGoogleCampaigns/campaign_id~android_privacy_interaction_type~android_privacy_interaction_date`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • android_privacy_interaction_type (String)
  • android_privacy_interaction_date (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


579
580
581
582
583
584
585
586
587
588
589
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 579

def android_privacy_shared_key_google_campaign_path customer_id:, campaign_id:,
                                                    android_privacy_interaction_type:, android_privacy_interaction_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? "/"
  if android_privacy_interaction_type.to_s.include? "/"
    raise ::ArgumentError,
          "android_privacy_interaction_type cannot contain /"
  end

  "customers/#{customer_id}/androidPrivacySharedKeyGoogleCampaigns/#{campaign_id}~#{android_privacy_interaction_type}~#{android_privacy_interaction_date}"
end

#android_privacy_shared_key_google_network_type_path(customer_id:, campaign_id:, android_privacy_interaction_type:, android_privacy_network_type:, android_privacy_interaction_date:) ⇒ ::String

Create a fully-qualified AndroidPrivacySharedKeyGoogleNetworkType resource string.

The resource will be in the following format:

‘customers/customer_id/androidPrivacySharedKeyGoogleNetworkTypes/campaign_id~android_privacy_interaction_type~android_privacy_network_type~android_privacy_interaction_date`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • android_privacy_interaction_type (String)
  • android_privacy_network_type (String)
  • android_privacy_interaction_date (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 605

def android_privacy_shared_key_google_network_type_path customer_id:, campaign_id:,
                                                        android_privacy_interaction_type:, android_privacy_network_type:, android_privacy_interaction_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? "/"
  if android_privacy_interaction_type.to_s.include? "/"
    raise ::ArgumentError,
          "android_privacy_interaction_type cannot contain /"
  end
  if android_privacy_network_type.to_s.include? "/"
    raise ::ArgumentError,
          "android_privacy_network_type cannot contain /"
  end

  "customers/#{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/#{campaign_id}~#{android_privacy_interaction_type}~#{android_privacy_network_type}~#{android_privacy_interaction_date}"
end

#app_top_combination_view_path(customer_id:, ad_group_id:, ad_id:, asset_combination_category:) ⇒ ::String

Create a fully-qualified AppTopCombinationView resource string.

The resource will be in the following format:

‘customers/customer_id/appTopCombinationViews/ad_group_id~ad_id~asset_combination_category`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • ad_id (String)
  • asset_combination_category (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


634
635
636
637
638
639
640
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 634

def app_top_combination_view_path customer_id:, ad_group_id:, ad_id:, asset_combination_category:
  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}/appTopCombinationViews/#{ad_group_id}~#{ad_id}~#{asset_combination_category}"
end

#applied_incentive_path(customer_id:, coupon_code:) ⇒ ::String

Create a fully-qualified AppliedIncentive resource string.

The resource will be in the following format:

‘customers/customer_id/appliedIncentives/coupon_code`

Parameters:

  • customer_id (String)
  • coupon_code (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


653
654
655
656
657
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 653

def applied_incentive_path customer_id:, coupon_code:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/appliedIncentives/#{coupon_code}"
end

#asset_field_type_view_path(customer_id:, field_type:) ⇒ ::String

Create a fully-qualified AssetFieldTypeView resource string.

The resource will be in the following format:

‘customers/customer_id/assetFieldTypeViews/field_type`

Parameters:

  • customer_id (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


687
688
689
690
691
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 687

def asset_field_type_view_path customer_id:, field_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/assetFieldTypeViews/#{field_type}"
end

#asset_group_asset_path(customer_id:, asset_group_id:, asset_id:, field_type:) ⇒ ::String

Create a fully-qualified AssetGroupAsset resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroupAssets/asset_group_id~asset_id~field_type`

Parameters:

  • customer_id (String)
  • asset_group_id (String)
  • asset_id (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


723
724
725
726
727
728
729
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 723

def asset_group_asset_path customer_id:, asset_group_id:, asset_id:, field_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "asset_group_id cannot contain /" if asset_group_id.to_s.include? "/"
  raise ::ArgumentError, "asset_id cannot contain /" if asset_id.to_s.include? "/"

  "customers/#{customer_id}/assetGroupAssets/#{asset_group_id}~#{asset_id}~#{field_type}"
end

#asset_group_listing_group_filter_path(customer_id:, asset_group_id:, listing_group_filter_id:) ⇒ ::String

Create a fully-qualified AssetGroupListingGroupFilter resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroupListingGroupFilters/asset_group_id~listing_group_filter_id`

Parameters:

  • customer_id (String)
  • asset_group_id (String)
  • listing_group_filter_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


743
744
745
746
747
748
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 743

def asset_group_listing_group_filter_path customer_id:, asset_group_id:, listing_group_filter_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "asset_group_id cannot contain /" if asset_group_id.to_s.include? "/"

  "customers/#{customer_id}/assetGroupListingGroupFilters/#{asset_group_id}~#{listing_group_filter_id}"
end

#asset_group_path(customer_id:, asset_group_id:) ⇒ ::String

Create a fully-qualified AssetGroup resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroups/asset_group_id`

Parameters:

  • customer_id (String)
  • asset_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


704
705
706
707
708
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 704

def asset_group_path customer_id:, asset_group_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/assetGroups/#{asset_group_id}"
end

#asset_group_product_group_view_path(customer_id:, asset_group_id:, listing_group_filter_id:) ⇒ ::String

Create a fully-qualified AssetGroupProductGroupView resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroupProductGroupViews/asset_group_id~listing_group_filter_id`

Parameters:

  • customer_id (String)
  • asset_group_id (String)
  • listing_group_filter_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


762
763
764
765
766
767
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 762

def asset_group_product_group_view_path customer_id:, asset_group_id:, listing_group_filter_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "asset_group_id cannot contain /" if asset_group_id.to_s.include? "/"

  "customers/#{customer_id}/assetGroupProductGroupViews/#{asset_group_id}~#{listing_group_filter_id}"
end

#asset_group_signal_path(customer_id:, asset_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified AssetGroupSignal resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroupSignals/asset_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • asset_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


781
782
783
784
785
786
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 781

def asset_group_signal_path customer_id:, asset_group_id:, criterion_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "asset_group_id cannot contain /" if asset_group_id.to_s.include? "/"

  "customers/#{customer_id}/assetGroupSignals/#{asset_group_id}~#{criterion_id}"
end

#asset_group_top_combination_view_path(customer_id:, asset_group_id:, asset_combination_category:) ⇒ ::String

Create a fully-qualified AssetGroupTopCombinationView resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroupTopCombinationViews/asset_group_id~asset_combination_category`

Parameters:

  • customer_id (String)
  • asset_group_id (String)
  • asset_combination_category (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


800
801
802
803
804
805
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 800

def asset_group_top_combination_view_path customer_id:, asset_group_id:, asset_combination_category:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "asset_group_id cannot contain /" if asset_group_id.to_s.include? "/"

  "customers/#{customer_id}/assetGroupTopCombinationViews/#{asset_group_id}~#{asset_combination_category}"
end

#asset_path(customer_id:, asset_id:) ⇒ ::String

Create a fully-qualified Asset resource string.

The resource will be in the following format:

‘customers/customer_id/assets/asset_id`

Parameters:

  • customer_id (String)
  • asset_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


670
671
672
673
674
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 670

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

#asset_set_asset_path(customer_id:, asset_set_id:, asset_id:) ⇒ ::String

Create a fully-qualified AssetSetAsset resource string.

The resource will be in the following format:

‘customers/customer_id/assetSetAssets/asset_set_id~asset_id`

Parameters:

  • customer_id (String)
  • asset_set_id (String)
  • asset_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


836
837
838
839
840
841
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 836

def asset_set_asset_path customer_id:, asset_set_id:, asset_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "asset_set_id cannot contain /" if asset_set_id.to_s.include? "/"

  "customers/#{customer_id}/assetSetAssets/#{asset_set_id}~#{asset_id}"
end

#asset_set_path(customer_id:, asset_set_id:) ⇒ ::String

Create a fully-qualified AssetSet resource string.

The resource will be in the following format:

‘customers/customer_id/assetSets/asset_set_id`

Parameters:

  • customer_id (String)
  • asset_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


818
819
820
821
822
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 818

def asset_set_path customer_id:, asset_set_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/assetSets/#{asset_set_id}"
end

#asset_set_type_view_path(customer_id:, asset_set_type:) ⇒ ::String

Create a fully-qualified AssetSetTypeView resource string.

The resource will be in the following format:

‘customers/customer_id/assetSetTypeViews/asset_set_type`

Parameters:

  • customer_id (String)
  • asset_set_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


854
855
856
857
858
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 854

def asset_set_type_view_path customer_id:, asset_set_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/assetSetTypeViews/#{asset_set_type}"
end

#audience_path(customer_id:, audience_id:) ⇒ ::String

Create a fully-qualified Audience resource string.

The resource will be in the following format:

‘customers/customer_id/audiences/audience_id`

Parameters:

  • customer_id (String)
  • audience_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


871
872
873
874
875
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 871

def audience_path customer_id:, audience_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/audiences/#{audience_id}"
end

#batch_job_path(customer_id:, batch_job_id:) ⇒ ::String

Create a fully-qualified BatchJob resource string.

The resource will be in the following format:

‘customers/customer_id/batchJobs/batch_job_id`

Parameters:

  • customer_id (String)
  • batch_job_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


888
889
890
891
892
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 888

def batch_job_path customer_id:, batch_job_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/batchJobs/#{batch_job_id}"
end

#bidding_data_exclusion_path(customer_id:, seasonality_event_id:) ⇒ ::String

Create a fully-qualified BiddingDataExclusion resource string.

The resource will be in the following format:

‘customers/customer_id/biddingDataExclusions/seasonality_event_id`

Parameters:

  • customer_id (String)
  • seasonality_event_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


905
906
907
908
909
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 905

def bidding_data_exclusion_path customer_id:, seasonality_event_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/biddingDataExclusions/#{seasonality_event_id}"
end

#bidding_seasonality_adjustment_path(customer_id:, seasonality_event_id:) ⇒ ::String

Create a fully-qualified BiddingSeasonalityAdjustment resource string.

The resource will be in the following format:

‘customers/customer_id/biddingSeasonalityAdjustments/seasonality_event_id`

Parameters:

  • customer_id (String)
  • seasonality_event_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


922
923
924
925
926
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 922

def bidding_seasonality_adjustment_path customer_id:, seasonality_event_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/biddingSeasonalityAdjustments/#{seasonality_event_id}"
end

#bidding_strategy_path(customer_id:, bidding_strategy_id:) ⇒ ::String

Create a fully-qualified BiddingStrategy resource string.

The resource will be in the following format:

‘customers/customer_id/biddingStrategies/bidding_strategy_id`

Parameters:

  • customer_id (String)
  • bidding_strategy_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


939
940
941
942
943
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 939

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • bidding_strategy_id (String)
  • type (String)
  • modification_method (String)
  • start_date (String)
  • end_date (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


960
961
962
963
964
965
966
967
968
969
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 960

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:) ⇒ ::String

Create a fully-qualified BillingSetup resource string.

The resource will be in the following format:

‘customers/customer_id/billingSetups/billing_setup_id`

Parameters:

  • customer_id (String)
  • billing_setup_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


982
983
984
985
986
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 982

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:) ⇒ ::String

Create a fully-qualified CallView resource string.

The resource will be in the following format:

‘customers/customer_id/callViews/call_detail_id`

Parameters:

  • customer_id (String)
  • call_detail_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


999
1000
1001
1002
1003
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 999

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_aggregate_asset_view_path(customer_id:, campaign_id:, asset_id:, asset_link_source:, field_type:) ⇒ ::String

Create a fully-qualified CampaignAggregateAssetView resource string.

The resource will be in the following format:

‘customers/customer_id/campaignAggregateAssetViews/campaign_id~asset_id~asset_link_source~field_type`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • asset_id (String)
  • asset_link_source (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1036
1037
1038
1039
1040
1041
1042
1043
1044
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1036

def campaign_aggregate_asset_view_path customer_id:, campaign_id:, asset_id:, asset_link_source:,
                                       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? "/"
  raise ::ArgumentError, "asset_link_source cannot contain /" if asset_link_source.to_s.include? "/"

  "customers/#{customer_id}/campaignAggregateAssetViews/#{campaign_id}~#{asset_id}~#{asset_link_source}~#{field_type}"
end

#campaign_asset_path(customer_id:, campaign_id:, asset_id:, field_type:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • asset_id (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1059
1060
1061
1062
1063
1064
1065
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1059

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_asset_set_path(customer_id:, campaign_id:, asset_set_id:) ⇒ ::String

Create a fully-qualified CampaignAssetSet resource string.

The resource will be in the following format:

‘customers/customer_id/campaignAssetSets/campaign_id~asset_set_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • asset_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1079
1080
1081
1082
1083
1084
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1079

def campaign_asset_set_path customer_id:, campaign_id:, asset_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}/campaignAssetSets/#{campaign_id}~#{asset_set_id}"
end

#campaign_audience_view_path(customer_id:, campaign_id:, criterion_id:) ⇒ ::String

Create a fully-qualified CampaignAudienceView resource string.

The resource will be in the following format:

‘customers/customer_id/campaignAudienceViews/campaign_id~criterion_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1098
1099
1100
1101
1102
1103
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1098

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:) ⇒ ::String

Create a fully-qualified CampaignBidModifier resource string.

The resource will be in the following format:

‘customers/customer_id/campaignBidModifiers/campaign_id~criterion_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1117
1118
1119
1120
1121
1122
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1117

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:) ⇒ ::String

Create a fully-qualified CampaignBudget resource string.

The resource will be in the following format:

‘customers/customer_id/campaignBudgets/campaign_budget_id`

Parameters:

  • customer_id (String)
  • campaign_budget_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1135
1136
1137
1138
1139
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1135

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_conversion_goal_path(customer_id:, campaign_id:, category:, source:) ⇒ ::String

Create a fully-qualified CampaignConversionGoal resource string.

The resource will be in the following format:

‘customers/customer_id/campaignConversionGoals/campaign_id~category~source`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • category (String)
  • source (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1154
1155
1156
1157
1158
1159
1160
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1154

def campaign_conversion_goal_path customer_id:, campaign_id:, category:, source:
  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, "category cannot contain /" if category.to_s.include? "/"

  "customers/#{customer_id}/campaignConversionGoals/#{campaign_id}~#{category}~#{source}"
end

#campaign_criterion_path(customer_id:, campaign_id:, criterion_id:) ⇒ ::String

Create a fully-qualified CampaignCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/campaignCriteria/campaign_id~criterion_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1174
1175
1176
1177
1178
1179
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1174

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_customizer_path(customer_id:, campaign_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified CampaignCustomizer resource string.

The resource will be in the following format:

‘customers/customer_id/campaignCustomizers/campaign_id~customizer_attribute_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • customizer_attribute_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1193
1194
1195
1196
1197
1198
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1193

def campaign_customizer_path customer_id:, campaign_id:, customizer_attribute_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}/campaignCustomizers/#{campaign_id}~#{customizer_attribute_id}"
end

#campaign_draft_path(customer_id:, base_campaign_id:, draft_id:) ⇒ ::String

Create a fully-qualified CampaignDraft resource string.

The resource will be in the following format:

‘customers/customer_id/campaignDrafts/base_campaign_id~draft_id`

Parameters:

  • customer_id (String)
  • base_campaign_id (String)
  • draft_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1212
1213
1214
1215
1216
1217
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1212

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_goal_config_path(customer_id:, campaign_id:, unified_goal_id:) ⇒ ::String

Create a fully-qualified CampaignGoalConfig resource string.

The resource will be in the following format:

‘customers/customer_id/campaignGoalConfigs/campaign_id~unified_goal_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • unified_goal_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1231
1232
1233
1234
1235
1236
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1231

def campaign_goal_config_path customer_id:, campaign_id:, unified_goal_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}/campaignGoalConfigs/#{campaign_id}~#{unified_goal_id}"
end

#campaign_group_path(customer_id:, campaign_group_id:) ⇒ ::String

Create a fully-qualified CampaignGroup resource string.

The resource will be in the following format:

‘customers/customer_id/campaignGroups/campaign_group_id`

Parameters:

  • customer_id (String)
  • campaign_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1249
1250
1251
1252
1253
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1249

def campaign_group_path customer_id:, campaign_group_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/campaignGroups/#{campaign_group_id}"
end

#campaign_label_path(customer_id:, campaign_id:, label_id:) ⇒ ::String

Create a fully-qualified CampaignLabel resource string.

The resource will be in the following format:

‘customers/customer_id/campaignLabels/campaign_id~label_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1267
1268
1269
1270
1271
1272
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1267

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_lifecycle_goal_path(customer_id:, campaign_id:) ⇒ ::String

Create a fully-qualified CampaignLifecycleGoal resource string.

The resource will be in the following format:

‘customers/customer_id/campaignLifecycleGoals/campaign_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1285
1286
1287
1288
1289
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1285

def campaign_lifecycle_goal_path customer_id:, campaign_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/campaignLifecycleGoals/#{campaign_id}"
end

#campaign_path(customer_id:, campaign_id:) ⇒ ::String

Create a fully-qualified Campaign resource string.

The resource will be in the following format:

‘customers/customer_id/campaigns/campaign_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1016
1017
1018
1019
1020
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1016

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_search_term_insight_path(customer_id:, campaign_id:, cluster_id:) ⇒ ::String

Create a fully-qualified CampaignSearchTermInsight resource string.

The resource will be in the following format:

‘customers/customer_id/campaignSearchTermInsights/campaign_id~cluster_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • cluster_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1303
1304
1305
1306
1307
1308
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1303

def campaign_search_term_insight_path customer_id:, campaign_id:, cluster_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}/campaignSearchTermInsights/#{campaign_id}~#{cluster_id}"
end

#campaign_search_term_view_path(customer_id:, campaign_id:, query:) ⇒ ::String

Create a fully-qualified CampaignSearchTermView resource string.

The resource will be in the following format:

‘customers/customer_id/campaignSearchTermViews/campaign_id~query`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • query (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1322
1323
1324
1325
1326
1327
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1322

def campaign_search_term_view_path customer_id:, campaign_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? "/"

  "customers/#{customer_id}/campaignSearchTermViews/#{campaign_id}~#{query}"
end

#campaign_shared_set_path(customer_id:, campaign_id:, shared_set_id:) ⇒ ::String

Create a fully-qualified CampaignSharedSet resource string.

The resource will be in the following format:

‘customers/customer_id/campaignSharedSets/campaign_id~shared_set_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • shared_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1341
1342
1343
1344
1345
1346
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1341

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • type (String)
  • modification_method (String)
  • start_date (String)
  • end_date (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1363

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:) ⇒ ::String

Create a fully-qualified CarrierConstant resource string.

The resource will be in the following format:

‘carrierConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


1384
1385
1386
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1384

def carrier_constant_path criterion_id:
  "carrierConstants/#{criterion_id}"
end

#cart_data_sales_view_path(customer_id:) ⇒ ::String

Create a fully-qualified CartDataSalesView resource string.

The resource will be in the following format:

‘customers/customer_id/cartDataSalesView`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


1398
1399
1400
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1398

def cart_data_sales_view_path customer_id:
  "customers/#{customer_id}/cartDataSalesView"
end

#change_event_path(customer_id:, timestamp_micros:, command_index:, mutate_index:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • timestamp_micros (String)
  • command_index (String)
  • mutate_index (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1415
1416
1417
1418
1419
1420
1421
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1415

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:) ⇒ ::String

Create a fully-qualified ChangeStatus resource string.

The resource will be in the following format:

‘customers/customer_id/changeStatus/change_status_id`

Parameters:

  • customer_id (String)
  • change_status_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1434
1435
1436
1437
1438
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1434

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

#channel_aggregate_asset_view_path(customer_id:, advertising_channel_type:, asset_id:, asset_source:, field_type:) ⇒ ::String

Create a fully-qualified ChannelAggregateAssetView resource string.

The resource will be in the following format:

‘customers/customer_id/channelAggregateAssetViews/advertising_channel_type~asset_id~asset_source~field_type`

Parameters:

  • customer_id (String)
  • advertising_channel_type (String)
  • asset_id (String)
  • asset_source (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1454

def channel_aggregate_asset_view_path customer_id:, advertising_channel_type:, asset_id:, asset_source:,
                                      field_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  if advertising_channel_type.to_s.include? "/"
    raise ::ArgumentError,
          "advertising_channel_type cannot contain /"
  end
  raise ::ArgumentError, "asset_id cannot contain /" if asset_id.to_s.include? "/"
  raise ::ArgumentError, "asset_source cannot contain /" if asset_source.to_s.include? "/"

  "customers/#{customer_id}/channelAggregateAssetViews/#{advertising_channel_type}~#{asset_id}~#{asset_source}~#{field_type}"
end

#click_view_path(customer_id:, date:, gclid:) ⇒ ::String

Create a fully-qualified ClickView resource string.

The resource will be in the following format:

‘customers/customer_id/clickViews/date~gclid`

Parameters:

  • customer_id (String)
  • date (String)
  • gclid (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1479
1480
1481
1482
1483
1484
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1479

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:) ⇒ ::String

Create a fully-qualified CombinedAudience resource string.

The resource will be in the following format:

‘customers/customer_id/combinedAudiences/combined_audience_id`

Parameters:

  • customer_id (String)
  • combined_audience_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1497
1498
1499
1500
1501
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1497

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

#content_criterion_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified ContentCriterionView resource string.

The resource will be in the following format:

‘customers/customer_id/contentCriterionViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1515
1516
1517
1518
1519
1520
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1515

def content_criterion_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}/contentCriterionViews/#{ad_group_id}~#{criterion_id}"
end

#conversion_action_path(customer_id:, conversion_action_id:) ⇒ ::String

Create a fully-qualified ConversionAction resource string.

The resource will be in the following format:

‘customers/customer_id/conversionActions/conversion_action_id`

Parameters:

  • customer_id (String)
  • conversion_action_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1533
1534
1535
1536
1537
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1533

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:) ⇒ ::String

Create a fully-qualified ConversionCustomVariable resource string.

The resource will be in the following format:

‘customers/customer_id/conversionCustomVariables/conversion_custom_variable_id`

Parameters:

  • customer_id (String)
  • conversion_custom_variable_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1550
1551
1552
1553
1554
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1550

def conversion_custom_variable_path customer_id:, conversion_custom_variable_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/conversionCustomVariables/#{conversion_custom_variable_id}"
end

#conversion_goal_campaign_config_path(customer_id:, campaign_id:) ⇒ ::String

Create a fully-qualified ConversionGoalCampaignConfig resource string.

The resource will be in the following format:

‘customers/customer_id/conversionGoalCampaignConfigs/campaign_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1567
1568
1569
1570
1571
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1567

def conversion_goal_campaign_config_path customer_id:, campaign_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/conversionGoalCampaignConfigs/#{campaign_id}"
end

#conversion_value_rule_path(customer_id:, conversion_value_rule_id:) ⇒ ::String

Create a fully-qualified ConversionValueRule resource string.

The resource will be in the following format:

‘customers/customer_id/conversionValueRules/conversion_value_rule_id`

Parameters:

  • customer_id (String)
  • conversion_value_rule_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1584
1585
1586
1587
1588
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1584

def conversion_value_rule_path customer_id:, conversion_value_rule_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/conversionValueRules/#{conversion_value_rule_id}"
end

#conversion_value_rule_set_path(customer_id:, conversion_value_rule_set_id:) ⇒ ::String

Create a fully-qualified ConversionValueRuleSet resource string.

The resource will be in the following format:

‘customers/customer_id/conversionValueRuleSets/conversion_value_rule_set_id`

Parameters:

  • customer_id (String)
  • conversion_value_rule_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1601
1602
1603
1604
1605
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1601

def conversion_value_rule_set_path customer_id:, conversion_value_rule_set_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/conversionValueRuleSets/#{conversion_value_rule_set_id}"
end

#currency_constant_path(code:) ⇒ ::String

Create a fully-qualified CurrencyConstant resource string.

The resource will be in the following format:

‘currencyConstants/code`

Parameters:

  • code (String)

Returns:

  • (::String)


1617
1618
1619
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1617

def currency_constant_path code:
  "currencyConstants/#{code}"
end

#custom_audience_path(customer_id:, custom_audience_id:) ⇒ ::String

Create a fully-qualified CustomAudience resource string.

The resource will be in the following format:

‘customers/customer_id/customAudiences/custom_audience_id`

Parameters:

  • customer_id (String)
  • custom_audience_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1632
1633
1634
1635
1636
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1632

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_conversion_goal_path(customer_id:, goal_id:) ⇒ ::String

Create a fully-qualified CustomConversionGoal resource string.

The resource will be in the following format:

‘customers/customer_id/customConversionGoals/goal_id`

Parameters:

  • customer_id (String)
  • goal_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1649
1650
1651
1652
1653
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1649

def custom_conversion_goal_path customer_id:, goal_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customConversionGoals/#{goal_id}"
end

#custom_interest_path(customer_id:, custom_interest_id:) ⇒ ::String

Create a fully-qualified CustomInterest resource string.

The resource will be in the following format:

‘customers/customer_id/customInterests/custom_interest_id`

Parameters:

  • customer_id (String)
  • custom_interest_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1666
1667
1668
1669
1670
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1666

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:) ⇒ ::String

Create a fully-qualified CustomerAsset resource string.

The resource will be in the following format:

‘customers/customer_id/customerAssets/asset_id~field_type`

Parameters:

  • customer_id (String)
  • asset_id (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1698
1699
1700
1701
1702
1703
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1698

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_asset_set_path(customer_id:, asset_set_id:) ⇒ ::String

Create a fully-qualified CustomerAssetSet resource string.

The resource will be in the following format:

‘customers/customer_id/customerAssetSets/asset_set_id`

Parameters:

  • customer_id (String)
  • asset_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1716
1717
1718
1719
1720
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1716

def customer_asset_set_path customer_id:, asset_set_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerAssetSets/#{asset_set_id}"
end

Create a fully-qualified CustomerClientLink resource string.

The resource will be in the following format:

‘customers/customer_id/customerClientLinks/client_customer_id~manager_link_id`

Parameters:

  • customer_id (String)
  • client_customer_id (String)
  • manager_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1751
1752
1753
1754
1755
1756
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1751

def customer_client_link_path customer_id:, client_customer_id:, manager_link_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "client_customer_id cannot contain /" if client_customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerClientLinks/#{client_customer_id}~#{manager_link_id}"
end

#customer_client_path(customer_id:, client_customer_id:) ⇒ ::String

Create a fully-qualified CustomerClient resource string.

The resource will be in the following format:

‘customers/customer_id/customerClients/client_customer_id`

Parameters:

  • customer_id (String)
  • client_customer_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1733
1734
1735
1736
1737
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1733

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_conversion_goal_path(customer_id:, category:, source:) ⇒ ::String

Create a fully-qualified CustomerConversionGoal resource string.

The resource will be in the following format:

‘customers/customer_id/customerConversionGoals/category~source`

Parameters:

  • customer_id (String)
  • category (String)
  • source (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1770
1771
1772
1773
1774
1775
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1770

def customer_conversion_goal_path customer_id:, category:, source:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "category cannot contain /" if category.to_s.include? "/"

  "customers/#{customer_id}/customerConversionGoals/#{category}~#{source}"
end

#customer_customizer_path(customer_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified CustomerCustomizer resource string.

The resource will be in the following format:

‘customers/customer_id/customerCustomizers/customizer_attribute_id`

Parameters:

  • customer_id (String)
  • customizer_attribute_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1788
1789
1790
1791
1792
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1788

def customer_customizer_path customer_id:, customizer_attribute_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerCustomizers/#{customizer_attribute_id}"
end

#customer_label_path(customer_id:, label_id:) ⇒ ::String

Create a fully-qualified CustomerLabel resource string.

The resource will be in the following format:

‘customers/customer_id/customerLabels/label_id`

Parameters:

  • customer_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1805
1806
1807
1808
1809
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1805

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_lifecycle_goal_path(customer_id:) ⇒ ::String

Create a fully-qualified CustomerLifecycleGoal resource string.

The resource will be in the following format:

‘customers/customer_id/customerLifecycleGoals`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


1821
1822
1823
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1821

def customer_lifecycle_goal_path customer_id:
  "customers/#{customer_id}/customerLifecycleGoals"
end

Create a fully-qualified CustomerManagerLink resource string.

The resource will be in the following format:

‘customers/customer_id/customerManagerLinks/manager_customer_id~manager_link_id`

Parameters:

  • customer_id (String)
  • manager_customer_id (String)
  • manager_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1837
1838
1839
1840
1841
1842
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1837

def customer_manager_link_path customer_id:, manager_customer_id:, manager_link_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "manager_customer_id cannot contain /" if manager_customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerManagerLinks/#{manager_customer_id}~#{manager_link_id}"
end

#customer_negative_criterion_path(customer_id:, criterion_id:) ⇒ ::String

Create a fully-qualified CustomerNegativeCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/customerNegativeCriteria/criterion_id`

Parameters:

  • customer_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1855
1856
1857
1858
1859
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1855

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:) ⇒ ::String

Create a fully-qualified Customer resource string.

The resource will be in the following format:

‘customers/customer_id`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


1682
1683
1684
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1682

def customer_path customer_id:
  "customers/#{customer_id}"
end

#customer_search_term_insight_path(customer_id:, cluster_id:) ⇒ ::String

Create a fully-qualified CustomerSearchTermInsight resource string.

The resource will be in the following format:

‘customers/customer_id/customerSearchTermInsights/cluster_id`

Parameters:

  • customer_id (String)
  • cluster_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1872
1873
1874
1875
1876
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1872

def customer_search_term_insight_path customer_id:, cluster_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customerSearchTermInsights/#{cluster_id}"
end

#customer_user_access_invitation_path(customer_id:, invitation_id:) ⇒ ::String

Create a fully-qualified CustomerUserAccessInvitation resource string.

The resource will be in the following format:

‘customers/customer_id/customerUserAccessInvitations/invitation_id`

Parameters:

  • customer_id (String)
  • invitation_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1906
1907
1908
1909
1910
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1906

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:) ⇒ ::String

Create a fully-qualified CustomerUserAccess resource string.

The resource will be in the following format:

‘customers/customer_id/customerUserAccesses/user_id`

Parameters:

  • customer_id (String)
  • user_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1889
1890
1891
1892
1893
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1889

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

#customizer_attribute_path(customer_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified CustomizerAttribute resource string.

The resource will be in the following format:

‘customers/customer_id/customizerAttributes/customizer_attribute_id`

Parameters:

  • customer_id (String)
  • customizer_attribute_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1923
1924
1925
1926
1927
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1923

def customizer_attribute_path customer_id:, customizer_attribute_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/customizerAttributes/#{customizer_attribute_id}"
end

Create a fully-qualified DataLink resource string.

The resource will be in the following format:

‘customers/customer_id/dataLinks/product_link_id~data_link_id`

Parameters:

  • customer_id (String)
  • product_link_id (String)
  • data_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1941
1942
1943
1944
1945
1946
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1941

def data_link_path customer_id:, product_link_id:, data_link_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "product_link_id cannot contain /" if product_link_id.to_s.include? "/"

  "customers/#{customer_id}/dataLinks/#{product_link_id}~#{data_link_id}"
end

#detail_content_suitability_placement_view_path(customer_id:, placement_fingerprint:) ⇒ ::String

Create a fully-qualified DetailContentSuitabilityPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/detailContentSuitabilityPlacementViews/placement_fingerprint`

Parameters:

  • customer_id (String)
  • placement_fingerprint (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1959
1960
1961
1962
1963
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1959

def detail_content_suitability_placement_view_path customer_id:, placement_fingerprint:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/detailContentSuitabilityPlacementViews/#{placement_fingerprint}"
end

#detail_placement_view_path(customer_id:, ad_group_id:, base64_placement:) ⇒ ::String

Create a fully-qualified DetailPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/detailPlacementViews/ad_group_id~base64_placement`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • base64_placement (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1977
1978
1979
1980
1981
1982
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1977

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

#detailed_demographic_path(customer_id:, detailed_demographic_id:) ⇒ ::String

Create a fully-qualified DetailedDemographic resource string.

The resource will be in the following format:

‘customers/customer_id/detailedDemographics/detailed_demographic_id`

Parameters:

  • customer_id (String)
  • detailed_demographic_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1995
1996
1997
1998
1999
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 1995

def detailed_demographic_path customer_id:, detailed_demographic_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/detailedDemographics/#{detailed_demographic_id}"
end

#display_keyword_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified DisplayKeywordView resource string.

The resource will be in the following format:

‘customers/customer_id/displayKeywordViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2013
2014
2015
2016
2017
2018
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2013

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:) ⇒ ::String

Create a fully-qualified DistanceView resource string.

The resource will be in the following format:

‘customers/customer_id/distanceViews/placeholder_chain_id~distance_bucket`

Parameters:

  • customer_id (String)
  • placeholder_chain_id (String)
  • distance_bucket (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2032
2033
2034
2035
2036
2037
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2032

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • base64_category (String)
  • language_code (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2052
2053
2054
2055
2056
2057
2058
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2052

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • search_term_fingerprint (String)
  • headline_fingerprint (String)
  • landing_page_fingerprint (String)
  • page_url_fingerprint (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2075

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? "/"
  if search_term_fingerprint.to_s.include? "/"
    raise ::ArgumentError,
          "search_term_fingerprint cannot contain /"
  end
  raise ::ArgumentError, "headline_fingerprint cannot contain /" if headline_fingerprint.to_s.include? "/"
  if landing_page_fingerprint.to_s.include? "/"
    raise ::ArgumentError,
          "landing_page_fingerprint cannot contain /"
  end

  "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:) ⇒ ::String

Create a fully-qualified ExpandedLandingPageView resource string.

The resource will be in the following format:

‘customers/customer_id/expandedLandingPageViews/expanded_final_url_fingerprint`

Parameters:

  • customer_id (String)
  • expanded_final_url_fingerprint (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2103
2104
2105
2106
2107
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2103

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

#experiment_arm_path(customer_id:, trial_id:, trial_arm_id:) ⇒ ::String

Create a fully-qualified ExperimentArm resource string.

The resource will be in the following format:

‘customers/customer_id/experimentArms/trial_id~trial_arm_id`

Parameters:

  • customer_id (String)
  • trial_id (String)
  • trial_arm_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2138
2139
2140
2141
2142
2143
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2138

def experiment_arm_path customer_id:, trial_id:, trial_arm_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "trial_id cannot contain /" if trial_id.to_s.include? "/"

  "customers/#{customer_id}/experimentArms/#{trial_id}~#{trial_arm_id}"
end

#experiment_path(customer_id:, trial_id:) ⇒ ::String

Create a fully-qualified Experiment resource string.

The resource will be in the following format:

‘customers/customer_id/experiments/trial_id`

Parameters:

  • customer_id (String)
  • trial_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2120
2121
2122
2123
2124
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2120

def experiment_path customer_id:, trial_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/experiments/#{trial_id}"
end

#final_url_expansion_asset_view_path(customer_id:, campaign_id:, asset_id:, field_type:, url_fp:) ⇒ ::String

Create a fully-qualified FinalUrlExpansionAssetView resource string.

The resource will be in the following format:

‘customers/customer_id/finalUrlExpansionAssetViews/campaign_id~asset_id~field_type~url_fp`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • asset_id (String)
  • field_type (String)
  • url_fp (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2159
2160
2161
2162
2163
2164
2165
2166
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2159

def final_url_expansion_asset_view_path customer_id:, campaign_id:, asset_id:, field_type:, url_fp:
  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? "/"
  raise ::ArgumentError, "field_type cannot contain /" if field_type.to_s.include? "/"

  "customers/#{customer_id}/finalUrlExpansionAssetViews/#{campaign_id}~#{asset_id}~#{field_type}~#{url_fp}"
end

#gender_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified GenderView resource string.

The resource will be in the following format:

‘customers/customer_id/genderViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2180
2181
2182
2183
2184
2185
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2180

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:) ⇒ ::String

Create a fully-qualified GeoTargetConstant resource string.

The resource will be in the following format:

‘geoTargetConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


2197
2198
2199
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2197

def geo_target_constant_path criterion_id:
  "geoTargetConstants/#{criterion_id}"
end

#geographic_view_path(customer_id:, country_criterion_id:, location_type:) ⇒ ::String

Create a fully-qualified GeographicView resource string.

The resource will be in the following format:

‘customers/customer_id/geographicViews/country_criterion_id~location_type`

Parameters:

  • customer_id (String)
  • country_criterion_id (String)
  • location_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2213
2214
2215
2216
2217
2218
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2213

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

#goal_path(customer_id:, unified_goal_id:) ⇒ ::String

Create a fully-qualified Goal resource string.

The resource will be in the following format:

‘customers/customer_id/goals/unified_goal_id`

Parameters:

  • customer_id (String)
  • unified_goal_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2231
2232
2233
2234
2235
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2231

def goal_path customer_id:, unified_goal_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/goals/#{unified_goal_id}"
end

#group_content_suitability_placement_view_path(customer_id:, placement_fingerprint:) ⇒ ::String

Create a fully-qualified GroupContentSuitabilityPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/groupContentSuitabilityPlacementViews/placement_fingerprint`

Parameters:

  • customer_id (String)
  • placement_fingerprint (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2248
2249
2250
2251
2252
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2248

def group_content_suitability_placement_view_path customer_id:, placement_fingerprint:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/groupContentSuitabilityPlacementViews/#{placement_fingerprint}"
end

#group_placement_view_path(customer_id:, ad_group_id:, base64_placement:) ⇒ ::String

Create a fully-qualified GroupPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/groupPlacementViews/ad_group_id~base64_placement`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • base64_placement (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2266
2267
2268
2269
2270
2271
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2266

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:) ⇒ ::String

Create a fully-qualified HotelGroupView resource string.

The resource will be in the following format:

‘customers/customer_id/hotelGroupViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2285
2286
2287
2288
2289
2290
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2285

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:) ⇒ ::String

Create a fully-qualified HotelPerformanceView resource string.

The resource will be in the following format:

‘customers/customer_id/hotelPerformanceView`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


2302
2303
2304
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2302

def hotel_performance_view_path customer_id:
  "customers/#{customer_id}/hotelPerformanceView"
end

#hotel_reconciliation_path(customer_id:, commission_id:) ⇒ ::String

Create a fully-qualified HotelReconciliation resource string.

The resource will be in the following format:

‘customers/customer_id/hotelReconciliations/commission_id`

Parameters:

  • customer_id (String)
  • commission_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2317
2318
2319
2320
2321
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2317

def hotel_reconciliation_path customer_id:, commission_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/hotelReconciliations/#{commission_id}"
end

#income_range_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified IncomeRangeView resource string.

The resource will be in the following format:

‘customers/customer_id/incomeRangeViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2335
2336
2337
2338
2339
2340
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2335

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • keyword_plan_ad_group_keyword_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2387
2388
2389
2390
2391
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2387

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:) ⇒ ::String

Create a fully-qualified KeywordPlanAdGroup resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlanAdGroups/keyword_plan_ad_group_id`

Parameters:

  • customer_id (String)
  • keyword_plan_ad_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2370
2371
2372
2373
2374
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2370

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:) ⇒ ::String

Create a fully-qualified KeywordPlanCampaignKeyword resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlanCampaignKeywords/keyword_plan_campaign_keyword_id`

Parameters:

  • customer_id (String)
  • keyword_plan_campaign_keyword_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2421
2422
2423
2424
2425
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2421

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:) ⇒ ::String

Create a fully-qualified KeywordPlanCampaign resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlanCampaigns/keyword_plan_campaign_id`

Parameters:

  • customer_id (String)
  • keyword_plan_campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2404
2405
2406
2407
2408
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2404

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:) ⇒ ::String

Create a fully-qualified KeywordPlan resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlans/keyword_plan_id`

Parameters:

  • customer_id (String)
  • keyword_plan_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2353
2354
2355
2356
2357
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2353

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_theme_constant_path(express_category_id:, express_sub_category_id:) ⇒ ::String

Create a fully-qualified KeywordThemeConstant resource string.

The resource will be in the following format:

‘keywordThemeConstants/express_category_id~express_sub_category_id`

Parameters:

  • express_category_id (String)
  • express_sub_category_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2438
2439
2440
2441
2442
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2438

def keyword_theme_constant_path express_category_id:, express_sub_category_id:
  raise ::ArgumentError, "express_category_id cannot contain /" if express_category_id.to_s.include? "/"

  "keywordThemeConstants/#{express_category_id}~#{express_sub_category_id}"
end

#keyword_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified KeywordView resource string.

The resource will be in the following format:

‘customers/customer_id/keywordViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2456
2457
2458
2459
2460
2461
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2456

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:) ⇒ ::String

Create a fully-qualified Label resource string.

The resource will be in the following format:

‘customers/customer_id/labels/label_id`

Parameters:

  • customer_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2474
2475
2476
2477
2478
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2474

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:) ⇒ ::String

Create a fully-qualified LandingPageView resource string.

The resource will be in the following format:

‘customers/customer_id/landingPageViews/unexpanded_final_url_fingerprint`

Parameters:

  • customer_id (String)
  • unexpanded_final_url_fingerprint (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2491
2492
2493
2494
2495
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2491

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:) ⇒ ::String

Create a fully-qualified LanguageConstant resource string.

The resource will be in the following format:

‘languageConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


2507
2508
2509
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2507

def language_constant_path criterion_id:
  "languageConstants/#{criterion_id}"
end

#lead_form_submission_data_path(customer_id:, lead_form_user_submission_id:) ⇒ ::String

Create a fully-qualified LeadFormSubmissionData resource string.

The resource will be in the following format:

‘customers/customer_id/leadFormSubmissionData/lead_form_user_submission_id`

Parameters:

  • customer_id (String)
  • lead_form_user_submission_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2522
2523
2524
2525
2526
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2522

def lead_form_submission_data_path customer_id:, lead_form_user_submission_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/leadFormSubmissionData/#{lead_form_user_submission_id}"
end

#life_event_path(customer_id:, life_event_id:) ⇒ ::String

Create a fully-qualified LifeEvent resource string.

The resource will be in the following format:

‘customers/customer_id/lifeEvents/life_event_id`

Parameters:

  • customer_id (String)
  • life_event_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2539
2540
2541
2542
2543
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2539

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

#local_services_employee_path(customer_id:, gls_employee_id:) ⇒ ::String

Create a fully-qualified LocalServicesEmployee resource string.

The resource will be in the following format:

‘customers/customer_id/localServicesEmployees/gls_employee_id`

Parameters:

  • customer_id (String)
  • gls_employee_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2556
2557
2558
2559
2560
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2556

def local_services_employee_path customer_id:, gls_employee_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/localServicesEmployees/#{gls_employee_id}"
end

#local_services_lead_conversation_path(customer_id:, local_services_lead_conversation_id:) ⇒ ::String

Create a fully-qualified LocalServicesLeadConversation resource string.

The resource will be in the following format:

‘customers/customer_id/localServicesLeadConversations/local_services_lead_conversation_id`

Parameters:

  • customer_id (String)
  • local_services_lead_conversation_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2590
2591
2592
2593
2594
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2590

def local_services_lead_conversation_path customer_id:, local_services_lead_conversation_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/localServicesLeadConversations/#{local_services_lead_conversation_id}"
end

#local_services_lead_path(customer_id:, local_services_lead_id:) ⇒ ::String

Create a fully-qualified LocalServicesLead resource string.

The resource will be in the following format:

‘customers/customer_id/localServicesLeads/local_services_lead_id`

Parameters:

  • customer_id (String)
  • local_services_lead_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2573
2574
2575
2576
2577
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2573

def local_services_lead_path customer_id:, local_services_lead_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/localServicesLeads/#{local_services_lead_id}"
end

#local_services_verification_artifact_path(customer_id:, gls_verification_artifact_id:) ⇒ ::String

Create a fully-qualified LocalServicesVerificationArtifact resource string.

The resource will be in the following format:

‘customers/customer_id/localServicesVerificationArtifacts/gls_verification_artifact_id`

Parameters:

  • customer_id (String)
  • gls_verification_artifact_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2607
2608
2609
2610
2611
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2607

def local_services_verification_artifact_path customer_id:, gls_verification_artifact_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/localServicesVerificationArtifacts/#{gls_verification_artifact_id}"
end

#location_interest_view_path(customer_id:, campaign_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified LocationInterestView resource string.

The resource will be in the following format:

‘customers/customer_id/locationInterestViews/campaign_id~ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2626
2627
2628
2629
2630
2631
2632
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2626

def location_interest_view_path customer_id:, campaign_id:, ad_group_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? "/"
  raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"

  "customers/#{customer_id}/locationInterestViews/#{campaign_id}~#{ad_group_id}~#{criterion_id}"
end

#location_view_path(customer_id:, campaign_id:, criterion_id:) ⇒ ::String

Create a fully-qualified LocationView resource string.

The resource will be in the following format:

‘customers/customer_id/locationViews/campaign_id~criterion_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2646
2647
2648
2649
2650
2651
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2646

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:) ⇒ ::String

Create a fully-qualified ManagedPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/managedPlacementViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2665
2666
2667
2668
2669
2670
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2665

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

#matched_location_interest_view_path(customer_id:, country_criterion_id:) ⇒ ::String

Create a fully-qualified MatchedLocationInterestView resource string.

The resource will be in the following format:

‘customers/customer_id/matchedLocationInterestViews/country_criterion_id`

Parameters:

  • customer_id (String)
  • country_criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2683
2684
2685
2686
2687
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2683

def matched_location_interest_view_path customer_id:, country_criterion_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/matchedLocationInterestViews/#{country_criterion_id}"
end

#media_file_path(customer_id:, media_file_id:) ⇒ ::String

Create a fully-qualified MediaFile resource string.

The resource will be in the following format:

‘customers/customer_id/mediaFiles/media_file_id`

Parameters:

  • customer_id (String)
  • media_file_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2700
2701
2702
2703
2704
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2700

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:) ⇒ ::String

Create a fully-qualified MobileAppCategoryConstant resource string.

The resource will be in the following format:

‘mobileAppCategoryConstants/mobile_app_category_id`

Parameters:

  • mobile_app_category_id (String)

Returns:

  • (::String)


2716
2717
2718
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2716

def mobile_app_category_constant_path mobile_app_category_id:
  "mobileAppCategoryConstants/#{mobile_app_category_id}"
end

#mobile_device_constant_path(criterion_id:) ⇒ ::String

Create a fully-qualified MobileDeviceConstant resource string.

The resource will be in the following format:

‘mobileDeviceConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


2730
2731
2732
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2730

def mobile_device_constant_path criterion_id:
  "mobileDeviceConstants/#{criterion_id}"
end

#offline_conversion_upload_client_summary_path(customer_id:, client:) ⇒ ::String

Create a fully-qualified OfflineConversionUploadClientSummary resource string.

The resource will be in the following format:

‘customers/customer_id/offlineConversionUploadClientSummaries/client`

Parameters:

  • customer_id (String)
  • client (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2745
2746
2747
2748
2749
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2745

def offline_conversion_upload_client_summary_path customer_id:, client:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/offlineConversionUploadClientSummaries/#{client}"
end

#offline_conversion_upload_conversion_action_summary_path(customer_id:, conversion_type_id:, client:) ⇒ ::String

Create a fully-qualified OfflineConversionUploadConversionActionSummary resource string.

The resource will be in the following format:

‘customers/customer_id/offlineConversionUploadConversionActionSummaries/conversion_type_id~client`

Parameters:

  • customer_id (String)
  • conversion_type_id (String)
  • client (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2763
2764
2765
2766
2767
2768
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2763

def offline_conversion_upload_conversion_action_summary_path customer_id:, conversion_type_id:, client:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "conversion_type_id cannot contain /" if conversion_type_id.to_s.include? "/"

  "customers/#{customer_id}/offlineConversionUploadConversionActionSummaries/#{conversion_type_id}~#{client}"
end

#offline_user_data_job_path(customer_id:, offline_user_data_update_id:) ⇒ ::String

Create a fully-qualified OfflineUserDataJob resource string.

The resource will be in the following format:

‘customers/customer_id/offlineUserDataJobs/offline_user_data_update_id`

Parameters:

  • customer_id (String)
  • offline_user_data_update_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2781
2782
2783
2784
2785
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2781

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:) ⇒ ::String

Create a fully-qualified OperatingSystemVersionConstant resource string.

The resource will be in the following format:

‘operatingSystemVersionConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


2797
2798
2799
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2797

def operating_system_version_constant_path criterion_id:
  "operatingSystemVersionConstants/#{criterion_id}"
end

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`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • ad_group_id (String)
  • base64_search_term (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2814
2815
2816
2817
2818
2819
2820
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2814

def 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? "/"
  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}/paidOrganicSearchTermViews/#{campaign_id}~#{ad_group_id}~#{base64_search_term}"
end

#parental_status_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified ParentalStatusView resource string.

The resource will be in the following format:

‘customers/customer_id/parentalStatusViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2834
2835
2836
2837
2838
2839
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2834

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:) ⇒ ::String

Create a fully-qualified PaymentsAccount resource string.

The resource will be in the following format:

‘customers/customer_id/paymentsAccounts/payments_account_id`

Parameters:

  • customer_id (String)
  • payments_account_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2852
2853
2854
2855
2856
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2852

def  customer_id:, payments_account_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/paymentsAccounts/#{}"
end

#per_store_view_path(customer_id:, place_id:) ⇒ ::String

Create a fully-qualified PerStoreView resource string.

The resource will be in the following format:

‘customers/customer_id/perStoreViews/place_id`

Parameters:

  • customer_id (String)
  • place_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2869
2870
2871
2872
2873
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2869

def per_store_view_path customer_id:, place_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/perStoreViews/#{place_id}"
end

#performance_max_placement_view_path(customer_id:, base_64_placement:) ⇒ ::String

Create a fully-qualified PerformanceMaxPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/performanceMaxPlacementViews/base_64_placement`

Parameters:

  • customer_id (String)
  • base_64_placement (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2886
2887
2888
2889
2890
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2886

def performance_max_placement_view_path customer_id:, base_64_placement:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/performanceMaxPlacementViews/#{base_64_placement}"
end

#product_category_constant_path(level:, category_id:) ⇒ ::String

Create a fully-qualified ProductCategoryConstant resource string.

The resource will be in the following format:

‘productCategoryConstants/level~category_id`

Parameters:

  • level (String)
  • category_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2903
2904
2905
2906
2907
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2903

def product_category_constant_path level:, category_id:
  raise ::ArgumentError, "level cannot contain /" if level.to_s.include? "/"

  "productCategoryConstants/#{level}~#{category_id}"
end

#product_group_view_path(customer_id:, adgroup_id:, criterion_id:) ⇒ ::String

Create a fully-qualified ProductGroupView resource string.

The resource will be in the following format:

‘customers/customer_id/productGroupViews/adgroup_id~criterion_id`

Parameters:

  • customer_id (String)
  • adgroup_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2921
2922
2923
2924
2925
2926
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2921

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

Create a fully-qualified ProductLinkInvitation resource string.

The resource will be in the following format:

‘customers/customer_id/productLinkInvitations/customer_invitation_id`

Parameters:

  • customer_id (String)
  • customer_invitation_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2956
2957
2958
2959
2960
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2956

def product_link_invitation_path customer_id:, customer_invitation_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/productLinkInvitations/#{customer_invitation_id}"
end

Create a fully-qualified ProductLink resource string.

The resource will be in the following format:

‘customers/customer_id/productLinks/product_link_id`

Parameters:

  • customer_id (String)
  • product_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2939
2940
2941
2942
2943
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2939

def product_link_path customer_id:, product_link_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/productLinks/#{product_link_id}"
end

#qualifying_question_path(qualifying_question_id:) ⇒ ::String

Create a fully-qualified QualifyingQuestion resource string.

The resource will be in the following format:

‘qualifyingQuestions/qualifying_question_id`

Parameters:

  • qualifying_question_id (String)

Returns:

  • (::String)


2972
2973
2974
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2972

def qualifying_question_path qualifying_question_id:
  "qualifyingQuestions/#{qualifying_question_id}"
end

#recommendation_path(customer_id:, recommendation_id:) ⇒ ::String

Create a fully-qualified Recommendation resource string.

The resource will be in the following format:

‘customers/customer_id/recommendations/recommendation_id`

Parameters:

  • customer_id (String)
  • recommendation_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2987
2988
2989
2990
2991
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 2987

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

#recommendation_subscription_path(customer_id:, recommendation_type:) ⇒ ::String

Create a fully-qualified RecommendationSubscription resource string.

The resource will be in the following format:

‘customers/customer_id/recommendationSubscriptions/recommendation_type`

Parameters:

  • customer_id (String)
  • recommendation_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3004
3005
3006
3007
3008
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3004

def recommendation_subscription_path customer_id:, recommendation_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/recommendationSubscriptions/#{recommendation_type}"
end

#remarketing_action_path(customer_id:, remarketing_action_id:) ⇒ ::String

Create a fully-qualified RemarketingAction resource string.

The resource will be in the following format:

‘customers/customer_id/remarketingActions/remarketing_action_id`

Parameters:

  • customer_id (String)
  • remarketing_action_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3021
3022
3023
3024
3025
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3021

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • ad_group_id (String)
  • query (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3040
3041
3042
3043
3044
3045
3046
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3040

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:) ⇒ ::String

Create a fully-qualified SharedCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/sharedCriteria/shared_set_id~criterion_id`

Parameters:

  • customer_id (String)
  • shared_set_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3060
3061
3062
3063
3064
3065
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3060

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:) ⇒ ::String

Create a fully-qualified SharedSet resource string.

The resource will be in the following format:

‘customers/customer_id/sharedSets/shared_set_id`

Parameters:

  • customer_id (String)
  • shared_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3078
3079
3080
3081
3082
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3078

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:) ⇒ ::String

Create a fully-qualified ShoppingPerformanceView resource string.

The resource will be in the following format:

‘customers/customer_id/shoppingPerformanceView`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


3094
3095
3096
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3094

def shopping_performance_view_path customer_id:
  "customers/#{customer_id}/shoppingPerformanceView"
end

#shopping_product_path(customer_id:, merchant_center_id:, channel:, language_code:, feed_label:, item_id:) ⇒ ::String

Create a fully-qualified ShoppingProduct resource string.

The resource will be in the following format:

‘customers/customer_id/shoppingProducts/merchant_center_id~channel~language_code~feed_label~item_id`

Parameters:

  • customer_id (String)
  • merchant_center_id (String)
  • channel (String)
  • language_code (String)
  • feed_label (String)
  • item_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3113

def shopping_product_path customer_id:, merchant_center_id:, channel:, language_code:, feed_label:,
                          item_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "merchant_center_id cannot contain /" if merchant_center_id.to_s.include? "/"
  raise ::ArgumentError, "channel cannot contain /" if channel.to_s.include? "/"
  raise ::ArgumentError, "language_code cannot contain /" if language_code.to_s.include? "/"
  raise ::ArgumentError, "feed_label cannot contain /" if feed_label.to_s.include? "/"

  "customers/#{customer_id}/shoppingProducts/#{merchant_center_id}~#{channel}~#{language_code}~#{feed_label}~#{item_id}"
end

#smart_campaign_search_term_view_path(customer_id:, campaign_id:, query:) ⇒ ::String

Create a fully-qualified SmartCampaignSearchTermView resource string.

The resource will be in the following format:

‘customers/customer_id/smartCampaignSearchTermViews/campaign_id~query`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • query (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3136
3137
3138
3139
3140
3141
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3136

def smart_campaign_search_term_view_path customer_id:, campaign_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? "/"

  "customers/#{customer_id}/smartCampaignSearchTermViews/#{campaign_id}~#{query}"
end

#smart_campaign_setting_path(customer_id:, campaign_id:) ⇒ ::String

Create a fully-qualified SmartCampaignSetting resource string.

The resource will be in the following format:

‘customers/customer_id/smartCampaignSettings/campaign_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3154
3155
3156
3157
3158
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3154

def smart_campaign_setting_path customer_id:, campaign_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/smartCampaignSettings/#{campaign_id}"
end

#targeting_expansion_view_path(customer_id:, campaign_id:, targeting_expansion_type:) ⇒ ::String

Create a fully-qualified TargetingExpansionView resource string.

The resource will be in the following format:

‘customers/customer_id/targetingExpansionViews/campaign_id~targeting_expansion_type`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • targeting_expansion_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3172
3173
3174
3175
3176
3177
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3172

def targeting_expansion_view_path customer_id:, campaign_id:, targeting_expansion_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}/targetingExpansionViews/#{campaign_id}~#{targeting_expansion_type}"
end

Create a fully-qualified ThirdPartyAppAnalyticsLink resource string.

The resource will be in the following format:

‘customers/customer_id/thirdPartyAppAnalyticsLinks/customer_link_id`

Parameters:

  • customer_id (String)
  • customer_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3190
3191
3192
3193
3194
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3190

def third_party_app_analytics_link_path customer_id:, customer_link_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/thirdPartyAppAnalyticsLinks/#{customer_link_id}"
end

#topic_constant_path(topic_id:) ⇒ ::String

Create a fully-qualified TopicConstant resource string.

The resource will be in the following format:

‘topicConstants/topic_id`

Parameters:

  • topic_id (String)

Returns:

  • (::String)


3206
3207
3208
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3206

def topic_constant_path topic_id:
  "topicConstants/#{topic_id}"
end

#topic_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified TopicView resource string.

The resource will be in the following format:

‘customers/customer_id/topicViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3222
3223
3224
3225
3226
3227
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3222

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

#travel_activity_group_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::String

Create a fully-qualified TravelActivityGroupView resource string.

The resource will be in the following format:

‘customers/customer_id/travelActivityGroupViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3241
3242
3243
3244
3245
3246
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3241

def travel_activity_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}/travelActivityGroupViews/#{ad_group_id}~#{criterion_id}"
end

#travel_activity_performance_view_path(customer_id:) ⇒ ::String

Create a fully-qualified TravelActivityPerformanceView resource string.

The resource will be in the following format:

‘customers/customer_id/travelActivityPerformanceViews`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


3258
3259
3260
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3258

def travel_activity_performance_view_path customer_id:
  "customers/#{customer_id}/travelActivityPerformanceViews"
end

#user_interest_path(customer_id:, user_interest_id:) ⇒ ::String

Create a fully-qualified UserInterest resource string.

The resource will be in the following format:

‘customers/customer_id/userInterests/user_interest_id`

Parameters:

  • customer_id (String)
  • user_interest_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3273
3274
3275
3276
3277
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3273

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_customer_type_path(customer_id:, user_list_id:, semantic_label:) ⇒ ::String

Create a fully-qualified UserListCustomerType resource string.

The resource will be in the following format:

‘customers/customer_id/userListCustomerTypes/user_list_id~semantic_label`

Parameters:

  • customer_id (String)
  • user_list_id (String)
  • semantic_label (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3308
3309
3310
3311
3312
3313
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3308

def user_list_customer_type_path customer_id:, user_list_id:, semantic_label:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "user_list_id cannot contain /" if user_list_id.to_s.include? "/"

  "customers/#{customer_id}/userListCustomerTypes/#{user_list_id}~#{semantic_label}"
end

#user_list_path(customer_id:, user_list_id:) ⇒ ::String

Create a fully-qualified UserList resource string.

The resource will be in the following format:

‘customers/customer_id/userLists/user_list_id`

Parameters:

  • customer_id (String)
  • user_list_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3290
3291
3292
3293
3294
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3290

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:) ⇒ ::String

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`

Parameters:

  • customer_id (String)
  • country_criterion_id (String)
  • is_targeting_location (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3327
3328
3329
3330
3331
3332
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3327

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_enhancement_path(customer_id:, video_enhancement:) ⇒ ::String

Create a fully-qualified VideoEnhancement resource string.

The resource will be in the following format:

‘customers/customer_id/videoEnhancements/video_enhancement`

Parameters:

  • customer_id (String)
  • video_enhancement (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3362
3363
3364
3365
3366
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3362

def video_enhancement_path customer_id:, video_enhancement:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/videoEnhancements/#{video_enhancement}"
end

#video_path(customer_id:, video_id:) ⇒ ::String

Create a fully-qualified Video resource string.

The resource will be in the following format:

‘customers/customer_id/videos/video_id`

Parameters:

  • customer_id (String)
  • video_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3345
3346
3347
3348
3349
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3345

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:) ⇒ ::String

Create a fully-qualified WebpageView resource string.

The resource will be in the following format:

‘customers/customer_id/webpageViews/ad_group_id~criterion_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3380
3381
3382
3383
3384
3385
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3380

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

#you_tube_video_upload_path(customer_id:, video_upload_id:) ⇒ ::String

Create a fully-qualified YouTubeVideoUpload resource string.

The resource will be in the following format:

‘customers/customer_id/youTubeVideoUploads/video_upload_id`

Parameters:

  • customer_id (String)
  • video_upload_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


3398
3399
3400
3401
3402
# File 'lib/google/ads/google_ads/v24/services/google_ads_service/paths.rb', line 3398

def you_tube_video_upload_path customer_id:, video_upload_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"

  "customers/#{customer_id}/youTubeVideoUploads/#{video_upload_id}"
end