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

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

Overview

Path helper methods for the GoogleAdsService API.

Instance Method Summary collapse

Instance Method Details

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

Create a fully-qualified AccessibleBiddingStrategy resource string.

The resource will be in the following format:

‘customers/customer_id/accessibleBiddingStrategies/bidding_strategy_id`

Parameters:

  • customer_id (String)
  • bidding_strategy_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

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

Create a fully-qualified AccountBudget resource string.

The resource will be in the following format:

‘customers/customer_id/accountBudgets/account_budget_id`

Parameters:

  • customer_id (String)
  • account_budget_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

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

Create a fully-qualified AccountBudgetProposal resource string.

The resource will be in the following format:

‘customers/customer_id/accountBudgetProposals/account_budget_proposal_id`

Parameters:

  • customer_id (String)
  • account_budget_proposal_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

Create a fully-qualified AccountLink resource string.

The resource will be in the following format:

‘customers/customer_id/accountLinks/account_link_id`

Parameters:

  • customer_id (String)
  • account_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

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

Create a fully-qualified AdGroupAdAssetView resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAdAssetViews/ad_group_id~ad_id~asset_id~field_type`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


163
164
165
166
167
168
169
170
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 163

def ad_group_ad_asset_view_path customer_id:, ad_group_id:, ad_id:, asset_id:, field_type:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"
  raise ::ArgumentError, "ad_id cannot contain /" if ad_id.to_s.include? "/"
  raise ::ArgumentError, "asset_id cannot contain /" if asset_id.to_s.include? "/"

  "customers/#{customer_id}/adGroupAdAssetViews/#{ad_group_id}~#{ad_id}~#{asset_id}~#{field_type}"
end

#ad_group_ad_label_path(customer_id:, ad_group_id:, ad_id:, label_id:) ⇒ ::String

Create a fully-qualified AdGroupAdLabel resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAdLabels/ad_group_id~ad_id~label_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


185
186
187
188
189
190
191
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 185

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

  "customers/#{customer_id}/adGroupAdLabels/#{ad_group_id}~#{ad_id}~#{label_id}"
end

#ad_group_ad_path(customer_id:, ad_group_id:, ad_id:) ⇒ ::String

Create a fully-qualified AdGroupAd resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAds/ad_group_id~ad_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/adGroupAds/#{ad_group_id}~#{ad_id}"
end

#ad_group_asset_path(customer_id:, ad_group_id:, asset_id:, field_type:) ⇒ ::String

Create a fully-qualified AdGroupAsset resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAssets/ad_group_id~asset_id~field_type`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


206
207
208
209
210
211
212
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 206

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

  "customers/#{customer_id}/adGroupAssets/#{ad_group_id}~#{asset_id}~#{field_type}"
end

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

Create a fully-qualified AdGroupAudienceView resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupAudienceViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


226
227
228
229
230
231
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 226

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

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

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

Create a fully-qualified AdGroupBidModifier resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupBidModifiers/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


245
246
247
248
249
250
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 245

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

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

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

Create a fully-qualified AdGroupCriterionLabel resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupCriterionLabels/ad_group_id~criterion_id~label_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


284
285
286
287
288
289
290
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 284

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

  "customers/#{customer_id}/adGroupCriterionLabels/#{ad_group_id}~#{criterion_id}~#{label_id}"
end

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

Create a fully-qualified AdGroupCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupCriteria/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


264
265
266
267
268
269
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 264

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

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

#ad_group_criterion_simulation_path(customer_id:, ad_group_id:, criterion_id:, type:, modification_method:, start_date:, end_date:) ⇒ ::String

Create a fully-qualified AdGroupCriterionSimulation resource string.

The resource will be in the following format:

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

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


308
309
310
311
312
313
314
315
316
317
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 308

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

  "customers/#{customer_id}/adGroupCriterionSimulations/#{ad_group_id}~#{criterion_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
end

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

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • extension_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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`

Parameters:

  • customer_id (String)
  • ad_group_id (String)
  • feed_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


369
370
371
372
373
374
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 369

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

  "customers/#{customer_id}/adGroupLabels/#{ad_group_id}~#{label_id}"
end

#ad_group_path(customer_id:, ad_group_id:) ⇒ ::String

Create a fully-qualified AdGroup resource string.

The resource will be in the following format:

‘customers/customer_id/adGroups/ad_group_id`

