google-ads-api 14.2.0 → 16.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.
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  /* Autogenerated File! Do Not Edit */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- 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.assetSetTypeView = 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.adGroupAssetSet = 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.experiment = exports.expandedLandingPageView = exports.dynamicSearchAdsSearchTermView = exports.domainCategory = exports.distanceView = exports.displayKeywordView = exports.detailedDemographic = exports.detailPlacementView = exports.customizerAttribute = exports.customerUserAccessInvitation = exports.customerUserAccess = exports.customerSkAdNetworkConversionValueSchema = exports.customerSearchTermInsight = exports.customerNegativeCriterion = exports.customerManagerLink = exports.customerLabel = exports.customerFeed = exports.customerExtensionSetting = exports.customerCustomizer = exports.customerConversionGoal = exports.customerClientLink = exports.customerClient = exports.customerAssetSet = 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.campaignSearchTermInsight = exports.campaignLabel = exports.campaignGroup = exports.campaignFeed = exports.campaignExtensionSetting = exports.campaignDraft = exports.campaignCustomizer = exports.campaignCriterion = exports.campaignConversionGoal = void 0;
6
- exports.searchTermView = exports.remarketingAction = exports.recommendation = exports.qualifyingQuestion = exports.productLink = exports.productGroupView = exports.productBiddingCategoryConstant = exports.perStoreView = 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.leadFormSubmissionData = 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 = exports.feedItemSet = exports.feedItem = exports.feed = exports.extensionFeedItem = exports.experimentArm = void 0;
7
- exports.webpageView = exports.video = exports.userLocationView = exports.userList = exports.userInterest = exports.travelActivityPerformanceView = exports.travelActivityGroupView = exports.topicView = exports.topicConstant = exports.thirdPartyAppAnalyticsLink = exports.smartCampaignSetting = exports.smartCampaignSearchTermView = exports.shoppingPerformanceView = exports.sharedSet = exports.sharedCriterion = void 0;
4
+ exports.campaignAsset = exports.campaign = exports.callView = exports.billingSetup = exports.biddingStrategySimulation = exports.biddingStrategy = exports.biddingSeasonalityAdjustment = exports.biddingDataExclusion = exports.batchJob = exports.audience = exports.assetSetTypeView = exports.assetSetAsset = exports.assetSet = exports.assetGroupTopCombinationView = exports.assetGroupSignal = exports.assetGroupProductGroupView = exports.assetGroupListingGroupFilter = exports.assetGroupAsset = exports.assetGroup = exports.assetFieldTypeView = exports.asset = exports.androidPrivacySharedKeyGoogleNetworkType = exports.androidPrivacySharedKeyGoogleCampaign = exports.androidPrivacySharedKeyGoogleAdGroup = 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.adGroupAssetSet = 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.detailedDemographic = exports.detailPlacementView = exports.customizerAttribute = exports.customerUserAccessInvitation = exports.customerUserAccess = exports.customerSkAdNetworkConversionValueSchema = exports.customerSearchTermInsight = exports.customerNegativeCriterion = exports.customerManagerLink = exports.customerLifecycleGoal = exports.customerLabel = exports.customerFeed = exports.customerExtensionSetting = exports.customerCustomizer = exports.customerConversionGoal = exports.customerClientLink = exports.customerClient = exports.customerAssetSet = 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.campaignSearchTermInsight = exports.campaignLifecycleGoal = exports.campaignLabel = exports.campaignGroup = exports.campaignFeed = exports.campaignExtensionSetting = exports.campaignDraft = exports.campaignCustomizer = exports.campaignCriterion = exports.campaignConversionGoal = exports.campaignBudget = exports.campaignBidModifier = exports.campaignAudienceView = exports.campaignAssetSet = void 0;
6
+ exports.paidOrganicSearchTermView = exports.operatingSystemVersionConstant = exports.offlineUserDataJob = exports.offlineConversionUploadClientSummary = exports.mobileDeviceConstant = exports.mobileAppCategoryConstant = exports.mediaFile = exports.managedPlacementView = exports.locationView = exports.localServicesVerificationArtifact = exports.localServicesLeadConversation = exports.localServicesLead = exports.localServicesEmployee = exports.lifeEvent = exports.leadFormSubmissionData = 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 = exports.feedItemSet = exports.feedItem = exports.feed = exports.extensionFeedItem = exports.experimentArm = exports.experiment = exports.expandedLandingPageView = exports.dynamicSearchAdsSearchTermView = exports.domainCategory = exports.distanceView = exports.displayKeywordView = void 0;
7
+ exports.webpageView = exports.video = exports.userLocationView = exports.userList = exports.userInterest = exports.travelActivityPerformanceView = exports.travelActivityGroupView = exports.topicView = exports.topicConstant = exports.thirdPartyAppAnalyticsLink = exports.smartCampaignSetting = exports.smartCampaignSearchTermView = exports.shoppingPerformanceView = exports.sharedSet = exports.sharedCriterion = exports.searchTermView = exports.remarketingAction = exports.recommendationSubscription = exports.recommendation = exports.qualifyingQuestion = exports.productLinkInvitation = exports.productLink = exports.productGroupView = exports.productCategoryConstant = exports.perStoreView = exports.paymentsAccount = exports.parentalStatusView = void 0;
8
8
  /**
9
9
  * @param {string | number} customerId
10
10
  * @param {string | number} biddingStrategyId
@@ -301,6 +301,45 @@ function ageRangeView(customerId, adGroupId, criterionId) {
301
301
  return `customers/${customerId}/ageRangeViews/${adGroupId}~${criterionId}`;
302
302
  }
303
303
  exports.ageRangeView = ageRangeView;
304
+ /**
305
+ * @param {string | number} customerId
306
+ * @param {string | number} campaignId
307
+ * @param {string | number} adGroupId
308
+ * @param {string | number} androidPrivacyInteractionType
309
+ * @param {string | number} androidPrivacyNetworkType
310
+ * @param {string | number} androidPrivacyInteractionDate
311
+ * @returns `AndroidPrivacySharedKeyGoogleAdGroupResourceName`
312
+ * @example const androidPrivacySharedKeyGoogleAdGroup: ResourceNames.AndroidPrivacySharedKeyGoogleAdGroupResourceName = ResourceNames.androidPrivacySharedKeyGoogleAdGroup(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
313
+ */
314
+ function androidPrivacySharedKeyGoogleAdGroup(customerId, campaignId, adGroupId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
315
+ return `customers/${customerId}/androidPrivacySharedKeyGoogleAdGroups/${campaignId}~${adGroupId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
316
+ }
317
+ exports.androidPrivacySharedKeyGoogleAdGroup = androidPrivacySharedKeyGoogleAdGroup;
318
+ /**
319
+ * @param {string | number} customerId
320
+ * @param {string | number} campaignId
321
+ * @param {string | number} androidPrivacyInteractionType
322
+ * @param {string | number} androidPrivacyInteractionDate
323
+ * @returns `AndroidPrivacySharedKeyGoogleCampaignResourceName`
324
+ * @example const androidPrivacySharedKeyGoogleCampaign: ResourceNames.AndroidPrivacySharedKeyGoogleCampaignResourceName = ResourceNames.androidPrivacySharedKeyGoogleCampaign(10987417, 21974834, 43949668, 87899336)
325
+ */
326
+ function androidPrivacySharedKeyGoogleCampaign(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyInteractionDate) {
327
+ return `customers/${customerId}/androidPrivacySharedKeyGoogleCampaigns/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyInteractionDate}`;
328
+ }
329
+ exports.androidPrivacySharedKeyGoogleCampaign = androidPrivacySharedKeyGoogleCampaign;
330
+ /**
331
+ * @param {string | number} customerId
332
+ * @param {string | number} campaignId
333
+ * @param {string | number} androidPrivacyInteractionType
334
+ * @param {string | number} androidPrivacyNetworkType
335
+ * @param {string | number} androidPrivacyInteractionDate
336
+ * @returns `AndroidPrivacySharedKeyGoogleNetworkTypeResourceName`
337
+ * @example const androidPrivacySharedKeyGoogleNetworkType: ResourceNames.AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = ResourceNames.androidPrivacySharedKeyGoogleNetworkType(10987417, 21974834, 43949668, 87899336, 175798672)
338
+ */
339
+ function androidPrivacySharedKeyGoogleNetworkType(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
340
+ return `customers/${customerId}/androidPrivacySharedKeyGoogleNetworkTypes/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
341
+ }
342
+ exports.androidPrivacySharedKeyGoogleNetworkType = androidPrivacySharedKeyGoogleNetworkType;
304
343
  /**
305
344
  * @param {string | number} customerId
306
345
  * @param {string | number} assetId
@@ -376,6 +415,17 @@ function assetGroupSignal(customerId, assetGroupId, criterionId) {
376
415
  return `customers/${customerId}/assetGroupSignals/${assetGroupId}~${criterionId}`;
377
416
  }
378
417
  exports.assetGroupSignal = assetGroupSignal;
418
+ /**
419
+ * @param {string | number} customerId
420
+ * @param {string | number} assetGroupId
421
+ * @param {string | number} assetCombinationCategory
422
+ * @returns `AssetGroupTopCombinationViewResourceName`
423
+ * @example const assetGroupTopCombinationView: ResourceNames.AssetGroupTopCombinationViewResourceName = ResourceNames.assetGroupTopCombinationView(10987417, 21974834, 43949668)
424
+ */
425
+ function assetGroupTopCombinationView(customerId, assetGroupId, assetCombinationCategory) {
426
+ return `customers/${customerId}/assetGroupTopCombinationViews/${assetGroupId}~${assetCombinationCategory}`;
427
+ }
428
+ exports.assetGroupTopCombinationView = assetGroupTopCombinationView;
379
429
  /**
380
430
  * @param {string | number} customerId
381
431
  * @param {string | number} assetSetId
@@ -644,6 +694,16 @@ function campaignLabel(customerId, campaignId, labelId) {
644
694
  return `customers/${customerId}/campaignLabels/${campaignId}~${labelId}`;
645
695
  }
646
696
  exports.campaignLabel = campaignLabel;
697
+ /**
698
+ * @param {string | number} customerId
699
+ * @param {string | number} campaignId
700
+ * @returns `CampaignLifecycleGoalResourceName`
701
+ * @example const campaignLifecycleGoal: ResourceNames.CampaignLifecycleGoalResourceName = ResourceNames.campaignLifecycleGoal(10987417, 21974834)
702
+ */
703
+ function campaignLifecycleGoal(customerId, campaignId) {
704
+ return `customers/${customerId}/campaignLifecycleGoals/${campaignId}`;
705
+ }
706
+ exports.campaignLifecycleGoal = campaignLifecycleGoal;
647
707
  /**
648
708
  * @param {string | number} customerId
649
709
  * @param {string | number} campaignId
@@ -923,6 +983,15 @@ function customerLabel(customerId, labelId) {
923
983
  return `customers/${customerId}/customerLabels/${labelId}`;
924
984
  }
925
985
  exports.customerLabel = customerLabel;
986
+ /**
987
+ * @param {string | number} customerId
988
+ * @returns `CustomerLifecycleGoalResourceName`
989
+ * @example const customerLifecycleGoal: ResourceNames.CustomerLifecycleGoalResourceName = ResourceNames.customerLifecycleGoal(10987417)
990
+ */
991
+ function customerLifecycleGoal(customerId) {
992
+ return `customers/${customerId}/customerLifecycleGoals`;
993
+ }
994
+ exports.customerLifecycleGoal = customerLifecycleGoal;
926
995
  /**
927
996
  * @param {string | number} customerId
928
997
  * @param {string | number} managerCustomerId
@@ -1404,6 +1473,46 @@ function lifeEvent(customerId, lifeEventId) {
1404
1473
  return `customers/${customerId}/lifeEvents/${lifeEventId}`;
1405
1474
  }
1406
1475
  exports.lifeEvent = lifeEvent;
1476
+ /**
1477
+ * @param {string | number} customerId
1478
+ * @param {string | number} glsEmployeeId
1479
+ * @returns `LocalServicesEmployeeResourceName`
1480
+ * @example const localServicesEmployee: ResourceNames.LocalServicesEmployeeResourceName = ResourceNames.localServicesEmployee(10987417, 21974834)
1481
+ */
1482
+ function localServicesEmployee(customerId, glsEmployeeId) {
1483
+ return `customers/${customerId}/localServicesEmployees/${glsEmployeeId}`;
1484
+ }
1485
+ exports.localServicesEmployee = localServicesEmployee;
1486
+ /**
1487
+ * @param {string | number} customerId
1488
+ * @param {string | number} localServicesLeadId
1489
+ * @returns `LocalServicesLeadResourceName`
1490
+ * @example const localServicesLead: ResourceNames.LocalServicesLeadResourceName = ResourceNames.localServicesLead(10987417, 21974834)
1491
+ */
1492
+ function localServicesLead(customerId, localServicesLeadId) {
1493
+ return `customers/${customerId}/localServicesLeads/${localServicesLeadId}`;
1494
+ }
1495
+ exports.localServicesLead = localServicesLead;
1496
+ /**
1497
+ * @param {string | number} customerId
1498
+ * @param {string | number} localServicesLeadConversationId
1499
+ * @returns `LocalServicesLeadConversationResourceName`
1500
+ * @example const localServicesLeadConversation: ResourceNames.LocalServicesLeadConversationResourceName = ResourceNames.localServicesLeadConversation(10987417, 21974834)
1501
+ */
1502
+ function localServicesLeadConversation(customerId, localServicesLeadConversationId) {
1503
+ return `customers/${customerId}/localServicesLeadConversations/${localServicesLeadConversationId}`;
1504
+ }
1505
+ exports.localServicesLeadConversation = localServicesLeadConversation;
1506
+ /**
1507
+ * @param {string | number} customerId
1508
+ * @param {string | number} glsVerificationArtifactId
1509
+ * @returns `LocalServicesVerificationArtifactResourceName`
1510
+ * @example const localServicesVerificationArtifact: ResourceNames.LocalServicesVerificationArtifactResourceName = ResourceNames.localServicesVerificationArtifact(10987417, 21974834)
1511
+ */
1512
+ function localServicesVerificationArtifact(customerId, glsVerificationArtifactId) {
1513
+ return `customers/${customerId}/localServicesVerificationArtifacts/${glsVerificationArtifactId}`;
1514
+ }
1515
+ exports.localServicesVerificationArtifact = localServicesVerificationArtifact;
1407
1516
  /**
1408
1517
  * @param {string | number} customerId
1409
1518
  * @param {string | number} campaignId
@@ -1436,16 +1545,6 @@ function mediaFile(customerId, mediaFileId) {
1436
1545
  return `customers/${customerId}/mediaFiles/${mediaFileId}`;
1437
1546
  }
1438
1547
  exports.mediaFile = mediaFile;
1439
- /**
1440
- * @param {string | number} customerId
1441
- * @param {string | number} merchantCenterId
1442
- * @returns `MerchantCenterLinkResourceName`
1443
- * @example const merchantCenterLink: ResourceNames.MerchantCenterLinkResourceName = ResourceNames.merchantCenterLink(10987417, 21974834)
1444
- */
1445
- function merchantCenterLink(customerId, merchantCenterId) {
1446
- return `customers/${customerId}/merchantCenterLinks/${merchantCenterId}`;
1447
- }
1448
- exports.merchantCenterLink = merchantCenterLink;
1449
1548
  /**
1450
1549
  * @param {string | number} mobileAppCategoryId
1451
1550
  * @returns `MobileAppCategoryConstantResourceName`
@@ -1464,6 +1563,16 @@ function mobileDeviceConstant(criterionId) {
1464
1563
  return `mobileDeviceConstants/${criterionId}`;
1465
1564
  }
1466
1565
  exports.mobileDeviceConstant = mobileDeviceConstant;
1566
+ /**
1567
+ * @param {string | number} customerId
1568
+ * @param {string | number} client
1569
+ * @returns `OfflineConversionUploadClientSummaryResourceName`
1570
+ * @example const offlineConversionUploadClientSummary: ResourceNames.OfflineConversionUploadClientSummaryResourceName = ResourceNames.offlineConversionUploadClientSummary(10987417, 21974834)
1571
+ */
1572
+ function offlineConversionUploadClientSummary(customerId, client) {
1573
+ return `customers/${customerId}/offlineConversionUploadClientSummaries/${client}`;
1574
+ }
1575
+ exports.offlineConversionUploadClientSummary = offlineConversionUploadClientSummary;
1467
1576
  /**
1468
1577
  * @param {string | number} customerId
1469
1578
  * @param {string | number} offlineUserDataUpdateId
@@ -1527,16 +1636,15 @@ function perStoreView(customerId, placeId) {
1527
1636
  }
1528
1637
  exports.perStoreView = perStoreView;
1529
1638
  /**
1530
- * @param {string | number} countryCode
1531
1639
  * @param {string | number} level
1532
- * @param {string | number} id
1533
- * @returns `ProductBiddingCategoryConstantResourceName`
1534
- * @example const productBiddingCategoryConstant: ResourceNames.ProductBiddingCategoryConstantResourceName = ResourceNames.productBiddingCategoryConstant(10987417, 21974834, 43949668)
1640
+ * @param {string | number} categoryId
1641
+ * @returns `ProductCategoryConstantResourceName`
1642
+ * @example const productCategoryConstant: ResourceNames.ProductCategoryConstantResourceName = ResourceNames.productCategoryConstant(10987417, 21974834)
1535
1643
  */
