Module: Google::Ads::GoogleAds::V14::Services::BatchJobService::Paths

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

Overview

Path helper methods for the BatchJobService 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/v14/services/batch_job_service/paths.rb', line 39

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

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

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


111
112
113
114
115
116
117
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 111

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

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

#ad_group_ad_path(customer_id:, ad_group_id:, ad_id:) ⇒ ::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)


91
92
93
94
95
96
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 91

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

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

#ad_group_asset_path(customer_id:, ad_group_id:, asset_id:, field_type:) ⇒ ::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)


132
133
134
135
136
137
138
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 132

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

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

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


152
153
154
155
156
157
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 152

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

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

#ad_group_criterion_customizer_path(customer_id:, ad_group_id:, criterion_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified AdGroupCriterionCustomizer resource string.

The resource will be in the following format:

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

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

  "customers/#{customer_id}/adGroupCriterionCustomizers/#{ad_group_id}~#{criterion_id}~#{customizer_attribute_id}"
end

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

Create a fully-qualified AdGroupCriterionLabel resource string.

The resource will be in the following format:

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

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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)


171
172
173
174
175
176
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 171

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

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

#ad_group_customizer_path(customer_id:, ad_group_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified AdGroupCustomizer resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupCustomizers/ad_group_id~customizer_attribute_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


232
233
234
235
236
237
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 232

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

  "customers/#{customer_id}/adGroupCustomizers/#{ad_group_id}~#{customizer_attribute_id}"
end

#ad_group_extension_setting_path(customer_id:, ad_group_id:, extension_type:) ⇒ ::String

Create a fully-qualified AdGroupExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/adGroupExtensionSettings/ad_group_id~extension_type`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


251
252
253
254
255
256
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 251

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)


270
271
272
273
274
275
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 270

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)


289
290
291
292
293
294
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 289

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)


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

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

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

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


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

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)


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

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

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

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

Create a fully-qualified AssetGroupAsset resource string.

The resource will be in the following format:

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

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


364
365
366
367
368
369
370
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 364

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

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

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

Create a fully-qualified AssetGroupListingGroupFilter resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroupListingGroupFilters/asset_group_id~listing_group_filter_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


384
385
386
387
388
389
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 384

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

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

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

Create a fully-qualified AssetGroup resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroups/asset_group_id`

Parameters:

  • customer_id (String)
  • asset_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


345
346
347
348
349
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 345

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

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

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

Create a fully-qualified AssetGroupSignal resource string.

The resource will be in the following format:

‘customers/customer_id/assetGroupSignals/asset_group_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


403
404
405
406
407
408
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 403

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

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

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

Create a fully-qualified Asset resource string.

The resource will be in the following format:

‘customers/customer_id/assets/asset_id`

Parameters:

  • customer_id (String)
  • asset_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


328
329
330
331
332
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 328

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

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

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

Create a fully-qualified AssetSetAsset resource string.

The resource will be in the following format:

‘customers/customer_id/assetSetAssets/asset_set_id~asset_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


439
440
441
442
443
444
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 439

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

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

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

Create a fully-qualified AssetSet resource string.

The resource will be in the following format:

‘customers/customer_id/assetSets/asset_set_id`

Parameters:

  • customer_id (String)
  • asset_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


421
422
423
424
425
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 421

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

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

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

Create a fully-qualified Audience resource string.

The resource will be in the following format:

‘customers/customer_id/audiences/audience_id`

Parameters:

  • customer_id (String)
  • audience_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


457
458
459
460
461
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 457

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

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

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

Create a fully-qualified BatchJob resource string.

The resource will be in the following format:

‘customers/customer_id/batchJobs/batch_job_id`

Parameters:

  • customer_id (String)
  • batch_job_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


474
475
476
477
478
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 474

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

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

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

Create a fully-qualified BiddingDataExclusion resource string.

The resource will be in the following format:

‘customers/customer_id/biddingDataExclusions/seasonality_event_id`

Parameters:

  • customer_id (String)
  • seasonality_event_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


491
492
493
494
495
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 491

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

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

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

Create a fully-qualified BiddingSeasonalityAdjustment resource string.

The resource will be in the following format:

‘customers/customer_id/biddingSeasonalityAdjustments/seasonality_event_id`