Parameters:

  • customer_id (String)
  • ad_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/adGroups/#{ad_group_id}"
end

#ad_group_simulation_path(customer_id:, ad_group_id:, type:, modification_method:, start_date:, end_date:) ⇒ ::String

Create a fully-qualified AdGroupSimulation resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupSimulations/ad_group_id~type~modification_method~start_date~end_date`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


391
392
393
394
395
396
397
398
399
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 391

def ad_group_simulation_path customer_id:, ad_group_id:, type:, modification_method:, start_date:, end_date:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"
  raise ::ArgumentError, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/adGroupSimulations/#{ad_group_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
end

#ad_parameter_path(customer_id:, ad_group_id:, criterion_id:, parameter_index:) ⇒ ::String

Create a fully-qualified AdParameter resource string.

The resource will be in the following format:

‘customers/customer_id/adParameters/ad_group_id~criterion_id~parameter_index`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


414
415
416
417
418
419
420
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 414

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

  "customers/#{customer_id}/adParameters/#{ad_group_id}~#{criterion_id}~#{parameter_index}"
end

#ad_path(customer_id:, ad_id:) ⇒ ::String

Create a fully-qualified Ad resource string.

The resource will be in the following format:

‘customers/customer_id/ads/ad_id`

Parameters:

  • customer_id (String)
  • ad_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/ads/#{ad_id}"
end

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

Create a fully-qualified AdScheduleView resource string.

The resource will be in the following format:

‘customers/customer_id/adScheduleViews/campaign_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


434
435
436
437
438
439
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 434

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

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

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

Create a fully-qualified AgeRangeView resource string.

The resource will be in the following format:

‘customers/customer_id/ageRangeViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


453
454
455
456
457
458
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 453

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`

Parameters:

  • customer_id (String)
  • field_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


488
489
490
491
492
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 488

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_path(customer_id:, asset_id:) ⇒ ::String

Create a fully-qualified Asset resource string.

The resource will be in the following format:

‘customers/customer_id/assets/asset_id`

Parameters:

  • customer_id (String)
  • asset_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


471
472
473
474
475
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 471

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

  "customers/#{customer_id}/assets/#{asset_id}"
end

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

Create a fully-qualified BatchJob resource string.

The resource will be in the following format:

‘customers/customer_id/batchJobs/batch_job_id`

Parameters:

  • customer_id (String)
  • batch_job_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


505
506
507
508
509
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 505

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

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

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

Create a fully-qualified BiddingStrategy resource string.

The resource will be in the following format:

‘customers/customer_id/biddingStrategies/bidding_strategy_id`

Parameters:

  • customer_id (String)
  • bidding_strategy_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

#bidding_strategy_simulation_path(customer_id:, bidding_strategy_id:, type:, modification_method:, start_date:, end_date:) ⇒ ::String

Create a fully-qualified BiddingStrategySimulation resource string.

The resource will be in the following format:

‘customers/customer_id/biddingStrategySimulations/bidding_strategy_id~type~modification_method~start_date~end_date`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


543
544
545
546
547
548
549
550
551
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 543

def bidding_strategy_simulation_path customer_id:, bidding_strategy_id:, type:, modification_method:, start_date:, end_date:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "bidding_strategy_id cannot contain /" if bidding_strategy_id.to_s.include? "/"
  raise ::ArgumentError, "type cannot contain /" if type.to_s.include? "/"
  raise ::ArgumentError, "modification_method cannot contain /" if modification_method.to_s.include? "/"
  raise ::ArgumentError, "start_date cannot contain /" if start_date.to_s.include? "/"

  "customers/#{customer_id}/biddingStrategySimulations/#{bidding_strategy_id}~#{type}~#{modification_method}~#{start_date}~#{end_date}"
end

#billing_setup_path(customer_id:, billing_setup_id:) ⇒ ::String

Create a fully-qualified BillingSetup resource string.

The resource will be in the following format:

‘customers/customer_id/billingSetups/billing_setup_id`

Parameters:

  • customer_id (String)
  • billing_setup_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


564
565
566
567
568
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 564

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

  "customers/#{customer_id}/billingSetups/#{billing_setup_id}"
end

#call_view_path(customer_id:, call_detail_id:) ⇒ ::String

Create a fully-qualified CallView resource string.

The resource will be in the following format:

‘customers/customer_id/callViews/call_detail_id`

