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

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