Parameters:

  • customer_id (String)
  • seasonality_event_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


508
509
510
511
512
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 508

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

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

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

Create a fully-qualified BiddingStrategy resource string.

The resource will be in the following format:

‘customers/customer_id/biddingStrategies/bidding_strategy_id`

Parameters:

  • customer_id (String)
  • bidding_strategy_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


525
526
527
528
529
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 525

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

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

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


561
562
563
564
565
566
567
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 561

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

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

#campaign_asset_set_path(customer_id:, campaign_id:, asset_set_id:) ⇒ ::String

Create a fully-qualified CampaignAssetSet resource string.

The resource will be in the following format:

‘customers/customer_id/campaignAssetSets/campaign_id~asset_set_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


581
582
583
584
585
586
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 581

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

  "customers/#{customer_id}/campaignAssetSets/#{campaign_id}~#{asset_set_id}"
end

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


600
601
602
603
604
605
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 600

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)


618
619
620
621
622
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 618

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

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

#campaign_conversion_goal_path(customer_id:, campaign_id:, category:, source:) ⇒ ::String

Create a fully-qualified CampaignConversionGoal resource string.

The resource will be in the following format:

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

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


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

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

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

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

Create a fully-qualified CampaignCriterion resource string.

The resource will be in the following format:

‘customers/customer_id/campaignCriteria/campaign_id~criterion_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


657
658
659
660
661
662
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 657

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

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

#campaign_customizer_path(customer_id:, campaign_id:, customizer_attribute_id:) ⇒ ::String

Create a fully-qualified CampaignCustomizer resource string.

The resource will be in the following format:

‘customers/customer_id/campaignCustomizers/campaign_id~customizer_attribute_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


676
677
678
679
680
681
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 676

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

  "customers/#{customer_id}/campaignCustomizers/#{campaign_id}~#{customizer_attribute_id}"
end

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

Create a fully-qualified CampaignDraft resource string.

The resource will be in the following format:

‘customers/customer_id/campaignDrafts/base_campaign_id~draft_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


695
696
697
698
699
700
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 695

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

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

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

Create a fully-qualified CampaignExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/campaignExtensionSettings/campaign_id~extension_type`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


714
715
716
717
718
719
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 714

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)


733
734
735
736
737
738
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 733

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

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

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

Create a fully-qualified CampaignGroup resource string.

The resource will be in the following format:

‘customers/customer_id/campaignGroups/campaign_group_id`

Parameters:

  • customer_id (String)
  • campaign_group_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


751
752
753
754
755
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 751

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

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

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

Create a fully-qualified CampaignLabel resource string.

The resource will be in the following format:

‘customers/customer_id/campaignLabels/campaign_id~label_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


769
770
771
772
773
774
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 769

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)


542
543
544
545
546
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 542

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)


788
789
790
791
792
793
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 788

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

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

#conversion_action_path(customer_id:, conversion_action_id:) ⇒ ::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)


806
807
808
809
810
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 806

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)


823
824
825
826
827
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 823

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

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

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

Create a fully-qualified ConversionGoalCampaignConfig resource string.

The resource will be in the following format:

‘customers/customer_id/conversionGoalCampaignConfigs/campaign_id`

Parameters:

  • customer_id (String)
  • campaign_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


840
841
842
843
844
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 840

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

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

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

Create a fully-qualified ConversionValueRule resource string.

The resource will be in the following format:

‘customers/customer_id/conversionValueRules/conversion_value_rule_id`

Parameters:

  • customer_id (String)
  • conversion_value_rule_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


857
858
859
860
861
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 857

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

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

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

Create a fully-qualified ConversionValueRuleSet resource string.

The resource will be in the following format:

‘customers/customer_id/conversionValueRuleSets/conversion_value_rule_set_id`

Parameters:

  • customer_id (String)
  • conversion_value_rule_set_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


874
875
876
877
878
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 874

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

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

#custom_conversion_goal_path(customer_id:, goal_id:) ⇒ ::String

Create a fully-qualified CustomConversionGoal resource string.

The resource will be in the following format:

‘customers/customer_id/customConversionGoals/goal_id`

Parameters:

  • customer_id (String)
  • goal_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


891
892
893
894
895
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 891

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

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

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


923
924
925
926
927
928
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 923

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

  "customers/#{customer_id}/customerAssets/#{asset_id}~#{field_type}"
end

#customer_conversion_goal_path(customer_id:, category:, source:) ⇒ ::String

Create a fully-qualified CustomerConversionGoal resource string.

The resource will be in the following format:

‘customers/customer_id/customerConversionGoals/category~source`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


942
943
944
945
946
947
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 942

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

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

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

Create a fully-qualified CustomerCustomizer resource string.

The resource will be in the following format:

‘customers/customer_id/customerCustomizers/customizer_attribute_id`

Parameters:

  • customer_id (String)
  • customizer_attribute_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


960
961
962
963
964
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 960

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

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

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

Create a fully-qualified CustomerExtensionSetting resource string.

The resource will be in the following format:

‘customers/customer_id/customerExtensionSettings/extension_type`

Parameters:

  • customer_id (String)
  • extension_type (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


977
978
979
980
981
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 977

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)


994
995
996
997
998
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 994

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)


1011
1012
1013
1014
1015
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1011

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

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

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


1028
1029
1030
1031
1032
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1028

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)


907
908
909
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 907

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

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

Create a fully-qualified CustomizerAttribute resource string.

The resource will be in the following format:

‘customers/customer_id/customizerAttributes/customizer_attribute_id`

Parameters:

  • customer_id (String)
  • customizer_attribute_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1045
1046
1047
1048
1049
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1045

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

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

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

Create a fully-qualified ExperimentArm resource string.

The resource will be in the following format:

‘customers/customer_id/experimentArms/trial_id~trial_arm_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1080
1081
1082
1083
1084
1085
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1080

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

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

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

Create a fully-qualified Experiment resource string.

The resource will be in the following format:

‘customers/customer_id/experiments/trial_id`

Parameters:

  • customer_id (String)
  • trial_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1062
1063
1064
1065
1066
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1062

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

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

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

Create a fully-qualified ExtensionFeedItem resource string.

The resource will be in the following format:

‘customers/customer_id/extensionFeedItems/feed_item_id`

Parameters:

  • customer_id (String)
  • feed_item_id (String)

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1098
1099
1100
1101
1102
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1098

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)


1133
1134
1135
1136
1137
1138
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1133

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)


1172
1173
1174
1175
1176
1177
1178
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1172

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)


1152
1153
1154
1155
1156
1157
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1152

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)


1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1194

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

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

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

Create a fully-qualified FeedMapping resource string.

The resource will be in the following format:

‘customers/customer_id/feedMappings/feed_id~feed_mapping_id`

Parameters:

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

Returns:

  • (::String)

Raises:

  • (::ArgumentError)


1219
1220
1221
1222
1223
1224
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1219

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)


1115
1116
1117
1118
1119
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1115

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

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

#geo_target_constant_path(criterion_id:) ⇒ ::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)


1236
1237
1238
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1236

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

#keyword_plan_ad_group_keyword_path(customer_id:, keyword_plan_ad_group_keyword_id:) ⇒ ::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)


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

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)


1268
1269
1270
1271
1272
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1268

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)


1319
1320
1321
1322
1323
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1319

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)


1302
1303
1304
1305
1306
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1302

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)


1251
1252
1253
1254
1255
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1251

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

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

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


1336
1337
1338
1339
1340
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1336

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

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

#language_constant_path(criterion_id:) ⇒ ::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)


1352
1353
1354
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1352

def language_constant_path criterion_id:
  "languageConstants/#{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)


1367
1368
1369
1370
1371
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1367

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

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

#remarketing_action_path(customer_id:, remarketing_action_id:) ⇒ ::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)


1384
1385
1386
1387
1388
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1384

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

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

#shared_criterion_path(customer_id:, shared_set_id:, criterion_id:) ⇒ ::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)


1402
1403
1404
1405
1406
1407
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1402

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)


1420
1421
1422
1423
1424
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1420

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

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

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


1437
1438
1439
1440
1441
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1437

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

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

#user_interest_path(customer_id:, user_interest_id:) ⇒ ::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)


1454
1455
1456
1457
1458
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1454

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)


1471
1472
1473
1474
1475
# File 'lib/google/ads/google_ads/v14/services/batch_job_service/paths.rb', line 1471

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