google-ads-api 24.1.0 → 25.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +9 -1
  2. package/build/{src → cjs}/client.d.ts +6 -4
  3. package/build/{src → cjs}/client.js +4 -4
  4. package/build/{src → cjs}/customer.d.ts +5 -5
  5. package/build/{src → cjs}/customer.js +24 -20
  6. package/build/{src → cjs}/hooks.d.ts +2 -2
  7. package/build/cjs/index.d.ts +9 -0
  8. package/build/{src → cjs}/index.js +22 -20
  9. package/build/{src → cjs}/parser.d.ts +2 -2
  10. package/build/{src → cjs}/parser.js +5 -5
  11. package/build/{src → cjs}/parserRest.js +7 -7
  12. package/build/{src → cjs}/protos/autogen/enums.d.ts +932 -433
  13. package/build/{src → cjs}/protos/autogen/enums.js +949 -430
  14. package/build/cjs/protos/autogen/fields.d.ts +1191 -0
  15. package/build/cjs/protos/autogen/fields.js +681 -0
  16. package/build/{src → cjs}/protos/autogen/resourceNames.d.ts +74 -15
  17. package/build/{src → cjs}/protos/autogen/resourceNames.js +90 -19
  18. package/build/{src → cjs}/protos/autogen/serviceFactory.d.ts +206 -215
  19. package/build/{src → cjs}/protos/autogen/serviceFactory.js +321 -392
  20. package/build/cjs/protos/index.d.ts +14 -0
  21. package/build/{src → cjs}/protos/index.js +12 -12
  22. package/build/{src → cjs}/query.d.ts +2 -2
  23. package/build/{src → cjs}/query.js +5 -5
  24. package/build/{src → cjs}/service.d.ts +5 -5
  25. package/build/cjs/service.js +263 -0
  26. package/build/{src → cjs}/types.d.ts +1 -1
  27. package/build/{src → cjs}/utils.d.ts +1 -1
  28. package/build/{src → cjs}/utils.js +2 -2
  29. package/build/cjs/version.d.ts +1 -0
  30. package/build/{src → cjs}/version.js +1 -1
  31. package/build/esm/client.d.ts +19 -0
  32. package/build/esm/client.js +40 -0
  33. package/build/esm/customer.d.ts +71 -0
  34. package/build/esm/customer.js +502 -0
  35. package/build/esm/hooks.d.ts +160 -0
  36. package/build/esm/hooks.js +1 -0
  37. package/build/esm/index.d.ts +9 -0
  38. package/build/esm/index.js +10 -0
  39. package/build/esm/package.json +1 -0
  40. package/build/esm/parser.d.ts +21 -0
  41. package/build/esm/parser.js +113 -0
  42. package/build/esm/parserRest.d.ts +1 -0
  43. package/build/esm/parserRest.js +112 -0
  44. package/build/esm/protos/autogen/enums.d.ts +6002 -0
  45. package/build/esm/protos/autogen/enums.js +6401 -0
  46. package/build/esm/protos/autogen/fields.d.ts +1191 -0
  47. package/build/esm/protos/autogen/fields.js +678 -0
  48. package/build/esm/protos/autogen/resourceNames.d.ts +1668 -0
  49. package/build/esm/protos/autogen/resourceNames.js +1859 -0
  50. package/build/esm/protos/autogen/serviceFactory.d.ts +1825 -0
  51. package/build/esm/protos/autogen/serviceFactory.js +18795 -0
  52. package/build/esm/protos/index.d.ts +14 -0
  53. package/build/esm/protos/index.js +19 -0
  54. package/build/esm/query.d.ts +62 -0
  55. package/build/esm/query.js +304 -0
  56. package/build/esm/service.d.ts +47 -0
  57. package/build/{src → esm}/service.js +42 -41
  58. package/build/esm/types.d.ts +75 -0
  59. package/build/esm/types.js +14 -0
  60. package/build/esm/utils.d.ts +49 -0
  61. package/build/esm/utils.js +108 -0
  62. package/build/esm/version.d.ts +1 -0
  63. package/build/esm/version.js +1 -0
  64. package/package.json +54 -13
  65. package/build/src/index.d.ts +0 -8
  66. package/build/src/protos/autogen/fields.d.ts +0 -1122
  67. package/build/src/protos/autogen/fields.js +0 -644
  68. package/build/src/protos/index.d.ts +0 -14
  69. package/build/src/testUtils.d.ts +0 -107
  70. package/build/src/testUtils.js +0 -333
  71. package/build/src/version.d.ts +0 -1
  72. /package/build/{src → cjs}/hooks.js +0 -0
  73. /package/build/{src → cjs}/parserRest.d.ts +0 -0
  74. /package/build/{src → cjs}/types.js +0 -0
