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

Extended by:
Paths
Included in:
Client, Paths
Defined in:
lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


39
40
41
42
43
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


56
57
58
59
60
# File 'lib/google/ads/google_ads/v13/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/#{account_budget_id}"
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`

Raises:

  • (::ArgumentError)


73
74
75
76
77
# File 'lib/google/ads/google_ads/v13/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/#{account_budget_proposal_id}"
end

Create a fully-qualified AccountLink resource string.

The resource will be in the following format:

‘customers/customer_id/accountLinks/account_link_id`

Raises:

  • (::ArgumentError)


90
91
92
93
94
# File 'lib/google/ads/google_ads/v13/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/#{account_link_id}"
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`

Raises:

  • (::ArgumentError)


163
164
165
166
167
168
169
170
171
172
173
174
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


190
191
192
193
194
195
196
197
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


212
213
214
215
216
217
218
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


142
143
144
145
146
147
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


233
234
235
236
237
238
239
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


253
254
255
256
257
258
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


272
273
274
275
276
277
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


291
292
293
294
295
296
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


330
331
332
333
334
335
336
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


351
352
353
354
355
356
357
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


310
311
312
313
314
315
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


375
376
377
378
379
380
381
382
383
384
385
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


399
400
401
402
403
404
# File 'lib/google/ads/google_ads/v13/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_extension_setting_path(customer_id:, ad_group_id:, extension_type:) ⇒ ::String

Create a fully-qualified AdGroupExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupExtensionSettings/ad_group_id~extension_type`

Raises:

  • (::ArgumentError)


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

def ad_group_extension_setting_path customer_id:, ad_group_id:, extension_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"

  "customers/#{customer_id}/adGroupExtensionSettings/#{ad_group_id}~#{extension_type}"
end

#ad_group_feed_path(customer_id:, ad_group_id:, feed_id:) ⇒ ::String

Create a fully-qualified AdGroupFeed resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupFeeds/ad_group_id~feed_id`

Raises:

  • (::ArgumentError)


437
438
439
440
441
442
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 437

def ad_group_feed_path customer_id:, ad_group_id:, feed_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"

  "customers/#{customer_id}/adGroupFeeds/#{ad_group_id}~#{feed_id}"
end

#ad_group_label_path(customer_id:, ad_group_id:, label_id:) ⇒ ::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`

Raises:

  • (::ArgumentError)


456
457
458
459
460
461
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 456

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`

Raises:

  • (::ArgumentError)


124
125
126
127
128
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


478
479
480
481
482
483
484
485
486
487
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 478

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


107
108
109
110
111
# File 'lib/google/ads/google_ads/v13/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`

Raises:

  • (::ArgumentError)


522
523
524
525
526
527
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 522

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`

Raises:

  • (::ArgumentError)


541
542
543
544
545
546
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 541

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

  "customers/#{customer_id}/ageRangeViews/#{ad_group_id}~#{criterion_id}"
end

#asset_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`

Raises:

  • (::ArgumentError)


576
577
578
579
580
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 576

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`

Raises:

  • (::ArgumentError)


612
613
614
615
616
617
618
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 612

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`

Raises:

  • (::ArgumentError)


632
633
634
635
636
637
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 632

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`

Raises:

  • (::ArgumentError)


593
594
595
596
597
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 593

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`

Raises:

  • (::ArgumentError)


651
652
653
654
655
656
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 651

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`

Raises:

  • (::ArgumentError)


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

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_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`

Raises:

  • (::ArgumentError)


559
560
561
562
563
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 559

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`

Raises:

  • (::ArgumentError)


706
707
708
709
710
711
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 706

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


741
742
743
744
745
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 741

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`

Raises:

  • (::ArgumentError)


758
759
760
761
762
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 758

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`

Raises:

  • (::ArgumentError)


775
776
777
778
779
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 775

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`

Raises:

  • (::ArgumentError)


792
793
794
795
796
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 792

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`

Raises:

  • (::ArgumentError)


809
810
811
812
813
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 809

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`

Raises:

  • (::ArgumentError)


830
831
832
833
834
835
836
837
838
839
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 830

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`

Raises:

  • (::ArgumentError)


852
853
854
855
856
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 852

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`

Raises:

  • (::ArgumentError)


869
870
871
872
873
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 869

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

  "customers/#{customer_id}/callViews/#{call_detail_id}"
end

#campaign_asset_path(customer_id:, campaign_id:, asset_id:, field_type:) ⇒ ::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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


925
926
927
928
929
930
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 925

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`

Raises:

  • (::ArgumentError)


944
945
946
947
948
949
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 944

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`

