google-ads-api 8.0.2 → 10.0.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.
- package/README.md +4 -4
- package/build/src/protos/autogen/enums.d.ts +892 -316
- package/build/src/protos/autogen/enums.js +923 -305
- package/build/src/protos/autogen/fields.d.ts +256 -123
- package/build/src/protos/autogen/fields.js +95 -0
- package/build/src/protos/autogen/resourceNames.d.ts +226 -0
- package/build/src/protos/autogen/resourceNames.js +282 -3
- package/build/src/protos/autogen/serviceFactory.d.ts +517 -1109
- package/build/src/protos/autogen/serviceFactory.js +6461 -6724
- package/build/src/protos/index.d.ts +6 -6
- package/build/src/protos/index.js +5 -5
- package/build/src/version.d.ts +1 -1
- package/build/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* Autogenerated File! Do Not Edit */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
4
|
+
exports.campaignCriterion = exports.campaignConversionGoal = exports.campaignBudget = exports.campaignBidModifier = exports.campaignAudienceView = exports.campaignAssetSet = exports.campaignAsset = exports.campaign = exports.callView = exports.billingSetup = exports.biddingStrategySimulation = exports.biddingStrategy = exports.biddingSeasonalityAdjustment = exports.biddingDataExclusion = exports.batchJob = exports.audience = exports.assetSetAsset = exports.assetSet = exports.assetGroupSignal = exports.assetGroupProductGroupView = exports.assetGroupListingGroupFilter = exports.assetGroupAsset = exports.assetGroup = exports.assetFieldTypeView = exports.asset = exports.ageRangeView = exports.adScheduleView = exports.adParameter = exports.adGroupSimulation = exports.adGroupLabel = exports.adGroupFeed = exports.adGroupExtensionSetting = exports.adGroupCustomizer = exports.adGroupCriterionSimulation = exports.adGroupCriterionLabel = exports.adGroupCriterionCustomizer = exports.adGroupCriterion = exports.adGroupBidModifier = exports.adGroupAudienceView = exports.adGroupAsset = exports.adGroupAdLabel = exports.adGroupAdAssetView = exports.adGroupAdAssetCombinationView = exports.adGroupAd = exports.adGroup = exports.ad = exports.accountLink = exports.accountBudgetProposal = exports.accountBudget = exports.accessibleBiddingStrategy = void 0;
|
|
5
|
+
exports.feedItemSet = exports.feedItem = exports.feed = exports.extensionFeedItem = exports.experimentArm = exports.experiment = exports.expandedLandingPageView = exports.dynamicSearchAdsSearchTermView = exports.domainCategory = exports.distanceView = exports.displayKeywordView = exports.detailedDemographic = exports.detailPlacementView = exports.customizerAttribute = exports.customerUserAccessInvitation = exports.customerUserAccess = exports.customerNegativeCriterion = exports.customerManagerLink = exports.customerLabel = exports.customerFeed = exports.customerExtensionSetting = exports.customerCustomizer = exports.customerConversionGoal = exports.customerClientLink = exports.customerClient = exports.customerAsset = exports.customer = exports.customInterest = exports.customConversionGoal = exports.customAudience = exports.currencyConstant = exports.conversionValueRuleSet = exports.conversionValueRule = exports.conversionGoalCampaignConfig = exports.conversionCustomVariable = exports.conversionAction = exports.combinedAudience = exports.clickView = exports.changeStatus = exports.changeEvent = exports.carrierConstant = exports.campaignSimulation = exports.campaignSharedSet = exports.campaignLabel = exports.campaignFeed = exports.campaignExtensionSetting = exports.campaignExperiment = exports.campaignDraft = exports.campaignCustomizer = exports.campaignCriterionSimulation = void 0;
|
|
6
|
+
exports.userInterest = exports.topicView = exports.topicConstant = exports.thirdPartyAppAnalyticsLink = exports.smartCampaignSetting = exports.smartCampaignSearchTermView = exports.shoppingPerformanceView = exports.sharedSet = exports.sharedCriterion = exports.searchTermView = exports.remarketingAction = exports.recommendation = exports.productGroupView = exports.productBiddingCategoryConstant = exports.paymentsAccount = exports.parentalStatusView = exports.paidOrganicSearchTermView = exports.operatingSystemVersionConstant = exports.offlineUserDataJob = exports.mobileDeviceConstant = exports.mobileAppCategoryConstant = exports.merchantCenterLink = exports.mediaFile = exports.managedPlacementView = exports.locationView = exports.lifeEvent = exports.languageConstant = exports.landingPageView = exports.label = exports.keywordView = exports.keywordThemeConstant = exports.keywordPlanCampaignKeyword = exports.keywordPlanCampaign = exports.keywordPlanAdGroupKeyword = exports.keywordPlanAdGroup = exports.keywordPlan = exports.invoice = exports.incomeRangeView = exports.hotelReconciliation = exports.hotelPerformanceView = exports.hotelGroupView = exports.groupPlacementView = exports.googleAdsField = exports.geographicView = exports.geoTargetConstant = exports.genderView = exports.feedPlaceholderView = exports.feedMapping = exports.feedItemTarget = exports.feedItemSetLink = void 0;
|
|
7
|
+
exports.webpageView = exports.video = exports.userLocationView = exports.userList = void 0;
|
|
7
8
|
/**
|
|
8
9
|
* @param {string | number} customerId
|
|
9
10
|
* @param {string | number} biddingStrategyId
|
|
@@ -75,6 +76,19 @@ function adGroupAd(customerId, adGroupId, adId) {
|
|
|
75
76
|
return "customers/" + customerId + "/adGroupAds/" + adGroupId + "~" + adId;
|
|
76
77
|
}
|
|
77
78
|
exports.adGroupAd = adGroupAd;
|
|
79
|
+
/**
|
|
80
|
+
* @param {string | number} customerId
|
|
81
|
+
* @param {string | number} adGroupId
|
|
82
|
+
* @param {string | number} adId
|
|
83
|
+
* @param {string | number} assetCombinationIdLow
|
|
84
|
+
* @param {string | number} assetCombinationIdHigh
|
|
85
|
+
* @returns `AdGroupAdAssetCombinationViewResourceName`
|
|
86
|
+
* @example const adGroupAdAssetCombinationView: ResourceNames.AdGroupAdAssetCombinationViewResourceName = ResourceNames.adGroupAdAssetCombinationView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
87
|
+
*/
|
|
88
|
+
function adGroupAdAssetCombinationView(customerId, adGroupId, adId, assetCombinationIdLow, assetCombinationIdHigh) {
|
|
89
|
+
return "customers/" + customerId + "/adGroupAdAssetCombinationViews/" + adGroupId + "~" + adId + "~" + assetCombinationIdLow + "~" + assetCombinationIdHigh;
|
|
90
|
+
}
|
|
91
|
+
exports.adGroupAdAssetCombinationView = adGroupAdAssetCombinationView;
|
|
78
92
|
/**
|
|
79
93
|
* @param {string | number} customerId
|
|
80
94
|
* @param {string | number} adGroupId
|
|
@@ -145,6 +159,18 @@ function adGroupCriterion(customerId, adGroupId, criterionId) {
|
|
|
145
159
|
return "customers/" + customerId + "/adGroupCriteria/" + adGroupId + "~" + criterionId;
|
|
146
160
|
}
|
|
147
161
|
exports.adGroupCriterion = adGroupCriterion;
|
|
162
|
+
/**
|
|
163
|
+
* @param {string | number} customerId
|
|
164
|
+
* @param {string | number} adGroupId
|
|
165
|
+
* @param {string | number} criterionId
|
|
166
|
+
* @param {string | number} customizerAttributeId
|
|
167
|
+
* @returns `AdGroupCriterionCustomizerResourceName`
|
|
168
|
+
* @example const adGroupCriterionCustomizer: ResourceNames.AdGroupCriterionCustomizerResourceName = ResourceNames.adGroupCriterionCustomizer(10987417, 21974834, 43949668, 87899336)
|
|
169
|
+
*/
|
|
170
|
+
function adGroupCriterionCustomizer(customerId, adGroupId, criterionId, customizerAttributeId) {
|
|
171
|
+
return "customers/" + customerId + "/adGroupCriterionCustomizers/" + adGroupId + "~" + criterionId + "~" + customizerAttributeId;
|
|
172
|
+
}
|
|
173
|
+
exports.adGroupCriterionCustomizer = adGroupCriterionCustomizer;
|
|
148
174
|
/**
|
|
149
175
|
* @param {string | number} customerId
|
|
150
176
|
* @param {string | number} adGroupId
|
|
@@ -172,6 +198,17 @@ function adGroupCriterionSimulation(customerId, adGroupId, criterionId, type, mo
|
|
|
172
198
|
return "customers/" + customerId + "/adGroupCriterionSimulations/" + adGroupId + "~" + criterionId + "~" + type + "~" + modificationMethod + "~" + startDate + "~" + endDate;
|
|
173
199
|
}
|
|
174
200
|
exports.adGroupCriterionSimulation = adGroupCriterionSimulation;
|
|
201
|
+
/**
|
|
202
|
+
* @param {string | number} customerId
|
|
203
|
+
* @param {string | number} adGroupId
|
|
204
|
+
* @param {string | number} customizerAttributeId
|
|
205
|
+
* @returns `AdGroupCustomizerResourceName`
|
|
206
|
+
* @example const adGroupCustomizer: ResourceNames.AdGroupCustomizerResourceName = ResourceNames.adGroupCustomizer(10987417, 21974834, 43949668)
|
|
207
|
+
*/
|
|
208
|
+
function adGroupCustomizer(customerId, adGroupId, customizerAttributeId) {
|
|
209
|
+
return "customers/" + customerId + "/adGroupCustomizers/" + adGroupId + "~" + customizerAttributeId;
|
|
210
|
+
}
|
|
211
|
+
exports.adGroupCustomizer = adGroupCustomizer;
|
|
175
212
|
/**
|
|
176
213
|
* @param {string | number} customerId
|
|
177
214
|
* @param {string | number} adGroupId
|
|
@@ -273,6 +310,92 @@ function assetFieldTypeView(customerId, fieldType) {
|
|
|
273
310
|
return "customers/" + customerId + "/assetFieldTypeViews/" + fieldType;
|
|
274
311
|
}
|
|
275
312
|
exports.assetFieldTypeView = assetFieldTypeView;
|
|
313
|
+
/**
|
|
314
|
+
* @param {string | number} customerId
|
|
315
|
+
* @param {string | number} assetGroupId
|
|
316
|
+
* @returns `AssetGroupResourceName`
|
|
317
|
+
* @example const assetGroup: ResourceNames.AssetGroupResourceName = ResourceNames.assetGroup(10987417, 21974834)
|
|
318
|
+
*/
|
|
319
|
+
function assetGroup(customerId, assetGroupId) {
|
|
320
|
+
return "customers/" + customerId + "/assetGroups/" + assetGroupId;
|
|
321
|
+
}
|
|
322
|
+
exports.assetGroup = assetGroup;
|
|
323
|
+
/**
|
|
324
|
+
* @param {string | number} customerId
|
|
325
|
+
* @param {string | number} assetGroupId
|
|
326
|
+
* @param {string | number} assetId
|
|
327
|
+
* @param {string | number} fieldType
|
|
328
|
+
* @returns `AssetGroupAssetResourceName`
|
|
329
|
+
* @example const assetGroupAsset: ResourceNames.AssetGroupAssetResourceName = ResourceNames.assetGroupAsset(10987417, 21974834, 43949668, 87899336)
|
|
330
|
+
*/
|
|
331
|
+
function assetGroupAsset(customerId, assetGroupId, assetId, fieldType) {
|
|
332
|
+
return "customers/" + customerId + "/assetGroupAssets/" + assetGroupId + "~" + assetId + "~" + fieldType;
|
|
333
|
+
}
|
|
334
|
+
exports.assetGroupAsset = assetGroupAsset;
|
|
335
|
+
/**
|
|
336
|
+
* @param {string | number} customerId
|
|
337
|
+
* @param {string | number} assetGroupId
|
|
338
|
+
* @param {string | number} listingGroupFilterId
|
|
339
|
+
* @returns `AssetGroupListingGroupFilterResourceName`
|
|
340
|
+
* @example const assetGroupListingGroupFilter: ResourceNames.AssetGroupListingGroupFilterResourceName = ResourceNames.assetGroupListingGroupFilter(10987417, 21974834, 43949668)
|
|
341
|
+
*/
|
|
342
|
+
function assetGroupListingGroupFilter(customerId, assetGroupId, listingGroupFilterId) {
|
|
343
|
+
return "customers/" + customerId + "/assetGroupListingGroupFilters/" + assetGroupId + "~" + listingGroupFilterId;
|
|
344
|
+
}
|
|
345
|
+
exports.assetGroupListingGroupFilter = assetGroupListingGroupFilter;
|
|
346
|
+
/**
|
|
347
|
+
* @param {string | number} customerId
|
|
348
|
+
* @param {string | number} assetGroupId
|
|
349
|
+
* @param {string | number} listingGroupFilterId
|
|
350
|
+
* @returns `AssetGroupProductGroupViewResourceName`
|
|
351
|
+
* @example const assetGroupProductGroupView: ResourceNames.AssetGroupProductGroupViewResourceName = ResourceNames.assetGroupProductGroupView(10987417, 21974834, 43949668)
|
|
352
|
+
*/
|
|
353
|
+
function assetGroupProductGroupView(customerId, assetGroupId, listingGroupFilterId) {
|
|
354
|
+
return "customers/" + customerId + "/assetGroupProductGroupViews/" + assetGroupId + "~" + listingGroupFilterId;
|
|
355
|
+
}
|
|
356
|
+
exports.assetGroupProductGroupView = assetGroupProductGroupView;
|
|
357
|
+
/**
|
|
358
|
+
* @param {string | number} customerId
|
|
359
|
+
* @param {string | number} assetGroupId
|
|
360
|
+
* @param {string | number} criterionId
|
|
361
|
+
* @returns `AssetGroupSignalResourceName`
|
|
362
|
+
* @example const assetGroupSignal: ResourceNames.AssetGroupSignalResourceName = ResourceNames.assetGroupSignal(10987417, 21974834, 43949668)
|
|
363
|
+
*/
|
|
364
|
+
function assetGroupSignal(customerId, assetGroupId, criterionId) {
|
|
365
|
+
return "customers/" + customerId + "/assetGroupSignals/" + assetGroupId + "~" + criterionId;
|
|
366
|
+
}
|
|
367
|
+
exports.assetGroupSignal = assetGroupSignal;
|
|
368
|
+
/**
|
|
369
|
+
* @param {string | number} customerId
|
|
370
|
+
* @param {string | number} assetSetId
|
|
371
|
+
* @returns `AssetSetResourceName`
|
|
372
|
+
* @example const assetSet: ResourceNames.AssetSetResourceName = ResourceNames.assetSet(10987417, 21974834)
|
|
373
|
+
*/
|
|
374
|
+
function assetSet(customerId, assetSetId) {
|
|
375
|
+
return "customers/" + customerId + "/assetSets/" + assetSetId;
|
|
376
|
+
}
|
|
377
|
+
exports.assetSet = assetSet;
|
|
378
|
+
/**
|
|
379
|
+
* @param {string | number} customerId
|
|
380
|
+
* @param {string | number} assetSetId
|
|
381
|
+
* @param {string | number} assetId
|
|
382
|
+
* @returns `AssetSetAssetResourceName`
|
|
383
|
+
* @example const assetSetAsset: ResourceNames.AssetSetAssetResourceName = ResourceNames.assetSetAsset(10987417, 21974834, 43949668)
|
|
384
|
+
*/
|
|
385
|
+
function assetSetAsset(customerId, assetSetId, assetId) {
|
|
386
|
+
return "customers/" + customerId + "/assetSetAssets/" + assetSetId + "~" + assetId;
|
|
387
|
+
}
|
|
388
|
+
exports.assetSetAsset = assetSetAsset;
|
|
389
|
+
/**
|
|
390
|
+
* @param {string | number} customerId
|
|
391
|
+
* @param {string | number} audienceId
|
|
392
|
+
* @returns `AudienceResourceName`
|
|
393
|
+
* @example const audience: ResourceNames.AudienceResourceName = ResourceNames.audience(10987417, 21974834)
|
|
394
|
+
*/
|
|
395
|
+
function audience(customerId, audienceId) {
|
|
396
|
+
return "customers/" + customerId + "/audiences/" + audienceId;
|
|
397
|
+
}
|
|
398
|
+
exports.audience = audience;
|
|
276
399
|
/**
|
|
277
400
|
* @param {string | number} customerId
|
|
278
401
|
* @param {string | number} batchJobId
|
|
@@ -283,6 +406,26 @@ function batchJob(customerId, batchJobId) {
|
|
|
283
406
|
return "customers/" + customerId + "/batchJobs/" + batchJobId;
|
|
284
407
|
}
|
|
285
408
|
exports.batchJob = batchJob;
|
|
409
|
+
/**
|
|
410
|
+
* @param {string | number} customerId
|
|
411
|
+
* @param {string | number} seasonalityEventId
|
|
412
|
+
* @returns `BiddingDataExclusionResourceName`
|
|
413
|
+
* @example const biddingDataExclusion: ResourceNames.BiddingDataExclusionResourceName = ResourceNames.biddingDataExclusion(10987417, 21974834)
|
|
414
|
+
*/
|
|
415
|
+
function biddingDataExclusion(customerId, seasonalityEventId) {
|
|
416
|
+
return "customers/" + customerId + "/biddingDataExclusions/" + seasonalityEventId;
|
|
417
|
+
}
|
|
418
|
+
exports.biddingDataExclusion = biddingDataExclusion;
|
|
419
|
+
/**
|
|
420
|
+
* @param {string | number} customerId
|
|
421
|
+
* @param {string | number} seasonalityEventId
|
|
422
|
+
* @returns `BiddingSeasonalityAdjustmentResourceName`
|
|
423
|
+
* @example const biddingSeasonalityAdjustment: ResourceNames.BiddingSeasonalityAdjustmentResourceName = ResourceNames.biddingSeasonalityAdjustment(10987417, 21974834)
|
|
424
|
+
*/
|
|
425
|
+
function biddingSeasonalityAdjustment(customerId, seasonalityEventId) {
|
|
426
|
+
return "customers/" + customerId + "/biddingSeasonalityAdjustments/" + seasonalityEventId;
|
|
427
|
+
}
|
|
428
|
+
exports.biddingSeasonalityAdjustment = biddingSeasonalityAdjustment;
|
|
286
429
|
/**
|
|
287
430
|
* @param {string | number} customerId
|
|
288
431
|
* @param {string | number} biddingStrategyId
|
|
@@ -349,6 +492,17 @@ function campaignAsset(customerId, campaignId, assetId, fieldType) {
|
|
|
349
492
|
return "customers/" + customerId + "/campaignAssets/" + campaignId + "~" + assetId + "~" + fieldType;
|
|
350
493
|
}
|
|
351
494
|
exports.campaignAsset = campaignAsset;
|
|
495
|
+
/**
|
|
496
|
+
* @param {string | number} customerId
|
|
497
|
+
* @param {string | number} campaignId
|
|
498
|
+
* @param {string | number} assetSetId
|
|
499
|
+
* @returns `CampaignAssetSetResourceName`
|
|
500
|
+
* @example const campaignAssetSet: ResourceNames.CampaignAssetSetResourceName = ResourceNames.campaignAssetSet(10987417, 21974834, 43949668)
|
|
501
|
+
*/
|
|
502
|
+
function campaignAssetSet(customerId, campaignId, assetSetId) {
|
|
503
|
+
return "customers/" + customerId + "/campaignAssetSets/" + campaignId + "~" + assetSetId;
|
|
504
|
+
}
|
|
505
|
+
exports.campaignAssetSet = campaignAssetSet;
|
|
352
506
|
/**
|
|
353
507
|
* @param {string | number} customerId
|
|
354
508
|
* @param {string | number} campaignId
|
|
@@ -381,6 +535,18 @@ function campaignBudget(customerId, campaignBudgetId) {
|
|
|
381
535
|
return "customers/" + customerId + "/campaignBudgets/" + campaignBudgetId;
|
|
382
536
|
}
|
|
383
537
|
exports.campaignBudget = campaignBudget;
|
|
538
|
+
/**
|
|
539
|
+
* @param {string | number} customerId
|
|
540
|
+
* @param {string | number} campaignId
|
|
541
|
+
* @param {string | number} category
|
|
542
|
+
* @param {string | number} source
|
|
543
|
+
* @returns `CampaignConversionGoalResourceName`
|
|
544
|
+
* @example const campaignConversionGoal: ResourceNames.CampaignConversionGoalResourceName = ResourceNames.campaignConversionGoal(10987417, 21974834, 43949668, 87899336)
|
|
545
|
+
*/
|
|
546
|
+
function campaignConversionGoal(customerId, campaignId, category, source) {
|
|
547
|
+
return "customers/" + customerId + "/campaignConversionGoals/" + campaignId + "~" + category + "~" + source;
|
|
548
|
+
}
|
|
549
|
+
exports.campaignConversionGoal = campaignConversionGoal;
|
|
384
550
|
/**
|
|
385
551
|
* @param {string | number} customerId
|
|
386
552
|
* @param {string | number} campaignId
|
|
@@ -407,6 +573,17 @@ function campaignCriterionSimulation(customerId, campaignId, criterionId, type,
|
|
|
407
573
|
return "customers/" + customerId + "/campaignCriterionSimulations/" + campaignId + "~" + criterionId + "~" + type + "~" + modificationMethod + "~" + startDate + "~" + endDate;
|
|
408
574
|
}
|
|
409
575
|
exports.campaignCriterionSimulation = campaignCriterionSimulation;
|
|
576
|
+
/**
|
|
577
|
+
* @param {string | number} customerId
|
|
578
|
+
* @param {string | number} campaignId
|
|
579
|
+
* @param {string | number} customizerAttributeId
|
|
580
|
+
* @returns `CampaignCustomizerResourceName`
|
|
581
|
+
* @example const campaignCustomizer: ResourceNames.CampaignCustomizerResourceName = ResourceNames.campaignCustomizer(10987417, 21974834, 43949668)
|
|
582
|
+
*/
|
|
583
|
+
function campaignCustomizer(customerId, campaignId, customizerAttributeId) {
|
|
584
|
+
return "customers/" + customerId + "/campaignCustomizers/" + campaignId + "~" + customizerAttributeId;
|
|
585
|
+
}
|
|
586
|
+
exports.campaignCustomizer = campaignCustomizer;
|
|
410
587
|
/**
|
|
411
588
|
* @param {string | number} customerId
|
|
412
589
|
* @param {string | number} baseCampaignId
|
|
@@ -558,6 +735,36 @@ function conversionCustomVariable(customerId, conversionCustomVariableId) {
|
|
|
558
735
|
return "customers/" + customerId + "/conversionCustomVariables/" + conversionCustomVariableId;
|
|
559
736
|
}
|
|
560
737
|
exports.conversionCustomVariable = conversionCustomVariable;
|
|
738
|
+
/**
|
|
739
|
+
* @param {string | number} customerId
|
|
740
|
+
* @param {string | number} campaignId
|
|
741
|
+
* @returns `ConversionGoalCampaignConfigResourceName`
|
|
742
|
+
* @example const conversionGoalCampaignConfig: ResourceNames.ConversionGoalCampaignConfigResourceName = ResourceNames.conversionGoalCampaignConfig(10987417, 21974834)
|
|
743
|
+
*/
|
|
744
|
+
function conversionGoalCampaignConfig(customerId, campaignId) {
|
|
745
|
+
return "customers/" + customerId + "/conversionGoalCampaignConfigs/" + campaignId;
|
|
746
|
+
}
|
|
747
|
+
exports.conversionGoalCampaignConfig = conversionGoalCampaignConfig;
|
|
748
|
+
/**
|
|
749
|
+
* @param {string | number} customerId
|
|
750
|
+
* @param {string | number} conversionValueRuleId
|
|
751
|
+
* @returns `ConversionValueRuleResourceName`
|
|
752
|
+
* @example const conversionValueRule: ResourceNames.ConversionValueRuleResourceName = ResourceNames.conversionValueRule(10987417, 21974834)
|
|
753
|
+
*/
|
|
754
|
+
function conversionValueRule(customerId, conversionValueRuleId) {
|
|
755
|
+
return "customers/" + customerId + "/conversionValueRules/" + conversionValueRuleId;
|
|
756
|
+
}
|
|
757
|
+
exports.conversionValueRule = conversionValueRule;
|
|
758
|
+
/**
|
|
759
|
+
* @param {string | number} customerId
|
|
760
|
+
* @param {string | number} conversionValueRuleSetId
|
|
761
|
+
* @returns `ConversionValueRuleSetResourceName`
|
|
762
|
+
* @example const conversionValueRuleSet: ResourceNames.ConversionValueRuleSetResourceName = ResourceNames.conversionValueRuleSet(10987417, 21974834)
|
|
763
|
+
*/
|
|
764
|
+
function conversionValueRuleSet(customerId, conversionValueRuleSetId) {
|
|
765
|
+
return "customers/" + customerId + "/conversionValueRuleSets/" + conversionValueRuleSetId;
|
|
766
|
+
}
|
|
767
|
+
exports.conversionValueRuleSet = conversionValueRuleSet;
|
|
561
768
|
/**
|
|
562
769
|
* @param {string | number} code
|
|
563
770
|
* @returns `CurrencyConstantResourceName`
|
|
@@ -577,6 +784,16 @@ function customAudience(customerId, customAudienceId) {
|
|
|
577
784
|
return "customers/" + customerId + "/customAudiences/" + customAudienceId;
|
|
578
785
|
}
|
|
579
786
|
exports.customAudience = customAudience;
|
|
787
|
+
/**
|
|
788
|
+
* @param {string | number} customerId
|
|
789
|
+
* @param {string | number} goalId
|
|
790
|
+
* @returns `CustomConversionGoalResourceName`
|
|
791
|
+
* @example const customConversionGoal: ResourceNames.CustomConversionGoalResourceName = ResourceNames.customConversionGoal(10987417, 21974834)
|
|
792
|
+
*/
|
|
793
|
+
function customConversionGoal(customerId, goalId) {
|
|
794
|
+
return "customers/" + customerId + "/customConversionGoals/" + goalId;
|
|
795
|
+
}
|
|
796
|
+
exports.customConversionGoal = customConversionGoal;
|
|
580
797
|
/**
|
|
581
798
|
* @param {string | number} customerId
|
|
582
799
|
* @param {string | number} customInterestId
|
|
@@ -628,6 +845,27 @@ function customerClientLink(customerId, clientCustomerId, managerLinkId) {
|
|
|
628
845
|
return "customers/" + customerId + "/customerClientLinks/" + clientCustomerId + "~" + managerLinkId;
|
|
629
846
|
}
|
|
630
847
|
exports.customerClientLink = customerClientLink;
|
|
848
|
+
/**
|
|
849
|
+
* @param {string | number} customerId
|
|
850
|
+
* @param {string | number} category
|
|
851
|
+
* @param {string | number} source
|
|
852
|
+
* @returns `CustomerConversionGoalResourceName`
|
|
853
|
+
* @example const customerConversionGoal: ResourceNames.CustomerConversionGoalResourceName = ResourceNames.customerConversionGoal(10987417, 21974834, 43949668)
|
|
854
|
+
*/
|
|
855
|
+
function customerConversionGoal(customerId, category, source) {
|
|
856
|
+
return "customers/" + customerId + "/customerConversionGoals/" + category + "~" + source;
|
|
857
|
+
}
|
|
858
|
+
exports.customerConversionGoal = customerConversionGoal;
|
|
859
|
+
/**
|
|
860
|
+
* @param {string | number} customerId
|
|
861
|
+
* @param {string | number} customizerAttributeId
|
|
862
|
+
* @returns `CustomerCustomizerResourceName`
|
|
863
|
+
* @example const customerCustomizer: ResourceNames.CustomerCustomizerResourceName = ResourceNames.customerCustomizer(10987417, 21974834)
|
|
864
|
+
*/
|
|
865
|
+
function customerCustomizer(customerId, customizerAttributeId) {
|
|
866
|
+
return "customers/" + customerId + "/customerCustomizers/" + customizerAttributeId;
|
|
867
|
+
}
|
|
868
|
+
exports.customerCustomizer = customerCustomizer;
|
|
631
869
|
/**
|
|
632
870
|
* @param {string | number} customerId
|
|
633
871
|
* @param {string | number} extensionType
|
|
@@ -699,6 +937,16 @@ function customerUserAccessInvitation(customerId, invitationId) {
|
|
|
699
937
|
return "customers/" + customerId + "/customerUserAccessInvitations/" + invitationId;
|
|
700
938
|
}
|
|
701
939
|
exports.customerUserAccessInvitation = customerUserAccessInvitation;
|
|
940
|
+
/**
|
|
941
|
+
* @param {string | number} customerId
|
|
942
|
+
* @param {string | number} customizerAttributeId
|
|
943
|
+
* @returns `CustomizerAttributeResourceName`
|
|
944
|
+
* @example const customizerAttribute: ResourceNames.CustomizerAttributeResourceName = ResourceNames.customizerAttribute(10987417, 21974834)
|
|
945
|
+
*/
|
|
946
|
+
function customizerAttribute(customerId, customizerAttributeId) {
|
|
947
|
+
return "customers/" + customerId + "/customizerAttributes/" + customizerAttributeId;
|
|
948
|
+
}
|
|
949
|
+
exports.customizerAttribute = customizerAttribute;
|
|
702
950
|
/**
|
|
703
951
|
* @param {string | number} customerId
|
|
704
952
|
* @param {string | number} adGroupId
|
|
@@ -778,6 +1026,27 @@ function expandedLandingPageView(customerId, expandedFinalUrlFingerprint) {
|
|
|
778
1026
|
return "customers/" + customerId + "/expandedLandingPageViews/" + expandedFinalUrlFingerprint;
|
|
779
1027
|
}
|
|
780
1028
|
exports.expandedLandingPageView = expandedLandingPageView;
|
|
1029
|
+
/**
|
|
1030
|
+
* @param {string | number} customerId
|
|
1031
|
+
* @param {string | number} trialId
|
|
1032
|
+
* @returns `ExperimentResourceName`
|
|
1033
|
+
* @example const experiment: ResourceNames.ExperimentResourceName = ResourceNames.experiment(10987417, 21974834)
|
|
1034
|
+
*/
|
|
1035
|
+
function experiment(customerId, trialId) {
|
|
1036
|
+
return "customers/" + customerId + "/experiments/" + trialId;
|
|
1037
|
+
}
|
|
1038
|
+
exports.experiment = experiment;
|
|
1039
|
+
/**
|
|
1040
|
+
* @param {string | number} customerId
|
|
1041
|
+
* @param {string | number} trialId
|
|
1042
|
+
* @param {string | number} trialArmId
|
|
1043
|
+
* @returns `ExperimentArmResourceName`
|
|
1044
|
+
* @example const experimentArm: ResourceNames.ExperimentArmResourceName = ResourceNames.experimentArm(10987417, 21974834, 43949668)
|
|
1045
|
+
*/
|
|
1046
|
+
function experimentArm(customerId, trialId, trialArmId) {
|
|
1047
|
+
return "customers/" + customerId + "/experimentArms/" + trialId + "~" + trialArmId;
|
|
1048
|
+
}
|
|
1049
|
+
exports.experimentArm = experimentArm;
|
|
781
1050
|
/**
|
|
782
1051
|
* @param {string | number} customerId
|
|
783
1052
|
* @param {string | number} feedItemId
|
|
@@ -937,6 +1206,16 @@ function hotelPerformanceView(customerId) {
|
|
|
937
1206
|
return "customers/" + customerId + "/hotelPerformanceView";
|
|
938
1207
|
}
|
|
939
1208
|
exports.hotelPerformanceView = hotelPerformanceView;
|
|
1209
|
+
/**
|
|
1210
|
+
* @param {string | number} customerId
|
|
1211
|
+
* @param {string | number} commissionId
|
|
1212
|
+
* @returns `HotelReconciliationResourceName`
|
|
1213
|
+
* @example const hotelReconciliation: ResourceNames.HotelReconciliationResourceName = ResourceNames.hotelReconciliation(10987417, 21974834)
|
|
1214
|
+
*/
|
|
1215
|
+
function hotelReconciliation(customerId, commissionId) {
|
|
1216
|
+
return "customers/" + customerId + "/hotelReconciliations/" + commissionId;
|
|
1217
|
+
}
|
|
1218
|
+
exports.hotelReconciliation = hotelReconciliation;
|
|
940
1219
|
/**
|
|
941
1220
|
* @param {string | number} customerId
|
|
942
1221
|
* @param {string | number} adGroupId
|