@@ -0,0 +1,1859 @@
1
+ /* Autogenerated File! Do Not Edit */
2
+ /**
3
+ * @param {string | number} customerId
4
+ * @param {string | number} biddingStrategyId
5
+ * @returns `AccessibleBiddingStrategyResourceName`
6
+ * @example const accessibleBiddingStrategy: ResourceNames.AccessibleBiddingStrategyResourceName = ResourceNames.accessibleBiddingStrategy(10987417, 21974834)
7
+ */
8
+ export function accessibleBiddingStrategy(customerId, biddingStrategyId) {
9
+ return `customers/${customerId}/accessibleBiddingStrategies/${biddingStrategyId}`;
10
+ }
11
+ /**
12
+ * @param {string | number} customerId
13
+ * @param {string | number} accountBudgetId
14
+ * @returns `AccountBudgetResourceName`
15
+ * @example const accountBudget: ResourceNames.AccountBudgetResourceName = ResourceNames.accountBudget(10987417, 21974834)
16
+ */
17
+ export function accountBudget(customerId, accountBudgetId) {
18
+ return `customers/${customerId}/accountBudgets/${accountBudgetId}`;
19
+ }
20
+ /**
21
+ * @param {string | number} customerId
22
+ * @param {string | number} accountBudgetProposalId
23
+ * @returns `AccountBudgetProposalResourceName`
24
+ * @example const accountBudgetProposal: ResourceNames.AccountBudgetProposalResourceName = ResourceNames.accountBudgetProposal(10987417, 21974834)
25
+ */
26
+ export function accountBudgetProposal(customerId, accountBudgetProposalId) {
27
+ return `customers/${customerId}/accountBudgetProposals/${accountBudgetProposalId}`;
28
+ }
29
+ /**
30
+ * @param {string | number} customerId
31
+ * @param {string | number} accountLinkId
32
+ * @returns `AccountLinkResourceName`
33
+ * @example const accountLink: ResourceNames.AccountLinkResourceName = ResourceNames.accountLink(10987417, 21974834)
34
+ */
35
+ export function accountLink(customerId, accountLinkId) {
36
+ return `customers/${customerId}/accountLinks/${accountLinkId}`;
37
+ }
38
+ /**
39
+ * @param {string | number} customerId
40
+ * @param {string | number} adId
41
+ * @returns `AdResourceName`
42
+ * @example const ad: ResourceNames.AdResourceName = ResourceNames.ad(10987417, 21974834)
43
+ */
44
+ export function ad(customerId, adId) {
45
+ return `customers/${customerId}/ads/${adId}`;
46
+ }
47
+ /**
48
+ * @param {string | number} customerId
49
+ * @param {string | number} adGroupId
50
+ * @returns `AdGroupResourceName`
51
+ * @example const adGroup: ResourceNames.AdGroupResourceName = ResourceNames.adGroup(10987417, 21974834)
52
+ */
53
+ export function adGroup(customerId, adGroupId) {
54
+ return `customers/${customerId}/adGroups/${adGroupId}`;
55
+ }
56
+ /**
57
+ * @param {string | number} customerId
58
+ * @param {string | number} adGroupId
59
+ * @param {string | number} adId
60
+ * @returns `AdGroupAdResourceName`
61
+ * @example const adGroupAd: ResourceNames.AdGroupAdResourceName = ResourceNames.adGroupAd(10987417, 21974834, 43949668)
62
+ */
63
+ export function adGroupAd(customerId, adGroupId, adId) {
64
+ return `customers/${customerId}/adGroupAds/${adGroupId}~${adId}`;
65
+ }
66
+ /**
67
+ * @param {string | number} customerId
68
+ * @param {string | number} adGroupId
69
+ * @param {string | number} adId
70
+ * @param {string | number} assetCombinationIdLow
71
+ * @param {string | number} assetCombinationIdHigh
72
+ * @returns `AdGroupAdAssetCombinationViewResourceName`
73
+ * @example const adGroupAdAssetCombinationView: ResourceNames.AdGroupAdAssetCombinationViewResourceName = ResourceNames.adGroupAdAssetCombinationView(10987417, 21974834, 43949668, 87899336, 175798672)
74
+ */
75
+ export function adGroupAdAssetCombinationView(customerId, adGroupId, adId, assetCombinationIdLow, assetCombinationIdHigh) {
76
+ return `customers/${customerId}/adGroupAdAssetCombinationViews/${adGroupId}~${adId}~${assetCombinationIdLow}~${assetCombinationIdHigh}`;
77
+ }
78
+ /**
79
+ * @param {string | number} customerId
80
+ * @param {string | number} adGroupId
81
+ * @param {string | number} adId
82
+ * @param {string | number} assetId
83
+ * @param {string | number} fieldType
84
+ * @returns `AdGroupAdAssetViewResourceName`
85
+ * @example const adGroupAdAssetView: ResourceNames.AdGroupAdAssetViewResourceName = ResourceNames.adGroupAdAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
86
+ */
87
+ export function adGroupAdAssetView(customerId, adGroupId, adId, assetId, fieldType) {
88
+ return `customers/${customerId}/adGroupAdAssetViews/${adGroupId}~${adId}~${assetId}~${fieldType}`;
89
+ }
90
+ /**
91
+ * @param {string | number} customerId
92
+ * @param {string | number} adGroupId
93
+ * @param {string | number} adId
94
+ * @param {string | number} labelId
95
+ * @returns `AdGroupAdLabelResourceName`
96
+ * @example const adGroupAdLabel: ResourceNames.AdGroupAdLabelResourceName = ResourceNames.adGroupAdLabel(10987417, 21974834, 43949668, 87899336)
97
+ */
98
+ export function adGroupAdLabel(customerId, adGroupId, adId, labelId) {
99
+ return `customers/${customerId}/adGroupAdLabels/${adGroupId}~${adId}~${labelId}`;
100
+ }
101
+ /**
102
+ * @param {string | number} customerId
103
+ * @param {string | number} adGroupId
104
+ * @param {string | number} assetId
105
+ * @param {string | number} fieldType
106
+ * @returns `AdGroupAssetResourceName`
107
+ * @example const adGroupAsset: ResourceNames.AdGroupAssetResourceName = ResourceNames.adGroupAsset(10987417, 21974834, 43949668, 87899336)
108
+ */
109
+ export function adGroupAsset(customerId, adGroupId, assetId, fieldType) {
110
+ return `customers/${customerId}/adGroupAssets/${adGroupId}~${assetId}~${fieldType}`;
111
+ }
112
+ /**
113
+ * @param {string | number} customerId
114
+ * @param {string | number} adGroupId
115
+ * @param {string | number} assetSetId
116
+ * @returns `AdGroupAssetSetResourceName`
117
+ * @example const adGroupAssetSet: ResourceNames.AdGroupAssetSetResourceName = ResourceNames.adGroupAssetSet(10987417, 21974834, 43949668)
118
+ */
119
+ export function adGroupAssetSet(customerId, adGroupId, assetSetId) {
120
+ return `customers/${customerId}/adGroupAssetSets/${adGroupId}~${assetSetId}`;
121
+ }
122
+ /**
123
+ * @param {string | number} customerId
124
+ * @param {string | number} adGroupId
125
+ * @param {string | number} criterionId
126
+ * @returns `AdGroupAudienceViewResourceName`
127
+ * @example const adGroupAudienceView: ResourceNames.AdGroupAudienceViewResourceName = ResourceNames.adGroupAudienceView(10987417, 21974834, 43949668)
128
+ */
129
+ export function adGroupAudienceView(customerId, adGroupId, criterionId) {
130
+ return `customers/${customerId}/adGroupAudienceViews/${adGroupId}~${criterionId}`;
131
+ }
132
+ /**
133
+ * @param {string | number} customerId
134
+ * @param {string | number} adGroupId
135
+ * @param {string | number} criterionId
136
+ * @returns `AdGroupBidModifierResourceName`
137
+ * @example const adGroupBidModifier: ResourceNames.AdGroupBidModifierResourceName = ResourceNames.adGroupBidModifier(10987417, 21974834, 43949668)
138
+ */
139
+ export function adGroupBidModifier(customerId, adGroupId, criterionId) {
140
+ return `customers/${customerId}/adGroupBidModifiers/${adGroupId}~${criterionId}`;
141
+ }
142
+ /**
143
+ * @param {string | number} customerId
144
+ * @param {string | number} adGroupId
145
+ * @param {string | number} criterionId
146
+ * @returns `AdGroupCriterionResourceName`
147
+ * @example const adGroupCriterion: ResourceNames.AdGroupCriterionResourceName = ResourceNames.adGroupCriterion(10987417, 21974834, 43949668)
148
+ */
149
+ export function adGroupCriterion(customerId, adGroupId, criterionId) {
150
+ return `customers/${customerId}/adGroupCriteria/${adGroupId}~${criterionId}`;
151
+ }
152
+ /**
153
+ * @param {string | number} customerId
154
+ * @param {string | number} adGroupId
155
+ * @param {string | number} criterionId
156
+ * @param {string | number} customizerAttributeId
157
+ * @returns `AdGroupCriterionCustomizerResourceName`
158
+ * @example const adGroupCriterionCustomizer: ResourceNames.AdGroupCriterionCustomizerResourceName = ResourceNames.adGroupCriterionCustomizer(10987417, 21974834, 43949668, 87899336)
159
+ */
160
+ export function adGroupCriterionCustomizer(customerId, adGroupId, criterionId, customizerAttributeId) {
161
+ return `customers/${customerId}/adGroupCriterionCustomizers/${adGroupId}~${criterionId}~${customizerAttributeId}`;
162
+ }
163
+ /**
164
+ * @param {string | number} customerId
165
+ * @param {string | number} adGroupId
166
+ * @param {string | number} criterionId
167
+ * @param {string | number} labelId
168
+ * @returns `AdGroupCriterionLabelResourceName`
169
+ * @example const adGroupCriterionLabel: ResourceNames.AdGroupCriterionLabelResourceName = ResourceNames.adGroupCriterionLabel(10987417, 21974834, 43949668, 87899336)
170
+ */
171
+ export function adGroupCriterionLabel(customerId, adGroupId, criterionId, labelId) {
172
+ return `customers/${customerId}/adGroupCriterionLabels/${adGroupId}~${criterionId}~${labelId}`;
173
+ }
174
+ /**
175
+ * @param {string | number} customerId
176
+ * @param {string | number} adGroupId
177
+ * @param {string | number} criterionId
178
+ * @param {string | number} type
179
+ * @param {string | number} modificationMethod
180
+ * @param {string | number} startDate
181
+ * @param {string | number} endDate
182
+ * @returns `AdGroupCriterionSimulationResourceName`
183
+ * @example const adGroupCriterionSimulation: ResourceNames.AdGroupCriterionSimulationResourceName = ResourceNames.adGroupCriterionSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344, 703194688)
184
+ */
185
+ export function adGroupCriterionSimulation(customerId, adGroupId, criterionId, type, modificationMethod, startDate, endDate) {
186
+ return `customers/${customerId}/adGroupCriterionSimulations/${adGroupId}~${criterionId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
187
+ }
188
+ /**
189
+ * @param {string | number} customerId
190
+ * @param {string | number} adGroupId
191
+ * @param {string | number} customizerAttributeId
192
+ * @returns `AdGroupCustomizerResourceName`
193
+ * @example const adGroupCustomizer: ResourceNames.AdGroupCustomizerResourceName = ResourceNames.adGroupCustomizer(10987417, 21974834, 43949668)
194
+ */
195
+ export function adGroupCustomizer(customerId, adGroupId, customizerAttributeId) {
196
+ return `customers/${customerId}/adGroupCustomizers/${adGroupId}~${customizerAttributeId}`;
197
+ }
198
+ /**
199
+ * @param {string | number} customerId
200
+ * @param {string | number} adGroupId
201
+ * @param {string | number} labelId
202
+ * @returns `AdGroupLabelResourceName`
203
+ * @example const adGroupLabel: ResourceNames.AdGroupLabelResourceName = ResourceNames.adGroupLabel(10987417, 21974834, 43949668)
204
+ */
205
+ export function adGroupLabel(customerId, adGroupId, labelId) {
206
+ return `customers/${customerId}/adGroupLabels/${adGroupId}~${labelId}`;
207
+ }
208
+ /**
209
+ * @param {string | number} customerId
210
+ * @param {string | number} adGroupId
211
+ * @param {string | number} type
212
+ * @param {string | number} modificationMethod
213
+ * @param {string | number} startDate
214
+ * @param {string | number} endDate
215
+ * @returns `AdGroupSimulationResourceName`
216
+ * @example const adGroupSimulation: ResourceNames.AdGroupSimulationResourceName = ResourceNames.adGroupSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
217
+ */
218
+ export function adGroupSimulation(customerId, adGroupId, type, modificationMethod, startDate, endDate) {
219
+ return `customers/${customerId}/adGroupSimulations/${adGroupId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
220
+ }
221
+ /**
222
+ * @param {string | number} customerId
223
+ * @param {string | number} adGroupId
224
+ * @param {string | number} criterionId
225
+ * @param {string | number} parameterIndex
226
+ * @returns `AdParameterResourceName`
227
+ * @example const adParameter: ResourceNames.AdParameterResourceName = ResourceNames.adParameter(10987417, 21974834, 43949668, 87899336)
228
+ */
229
+ export function adParameter(customerId, adGroupId, criterionId, parameterIndex) {
230
+ return `customers/${customerId}/adParameters/${adGroupId}~${criterionId}~${parameterIndex}`;
231
+ }
232
+ /**
233
+ * @param {string | number} customerId
234
+ * @param {string | number} campaignId
235
+ * @param {string | number} criterionId
236
+ * @returns `AdScheduleViewResourceName`
237
+ * @example const adScheduleView: ResourceNames.AdScheduleViewResourceName = ResourceNames.adScheduleView(10987417, 21974834, 43949668)
238
+ */
239
+ export function adScheduleView(customerId, campaignId, criterionId) {
240
+ return `customers/${customerId}/adScheduleViews/${campaignId}~${criterionId}`;
241
+ }
242
+ /**
243
+ * @param {string | number} customerId
244
+ * @param {string | number} adGroupId
245
+ * @param {string | number} criterionId
246
+ * @returns `AgeRangeViewResourceName`
247
+ * @example const ageRangeView: ResourceNames.AgeRangeViewResourceName = ResourceNames.ageRangeView(10987417, 21974834, 43949668)
248
+ */
249
+ export function ageRangeView(customerId, adGroupId, criterionId) {
250
+ return `customers/${customerId}/ageRangeViews/${adGroupId}~${criterionId}`;
251
+ }
252
+ /**
253
+ * @param {string | number} customerId
254
+ * @param {string | number} adGroupId
255
+ * @param {string | number} searchTerm
256
+ * @param {string | number} landingPage
257
+ * @param {string | number} headline
258
+ * @returns `AiMaxSearchTermAdCombinationViewResourceName`
259
+ * @example const aiMaxSearchTermAdCombinationView: ResourceNames.AiMaxSearchTermAdCombinationViewResourceName = ResourceNames.aiMaxSearchTermAdCombinationView(10987417, 21974834, 43949668, 87899336, 175798672)
260
+ */
261
+ export function aiMaxSearchTermAdCombinationView(customerId, adGroupId, searchTerm, landingPage, headline) {
262
+ return `customers/${customerId}/aiMaxSearchTermAdCombinationViews/${adGroupId}~${searchTerm}~${landingPage}~${headline}`;
263
+ }
264
+ /**
265
+ * @param {string | number} customerId
266
+ * @param {string | number} campaignId
267
+ * @param {string | number} adGroupId
268
+ * @param {string | number} androidPrivacyInteractionType
269
+ * @param {string | number} androidPrivacyNetworkType
270
+ * @param {string | number} androidPrivacyInteractionDate
271
+ * @returns `AndroidPrivacySharedKeyGoogleAdGroupResourceName`
272
+ * @example const androidPrivacySharedKeyGoogleAdGroup: ResourceNames.AndroidPrivacySharedKeyGoogleAdGroupResourceName = ResourceNames.androidPrivacySharedKeyGoogleAdGroup(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
273
+ */
274
+ export function androidPrivacySharedKeyGoogleAdGroup(customerId, campaignId, adGroupId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
275
+ return `customers/${customerId}/androidPrivacySharedKeyGoogleAdGroups/${campaignId}~${adGroupId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
276
+ }
277
+ /**
278
+ * @param {string | number} customerId
279
+ * @param {string | number} campaignId
280
+ * @param {string | number} androidPrivacyInteractionType
281
+ * @param {string | number} androidPrivacyInteractionDate
282
+ * @returns `AndroidPrivacySharedKeyGoogleCampaignResourceName`
283
+ * @example const androidPrivacySharedKeyGoogleCampaign: ResourceNames.AndroidPrivacySharedKeyGoogleCampaignResourceName = ResourceNames.androidPrivacySharedKeyGoogleCampaign(10987417, 21974834, 43949668, 87899336)
284
+ */
285
+ export function androidPrivacySharedKeyGoogleCampaign(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyInteractionDate) {
286
+ return `customers/${customerId}/androidPrivacySharedKeyGoogleCampaigns/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyInteractionDate}`;
287
+ }
288
+ /**
289
+ * @param {string | number} customerId
290
+ * @param {string | number} campaignId
291
+ * @param {string | number} androidPrivacyInteractionType
292
+ * @param {string | number} androidPrivacyNetworkType
293
+ * @param {string | number} androidPrivacyInteractionDate
294
+ * @returns `AndroidPrivacySharedKeyGoogleNetworkTypeResourceName`
295
+ * @example const androidPrivacySharedKeyGoogleNetworkType: ResourceNames.AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = ResourceNames.androidPrivacySharedKeyGoogleNetworkType(10987417, 21974834, 43949668, 87899336, 175798672)
296
+ */
297
+ export function androidPrivacySharedKeyGoogleNetworkType(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
298
+ return `customers/${customerId}/androidPrivacySharedKeyGoogleNetworkTypes/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
299
+ }
300
+ /**
301
+ * @param {string | number} customerId
302
+ * @param {string | number} adGroupId
303
+ * @param {string | number} adId
304
+ * @param {string | number} assetCombinationCategory
305
+ * @returns `AppTopCombinationViewResourceName`
306
+ * @example const appTopCombinationView: ResourceNames.AppTopCombinationViewResourceName = ResourceNames.appTopCombinationView(10987417, 21974834, 43949668, 87899336)
307
+ */
308
+ export function appTopCombinationView(customerId, adGroupId, adId, assetCombinationCategory) {
309
+ return `customers/${customerId}/appTopCombinationViews/${adGroupId}~${adId}~${assetCombinationCategory}`;
310
+ }
311
+ /**
312
+ * @param {string | number} customerId
313
+ * @param {string | number} couponCode
314
+ * @returns `AppliedIncentiveResourceName`
315
+ * @example const appliedIncentive: ResourceNames.AppliedIncentiveResourceName = ResourceNames.appliedIncentive(10987417, 21974834)
316
+ */
317
+ export function appliedIncentive(customerId, couponCode) {
318
+ return `customers/${customerId}/appliedIncentives/${couponCode}`;
319
+ }
320
+ /**
321
+ * @param {string | number} customerId
322
+ * @param {string | number} assetId
323
+ * @returns `AssetResourceName`
324
+ * @example const asset: ResourceNames.AssetResourceName = ResourceNames.asset(10987417, 21974834)
325
+ */
326
+ export function asset(customerId, assetId) {
327
+ return `customers/${customerId}/assets/${assetId}`;
328
+ }
329
+ /**
330
+ * @param {string | number} customerId
331
+ * @param {string | number} fieldType
332
+ * @returns `AssetFieldTypeViewResourceName`
333
+ * @example const assetFieldTypeView: ResourceNames.AssetFieldTypeViewResourceName = ResourceNames.assetFieldTypeView(10987417, 21974834)
334
+ */
335
+ export function assetFieldTypeView(customerId, fieldType) {
336
+ return `customers/${customerId}/assetFieldTypeViews/${fieldType}`;
337
+ }
338
+ /**
339
+ * @param {string | number} customerId
340
+ * @param {string | number} assetGroupId
341
+ * @returns `AssetGroupResourceName`
342
+ * @example const assetGroup: ResourceNames.AssetGroupResourceName = ResourceNames.assetGroup(10987417, 21974834)
343
+ */
344
+ export function assetGroup(customerId, assetGroupId) {
345
+ return `customers/${customerId}/assetGroups/${assetGroupId}`;
346
+ }
347
+ /**
348
+ * @param {string | number} customerId
349
+ * @param {string | number} assetGroupId
350
+ * @param {string | number} assetId
351
+ * @param {string | number} fieldType
352
+ * @returns `AssetGroupAssetResourceName`
353
+ * @example const assetGroupAsset: ResourceNames.AssetGroupAssetResourceName = ResourceNames.assetGroupAsset(10987417, 21974834, 43949668, 87899336)
354
+ */
355
+ export function assetGroupAsset(customerId, assetGroupId, assetId, fieldType) {
356
+ return `customers/${customerId}/assetGroupAssets/${assetGroupId}~${assetId}~${fieldType}`;
357
+ }
358
+ /**
359
+ * @param {string | number} customerId
360
+ * @param {string | number} assetGroupId
361
+ * @param {string | number} listingGroupFilterId
362
+ * @returns `AssetGroupListingGroupFilterResourceName`
363
+ * @example const assetGroupListingGroupFilter: ResourceNames.AssetGroupListingGroupFilterResourceName = ResourceNames.assetGroupListingGroupFilter(10987417, 21974834, 43949668)
364
+ */
365
+ export function assetGroupListingGroupFilter(customerId, assetGroupId, listingGroupFilterId) {
366
+ return `customers/${customerId}/assetGroupListingGroupFilters/${assetGroupId}~${listingGroupFilterId}`;
367
+ }
368
+ /**
369
+ * @param {string | number} customerId
370
+ * @param {string | number} assetGroupId
371
+ * @param {string | number} listingGroupFilterId
372
+ * @returns `AssetGroupProductGroupViewResourceName`
373
+ * @example const assetGroupProductGroupView: ResourceNames.AssetGroupProductGroupViewResourceName = ResourceNames.assetGroupProductGroupView(10987417, 21974834, 43949668)
374
+ */
375
+ export function assetGroupProductGroupView(customerId, assetGroupId, listingGroupFilterId) {
376
+ return `customers/${customerId}/assetGroupProductGroupViews/${assetGroupId}~${listingGroupFilterId}`;
377
+ }
378
+ /**
379
+ * @param {string | number} customerId
380
+ * @param {string | number} assetGroupId
381
+ * @param {string | number} criterionId
382
+ * @returns `AssetGroupSignalResourceName`
383
+ * @example const assetGroupSignal: ResourceNames.AssetGroupSignalResourceName = ResourceNames.assetGroupSignal(10987417, 21974834, 43949668)
384
+ */
385
+ export function assetGroupSignal(customerId, assetGroupId, criterionId) {
386
+ return `customers/${customerId}/assetGroupSignals/${assetGroupId}~${criterionId}`;
387
+ }
388
+ /**
389
+ * @param {string | number} customerId
390
+ * @param {string | number} assetGroupId
391
+ * @param {string | number} assetCombinationCategory
392
+ * @returns `AssetGroupTopCombinationViewResourceName`
393
+ * @example const assetGroupTopCombinationView: ResourceNames.AssetGroupTopCombinationViewResourceName = ResourceNames.assetGroupTopCombinationView(10987417, 21974834, 43949668)
394
+ */
395
+ export function assetGroupTopCombinationView(customerId, assetGroupId, assetCombinationCategory) {
396
+ return `customers/${customerId}/assetGroupTopCombinationViews/${assetGroupId}~${assetCombinationCategory}`;
397
+ }
398
+ /**
399
+ * @param {string | number} customerId
400
+ * @param {string | number} assetSetId
401
+ * @returns `AssetSetResourceName`
402
+ * @example const assetSet: ResourceNames.AssetSetResourceName = ResourceNames.assetSet(10987417, 21974834)
403
+ */
404
+ export function assetSet(customerId, assetSetId) {
405
+ return `customers/${customerId}/assetSets/${assetSetId}`;
406
+ }
407
+ /**
408
+ * @param {string | number} customerId
409
+ * @param {string | number} assetSetId
410
+ * @param {string | number} assetId
411
+ * @returns `AssetSetAssetResourceName`
412
+ * @example const assetSetAsset: ResourceNames.AssetSetAssetResourceName = ResourceNames.assetSetAsset(10987417, 21974834, 43949668)
413
+ */
414
+ export function assetSetAsset(customerId, assetSetId, assetId) {
415
+ return `customers/${customerId}/assetSetAssets/${assetSetId}~${assetId}`;
416
+ }
417
+ /**
418
+ * @param {string | number} customerId
419
+ * @param {string | number} assetSetType
420
+ * @returns `AssetSetTypeViewResourceName`
421
+ * @example const assetSetTypeView: ResourceNames.AssetSetTypeViewResourceName = ResourceNames.assetSetTypeView(10987417, 21974834)
422
+ */
423
+ export function assetSetTypeView(customerId, assetSetType) {
424
+ return `customers/${customerId}/assetSetTypeViews/${assetSetType}`;
425
+ }
426
+ /**
427
+ * @param {string | number} customerId
428
+ * @param {string | number} audienceId
429
+ * @returns `AudienceResourceName`
430
+ * @example const audience: ResourceNames.AudienceResourceName = ResourceNames.audience(10987417, 21974834)
431
+ */
432
+ export function audience(customerId, audienceId) {
433
+ return `customers/${customerId}/audiences/${audienceId}`;
434
+ }
435
+ /**
436
+ * @param {string | number} customerId
437
+ * @param {string | number} batchJobId
438
+ * @returns `BatchJobResourceName`
439
+ * @example const batchJob: ResourceNames.BatchJobResourceName = ResourceNames.batchJob(10987417, 21974834)
440
+ */
441
+ export function batchJob(customerId, batchJobId) {
442
+ return `customers/${customerId}/batchJobs/${batchJobId}`;
443
+ }
444
+ /**
445
+ * @param {string | number} customerId
446
+ * @param {string | number} seasonalityEventId
447
+ * @returns `BiddingDataExclusionResourceName`
448
+ * @example const biddingDataExclusion: ResourceNames.BiddingDataExclusionResourceName = ResourceNames.biddingDataExclusion(10987417, 21974834)
449
+ */
450
+ export function biddingDataExclusion(customerId, seasonalityEventId) {
451
+ return `customers/${customerId}/biddingDataExclusions/${seasonalityEventId}`;
452
+ }
453
+ /**
454
+ * @param {string | number} customerId
455
+ * @param {string | number} seasonalityEventId
456
+ * @returns `BiddingSeasonalityAdjustmentResourceName`
457
+ * @example const biddingSeasonalityAdjustment: ResourceNames.BiddingSeasonalityAdjustmentResourceName = ResourceNames.biddingSeasonalityAdjustment(10987417, 21974834)
458
+ */
459
+ export function biddingSeasonalityAdjustment(customerId, seasonalityEventId) {
460
+ return `customers/${customerId}/biddingSeasonalityAdjustments/${seasonalityEventId}`;
461
+ }
462
+ /**
463
+ * @param {string | number} customerId
464
+ * @param {string | number} biddingStrategyId
465
+ * @returns `BiddingStrategyResourceName`
466
+ * @example const biddingStrategy: ResourceNames.BiddingStrategyResourceName = ResourceNames.biddingStrategy(10987417, 21974834)
467
+ */
468
+ export function biddingStrategy(customerId, biddingStrategyId) {
469
+ return `customers/${customerId}/biddingStrategies/${biddingStrategyId}`;
470
+ }
471
+ /**
472
+ * @param {string | number} customerId
473
+ * @param {string | number} biddingStrategyId
474
+ * @param {string | number} type
475
+ * @param {string | number} modificationMethod
476
+ * @param {string | number} startDate
477
+ * @param {string | number} endDate
478
+ * @returns `BiddingStrategySimulationResourceName`
479
+ * @example const biddingStrategySimulation: ResourceNames.BiddingStrategySimulationResourceName = ResourceNames.biddingStrategySimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
480
+ */
481
+ export function biddingStrategySimulation(customerId, biddingStrategyId, type, modificationMethod, startDate, endDate) {
482
+ return `customers/${customerId}/biddingStrategySimulations/${biddingStrategyId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
483
+ }
484
+ /**
485
+ * @param {string | number} customerId
486
+ * @param {string | number} billingSetupId
487
+ * @returns `BillingSetupResourceName`
488
+ * @example const billingSetup: ResourceNames.BillingSetupResourceName = ResourceNames.billingSetup(10987417, 21974834)
489
+ */
490
+ export function billingSetup(customerId, billingSetupId) {
491
+ return `customers/${customerId}/billingSetups/${billingSetupId}`;
492
+ }
493
+ /**
494
+ * @param {string | number} customerId
495
+ * @param {string | number} callDetailId
496
+ * @returns `CallViewResourceName`
497
+ * @example const callView: ResourceNames.CallViewResourceName = ResourceNames.callView(10987417, 21974834)
498
+ */
499
+ export function callView(customerId, callDetailId) {
500
+ return `customers/${customerId}/callViews/${callDetailId}`;
501
+ }
502
+ /**
503
+ * @param {string | number} customerId
504
+ * @param {string | number} campaignId
505
+ * @returns `CampaignResourceName`
506
+ * @example const campaign: ResourceNames.CampaignResourceName = ResourceNames.campaign(10987417, 21974834)
507
+ */
508
+ export function campaign(customerId, campaignId) {
509
+ return `customers/${customerId}/campaigns/${campaignId}`;
510
+ }
511
+ /**
512
+ * @param {string | number} customerId
513
+ * @param {string | number} campaignId
514
+ * @param {string | number} assetId
515
+ * @param {string | number} assetLinkSource
516
+ * @param {string | number} fieldType
517
+ * @returns `CampaignAggregateAssetViewResourceName`
518
+ * @example const campaignAggregateAssetView: ResourceNames.CampaignAggregateAssetViewResourceName = ResourceNames.campaignAggregateAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
519
+ */
520
+ export function campaignAggregateAssetView(customerId, campaignId, assetId, assetLinkSource, fieldType) {
521
+ return `customers/${customerId}/campaignAggregateAssetViews/${campaignId}~${assetId}~${assetLinkSource}~${fieldType}`;
522
+ }
523
+ /**
524
+ * @param {string | number} customerId
525
+ * @param {string | number} campaignId
526
+ * @param {string | number} assetId
527
+ * @param {string | number} fieldType
528
+ * @returns `CampaignAssetResourceName`
529
+ * @example const campaignAsset: ResourceNames.CampaignAssetResourceName = ResourceNames.campaignAsset(10987417, 21974834, 43949668, 87899336)
530
+ */
531
+ export function campaignAsset(customerId, campaignId, assetId, fieldType) {
532
+ return `customers/${customerId}/campaignAssets/${campaignId}~${assetId}~${fieldType}`;
533
+ }
534
+ /**
535
+ * @param {string | number} customerId
536
+ * @param {string | number} campaignId
537
+ * @param {string | number} assetSetId
538
+ * @returns `CampaignAssetSetResourceName`
539
+ * @example const campaignAssetSet: ResourceNames.CampaignAssetSetResourceName = ResourceNames.campaignAssetSet(10987417, 21974834, 43949668)
540
+ */
541
+ export function campaignAssetSet(customerId, campaignId, assetSetId) {
542
+ return `customers/${customerId}/campaignAssetSets/${campaignId}~${assetSetId}`;
543
+ }
544
+ /**
545
+ * @param {string | number} customerId
546
+ * @param {string | number} campaignId
547
+ * @param {string | number} criterionId
548
+ * @returns `CampaignAudienceViewResourceName`
549
+ * @example const campaignAudienceView: ResourceNames.CampaignAudienceViewResourceName = ResourceNames.campaignAudienceView(10987417, 21974834, 43949668)
550
+ */
551
+ export function campaignAudienceView(customerId, campaignId, criterionId) {
552
+ return `customers/${customerId}/campaignAudienceViews/${campaignId}~${criterionId}`;
553
+ }
554
+ /**
555
+ * @param {string | number} customerId
556
+ * @param {string | number} campaignId
557
+ * @param {string | number} criterionId
558
+ * @returns `CampaignBidModifierResourceName`
559
+ * @example const campaignBidModifier: ResourceNames.CampaignBidModifierResourceName = ResourceNames.campaignBidModifier(10987417, 21974834, 43949668)
560
+ */
561
+ export function campaignBidModifier(customerId, campaignId, criterionId) {
562
+ return `customers/${customerId}/campaignBidModifiers/${campaignId}~${criterionId}`;
563
+ }
564
+ /**
565
+ * @param {string | number} customerId
566
+ * @param {string | number} campaignBudgetId
567
+ * @returns `CampaignBudgetResourceName`
568
+ * @example const campaignBudget: ResourceNames.CampaignBudgetResourceName = ResourceNames.campaignBudget(10987417, 21974834)
569
+ */
570
+ export function campaignBudget(customerId, campaignBudgetId) {
571
+ return `customers/${customerId}/campaignBudgets/${campaignBudgetId}`;
572
+ }
573
+ /**
574
+ * @param {string | number} customerId
575
+ * @param {string | number} campaignId
576
+ * @param {string | number} category
577
+ * @param {string | number} source
578
+ * @returns `CampaignConversionGoalResourceName`
579
+ * @example const campaignConversionGoal: ResourceNames.CampaignConversionGoalResourceName = ResourceNames.campaignConversionGoal(10987417, 21974834, 43949668, 87899336)
580
+ */
581
+ export function campaignConversionGoal(customerId, campaignId, category, source) {
582
+ return `customers/${customerId}/campaignConversionGoals/${campaignId}~${category}~${source}`;
583
+ }
584
+ /**
585
+ * @param {string | number} customerId
586
+ * @param {string | number} campaignId
587
+ * @param {string | number} criterionId
588
+ * @returns `CampaignCriterionResourceName`
589
+ * @example const campaignCriterion: ResourceNames.CampaignCriterionResourceName = ResourceNames.campaignCriterion(10987417, 21974834, 43949668)
590
+ */
591
+ export function campaignCriterion(customerId, campaignId, criterionId) {
592
+ return `customers/${customerId}/campaignCriteria/${campaignId}~${criterionId}`;
593
+ }
594
+ /**
595
+ * @param {string | number} customerId
596
+ * @param {string | number} campaignId
597
+ * @param {string | number} customizerAttributeId
598
+ * @returns `CampaignCustomizerResourceName`
599
+ * @example const campaignCustomizer: ResourceNames.CampaignCustomizerResourceName = ResourceNames.campaignCustomizer(10987417, 21974834, 43949668)
600
+ */
601
+ export function campaignCustomizer(customerId, campaignId, customizerAttributeId) {
602
+ return `customers/${customerId}/campaignCustomizers/${campaignId}~${customizerAttributeId}`;
603
+ }
604
+ /**
605
+ * @param {string | number} customerId
606
+ * @param {string | number} baseCampaignId
607
+ * @param {string | number} draftId
608
+ * @returns `CampaignDraftResourceName`
609
+ * @example const campaignDraft: ResourceNames.CampaignDraftResourceName = ResourceNames.campaignDraft(10987417, 21974834, 43949668)
610
+ */
611
+ export function campaignDraft(customerId, baseCampaignId, draftId) {
612
+ return `customers/${customerId}/campaignDrafts/${baseCampaignId}~${draftId}`;
613
+ }
614
+ /**
615
+ * @param {string | number} customerId
616
+ * @param {string | number} campaignId
617
+ * @param {string | number} unifiedGoalId
618
+ * @returns `CampaignGoalConfigResourceName`
619
+ * @example const campaignGoalConfig: ResourceNames.CampaignGoalConfigResourceName = ResourceNames.campaignGoalConfig(10987417, 21974834, 43949668)
620
+ */
621
+ export function campaignGoalConfig(customerId, campaignId, unifiedGoalId) {
622
+ return `customers/${customerId}/campaignGoalConfigs/${campaignId}~${unifiedGoalId}`;
623
+ }
624
+ /**
625
+ * @param {string | number} customerId
626
+ * @param {string | number} campaignGroupId
627
+ * @returns `CampaignGroupResourceName`
628
+ * @example const campaignGroup: ResourceNames.CampaignGroupResourceName = ResourceNames.campaignGroup(10987417, 21974834)
629
+ */
630
+ export function campaignGroup(customerId, campaignGroupId) {
631
+ return `customers/${customerId}/campaignGroups/${campaignGroupId}`;
632
+ }
633
+ /**
634
+ * @param {string | number} customerId
635
+ * @param {string | number} campaignId
636
+ * @param {string | number} labelId
637
+ * @returns `CampaignLabelResourceName`
638
+ * @example const campaignLabel: ResourceNames.CampaignLabelResourceName = ResourceNames.campaignLabel(10987417, 21974834, 43949668)
639
+ */
640
+ export function campaignLabel(customerId, campaignId, labelId) {
641
+ return `customers/${customerId}/campaignLabels/${campaignId}~${labelId}`;
642
+ }
643
+ /**
644
+ * @param {string | number} customerId
645
+ * @param {string | number} campaignId
646
+ * @param {string | number} clusterId
647
+ * @returns `CampaignSearchTermInsightResourceName`
648
+ * @example const campaignSearchTermInsight: ResourceNames.CampaignSearchTermInsightResourceName = ResourceNames.campaignSearchTermInsight(10987417, 21974834, 43949668)
649
+ */
650
+ export function campaignSearchTermInsight(customerId, campaignId, clusterId) {
651
+ return `customers/${customerId}/campaignSearchTermInsights/${campaignId}~${clusterId}`;
652
+ }
653
+ /**
654
+ * @param {string | number} customerId
655
+ * @param {string | number} campaignId
656
+ * @param {string | number} query
657
+ * @returns `CampaignSearchTermViewResourceName`
658
+ * @example const campaignSearchTermView: ResourceNames.CampaignSearchTermViewResourceName = ResourceNames.campaignSearchTermView(10987417, 21974834, 43949668)
659
+ */
660
+ export function campaignSearchTermView(customerId, campaignId, query) {
661
+ return `customers/${customerId}/campaignSearchTermViews/${campaignId}~${query}`;
662
+ }
663
+ /**
664
+ * @param {string | number} customerId
665
+ * @param {string | number} campaignId
666
+ * @param {string | number} sharedSetId
667
+ * @returns `CampaignSharedSetResourceName`
668
+ * @example const campaignSharedSet: ResourceNames.CampaignSharedSetResourceName = ResourceNames.campaignSharedSet(10987417, 21974834, 43949668)
669
+ */
670
+ export function campaignSharedSet(customerId, campaignId, sharedSetId) {
671
+ return `customers/${customerId}/campaignSharedSets/${campaignId}~${sharedSetId}`;
672
+ }
673
+ /**
674
+ * @param {string | number} customerId
675
+ * @param {string | number} campaignId
676
+ * @param {string | number} type
677
+ * @param {string | number} modificationMethod
678
+ * @param {string | number} startDate
679
+ * @param {string | number} endDate
680
+ * @returns `CampaignSimulationResourceName`
681
+ * @example const campaignSimulation: ResourceNames.CampaignSimulationResourceName = ResourceNames.campaignSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
682
+ */
683
+ export function campaignSimulation(customerId, campaignId, type, modificationMethod, startDate, endDate) {
684
+ return `customers/${customerId}/campaignSimulations/${campaignId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
685
+ }
686
+ /**
687
+ * @param {string | number} criterionId
688
+ * @returns `CarrierConstantResourceName`
689
+ * @example const carrierConstant: ResourceNames.CarrierConstantResourceName = ResourceNames.carrierConstant(10987417)
690
+ */
691
+ export function carrierConstant(criterionId) {
692
+ return `carrierConstants/${criterionId}`;
693
+ }
694
+ /**
695
+ * @param {string | number} customerId
696
+ * @returns `CartDataSalesViewResourceName`
697
+ * @example const cartDataSalesView: ResourceNames.CartDataSalesViewResourceName = ResourceNames.cartDataSalesView(10987417)
698
+ */
699
+ export function cartDataSalesView(customerId) {
700
+ return `customers/${customerId}/cartDataSalesView`;
701
+ }
702
+ /**
703
+ * @param {string | number} customerId
704
+ * @param {string | number} timestampMicros
705
+ * @param {string | number} commandIndex
706
+ * @param {string | number} mutateIndex
707
+ * @returns `ChangeEventResourceName`
708
+ * @example const changeEvent: ResourceNames.ChangeEventResourceName = ResourceNames.changeEvent(10987417, 21974834, 43949668, 87899336)
709
+ */
710
+ export function changeEvent(customerId, timestampMicros, commandIndex, mutateIndex) {
711
+ return `customers/${customerId}/changeEvents/${timestampMicros}~${commandIndex}~${mutateIndex}`;
712
+ }
713
+ /**
714
+ * @param {string | number} customerId
715
+ * @param {string | number} changeStatusId
716
+ * @returns `ChangeStatusResourceName`
717
+ * @example const changeStatus: ResourceNames.ChangeStatusResourceName = ResourceNames.changeStatus(10987417, 21974834)
718
+ */
719
+ export function changeStatus(customerId, changeStatusId) {
720
+ return `customers/${customerId}/changeStatus/${changeStatusId}`;
721
+ }
722
+ /**
723
+ * @param {string | number} customerId
724
+ * @param {string | number} advertisingChannelType
725
+ * @param {string | number} assetId
726
+ * @param {string | number} assetSource
727
+ * @param {string | number} fieldType
728
+ * @returns `ChannelAggregateAssetViewResourceName`
729
+ * @example const channelAggregateAssetView: ResourceNames.ChannelAggregateAssetViewResourceName = ResourceNames.channelAggregateAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
730
+ */
731
+ export function channelAggregateAssetView(customerId, advertisingChannelType, assetId, assetSource, fieldType) {
732
+ return `customers/${customerId}/channelAggregateAssetViews/${advertisingChannelType}~${assetId}~${assetSource}~${fieldType}`;
733
+ }
734
+ /**
735
+ * @param {string | number} customerId
736
+ * @param {string | number} date
737
+ * @param {string | number} gclid
738
+ * @returns `ClickViewResourceName`
739
+ * @example const clickView: ResourceNames.ClickViewResourceName = ResourceNames.clickView(10987417, 21974834, 43949668)
740
+ */
741
+ export function clickView(customerId, date, gclid) {
742
+ return `customers/${customerId}/clickViews/${date}~${gclid}`;
743
+ }
744
+ /**
745
+ * @param {string | number} customerId
746
+ * @param {string | number} combinedAudienceId
747
+ * @returns `CombinedAudienceResourceName`
748
+ * @example const combinedAudience: ResourceNames.CombinedAudienceResourceName = ResourceNames.combinedAudience(10987417, 21974834)
749
+ */
750
+ export function combinedAudience(customerId, combinedAudienceId) {
751
+ return `customers/${customerId}/combinedAudiences/${combinedAudienceId}`;
752
+ }
753
+ /**
754
+ * @param {string | number} customerId
755
+ * @param {string | number} adGroupId
756
+ * @param {string | number} criterionId
757
+ * @returns `ContentCriterionViewResourceName`
758
+ * @example const contentCriterionView: ResourceNames.ContentCriterionViewResourceName = ResourceNames.contentCriterionView(10987417, 21974834, 43949668)
759
+ */
760
+ export function contentCriterionView(customerId, adGroupId, criterionId) {
761
+ return `customers/${customerId}/contentCriterionViews/${adGroupId}~${criterionId}`;
762
+ }
763
+ /**
764
+ * @param {string | number} customerId
765
+ * @param {string | number} conversionActionId
766
+ * @returns `ConversionActionResourceName`
767
+ * @example const conversionAction: ResourceNames.ConversionActionResourceName = ResourceNames.conversionAction(10987417, 21974834)
768
+ */
769
+ export function conversionAction(customerId, conversionActionId) {
770
+ return `customers/${customerId}/conversionActions/${conversionActionId}`;
771
+ }
772
+ /**
773
+ * @param {string | number} customerId
774
+ * @param {string | number} conversionCustomVariableId
775
+ * @returns `ConversionCustomVariableResourceName`
776
+ * @example const conversionCustomVariable: ResourceNames.ConversionCustomVariableResourceName = ResourceNames.conversionCustomVariable(10987417, 21974834)
777
+ */
778
+ export function conversionCustomVariable(customerId, conversionCustomVariableId) {
779
+ return `customers/${customerId}/conversionCustomVariables/${conversionCustomVariableId}`;
780
+ }
781
+ /**
782
+ * @param {string | number} customerId
783
+ * @param {string | number} campaignId
784
+ * @returns `ConversionGoalCampaignConfigResourceName`
785
+ * @example const conversionGoalCampaignConfig: ResourceNames.ConversionGoalCampaignConfigResourceName = ResourceNames.conversionGoalCampaignConfig(10987417, 21974834)
786
+ */
787
+ export function conversionGoalCampaignConfig(customerId, campaignId) {
788
+ return `customers/${customerId}/conversionGoalCampaignConfigs/${campaignId}`;
789
+ }
790
+ /**
791
+ * @param {string | number} customerId
792
+ * @param {string | number} conversionValueRuleId
793
+ * @returns `ConversionValueRuleResourceName`
794
+ * @example const conversionValueRule: ResourceNames.ConversionValueRuleResourceName = ResourceNames.conversionValueRule(10987417, 21974834)
795
+ */
796
+ export function conversionValueRule(customerId, conversionValueRuleId) {
797
+ return `customers/${customerId}/conversionValueRules/${conversionValueRuleId}`;
798
+ }
799
+ /**
800
+ * @param {string | number} customerId
801
+ * @param {string | number} conversionValueRuleSetId
802
+ * @returns `ConversionValueRuleSetResourceName`
803
+ * @example const conversionValueRuleSet: ResourceNames.ConversionValueRuleSetResourceName = ResourceNames.conversionValueRuleSet(10987417, 21974834)
804
+ */
805
+ export function conversionValueRuleSet(customerId, conversionValueRuleSetId) {
806
+ return `customers/${customerId}/conversionValueRuleSets/${conversionValueRuleSetId}`;
807
+ }
808
+ /**
809
+ * @param {string | number} code
810
+ * @returns `CurrencyConstantResourceName`
811
+ * @example const currencyConstant: ResourceNames.CurrencyConstantResourceName = ResourceNames.currencyConstant(10987417)
812
+ */
813
+ export function currencyConstant(code) {
814
+ return `currencyConstants/${code}`;
815
+ }
816
+ /**
817
+ * @param {string | number} customerId
818
+ * @param {string | number} customAudienceId
819
+ * @returns `CustomAudienceResourceName`
820
+ * @example const customAudience: ResourceNames.CustomAudienceResourceName = ResourceNames.customAudience(10987417, 21974834)
821
+ */
822
+ export function customAudience(customerId, customAudienceId) {
823
+ return `customers/${customerId}/customAudiences/${customAudienceId}`;
824
+ }
825
+ /**
826
+ * @param {string | number} customerId
827
+ * @param {string | number} goalId
828
+ * @returns `CustomConversionGoalResourceName`
829
+ * @example const customConversionGoal: ResourceNames.CustomConversionGoalResourceName = ResourceNames.customConversionGoal(10987417, 21974834)
830
+ */
831
+ export function customConversionGoal(customerId, goalId) {
832
+ return `customers/${customerId}/customConversionGoals/${goalId}`;
833
+ }
834
+ /**
835
+ * @param {string | number} customerId
836
+ * @param {string | number} customInterestId
837
+ * @returns `CustomInterestResourceName`
838
+ * @example const customInterest: ResourceNames.CustomInterestResourceName = ResourceNames.customInterest(10987417, 21974834)
839
+ */
840
+ export function customInterest(customerId, customInterestId) {
841
+ return `customers/${customerId}/customInterests/${customInterestId}`;
842
+ }
843
+ /**
844
+ * @param {string | number} customerId
845
+ * @returns `CustomerResourceName`
846
+ * @example const customer: ResourceNames.CustomerResourceName = ResourceNames.customer(10987417)
847
+ */
848
+ export function customer(customerId) {
849
+ return `customers/${customerId}`;
850
+ }
851
+ /**
852
+ * @param {string | number} customerId
853
+ * @param {string | number} assetId
854
+ * @param {string | number} fieldType
855
+ * @returns `CustomerAssetResourceName`
856
+ * @example const customerAsset: ResourceNames.CustomerAssetResourceName = ResourceNames.customerAsset(10987417, 21974834, 43949668)
857
+ */
858
+ export function customerAsset(customerId, assetId, fieldType) {
859
+ return `customers/${customerId}/customerAssets/${assetId}~${fieldType}`;
860
+ }
861
+ /**
862
+ * @param {string | number} customerId
863
+ * @param {string | number} assetSetId
864
+ * @returns `CustomerAssetSetResourceName`
865
+ * @example const customerAssetSet: ResourceNames.CustomerAssetSetResourceName = ResourceNames.customerAssetSet(10987417, 21974834)
866
+ */
867
+ export function customerAssetSet(customerId, assetSetId) {
868
+ return `customers/${customerId}/customerAssetSets/${assetSetId}`;
869
+ }
870
+ /**
871
+ * @param {string | number} customerId
872
+ * @param {string | number} clientCustomerId
873
+ * @returns `CustomerClientResourceName`
874
+ * @example const customerClient: ResourceNames.CustomerClientResourceName = ResourceNames.customerClient(10987417, 21974834)
875
+ */
876
+ export function customerClient(customerId, clientCustomerId) {
877
+ return `customers/${customerId}/customerClients/${clientCustomerId}`;
878
+ }
879
+ /**
880
+ * @param {string | number} customerId
881
+ * @param {string | number} clientCustomerId
882
+ * @param {string | number} managerLinkId
883
+ * @returns `CustomerClientLinkResourceName`
884
+ * @example const customerClientLink: ResourceNames.CustomerClientLinkResourceName = ResourceNames.customerClientLink(10987417, 21974834, 43949668)
885
+ */
886
+ export function customerClientLink(customerId, clientCustomerId, managerLinkId) {
887
+ return `customers/${customerId}/customerClientLinks/${clientCustomerId}~${managerLinkId}`;
888
+ }
889
+ /**
890
+ * @param {string | number} customerId
891
+ * @param {string | number} category
892
+ * @param {string | number} source
893
+ * @returns `CustomerConversionGoalResourceName`
894
+ * @example const customerConversionGoal: ResourceNames.CustomerConversionGoalResourceName = ResourceNames.customerConversionGoal(10987417, 21974834, 43949668)
895
+ */
896
+ export function customerConversionGoal(customerId, category, source) {
897
+ return `customers/${customerId}/customerConversionGoals/${category}~${source}`;
898
+ }
899
+ /**
900
+ * @param {string | number} customerId
901
+ * @param {string | number} customizerAttributeId
902
+ * @returns `CustomerCustomizerResourceName`
903
+ * @example const customerCustomizer: ResourceNames.CustomerCustomizerResourceName = ResourceNames.customerCustomizer(10987417, 21974834)
904
+ */
905
+ export function customerCustomizer(customerId, customizerAttributeId) {
906
+ return `customers/${customerId}/customerCustomizers/${customizerAttributeId}`;
907
+ }
908
+ /**
909
+ * @param {string | number} customerId
910
+ * @param {string | number} labelId
911
+ * @returns `CustomerLabelResourceName`
912
+ * @example const customerLabel: ResourceNames.CustomerLabelResourceName = ResourceNames.customerLabel(10987417, 21974834)
913
+ */
914
+ export function customerLabel(customerId, labelId) {
915
+ return `customers/${customerId}/customerLabels/${labelId}`;
916
+ }
917
+ /**
918
+ * @param {string | number} customerId
919
+ * @param {string | number} managerCustomerId
920
+ * @param {string | number} managerLinkId
921
+ * @returns `CustomerManagerLinkResourceName`
922
+ * @example const customerManagerLink: ResourceNames.CustomerManagerLinkResourceName = ResourceNames.customerManagerLink(10987417, 21974834, 43949668)
923
+ */
924
+ export function customerManagerLink(customerId, managerCustomerId, managerLinkId) {
925
+ return `customers/${customerId}/customerManagerLinks/${managerCustomerId}~${managerLinkId}`;
926
+ }
927
+ /**
928
+ * @param {string | number} customerId
929
+ * @param {string | number} criterionId
930
+ * @returns `CustomerNegativeCriterionResourceName`
931
+ * @example const customerNegativeCriterion: ResourceNames.CustomerNegativeCriterionResourceName = ResourceNames.customerNegativeCriterion(10987417, 21974834)
932
+ */
933
+ export function customerNegativeCriterion(customerId, criterionId) {
934
+ return `customers/${customerId}/customerNegativeCriteria/${criterionId}`;
935
+ }
936
+ /**
937
+ * @param {string | number} customerId
938
+ * @param {string | number} clusterId
939
+ * @returns `CustomerSearchTermInsightResourceName`
940
+ * @example const customerSearchTermInsight: ResourceNames.CustomerSearchTermInsightResourceName = ResourceNames.customerSearchTermInsight(10987417, 21974834)
941
+ */
942
+ export function customerSearchTermInsight(customerId, clusterId) {
943
+ return `customers/${customerId}/customerSearchTermInsights/${clusterId}`;
944
+ }
945
+ /**
946
+ * @param {string | number} customerId
947
+ * @param {string | number} accountLinkId
948
+ * @returns `CustomerSkAdNetworkConversionValueSchemaResourceName`
949
+ * @example const customerSkAdNetworkConversionValueSchema: ResourceNames.CustomerSkAdNetworkConversionValueSchemaResourceName = ResourceNames.customerSkAdNetworkConversionValueSchema(10987417, 21974834)
950
+ */
951
+ export function customerSkAdNetworkConversionValueSchema(customerId, accountLinkId) {
952
+ return `customers/${customerId}/customerSkAdNetworkConversionValueSchemas/${accountLinkId}`;
953
+ }
954
+ /**
955
+ * @param {string | number} customerId
956
+ * @param {string | number} userId
957
+ * @returns `CustomerUserAccessResourceName`
958
+ * @example const customerUserAccess: ResourceNames.CustomerUserAccessResourceName = ResourceNames.customerUserAccess(10987417, 21974834)
959
+ */
960
+ export function customerUserAccess(customerId, userId) {
961
+ return `customers/${customerId}/customerUserAccesses/${userId}`;
962
+ }
963
+ /**
964
+ * @param {string | number} customerId
965
+ * @param {string | number} invitationId
966
+ * @returns `CustomerUserAccessInvitationResourceName`
967
+ * @example const customerUserAccessInvitation: ResourceNames.CustomerUserAccessInvitationResourceName = ResourceNames.customerUserAccessInvitation(10987417, 21974834)
968
+ */
969
+ export function customerUserAccessInvitation(customerId, invitationId) {
970
+ return `customers/${customerId}/customerUserAccessInvitations/${invitationId}`;
971
+ }
972
+ /**
973
+ * @param {string | number} customerId
974
+ * @param {string | number} customizerAttributeId
975
+ * @returns `CustomizerAttributeResourceName`
976
+ * @example const customizerAttribute: ResourceNames.CustomizerAttributeResourceName = ResourceNames.customizerAttribute(10987417, 21974834)
977
+ */
978
+ export function customizerAttribute(customerId, customizerAttributeId) {
979
+ return `customers/${customerId}/customizerAttributes/${customizerAttributeId}`;
980
+ }
981
+ /**
982
+ * @param {string | number} customerId
983
+ * @param {string | number} productLinkId
984
+ * @param {string | number} dataLinkId
985
+ * @returns `DataLinkResourceName`
986
+ * @example const dataLink: ResourceNames.DataLinkResourceName = ResourceNames.dataLink(10987417, 21974834, 43949668)
987
+ */
988
+ export function dataLink(customerId, productLinkId, dataLinkId) {
989
+ return `customers/${customerId}/dataLinks/${productLinkId}~${dataLinkId}`;
990
+ }
991
+ /**
992
+ * @param {string | number} customerId
993
+ * @param {string | number} placementFingerprint
994
+ * @returns `DetailContentSuitabilityPlacementViewResourceName`
995
+ * @example const detailContentSuitabilityPlacementView: ResourceNames.DetailContentSuitabilityPlacementViewResourceName = ResourceNames.detailContentSuitabilityPlacementView(10987417, 21974834)
996
+ */
997
+ export function detailContentSuitabilityPlacementView(customerId, placementFingerprint) {
998
+ return `customers/${customerId}/detailContentSuitabilityPlacementViews/${placementFingerprint}`;
999
+ }
1000
+ /**
1001
+ * @param {string | number} customerId
1002
+ * @param {string | number} adGroupId
1003
+ * @param {string | number} base64Placement
1004
+ * @returns `DetailPlacementViewResourceName`
1005
+ * @example const detailPlacementView: ResourceNames.DetailPlacementViewResourceName = ResourceNames.detailPlacementView(10987417, 21974834, 43949668)
1006
+ */
1007
+ export function detailPlacementView(customerId, adGroupId, base64Placement) {
1008
+ return `customers/${customerId}/detailPlacementViews/${adGroupId}~${base64Placement}`;
1009
+ }
1010
+ /**
1011
+ * @param {string | number} customerId
1012
+ * @param {string | number} detailedDemographicId
1013
+ * @returns `DetailedDemographicResourceName`
1014
+ * @example const detailedDemographic: ResourceNames.DetailedDemographicResourceName = ResourceNames.detailedDemographic(10987417, 21974834)
1015
+ */
1016
+ export function detailedDemographic(customerId, detailedDemographicId) {
1017
+ return `customers/${customerId}/detailedDemographics/${detailedDemographicId}`;
1018
+ }
1019
+ /**
1020
+ * @param {string | number} customerId
1021
+ * @param {string | number} adGroupId
1022
+ * @param {string | number} criterionId
1023
+ * @returns `DisplayKeywordViewResourceName`
1024
+ * @example const displayKeywordView: ResourceNames.DisplayKeywordViewResourceName = ResourceNames.displayKeywordView(10987417, 21974834, 43949668)
1025
+ */
1026
+ export function displayKeywordView(customerId, adGroupId, criterionId) {
1027
+ return `customers/${customerId}/displayKeywordViews/${adGroupId}~${criterionId}`;
1028
+ }
1029
+ /**
1030
+ * @param {string | number} customerId
1031
+ * @param {string | number} placeholderChainId
1032
+ * @param {string | number} distanceBucket
1033
+ * @returns `DistanceViewResourceName`
1034
+ * @example const distanceView: ResourceNames.DistanceViewResourceName = ResourceNames.distanceView(10987417, 21974834, 43949668)
1035
+ */
1036
+ export function distanceView(customerId, placeholderChainId, distanceBucket) {
1037
+ return `customers/${customerId}/distanceViews/${placeholderChainId}~${distanceBucket}`;
1038
+ }
1039
+ /**
1040
+ * @param {string | number} customerId
1041
+ * @param {string | number} campaignId
1042
+ * @param {string | number} base64Category
1043
+ * @param {string | number} languageCode
1044
+ * @returns `DomainCategoryResourceName`
1045
+ * @example const domainCategory: ResourceNames.DomainCategoryResourceName = ResourceNames.domainCategory(10987417, 21974834, 43949668, 87899336)
1046
+ */
1047
+ export function domainCategory(customerId, campaignId, base64Category, languageCode) {
1048
+ return `customers/${customerId}/domainCategories/${campaignId}~${base64Category}~${languageCode}`;
1049
+ }
1050
+ /**
1051
+ * @param {string | number} customerId
1052
+ * @param {string | number} adGroupId
1053
+ * @param {string | number} searchTermFingerprint
1054
+ * @param {string | number} headlineFingerprint
1055
+ * @param {string | number} landingPageFingerprint
1056
+ * @param {string | number} pageUrlFingerprint
1057
+ * @returns `DynamicSearchAdsSearchTermViewResourceName`
1058
+ * @example const dynamicSearchAdsSearchTermView: ResourceNames.DynamicSearchAdsSearchTermViewResourceName = ResourceNames.dynamicSearchAdsSearchTermView(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
1059
+ */
1060
+ export function dynamicSearchAdsSearchTermView(customerId, adGroupId, searchTermFingerprint, headlineFingerprint, landingPageFingerprint, pageUrlFingerprint) {
1061
+ return `customers/${customerId}/dynamicSearchAdsSearchTermViews/${adGroupId}~${searchTermFingerprint}~${headlineFingerprint}~${landingPageFingerprint}~${pageUrlFingerprint}`;
1062
+ }
1063
+ /**
1064
+ * @param {string | number} customerId
1065
+ * @param {string | number} expandedFinalUrlFingerprint
1066
+ * @returns `ExpandedLandingPageViewResourceName`
1067
+ * @example const expandedLandingPageView: ResourceNames.ExpandedLandingPageViewResourceName = ResourceNames.expandedLandingPageView(10987417, 21974834)
1068
+ */
1069
+ export function expandedLandingPageView(customerId, expandedFinalUrlFingerprint) {
1070
+ return `customers/${customerId}/expandedLandingPageViews/${expandedFinalUrlFingerprint}`;
1071
+ }
1072
+ /**
1073
+ * @param {string | number} customerId
1074
+ * @param {string | number} trialId
1075
+ * @returns `ExperimentResourceName`
1076
+ * @example const experiment: ResourceNames.ExperimentResourceName = ResourceNames.experiment(10987417, 21974834)
1077
+ */
1078
+ export function experiment(customerId, trialId) {
1079
+ return `customers/${customerId}/experiments/${trialId}`;
1080
+ }
1081
+ /**
1082
+ * @param {string | number} customerId
1083
+ * @param {string | number} trialId
1084
+ * @param {string | number} trialArmId
1085
+ * @returns `ExperimentArmResourceName`
1086
+ * @example const experimentArm: ResourceNames.ExperimentArmResourceName = ResourceNames.experimentArm(10987417, 21974834, 43949668)
1087
+ */
1088
+ export function experimentArm(customerId, trialId, trialArmId) {
1089
+ return `customers/${customerId}/experimentArms/${trialId}~${trialArmId}`;
1090
+ }
1091
+ /**
1092
+ * @param {string | number} customerId
1093
+ * @param {string | number} campaignId
1094
+ * @param {string | number} assetId
1095
+ * @param {string | number} fieldType
1096
+ * @param {string | number} urlFp
1097
+ * @returns `FinalUrlExpansionAssetViewResourceName`
1098
+ * @example const finalUrlExpansionAssetView: ResourceNames.FinalUrlExpansionAssetViewResourceName = ResourceNames.finalUrlExpansionAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
1099
+ */
1100
+ export function finalUrlExpansionAssetView(customerId, campaignId, assetId, fieldType, urlFp) {
1101
+ return `customers/${customerId}/finalUrlExpansionAssetViews/${campaignId}~${assetId}~${fieldType}~${urlFp}`;
1102
+ }
1103
+ /**
1104
+ * @param {string | number} customerId
1105
+ * @param {string | number} adGroupId
1106
+ * @param {string | number} criterionId
1107
+ * @returns `GenderViewResourceName`
1108
+ * @example const genderView: ResourceNames.GenderViewResourceName = ResourceNames.genderView(10987417, 21974834, 43949668)
1109
+ */
1110
+ export function genderView(customerId, adGroupId, criterionId) {
1111
+ return `customers/${customerId}/genderViews/${adGroupId}~${criterionId}`;
1112
+ }
1113
+ /**
1114
+ * @param {string | number} criterionId
1115
+ * @returns `GeoTargetConstantResourceName`
1116
+ * @example const geoTargetConstant: ResourceNames.GeoTargetConstantResourceName = ResourceNames.geoTargetConstant(10987417)
1117
+ */
1118
+ export function geoTargetConstant(criterionId) {
1119
+ return `geoTargetConstants/${criterionId}`;
1120
+ }
1121
+ /**
1122
+ * @param {string | number} customerId
1123
+ * @param {string | number} countryCriterionId
1124
+ * @param {string | number} locationType
1125
+ * @returns `GeographicViewResourceName`
1126
+ * @example const geographicView: ResourceNames.GeographicViewResourceName = ResourceNames.geographicView(10987417, 21974834, 43949668)
1127
+ */
1128
+ export function geographicView(customerId, countryCriterionId, locationType) {
1129
+ return `customers/${customerId}/geographicViews/${countryCriterionId}~${locationType}`;
1130
+ }
1131
+ /**
1132
+ * @param {string | number} customerId
1133
+ * @param {string | number} unifiedGoalId
1134
+ * @returns `GoalResourceName`
1135
+ * @example const goal: ResourceNames.GoalResourceName = ResourceNames.goal(10987417, 21974834)
1136
+ */
1137
+ export function goal(customerId, unifiedGoalId) {
1138
+ return `customers/${customerId}/goals/${unifiedGoalId}`;
1139
+ }
1140
+ /**
1141
+ * @param {string | number} googleAdsField
1142
+ * @returns `GoogleAdsFieldResourceName`
1143
+ * @example const googleAdsField: ResourceNames.GoogleAdsFieldResourceName = ResourceNames.googleAdsField(10987417)
1144
+ */
1145
+ export function googleAdsField(googleAdsField) {
1146
+ return `googleAdsFields/${googleAdsField}`;
1147
+ }
1148
+ /**
1149
+ * @param {string | number} customerId
1150
+ * @param {string | number} placementFingerprint
1151
+ * @returns `GroupContentSuitabilityPlacementViewResourceName`
1152
+ * @example const groupContentSuitabilityPlacementView: ResourceNames.GroupContentSuitabilityPlacementViewResourceName = ResourceNames.groupContentSuitabilityPlacementView(10987417, 21974834)
1153
+ */
1154
+ export function groupContentSuitabilityPlacementView(customerId, placementFingerprint) {
1155
+ return `customers/${customerId}/groupContentSuitabilityPlacementViews/${placementFingerprint}`;
1156
+ }
1157
+ /**
1158
+ * @param {string | number} customerId
1159
+ * @param {string | number} adGroupId
1160
+ * @param {string | number} base64Placement
1161
+ * @returns `GroupPlacementViewResourceName`
1162
+ * @example const groupPlacementView: ResourceNames.GroupPlacementViewResourceName = ResourceNames.groupPlacementView(10987417, 21974834, 43949668)
1163
+ */
1164
+ export function groupPlacementView(customerId, adGroupId, base64Placement) {
1165
+ return `customers/${customerId}/groupPlacementViews/${adGroupId}~${base64Placement}`;
1166
+ }
1167
+ /**
1168
+ * @param {string | number} customerId
1169
+ * @param {string | number} adGroupId
1170
+ * @param {string | number} criterionId
1171
+ * @returns `HotelGroupViewResourceName`
1172
+ * @example const hotelGroupView: ResourceNames.HotelGroupViewResourceName = ResourceNames.hotelGroupView(10987417, 21974834, 43949668)
1173
+ */
1174
+ export function hotelGroupView(customerId, adGroupId, criterionId) {
1175
+ return `customers/${customerId}/hotelGroupViews/${adGroupId}~${criterionId}`;
1176
+ }
1177
+ /**
1178
+ * @param {string | number} customerId
1179
+ * @returns `HotelPerformanceViewResourceName`
1180
+ * @example const hotelPerformanceView: ResourceNames.HotelPerformanceViewResourceName = ResourceNames.hotelPerformanceView(10987417)
1181
+ */
1182
+ export function hotelPerformanceView(customerId) {
1183
+ return `customers/${customerId}/hotelPerformanceView`;
1184
+ }
1185
+ /**
1186
+ * @param {string | number} customerId
1187
+ * @param {string | number} commissionId
1188
+ * @returns `HotelReconciliationResourceName`
1189
+ * @example const hotelReconciliation: ResourceNames.HotelReconciliationResourceName = ResourceNames.hotelReconciliation(10987417, 21974834)
1190
+ */
1191
+ export function hotelReconciliation(customerId, commissionId) {
1192
+ return `customers/${customerId}/hotelReconciliations/${commissionId}`;
1193
+ }
1194
+ /**
1195
+ * @param {string | number} customerId
1196
+ * @param {string | number} adGroupId
1197
+ * @param {string | number} criterionId
1198
+ * @returns `IncomeRangeViewResourceName`
1199
+ * @example const incomeRangeView: ResourceNames.IncomeRangeViewResourceName = ResourceNames.incomeRangeView(10987417, 21974834, 43949668)
1200
+ */
1201
+ export function incomeRangeView(customerId, adGroupId, criterionId) {
1202
+ return `customers/${customerId}/incomeRangeViews/${adGroupId}~${criterionId}`;
1203
+ }
1204
+ /**
1205
+ * @param {string | number} customerId
1206
+ * @param {string | number} invoiceId
1207
+ * @returns `InvoiceResourceName`
1208
+ * @example const invoice: ResourceNames.InvoiceResourceName = ResourceNames.invoice(10987417, 21974834)
1209
+ */
1210
+ export function invoice(customerId, invoiceId) {
1211
+ return `customers/${customerId}/invoices/${invoiceId}`;
1212
+ }
1213
+ /**
1214
+ * @param {string | number} customerId
1215
+ * @param {string | number} keywordPlanId
1216
+ * @returns `KeywordPlanResourceName`
1217
+ * @example const keywordPlan: ResourceNames.KeywordPlanResourceName = ResourceNames.keywordPlan(10987417, 21974834)
1218
+ */
1219
+ export function keywordPlan(customerId, keywordPlanId) {
1220
+ return `customers/${customerId}/keywordPlans/${keywordPlanId}`;
1221
+ }
1222
+ /**
1223
+ * @param {string | number} customerId
1224
+ * @param {string | number} keywordPlanAdGroupId
1225
+ * @returns `KeywordPlanAdGroupResourceName`
1226
+ * @example const keywordPlanAdGroup: ResourceNames.KeywordPlanAdGroupResourceName = ResourceNames.keywordPlanAdGroup(10987417, 21974834)
1227
+ */
1228
+ export function keywordPlanAdGroup(customerId, keywordPlanAdGroupId) {
1229
+ return `customers/${customerId}/keywordPlanAdGroups/${keywordPlanAdGroupId}`;
1230
+ }
1231
+ /**
1232
+ * @param {string | number} customerId
1233
+ * @param {string | number} keywordPlanAdGroupKeywordId
1234
+ * @returns `KeywordPlanAdGroupKeywordResourceName`
1235
+ * @example const keywordPlanAdGroupKeyword: ResourceNames.KeywordPlanAdGroupKeywordResourceName = ResourceNames.keywordPlanAdGroupKeyword(10987417, 21974834)
1236
+ */
1237
+ export function keywordPlanAdGroupKeyword(customerId, keywordPlanAdGroupKeywordId) {
1238
+ return `customers/${customerId}/keywordPlanAdGroupKeywords/${keywordPlanAdGroupKeywordId}`;
1239
+ }
1240
+ /**
1241
+ * @param {string | number} customerId
1242
+ * @param {string | number} keywordPlanCampaignId
1243
+ * @returns `KeywordPlanCampaignResourceName`
1244
+ * @example const keywordPlanCampaign: ResourceNames.KeywordPlanCampaignResourceName = ResourceNames.keywordPlanCampaign(10987417, 21974834)
1245
+ */
1246
+ export function keywordPlanCampaign(customerId, keywordPlanCampaignId) {
1247
+ return `customers/${customerId}/keywordPlanCampaigns/${keywordPlanCampaignId}`;
1248
+ }
1249
+ /**
1250
+ * @param {string | number} customerId
1251
+ * @param {string | number} keywordPlanCampaignKeywordId
1252
+ * @returns `KeywordPlanCampaignKeywordResourceName`
1253
+ * @example const keywordPlanCampaignKeyword: ResourceNames.KeywordPlanCampaignKeywordResourceName = ResourceNames.keywordPlanCampaignKeyword(10987417, 21974834)
1254
+ */
1255
+ export function keywordPlanCampaignKeyword(customerId, keywordPlanCampaignKeywordId) {
1256
+ return `customers/${customerId}/keywordPlanCampaignKeywords/${keywordPlanCampaignKeywordId}`;
1257
+ }
1258
+ /**
1259
+ * @param {string | number} expressCategoryId
1260
+ * @param {string | number} expressSubCategoryId
1261
+ * @returns `KeywordThemeConstantResourceName`
1262
+ * @example const keywordThemeConstant: ResourceNames.KeywordThemeConstantResourceName = ResourceNames.keywordThemeConstant(10987417, 21974834)
1263
+ */
1264
+ export function keywordThemeConstant(expressCategoryId, expressSubCategoryId) {
1265
+ return `keywordThemeConstants/${expressCategoryId}~${expressSubCategoryId}`;
1266
+ }
1267
+ /**
1268
+ * @param {string | number} customerId
1269
+ * @param {string | number} adGroupId
1270
+ * @param {string | number} criterionId
1271
+ * @returns `KeywordViewResourceName`
1272
+ * @example const keywordView: ResourceNames.KeywordViewResourceName = ResourceNames.keywordView(10987417, 21974834, 43949668)
1273
+ */
1274
+ export function keywordView(customerId, adGroupId, criterionId) {
1275
+ return `customers/${customerId}/keywordViews/${adGroupId}~${criterionId}`;
1276
+ }
1277
+ /**
1278
+ * @param {string | number} customerId
1279
+ * @param {string | number} labelId
1280
+ * @returns `LabelResourceName`
1281
+ * @example const label: ResourceNames.LabelResourceName = ResourceNames.label(10987417, 21974834)
1282
+ */
1283
+ export function label(customerId, labelId) {
1284
+ return `customers/${customerId}/labels/${labelId}`;
1285
+ }
1286
+ /**
1287
+ * @param {string | number} customerId
1288
+ * @param {string | number} unexpandedFinalUrlFingerprint
1289
+ * @returns `LandingPageViewResourceName`
1290
+ * @example const landingPageView: ResourceNames.LandingPageViewResourceName = ResourceNames.landingPageView(10987417, 21974834)
1291
+ */
1292
+ export function landingPageView(customerId, unexpandedFinalUrlFingerprint) {
1293
+ return `customers/${customerId}/landingPageViews/${unexpandedFinalUrlFingerprint}`;
1294
+ }
1295
+ /**
1296
+ * @param {string | number} criterionId
1297
+ * @returns `LanguageConstantResourceName`
1298
+ * @example const languageConstant: ResourceNames.LanguageConstantResourceName = ResourceNames.languageConstant(10987417)
1299
+ */
1300
+ export function languageConstant(criterionId) {
1301
+ return `languageConstants/${criterionId}`;
1302
+ }
1303
+ /**
1304
+ * @param {string | number} customerId
1305
+ * @param {string | number} leadFormUserSubmissionId
1306
+ * @returns `LeadFormSubmissionDataResourceName`
1307
+ * @example const leadFormSubmissionData: ResourceNames.LeadFormSubmissionDataResourceName = ResourceNames.leadFormSubmissionData(10987417, 21974834)
1308
+ */
1309
+ export function leadFormSubmissionData(customerId, leadFormUserSubmissionId) {
1310
+ return `customers/${customerId}/leadFormSubmissionData/${leadFormUserSubmissionId}`;
1311
+ }
1312
+ /**
1313
+ * @param {string | number} customerId
1314
+ * @param {string | number} lifeEventId
1315
+ * @returns `LifeEventResourceName`
1316
+ * @example const lifeEvent: ResourceNames.LifeEventResourceName = ResourceNames.lifeEvent(10987417, 21974834)
1317
+ */
1318
+ export function lifeEvent(customerId, lifeEventId) {
1319
+ return `customers/${customerId}/lifeEvents/${lifeEventId}`;
1320
+ }
1321
+ /**
1322
+ * @param {string | number} customerId
1323
+ * @param {string | number} liftMeasurementConfigurationId
1324
+ * @param {string | number} campaignId
1325
+ * @param {string | number} criterionId
1326
+ * @returns `LiftMeasurementAgeRangeResourceName`
1327
+ * @example const liftMeasurementAgeRange: ResourceNames.LiftMeasurementAgeRangeResourceName = ResourceNames.liftMeasurementAgeRange(10987417, 21974834, 43949668, 87899336)
1328
+ */
1329
+ export function liftMeasurementAgeRange(customerId, liftMeasurementConfigurationId, campaignId, criterionId) {
1330
+ return `customers/${customerId}/liftMeasurementAgeRanges/${liftMeasurementConfigurationId}~${campaignId}~${criterionId}`;
1331
+ }
1332
+ /**
1333
+ * @param {string | number} customerId
1334
+ * @param {string | number} liftMeasurementConfigurationId
1335
+ * @param {string | number} campaignId
1336
+ * @returns `LiftMeasurementCampaignResourceName`
1337
+ * @example const liftMeasurementCampaign: ResourceNames.LiftMeasurementCampaignResourceName = ResourceNames.liftMeasurementCampaign(10987417, 21974834, 43949668)
1338
+ */
1339
+ export function liftMeasurementCampaign(customerId, liftMeasurementConfigurationId, campaignId) {
1340
+ return `customers/${customerId}/liftMeasurementCampaigns/${liftMeasurementConfigurationId}~${campaignId}`;
1341
+ }
1342
+ /**
1343
+ * @param {string | number} customerId
1344
+ * @param {string | number} liftMeasurementConfigurationId
1345
+ * @returns `LiftMeasurementConfigResourceName`
1346
+ * @example const liftMeasurementConfig: ResourceNames.LiftMeasurementConfigResourceName = ResourceNames.liftMeasurementConfig(10987417, 21974834)
1347
+ */
1348
+ export function liftMeasurementConfig(customerId, liftMeasurementConfigurationId) {
1349
+ return `customers/${customerId}/liftMeasurementConfigs/${liftMeasurementConfigurationId}`;
1350
+ }
1351
+ /**
1352
+ * @param {string | number} customerId
1353
+ * @param {string | number} liftMeasurementConfigurationId
1354
+ * @param {string | number} campaignId
1355
+ * @param {string | number} criterionId
1356
+ * @returns `LiftMeasurementDeviceResourceName`
1357
+ * @example const liftMeasurementDevice: ResourceNames.LiftMeasurementDeviceResourceName = ResourceNames.liftMeasurementDevice(10987417, 21974834, 43949668, 87899336)
1358
+ */
1359
+ export function liftMeasurementDevice(customerId, liftMeasurementConfigurationId, campaignId, criterionId) {
1360
+ return `customers/${customerId}/liftMeasurementDevices/${liftMeasurementConfigurationId}~${campaignId}~${criterionId}`;
1361
+ }
1362
+ /**
1363
+ * @param {string | number} customerId
1364
+ * @param {string | number} liftMeasurementConfigurationId
1365
+ * @param {string | number} liftMeasurementFlightId
1366
+ * @returns `LiftMeasurementFlightResourceName`
1367
+ * @example const liftMeasurementFlight: ResourceNames.LiftMeasurementFlightResourceName = ResourceNames.liftMeasurementFlight(10987417, 21974834, 43949668)
1368
+ */
1369
+ export function liftMeasurementFlight(customerId, liftMeasurementConfigurationId, liftMeasurementFlightId) {
1370
+ return `customers/${customerId}/liftMeasurementFlights/${liftMeasurementConfigurationId}~${liftMeasurementFlightId}`;
1371
+ }
1372
+ /**
1373
+ * @param {string | number} customerId
1374
+ * @param {string | number} liftMeasurementConfigurationId
1375
+ * @param {string | number} campaignId
1376
+ * @param {string | number} criterionId
1377
+ * @returns `LiftMeasurementGenderResourceName`
1378
+ * @example const liftMeasurementGender: ResourceNames.LiftMeasurementGenderResourceName = ResourceNames.liftMeasurementGender(10987417, 21974834, 43949668, 87899336)
1379
+ */
1380
+ export function liftMeasurementGender(customerId, liftMeasurementConfigurationId, campaignId, criterionId) {
1381
+ return `customers/${customerId}/liftMeasurementGenders/${liftMeasurementConfigurationId}~${campaignId}~${criterionId}`;
1382
+ }
1383
+ /**
1384
+ * @param {string | number} customerId
1385
+ * @param {string | number} liftMeasurementConfigurationId
1386
+ * @param {string | number} campaignId
1387
+ * @param {string | number} externalVideoId
1388
+ * @returns `LiftMeasurementVideoResourceName`
1389
+ * @example const liftMeasurementVideo: ResourceNames.LiftMeasurementVideoResourceName = ResourceNames.liftMeasurementVideo(10987417, 21974834, 43949668, 87899336)
1390
+ */
1391
+ export function liftMeasurementVideo(customerId, liftMeasurementConfigurationId, campaignId, externalVideoId) {
1392
+ return `customers/${customerId}/liftMeasurementVideos/${liftMeasurementConfigurationId}~${campaignId}~${externalVideoId}`;
1393
+ }
1394
+ /**
1395
+ * @param {string | number} customerId
1396
+ * @param {string | number} glsEmployeeId
1397
+ * @returns `LocalServicesEmployeeResourceName`
1398
+ * @example const localServicesEmployee: ResourceNames.LocalServicesEmployeeResourceName = ResourceNames.localServicesEmployee(10987417, 21974834)
1399
+ */
1400
+ export function localServicesEmployee(customerId, glsEmployeeId) {
1401
+ return `customers/${customerId}/localServicesEmployees/${glsEmployeeId}`;
1402
+ }
1403
+ /**
1404
+ * @param {string | number} customerId
1405
+ * @param {string | number} localServicesLeadId
1406
+ * @returns `LocalServicesLeadResourceName`
1407
+ * @example const localServicesLead: ResourceNames.LocalServicesLeadResourceName = ResourceNames.localServicesLead(10987417, 21974834)
1408
+ */
1409
+ export function localServicesLead(customerId, localServicesLeadId) {
1410
+ return `customers/${customerId}/localServicesLeads/${localServicesLeadId}`;
1411
+ }
1412
+ /**
1413
+ * @param {string | number} customerId
1414
+ * @param {string | number} localServicesLeadConversationId
1415
+ * @returns `LocalServicesLeadConversationResourceName`
1416
+ * @example const localServicesLeadConversation: ResourceNames.LocalServicesLeadConversationResourceName = ResourceNames.localServicesLeadConversation(10987417, 21974834)
1417
+ */
1418
+ export function localServicesLeadConversation(customerId, localServicesLeadConversationId) {
1419
+ return `customers/${customerId}/localServicesLeadConversations/${localServicesLeadConversationId}`;
1420
+ }
1421
+ /**
1422
+ * @param {string | number} customerId
1423
+ * @param {string | number} glsVerificationArtifactId
1424
+ * @returns `LocalServicesVerificationArtifactResourceName`
1425
+ * @example const localServicesVerificationArtifact: ResourceNames.LocalServicesVerificationArtifactResourceName = ResourceNames.localServicesVerificationArtifact(10987417, 21974834)
1426
+ */
1427
+ export function localServicesVerificationArtifact(customerId, glsVerificationArtifactId) {
1428
+ return `customers/${customerId}/localServicesVerificationArtifacts/${glsVerificationArtifactId}`;
1429
+ }
1430
+ /**
1431
+ * @param {string | number} customerId
1432
+ * @param {string | number} campaignId
1433
+ * @param {string | number} adGroupId
1434
+ * @param {string | number} criterionId
1435
+ * @returns `LocationInterestViewResourceName`
1436
+ * @example const locationInterestView: ResourceNames.LocationInterestViewResourceName = ResourceNames.locationInterestView(10987417, 21974834, 43949668, 87899336)
1437
+ */
1438
+ export function locationInterestView(customerId, campaignId, adGroupId, criterionId) {
1439
+ return `customers/${customerId}/locationInterestViews/${campaignId}~${adGroupId}~${criterionId}`;
1440
+ }
1441
+ /**
1442
+ * @param {string | number} customerId
1443
+ * @param {string | number} campaignId
1444
+ * @param {string | number} criterionId
1445
+ * @returns `LocationViewResourceName`
1446
+ * @example const locationView: ResourceNames.LocationViewResourceName = ResourceNames.locationView(10987417, 21974834, 43949668)
1447
+ */
1448
+ export function locationView(customerId, campaignId, criterionId) {
1449
+ return `customers/${customerId}/locationViews/${campaignId}~${criterionId}`;
1450
+ }
1451
+ /**
1452
+ * @param {string | number} customerId
1453
+ * @param {string | number} adGroupId
1454
+ * @param {string | number} criterionId
1455
+ * @returns `ManagedPlacementViewResourceName`
1456
+ * @example const managedPlacementView: ResourceNames.ManagedPlacementViewResourceName = ResourceNames.managedPlacementView(10987417, 21974834, 43949668)
1457
+ */
1458
+ export function managedPlacementView(customerId, adGroupId, criterionId) {
1459
+ return `customers/${customerId}/managedPlacementViews/${adGroupId}~${criterionId}`;
1460
+ }
1461
+ /**
1462
+ * @param {string | number} customerId
1463
+ * @param {string | number} countryCriterionId
1464
+ * @returns `MatchedLocationInterestViewResourceName`
1465
+ * @example const matchedLocationInterestView: ResourceNames.MatchedLocationInterestViewResourceName = ResourceNames.matchedLocationInterestView(10987417, 21974834)
1466
+ */
1467
+ export function matchedLocationInterestView(customerId, countryCriterionId) {
1468
+ return `customers/${customerId}/matchedLocationInterestViews/${countryCriterionId}`;
1469
+ }
1470
+ /**
1471
+ * @param {string | number} customerId
1472
+ * @param {string | number} mediaFileId
1473
+ * @returns `MediaFileResourceName`
1474
+ * @example const mediaFile: ResourceNames.MediaFileResourceName = ResourceNames.mediaFile(10987417, 21974834)
1475
+ */
1476
+ export function mediaFile(customerId, mediaFileId) {
1477
+ return `customers/${customerId}/mediaFiles/${mediaFileId}`;
1478
+ }
1479
+ /**
1480
+ * @param {string | number} mobileAppCategoryId
1481
+ * @returns `MobileAppCategoryConstantResourceName`
1482
+ * @example const mobileAppCategoryConstant: ResourceNames.MobileAppCategoryConstantResourceName = ResourceNames.mobileAppCategoryConstant(10987417)
1483
+ */
1484
+ export function mobileAppCategoryConstant(mobileAppCategoryId) {
1485
+ return `mobileAppCategoryConstants/${mobileAppCategoryId}`;
1486
+ }
1487
+ /**
1488
+ * @param {string | number} criterionId
1489
+ * @returns `MobileDeviceConstantResourceName`
1490
+ * @example const mobileDeviceConstant: ResourceNames.MobileDeviceConstantResourceName = ResourceNames.mobileDeviceConstant(10987417)
1491
+ */
1492
+ export function mobileDeviceConstant(criterionId) {
1493
+ return `mobileDeviceConstants/${criterionId}`;
1494
+ }
1495
+ /**
1496
+ * @param {string | number} customerId
1497
+ * @param {string | number} customerInvitationId
1498
+ * @returns `MultiPartyAuthReviewResourceName`
1499
+ * @example const multiPartyAuthReview: ResourceNames.MultiPartyAuthReviewResourceName = ResourceNames.multiPartyAuthReview(10987417, 21974834)
1500
+ */
1501
+ export function multiPartyAuthReview(customerId, customerInvitationId) {
1502
+ return `customers/${customerId}/multiPartyAuthReviews/${customerInvitationId}`;
1503
+ }
1504
+ /**
1505
+ * @param {string | number} customerId
1506
+ * @param {string | number} client
1507
+ * @returns `OfflineConversionUploadClientSummaryResourceName`
1508
+ * @example const offlineConversionUploadClientSummary: ResourceNames.OfflineConversionUploadClientSummaryResourceName = ResourceNames.offlineConversionUploadClientSummary(10987417, 21974834)
1509
+ */
1510
+ export function offlineConversionUploadClientSummary(customerId, client) {
1511
+ return `customers/${customerId}/offlineConversionUploadClientSummaries/${client}`;
1512
+ }
1513
+ /**
1514
+ * @param {string | number} customerId
1515
+ * @param {string | number} conversionTypeId
1516
+ * @param {string | number} client
1517
+ * @returns `OfflineConversionUploadConversionActionSummaryResourceName`
1518
+ * @example const offlineConversionUploadConversionActionSummary: ResourceNames.OfflineConversionUploadConversionActionSummaryResourceName = ResourceNames.offlineConversionUploadConversionActionSummary(10987417, 21974834, 43949668)
1519
+ */
1520
+ export function offlineConversionUploadConversionActionSummary(customerId, conversionTypeId, client) {
1521
+ return `customers/${customerId}/offlineConversionUploadConversionActionSummaries/${conversionTypeId}~${client}`;
1522
+ }
1523
+ /**
1524
+ * @param {string | number} customerId
1525
+ * @param {string | number} offlineUserDataUpdateId
1526
+ * @returns `OfflineUserDataJobResourceName`
1527
+ * @example const offlineUserDataJob: ResourceNames.OfflineUserDataJobResourceName = ResourceNames.offlineUserDataJob(10987417, 21974834)
1528
+ */
1529
+ export function offlineUserDataJob(customerId, offlineUserDataUpdateId) {
1530
+ return `customers/${customerId}/offlineUserDataJobs/${offlineUserDataUpdateId}`;
1531
+ }
1532
+ /**
1533
+ * @param {string | number} criterionId
1534
+ * @returns `OperatingSystemVersionConstantResourceName`
1535
+ * @example const operatingSystemVersionConstant: ResourceNames.OperatingSystemVersionConstantResourceName = ResourceNames.operatingSystemVersionConstant(10987417)
1536
+ */
1537
+ export function operatingSystemVersionConstant(criterionId) {
1538
+ return `operatingSystemVersionConstants/${criterionId}`;
1539
+ }
1540
+ /**
1541
+ * @param {string | number} customerId
1542
+ * @param {string | number} campaignId
1543
+ * @param {string | number} adGroupId
1544
+ * @param {string | number} base64SearchTerm
1545
+ * @returns `PaidOrganicSearchTermViewResourceName`
1546
+ * @example const paidOrganicSearchTermView: ResourceNames.PaidOrganicSearchTermViewResourceName = ResourceNames.paidOrganicSearchTermView(10987417, 21974834, 43949668, 87899336)
1547
+ */
1548
+ export function paidOrganicSearchTermView(customerId, campaignId, adGroupId, base64SearchTerm) {
1549
+ return `customers/${customerId}/paidOrganicSearchTermViews/${campaignId}~${adGroupId}~${base64SearchTerm}`;
1550
+ }
1551
+ /**
1552
+ * @param {string | number} customerId
1553
+ * @param {string | number} adGroupId
1554
+ * @param {string | number} criterionId
1555
+ * @returns `ParentalStatusViewResourceName`
1556
+ * @example const parentalStatusView: ResourceNames.ParentalStatusViewResourceName = ResourceNames.parentalStatusView(10987417, 21974834, 43949668)
1557
+ */
1558
+ export function parentalStatusView(customerId, adGroupId, criterionId) {
1559
+ return `customers/${customerId}/parentalStatusViews/${adGroupId}~${criterionId}`;
1560
+ }
1561
+ /**
1562
+ * @param {string | number} customerId
1563
+ * @param {string | number} paymentsAccountId
1564
+ * @returns `PaymentsAccountResourceName`
1565
+ * @example const paymentsAccount: ResourceNames.PaymentsAccountResourceName = ResourceNames.paymentsAccount(10987417, 21974834)
1566
+ */
1567
+ export function paymentsAccount(customerId, paymentsAccountId) {
1568
+ return `customers/${customerId}/paymentsAccounts/${paymentsAccountId}`;
1569
+ }
1570
+ /**
1571
+ * @param {string | number} customerId
1572
+ * @param {string | number} placeId
1573
+ * @returns `PerStoreViewResourceName`
1574
+ * @example const perStoreView: ResourceNames.PerStoreViewResourceName = ResourceNames.perStoreView(10987417, 21974834)
1575
+ */
1576
+ export function perStoreView(customerId, placeId) {
1577
+ return `customers/${customerId}/perStoreViews/${placeId}`;
1578
+ }
1579
+ /**
1580
+ * @param {string | number} customerId
1581
+ * @param {string | number} base_64Placement
1582
+ * @returns `PerformanceMaxPlacementViewResourceName`
1583
+ * @example const performanceMaxPlacementView: ResourceNames.PerformanceMaxPlacementViewResourceName = ResourceNames.performanceMaxPlacementView(10987417, 21974834)
1584
+ */
1585
+ export function performanceMaxPlacementView(customerId, base_64Placement) {
1586
+ return `customers/${customerId}/performanceMaxPlacementViews/${base_64Placement}`;
1587
+ }
1588
+ /**
1589
+ * @param {string | number} level
1590
+ * @param {string | number} categoryId
1591
+ * @returns `ProductCategoryConstantResourceName`
1592
+ * @example const productCategoryConstant: ResourceNames.ProductCategoryConstantResourceName = ResourceNames.productCategoryConstant(10987417, 21974834)
1593
+ */
1594
+ export function productCategoryConstant(level, categoryId) {
1595
+ return `productCategoryConstants/${level}~${categoryId}`;
1596
+ }
1597
+ /**
1598
+ * @param {string | number} customerId
1599
+ * @param {string | number} adgroupId
1600
+ * @param {string | number} criterionId
1601
+ * @returns `ProductGroupViewResourceName`
1602
+ * @example const productGroupView: ResourceNames.ProductGroupViewResourceName = ResourceNames.productGroupView(10987417, 21974834, 43949668)
1603
+ */
1604
+ export function productGroupView(customerId, adgroupId, criterionId) {
1605
+ return `customers/${customerId}/productGroupViews/${adgroupId}~${criterionId}`;
1606
+ }
1607
+ /**
1608
+ * @param {string | number} customerId
1609
+ * @param {string | number} productLinkId
1610
+ * @returns `ProductLinkResourceName`
1611
+ * @example const productLink: ResourceNames.ProductLinkResourceName = ResourceNames.productLink(10987417, 21974834)
1612
+ */
1613
+ export function productLink(customerId, productLinkId) {
1614
+ return `customers/${customerId}/productLinks/${productLinkId}`;
1615
+ }
1616
+ /**
1617
+ * @param {string | number} customerId
1618
+ * @param {string | number} customerInvitationId
1619
+ * @returns `ProductLinkInvitationResourceName`
1620
+ * @example const productLinkInvitation: ResourceNames.ProductLinkInvitationResourceName = ResourceNames.productLinkInvitation(10987417, 21974834)
1621
+ */
1622
+ export function productLinkInvitation(customerId, customerInvitationId) {
1623
+ return `customers/${customerId}/productLinkInvitations/${customerInvitationId}`;
1624
+ }
1625
+ /**
1626
+ * @param {string | number} qualifyingQuestionId
1627
+ * @returns `QualifyingQuestionResourceName`
1628
+ * @example const qualifyingQuestion: ResourceNames.QualifyingQuestionResourceName = ResourceNames.qualifyingQuestion(10987417)
1629
+ */
1630
+ export function qualifyingQuestion(qualifyingQuestionId) {
1631
+ return `qualifyingQuestions/${qualifyingQuestionId}`;
1632
+ }
1633
+ /**
1634
+ * @param {string | number} customerId
1635
+ * @param {string | number} recommendationId
1636
+ * @returns `RecommendationResourceName`
1637
+ * @example const recommendation: ResourceNames.RecommendationResourceName = ResourceNames.recommendation(10987417, 21974834)
1638
+ */
1639
+ export function recommendation(customerId, recommendationId) {
1640
+ return `customers/${customerId}/recommendations/${recommendationId}`;
1641
+ }
1642
+ /**
1643
+ * @param {string | number} customerId
1644
+ * @param {string | number} recommendationType
1645
+ * @returns `RecommendationSubscriptionResourceName`
1646
+ * @example const recommendationSubscription: ResourceNames.RecommendationSubscriptionResourceName = ResourceNames.recommendationSubscription(10987417, 21974834)
1647
+ */
1648
+ export function recommendationSubscription(customerId, recommendationType) {
1649
+ return `customers/${customerId}/recommendationSubscriptions/${recommendationType}`;
1650
+ }
1651
+ /**
1652
+ * @param {string | number} customerId
1653
+ * @param {string | number} remarketingActionId
1654
+ * @returns `RemarketingActionResourceName`
1655
+ * @example const remarketingAction: ResourceNames.RemarketingActionResourceName = ResourceNames.remarketingAction(10987417, 21974834)
1656
+ */
1657
+ export function remarketingAction(customerId, remarketingActionId) {
1658
+ return `customers/${customerId}/remarketingActions/${remarketingActionId}`;
1659
+ }
1660
+ /**
1661
+ * @param {string | number} customerId
1662
+ * @param {string | number} campaignId
1663
+ * @param {string | number} adGroupId
1664
+ * @param {string | number} query
1665
+ * @returns `SearchTermViewResourceName`
1666
+ * @example const searchTermView: ResourceNames.SearchTermViewResourceName = ResourceNames.searchTermView(10987417, 21974834, 43949668, 87899336)
1667
+ */
1668
+ export function searchTermView(customerId, campaignId, adGroupId, query) {
1669
+ return `customers/${customerId}/searchTermViews/${campaignId}~${adGroupId}~${query}`;
1670
+ }
1671
+ /**
1672
+ * @param {string | number} customerId
1673
+ * @param {string | number} sharedSetId
1674
+ * @param {string | number} criterionId
1675
+ * @returns `SharedCriterionResourceName`
1676
+ * @example const sharedCriterion: ResourceNames.SharedCriterionResourceName = ResourceNames.sharedCriterion(10987417, 21974834, 43949668)
1677
+ */
1678
+ export function sharedCriterion(customerId, sharedSetId, criterionId) {
1679
+ return `customers/${customerId}/sharedCriteria/${sharedSetId}~${criterionId}`;
1680
+ }
1681
+ /**
1682
+ * @param {string | number} customerId
1683
+ * @param {string | number} sharedSetId
1684
+ * @returns `SharedSetResourceName`
1685
+ * @example const sharedSet: ResourceNames.SharedSetResourceName = ResourceNames.sharedSet(10987417, 21974834)
1686
+ */
1687
+ export function sharedSet(customerId, sharedSetId) {
1688
+ return `customers/${customerId}/sharedSets/${sharedSetId}`;
1689
+ }
1690
+ /**
1691
+ * @param {string | number} customerId
1692
+ * @returns `ShoppingPerformanceViewResourceName`
1693
+ * @example const shoppingPerformanceView: ResourceNames.ShoppingPerformanceViewResourceName = ResourceNames.shoppingPerformanceView(10987417)
1694
+ */
1695
+ export function shoppingPerformanceView(customerId) {
1696
+ return `customers/${customerId}/shoppingPerformanceView`;
1697
+ }
1698
+ /**
1699
+ * @param {string | number} customerId
1700
+ * @param {string | number} merchantCenterId
1701
+ * @param {string | number} channel
1702
+ * @param {string | number} languageCode
1703
+ * @param {string | number} feedLabel
1704
+ * @param {string | number} itemId
1705
+ * @returns `ShoppingProductResourceName`
1706
+ * @example const shoppingProduct: ResourceNames.ShoppingProductResourceName = ResourceNames.shoppingProduct(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
1707
+ */
1708
+ export function shoppingProduct(customerId, merchantCenterId, channel, languageCode, feedLabel, itemId) {
1709
+ return `customers/${customerId}/shoppingProducts/${merchantCenterId}~${channel}~${languageCode}~${feedLabel}~${itemId}`;
1710
+ }
1711
+ /**
1712
+ * @param {string | number} customerId
1713
+ * @param {string | number} campaignId
1714
+ * @param {string | number} query
1715
+ * @returns `SmartCampaignSearchTermViewResourceName`
1716
+ * @example const smartCampaignSearchTermView: ResourceNames.SmartCampaignSearchTermViewResourceName = ResourceNames.smartCampaignSearchTermView(10987417, 21974834, 43949668)
1717
+ */
1718
+ export function smartCampaignSearchTermView(customerId, campaignId, query) {
1719
+ return `customers/${customerId}/smartCampaignSearchTermViews/${campaignId}~${query}`;
1720
+ }
1721
+ /**
1722
+ * @param {string | number} customerId
1723
+ * @param {string | number} campaignId
1724
+ * @returns `SmartCampaignSettingResourceName`
1725
+ * @example const smartCampaignSetting: ResourceNames.SmartCampaignSettingResourceName = ResourceNames.smartCampaignSetting(10987417, 21974834)
1726
+ */
1727
+ export function smartCampaignSetting(customerId, campaignId) {
1728
+ return `customers/${customerId}/smartCampaignSettings/${campaignId}`;
1729
+ }
1730
+ /**
1731
+ * @param {string | number} customerId
1732
+ * @param {string | number} campaignId
1733
+ * @param {string | number} targetingExpansionType
1734
+ * @returns `TargetingExpansionViewResourceName`
1735
+ * @example const targetingExpansionView: ResourceNames.TargetingExpansionViewResourceName = ResourceNames.targetingExpansionView(10987417, 21974834, 43949668)
1736
+ */
1737
+ export function targetingExpansionView(customerId, campaignId, targetingExpansionType) {
1738
+ return `customers/${customerId}/targetingExpansionViews/${campaignId}~${targetingExpansionType}`;
1739
+ }
1740
+ /**
1741
+ * @param {string | number} customerId
1742
+ * @param {string | number} customerLinkId
1743
+ * @returns `ThirdPartyAppAnalyticsLinkResourceName`
1744
+ * @example const thirdPartyAppAnalyticsLink: ResourceNames.ThirdPartyAppAnalyticsLinkResourceName = ResourceNames.thirdPartyAppAnalyticsLink(10987417, 21974834)
1745
+ */
1746
+ export function thirdPartyAppAnalyticsLink(customerId, customerLinkId) {
1747
+ return `customers/${customerId}/thirdPartyAppAnalyticsLinks/${customerLinkId}`;
1748
+ }
1749
+ /**
1750
+ * @param {string | number} topicId
1751
+ * @returns `TopicConstantResourceName`
1752
+ * @example const topicConstant: ResourceNames.TopicConstantResourceName = ResourceNames.topicConstant(10987417)
1753
+ */
1754
+ export function topicConstant(topicId) {
1755
+ return `topicConstants/${topicId}`;
1756
+ }
1757
+ /**
1758
+ * @param {string | number} customerId
1759
+ * @param {string | number} adGroupId
1760
+ * @param {string | number} criterionId
1761
+ * @returns `TopicViewResourceName`
1762
+ * @example const topicView: ResourceNames.TopicViewResourceName = ResourceNames.topicView(10987417, 21974834, 43949668)
1763
+ */
1764
+ export function topicView(customerId, adGroupId, criterionId) {
1765
+ return `customers/${customerId}/topicViews/${adGroupId}~${criterionId}`;
1766
+ }
1767
+ /**
1768
+ * @param {string | number} customerId
1769
+ * @param {string | number} adGroupId
1770
+ * @param {string | number} criterionId
1771
+ * @returns `TravelActivityGroupViewResourceName`
1772
+ * @example const travelActivityGroupView: ResourceNames.TravelActivityGroupViewResourceName = ResourceNames.travelActivityGroupView(10987417, 21974834, 43949668)
1773
+ */
1774
+ export function travelActivityGroupView(customerId, adGroupId, criterionId) {
1775
+ return `customers/${customerId}/travelActivityGroupViews/${adGroupId}~${criterionId}`;
1776
+ }
1777
+ /**
1778
+ * @param {string | number} customerId
1779
+ * @returns `TravelActivityPerformanceViewResourceName`
1780
+ * @example const travelActivityPerformanceView: ResourceNames.TravelActivityPerformanceViewResourceName = ResourceNames.travelActivityPerformanceView(10987417)
1781
+ */
1782
+ export function travelActivityPerformanceView(customerId) {
1783
+ return `customers/${customerId}/travelActivityPerformanceViews`;
1784
+ }
1785
+ /**
1786
+ * @param {string | number} customerId
1787
+ * @param {string | number} userInterestId
1788
+ * @returns `UserInterestResourceName`
1789
+ * @example const userInterest: ResourceNames.UserInterestResourceName = ResourceNames.userInterest(10987417, 21974834)
1790
+ */
1791
+ export function userInterest(customerId, userInterestId) {
1792
+ return `customers/${customerId}/userInterests/${userInterestId}`;
1793
+ }
1794
+ /**
1795
+ * @param {string | number} customerId
1796
+ * @param {string | number} userListId
1797
+ * @returns `UserListResourceName`
1798
+ * @example const userList: ResourceNames.UserListResourceName = ResourceNames.userList(10987417, 21974834)
1799
+ */
1800
+ export function userList(customerId, userListId) {
1801
+ return `customers/${customerId}/userLists/${userListId}`;
1802
+ }
1803
+ /**
1804
+ * @param {string | number} customerId
1805
+ * @param {string | number} userListId
1806
+ * @param {string | number} semanticLabel
1807
+ * @returns `UserListCustomerTypeResourceName`
1808
+ * @example const userListCustomerType: ResourceNames.UserListCustomerTypeResourceName = ResourceNames.userListCustomerType(10987417, 21974834, 43949668)
1809
+ */
1810
+ export function userListCustomerType(customerId, userListId, semanticLabel) {
1811
+ return `customers/${customerId}/userListCustomerTypes/${userListId}~${semanticLabel}`;
1812
+ }
1813
+ /**
1814
+ * @param {string | number} customerId
1815
+ * @param {string | number} countryCriterionId
1816
+ * @param {string | number} isTargetingLocation
1817
+ * @returns `UserLocationViewResourceName`
1818
+ * @example const userLocationView: ResourceNames.UserLocationViewResourceName = ResourceNames.userLocationView(10987417, 21974834, 43949668)
1819
+ */
1820
+ export function userLocationView(customerId, countryCriterionId, isTargetingLocation) {
1821
+ return `customers/${customerId}/userLocationViews/${countryCriterionId}~${isTargetingLocation}`;
1822
+ }
1823
+ /**
1824
+ * @param {string | number} customerId
1825
+ * @param {string | number} videoId
1826
+ * @returns `VideoResourceName`
1827
+ * @example const video: ResourceNames.VideoResourceName = ResourceNames.video(10987417, 21974834)
1828
+ */
1829
+ export function video(customerId, videoId) {
1830
+ return `customers/${customerId}/videos/${videoId}`;
1831
+ }
1832
+ /**
1833
+ * @param {string | number} customerId
1834
+ * @param {string | number} videoEnhancement
1835
+ * @returns `VideoEnhancementResourceName`
1836
+ * @example const videoEnhancement: ResourceNames.VideoEnhancementResourceName = ResourceNames.videoEnhancement(10987417, 21974834)
1837
+ */
1838
+ export function videoEnhancement(customerId, videoEnhancement) {
1839
+ return `customers/${customerId}/videoEnhancements/${videoEnhancement}`;
1840
+ }
1841
+ /**
1842
+ * @param {string | number} customerId
1843
+ * @param {string | number} adGroupId
1844
+ * @param {string | number} criterionId
1845
+ * @returns `WebpageViewResourceName`
1846
+ * @example const webpageView: ResourceNames.WebpageViewResourceName = ResourceNames.webpageView(10987417, 21974834, 43949668)
1847
+ */
1848
+ export function webpageView(customerId, adGroupId, criterionId) {
1849
+ return `customers/${customerId}/webpageViews/${adGroupId}~${criterionId}`;
1850
+ }
1851
+ /**
1852
+ * @param {string | number} customerId
1853
+ * @param {string | number} videoUploadId
1854
+ * @returns `YouTubeVideoUploadResourceName`
1855
+ * @example const youTubeVideoUpload: ResourceNames.YouTubeVideoUploadResourceName = ResourceNames.youTubeVideoUpload(10987417, 21974834)
1856
+ */
1857
+ export function youTubeVideoUpload(customerId, videoUploadId) {
1858
+ return `customers/${customerId}/youTubeVideoUploads/${videoUploadId}`;
1859
+ }