Raises:

  • (::ArgumentError)


963
964
965
966
967
968
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 963

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


1000
1001
1002
1003
1004
1005
1006
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1000

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`

Raises:

  • (::ArgumentError)


1020
1021
1022
1023
1024
1025
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1020

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

  "customers/#{customer_id}/campaignCriteria/#{campaign_id}~#{criterion_id}"
end

#campaign_criterion_simulation_path(customer_id:, campaign_id:, criterion_id:, type:, modification_method:, start_date:, end_date:) ⇒ ::String

Create a fully-qualified CampaignCriterionSimulation resource string.

The resource will be in the following format:

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

Raises:

  • (::ArgumentError)


1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1043

def campaign_criterion_simulation_path customer_id:, campaign_id:, criterion_id:, type:,
                                       modification_method:, start_date:, end_date:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "campaign_id cannot contain /" if campaign_id.to_s.include? "/"
  raise ::ArgumentError, "criterion_id cannot contain /" if criterion_id.to_s.include? "/"
  raise ::ArgumentError, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/campaignCriterionSimulations/#{campaign_id}~#{criterion_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
end

#campaign_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`

Raises:

  • (::ArgumentError)


1067
1068
1069
1070
1071
1072
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1067

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`

Raises:

  • (::ArgumentError)


1086
1087
1088
1089
1090
1091
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1086

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

Create a fully-qualified CampaignExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/campaignExtensionSettings/campaign_id~extension_type`

Raises:

  • (::ArgumentError)


1105
1106
1107
1108
1109
1110
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1105

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

  "customers/#{customer_id}/campaignExtensionSettings/#{campaign_id}~#{extension_type}"
end

#campaign_feed_path(customer_id:, campaign_id:, feed_id:) ⇒ ::String

Create a fully-qualified CampaignFeed resource string.

The resource will be in the following format:

‘customers/customer_id/campaignFeeds/campaign_id~feed_id`

Raises:

  • (::ArgumentError)


1124
1125
1126
1127
1128
1129
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1124

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

  "customers/#{customer_id}/campaignFeeds/#{campaign_id}~#{feed_id}"
end

#campaign_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`

Raises:

  • (::ArgumentError)


1142
1143
1144
1145
1146
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1142

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`

Raises:

  • (::ArgumentError)


1160
1161
1162
1163
1164
1165
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1160

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

  "customers/#{customer_id}/campaignLabels/#{campaign_id}~#{label_id}"
end

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

Create a fully-qualified Campaign resource string.

The resource will be in the following format:

‘customers/customer_id/campaigns/campaign_id`

Raises:

  • (::ArgumentError)


886
887
888
889
890
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 886

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

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

#campaign_shared_set_path(customer_id:, campaign_id:, shared_set_id:) ⇒ ::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`

Raises:

  • (::ArgumentError)


1179
1180
1181
1182
1183
1184
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1179

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`

Raises:

  • (::ArgumentError)


1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1201

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`



1222
1223
1224
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1222

def carrier_constant_path criterion_id:
  "carrierConstants/#{criterion_id}"
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`

Raises:

  • (::ArgumentError)


1239
1240
1241
1242
1243
1244
1245
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1239

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`

Raises:

  • (::ArgumentError)


1258
1259
1260
1261
1262
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1258

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

  "customers/#{customer_id}/changeStatus/#{change_status_id}"
end

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

Create a fully-qualified ClickView resource string.

The resource will be in the following format:

‘customers/customer_id/clickViews/date~gclid`

Raises:

  • (::ArgumentError)


1276
1277
1278
1279
1280
1281
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1276

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`

Raises:

  • (::ArgumentError)


1294
1295
1296
1297
1298
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1294

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

  "customers/#{customer_id}/combinedAudiences/#{combined_audience_id}"
end

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

Create a fully-qualified ConversionAction resource string.

The resource will be in the following format:

‘customers/customer_id/conversionActions/conversion_action_id`

Raises:

  • (::ArgumentError)


1311
1312
1313
1314
1315
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1311

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`

Raises:

  • (::ArgumentError)


1328
1329
1330
1331
1332
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1328

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`

Raises:

  • (::ArgumentError)


1345
1346
1347
1348
1349
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1345

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`

Raises:

  • (::ArgumentError)


1362
1363
1364
1365
1366
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1362

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`

Raises:

  • (::ArgumentError)


1379
1380
1381
1382
1383
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1379

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`



1395
1396
1397
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1395

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`

Raises:

  • (::ArgumentError)


1410
1411
1412
1413
1414
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1410

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`

Raises:

  • (::ArgumentError)