Parameters:

  • customer_id (String)
  • call_detail_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


581
582
583
584
585
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 581

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


617
618
619
620
621
622
623
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 617

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

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

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

Create a fully-qualified CampaignAudienceView resource string.

The resource will be in the following format:

‘customers/customer_id/campaignAudienceViews/campaign_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


637
638
639
640
641
642
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 637

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

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

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

Create a fully-qualified CampaignBidModifier resource string.

The resource will be in the following format:

‘customers/customer_id/campaignBidModifiers/campaign_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


656
657
658
659
660
661
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 656

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

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

#campaign_budget_path(customer_id:, campaign_budget_id:) ⇒ ::String

Create a fully-qualified CampaignBudget resource string.

The resource will be in the following format:

‘customers/customer_id/campaignBudgets/campaign_budget_id`

Parameters:

  • customer_id (String)
  • campaign_budget_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


674
675
676
677
678
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 674

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

  "customers/#{customer_id}/campaignBudgets/#{campaign_budget_id}"
end

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

Create a fully-qualified CampaignCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/campaignCriteria/campaign_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


692
693
694
695
696
697
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 692

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


715
716
717
718
719
720
721
722
723
724
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 715

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

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

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

Create a fully-qualified CampaignDraft resource string.

The resource will be in the following format:

‘customers/customer_id/campaignDrafts/base_campaign_id~draft_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


738
739
740
741
742
743
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 738

def campaign_draft_path customer_id:, base_campaign_id:, draft_id:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "base_campaign_id cannot contain /" if base_campaign_id.to_s.include? "/"

  "customers/#{customer_id}/campaignDrafts/#{base_campaign_id}~#{draft_id}"
end

#campaign_experiment_path(customer_id:, campaign_experiment_id:) ⇒ ::String

Create a fully-qualified CampaignExperiment resource string.

The resource will be in the following format:

‘customers/customer_id/campaignExperiments/campaign_experiment_id`

Parameters:

  • customer_id (String)
  • campaign_experiment_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


756
757
758
759
760
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 756

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

  "customers/#{customer_id}/campaignExperiments/#{campaign_experiment_id}"
end

#campaign_extension_setting_path(customer_id:, campaign_id:, extension_type:) ⇒ ::String

Create a fully-qualified CampaignExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/campaignExtensionSettings/campaign_id~extension_type`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • extension_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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`

Parameters:

  • customer_id (String)
  • campaign_id (String)
  • feed_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


793
794
795
796
797
798
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 793

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

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

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

Create a fully-qualified CampaignLabel resource string.

The resource will be in the following format:

‘customers/customer_id/campaignLabels/campaign_id~label_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


812
813
814
815
816
817
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 812

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`

Parameters:

  • customer_id (String)
  • campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


598
599
600
601
602
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 598

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


831
832
833
834
835
836
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 831

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

  "customers/#{customer_id}/campaignSharedSets/#{campaign_id}~#{shared_set_id}"
end

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

Create a fully-qualified CampaignSimulation resource string.

The resource will be in the following format:

‘customers/customer_id/campaignSimulations/campaign_id~type~modification_method~start_date~end_date`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


853
854
855
856
857
858
859
860
861
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 853

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

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

#carrier_constant_path(criterion_id:) ⇒ ::String

Create a fully-qualified CarrierConstant resource string.

The resource will be in the following format:

‘carrierConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


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

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


890
891
892
893
894
895
896
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 890

def change_event_path customer_id:, timestamp_micros:, command_index:, mutate_index:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "timestamp_micros cannot contain /" if timestamp_micros.to_s.include? "/"
  raise ::ArgumentError, "command_index cannot contain /" if command_index.to_s.include? "/"

  "customers/#{customer_id}/changeEvents/#{timestamp_micros}~#{command_index}~#{mutate_index}"
end

#change_status_path(customer_id:, change_status_id:) ⇒ ::String

Create a fully-qualified ChangeStatus resource string.

The resource will be in the following format:

‘customers/customer_id/changeStatus/change_status_id`

Parameters:

  • customer_id (String)
  • change_status_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


909
910
911
912
913
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 909

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


927
928
929
930
931
932
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 927

def click_view_path customer_id:, date:, gclid:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "date cannot contain /" if date.to_s.include? "/"

  "customers/#{customer_id}/clickViews/#{date}~#{gclid}"
end

#combined_audience_path(customer_id:, combined_audience_id:) ⇒ ::String

Create a fully-qualified CombinedAudience resource string.

The resource will be in the following format:

‘customers/customer_id/combinedAudiences/combined_audience_id`

Parameters:

  • customer_id (String)
  • combined_audience_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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`

Parameters:

  • customer_id (String)
  • conversion_action_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


962
963
964
965
966
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 962

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

  "customers/#{customer_id}/conversionActions/#{conversion_action_id}"
end

#conversion_custom_variable_path(customer_id:, conversion_custom_variable_id:) ⇒ ::String

Create a fully-qualified ConversionCustomVariable resource string.

The resource will be in the following format:

‘customers/customer_id/conversionCustomVariables/conversion_custom_variable_id`

Parameters:

  • customer_id (String)
  • conversion_custom_variable_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


979
980
981
982
983
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 979

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

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

#currency_constant_path(code:) ⇒ ::String

Create a fully-qualified CurrencyConstant resource string.

The resource will be in the following format:

‘currencyConstants/code`

Parameters:

  • code (String)

Returns:

  • (::String)


995
996
997
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 995

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

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

Create a fully-qualified CustomAudience resource string.

The resource will be in the following format:

‘customers/customer_id/customAudiences/custom_audience_id`

Parameters:

  • customer_id (String)
  • custom_audience_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1010
1011
1012
1013
1014
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1010

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

  "customers/#{customer_id}/customAudiences/#{custom_audience_id}"
end

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

Create a fully-qualified CustomInterest resource string.

The resource will be in the following format:

‘customers/customer_id/customInterests/custom_interest_id`

Parameters:

  • customer_id (String)
  • custom_interest_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1027
1028
1029
1030
1031
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1027

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

  "customers/#{customer_id}/customInterests/#{custom_interest_id}"
end

#customer_asset_path(customer_id:, asset_id:, field_type:) ⇒ ::String

Create a fully-qualified CustomerAsset resource string.

The resource will be in the following format:

‘customers/customer_id/customerAssets/asset_id~field_type`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

Create a fully-qualified CustomerClientLink resource string.

The resource will be in the following format:

‘customers/customer_id/customerClientLinks/client_customer_id~manager_link_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1095
1096
1097
1098
1099
1100
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1095

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

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

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

Create a fully-qualified CustomerClient resource string.

The resource will be in the following format:

‘customers/customer_id/customerClients/client_customer_id`

Parameters:

  • customer_id (String)
  • client_customer_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1077
1078
1079
1080
1081
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1077

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

  "customers/#{customer_id}/customerClients/#{client_customer_id}"
end

#customer_extension_setting_path(customer_id:, extension_type:) ⇒ ::String

Create a fully-qualified CustomerExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/customerExtensionSettings/extension_type`

Parameters:

  • customer_id (String)
  • extension_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1113
1114
1115
1116
1117
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1113

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`

Parameters:

  • customer_id (String)
  • feed_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1130
1131
1132
1133
1134
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1130

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`

Parameters:

  • customer_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1147
1148
1149
1150
1151
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1147

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1165
1166
1167
1168
1169
1170
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1165

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

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

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

Create a fully-qualified CustomerNegativeCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/customerNegativeCriteria/criterion_id`

Parameters:

  • customer_id (String)
  • criterion_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1183
1184
1185
1186
1187
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1183

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

  "customers/#{customer_id}/customerNegativeCriteria/#{criterion_id}"
end

#customer_path(customer_id:) ⇒ ::String

Create a fully-qualified Customer resource string.

The resource will be in the following format:

‘customers/customer_id`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


1043
1044
1045
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1043

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`

Parameters:

  • customer_id (String)
  • invitation_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1217
1218
1219
1220
1221
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1217

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

  "customers/#{customer_id}/customerUserAccessInvitations/#{invitation_id}"
end

#customer_user_access_path(customer_id:, user_id:) ⇒ ::String

Create a fully-qualified CustomerUserAccess resource string.

The resource will be in the following format:

‘customers/customer_id/customerUserAccesses/user_id`