1536
- function productBiddingCategoryConstant(countryCode, level, id) {
1537
- return `productBiddingCategoryConstants/${countryCode}~${level}~${id}`;
1644
+ function productCategoryConstant(level, categoryId) {
1645
+ return `productCategoryConstants/${level}~${categoryId}`;
1538
1646
  }
1539
- exports.productBiddingCategoryConstant = productBiddingCategoryConstant;
1647
+ exports.productCategoryConstant = productCategoryConstant;
1540
1648
  /**
1541
1649
  * @param {string | number} customerId
1542
1650
  * @param {string | number} adgroupId
@@ -1558,6 +1666,16 @@ function productLink(customerId, productLinkId) {
1558
1666
  return `customers/${customerId}/productLinks/${productLinkId}`;
1559
1667
  }
1560
1668
  exports.productLink = productLink;
1669
+ /**
1670
+ * @param {string | number} customerId
1671
+ * @param {string | number} customerInvitationId
1672
+ * @returns `ProductLinkInvitationResourceName`
1673
+ * @example const productLinkInvitation: ResourceNames.ProductLinkInvitationResourceName = ResourceNames.productLinkInvitation(10987417, 21974834)
1674
+ */
1675
+ function productLinkInvitation(customerId, customerInvitationId) {
1676
+ return `customers/${customerId}/productLinkInvitations/${customerInvitationId}`;
1677
+ }
1678
+ exports.productLinkInvitation = productLinkInvitation;
1561
1679
  /**
1562
1680
  * @param {string | number} qualifyingQuestionId
1563
1681
  * @returns `QualifyingQuestionResourceName`
@@ -1577,6 +1695,16 @@ function recommendation(customerId, recommendationId) {
1577
1695
  return `customers/${customerId}/recommendations/${recommendationId}`;
1578
1696
  }
1579
1697
  exports.recommendation = recommendation;
1698
+ /**
1699
+ * @param {string | number} customerId
1700
+ * @param {string | number} recommendationType
1701
+ * @returns `RecommendationSubscriptionResourceName`
1702
+ * @example const recommendationSubscription: ResourceNames.RecommendationSubscriptionResourceName = ResourceNames.recommendationSubscription(10987417, 21974834)
1703
+ */
1704
+ function recommendationSubscription(customerId, recommendationType) {
1705
+ return `customers/${customerId}/recommendationSubscriptions/${recommendationType}`;
1706
+ }
1707
+ exports.recommendationSubscription = recommendationSubscription;
1580
1708
  /**
1581
1709
  * @param {string | number} customerId
1582
1710
  * @param {string | number} remarketingActionId