1427
1428
1429
1430
1431
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1427

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`

Raises:

  • (::ArgumentError)


1444
1445
1446
1447
1448
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1444

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`

Raises:

  • (::ArgumentError)


1476
1477
1478
1479
1480
1481
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1476

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`

Raises:

  • (::ArgumentError)


1494
1495
1496
1497
1498
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1494

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`

Raises:

  • (::ArgumentError)


1529
1530
1531
1532
1533
1534
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1529

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`

Raises:

  • (::ArgumentError)


1511
1512
1513
1514
1515
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1511

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`

Raises:

  • (::ArgumentError)


1548
1549
1550
1551
1552
1553
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1548

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`

Raises:

  • (::ArgumentError)


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

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_extension_setting_path(customer_id:, extension_type:) ⇒ ::String

Create a fully-qualified CustomerExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/customerExtensionSettings/extension_type`

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/customerExtensionSettings/#{extension_type}"
end

#customer_feed_path(customer_id:, feed_id:) ⇒ ::String

Create a fully-qualified CustomerFeed resource string.

The resource will be in the following format:

‘customers/customer_id/customerFeeds/feed_id`

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/customerFeeds/#{feed_id}"
end

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

Create a fully-qualified CustomerLabel resource string.

The resource will be in the following format:

‘customers/customer_id/customerLabels/label_id`

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/customerLabels/#{label_id}"
end

Create a fully-qualified CustomerManagerLink resource string.

The resource will be in the following format:

‘customers/customer_id/customerManagerLinks/manager_customer_id~manager_link_id`

Raises:

  • (::ArgumentError)


1635
1636
1637
1638
1639
1640
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1635

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`

Raises:

  • (::ArgumentError)


1653
1654
1655
1656
1657
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1653

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`



1460
1461
1462
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1460

def customer_path customer_id:
  "customers/#{customer_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`

Raises:

  • (::ArgumentError)


1687
1688
1689
1690
1691
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1687

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`

Raises:

  • (::ArgumentError)


1670
1671
1672
1673
1674
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1670

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`

Raises:

  • (::ArgumentError)


1704
1705
1706
1707
1708
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1704

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

#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`

Raises:

  • (::ArgumentError)


1722
1723
1724
1725
1726
1727
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1722

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`

Raises:

  • (::ArgumentError)


1740
1741
1742
1743
1744
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1740

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`

Raises:

  • (::ArgumentError)


1758
1759
1760
1761
1762
1763
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1758

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`

Raises:

  • (::ArgumentError)


1777
1778
1779
1780
1781
1782
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1777

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`

Raises:

  • (::ArgumentError)


1797
1798
1799
1800
1801
1802
1803
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1797

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`

Raises:

  • (::ArgumentError)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1820

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`

Raises:

  • (::ArgumentError)


1848
1849
1850
1851
1852
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1848

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`

Raises:

  • (::ArgumentError)


1883
1884
1885
1886
1887
1888
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1883

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`

Raises:

  • (::ArgumentError)


1865
1866
1867
1868
1869
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1865

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

#extension_feed_item_path(customer_id:, feed_item_id:) ⇒ ::String

Create a fully-qualified ExtensionFeedItem resource string.

The resource will be in the following format:

‘customers/customer_id/extensionFeedItems/feed_item_id`

Raises:

  • (::ArgumentError)


1901
1902
1903
1904
1905
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1901

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

  "customers/#{customer_id}/extensionFeedItems/#{feed_item_id}"
end

#feed_item_path(customer_id:, feed_id:, feed_item_id:) ⇒ ::String

Create a fully-qualified FeedItem resource string.

The resource will be in the following format:

‘customers/customer_id/feedItems/feed_id~feed_item_id`

Raises:

  • (::ArgumentError)


1936
1937
1938
1939
1940
1941
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1936

def feed_item_path customer_id:, feed_id:, feed_item_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/"

  "customers/#{customer_id}/feedItems/#{feed_id}~#{feed_item_id}"
end

Create a fully-qualified FeedItemSetLink resource string.

The resource will be in the following format:

‘customers/customer_id/feedItemSetLinks/feed_id~feed_item_set_id~feed_item_id`

Raises:

  • (::ArgumentError)


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

def feed_item_set_link_path customer_id:, feed_id:, feed_item_set_id:, feed_item_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/"
  raise ::ArgumentError, "feed_item_set_id cannot contain /" if feed_item_set_id.to_s.include? "/"

  "customers/#{customer_id}/feedItemSetLinks/#{feed_id}~#{feed_item_set_id}~#{feed_item_id}"
end

#feed_item_set_path(customer_id:, feed_id:, feed_item_set_id:) ⇒ ::String

Create a fully-qualified FeedItemSet resource string.

The resource will be in the following format:

‘customers/customer_id/feedItemSets/feed_id~feed_item_set_id`