Parameters:

  • customer_id (String)
  • user_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1200
1201
1202
1203
1204
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1200

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

  "customers/#{customer_id}/customerUserAccesses/#{user_id}"
end

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

Create a fully-qualified DetailPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/detailPlacementViews/ad_group_id~base64_placement`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1235
1236
1237
1238
1239
1240
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1235

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

  "customers/#{customer_id}/detailPlacementViews/#{ad_group_id}~#{base64_placement}"
end

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

Create a fully-qualified DetailedDemographic resource string.

The resource will be in the following format:

‘customers/customer_id/detailedDemographics/detailed_demographic_id`

Parameters:

  • customer_id (String)
  • detailed_demographic_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1253
1254
1255
1256
1257
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1253

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

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

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

Create a fully-qualified DisplayKeywordView resource string.

The resource will be in the following format:

‘customers/customer_id/displayKeywordViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1271
1272
1273
1274
1275
1276
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1271

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

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

#distance_view_path(customer_id:, placeholder_chain_id:, distance_bucket:) ⇒ ::String

Create a fully-qualified DistanceView resource string.

The resource will be in the following format:

‘customers/customer_id/distanceViews/placeholder_chain_id~distance_bucket`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1290
1291
1292
1293
1294
1295
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1290

def distance_view_path customer_id:, placeholder_chain_id:, distance_bucket:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "placeholder_chain_id cannot contain /" if placeholder_chain_id.to_s.include? "/"

  "customers/#{customer_id}/distanceViews/#{placeholder_chain_id}~#{distance_bucket}"
end

#domain_category_path(customer_id:, campaign_id:, base64_category:, language_code:) ⇒ ::String

Create a fully-qualified DomainCategory resource string.

The resource will be in the following format:

‘customers/customer_id/domainCategories/campaign_id~base64_category~language_code`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/domainCategories/#{campaign_id}~#{base64_category}~#{language_code}"
end

#dynamic_search_ads_search_term_view_path(customer_id:, ad_group_id:, search_term_fingerprint:, headline_fingerprint:, landing_page_fingerprint:, page_url_fingerprint:) ⇒ ::String

Create a fully-qualified DynamicSearchAdsSearchTermView resource string.

The resource will be in the following format:

‘customers/customer_id/dynamicSearchAdsSearchTermViews/ad_group_id~search_term_fingerprint~headline_fingerprint~landing_page_fingerprint~page_url_fingerprint`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1333

def dynamic_search_ads_search_term_view_path customer_id:, ad_group_id:, search_term_fingerprint:, headline_fingerprint:, landing_page_fingerprint:, page_url_fingerprint:
  raise ::ArgumentError, "customer_id cannot contain /" if customer_id.to_s.include? "/"
  raise ::ArgumentError, "ad_group_id cannot contain /" if ad_group_id.to_s.include? "/"
  raise ::ArgumentError,
        "search_term_fingerprint cannot contain /" if search_term_fingerprint.to_s.include? "/"
  raise ::ArgumentError, "headline_fingerprint cannot contain /" if headline_fingerprint.to_s.include? "/"
  raise ::ArgumentError,
        "landing_page_fingerprint cannot contain /" if landing_page_fingerprint.to_s.include? "/"

  "customers/#{customer_id}/dynamicSearchAdsSearchTermViews/#{ad_group_id}~#{search_term_fingerprint}~#{headline_fingerprint}~#{landing_page_fingerprint}~#{page_url_fingerprint}"
end

#expanded_landing_page_view_path(customer_id:, expanded_final_url_fingerprint:) ⇒ ::String

Create a fully-qualified ExpandedLandingPageView resource string.

The resource will be in the following format:

‘customers/customer_id/expandedLandingPageViews/expanded_final_url_fingerprint`

