File Coverage

blib/lib/Google/Ads/GoogleAds/V10/Utils/ResourceNames.pm
Criterion Covered Total %
statement 9 477 1.8
branch n/a
condition n/a
subroutine 3 159 1.8
pod 0 156 0.0
total 12 792 1.5


line stmt bran cond sub pod time code
1             # Copyright 2020, Google LLC
2             #
3             # Licensed under the Apache License, Version 2.0 (the "License");
4             # you may not use this file except in compliance with the License.
5             # You may obtain a copy of the License at
6             #
7             # http://www.apache.org/licenses/LICENSE-2.0
8             #
9             # Unless required by applicable law or agreed to in writing, software
10             # distributed under the License is distributed on an "AS IS" BASIS,
11             # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12             # See the License for the specific language governing permissions and
13             # limitations under the License.
14             #
15             # This module provides methods to generate resource names.
16              
17              
18             use strict;
19 1     1   952 use warnings;
  1         3  
  1         25  
20 1     1   5  
  1         2  
  1         24  
21             use Google::Ads::GoogleAds::Utils::GoogleAdsHelper;
22 1     1   5  
  1         2  
  1         6028  
23             # Returns the accessible_bidding_strategy resource name for the specified components.
24             my ($customer_id, $bidding_strategy_id) = @_;
25              
26 0     0 0   my $path_template =
27             'customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}';
28 0            
29             return expand_path_template($path_template,
30             [$customer_id, $bidding_strategy_id]);
31 0           }
32              
33             # Returns the account_budget resource name for the specified components.
34             my ($customer_id, $account_budget_id) = @_;
35              
36             my $path_template =
37 0     0 0   'customers/{customer_id}/accountBudgets/{account_budget_id}';
38              
39 0           return expand_path_template($path_template,
40             [$customer_id, $account_budget_id]);
41             }
42 0            
43             # Returns the account_budget_proposal resource name for the specified components.
44             my ($customer_id, $account_budget_proposal_id) = @_;
45              
46             my $path_template =
47             'customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}';
48 0     0 0    
49             return expand_path_template($path_template,
50 0           [$customer_id, $account_budget_proposal_id]);
51             }
52              
53 0           # Returns the account_link resource name for the specified components.
54             my ($customer_id, $account_link_id) = @_;
55              
56             my $path_template = 'customers/{customer_id}/accountLinks/{account_link_id}';
57              
58             return expand_path_template($path_template, [$customer_id, $account_link_id]);
59 0     0 0   }
60              
61 0           # Returns the ad resource name for the specified components.
62             my ($customer_id, $ad_id) = @_;
63 0            
64             my $path_template = 'customers/{customer_id}/ads/{ad_id}';
65              
66             return expand_path_template($path_template, [$customer_id, $ad_id]);
67             }
68 0     0 0    
69             # Returns the ad_group resource name for the specified components.
70 0           my ($customer_id, $ad_group_id) = @_;
71              
72 0           my $path_template = 'customers/{customer_id}/adGroups/{ad_group_id}';
73              
74             return expand_path_template($path_template, [$customer_id, $ad_group_id]);
75             }
76              
77 0     0 0   # Returns the ad_group_ad resource name for the specified components.
78             my ($customer_id, $ad_group_id, $ad_id) = @_;
79 0            
80             my $path_template =
81 0           'customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}';
82              
83             return expand_path_template($path_template,
84             [$customer_id, $ad_group_id, $ad_id]);
85             }
86 0     0 0    
87             # Returns the ad_group_ad_asset_combination_view resource name for the specified components.
88 0           my ($customer_id, $ad_group_id, $ad_id, $asset_combination_id_low,
89             $asset_combination_id_high)
90             = @_;
91 0            
92             my $path_template =
93             'customers/{customer_id}/adGroupAdAssetCombinationViews/{ad_group_id}~{ad_id}~{asset_combination_id_low}~{asset_combination_id_high}';
94              
95             return expand_path_template(
96             $path_template,
97 0     0 0   [
98             $customer_id, $ad_group_id,
99             $ad_id, $asset_combination_id_low,
100             $asset_combination_id_high
101 0           ]);
102             }
103              
104 0           # Returns the ad_group_ad_asset_view resource name for the specified components.
105             my ($customer_id, $ad_group_id, $ad_id, $asset_id, $field_type) = @_;
106              
107             my $path_template =
108             'customers/{customer_id}/adGroupAdAssets/{ad_group_id}~{ad_id}~{asset_id}~{field_type}';
109              
110             return expand_path_template($path_template,
111             [$customer_id, $ad_group_id, $ad_id, $asset_id, $field_type]);
112             }
113              
114             # Returns the ad_group_ad_label resource name for the specified components.
115 0     0 0   my ($customer_id, $ad_group_id, $ad_id, $label_id) = @_;
116              
117 0           my $path_template =
118             'customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}';
119              
120 0           return expand_path_template($path_template,
121             [$customer_id, $ad_group_id, $ad_id, $label_id]);
122             }
123              
124             # Returns the ad_group_asset resource name for the specified components.
125             my ($customer_id, $ad_group_id, $asset_id, $field_type) = @_;
126 0     0 0    
127             my $path_template =
128 0           'customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}';
129              
130             return expand_path_template($path_template,
131 0           [$customer_id, $ad_group_id, $asset_id, $field_type]);
132             }
133              
134             # Returns the ad_group_audience_view resource name for the specified components.
135             my ($customer_id, $ad_group_id, $criterion_id) = @_;
136              
137 0     0 0   my $path_template =
138             'customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}';
139 0            
140             return expand_path_template($path_template,
141             [$customer_id, $ad_group_id, $criterion_id]);
142 0           }
143              
144             # Returns the ad_group_bid_modifier resource name for the specified components.
145             my ($customer_id, $ad_group_id, $criterion_id) = @_;
146              
147             my $path_template =
148 0     0 0   'customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}';
149              
150 0           return expand_path_template($path_template,
151             [$customer_id, $ad_group_id, $criterion_id]);
152             }
153 0            
154             # Returns the ad_group_criterion resource name for the specified components.
155             my ($customer_id, $ad_group_id, $criterion_id) = @_;
156              
157             my $path_template =
158             'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}';
159 0     0 0    
160             return expand_path_template($path_template,
161 0           [$customer_id, $ad_group_id, $criterion_id]);
162             }
163              
164 0           # Returns the ad_group_criterion_customizer resource name for the specified components.
165             my ($customer_id, $ad_group_id, $criterion_id, $customizer_attribute_id) = @_;
166              
167             my $path_template =
168             'customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}';
169              
170 0     0 0   return expand_path_template($path_template,
171             [$customer_id, $ad_group_id, $criterion_id, $customizer_attribute_id]);
172 0           }
173              
174             # Returns the ad_group_criterion_label resource name for the specified components.
175 0           my ($customer_id, $ad_group_id, $criterion_id, $label_id) = @_;
176              
177             my $path_template =
178             'customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}';
179              
180             return expand_path_template($path_template,
181 0     0 0   [$customer_id, $ad_group_id, $criterion_id, $label_id]);
182             }
183 0            
184             # Returns the ad_group_criterion_simulation resource name for the specified components.
185             my ($customer_id, $ad_group_id, $criterion_id, $type, $modification_method,
186 0           $start_date, $end_date)
187             = @_;
188              
189             my $path_template =
190             'customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}';
191              
192 0     0 0   return expand_path_template(
193             $path_template,
194 0           [
195             $customer_id, $ad_group_id, $criterion_id, $type,
196             $modification_method, $start_date, $end_date
197 0           ]);
198             }
199              
200             # Returns the ad_group_customizer resource name for the specified components.
201             my ($customer_id, $ad_group_id, $customizer_attribute_id) = @_;
202              
203 0     0 0   my $path_template =
204             'customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}';
205              
206             return expand_path_template($path_template,
207 0           [$customer_id, $ad_group_id, $customizer_attribute_id]);
208             }
209              
210 0           # Returns the ad_group_extension_setting resource name for the specified components.
211             my ($customer_id, $ad_group_id, $extension_type) = @_;
212              
213             my $path_template =
214             'customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}';
215              
216             return expand_path_template($path_template,
217             [$customer_id, $ad_group_id, $extension_type]);
218             }
219              
220 0     0 0   # Returns the ad_group_feed resource name for the specified components.
221             my ($customer_id, $ad_group_id, $feed_id) = @_;
222 0            
223             my $path_template =
224             'customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}';
225 0            
226             return expand_path_template($path_template,
227             [$customer_id, $ad_group_id, $feed_id]);
228             }
229              
230             # Returns the ad_group_label resource name for the specified components.
231 0     0 0   my ($customer_id, $ad_group_id, $label_id) = @_;
232              
233 0           my $path_template =
234             'customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}';
235              
236 0           return expand_path_template($path_template,
237             [$customer_id, $ad_group_id, $label_id]);
238             }
239              
240             # Returns the ad_group_simulation resource name for the specified components.
241             my ($customer_id, $ad_group_id, $type, $modification_method, $start_date,
242 0     0 0   $end_date)
243             = @_;
244 0            
245             my $path_template =
246             'customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}';
247 0            
248             return expand_path_template(
249             $path_template,
250             [
251             $customer_id, $ad_group_id, $type,
252             $modification_method, $start_date, $end_date
253 0     0 0   ]);
254             }
255 0            
256             # Returns the ad_parameter resource name for the specified components.
257             my ($customer_id, $ad_group_id, $criterion_id, $parameter_index) = @_;
258 0            
259             my $path_template =
260             'customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}';
261              
262             return expand_path_template($path_template,
263             [$customer_id, $ad_group_id, $criterion_id, $parameter_index]);
264 0     0 0   }
265              
266             # Returns the ad_schedule_view resource name for the specified components.
267             my ($customer_id, $campaign_id, $criterion_id) = @_;
268 0            
269             my $path_template =
270             'customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}';
271 0            
272             return expand_path_template($path_template,
273             [$customer_id, $campaign_id, $criterion_id]);
274             }
275              
276             # Returns the age_range_view resource name for the specified components.
277             my ($customer_id, $ad_group_id, $criterion_id) = @_;
278              
279             my $path_template =
280             'customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}';
281 0     0 0    
282             return expand_path_template($path_template,
283 0           [$customer_id, $ad_group_id, $criterion_id]);
284             }
285              
286 0           # Returns the asset resource name for the specified components.
287             my ($customer_id, $asset_id) = @_;
288              
289             my $path_template = 'customers/{customer_id}/assets/{asset_id}';
290              
291             return expand_path_template($path_template, [$customer_id, $asset_id]);
292 0     0 0   }
293              
294 0           # Returns the asset_field_type_view resource name for the specified components.
295             my ($customer_id, $field_type) = @_;
296              
297 0           my $path_template =
298             'customers/{customer_id}/assetFieldTypeViews/{field_type}';
299              
300             return expand_path_template($path_template, [$customer_id, $field_type]);
301             }
302              
303 0     0 0   # Returns the asset_group resource name for the specified components.
304             my ($customer_id, $asset_group_id) = @_;
305 0            
306             my $path_template = 'customers/{customer_id}/assetGroups/{asset_group_id}';
307              
308 0           return expand_path_template($path_template, [$customer_id, $asset_group_id]);
309             }
310              
311             # Returns the asset_group_asset resource name for the specified components.
312             my ($customer_id, $asset_group_id, $asset_id, $field_type) = @_;
313              
314 0     0 0   my $path_template =
315             'customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}';
316 0            
317             return expand_path_template($path_template,
318 0           [$customer_id, $asset_group_id, $asset_id, $field_type]);
319             }
320              
321             # Returns the asset_group_listing_group_filter resource name for the specified components.
322             my ($customer_id, $asset_group_id, $listing_group_filter_id) = @_;
323 0     0 0    
324             my $path_template =
325 0           'customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}';
326              
327             return expand_path_template($path_template,
328 0           [$customer_id, $asset_group_id, $listing_group_filter_id]);
329             }
330              
331             # Returns the asset_group_product_group_view resource name for the specified components.
332             my ($customer_id, $asset_group_id, $listing_group_filter_id) = @_;
333 0     0 0    
334             my $path_template =
335 0           'customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}';
336              
337 0           return expand_path_template($path_template,
338             [$customer_id, $asset_group_id, $listing_group_filter_id]);
339             }
340              
341             # Returns the asset_group_signal resource name for the specified components.
342 0     0 0   my ($customer_id, $asset_group_id, $signal_id) = @_;
343              
344 0           my $path_template =
345             'customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}';
346              
347 0           return expand_path_template($path_template,
348             [$customer_id, $asset_group_id, $signal_id]);
349             }
350              
351             # Returns the asset_set resource name for the specified components.
352             my ($customer_id, $asset_set_id) = @_;
353 0     0 0    
354             my $path_template = 'customers/{customer_id}/assetSets/{asset_set_id}';
355 0            
356             return expand_path_template($path_template, [$customer_id, $asset_set_id]);
357             }
358 0            
359             # Returns the asset_set_asset resource name for the specified components.
360             my ($customer_id, $asset_set_id, $asset_id) = @_;
361              
362             my $path_template =
363             'customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}';
364 0     0 0    
365             return expand_path_template($path_template,
366 0           [$customer_id, $asset_set_id, $asset_id]);
367             }
368              
369 0           # Returns the audience resource name for the specified components.
370             my ($customer_id, $audience_id) = @_;
371              
372             my $path_template = 'customers/{customer_id}/audiences/{audience_id}';
373              
374             return expand_path_template($path_template, [$customer_id, $audience_id]);
375 0     0 0   }
376              
377 0           # Returns the batch_job resource name for the specified components.
378             my ($customer_id, $batch_job_id) = @_;
379              
380 0           my $path_template = 'customers/{customer_id}/batchJobs/{batch_job_id}';
381              
382             return expand_path_template($path_template, [$customer_id, $batch_job_id]);
383             }
384              
385             # Returns the bidding_data_exclusion resource name for the specified components.
386 0     0 0   my ($customer_id, $data_exclusion_id) = @_;
387              
388 0           my $path_template =
389             'customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}';
390 0            
391             return expand_path_template($path_template,
392             [$customer_id, $data_exclusion_id]);
393             }
394              
395 0     0 0   # Returns the bidding_seasonality_adjustment resource name for the specified components.
396             my ($customer_id, $seasonality_adjustment_id) = @_;
397 0            
398             my $path_template =
399             'customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}';
400 0            
401             return expand_path_template($path_template,
402             [$customer_id, $seasonality_adjustment_id]);
403             }
404              
405             # Returns the bidding_strategy resource name for the specified components.
406 0     0 0   my ($customer_id, $bidding_strategy_id) = @_;
407              
408 0           my $path_template =
409             'customers/{customer_id}/biddingStrategies/{bidding_strategy_id}';
410 0            
411             return expand_path_template($path_template,
412             [$customer_id, $bidding_strategy_id]);
413             }
414              
415 0     0 0   # Returns the bidding_strategy_simulation resource name for the specified components.
416             my ($customer_id, $bidding_strategy_id, $type, $modification_method,
417 0           $start_date, $end_date)
418             = @_;
419 0            
420             my $path_template =
421             'customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}';
422              
423             return expand_path_template(
424 0     0 0   $path_template,
425             [
426 0           $customer_id, $bidding_strategy_id, $type,
427             $modification_method, $start_date, $end_date
428             ]);
429 0           }
430              
431             # Returns the billing_setup resource name for the specified components.
432             my ($customer_id, $billing_setup_id) = @_;
433              
434             my $path_template =
435 0     0 0   'customers/{customer_id}/billingSetups/{billing_setup_id}';
436              
437 0           return expand_path_template($path_template,
438             [$customer_id, $billing_setup_id]);
439             }
440 0            
441             # Returns the call_view resource name for the specified components.
442             my ($customer_id, $call_detail_id) = @_;
443              
444             my $path_template = 'customers/{customer_id}/callViews/{call_detail_id}';
445              
446 0     0 0   return expand_path_template($path_template, [$customer_id, $call_detail_id]);
447             }
448 0            
449             # Returns the campaign resource name for the specified components.
450             my ($customer_id, $campaign_id) = @_;
451 0            
452             my $path_template = 'customers/{customer_id}/campaigns/{campaign_id}';
453              
454             return expand_path_template($path_template, [$customer_id, $campaign_id]);
455             }
456              
457 0     0 0   # Returns the campaign_asset resource name for the specified components.
458             my ($customer_id, $campaign_id, $asset_id, $field_type) = @_;
459              
460             my $path_template =
461 0           'customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}';
462              
463             return expand_path_template($path_template,
464 0           [$customer_id, $campaign_id, $asset_id, $field_type]);
465             }
466              
467             # Returns the campaign_asset_set resource name for the specified components.
468             my ($customer_id, $campaign_id, $asset_set_id) = @_;
469              
470             my $path_template =
471             'customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}';
472              
473             return expand_path_template($path_template,
474 0     0 0   [$customer_id, $campaign_id, $asset_set_id]);
475             }
476 0            
477             # Returns the campaign_audience_view resource name for the specified components.
478             my ($customer_id, $campaign_id, $criterion_id) = @_;
479 0            
480             my $path_template =
481             'customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}';
482              
483             return expand_path_template($path_template,
484             [$customer_id, $campaign_id, $criterion_id]);
485 0     0 0   }
486              
487 0           # Returns the campaign_bid_modifier resource name for the specified components.
488             my ($customer_id, $campaign_id, $criterion_id) = @_;
489 0            
490             my $path_template =
491             'customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}';
492              
493             return expand_path_template($path_template,
494 0     0 0   [$customer_id, $campaign_id, $criterion_id]);
495             }
496 0            
497             # Returns the campaign_budget resource name for the specified components.
498 0           my ($customer_id, $campaign_budget_id) = @_;
499              
500             my $path_template =
501             'customers/{customer_id}/campaignBudgets/{campaign_budget_id}';
502              
503 0     0 0   return expand_path_template($path_template,
504             [$customer_id, $campaign_budget_id]);
505 0           }
506              
507             # Returns the campaign_conversion_goal resource name for the specified components.
508 0           my ($customer_id, $campaign_id, $category, $origin) = @_;
509              
510             my $path_template =
511             'customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}';
512              
513             return expand_path_template($path_template,
514 0     0 0   [$customer_id, $campaign_id, $category, $origin]);
515             }
516 0            
517             # Returns the campaign_criterion resource name for the specified components.
518             my ($customer_id, $campaign_id, $criterion_id) = @_;
519 0            
520             my $path_template =
521             'customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}';
522              
523             return expand_path_template($path_template,
524             [$customer_id, $campaign_id, $criterion_id]);
525 0     0 0   }
526              
527 0           # Returns the campaign_criterion_simulation resource name for the specified components.
528             my ($customer_id, $campaign_id, $criterion_id, $type, $modification_method,
529             $start_date, $end_date)
530 0           = @_;
531              
532             my $path_template =
533             'customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}';
534              
535             return expand_path_template(
536 0     0 0   $path_template,
537             [
538 0           $customer_id, $campaign_id, $criterion_id, $type,
539             $modification_method, $start_date, $end_date
540             ]);
541 0           }
542              
543             # Returns the campaign_customizer resource name for the specified components.
544             my ($customer_id, $campaign_id, $customizer_attribute_id) = @_;
545              
546             my $path_template =
547 0     0 0   'customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}';
548              
549 0           return expand_path_template($path_template,
550             [$customer_id, $campaign_id, $customizer_attribute_id]);
551             }
552 0            
553             # Returns the campaign_draft resource name for the specified components.
554             my ($customer_id, $base_campaign_id, $draft_id) = @_;
555              
556             my $path_template =
557             'customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}';
558 0     0 0    
559             return expand_path_template($path_template,
560 0           [$customer_id, $base_campaign_id, $draft_id]);
561             }
562              
563 0           # Returns the campaign_experiment resource name for the specified components.
564             my ($customer_id, $campaign_experiment_id) = @_;
565              
566             my $path_template =
567             'customers/{customer_id}/campaignExperiments/{campaign_experiment_id}';
568              
569 0     0 0   return expand_path_template($path_template,
570             [$customer_id, $campaign_experiment_id]);
571 0           }
572              
573             # Returns the campaign_extension_setting resource name for the specified components.
574 0           my ($customer_id, $campaign_id, $extension_type) = @_;
575              
576             my $path_template =
577             'customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}';
578              
579             return expand_path_template($path_template,
580 0     0 0   [$customer_id, $campaign_id, $extension_type]);
581             }
582              
583             # Returns the campaign_feed resource name for the specified components.
584 0           my ($customer_id, $campaign_id, $feed_id) = @_;
585              
586             my $path_template =
587 0           'customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}';
588              
589             return expand_path_template($path_template,
590             [$customer_id, $campaign_id, $feed_id]);
591             }
592              
593             # Returns the campaign_group resource name for the specified components.
594             my ($customer_id, $campaign_group_id) = @_;
595              
596             my $path_template =
597 0     0 0   'customers/{customer_id}/campaignGroups/{campaign_group_id}';
598              
599 0           return expand_path_template($path_template,
600             [$customer_id, $campaign_group_id]);
601             }
602 0            
603             # Returns the campaign_label resource name for the specified components.
604             my ($customer_id, $campaign_id, $label_id) = @_;
605              
606             my $path_template =
607             'customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}';
608 0     0 0    
609             return expand_path_template($path_template,
610 0           [$customer_id, $campaign_id, $label_id]);
611             }
612              
613 0           # Returns the campaign_shared_set resource name for the specified components.
614             my ($customer_id, $campaign_id, $shared_set_id) = @_;
615              
616             my $path_template =
617             'customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}';
618              
619 0     0 0   return expand_path_template($path_template,
620             [$customer_id, $campaign_id, $shared_set_id]);
621 0           }
622              
623             # Returns the campaign_simulation resource name for the specified components.
624 0           my ($customer_id, $campaign_id, $type, $modification_method, $start_date,
625             $end_date)
626             = @_;
627              
628             my $path_template =
629             'customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}';
630 0     0 0    
631             return expand_path_template(
632 0           $path_template,
633             [
634             $customer_id, $campaign_id, $type,
635 0           $modification_method, $start_date, $end_date
636             ]);
637             }
638              
639             # Returns the carrier_constant resource name for the specified components.
640             my ($criterion_id) = @_;
641 0     0 0    
642             my $path_template = 'carrierConstants/{criterion_id}';
643 0            
644             return expand_path_template($path_template, [$criterion_id]);
645             }
646 0            
647             # Returns the change_event resource name for the specified components.
648             my ($customer_id, $timestamp_micros, $command_index, $mutate_index) = @_;
649              
650             my $path_template =
651             'customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}';
652 0     0 0    
653             return expand_path_template($path_template,
654 0           [$customer_id, $timestamp_micros, $command_index, $mutate_index]);
655             }
656              
657 0           # Returns the change_status resource name for the specified components.
658             my ($customer_id, $change_status_id) = @_;
659              
660             my $path_template = 'customers/{customer_id}/changeStatus/{change_status_id}';
661              
662             return expand_path_template($path_template,
663 0     0 0   [$customer_id, $change_status_id]);
664             }
665 0            
666             # Returns the click_view resource name for the specified components.
667             my ($customer_id, $date_yyyy_MM_dd, $gclid) = @_;
668 0            
669             my $path_template =
670             'customers/{customer_id}/clickViews/{date_yyyy_MM_dd}~{gclid}';
671              
672             return expand_path_template($path_template,
673             [$customer_id, $date_yyyy_MM_dd, $gclid]);
674 0     0 0   }
675              
676 0           # Returns the combined_audience resource name for the specified components.
677             my ($customer_id, $combined_audience_id) = @_;
678              
679 0           my $path_template =
680             'customers/{customer_id}/combinedAudience/{combined_audience_id}';
681              
682             return expand_path_template($path_template,
683             [$customer_id, $combined_audience_id]);
684             }
685 0     0 0    
686             # Returns the conversion_action resource name for the specified components.
687             my ($customer_id, $conversion_action_id) = @_;
688              
689 0           my $path_template =
690             'customers/{customer_id}/conversionActions/{conversion_action_id}';
691              
692 0           return expand_path_template($path_template,
693             [$customer_id, $conversion_action_id]);
694             }
695              
696             # Returns the conversion_custom_variable resource name for the specified components.
697             my ($customer_id, $conversion_custom_variable_id) = @_;
698              
699             my $path_template =
700             'customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}';
701              
702 0     0 0   return expand_path_template($path_template,
703             [$customer_id, $conversion_custom_variable_id]);
704 0           }
705              
706 0           # Returns the conversion_goal_campaign_config resource name for the specified components.
707             my ($customer_id, $campaign_id) = @_;
708              
709             my $path_template =
710             'customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}';
711 0     0 0    
712             return expand_path_template($path_template, [$customer_id, $campaign_id]);
713 0           }
714              
715             # Returns the conversion_value_rule resource name for the specified components.
716 0           my ($customer_id, $conversion_value_rule_id) = @_;
717              
718             my $path_template =
719             'customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}';
720              
721             return expand_path_template($path_template,
722 0     0 0   [$customer_id, $conversion_value_rule_id]);
723             }
724 0            
725             # Returns the conversion_value_rule_set resource name for the specified components.
726 0           my ($customer_id, $conversion_value_rule_set_id) = @_;
727              
728             my $path_template =
729             'customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}';
730              
731             return expand_path_template($path_template,
732 0     0 0   [$customer_id, $conversion_value_rule_set_id]);
733             }
734 0            
735             # Returns the currency_constant resource name for the specified components.
736             my ($code) = @_;
737 0            
738             my $path_template = 'currencyConstants/{code}';
739              
740             return expand_path_template($path_template, [$code]);
741             }
742              
743 0     0 0   # Returns the custom_audience resource name for the specified components.
744             my ($customer_id, $custom_audience_id) = @_;
745 0            
746             my $path_template =
747             'customers/{customer_id}/customAudiences/{custom_audience_id}';
748 0            
749             return expand_path_template($path_template,
750             [$customer_id, $custom_audience_id]);
751             }
752              
753             # Returns the custom_conversion_goal resource name for the specified components.
754 0     0 0   my ($customer_id, $goal_id) = @_;
755              
756 0           my $path_template = 'customers/{customer_id}/customConversionGoals/{goal_id}';
757              
758             return expand_path_template($path_template, [$customer_id, $goal_id]);
759 0           }
760              
761             # Returns the custom_interest resource name for the specified components.
762             my ($customer_id, $custom_interest_id) = @_;
763              
764             my $path_template =
765 0     0 0   'customers/{customer_id}/customInterests/{custom_interest_id}';
766              
767 0           return expand_path_template($path_template,
768             [$customer_id, $custom_interest_id]);
769             }
770 0            
771             # Returns the customer resource name for the specified components.
772             my ($customer_id) = @_;
773              
774             my $path_template = 'customers/{customer_id}';
775              
776 0     0 0   return expand_path_template($path_template, [$customer_id]);
777             }
778 0            
779             # Returns the customer_asset resource name for the specified components.
780             my ($customer_id, $asset_id, $field_type) = @_;
781 0            
782             my $path_template =
783             'customers/{customer_id}/customerAssets/{asset_id}~{field_type}';
784              
785             return expand_path_template($path_template,
786 0     0 0   [$customer_id, $asset_id, $field_type]);
787             }
788 0            
789             # Returns the customer_client resource name for the specified components.
790             my ($customer_id, $client_customer_id) = @_;
791 0            
792             my $path_template =
793             'customers/{customer_id}/customerClients/{client_customer_id}';
794              
795             return expand_path_template($path_template,
796             [$customer_id, $client_customer_id]);
797 0     0 0   }
798              
799 0           # Returns the customer_client_link resource name for the specified components.
800             my ($customer_id, $client_customer_id, $manager_link_id) = @_;
801              
802 0           my $path_template =
803             'customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}';
804              
805             return expand_path_template($path_template,
806             [$customer_id, $client_customer_id, $manager_link_id]);
807             }
808 0     0 0    
809             # Returns the customer_conversion_goal resource name for the specified components.
810 0           my ($customer_id, $category, $origin) = @_;
811              
812 0           my $path_template =
813             'customers/{customer_id}/customerConversionGoals/{category}~{origin}';
814              
815             return expand_path_template($path_template,
816             [$customer_id, $category, $origin]);
817 0     0 0   }
818              
819 0           # Returns the customer_customizer resource name for the specified components.
820             my ($customer_id, $customizer_attribute_id) = @_;
821              
822 0           my $path_template =
823             'customers/{customer_id}/customerCustomizers/{customizer_attribute_id}';
824              
825             return expand_path_template($path_template,
826             [$customer_id, $customizer_attribute_id]);
827             }
828 0     0 0    
829             # Returns the customer_extension_setting resource name for the specified components.
830 0           my ($customer_id, $extension_type) = @_;
831              
832 0           my $path_template =
833             'customers/{customer_id}/customerExtensionSettings/{extension_type}';
834              
835             return expand_path_template($path_template, [$customer_id, $extension_type]);
836             }
837 0     0 0    
838             # Returns the customer_feed resource name for the specified components.
839 0           my ($customer_id, $feed_id) = @_;
840              
841             my $path_template = 'customers/{customer_id}/customerFeeds/{feed_id}';
842 0            
843             return expand_path_template($path_template, [$customer_id, $feed_id]);
844             }
845              
846             # Returns the customer_label resource name for the specified components.
847             my ($customer_id, $label_id) = @_;
848 0     0 0    
849             my $path_template = 'customers/{customer_id}/customerLabels/{label_id}';
850 0            
851             return expand_path_template($path_template, [$customer_id, $label_id]);
852 0           }
853              
854             # Returns the customer_manager_link resource name for the specified components.
855             my ($customer_id, $manager_customer_id, $manager_link_id) = @_;
856              
857 0     0 0   my $path_template =
858             'customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}';
859 0            
860             return expand_path_template($path_template,
861             [$customer_id, $manager_customer_id, $manager_link_id]);
862 0           }
863              
864             # Returns the customer_negative_criterion resource name for the specified components.
865             my ($customer_id, $criterion_id) = @_;
866              
867             my $path_template =
868 0     0 0   'customers/{customer_id}/customerNegativeCriteria/{criterion_id}';
869              
870 0           return expand_path_template($path_template, [$customer_id, $criterion_id]);
871             }
872              
873 0           # Returns the customer_user_access resource name for the specified components.
874             my ($customer_id, $user_id) = @_;
875              
876             my $path_template = 'customers/{customer_id}/customerUserAccesses/{user_id}';
877              
878             return expand_path_template($path_template, [$customer_id, $user_id]);
879 0     0 0   }
880              
881 0           # Returns the customer_user_access_invitation resource name for the specified components.
882             my ($customer_id, $invitation_id) = @_;
883              
884 0           my $path_template =
885             'customers/{customer_id}/customerUserAccessInvitations/{invitation_id}';
886              
887             return expand_path_template($path_template, [$customer_id, $invitation_id]);
888             }
889              
890 0     0 0   # Returns the customizer_attribute resource name for the specified components.
891             my ($customer_id, $customizer_attribute_id) = @_;
892 0            
893             my $path_template =
894             'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}';
895 0            
896             return expand_path_template($path_template,
897             [$customer_id, $customizer_attribute_id]);
898             }
899              
900             # Returns the detail_placement_view resource name for the specified components.
901 0     0 0   my ($customer_id, $ad_group_id, $base64_placement) = @_;
902              
903 0           my $path_template =
904             'customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}';
905              
906 0           return expand_path_template($path_template,
907             [$customer_id, $ad_group_id, $base64_placement]);
908             }
909              
910             # Returns the detailed_demographic resource name for the specified components.
911             my ($customer_id, $detailed_demographic_id) = @_;
912 0     0 0    
913             my $path_template =
914 0           'customers/{customer_id}/detailedDemographics/{detailed_demographic_id}';
915              
916             return expand_path_template($path_template,
917 0           [$customer_id, $detailed_demographic_id]);
918             }
919              
920             # Returns the display_keyword_view resource name for the specified components.
921             my ($customer_id, $ad_group_id, $criterion_id) = @_;
922 0     0 0    
923             my $path_template =
924 0           'customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}';
925              
926 0           return expand_path_template($path_template,
927             [$customer_id, $ad_group_id, $criterion_id]);
928             }
929              
930             # Returns the distance_view resource name for the specified components.
931 0     0 0   my ($customer_id, $distance_bucket) = @_;
932              
933 0           my $path_template =
934             'customers/{customer_id}/distanceViews/1~{distance_bucket}';
935 0            
936             return expand_path_template($path_template, [$customer_id, $distance_bucket]);
937             }
938              
939             # Returns the domain_category resource name for the specified components.
940 0     0 0   my ($customer_id, $campaign_id, $category_base64, $language_code) = @_;
941              
942 0           my $path_template =
943             'customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}';
944              
945 0           return expand_path_template($path_template,
946             [$customer_id, $campaign_id, $category_base64, $language_code]);
947             }
948              
949             # Returns the dynamic_search_ads_search_term_view resource name for the specified components.
950             my ($customer_id, $ad_group_id, $search_term_fingerprint,
951 0     0 0   $headline_fingerprint, $landing_page_fingerprint, $page_url_fingerprint)
952             = @_;
953 0            
954             my $path_template =
955             'customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}';
956 0            
957             return expand_path_template(
958             $path_template,
959             [
960             $customer_id, $ad_group_id,
961 0     0 0   $search_term_fingerprint, $headline_fingerprint,
962             $landing_page_fingerprint, $page_url_fingerprint
963 0           ]);
964             }
965 0            
966             # Returns the expanded_landing_page_view resource name for the specified components.
967             my ($customer_id, $expanded_final_url_fingerprint) = @_;
968              
969             my $path_template =
970 0     0 0   'customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}';
971              
972 0           return expand_path_template($path_template,
973             [$customer_id, $expanded_final_url_fingerprint]);
974             }
975 0            
976             # Returns the experiment resource name for the specified components.
977             my ($customer_id, $experiment_id) = @_;
978              
979             my $path_template = 'customers/{customer_id}/experiments/{experiment_id}';
980 0     0 0    
981             return expand_path_template($path_template, [$customer_id, $experiment_id]);
982 0           }
983              
984             # Returns the experiment_arm resource name for the specified components.
985 0           my ($customer_id, $trial_id, $trial_arm_id) = @_;
986              
987             my $path_template =
988             'customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}';
989              
990             return expand_path_template($path_template,
991 0     0 0   [$customer_id, $trial_id, $trial_arm_id]);
992             }
993 0            
994             # Returns the extension_feed_item resource name for the specified components.
995             my ($customer_id, $feed_item_id) = @_;
996 0            
997             my $path_template =
998             'customers/{customer_id}/extensionFeedItems/{feed_item_id}';
999              
1000             return expand_path_template($path_template, [$customer_id, $feed_item_id]);
1001             }
1002 0     0 0    
1003             # Returns the feed resource name for the specified components.
1004 0           my ($customer_id, $feed_id) = @_;
1005              
1006             my $path_template = 'customers/{customer_id}/feeds/{feed_id}';
1007 0            
1008             return expand_path_template($path_template, [$customer_id, $feed_id]);
1009             }
1010              
1011             # Returns the feed_item resource name for the specified components.
1012             my ($customer_id, $feed_id, $feed_item_id) = @_;
1013 0     0 0    
1014             my $path_template =
1015 0           'customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}';
1016              
1017             return expand_path_template($path_template,
1018 0           [$customer_id, $feed_id, $feed_item_id]);
1019             }
1020              
1021             # Returns the feed_item_set resource name for the specified components.
1022             my ($customer_id, $feed_id, $feed_item_set_id) = @_;
1023              
1024 0     0 0   my $path_template =
1025             'customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}';
1026 0            
1027             return expand_path_template($path_template,
1028             [$customer_id, $feed_id, $feed_item_set_id]);
1029 0           }
1030              
1031             # Returns the feed_item_set_link resource name for the specified components.
1032             my ($customer_id, $feed_id, $feed_item_set_id, $feed_item_id) = @_;
1033              
1034 0     0 0   my $path_template =
1035             'customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}';
1036 0            
1037             return expand_path_template($path_template,
1038             [$customer_id, $feed_id, $feed_item_set_id, $feed_item_id]);
1039 0           }
1040              
1041             # Returns the feed_item_target resource name for the specified components.
1042             my ($customer_id, $feed_id, $feed_item_id, $feed_item_target_type,
1043             $feed_item_target_id)
1044             = @_;
1045 0     0 0    
1046             my $path_template =
1047             'customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}';
1048              
1049 0           return expand_path_template(
1050             $path_template,
1051             [
1052 0           $customer_id, $feed_id, $feed_item_id,
1053             $feed_item_target_type, $feed_item_target_id
1054             ]);
1055             }
1056              
1057             # Returns the feed_mapping resource name for the specified components.
1058             my ($customer_id, $feed_id, $feed_mapping_id) = @_;
1059              
1060             my $path_template =
1061             'customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}';
1062              
1063 0     0 0   return expand_path_template($path_template,
1064             [$customer_id, $feed_id, $feed_mapping_id]);
1065 0           }
1066              
1067             # Returns the feed_placeholder_view resource name for the specified components.
1068 0           my ($customer_id, $placeholder_type) = @_;
1069              
1070             my $path_template =
1071             'customers/{customer_id}/feedPlaceholderViews/{placeholder_type}';
1072              
1073             return expand_path_template($path_template,
1074 0     0 0   [$customer_id, $placeholder_type]);
1075             }
1076 0            
1077             # Returns the gender_view resource name for the specified components.
1078 0           my ($customer_id, $ad_group_id, $criterion_id) = @_;
1079              
1080             my $path_template =
1081             'customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}';
1082              
1083 0     0 0   return expand_path_template($path_template,
1084             [$customer_id, $ad_group_id, $criterion_id]);
1085 0           }
1086              
1087             # Returns the geo_target_constant resource name for the specified components.
1088 0           my ($geo_target_constant_id) = @_;
1089              
1090             my $path_template = 'geoTargetConstants/{geo_target_constant_id}';
1091              
1092             return expand_path_template($path_template, [$geo_target_constant_id]);
1093             }
1094 0     0 0    
1095             # Returns the geographic_view resource name for the specified components.
1096 0           my ($customer_id, $country_criterion_id, $location_type) = @_;
1097              
1098             my $path_template =
1099 0           'customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}';
1100              
1101             return expand_path_template($path_template,
1102             [$customer_id, $country_criterion_id, $location_type]);
1103             }
1104 0     0 0    
1105             # Returns the google_ads_field resource name for the specified components.
1106 0           my ($name) = @_;
1107              
1108 0           my $path_template = 'googleAdsFields/{name}';
1109              
1110             return expand_path_template($path_template, [$name]);
1111             }
1112              
1113 0     0 0   # Returns the group_placement_view resource name for the specified components.
1114             my ($customer_id, $ad_group_id, $base64_placement) = @_;
1115 0            
1116             my $path_template =
1117             'customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}';
1118 0            
1119             return expand_path_template($path_template,
1120             [$customer_id, $ad_group_id, $base64_placement]);
1121             }
1122              
1123             # Returns the hotel_group_view resource name for the specified components.
1124 0     0 0   my ($customer_id, $ad_group_id, $criterion_id) = @_;
1125              
1126 0           my $path_template =
1127             'customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}';
1128              
1129 0           return expand_path_template($path_template,
1130             [$customer_id, $ad_group_id, $criterion_id]);
1131             }
1132              
1133             # Returns the hotel_performance_view resource name for the specified components.
1134             my ($customer_id) = @_;
1135 0     0 0    
1136             my $path_template = 'customers/{customer_id}/hotelPerformanceView';
1137 0            
1138             return expand_path_template($path_template, [$customer_id]);
1139             }
1140 0            
1141             # Returns the hotel_reconciliation resource name for the specified components.
1142             my ($customer_id, $commission_id) = @_;
1143              
1144             my $path_template =
1145             'customers/{customer_id}/hotelReconciliations/{commission_id}';
1146 0     0 0    
1147             return expand_path_template($path_template, [$customer_id, $commission_id]);
1148             }
1149              
1150 0           # Returns the income_range_view resource name for the specified components.
1151             my ($customer_id, $ad_group_id, $criterion_id) = @_;
1152              
1153 0           my $path_template =
1154             'customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}';
1155              
1156             return expand_path_template($path_template,
1157             [$customer_id, $ad_group_id, $criterion_id]);
1158             }
1159              
1160             # Returns the invoice resource name for the specified components.
1161             my ($customer_id, $invoice_id) = @_;
1162              
1163 0     0 0   my $path_template = 'customers/{customer_id}/invoices/{invoice_id}';
1164              
1165 0           return expand_path_template($path_template, [$customer_id, $invoice_id]);
1166             }
1167              
1168 0           # Returns the keyword_plan resource name for the specified components.
1169             my ($customer_id, $kp_plan_id) = @_;
1170              
1171             my $path_template = 'customers/{customer_id}/keywordPlans/{kp_plan_id}';
1172              
1173             return expand_path_template($path_template, [$customer_id, $kp_plan_id]);
1174 0     0 0   }
1175              
1176 0           # Returns the keyword_plan_ad_group resource name for the specified components.
1177             my ($customer_id, $kp_ad_group_id) = @_;
1178              
1179 0           my $path_template =
1180             'customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}';
1181              
1182             return expand_path_template($path_template, [$customer_id, $kp_ad_group_id]);
1183             }
1184              
1185 0     0 0   # Returns the keyword_plan_ad_group_keyword resource name for the specified components.
1186             my ($customer_id, $kp_ad_group_keyword_id) = @_;
1187 0            
1188             my $path_template =
1189             'customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}';
1190 0            
1191             return expand_path_template($path_template,
1192             [$customer_id, $kp_ad_group_keyword_id]);
1193             }
1194              
1195             # Returns the keyword_plan_campaign resource name for the specified components.
1196 0     0 0   my ($customer_id, $kp_campaign_id) = @_;
1197              
1198 0           my $path_template =
1199             'customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}';
1200 0            
1201             return expand_path_template($path_template, [$customer_id, $kp_campaign_id]);
1202             }
1203              
1204             # Returns the keyword_plan_campaign_keyword resource name for the specified components.
1205 0     0 0   my ($customer_id, $kp_campaign_keyword_id) = @_;
1206              
1207 0           my $path_template =
1208             'customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}';
1209              
1210 0           return expand_path_template($path_template,
1211             [$customer_id, $kp_campaign_keyword_id]);
1212             }
1213              
1214             # Returns the keyword_theme_constant resource name for the specified components.
1215             my ($keyword_theme_id, $sub_keyword_theme_id) = @_;
1216 0     0 0    
1217             my $path_template =
1218 0           'keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}';
1219              
1220 0           return expand_path_template($path_template,
1221             [$keyword_theme_id, $sub_keyword_theme_id]);
1222             }
1223              
1224             # Returns the keyword_view resource name for the specified components.
1225 0     0 0   my ($customer_id, $ad_group_id, $criterion_id) = @_;
1226              
1227 0           my $path_template =
1228             'customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}';
1229              
1230 0           return expand_path_template($path_template,
1231             [$customer_id, $ad_group_id, $criterion_id]);
1232             }
1233              
1234             # Returns the label resource name for the specified components.
1235             my ($customer_id, $label_id) = @_;
1236 0     0 0    
1237             my $path_template = 'customers/{customer_id}/labels/{label_id}';
1238 0            
1239             return expand_path_template($path_template, [$customer_id, $label_id]);
1240             }
1241 0            
1242             # Returns the landing_page_view resource name for the specified components.
1243             my ($customer_id, $unexpanded_final_url_fingerprint) = @_;
1244              
1245             my $path_template =
1246             'customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}';
1247 0     0 0    
1248             return expand_path_template($path_template,
1249 0           [$customer_id, $unexpanded_final_url_fingerprint]);
1250             }
1251 0            
1252             # Returns the language_constant resource name for the specified components.
1253             my ($criterion_id) = @_;
1254              
1255             my $path_template = 'languageConstants/{criterion_id}';
1256 0     0 0    
1257             return expand_path_template($path_template, [$criterion_id]);
1258 0           }
1259              
1260             # Returns the lead_form_submission_data resource name for the specified components.
1261 0           my ($customer_id, $lead_form_submission_data_id) = @_;
1262              
1263             my $path_template =
1264             'customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}';
1265              
1266 0     0 0   return expand_path_template($path_template,
1267             [$customer_id, $lead_form_submission_data_id]);
1268 0           }
1269              
1270             # Returns the life_event resource name for the specified components.
1271 0           my ($customer_id, $life_event_id) = @_;
1272              
1273             my $path_template = 'customers/{customer_id}/lifeEvents/{life_event_id}';
1274              
1275             return expand_path_template($path_template, [$customer_id, $life_event_id]);
1276             }
1277 0     0 0    
1278             # Returns the location_view resource name for the specified components.
1279 0           my ($customer_id, $campaign_id, $criterion_id) = @_;
1280              
1281 0           my $path_template =
1282             'customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}';
1283              
1284             return expand_path_template($path_template,
1285             [$customer_id, $campaign_id, $criterion_id]);
1286 0     0 0   }
1287              
1288 0           # Returns the managed_placement_view resource name for the specified components.
1289             my ($customer_id, $ad_group_id, $criterion_id) = @_;
1290 0            
1291             my $path_template =
1292             'customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}';
1293              
1294             return expand_path_template($path_template,
1295 0     0 0   [$customer_id, $ad_group_id, $criterion_id]);
1296             }
1297 0            
1298             # Returns the media_file resource name for the specified components.
1299             my ($customer_id, $media_file_id) = @_;
1300 0            
1301             my $path_template = 'customers/{customer_id}/mediaFiles/{media_file_id}';
1302              
1303             return expand_path_template($path_template, [$customer_id, $media_file_id]);
1304             }
1305 0     0 0    
1306             # Returns the merchant_center_link resource name for the specified components.
1307 0           my ($customer_id, $merchant_center_id) = @_;
1308              
1309             my $path_template =
1310 0           'customers/{customer_id}/merchantCenterLinks/{merchant_center_id}';
1311              
1312             return expand_path_template($path_template,
1313             [$customer_id, $merchant_center_id]);
1314             }
1315              
1316 0     0 0   # Returns the mobile_app_category_constant resource name for the specified components.
1317             my ($mobile_app_category_id) = @_;
1318 0            
1319             my $path_template = 'mobileAppCategoryConstants/{mobile_app_category_id}';
1320              
1321 0           return expand_path_template($path_template, [$mobile_app_category_id]);
1322             }
1323              
1324             # Returns the mobile_device_constant resource name for the specified components.
1325             my ($criterion_id) = @_;
1326 0     0 0    
1327             my $path_template = 'mobileDeviceConstants/{criterion_id}';
1328 0            
1329             return expand_path_template($path_template, [$criterion_id]);
1330             }
1331 0            
1332             # Returns the offline_user_data_job resource name for the specified components.
1333             my ($customer_id, $offline_user_data_job_id) = @_;
1334              
1335             my $path_template =
1336             'customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}';
1337 0     0 0    
1338             return expand_path_template($path_template,
1339 0           [$customer_id, $offline_user_data_job_id]);
1340             }
1341              
1342 0           # Returns the operating_system_version_constant resource name for the specified components.
1343             my ($criterion_id) = @_;
1344              
1345             my $path_template = 'operatingSystemVersionConstants/{criterion_id}';
1346              
1347             return expand_path_template($path_template, [$criterion_id]);
1348 0     0 0   }
1349              
1350 0           # Returns the paid_organic_search_term_view resource name for the specified components.
1351             my ($customer_id, $campaign_id, $ad_group_id, $URL_base64_search_term) = @_;
1352              
1353 0           my $path_template =
1354             'customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~{ad_group_id}~{URL_base64_search_term}';
1355              
1356             return expand_path_template($path_template,
1357             [$customer_id, $campaign_id, $ad_group_id, $URL_base64_search_term]);
1358             }
1359 0     0 0    
1360             # Returns the parental_status_view resource name for the specified components.
1361 0           my ($customer_id, $ad_group_id, $criterion_id) = @_;
1362              
1363 0           my $path_template =
1364             'customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}';
1365              
1366             return expand_path_template($path_template,
1367             [$customer_id, $ad_group_id, $criterion_id]);
1368 0     0 0   }
1369              
1370 0           # Returns the payments_account resource name for the specified components.
1371             my ($customer_id, $payments_account_id) = @_;
1372              
1373 0           my $path_template =
1374             'customers/{customer_id}/paymentsAccounts/{payments_account_id}';
1375              
1376             return expand_path_template($path_template,
1377             [$customer_id, $payments_account_id]);
1378             }
1379 0     0 0    
1380             # Returns the product_bidding_category_constant resource name for the specified components.
1381 0           my ($country_code, $level, $id) = @_;
1382              
1383 0           my $path_template =
1384             'productBiddingCategoryConstants/{country_code}~{level}~{id}';
1385              
1386             return expand_path_template($path_template, [$country_code, $level, $id]);
1387             }
1388 0     0 0    
1389             # Returns the product_group_view resource name for the specified components.
1390 0           my ($customer_id, $ad_group_id, $criterion_id) = @_;
1391              
1392             my $path_template =
1393 0           'customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}';
1394              
1395             return expand_path_template($path_template,
1396             [$customer_id, $ad_group_id, $criterion_id]);
1397             }
1398              
1399 0     0 0   # Returns the recommendation resource name for the specified components.
1400             my ($customer_id, $recommendation_id) = @_;
1401 0            
1402             my $path_template =
1403 0           'customers/{customer_id}/recommendations/{recommendation_id}';
1404              
1405             return expand_path_template($path_template,
1406             [$customer_id, $recommendation_id]);
1407             }
1408 0     0 0    
1409             # Returns the remarketing_action resource name for the specified components.
1410 0           my ($customer_id, $remarketing_action_id) = @_;
1411              
1412             my $path_template =
1413 0           'customers/{customer_id}/remarketingActions/{remarketing_action_id}';
1414              
1415             return expand_path_template($path_template,
1416             [$customer_id, $remarketing_action_id]);
1417             }
1418              
1419 0     0 0   # Returns the search_term_view resource name for the specified components.
1420             my ($customer_id, $campaign_id, $ad_group_id, $URL_base64_search_term) = @_;
1421 0            
1422             my $path_template =
1423             'customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL_base64_search_term}';
1424 0            
1425             return expand_path_template($path_template,
1426             [$customer_id, $campaign_id, $ad_group_id, $URL_base64_search_term]);
1427             }
1428              
1429             # Returns the shared_criterion resource name for the specified components.
1430 0     0 0   my ($customer_id, $shared_set_id, $criterion_id) = @_;
1431              
1432 0           my $path_template =
1433             'customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}';
1434 0            
1435             return expand_path_template($path_template,
1436             [$customer_id, $shared_set_id, $criterion_id]);
1437             }
1438              
1439 0     0 0   # Returns the shared_set resource name for the specified components.
1440             my ($customer_id, $shared_set_id) = @_;
1441 0            
1442             my $path_template = 'customers/{customer_id}/sharedSets/{shared_set_id}';
1443              
1444 0           return expand_path_template($path_template, [$customer_id, $shared_set_id]);
1445             }
1446              
1447             # Returns the shopping_performance_view resource name for the specified components.
1448             my ($customer_id) = @_;
1449              
1450 0     0 0   my $path_template = 'customers/{customer_id}/shoppingPerformanceView';
1451              
1452 0           return expand_path_template($path_template, [$customer_id]);
1453             }
1454 0            
1455             # Returns the smart_campaign_search_term_view resource name for the specified components.
1456             my ($customer_id, $campaign_id, $URL_base64_search_term) = @_;
1457              
1458             my $path_template =
1459 0     0 0   'customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL_base64_search_term}';
1460              
1461 0           return expand_path_template($path_template,
1462             [$customer_id, $campaign_id, $URL_base64_search_term]);
1463 0           }
1464              
1465             # Returns the smart_campaign_setting resource name for the specified components.
1466             my ($customer_id, $campaign_id) = @_;
1467              
1468 0     0 0   my $path_template =
1469             'customers/{customer_id}/smartCampaignSettings/{campaign_id}';
1470 0            
1471             return expand_path_template($path_template, [$customer_id, $campaign_id]);
1472             }
1473 0            
1474             # Returns the third_party_app_analytics_link resource name for the specified components.
1475             my ($customer_id, $account_link_id) = @_;
1476              
1477             my $path_template =
1478             'customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}';
1479 0     0 0    
1480             return expand_path_template($path_template, [$customer_id, $account_link_id]);
1481 0           }
1482              
1483 0           # Returns the topic_constant resource name for the specified components.
1484             my ($topic_id) = @_;
1485              
1486             my $path_template = 'topicConstants/{topic_id}';
1487              
1488 0     0 0   return expand_path_template($path_template, [$topic_id]);
1489             }
1490 0            
1491             # Returns the topic_view resource name for the specified components.
1492             my ($customer_id, $ad_group_id, $criterion_id) = @_;
1493 0            
1494             my $path_template =
1495             'customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}';
1496              
1497             return expand_path_template($path_template,
1498             [$customer_id, $ad_group_id, $criterion_id]);
1499 0     0 0   }
1500              
1501 0           # Returns the user_interest resource name for the specified components.
1502             my ($customer_id, $user_interest_id) = @_;
1503              
1504 0           my $path_template =
1505             'customers/{customer_id}/userInterests/{user_interest_id}';
1506              
1507             return expand_path_template($path_template,
1508             [$customer_id, $user_interest_id]);
1509             }
1510 0     0 0    
1511             # Returns the user_list resource name for the specified components.
1512 0           my ($customer_id, $user_list_id) = @_;
1513              
1514             my $path_template = 'customers/{customer_id}/userLists/{user_list_id}';
1515 0            
1516             return expand_path_template($path_template, [$customer_id, $user_list_id]);
1517             }
1518              
1519             # Returns the user_location_view resource name for the specified components.
1520             my ($customer_id, $country_criterion_id, $targeting_location) = @_;
1521 0     0 0    
1522             my $path_template =
1523 0           'customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}';
1524              
1525             return expand_path_template($path_template,
1526 0           [$customer_id, $country_criterion_id, $targeting_location]);
1527             }
1528              
1529             # Returns the video resource name for the specified components.
1530             my ($customer_id, $video_id) = @_;
1531 0     0 0    
1532             my $path_template = 'customers/{customer_id}/videos/{video_id}';
1533 0            
1534             return expand_path_template($path_template, [$customer_id, $video_id]);
1535             }
1536 0            
1537             # Returns the webpage_view resource name for the specified components.
1538             my ($customer_id, $ad_group_id, $criterion_id) = @_;
1539              
1540             my $path_template =
1541             'customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}';
1542 0     0 0    
1543             return expand_path_template($path_template,
1544 0           [$customer_id, $ad_group_id, $criterion_id]);
1545             }
1546              
1547 0           1;