Raises:

  • (::ArgumentError)


1955
1956
1957
1958
1959
1960
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1955

def feed_item_set_path customer_id:, feed_id:, feed_item_set_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/"

  "customers/#{customer_id}/feedItemSets/#{feed_id}~#{feed_item_set_id}"
end

#feed_item_target_path(customer_id:, feed_id:, feed_item_id:, feed_item_target_type:, feed_item_target_id:) ⇒ ::String

Create a fully-qualified FeedItemTarget resource string.

The resource will be in the following format:

‘customers/customer_id/feedItemTargets/feed_id~feed_item_id~feed_item_target_type~feed_item_target_id`

Raises:

  • (::ArgumentError)


1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1997

def feed_item_target_path customer_id:, feed_id:, feed_item_id:, feed_item_target_type:,
                          feed_item_target_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/"
  raise ::ArgumentError, "feed_item_id cannot contain /" if feed_item_id.to_s.include? "/"
  if feed_item_target_type.to_s.include? "/"
    raise ::ArgumentError,
          "feed_item_target_type cannot contain /"
  end

  "customers/#{customer_id}/feedItemTargets/#{feed_id}~#{feed_item_id}~#{feed_item_target_type}~#{feed_item_target_id}"
end

#feed_mapping_path(customer_id:, feed_id:, feed_mapping_id:) ⇒ ::String

Create a fully-qualified FeedMapping resource string.

The resource will be in the following format:

‘customers/customer_id/feedMappings/feed_id~feed_mapping_id`

Raises:

  • (::ArgumentError)


2022
2023
2024
2025
2026
2027
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2022

def feed_mapping_path customer_id:, feed_id:, feed_mapping_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "feed_id cannot contain /" if feed_id.to_s.include? "/"

  "customers/#{customer_id}/feedMappings/#{feed_id}~#{feed_mapping_id}"
end

#feed_path(customer_id:, feed_id:) ⇒ ::String

Create a fully-qualified Feed resource string.

The resource will be in the following format:

‘customers/customer_id/feeds/feed_id`

Raises:

  • (::ArgumentError)


1918
1919
1920
1921
1922
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 1918

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

  "customers/#{customer_id}/feeds/#{feed_id}"
end

#feed_placeholder_view_path(customer_id:, placeholder_type:) ⇒ ::String

Create a fully-qualified FeedPlaceholderView resource string.

The resource will be in the following format:

‘customers/customer_id/feedPlaceholderViews/placeholder_type`

Raises:

  • (::ArgumentError)


2040
2041
2042
2043
2044
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2040

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

  "customers/#{customer_id}/feedPlaceholderViews/#{placeholder_type}"
end

#gender_view_path(customer_id:, ad_group_id:, criterion_id:) ⇒ ::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`

Raises:

  • (::ArgumentError)


2058
2059
2060
2061
2062
2063
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2058

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`



2075
2076
2077
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2075

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`

Raises:

  • (::ArgumentError)


2091
2092
2093
2094
2095
2096
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2091

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

  "customers/#{customer_id}/geographicViews/#{country_criterion_id}~#{location_type}"
end

#group_placement_view_path(customer_id:, ad_group_id:, base64_placement:) ⇒ ::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`

Raises:

  • (::ArgumentError)


2110
2111
2112
2113
2114
2115
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2110

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`

Raises:

  • (::ArgumentError)


2129
2130
2131
2132
2133
2134
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2129

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`



2146
2147
2148
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2146

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


2265
2266
2267
2268
2269
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2265

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


2282
2283
2284
2285
2286
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2282

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`

Raises:

  • (::ArgumentError)


2300
2301
2302
2303
2304
2305
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2300

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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


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

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`



2351
2352
2353
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2351

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`

Raises:

  • (::ArgumentError)


2366
2367
2368
2369
2370
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2366

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`

Raises:

  • (::ArgumentError)


2383
2384
2385
2386
2387
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2383

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

  "customers/#{customer_id}/lifeEvents/#{life_event_id}"
end

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

Create a fully-qualified LocationView resource string.

The resource will be in the following format:

‘customers/customer_id/locationViews/campaign_id~criterion_id`

Raises:

  • (::ArgumentError)


2401
2402
2403
2404
2405
2406
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2401

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`

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/managedPlacementViews/#{ad_group_id}~#{criterion_id}"
end

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