Parameters:

  • customer_id (String)
  • expanded_final_url_fingerprint (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1356
1357
1358
1359
1360
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1356

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

  "customers/#{customer_id}/expandedLandingPageViews/#{expanded_final_url_fingerprint}"
end

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

Create a fully-qualified ExtensionFeedItem resource string.

The resource will be in the following format:

‘customers/customer_id/extensionFeedItems/feed_item_id`

Parameters:

  • customer_id (String)
  • feed_item_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1373
1374
1375
1376
1377
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1373

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`

Parameters:

  • customer_id (String)
  • feed_id (String)
  • feed_item_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1408
1409
1410
1411
1412
1413
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1408

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`

Parameters:

  • customer_id (String)
  • feed_id (String)
  • feed_item_set_id (String)
  • feed_item_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1447
1448
1449
1450
1451
1452
1453
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1447

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`

Parameters:

  • customer_id (String)
  • feed_id (String)
  • feed_item_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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`

Parameters:

  • customer_id (String)
  • feed_id (String)
  • feed_item_id (String)
  • feed_item_target_type (String)
  • feed_item_target_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1469

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

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

#feed_mapping_path(customer_id:, feed_id:, feed_mapping_id:) ⇒ ::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`

Parameters:

  • customer_id (String)
  • feed_id (String)
  • feed_mapping_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1491
1492
1493
1494
1495
1496
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1491

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`

Parameters:

  • customer_id (String)
  • feed_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1390
1391
1392
1393
1394
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1390

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`

Parameters:

  • customer_id (String)
  • placeholder_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1509
1510
1511
1512
1513
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1509

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1527
1528
1529
1530
1531
1532
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1527

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

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

#geo_target_constant_path(criterion_id:) ⇒ ::String

Create a fully-qualified GeoTargetConstant resource string.

The resource will be in the following format:

‘geoTargetConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


1544
1545
1546
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1544

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

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

Create a fully-qualified GeographicView resource string.

The resource will be in the following format:

‘customers/customer_id/geographicViews/country_criterion_id~location_type`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1560
1561
1562
1563
1564
1565
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1560

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1579
1580
1581
1582
1583
1584
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1579

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

  "customers/#{customer_id}/groupPlacementViews/#{ad_group_id}~#{base64_placement}"
end

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

Create a fully-qualified HotelGroupView resource string.

The resource will be in the following format:

‘customers/customer_id/hotelGroupViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1598
1599
1600
1601
1602
1603
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1598

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

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

#hotel_performance_view_path(customer_id:) ⇒ ::String

Create a fully-qualified HotelPerformanceView resource string.

The resource will be in the following format:

‘customers/customer_id/hotelPerformanceView`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


1615
1616
1617
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1615

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

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

Create a fully-qualified IncomeRangeView resource string.

The resource will be in the following format:

‘customers/customer_id/incomeRangeViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

#keyword_plan_ad_group_keyword_path(customer_id:, keyword_plan_ad_group_keyword_id:) ⇒ ::String

Create a fully-qualified KeywordPlanAdGroupKeyword resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlanAdGroupKeywords/keyword_plan_ad_group_keyword_id`

Parameters:

  • customer_id (String)
  • keyword_plan_ad_group_keyword_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1683
1684
1685
1686
1687
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1683

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

  "customers/#{customer_id}/keywordPlanAdGroupKeywords/#{keyword_plan_ad_group_keyword_id}"
end

#keyword_plan_ad_group_path(customer_id:, keyword_plan_ad_group_id:) ⇒ ::String

Create a fully-qualified KeywordPlanAdGroup resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlanAdGroups/keyword_plan_ad_group_id`

Parameters:

  • customer_id (String)
  • keyword_plan_ad_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/keywordPlanAdGroups/#{keyword_plan_ad_group_id}"
end

#keyword_plan_campaign_keyword_path(customer_id:, keyword_plan_campaign_keyword_id:) ⇒ ::String

Create a fully-qualified KeywordPlanCampaignKeyword resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlanCampaignKeywords/keyword_plan_campaign_keyword_id`

Parameters:

  • customer_id (String)
  • keyword_plan_campaign_keyword_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/keywordPlanCampaignKeywords/#{keyword_plan_campaign_keyword_id}"
end

#keyword_plan_campaign_path(customer_id:, keyword_plan_campaign_id:) ⇒ ::String

Create a fully-qualified KeywordPlanCampaign resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlanCampaigns/keyword_plan_campaign_id`

Parameters:

  • customer_id (String)
  • keyword_plan_campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1700
1701
1702
1703
1704
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1700

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

  "customers/#{customer_id}/keywordPlanCampaigns/#{keyword_plan_campaign_id}"
end

#keyword_plan_path(customer_id:, keyword_plan_id:) ⇒ ::String

Create a fully-qualified KeywordPlan resource string.

The resource will be in the following format:

‘customers/customer_id/keywordPlans/keyword_plan_id`

Parameters:

  • customer_id (String)
  • keyword_plan_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/keywordPlans/#{keyword_plan_id}"
end

#keyword_theme_constant_path(express_category_id:, express_sub_category_id:) ⇒ ::String

Create a fully-qualified KeywordThemeConstant resource string.

The resource will be in the following format:

‘keywordThemeConstants/express_category_id~express_sub_category_id`

Parameters:

  • express_category_id (String)
  • express_sub_category_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

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

Create a fully-qualified KeywordView resource string.

The resource will be in the following format:

‘customers/customer_id/keywordViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

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

Create a fully-qualified Label resource string.

The resource will be in the following format:

‘customers/customer_id/labels/label_id`

Parameters:

  • customer_id (String)
  • label_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

#landing_page_view_path(customer_id:, unexpanded_final_url_fingerprint:) ⇒ ::String

Create a fully-qualified LandingPageView resource string.

The resource will be in the following format:

‘customers/customer_id/landingPageViews/unexpanded_final_url_fingerprint`

Parameters:

  • customer_id (String)
  • unexpanded_final_url_fingerprint (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/landingPageViews/#{unexpanded_final_url_fingerprint}"
end

#language_constant_path(criterion_id:) ⇒ ::String

Create a fully-qualified LanguageConstant resource string.

The resource will be in the following format:

‘languageConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


1803
1804
1805
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1803

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

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

Create a fully-qualified LifeEvent resource string.

The resource will be in the following format:

‘customers/customer_id/lifeEvents/life_event_id`

Parameters:

  • customer_id (String)
  • life_event_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1818
1819
1820
1821
1822
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1818

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

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

Create a fully-qualified ManagedPlacementView resource string.

The resource will be in the following format:

‘customers/customer_id/managedPlacementViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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`

Parameters:

  • customer_id (String)
  • media_file_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/mediaFiles/#{media_file_id}"
end

#mobile_app_category_constant_path(mobile_app_category_id:) ⇒ ::String

Create a fully-qualified MobileAppCategoryConstant resource string.

The resource will be in the following format:

‘mobileAppCategoryConstants/mobile_app_category_id`

Parameters:

  • mobile_app_category_id (String)

Returns:

  • (::String)


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

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

#mobile_device_constant_path(criterion_id:) ⇒ ::String

Create a fully-qualified MobileDeviceConstant resource string.

The resource will be in the following format:

‘mobileDeviceConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


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

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`

Parameters:

  • customer_id (String)
  • offline_user_data_update_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/offlineUserDataJobs/#{offline_user_data_update_id}"
end

#operating_system_version_constant_path(criterion_id:) ⇒ ::String

Create a fully-qualified OperatingSystemVersionConstant resource string.

The resource will be in the following format:

‘operatingSystemVersionConstants/criterion_id`

Parameters:

  • criterion_id (String)

Returns:

  • (::String)


1934
1935
1936
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1934

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

Create a fully-qualified PaidOrganicSearchTermView resource string.

The resource will be in the following format:

‘customers/customer_id/paidOrganicSearchTermViews/campaign_id~ad_group_id~base64_search_term`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1951
1952
1953
1954
1955
1956
1957
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1951

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

  "customers/#{customer_id}/paidOrganicSearchTermViews/#{campaign_id}~#{ad_group_id}~#{base64_search_term}"
end

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

Create a fully-qualified ParentalStatusView resource string.

The resource will be in the following format:

‘customers/customer_id/parentalStatusViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1971
1972
1973
1974
1975
1976
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1971

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

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

#payments_account_path(customer_id:, payments_account_id:) ⇒ ::String

Create a fully-qualified PaymentsAccount resource string.

The resource will be in the following format:

‘customers/customer_id/paymentsAccounts/payments_account_id`

Parameters:

  • customer_id (String)
  • payments_account_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1989
1990
1991
1992
1993
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 1989

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

  "customers/#{customer_id}/paymentsAccounts/#{}"
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`

Parameters:

  • country_code (String)
  • level (String)
  • id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2007
2008
2009
2010
2011
2012
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2007

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2026
2027
2028
2029
2030
2031
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2026

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

  "customers/#{customer_id}/productGroupViews/#{adgroup_id}~#{criterion_id}"
end

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

Create a fully-qualified Recommendation resource string.

The resource will be in the following format:

‘customers/customer_id/recommendations/recommendation_id`

Parameters:

  • customer_id (String)
  • recommendation_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2044
2045
2046
2047
2048
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2044

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`

Parameters:

  • customer_id (String)
  • remarketing_action_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2061
2062
2063
2064
2065
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2061

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

  "customers/#{customer_id}/remarketingActions/#{remarketing_action_id}"
end

#search_term_view_path(customer_id:, campaign_id:, ad_group_id:, query:) ⇒ ::String

Create a fully-qualified SearchTermView resource string.

The resource will be in the following format:

‘customers/customer_id/searchTermViews/campaign_id~ad_group_id~query`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2080
2081
2082
2083
2084
2085
2086
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2080

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

  "customers/#{customer_id}/searchTermViews/#{campaign_id}~#{ad_group_id}~#{query}"
end

#shared_criterion_path(customer_id:, shared_set_id:, criterion_id:) ⇒ ::String

Create a fully-qualified SharedCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/sharedCriteria/shared_set_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2100
2101
2102
2103
2104
2105
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2100

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

  "customers/#{customer_id}/sharedCriteria/#{shared_set_id}~#{criterion_id}"
end

#shared_set_path(customer_id:, shared_set_id:) ⇒ ::String

Create a fully-qualified SharedSet resource string.

The resource will be in the following format:

‘customers/customer_id/sharedSets/shared_set_id`

Parameters:

  • customer_id (String)
  • shared_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2118
2119
2120
2121
2122
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2118

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

  "customers/#{customer_id}/sharedSets/#{shared_set_id}"
end

#shopping_performance_view_path(customer_id:) ⇒ ::String

Create a fully-qualified ShoppingPerformanceView resource string.

The resource will be in the following format:

‘customers/customer_id/shoppingPerformanceView`

Parameters:

  • customer_id (String)

Returns:

  • (::String)


2134
2135
2136
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2134

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`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2150
2151
2152
2153
2154
2155
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2150

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

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

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

Create a fully-qualified SmartCampaignSetting resource string.

The resource will be in the following format:

‘customers/customer_id/smartCampaignSettings/campaign_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2168
2169
2170
2171
2172
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2168

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`

Parameters:

  • customer_id (String)
  • customer_link_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2185
2186
2187
2188
2189
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2185

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

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

#topic_constant_path(topic_id:) ⇒ ::String

Create a fully-qualified TopicConstant resource string.

The resource will be in the following format:

‘topicConstants/topic_id`

Parameters:

  • topic_id (String)

Returns:

  • (::String)


2201
2202
2203
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2201

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

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

Create a fully-qualified TopicView resource string.

The resource will be in the following format:

‘customers/customer_id/topicViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2217
2218
2219
2220
2221
2222
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2217

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

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

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

Create a fully-qualified UserInterest resource string.

The resource will be in the following format:

‘customers/customer_id/userInterests/user_interest_id`

Parameters:

  • customer_id (String)
  • user_interest_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2235
2236
2237
2238
2239
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2235

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`

Parameters:

  • customer_id (String)
  • user_list_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2252
2253
2254
2255
2256
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2252

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

  "customers/#{customer_id}/userLists/#{user_list_id}"
end

#user_location_view_path(customer_id:, country_criterion_id:, is_targeting_location:) ⇒ ::String

Create a fully-qualified UserLocationView resource string.

The resource will be in the following format:

‘customers/customer_id/userLocationViews/country_criterion_id~is_targeting_location`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2270
2271
2272
2273
2274
2275
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2270

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`

Parameters:

  • customer_id (String)
  • video_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2288
2289
2290
2291
2292
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2288

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

  "customers/#{customer_id}/videos/#{video_id}"
end

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

Create a fully-qualified WebpageView resource string.

The resource will be in the following format:

‘customers/customer_id/webpageViews/ad_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


2306
2307
2308
2309
2310
2311
# File 'lib/google/ads/google_ads/v8/services/google_ads_service/paths.rb', line 2306

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