Create a fully-qualified MediaFile resource string.

The resource will be in the following format:

‘customers/customer_id/mediaFiles/media_file_id`

Raises:

  • (::ArgumentError)


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

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`



2454
2455
2456
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2454

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`



2468
2469
2470
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2468

def mobile_device_constant_path criterion_id:
  "mobileDeviceConstants/#{criterion_id}"
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`

Raises:

  • (::ArgumentError)


2483
2484
2485
2486
2487
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2483

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`



2499
2500
2501
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2499

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`

Raises:

  • (::ArgumentError)


2516
2517
2518
2519
2520
2521
2522
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2516

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`

Raises:

  • (::ArgumentError)


2536
2537
2538
2539
2540
2541
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2536

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`

Raises:

  • (::ArgumentError)


2554
2555
2556
2557
2558
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2554

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

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

#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`

Raises:

  • (::ArgumentError)


2571
2572
2573
2574
2575
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2571

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

#product_bidding_category_constant_path(country_code:, level:, id:) ⇒ ::String

Create a fully-qualified ProductBiddingCategoryConstant resource string.

The resource will be in the following format:

‘productBiddingCategoryConstants/country_code~level~id`

Raises:

  • (::ArgumentError)


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

def product_bidding_category_constant_path country_code:, level:, id:
  raise ::ArgumentError, "country_code cannot contain /" if country_code.to_s.include? "/"
  raise ::ArgumentError, "level cannot contain /" if level.to_s.include? "/"

  "productBiddingCategoryConstants/#{country_code}~#{level}~#{id}"
end

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

Create a fully-qualified ProductGroupView resource string.

The resource will be in the following format:

‘customers/customer_id/productGroupViews/adgroup_id~criterion_id`

Raises:

  • (::ArgumentError)


2608
2609
2610
2611
2612
2613
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2608

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 ProductLink resource string.

The resource will be in the following format:

‘customers/customer_id/productLinks/product_link_id`

Raises:

  • (::ArgumentError)


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

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`



2642
2643
2644
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2642

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`

Raises:

  • (::ArgumentError)


2657
2658
2659
2660
2661
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2657

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

  "customers/#{customer_id}/recommendations/#{recommendation_id}"
end

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

Create a fully-qualified RemarketingAction resource string.

The resource will be in the following format:

‘customers/customer_id/remarketingActions/remarketing_action_id`

Raises:

  • (::ArgumentError)


2674
2675
2676
2677
2678
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2674

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`

Raises:

  • (::ArgumentError)


2693
2694
2695
2696
2697
2698
2699
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2693

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`

Raises:

  • (::ArgumentError)


2713
2714
2715
2716
2717
2718
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2713

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`

Raises:

  • (::ArgumentError)


2731
2732
2733
2734
2735
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2731

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`



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

def shopping_performance_view_path customer_id:
  "customers/#{customer_id}/shoppingPerformanceView"
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`

Raises:

  • (::ArgumentError)


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

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`

Raises:

  • (::ArgumentError)


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

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

Create a fully-qualified ThirdPartyAppAnalyticsLink resource string.

The resource will be in the following format:

‘customers/customer_id/thirdPartyAppAnalyticsLinks/customer_link_id`

Raises:

  • (::ArgumentError)


2798
2799
2800
2801
2802
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2798

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`



2814
2815
2816
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2814

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`

Raises:

  • (::ArgumentError)


2830
2831
2832
2833
2834
2835
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2830

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`

Raises:

  • (::ArgumentError)


2849
2850
2851
2852
2853
2854
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2849

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`



2866
2867
2868
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2866

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`

Raises:

  • (::ArgumentError)


2881
2882
2883
2884
2885
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2881

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

  "customers/#{customer_id}/userInterests/#{user_interest_id}"
end

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

Create a fully-qualified UserList resource string.

The resource will be in the following format:

‘customers/customer_id/userLists/user_list_id`

Raises:

  • (::ArgumentError)


2898
2899
2900
2901
2902
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2898

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`

Raises:

  • (::ArgumentError)


2916
2917
2918
2919
2920
2921
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2916

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

  "customers/#{customer_id}/userLocationViews/#{country_criterion_id}~#{is_targeting_location}"
end

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

Create a fully-qualified Video resource string.

The resource will be in the following format:

‘customers/customer_id/videos/video_id`

Raises:

  • (::ArgumentError)


2934
2935
2936
2937
2938
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2934

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`

Raises:

  • (::ArgumentError)


2952
2953
2954
2955
2956
2957
# File 'lib/google/ads/google_ads/v13/services/google_ads_service/paths.rb', line 2952

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