google-ads-api 10.0.2 → 11.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 +67 -10
- package/build/src/client.js +31 -80
- package/build/src/customer.d.ts +10 -0
- package/build/src/customer.js +313 -472
- package/build/src/hooks.d.ts +38 -3
- package/build/src/index.d.ts +1 -1
- package/build/src/parser.js +29 -36
- package/build/src/protos/autogen/enums.d.ts +410 -300
- package/build/src/protos/autogen/enums.js +699 -583
- package/build/src/protos/autogen/fields.d.ts +167 -151
- package/build/src/protos/autogen/fields.js +9 -1
- package/build/src/protos/autogen/resourceNames.d.ts +16 -0
- package/build/src/protos/autogen/resourceNames.js +177 -157
- package/build/src/protos/autogen/serviceFactory.d.ts +193 -147
- package/build/src/protos/autogen/serviceFactory.js +18420 -17447
- package/build/src/protos/index.d.ts +6 -6
- package/build/src/protos/index.js +7 -7
- package/build/src/query.js +74 -81
- package/build/src/service.js +102 -107
- package/build/src/testUtils.js +47 -52
- package/build/src/utils.js +18 -20
- package/build/src/version.d.ts +1 -1
- package/build/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* Autogenerated File! Do Not Edit */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
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.
|
|
6
|
-
exports.
|
|
7
|
-
exports.webpageView = exports.video = exports.userLocationView = exports.userList = void 0;
|
|
5
|
+
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.campaignGroup = exports.campaignFeed = exports.campaignExtensionSetting = exports.campaignExperiment = exports.campaignDraft = exports.campaignCustomizer = exports.campaignCriterionSimulation = void 0;
|
|
6
|
+
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.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 = void 0;
|
|
7
|
+
exports.webpageView = exports.video = exports.userLocationView = exports.userList = exports.userInterest = exports.topicView = void 0;
|
|
8
8
|
/**
|
|
9
9
|
* @param {string | number} customerId
|
|
10
10
|
* @param {string | number} biddingStrategyId
|
|
@@ -12,7 +12,7 @@ exports.webpageView = exports.video = exports.userLocationView = exports.userLis
|
|
|
12
12
|
* @example const accessibleBiddingStrategy: ResourceNames.AccessibleBiddingStrategyResourceName = ResourceNames.accessibleBiddingStrategy(10987417, 21974834)
|
|
13
13
|
*/
|
|
14
14
|
function accessibleBiddingStrategy(customerId, biddingStrategyId) {
|
|
15
|
-
return
|
|
15
|
+
return `customers/${customerId}/accessibleBiddingStrategies/${biddingStrategyId}`;
|
|
16
16
|
}
|
|
17
17
|
exports.accessibleBiddingStrategy = accessibleBiddingStrategy;
|
|
18
18
|
/**
|
|
@@ -22,7 +22,7 @@ exports.accessibleBiddingStrategy = accessibleBiddingStrategy;
|
|
|
22
22
|
* @example const accountBudget: ResourceNames.AccountBudgetResourceName = ResourceNames.accountBudget(10987417, 21974834)
|
|
23
23
|
*/
|
|
24
24
|
function accountBudget(customerId, accountBudgetId) {
|
|
25
|
-
return
|
|
25
|
+
return `customers/${customerId}/accountBudgets/${accountBudgetId}`;
|
|
26
26
|
}
|
|
27
27
|
exports.accountBudget = accountBudget;
|
|
28
28
|
/**
|
|
@@ -32,7 +32,7 @@ exports.accountBudget = accountBudget;
|
|
|
32
32
|
* @example const accountBudgetProposal: ResourceNames.AccountBudgetProposalResourceName = ResourceNames.accountBudgetProposal(10987417, 21974834)
|
|
33
33
|
*/
|
|
34
34
|
function accountBudgetProposal(customerId, accountBudgetProposalId) {
|
|
35
|
-
return
|
|
35
|
+
return `customers/${customerId}/accountBudgetProposals/${accountBudgetProposalId}`;
|
|
36
36
|
}
|
|
37
37
|
exports.accountBudgetProposal = accountBudgetProposal;
|
|
38
38
|
/**
|
|
@@ -42,7 +42,7 @@ exports.accountBudgetProposal = accountBudgetProposal;
|
|
|
42
42
|
* @example const accountLink: ResourceNames.AccountLinkResourceName = ResourceNames.accountLink(10987417, 21974834)
|
|
43
43
|
*/
|
|
44
44
|
function accountLink(customerId, accountLinkId) {
|
|
45
|
-
return
|
|
45
|
+
return `customers/${customerId}/accountLinks/${accountLinkId}`;
|
|
46
46
|
}
|
|
47
47
|
exports.accountLink = accountLink;
|
|
48
48
|
/**
|
|
@@ -52,7 +52,7 @@ exports.accountLink = accountLink;
|
|
|
52
52
|
* @example const ad: ResourceNames.AdResourceName = ResourceNames.ad(10987417, 21974834)
|
|
53
53
|
*/
|
|
54
54
|
function ad(customerId, adId) {
|
|
55
|
-
return
|
|
55
|
+
return `customers/${customerId}/ads/${adId}`;
|
|
56
56
|
}
|
|
57
57
|
exports.ad = ad;
|
|
58
58
|
/**
|
|
@@ -62,7 +62,7 @@ exports.ad = ad;
|
|
|
62
62
|
* @example const adGroup: ResourceNames.AdGroupResourceName = ResourceNames.adGroup(10987417, 21974834)
|
|
63
63
|
*/
|
|
64
64
|
function adGroup(customerId, adGroupId) {
|
|
65
|
-
return
|
|
65
|
+
return `customers/${customerId}/adGroups/${adGroupId}`;
|
|
66
66
|
}
|
|
67
67
|
exports.adGroup = adGroup;
|
|
68
68
|
/**
|
|
@@ -73,7 +73,7 @@ exports.adGroup = adGroup;
|
|
|
73
73
|
* @example const adGroupAd: ResourceNames.AdGroupAdResourceName = ResourceNames.adGroupAd(10987417, 21974834, 43949668)
|
|
74
74
|
*/
|
|
75
75
|
function adGroupAd(customerId, adGroupId, adId) {
|
|
76
|
-
return
|
|
76
|
+
return `customers/${customerId}/adGroupAds/${adGroupId}~${adId}`;
|
|
77
77
|
}
|
|
78
78
|
exports.adGroupAd = adGroupAd;
|
|
79
79
|
/**
|
|
@@ -86,7 +86,7 @@ exports.adGroupAd = adGroupAd;
|
|
|
86
86
|
* @example const adGroupAdAssetCombinationView: ResourceNames.AdGroupAdAssetCombinationViewResourceName = ResourceNames.adGroupAdAssetCombinationView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
87
87
|
*/
|
|
88
88
|
function adGroupAdAssetCombinationView(customerId, adGroupId, adId, assetCombinationIdLow, assetCombinationIdHigh) {
|
|
89
|
-
return
|
|
89
|
+
return `customers/${customerId}/adGroupAdAssetCombinationViews/${adGroupId}~${adId}~${assetCombinationIdLow}~${assetCombinationIdHigh}`;
|
|
90
90
|
}
|
|
91
91
|
exports.adGroupAdAssetCombinationView = adGroupAdAssetCombinationView;
|
|
92
92
|
/**
|
|
@@ -99,7 +99,7 @@ exports.adGroupAdAssetCombinationView = adGroupAdAssetCombinationView;
|
|
|
99
99
|
* @example const adGroupAdAssetView: ResourceNames.AdGroupAdAssetViewResourceName = ResourceNames.adGroupAdAssetView(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
100
100
|
*/
|
|
101
101
|
function adGroupAdAssetView(customerId, adGroupId, adId, assetId, fieldType) {
|
|
102
|
-
return
|
|
102
|
+
return `customers/${customerId}/adGroupAdAssetViews/${adGroupId}~${adId}~${assetId}~${fieldType}`;
|
|
103
103
|
}
|
|
104
104
|
exports.adGroupAdAssetView = adGroupAdAssetView;
|
|
105
105
|
/**
|
|
@@ -111,7 +111,7 @@ exports.adGroupAdAssetView = adGroupAdAssetView;
|
|
|
111
111
|
* @example const adGroupAdLabel: ResourceNames.AdGroupAdLabelResourceName = ResourceNames.adGroupAdLabel(10987417, 21974834, 43949668, 87899336)
|
|
112
112
|
*/
|
|
113
113
|
function adGroupAdLabel(customerId, adGroupId, adId, labelId) {
|
|
114
|
-
return
|
|
114
|
+
return `customers/${customerId}/adGroupAdLabels/${adGroupId}~${adId}~${labelId}`;
|
|
115
115
|
}
|
|
116
116
|
exports.adGroupAdLabel = adGroupAdLabel;
|
|
117
117
|
/**
|
|
@@ -123,7 +123,7 @@ exports.adGroupAdLabel = adGroupAdLabel;
|
|
|
123
123
|
* @example const adGroupAsset: ResourceNames.AdGroupAssetResourceName = ResourceNames.adGroupAsset(10987417, 21974834, 43949668, 87899336)
|
|
124
124
|
*/
|
|
125
125
|
function adGroupAsset(customerId, adGroupId, assetId, fieldType) {
|
|
126
|
-
return
|
|
126
|
+
return `customers/${customerId}/adGroupAssets/${adGroupId}~${assetId}~${fieldType}`;
|
|
127
127
|
}
|
|
128
128
|
exports.adGroupAsset = adGroupAsset;
|
|
129
129
|
/**
|
|
@@ -134,7 +134,7 @@ exports.adGroupAsset = adGroupAsset;
|
|
|
134
134
|
* @example const adGroupAudienceView: ResourceNames.AdGroupAudienceViewResourceName = ResourceNames.adGroupAudienceView(10987417, 21974834, 43949668)
|
|
135
135
|
*/
|
|
136
136
|
function adGroupAudienceView(customerId, adGroupId, criterionId) {
|
|
137
|
-
return
|
|
137
|
+
return `customers/${customerId}/adGroupAudienceViews/${adGroupId}~${criterionId}`;
|
|
138
138
|
}
|
|
139
139
|
exports.adGroupAudienceView = adGroupAudienceView;
|
|
140
140
|
/**
|
|
@@ -145,7 +145,7 @@ exports.adGroupAudienceView = adGroupAudienceView;
|
|
|
145
145
|
* @example const adGroupBidModifier: ResourceNames.AdGroupBidModifierResourceName = ResourceNames.adGroupBidModifier(10987417, 21974834, 43949668)
|
|
146
146
|
*/
|
|
147
147
|
function adGroupBidModifier(customerId, adGroupId, criterionId) {
|
|
148
|
-
return
|
|
148
|
+
return `customers/${customerId}/adGroupBidModifiers/${adGroupId}~${criterionId}`;
|
|
149
149
|
}
|
|
150
150
|
exports.adGroupBidModifier = adGroupBidModifier;
|
|
151
151
|
/**
|
|
@@ -156,7 +156,7 @@ exports.adGroupBidModifier = adGroupBidModifier;
|
|
|
156
156
|
* @example const adGroupCriterion: ResourceNames.AdGroupCriterionResourceName = ResourceNames.adGroupCriterion(10987417, 21974834, 43949668)
|
|
157
157
|
*/
|
|
158
158
|
function adGroupCriterion(customerId, adGroupId, criterionId) {
|
|
159
|
-
return
|
|
159
|
+
return `customers/${customerId}/adGroupCriteria/${adGroupId}~${criterionId}`;
|
|
160
160
|
}
|
|
161
161
|
exports.adGroupCriterion = adGroupCriterion;
|
|
162
162
|
/**
|
|
@@ -168,7 +168,7 @@ exports.adGroupCriterion = adGroupCriterion;
|
|
|
168
168
|
* @example const adGroupCriterionCustomizer: ResourceNames.AdGroupCriterionCustomizerResourceName = ResourceNames.adGroupCriterionCustomizer(10987417, 21974834, 43949668, 87899336)
|
|
169
169
|
*/
|
|
170
170
|
function adGroupCriterionCustomizer(customerId, adGroupId, criterionId, customizerAttributeId) {
|
|
171
|
-
return
|
|
171
|
+
return `customers/${customerId}/adGroupCriterionCustomizers/${adGroupId}~${criterionId}~${customizerAttributeId}`;
|
|
172
172
|
}
|
|
173
173
|
exports.adGroupCriterionCustomizer = adGroupCriterionCustomizer;
|
|
174
174
|
/**
|
|
@@ -180,7 +180,7 @@ exports.adGroupCriterionCustomizer = adGroupCriterionCustomizer;
|
|
|
180
180
|
* @example const adGroupCriterionLabel: ResourceNames.AdGroupCriterionLabelResourceName = ResourceNames.adGroupCriterionLabel(10987417, 21974834, 43949668, 87899336)
|
|
181
181
|
*/
|
|
182
182
|
function adGroupCriterionLabel(customerId, adGroupId, criterionId, labelId) {
|
|
183
|
-
return
|
|
183
|
+
return `customers/${customerId}/adGroupCriterionLabels/${adGroupId}~${criterionId}~${labelId}`;
|
|
184
184
|
}
|
|
185
185
|
exports.adGroupCriterionLabel = adGroupCriterionLabel;
|
|
186
186
|
/**
|
|
@@ -195,7 +195,7 @@ exports.adGroupCriterionLabel = adGroupCriterionLabel;
|
|
|
195
195
|
* @example const adGroupCriterionSimulation: ResourceNames.AdGroupCriterionSimulationResourceName = ResourceNames.adGroupCriterionSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344, 703194688)
|
|
196
196
|
*/
|
|
197
197
|
function adGroupCriterionSimulation(customerId, adGroupId, criterionId, type, modificationMethod, startDate, endDate) {
|
|
198
|
-
return
|
|
198
|
+
return `customers/${customerId}/adGroupCriterionSimulations/${adGroupId}~${criterionId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
199
199
|
}
|
|
200
200
|
exports.adGroupCriterionSimulation = adGroupCriterionSimulation;
|
|
201
201
|
/**
|
|
@@ -206,7 +206,7 @@ exports.adGroupCriterionSimulation = adGroupCriterionSimulation;
|
|
|
206
206
|
* @example const adGroupCustomizer: ResourceNames.AdGroupCustomizerResourceName = ResourceNames.adGroupCustomizer(10987417, 21974834, 43949668)
|
|
207
207
|
*/
|
|
208
208
|
function adGroupCustomizer(customerId, adGroupId, customizerAttributeId) {
|
|
209
|
-
return
|
|
209
|
+
return `customers/${customerId}/adGroupCustomizers/${adGroupId}~${customizerAttributeId}`;
|
|
210
210
|
}
|
|
211
211
|
exports.adGroupCustomizer = adGroupCustomizer;
|
|
212
212
|
/**
|
|
@@ -217,7 +217,7 @@ exports.adGroupCustomizer = adGroupCustomizer;
|
|
|
217
217
|
* @example const adGroupExtensionSetting: ResourceNames.AdGroupExtensionSettingResourceName = ResourceNames.adGroupExtensionSetting(10987417, 21974834, 43949668)
|
|
218
218
|
*/
|
|
219
219
|
function adGroupExtensionSetting(customerId, adGroupId, extensionType) {
|
|
220
|
-
return
|
|
220
|
+
return `customers/${customerId}/adGroupExtensionSettings/${adGroupId}~${extensionType}`;
|
|
221
221
|
}
|
|
222
222
|
exports.adGroupExtensionSetting = adGroupExtensionSetting;
|
|
223
223
|
/**
|
|
@@ -228,7 +228,7 @@ exports.adGroupExtensionSetting = adGroupExtensionSetting;
|
|
|
228
228
|
* @example const adGroupFeed: ResourceNames.AdGroupFeedResourceName = ResourceNames.adGroupFeed(10987417, 21974834, 43949668)
|
|
229
229
|
*/
|
|
230
230
|
function adGroupFeed(customerId, adGroupId, feedId) {
|
|
231
|
-
return
|
|
231
|
+
return `customers/${customerId}/adGroupFeeds/${adGroupId}~${feedId}`;
|
|
232
232
|
}
|
|
233
233
|
exports.adGroupFeed = adGroupFeed;
|
|
234
234
|
/**
|
|
@@ -239,7 +239,7 @@ exports.adGroupFeed = adGroupFeed;
|
|
|
239
239
|
* @example const adGroupLabel: ResourceNames.AdGroupLabelResourceName = ResourceNames.adGroupLabel(10987417, 21974834, 43949668)
|
|
240
240
|
*/
|
|
241
241
|
function adGroupLabel(customerId, adGroupId, labelId) {
|
|
242
|
-
return
|
|
242
|
+
return `customers/${customerId}/adGroupLabels/${adGroupId}~${labelId}`;
|
|
243
243
|
}
|
|
244
244
|
exports.adGroupLabel = adGroupLabel;
|
|
245
245
|
/**
|
|
@@ -253,7 +253,7 @@ exports.adGroupLabel = adGroupLabel;
|
|
|
253
253
|
* @example const adGroupSimulation: ResourceNames.AdGroupSimulationResourceName = ResourceNames.adGroupSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
254
254
|
*/
|
|
255
255
|
function adGroupSimulation(customerId, adGroupId, type, modificationMethod, startDate, endDate) {
|
|
256
|
-
return
|
|
256
|
+
return `customers/${customerId}/adGroupSimulations/${adGroupId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
257
257
|
}
|
|
258
258
|
exports.adGroupSimulation = adGroupSimulation;
|
|
259
259
|
/**
|
|
@@ -265,7 +265,7 @@ exports.adGroupSimulation = adGroupSimulation;
|
|
|
265
265
|
* @example const adParameter: ResourceNames.AdParameterResourceName = ResourceNames.adParameter(10987417, 21974834, 43949668, 87899336)
|
|
266
266
|
*/
|
|
267
267
|
function adParameter(customerId, adGroupId, criterionId, parameterIndex) {
|
|
268
|
-
return
|
|
268
|
+
return `customers/${customerId}/adParameters/${adGroupId}~${criterionId}~${parameterIndex}`;
|
|
269
269
|
}
|
|
270
270
|
exports.adParameter = adParameter;
|
|
271
271
|
/**
|
|
@@ -276,7 +276,7 @@ exports.adParameter = adParameter;
|
|
|
276
276
|
* @example const adScheduleView: ResourceNames.AdScheduleViewResourceName = ResourceNames.adScheduleView(10987417, 21974834, 43949668)
|
|
277
277
|
*/
|
|
278
278
|
function adScheduleView(customerId, campaignId, criterionId) {
|
|
279
|
-
return
|
|
279
|
+
return `customers/${customerId}/adScheduleViews/${campaignId}~${criterionId}`;
|
|
280
280
|
}
|
|
281
281
|
exports.adScheduleView = adScheduleView;
|
|
282
282
|
/**
|
|
@@ -287,7 +287,7 @@ exports.adScheduleView = adScheduleView;
|
|
|
287
287
|
* @example const ageRangeView: ResourceNames.AgeRangeViewResourceName = ResourceNames.ageRangeView(10987417, 21974834, 43949668)
|
|
288
288
|
*/
|
|
289
289
|
function ageRangeView(customerId, adGroupId, criterionId) {
|
|
290
|
-
return
|
|
290
|
+
return `customers/${customerId}/ageRangeViews/${adGroupId}~${criterionId}`;
|
|
291
291
|
}
|
|
292
292
|
exports.ageRangeView = ageRangeView;
|
|
293
293
|
/**
|
|
@@ -297,7 +297,7 @@ exports.ageRangeView = ageRangeView;
|
|
|
297
297
|
* @example const asset: ResourceNames.AssetResourceName = ResourceNames.asset(10987417, 21974834)
|
|
298
298
|
*/
|
|
299
299
|
function asset(customerId, assetId) {
|
|
300
|
-
return
|
|
300
|
+
return `customers/${customerId}/assets/${assetId}`;
|
|
301
301
|
}
|
|
302
302
|
exports.asset = asset;
|
|
303
303
|
/**
|
|
@@ -307,7 +307,7 @@ exports.asset = asset;
|
|
|
307
307
|
* @example const assetFieldTypeView: ResourceNames.AssetFieldTypeViewResourceName = ResourceNames.assetFieldTypeView(10987417, 21974834)
|
|
308
308
|
*/
|
|
309
309
|
function assetFieldTypeView(customerId, fieldType) {
|
|
310
|
-
return
|
|
310
|
+
return `customers/${customerId}/assetFieldTypeViews/${fieldType}`;
|
|
311
311
|
}
|
|
312
312
|
exports.assetFieldTypeView = assetFieldTypeView;
|
|
313
313
|
/**
|
|
@@ -317,7 +317,7 @@ exports.assetFieldTypeView = assetFieldTypeView;
|
|
|
317
317
|
* @example const assetGroup: ResourceNames.AssetGroupResourceName = ResourceNames.assetGroup(10987417, 21974834)
|
|
318
318
|
*/
|
|
319
319
|
function assetGroup(customerId, assetGroupId) {
|
|
320
|
-
return
|
|
320
|
+
return `customers/${customerId}/assetGroups/${assetGroupId}`;
|
|
321
321
|
}
|
|
322
322
|
exports.assetGroup = assetGroup;
|
|
323
323
|
/**
|
|
@@ -329,7 +329,7 @@ exports.assetGroup = assetGroup;
|
|
|
329
329
|
* @example const assetGroupAsset: ResourceNames.AssetGroupAssetResourceName = ResourceNames.assetGroupAsset(10987417, 21974834, 43949668, 87899336)
|
|
330
330
|
*/
|
|
331
331
|
function assetGroupAsset(customerId, assetGroupId, assetId, fieldType) {
|
|
332
|
-
return
|
|
332
|
+
return `customers/${customerId}/assetGroupAssets/${assetGroupId}~${assetId}~${fieldType}`;
|
|
333
333
|
}
|
|
334
334
|
exports.assetGroupAsset = assetGroupAsset;
|
|
335
335
|
/**
|
|
@@ -340,7 +340,7 @@ exports.assetGroupAsset = assetGroupAsset;
|
|
|
340
340
|
* @example const assetGroupListingGroupFilter: ResourceNames.AssetGroupListingGroupFilterResourceName = ResourceNames.assetGroupListingGroupFilter(10987417, 21974834, 43949668)
|
|
341
341
|
*/
|
|
342
342
|
function assetGroupListingGroupFilter(customerId, assetGroupId, listingGroupFilterId) {
|
|
343
|
-
return
|
|
343
|
+
return `customers/${customerId}/assetGroupListingGroupFilters/${assetGroupId}~${listingGroupFilterId}`;
|
|
344
344
|
}
|
|
345
345
|
exports.assetGroupListingGroupFilter = assetGroupListingGroupFilter;
|
|
346
346
|
/**
|
|
@@ -351,7 +351,7 @@ exports.assetGroupListingGroupFilter = assetGroupListingGroupFilter;
|
|
|
351
351
|
* @example const assetGroupProductGroupView: ResourceNames.AssetGroupProductGroupViewResourceName = ResourceNames.assetGroupProductGroupView(10987417, 21974834, 43949668)
|
|
352
352
|
*/
|
|
353
353
|
function assetGroupProductGroupView(customerId, assetGroupId, listingGroupFilterId) {
|
|
354
|
-
return
|
|
354
|
+
return `customers/${customerId}/assetGroupProductGroupViews/${assetGroupId}~${listingGroupFilterId}`;
|
|
355
355
|
}
|
|
356
356
|
exports.assetGroupProductGroupView = assetGroupProductGroupView;
|
|
357
357
|
/**
|
|
@@ -362,7 +362,7 @@ exports.assetGroupProductGroupView = assetGroupProductGroupView;
|
|
|
362
362
|
* @example const assetGroupSignal: ResourceNames.AssetGroupSignalResourceName = ResourceNames.assetGroupSignal(10987417, 21974834, 43949668)
|
|
363
363
|
*/
|
|
364
364
|
function assetGroupSignal(customerId, assetGroupId, criterionId) {
|
|
365
|
-
return
|
|
365
|
+
return `customers/${customerId}/assetGroupSignals/${assetGroupId}~${criterionId}`;
|
|
366
366
|
}
|
|
367
367
|
exports.assetGroupSignal = assetGroupSignal;
|
|
368
368
|
/**
|
|
@@ -372,7 +372,7 @@ exports.assetGroupSignal = assetGroupSignal;
|
|
|
372
372
|
* @example const assetSet: ResourceNames.AssetSetResourceName = ResourceNames.assetSet(10987417, 21974834)
|
|
373
373
|
*/
|
|
374
374
|
function assetSet(customerId, assetSetId) {
|
|
375
|
-
return
|
|
375
|
+
return `customers/${customerId}/assetSets/${assetSetId}`;
|
|
376
376
|
}
|
|
377
377
|
exports.assetSet = assetSet;
|
|
378
378
|
/**
|
|
@@ -383,7 +383,7 @@ exports.assetSet = assetSet;
|
|
|
383
383
|
* @example const assetSetAsset: ResourceNames.AssetSetAssetResourceName = ResourceNames.assetSetAsset(10987417, 21974834, 43949668)
|
|
384
384
|
*/
|
|
385
385
|
function assetSetAsset(customerId, assetSetId, assetId) {
|
|
386
|
-
return
|
|
386
|
+
return `customers/${customerId}/assetSetAssets/${assetSetId}~${assetId}`;
|
|
387
387
|
}
|
|
388
388
|
exports.assetSetAsset = assetSetAsset;
|
|
389
389
|
/**
|
|
@@ -393,7 +393,7 @@ exports.assetSetAsset = assetSetAsset;
|
|
|
393
393
|
* @example const audience: ResourceNames.AudienceResourceName = ResourceNames.audience(10987417, 21974834)
|
|
394
394
|
*/
|
|
395
395
|
function audience(customerId, audienceId) {
|
|
396
|
-
return
|
|
396
|
+
return `customers/${customerId}/audiences/${audienceId}`;
|
|
397
397
|
}
|
|
398
398
|
exports.audience = audience;
|
|
399
399
|
/**
|
|
@@ -403,7 +403,7 @@ exports.audience = audience;
|
|
|
403
403
|
* @example const batchJob: ResourceNames.BatchJobResourceName = ResourceNames.batchJob(10987417, 21974834)
|
|
404
404
|
*/
|
|
405
405
|
function batchJob(customerId, batchJobId) {
|
|
406
|
-
return
|
|
406
|
+
return `customers/${customerId}/batchJobs/${batchJobId}`;
|
|
407
407
|
}
|
|
408
408
|
exports.batchJob = batchJob;
|
|
409
409
|
/**
|
|
@@ -413,7 +413,7 @@ exports.batchJob = batchJob;
|
|
|
413
413
|
* @example const biddingDataExclusion: ResourceNames.BiddingDataExclusionResourceName = ResourceNames.biddingDataExclusion(10987417, 21974834)
|
|
414
414
|
*/
|
|
415
415
|
function biddingDataExclusion(customerId, seasonalityEventId) {
|
|
416
|
-
return
|
|
416
|
+
return `customers/${customerId}/biddingDataExclusions/${seasonalityEventId}`;
|
|
417
417
|
}
|
|
418
418
|
exports.biddingDataExclusion = biddingDataExclusion;
|
|
419
419
|
/**
|
|
@@ -423,7 +423,7 @@ exports.biddingDataExclusion = biddingDataExclusion;
|
|
|
423
423
|
* @example const biddingSeasonalityAdjustment: ResourceNames.BiddingSeasonalityAdjustmentResourceName = ResourceNames.biddingSeasonalityAdjustment(10987417, 21974834)
|
|
424
424
|
*/
|
|
425
425
|
function biddingSeasonalityAdjustment(customerId, seasonalityEventId) {
|
|
426
|
-
return
|
|
426
|
+
return `customers/${customerId}/biddingSeasonalityAdjustments/${seasonalityEventId}`;
|
|
427
427
|
}
|
|
428
428
|
exports.biddingSeasonalityAdjustment = biddingSeasonalityAdjustment;
|
|
429
429
|
/**
|
|
@@ -433,7 +433,7 @@ exports.biddingSeasonalityAdjustment = biddingSeasonalityAdjustment;
|
|
|
433
433
|
* @example const biddingStrategy: ResourceNames.BiddingStrategyResourceName = ResourceNames.biddingStrategy(10987417, 21974834)
|
|
434
434
|
*/
|
|
435
435
|
function biddingStrategy(customerId, biddingStrategyId) {
|
|
436
|
-
return
|
|
436
|
+
return `customers/${customerId}/biddingStrategies/${biddingStrategyId}`;
|
|
437
437
|
}
|
|
438
438
|
exports.biddingStrategy = biddingStrategy;
|
|
439
439
|
/**
|
|
@@ -447,7 +447,7 @@ exports.biddingStrategy = biddingStrategy;
|
|
|
447
447
|
* @example const biddingStrategySimulation: ResourceNames.BiddingStrategySimulationResourceName = ResourceNames.biddingStrategySimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
448
448
|
*/
|
|
449
449
|
function biddingStrategySimulation(customerId, biddingStrategyId, type, modificationMethod, startDate, endDate) {
|
|
450
|
-
return
|
|
450
|
+
return `customers/${customerId}/biddingStrategySimulations/${biddingStrategyId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
451
451
|
}
|
|
452
452
|
exports.biddingStrategySimulation = biddingStrategySimulation;
|
|
453
453
|
/**
|
|
@@ -457,7 +457,7 @@ exports.biddingStrategySimulation = biddingStrategySimulation;
|
|
|
457
457
|
* @example const billingSetup: ResourceNames.BillingSetupResourceName = ResourceNames.billingSetup(10987417, 21974834)
|
|
458
458
|
*/
|
|
459
459
|
function billingSetup(customerId, billingSetupId) {
|
|
460
|
-
return
|
|
460
|
+
return `customers/${customerId}/billingSetups/${billingSetupId}`;
|
|
461
461
|
}
|
|
462
462
|
exports.billingSetup = billingSetup;
|
|
463
463
|
/**
|
|
@@ -467,7 +467,7 @@ exports.billingSetup = billingSetup;
|
|
|
467
467
|
* @example const callView: ResourceNames.CallViewResourceName = ResourceNames.callView(10987417, 21974834)
|
|
468
468
|
*/
|
|
469
469
|
function callView(customerId, callDetailId) {
|
|
470
|
-
return
|
|
470
|
+
return `customers/${customerId}/callViews/${callDetailId}`;
|
|
471
471
|
}
|
|
472
472
|
exports.callView = callView;
|
|
473
473
|
/**
|
|
@@ -477,7 +477,7 @@ exports.callView = callView;
|
|
|
477
477
|
* @example const campaign: ResourceNames.CampaignResourceName = ResourceNames.campaign(10987417, 21974834)
|
|
478
478
|
*/
|
|
479
479
|
function campaign(customerId, campaignId) {
|
|
480
|
-
return
|
|
480
|
+
return `customers/${customerId}/campaigns/${campaignId}`;
|
|
481
481
|
}
|
|
482
482
|
exports.campaign = campaign;
|
|
483
483
|
/**
|
|
@@ -489,7 +489,7 @@ exports.campaign = campaign;
|
|
|
489
489
|
* @example const campaignAsset: ResourceNames.CampaignAssetResourceName = ResourceNames.campaignAsset(10987417, 21974834, 43949668, 87899336)
|
|
490
490
|
*/
|
|
491
491
|
function campaignAsset(customerId, campaignId, assetId, fieldType) {
|
|
492
|
-
return
|
|
492
|
+
return `customers/${customerId}/campaignAssets/${campaignId}~${assetId}~${fieldType}`;
|
|
493
493
|
}
|
|
494
494
|
exports.campaignAsset = campaignAsset;
|
|
495
495
|
/**
|
|
@@ -500,7 +500,7 @@ exports.campaignAsset = campaignAsset;
|
|
|
500
500
|
* @example const campaignAssetSet: ResourceNames.CampaignAssetSetResourceName = ResourceNames.campaignAssetSet(10987417, 21974834, 43949668)
|
|
501
501
|
*/
|
|
502
502
|
function campaignAssetSet(customerId, campaignId, assetSetId) {
|
|
503
|
-
return
|
|
503
|
+
return `customers/${customerId}/campaignAssetSets/${campaignId}~${assetSetId}`;
|
|
504
504
|
}
|
|
505
505
|
exports.campaignAssetSet = campaignAssetSet;
|
|
506
506
|
/**
|
|
@@ -511,7 +511,7 @@ exports.campaignAssetSet = campaignAssetSet;
|
|
|
511
511
|
* @example const campaignAudienceView: ResourceNames.CampaignAudienceViewResourceName = ResourceNames.campaignAudienceView(10987417, 21974834, 43949668)
|
|
512
512
|
*/
|
|
513
513
|
function campaignAudienceView(customerId, campaignId, criterionId) {
|
|
514
|
-
return
|
|
514
|
+
return `customers/${customerId}/campaignAudienceViews/${campaignId}~${criterionId}`;
|
|
515
515
|
}
|
|
516
516
|
exports.campaignAudienceView = campaignAudienceView;
|
|
517
517
|
/**
|
|
@@ -522,7 +522,7 @@ exports.campaignAudienceView = campaignAudienceView;
|
|
|
522
522
|
* @example const campaignBidModifier: ResourceNames.CampaignBidModifierResourceName = ResourceNames.campaignBidModifier(10987417, 21974834, 43949668)
|
|
523
523
|
*/
|
|
524
524
|
function campaignBidModifier(customerId, campaignId, criterionId) {
|
|
525
|
-
return
|
|
525
|
+
return `customers/${customerId}/campaignBidModifiers/${campaignId}~${criterionId}`;
|
|
526
526
|
}
|
|
527
527
|
exports.campaignBidModifier = campaignBidModifier;
|
|
528
528
|
/**
|
|
@@ -532,7 +532,7 @@ exports.campaignBidModifier = campaignBidModifier;
|
|
|
532
532
|
* @example const campaignBudget: ResourceNames.CampaignBudgetResourceName = ResourceNames.campaignBudget(10987417, 21974834)
|
|
533
533
|
*/
|
|
534
534
|
function campaignBudget(customerId, campaignBudgetId) {
|
|
535
|
-
return
|
|
535
|
+
return `customers/${customerId}/campaignBudgets/${campaignBudgetId}`;
|
|
536
536
|
}
|
|
537
537
|
exports.campaignBudget = campaignBudget;
|
|
538
538
|
/**
|
|
@@ -544,7 +544,7 @@ exports.campaignBudget = campaignBudget;
|
|
|
544
544
|
* @example const campaignConversionGoal: ResourceNames.CampaignConversionGoalResourceName = ResourceNames.campaignConversionGoal(10987417, 21974834, 43949668, 87899336)
|
|
545
545
|
*/
|
|
546
546
|
function campaignConversionGoal(customerId, campaignId, category, source) {
|
|
547
|
-
return
|
|
547
|
+
return `customers/${customerId}/campaignConversionGoals/${campaignId}~${category}~${source}`;
|
|
548
548
|
}
|
|
549
549
|
exports.campaignConversionGoal = campaignConversionGoal;
|
|
550
550
|
/**
|
|
@@ -555,7 +555,7 @@ exports.campaignConversionGoal = campaignConversionGoal;
|
|
|
555
555
|
* @example const campaignCriterion: ResourceNames.CampaignCriterionResourceName = ResourceNames.campaignCriterion(10987417, 21974834, 43949668)
|
|
556
556
|
*/
|
|
557
557
|
function campaignCriterion(customerId, campaignId, criterionId) {
|
|
558
|
-
return
|
|
558
|
+
return `customers/${customerId}/campaignCriteria/${campaignId}~${criterionId}`;
|
|
559
559
|
}
|
|
560
560
|
exports.campaignCriterion = campaignCriterion;
|
|
561
561
|
/**
|
|
@@ -570,7 +570,7 @@ exports.campaignCriterion = campaignCriterion;
|
|
|
570
570
|
* @example const campaignCriterionSimulation: ResourceNames.CampaignCriterionSimulationResourceName = ResourceNames.campaignCriterionSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344, 703194688)
|
|
571
571
|
*/
|
|
572
572
|
function campaignCriterionSimulation(customerId, campaignId, criterionId, type, modificationMethod, startDate, endDate) {
|
|
573
|
-
return
|
|
573
|
+
return `customers/${customerId}/campaignCriterionSimulations/${campaignId}~${criterionId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
574
574
|
}
|
|
575
575
|
exports.campaignCriterionSimulation = campaignCriterionSimulation;
|
|
576
576
|
/**
|
|
@@ -581,7 +581,7 @@ exports.campaignCriterionSimulation = campaignCriterionSimulation;
|
|
|
581
581
|
* @example const campaignCustomizer: ResourceNames.CampaignCustomizerResourceName = ResourceNames.campaignCustomizer(10987417, 21974834, 43949668)
|
|
582
582
|
*/
|
|
583
583
|
function campaignCustomizer(customerId, campaignId, customizerAttributeId) {
|
|
584
|
-
return
|
|
584
|
+
return `customers/${customerId}/campaignCustomizers/${campaignId}~${customizerAttributeId}`;
|
|
585
585
|
}
|
|
586
586
|
exports.campaignCustomizer = campaignCustomizer;
|
|
587
587
|
/**
|
|
@@ -592,7 +592,7 @@ exports.campaignCustomizer = campaignCustomizer;
|
|
|
592
592
|
* @example const campaignDraft: ResourceNames.CampaignDraftResourceName = ResourceNames.campaignDraft(10987417, 21974834, 43949668)
|
|
593
593
|
*/
|
|
594
594
|
function campaignDraft(customerId, baseCampaignId, draftId) {
|
|
595
|
-
return
|
|
595
|
+
return `customers/${customerId}/campaignDrafts/${baseCampaignId}~${draftId}`;
|
|
596
596
|
}
|
|
597
597
|
exports.campaignDraft = campaignDraft;
|
|
598
598
|
/**
|
|
@@ -602,7 +602,7 @@ exports.campaignDraft = campaignDraft;
|
|
|
602
602
|
* @example const campaignExperiment: ResourceNames.CampaignExperimentResourceName = ResourceNames.campaignExperiment(10987417, 21974834)
|
|
603
603
|
*/
|
|
604
604
|
function campaignExperiment(customerId, campaignExperimentId) {
|
|
605
|
-
return
|
|
605
|
+
return `customers/${customerId}/campaignExperiments/${campaignExperimentId}`;
|
|
606
606
|
}
|
|
607
607
|
exports.campaignExperiment = campaignExperiment;
|
|
608
608
|
/**
|
|
@@ -613,7 +613,7 @@ exports.campaignExperiment = campaignExperiment;
|
|
|
613
613
|
* @example const campaignExtensionSetting: ResourceNames.CampaignExtensionSettingResourceName = ResourceNames.campaignExtensionSetting(10987417, 21974834, 43949668)
|
|
614
614
|
*/
|
|
615
615
|
function campaignExtensionSetting(customerId, campaignId, extensionType) {
|
|
616
|
-
return
|
|
616
|
+
return `customers/${customerId}/campaignExtensionSettings/${campaignId}~${extensionType}`;
|
|
617
617
|
}
|
|
618
618
|
exports.campaignExtensionSetting = campaignExtensionSetting;
|
|
619
619
|
/**
|
|
@@ -624,9 +624,19 @@ exports.campaignExtensionSetting = campaignExtensionSetting;
|
|
|
624
624
|
* @example const campaignFeed: ResourceNames.CampaignFeedResourceName = ResourceNames.campaignFeed(10987417, 21974834, 43949668)
|
|
625
625
|
*/
|
|
626
626
|
function campaignFeed(customerId, campaignId, feedId) {
|
|
627
|
-
return
|
|
627
|
+
return `customers/${customerId}/campaignFeeds/${campaignId}~${feedId}`;
|
|
628
628
|
}
|
|
629
629
|
exports.campaignFeed = campaignFeed;
|
|
630
|
+
/**
|
|
631
|
+
* @param {string | number} customerId
|
|
632
|
+
* @param {string | number} campaignGroupId
|
|
633
|
+
* @returns `CampaignGroupResourceName`
|
|
634
|
+
* @example const campaignGroup: ResourceNames.CampaignGroupResourceName = ResourceNames.campaignGroup(10987417, 21974834)
|
|
635
|
+
*/
|
|
636
|
+
function campaignGroup(customerId, campaignGroupId) {
|
|
637
|
+
return `customers/${customerId}/campaignGroups/${campaignGroupId}`;
|
|
638
|
+
}
|
|
639
|
+
exports.campaignGroup = campaignGroup;
|
|
630
640
|
/**
|
|
631
641
|
* @param {string | number} customerId
|
|
632
642
|
* @param {string | number} campaignId
|
|
@@ -635,7 +645,7 @@ exports.campaignFeed = campaignFeed;
|
|
|
635
645
|
* @example const campaignLabel: ResourceNames.CampaignLabelResourceName = ResourceNames.campaignLabel(10987417, 21974834, 43949668)
|
|
636
646
|
*/
|
|
637
647
|
function campaignLabel(customerId, campaignId, labelId) {
|
|
638
|
-
return
|
|
648
|
+
return `customers/${customerId}/campaignLabels/${campaignId}~${labelId}`;
|
|
639
649
|
}
|
|
640
650
|
exports.campaignLabel = campaignLabel;
|
|
641
651
|
/**
|
|
@@ -646,7 +656,7 @@ exports.campaignLabel = campaignLabel;
|
|
|
646
656
|
* @example const campaignSharedSet: ResourceNames.CampaignSharedSetResourceName = ResourceNames.campaignSharedSet(10987417, 21974834, 43949668)
|
|
647
657
|
*/
|
|
648
658
|
function campaignSharedSet(customerId, campaignId, sharedSetId) {
|
|
649
|
-
return
|
|
659
|
+
return `customers/${customerId}/campaignSharedSets/${campaignId}~${sharedSetId}`;
|
|
650
660
|
}
|
|
651
661
|
exports.campaignSharedSet = campaignSharedSet;
|
|
652
662
|
/**
|
|
@@ -660,7 +670,7 @@ exports.campaignSharedSet = campaignSharedSet;
|
|
|
660
670
|
* @example const campaignSimulation: ResourceNames.CampaignSimulationResourceName = ResourceNames.campaignSimulation(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
661
671
|
*/
|
|
662
672
|
function campaignSimulation(customerId, campaignId, type, modificationMethod, startDate, endDate) {
|
|
663
|
-
return
|
|
673
|
+
return `customers/${customerId}/campaignSimulations/${campaignId}~${type}~${modificationMethod}~${startDate}~${endDate}`;
|
|
664
674
|
}
|
|
665
675
|
exports.campaignSimulation = campaignSimulation;
|
|
666
676
|
/**
|
|
@@ -669,7 +679,7 @@ exports.campaignSimulation = campaignSimulation;
|
|
|
669
679
|
* @example const carrierConstant: ResourceNames.CarrierConstantResourceName = ResourceNames.carrierConstant(10987417)
|
|
670
680
|
*/
|
|
671
681
|
function carrierConstant(criterionId) {
|
|
672
|
-
return
|
|
682
|
+
return `carrierConstants/${criterionId}`;
|
|
673
683
|
}
|
|
674
684
|
exports.carrierConstant = carrierConstant;
|
|
675
685
|
/**
|
|
@@ -681,7 +691,7 @@ exports.carrierConstant = carrierConstant;
|
|
|
681
691
|
* @example const changeEvent: ResourceNames.ChangeEventResourceName = ResourceNames.changeEvent(10987417, 21974834, 43949668, 87899336)
|
|
682
692
|
*/
|
|
683
693
|
function changeEvent(customerId, timestampMicros, commandIndex, mutateIndex) {
|
|
684
|
-
return
|
|
694
|
+
return `customers/${customerId}/changeEvents/${timestampMicros}~${commandIndex}~${mutateIndex}`;
|
|
685
695
|
}
|
|
686
696
|
exports.changeEvent = changeEvent;
|
|
687
697
|
/**
|
|
@@ -691,7 +701,7 @@ exports.changeEvent = changeEvent;
|
|
|
691
701
|
* @example const changeStatus: ResourceNames.ChangeStatusResourceName = ResourceNames.changeStatus(10987417, 21974834)
|
|
692
702
|
*/
|
|
693
703
|
function changeStatus(customerId, changeStatusId) {
|
|
694
|
-
return
|
|
704
|
+
return `customers/${customerId}/changeStatus/${changeStatusId}`;
|
|
695
705
|
}
|
|
696
706
|
exports.changeStatus = changeStatus;
|
|
697
707
|
/**
|
|
@@ -702,7 +712,7 @@ exports.changeStatus = changeStatus;
|
|
|
702
712
|
* @example const clickView: ResourceNames.ClickViewResourceName = ResourceNames.clickView(10987417, 21974834, 43949668)
|
|
703
713
|
*/
|
|
704
714
|
function clickView(customerId, date, gclid) {
|
|
705
|
-
return
|
|
715
|
+
return `customers/${customerId}/clickViews/${date}~${gclid}`;
|
|
706
716
|
}
|
|
707
717
|
exports.clickView = clickView;
|
|
708
718
|
/**
|
|
@@ -712,7 +722,7 @@ exports.clickView = clickView;
|
|
|
712
722
|
* @example const combinedAudience: ResourceNames.CombinedAudienceResourceName = ResourceNames.combinedAudience(10987417, 21974834)
|
|
713
723
|
*/
|
|
714
724
|
function combinedAudience(customerId, combinedAudienceId) {
|
|
715
|
-
return
|
|
725
|
+
return `customers/${customerId}/combinedAudiences/${combinedAudienceId}`;
|
|
716
726
|
}
|
|
717
727
|
exports.combinedAudience = combinedAudience;
|
|
718
728
|
/**
|
|
@@ -722,7 +732,7 @@ exports.combinedAudience = combinedAudience;
|
|
|
722
732
|
* @example const conversionAction: ResourceNames.ConversionActionResourceName = ResourceNames.conversionAction(10987417, 21974834)
|
|
723
733
|
*/
|
|
724
734
|
function conversionAction(customerId, conversionActionId) {
|
|
725
|
-
return
|
|
735
|
+
return `customers/${customerId}/conversionActions/${conversionActionId}`;
|
|
726
736
|
}
|
|
727
737
|
exports.conversionAction = conversionAction;
|
|
728
738
|
/**
|
|
@@ -732,7 +742,7 @@ exports.conversionAction = conversionAction;
|
|
|
732
742
|
* @example const conversionCustomVariable: ResourceNames.ConversionCustomVariableResourceName = ResourceNames.conversionCustomVariable(10987417, 21974834)
|
|
733
743
|
*/
|
|
734
744
|
function conversionCustomVariable(customerId, conversionCustomVariableId) {
|
|
735
|
-
return
|
|
745
|
+
return `customers/${customerId}/conversionCustomVariables/${conversionCustomVariableId}`;
|
|
736
746
|
}
|
|
737
747
|
exports.conversionCustomVariable = conversionCustomVariable;
|
|
738
748
|
/**
|
|
@@ -742,7 +752,7 @@ exports.conversionCustomVariable = conversionCustomVariable;
|
|
|
742
752
|
* @example const conversionGoalCampaignConfig: ResourceNames.ConversionGoalCampaignConfigResourceName = ResourceNames.conversionGoalCampaignConfig(10987417, 21974834)
|
|
743
753
|
*/
|
|
744
754
|
function conversionGoalCampaignConfig(customerId, campaignId) {
|
|
745
|
-
return
|
|
755
|
+
return `customers/${customerId}/conversionGoalCampaignConfigs/${campaignId}`;
|
|
746
756
|
}
|
|
747
757
|
exports.conversionGoalCampaignConfig = conversionGoalCampaignConfig;
|
|
748
758
|
/**
|
|
@@ -752,7 +762,7 @@ exports.conversionGoalCampaignConfig = conversionGoalCampaignConfig;
|
|
|
752
762
|
* @example const conversionValueRule: ResourceNames.ConversionValueRuleResourceName = ResourceNames.conversionValueRule(10987417, 21974834)
|
|
753
763
|
*/
|
|
754
764
|
function conversionValueRule(customerId, conversionValueRuleId) {
|
|
755
|
-
return
|
|
765
|
+
return `customers/${customerId}/conversionValueRules/${conversionValueRuleId}`;
|
|
756
766
|
}
|
|
757
767
|
exports.conversionValueRule = conversionValueRule;
|
|
758
768
|
/**
|
|
@@ -762,7 +772,7 @@ exports.conversionValueRule = conversionValueRule;
|
|
|
762
772
|
* @example const conversionValueRuleSet: ResourceNames.ConversionValueRuleSetResourceName = ResourceNames.conversionValueRuleSet(10987417, 21974834)
|
|
763
773
|
*/
|
|
764
774
|
function conversionValueRuleSet(customerId, conversionValueRuleSetId) {
|
|
765
|
-
return
|
|
775
|
+
return `customers/${customerId}/conversionValueRuleSets/${conversionValueRuleSetId}`;
|
|
766
776
|
}
|
|
767
777
|
exports.conversionValueRuleSet = conversionValueRuleSet;
|
|
768
778
|
/**
|
|
@@ -771,7 +781,7 @@ exports.conversionValueRuleSet = conversionValueRuleSet;
|
|
|
771
781
|
* @example const currencyConstant: ResourceNames.CurrencyConstantResourceName = ResourceNames.currencyConstant(10987417)
|
|
772
782
|
*/
|
|
773
783
|
function currencyConstant(code) {
|
|
774
|
-
return
|
|
784
|
+
return `currencyConstants/${code}`;
|
|
775
785
|
}
|
|
776
786
|
exports.currencyConstant = currencyConstant;
|
|
777
787
|
/**
|
|
@@ -781,7 +791,7 @@ exports.currencyConstant = currencyConstant;
|
|
|
781
791
|
* @example const customAudience: ResourceNames.CustomAudienceResourceName = ResourceNames.customAudience(10987417, 21974834)
|
|
782
792
|
*/
|
|
783
793
|
function customAudience(customerId, customAudienceId) {
|
|
784
|
-
return
|
|
794
|
+
return `customers/${customerId}/customAudiences/${customAudienceId}`;
|
|
785
795
|
}
|
|
786
796
|
exports.customAudience = customAudience;
|
|
787
797
|
/**
|
|
@@ -791,7 +801,7 @@ exports.customAudience = customAudience;
|
|
|
791
801
|
* @example const customConversionGoal: ResourceNames.CustomConversionGoalResourceName = ResourceNames.customConversionGoal(10987417, 21974834)
|
|
792
802
|
*/
|
|
793
803
|
function customConversionGoal(customerId, goalId) {
|
|
794
|
-
return
|
|
804
|
+
return `customers/${customerId}/customConversionGoals/${goalId}`;
|
|
795
805
|
}
|
|
796
806
|
exports.customConversionGoal = customConversionGoal;
|
|
797
807
|
/**
|
|
@@ -801,7 +811,7 @@ exports.customConversionGoal = customConversionGoal;
|
|
|
801
811
|
* @example const customInterest: ResourceNames.CustomInterestResourceName = ResourceNames.customInterest(10987417, 21974834)
|
|
802
812
|
*/
|
|
803
813
|
function customInterest(customerId, customInterestId) {
|
|
804
|
-
return
|
|
814
|
+
return `customers/${customerId}/customInterests/${customInterestId}`;
|
|
805
815
|
}
|
|
806
816
|
exports.customInterest = customInterest;
|
|
807
817
|
/**
|
|
@@ -810,7 +820,7 @@ exports.customInterest = customInterest;
|
|
|
810
820
|
* @example const customer: ResourceNames.CustomerResourceName = ResourceNames.customer(10987417)
|
|
811
821
|
*/
|
|
812
822
|
function customer(customerId) {
|
|
813
|
-
return
|
|
823
|
+
return `customers/${customerId}`;
|
|
814
824
|
}
|
|
815
825
|
exports.customer = customer;
|
|
816
826
|
/**
|
|
@@ -821,7 +831,7 @@ exports.customer = customer;
|
|
|
821
831
|
* @example const customerAsset: ResourceNames.CustomerAssetResourceName = ResourceNames.customerAsset(10987417, 21974834, 43949668)
|
|
822
832
|
*/
|
|
823
833
|
function customerAsset(customerId, assetId, fieldType) {
|
|
824
|
-
return
|
|
834
|
+
return `customers/${customerId}/customerAssets/${assetId}~${fieldType}`;
|
|
825
835
|
}
|
|
826
836
|
exports.customerAsset = customerAsset;
|
|
827
837
|
/**
|
|
@@ -831,7 +841,7 @@ exports.customerAsset = customerAsset;
|
|
|
831
841
|
* @example const customerClient: ResourceNames.CustomerClientResourceName = ResourceNames.customerClient(10987417, 21974834)
|
|
832
842
|
*/
|
|
833
843
|
function customerClient(customerId, clientCustomerId) {
|
|
834
|
-
return
|
|
844
|
+
return `customers/${customerId}/customerClients/${clientCustomerId}`;
|
|
835
845
|
}
|
|
836
846
|
exports.customerClient = customerClient;
|
|
837
847
|
/**
|
|
@@ -842,7 +852,7 @@ exports.customerClient = customerClient;
|
|
|
842
852
|
* @example const customerClientLink: ResourceNames.CustomerClientLinkResourceName = ResourceNames.customerClientLink(10987417, 21974834, 43949668)
|
|
843
853
|
*/
|
|
844
854
|
function customerClientLink(customerId, clientCustomerId, managerLinkId) {
|
|
845
|
-
return
|
|
855
|
+
return `customers/${customerId}/customerClientLinks/${clientCustomerId}~${managerLinkId}`;
|
|
846
856
|
}
|
|
847
857
|
exports.customerClientLink = customerClientLink;
|
|
848
858
|
/**
|
|
@@ -853,7 +863,7 @@ exports.customerClientLink = customerClientLink;
|
|
|
853
863
|
* @example const customerConversionGoal: ResourceNames.CustomerConversionGoalResourceName = ResourceNames.customerConversionGoal(10987417, 21974834, 43949668)
|
|
854
864
|
*/
|
|
855
865
|
function customerConversionGoal(customerId, category, source) {
|
|
856
|
-
return
|
|
866
|
+
return `customers/${customerId}/customerConversionGoals/${category}~${source}`;
|
|
857
867
|
}
|
|
858
868
|
exports.customerConversionGoal = customerConversionGoal;
|
|
859
869
|
/**
|
|
@@ -863,7 +873,7 @@ exports.customerConversionGoal = customerConversionGoal;
|
|
|
863
873
|
* @example const customerCustomizer: ResourceNames.CustomerCustomizerResourceName = ResourceNames.customerCustomizer(10987417, 21974834)
|
|
864
874
|
*/
|
|
865
875
|
function customerCustomizer(customerId, customizerAttributeId) {
|
|
866
|
-
return
|
|
876
|
+
return `customers/${customerId}/customerCustomizers/${customizerAttributeId}`;
|
|
867
877
|
}
|
|
868
878
|
exports.customerCustomizer = customerCustomizer;
|
|
869
879
|
/**
|
|
@@ -873,7 +883,7 @@ exports.customerCustomizer = customerCustomizer;
|
|
|
873
883
|
* @example const customerExtensionSetting: ResourceNames.CustomerExtensionSettingResourceName = ResourceNames.customerExtensionSetting(10987417, 21974834)
|
|
874
884
|
*/
|
|
875
885
|
function customerExtensionSetting(customerId, extensionType) {
|
|
876
|
-
return
|
|
886
|
+
return `customers/${customerId}/customerExtensionSettings/${extensionType}`;
|
|
877
887
|
}
|
|
878
888
|
exports.customerExtensionSetting = customerExtensionSetting;
|
|
879
889
|
/**
|
|
@@ -883,7 +893,7 @@ exports.customerExtensionSetting = customerExtensionSetting;
|
|
|
883
893
|
* @example const customerFeed: ResourceNames.CustomerFeedResourceName = ResourceNames.customerFeed(10987417, 21974834)
|
|
884
894
|
*/
|
|
885
895
|
function customerFeed(customerId, feedId) {
|
|
886
|
-
return
|
|
896
|
+
return `customers/${customerId}/customerFeeds/${feedId}`;
|
|
887
897
|
}
|
|
888
898
|
exports.customerFeed = customerFeed;
|
|
889
899
|
/**
|
|
@@ -893,7 +903,7 @@ exports.customerFeed = customerFeed;
|
|
|
893
903
|
* @example const customerLabel: ResourceNames.CustomerLabelResourceName = ResourceNames.customerLabel(10987417, 21974834)
|
|
894
904
|
*/
|
|
895
905
|
function customerLabel(customerId, labelId) {
|
|
896
|
-
return
|
|
906
|
+
return `customers/${customerId}/customerLabels/${labelId}`;
|
|
897
907
|
}
|
|
898
908
|
exports.customerLabel = customerLabel;
|
|
899
909
|
/**
|
|
@@ -904,7 +914,7 @@ exports.customerLabel = customerLabel;
|
|
|
904
914
|
* @example const customerManagerLink: ResourceNames.CustomerManagerLinkResourceName = ResourceNames.customerManagerLink(10987417, 21974834, 43949668)
|
|
905
915
|
*/
|
|
906
916
|
function customerManagerLink(customerId, managerCustomerId, managerLinkId) {
|
|
907
|
-
return
|
|
917
|
+
return `customers/${customerId}/customerManagerLinks/${managerCustomerId}~${managerLinkId}`;
|
|
908
918
|
}
|
|
909
919
|
exports.customerManagerLink = customerManagerLink;
|
|
910
920
|
/**
|
|
@@ -914,7 +924,7 @@ exports.customerManagerLink = customerManagerLink;
|
|
|
914
924
|
* @example const customerNegativeCriterion: ResourceNames.CustomerNegativeCriterionResourceName = ResourceNames.customerNegativeCriterion(10987417, 21974834)
|
|
915
925
|
*/
|
|
916
926
|
function customerNegativeCriterion(customerId, criterionId) {
|
|
917
|
-
return
|
|
927
|
+
return `customers/${customerId}/customerNegativeCriteria/${criterionId}`;
|
|
918
928
|
}
|
|
919
929
|
exports.customerNegativeCriterion = customerNegativeCriterion;
|
|
920
930
|
/**
|
|
@@ -924,7 +934,7 @@ exports.customerNegativeCriterion = customerNegativeCriterion;
|
|
|
924
934
|
* @example const customerUserAccess: ResourceNames.CustomerUserAccessResourceName = ResourceNames.customerUserAccess(10987417, 21974834)
|
|
925
935
|
*/
|
|
926
936
|
function customerUserAccess(customerId, userId) {
|
|
927
|
-
return
|
|
937
|
+
return `customers/${customerId}/customerUserAccesses/${userId}`;
|
|
928
938
|
}
|
|
929
939
|
exports.customerUserAccess = customerUserAccess;
|
|
930
940
|
/**
|
|
@@ -934,7 +944,7 @@ exports.customerUserAccess = customerUserAccess;
|
|
|
934
944
|
* @example const customerUserAccessInvitation: ResourceNames.CustomerUserAccessInvitationResourceName = ResourceNames.customerUserAccessInvitation(10987417, 21974834)
|
|
935
945
|
*/
|
|
936
946
|
function customerUserAccessInvitation(customerId, invitationId) {
|
|
937
|
-
return
|
|
947
|
+
return `customers/${customerId}/customerUserAccessInvitations/${invitationId}`;
|
|
938
948
|
}
|
|
939
949
|
exports.customerUserAccessInvitation = customerUserAccessInvitation;
|
|
940
950
|
/**
|
|
@@ -944,7 +954,7 @@ exports.customerUserAccessInvitation = customerUserAccessInvitation;
|
|
|
944
954
|
* @example const customizerAttribute: ResourceNames.CustomizerAttributeResourceName = ResourceNames.customizerAttribute(10987417, 21974834)
|
|
945
955
|
*/
|
|
946
956
|
function customizerAttribute(customerId, customizerAttributeId) {
|
|
947
|
-
return
|
|
957
|
+
return `customers/${customerId}/customizerAttributes/${customizerAttributeId}`;
|
|
948
958
|
}
|
|
949
959
|
exports.customizerAttribute = customizerAttribute;
|
|
950
960
|
/**
|
|
@@ -955,7 +965,7 @@ exports.customizerAttribute = customizerAttribute;
|
|
|
955
965
|
* @example const detailPlacementView: ResourceNames.DetailPlacementViewResourceName = ResourceNames.detailPlacementView(10987417, 21974834, 43949668)
|
|
956
966
|
*/
|
|
957
967
|
function detailPlacementView(customerId, adGroupId, base64Placement) {
|
|
958
|
-
return
|
|
968
|
+
return `customers/${customerId}/detailPlacementViews/${adGroupId}~${base64Placement}`;
|
|
959
969
|
}
|
|
960
970
|
exports.detailPlacementView = detailPlacementView;
|
|
961
971
|
/**
|
|
@@ -965,7 +975,7 @@ exports.detailPlacementView = detailPlacementView;
|
|
|
965
975
|
* @example const detailedDemographic: ResourceNames.DetailedDemographicResourceName = ResourceNames.detailedDemographic(10987417, 21974834)
|
|
966
976
|
*/
|
|
967
977
|
function detailedDemographic(customerId, detailedDemographicId) {
|
|
968
|
-
return
|
|
978
|
+
return `customers/${customerId}/detailedDemographics/${detailedDemographicId}`;
|
|
969
979
|
}
|
|
970
980
|
exports.detailedDemographic = detailedDemographic;
|
|
971
981
|
/**
|
|
@@ -976,7 +986,7 @@ exports.detailedDemographic = detailedDemographic;
|
|
|
976
986
|
* @example const displayKeywordView: ResourceNames.DisplayKeywordViewResourceName = ResourceNames.displayKeywordView(10987417, 21974834, 43949668)
|
|
977
987
|
*/
|
|
978
988
|
function displayKeywordView(customerId, adGroupId, criterionId) {
|
|
979
|
-
return
|
|
989
|
+
return `customers/${customerId}/displayKeywordViews/${adGroupId}~${criterionId}`;
|
|
980
990
|
}
|
|
981
991
|
exports.displayKeywordView = displayKeywordView;
|
|
982
992
|
/**
|
|
@@ -987,7 +997,7 @@ exports.displayKeywordView = displayKeywordView;
|
|
|
987
997
|
* @example const distanceView: ResourceNames.DistanceViewResourceName = ResourceNames.distanceView(10987417, 21974834, 43949668)
|
|
988
998
|
*/
|
|
989
999
|
function distanceView(customerId, placeholderChainId, distanceBucket) {
|
|
990
|
-
return
|
|
1000
|
+
return `customers/${customerId}/distanceViews/${placeholderChainId}~${distanceBucket}`;
|
|
991
1001
|
}
|
|
992
1002
|
exports.distanceView = distanceView;
|
|
993
1003
|
/**
|
|
@@ -999,7 +1009,7 @@ exports.distanceView = distanceView;
|
|
|
999
1009
|
* @example const domainCategory: ResourceNames.DomainCategoryResourceName = ResourceNames.domainCategory(10987417, 21974834, 43949668, 87899336)
|
|
1000
1010
|
*/
|
|
1001
1011
|
function domainCategory(customerId, campaignId, base64Category, languageCode) {
|
|
1002
|
-
return
|
|
1012
|
+
return `customers/${customerId}/domainCategories/${campaignId}~${base64Category}~${languageCode}`;
|
|
1003
1013
|
}
|
|
1004
1014
|
exports.domainCategory = domainCategory;
|
|
1005
1015
|
/**
|
|
@@ -1013,7 +1023,7 @@ exports.domainCategory = domainCategory;
|
|
|
1013
1023
|
* @example const dynamicSearchAdsSearchTermView: ResourceNames.DynamicSearchAdsSearchTermViewResourceName = ResourceNames.dynamicSearchAdsSearchTermView(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
1014
1024
|
*/
|
|
1015
1025
|
function dynamicSearchAdsSearchTermView(customerId, adGroupId, searchTermFingerprint, headlineFingerprint, landingPageFingerprint, pageUrlFingerprint) {
|
|
1016
|
-
return
|
|
1026
|
+
return `customers/${customerId}/dynamicSearchAdsSearchTermViews/${adGroupId}~${searchTermFingerprint}~${headlineFingerprint}~${landingPageFingerprint}~${pageUrlFingerprint}`;
|
|
1017
1027
|
}
|
|
1018
1028
|
exports.dynamicSearchAdsSearchTermView = dynamicSearchAdsSearchTermView;
|
|
1019
1029
|
/**
|
|
@@ -1023,7 +1033,7 @@ exports.dynamicSearchAdsSearchTermView = dynamicSearchAdsSearchTermView;
|
|
|
1023
1033
|
* @example const expandedLandingPageView: ResourceNames.ExpandedLandingPageViewResourceName = ResourceNames.expandedLandingPageView(10987417, 21974834)
|
|
1024
1034
|
*/
|
|
1025
1035
|
function expandedLandingPageView(customerId, expandedFinalUrlFingerprint) {
|
|
1026
|
-
return
|
|
1036
|
+
return `customers/${customerId}/expandedLandingPageViews/${expandedFinalUrlFingerprint}`;
|
|
1027
1037
|
}
|
|
1028
1038
|
exports.expandedLandingPageView = expandedLandingPageView;
|
|
1029
1039
|
/**
|
|
@@ -1033,7 +1043,7 @@ exports.expandedLandingPageView = expandedLandingPageView;
|
|
|
1033
1043
|
* @example const experiment: ResourceNames.ExperimentResourceName = ResourceNames.experiment(10987417, 21974834)
|
|
1034
1044
|
*/
|
|
1035
1045
|
function experiment(customerId, trialId) {
|
|
1036
|
-
return
|
|
1046
|
+
return `customers/${customerId}/experiments/${trialId}`;
|
|
1037
1047
|
}
|
|
1038
1048
|
exports.experiment = experiment;
|
|
1039
1049
|
/**
|
|
@@ -1044,7 +1054,7 @@ exports.experiment = experiment;
|
|
|
1044
1054
|
* @example const experimentArm: ResourceNames.ExperimentArmResourceName = ResourceNames.experimentArm(10987417, 21974834, 43949668)
|
|
1045
1055
|
*/
|
|
1046
1056
|
function experimentArm(customerId, trialId, trialArmId) {
|
|
1047
|
-
return
|
|
1057
|
+
return `customers/${customerId}/experimentArms/${trialId}~${trialArmId}`;
|
|
1048
1058
|
}
|
|
1049
1059
|
exports.experimentArm = experimentArm;
|
|
1050
1060
|
/**
|
|
@@ -1054,7 +1064,7 @@ exports.experimentArm = experimentArm;
|
|
|
1054
1064
|
* @example const extensionFeedItem: ResourceNames.ExtensionFeedItemResourceName = ResourceNames.extensionFeedItem(10987417, 21974834)
|
|
1055
1065
|
*/
|
|
1056
1066
|
function extensionFeedItem(customerId, feedItemId) {
|
|
1057
|
-
return
|
|
1067
|
+
return `customers/${customerId}/extensionFeedItems/${feedItemId}`;
|
|
1058
1068
|
}
|
|
1059
1069
|
exports.extensionFeedItem = extensionFeedItem;
|
|
1060
1070
|
/**
|
|
@@ -1064,7 +1074,7 @@ exports.extensionFeedItem = extensionFeedItem;
|
|
|
1064
1074
|
* @example const feed: ResourceNames.FeedResourceName = ResourceNames.feed(10987417, 21974834)
|
|
1065
1075
|
*/
|
|
1066
1076
|
function feed(customerId, feedId) {
|
|
1067
|
-
return
|
|
1077
|
+
return `customers/${customerId}/feeds/${feedId}`;
|
|
1068
1078
|
}
|
|
1069
1079
|
exports.feed = feed;
|
|
1070
1080
|
/**
|
|
@@ -1075,7 +1085,7 @@ exports.feed = feed;
|
|
|
1075
1085
|
* @example const feedItem: ResourceNames.FeedItemResourceName = ResourceNames.feedItem(10987417, 21974834, 43949668)
|
|
1076
1086
|
*/
|
|
1077
1087
|
function feedItem(customerId, feedId, feedItemId) {
|
|
1078
|
-
return
|
|
1088
|
+
return `customers/${customerId}/feedItems/${feedId}~${feedItemId}`;
|
|
1079
1089
|
}
|
|
1080
1090
|
exports.feedItem = feedItem;
|
|
1081
1091
|
/**
|
|
@@ -1086,7 +1096,7 @@ exports.feedItem = feedItem;
|
|
|
1086
1096
|
* @example const feedItemSet: ResourceNames.FeedItemSetResourceName = ResourceNames.feedItemSet(10987417, 21974834, 43949668)
|
|
1087
1097
|
*/
|
|
1088
1098
|
function feedItemSet(customerId, feedId, feedItemSetId) {
|
|
1089
|
-
return
|
|
1099
|
+
return `customers/${customerId}/feedItemSets/${feedId}~${feedItemSetId}`;
|
|
1090
1100
|
}
|
|
1091
1101
|
exports.feedItemSet = feedItemSet;
|
|
1092
1102
|
/**
|
|
@@ -1098,7 +1108,7 @@ exports.feedItemSet = feedItemSet;
|
|
|
1098
1108
|
* @example const feedItemSetLink: ResourceNames.FeedItemSetLinkResourceName = ResourceNames.feedItemSetLink(10987417, 21974834, 43949668, 87899336)
|
|
1099
1109
|
*/
|
|
1100
1110
|
function feedItemSetLink(customerId, feedId, feedItemSetId, feedItemId) {
|
|
1101
|
-
return
|
|
1111
|
+
return `customers/${customerId}/feedItemSetLinks/${feedId}~${feedItemSetId}~${feedItemId}`;
|
|
1102
1112
|
}
|
|
1103
1113
|
exports.feedItemSetLink = feedItemSetLink;
|
|
1104
1114
|
/**
|
|
@@ -1111,7 +1121,7 @@ exports.feedItemSetLink = feedItemSetLink;
|
|
|
1111
1121
|
* @example const feedItemTarget: ResourceNames.FeedItemTargetResourceName = ResourceNames.feedItemTarget(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
1112
1122
|
*/
|
|
1113
1123
|
function feedItemTarget(customerId, feedId, feedItemId, feedItemTargetType, feedItemTargetId) {
|
|
1114
|
-
return
|
|
1124
|
+
return `customers/${customerId}/feedItemTargets/${feedId}~${feedItemId}~${feedItemTargetType}~${feedItemTargetId}`;
|
|
1115
1125
|
}
|
|
1116
1126
|
exports.feedItemTarget = feedItemTarget;
|
|
1117
1127
|
/**
|
|
@@ -1122,7 +1132,7 @@ exports.feedItemTarget = feedItemTarget;
|
|
|
1122
1132
|
* @example const feedMapping: ResourceNames.FeedMappingResourceName = ResourceNames.feedMapping(10987417, 21974834, 43949668)
|
|
1123
1133
|
*/
|
|
1124
1134
|
function feedMapping(customerId, feedId, feedMappingId) {
|
|
1125
|
-
return
|
|
1135
|
+
return `customers/${customerId}/feedMappings/${feedId}~${feedMappingId}`;
|
|
1126
1136
|
}
|
|
1127
1137
|
exports.feedMapping = feedMapping;
|
|
1128
1138
|
/**
|
|
@@ -1132,7 +1142,7 @@ exports.feedMapping = feedMapping;
|
|
|
1132
1142
|
* @example const feedPlaceholderView: ResourceNames.FeedPlaceholderViewResourceName = ResourceNames.feedPlaceholderView(10987417, 21974834)
|
|
1133
1143
|
*/
|
|
1134
1144
|
function feedPlaceholderView(customerId, placeholderType) {
|
|
1135
|
-
return
|
|
1145
|
+
return `customers/${customerId}/feedPlaceholderViews/${placeholderType}`;
|
|
1136
1146
|
}
|
|
1137
1147
|
exports.feedPlaceholderView = feedPlaceholderView;
|
|
1138
1148
|
/**
|
|
@@ -1143,7 +1153,7 @@ exports.feedPlaceholderView = feedPlaceholderView;
|
|
|
1143
1153
|
* @example const genderView: ResourceNames.GenderViewResourceName = ResourceNames.genderView(10987417, 21974834, 43949668)
|
|
1144
1154
|
*/
|
|
1145
1155
|
function genderView(customerId, adGroupId, criterionId) {
|
|
1146
|
-
return
|
|
1156
|
+
return `customers/${customerId}/genderViews/${adGroupId}~${criterionId}`;
|
|
1147
1157
|
}
|
|
1148
1158
|
exports.genderView = genderView;
|
|
1149
1159
|
/**
|
|
@@ -1152,7 +1162,7 @@ exports.genderView = genderView;
|
|
|
1152
1162
|
* @example const geoTargetConstant: ResourceNames.GeoTargetConstantResourceName = ResourceNames.geoTargetConstant(10987417)
|
|
1153
1163
|
*/
|
|
1154
1164
|
function geoTargetConstant(criterionId) {
|
|
1155
|
-
return
|
|
1165
|
+
return `geoTargetConstants/${criterionId}`;
|
|
1156
1166
|
}
|
|
1157
1167
|
exports.geoTargetConstant = geoTargetConstant;
|
|
1158
1168
|
/**
|
|
@@ -1163,7 +1173,7 @@ exports.geoTargetConstant = geoTargetConstant;
|
|
|
1163
1173
|
* @example const geographicView: ResourceNames.GeographicViewResourceName = ResourceNames.geographicView(10987417, 21974834, 43949668)
|
|
1164
1174
|
*/
|
|
1165
1175
|
function geographicView(customerId, countryCriterionId, locationType) {
|
|
1166
|
-
return
|
|
1176
|
+
return `customers/${customerId}/geographicViews/${countryCriterionId}~${locationType}`;
|
|
1167
1177
|
}
|
|
1168
1178
|
exports.geographicView = geographicView;
|
|
1169
1179
|
/**
|
|
@@ -1172,7 +1182,7 @@ exports.geographicView = geographicView;
|
|
|
1172
1182
|
* @example const googleAdsField: ResourceNames.GoogleAdsFieldResourceName = ResourceNames.googleAdsField(10987417)
|
|
1173
1183
|
*/
|
|
1174
1184
|
function googleAdsField(googleAdsField) {
|
|
1175
|
-
return
|
|
1185
|
+
return `googleAdsFields/${googleAdsField}`;
|
|
1176
1186
|
}
|
|
1177
1187
|
exports.googleAdsField = googleAdsField;
|
|
1178
1188
|
/**
|
|
@@ -1183,7 +1193,7 @@ exports.googleAdsField = googleAdsField;
|
|
|
1183
1193
|
* @example const groupPlacementView: ResourceNames.GroupPlacementViewResourceName = ResourceNames.groupPlacementView(10987417, 21974834, 43949668)
|
|
1184
1194
|
*/
|
|
1185
1195
|
function groupPlacementView(customerId, adGroupId, base64Placement) {
|
|
1186
|
-
return
|
|
1196
|
+
return `customers/${customerId}/groupPlacementViews/${adGroupId}~${base64Placement}`;
|
|
1187
1197
|
}
|
|
1188
1198
|
exports.groupPlacementView = groupPlacementView;
|
|
1189
1199
|
/**
|
|
@@ -1194,7 +1204,7 @@ exports.groupPlacementView = groupPlacementView;
|
|
|
1194
1204
|
* @example const hotelGroupView: ResourceNames.HotelGroupViewResourceName = ResourceNames.hotelGroupView(10987417, 21974834, 43949668)
|
|
1195
1205
|
*/
|
|
1196
1206
|
function hotelGroupView(customerId, adGroupId, criterionId) {
|
|
1197
|
-
return
|
|
1207
|
+
return `customers/${customerId}/hotelGroupViews/${adGroupId}~${criterionId}`;
|
|
1198
1208
|
}
|
|
1199
1209
|
exports.hotelGroupView = hotelGroupView;
|
|
1200
1210
|
/**
|
|
@@ -1203,7 +1213,7 @@ exports.hotelGroupView = hotelGroupView;
|
|
|
1203
1213
|
* @example const hotelPerformanceView: ResourceNames.HotelPerformanceViewResourceName = ResourceNames.hotelPerformanceView(10987417)
|
|
1204
1214
|
*/
|
|
1205
1215
|
function hotelPerformanceView(customerId) {
|
|
1206
|
-
return
|
|
1216
|
+
return `customers/${customerId}/hotelPerformanceView`;
|
|
1207
1217
|
}
|
|
1208
1218
|
exports.hotelPerformanceView = hotelPerformanceView;
|
|
1209
1219
|
/**
|
|
@@ -1213,7 +1223,7 @@ exports.hotelPerformanceView = hotelPerformanceView;
|
|
|
1213
1223
|
* @example const hotelReconciliation: ResourceNames.HotelReconciliationResourceName = ResourceNames.hotelReconciliation(10987417, 21974834)
|
|
1214
1224
|
*/
|
|
1215
1225
|
function hotelReconciliation(customerId, commissionId) {
|
|
1216
|
-
return
|
|
1226
|
+
return `customers/${customerId}/hotelReconciliations/${commissionId}`;
|
|
1217
1227
|
}
|
|
1218
1228
|
exports.hotelReconciliation = hotelReconciliation;
|
|
1219
1229
|
/**
|
|
@@ -1224,7 +1234,7 @@ exports.hotelReconciliation = hotelReconciliation;
|
|
|
1224
1234
|
* @example const incomeRangeView: ResourceNames.IncomeRangeViewResourceName = ResourceNames.incomeRangeView(10987417, 21974834, 43949668)
|
|
1225
1235
|
*/
|
|
1226
1236
|
function incomeRangeView(customerId, adGroupId, criterionId) {
|
|
1227
|
-
return
|
|
1237
|
+
return `customers/${customerId}/incomeRangeViews/${adGroupId}~${criterionId}`;
|
|
1228
1238
|
}
|
|
1229
1239
|
exports.incomeRangeView = incomeRangeView;
|
|
1230
1240
|
/**
|
|
@@ -1234,7 +1244,7 @@ exports.incomeRangeView = incomeRangeView;
|
|
|
1234
1244
|
* @example const invoice: ResourceNames.InvoiceResourceName = ResourceNames.invoice(10987417, 21974834)
|
|
1235
1245
|
*/
|
|
1236
1246
|
function invoice(customerId, invoiceId) {
|
|
1237
|
-
return
|
|
1247
|
+
return `customers/${customerId}/invoices/${invoiceId}`;
|
|
1238
1248
|
}
|
|
1239
1249
|
exports.invoice = invoice;
|
|
1240
1250
|
/**
|
|
@@ -1244,7 +1254,7 @@ exports.invoice = invoice;
|
|
|
1244
1254
|
* @example const keywordPlan: ResourceNames.KeywordPlanResourceName = ResourceNames.keywordPlan(10987417, 21974834)
|
|
1245
1255
|
*/
|
|
1246
1256
|
function keywordPlan(customerId, keywordPlanId) {
|
|
1247
|
-
return
|
|
1257
|
+
return `customers/${customerId}/keywordPlans/${keywordPlanId}`;
|
|
1248
1258
|
}
|
|
1249
1259
|
exports.keywordPlan = keywordPlan;
|
|
1250
1260
|
/**
|
|
@@ -1254,7 +1264,7 @@ exports.keywordPlan = keywordPlan;
|
|
|
1254
1264
|
* @example const keywordPlanAdGroup: ResourceNames.KeywordPlanAdGroupResourceName = ResourceNames.keywordPlanAdGroup(10987417, 21974834)
|
|
1255
1265
|
*/
|
|
1256
1266
|
function keywordPlanAdGroup(customerId, keywordPlanAdGroupId) {
|
|
1257
|
-
return
|
|
1267
|
+
return `customers/${customerId}/keywordPlanAdGroups/${keywordPlanAdGroupId}`;
|
|
1258
1268
|
}
|
|
1259
1269
|
exports.keywordPlanAdGroup = keywordPlanAdGroup;
|
|
1260
1270
|
/**
|
|
@@ -1264,7 +1274,7 @@ exports.keywordPlanAdGroup = keywordPlanAdGroup;
|
|
|
1264
1274
|
* @example const keywordPlanAdGroupKeyword: ResourceNames.KeywordPlanAdGroupKeywordResourceName = ResourceNames.keywordPlanAdGroupKeyword(10987417, 21974834)
|
|
1265
1275
|
*/
|
|
1266
1276
|
function keywordPlanAdGroupKeyword(customerId, keywordPlanAdGroupKeywordId) {
|
|
1267
|
-
return
|
|
1277
|
+
return `customers/${customerId}/keywordPlanAdGroupKeywords/${keywordPlanAdGroupKeywordId}`;
|
|
1268
1278
|
}
|
|
1269
1279
|
exports.keywordPlanAdGroupKeyword = keywordPlanAdGroupKeyword;
|
|
1270
1280
|
/**
|
|
@@ -1274,7 +1284,7 @@ exports.keywordPlanAdGroupKeyword = keywordPlanAdGroupKeyword;
|
|
|
1274
1284
|
* @example const keywordPlanCampaign: ResourceNames.KeywordPlanCampaignResourceName = ResourceNames.keywordPlanCampaign(10987417, 21974834)
|
|
1275
1285
|
*/
|
|
1276
1286
|
function keywordPlanCampaign(customerId, keywordPlanCampaignId) {
|
|
1277
|
-
return
|
|
1287
|
+
return `customers/${customerId}/keywordPlanCampaigns/${keywordPlanCampaignId}`;
|
|
1278
1288
|
}
|
|
1279
1289
|
exports.keywordPlanCampaign = keywordPlanCampaign;
|
|
1280
1290
|
/**
|
|
@@ -1284,7 +1294,7 @@ exports.keywordPlanCampaign = keywordPlanCampaign;
|
|
|
1284
1294
|
* @example const keywordPlanCampaignKeyword: ResourceNames.KeywordPlanCampaignKeywordResourceName = ResourceNames.keywordPlanCampaignKeyword(10987417, 21974834)
|
|
1285
1295
|
*/
|
|
1286
1296
|
function keywordPlanCampaignKeyword(customerId, keywordPlanCampaignKeywordId) {
|
|
1287
|
-
return
|
|
1297
|
+
return `customers/${customerId}/keywordPlanCampaignKeywords/${keywordPlanCampaignKeywordId}`;
|
|
1288
1298
|
}
|
|
1289
1299
|
exports.keywordPlanCampaignKeyword = keywordPlanCampaignKeyword;
|
|
1290
1300
|
/**
|
|
@@ -1294,7 +1304,7 @@ exports.keywordPlanCampaignKeyword = keywordPlanCampaignKeyword;
|
|
|
1294
1304
|
* @example const keywordThemeConstant: ResourceNames.KeywordThemeConstantResourceName = ResourceNames.keywordThemeConstant(10987417, 21974834)
|
|
1295
1305
|
*/
|
|
1296
1306
|
function keywordThemeConstant(expressCategoryId, expressSubCategoryId) {
|
|
1297
|
-
return
|
|
1307
|
+
return `keywordThemeConstants/${expressCategoryId}~${expressSubCategoryId}`;
|
|
1298
1308
|
}
|
|
1299
1309
|
exports.keywordThemeConstant = keywordThemeConstant;
|
|
1300
1310
|
/**
|
|
@@ -1305,7 +1315,7 @@ exports.keywordThemeConstant = keywordThemeConstant;
|
|
|
1305
1315
|
* @example const keywordView: ResourceNames.KeywordViewResourceName = ResourceNames.keywordView(10987417, 21974834, 43949668)
|
|
1306
1316
|
*/
|
|
1307
1317
|
function keywordView(customerId, adGroupId, criterionId) {
|
|
1308
|
-
return
|
|
1318
|
+
return `customers/${customerId}/keywordViews/${adGroupId}~${criterionId}`;
|
|
1309
1319
|
}
|
|
1310
1320
|
exports.keywordView = keywordView;
|
|
1311
1321
|
/**
|
|
@@ -1315,7 +1325,7 @@ exports.keywordView = keywordView;
|
|
|
1315
1325
|
* @example const label: ResourceNames.LabelResourceName = ResourceNames.label(10987417, 21974834)
|
|
1316
1326
|
*/
|
|
1317
1327
|
function label(customerId, labelId) {
|
|
1318
|
-
return
|
|
1328
|
+
return `customers/${customerId}/labels/${labelId}`;
|
|
1319
1329
|
}
|
|
1320
1330
|
exports.label = label;
|
|
1321
1331
|
/**
|
|
@@ -1325,7 +1335,7 @@ exports.label = label;
|
|
|
1325
1335
|
* @example const landingPageView: ResourceNames.LandingPageViewResourceName = ResourceNames.landingPageView(10987417, 21974834)
|
|
1326
1336
|
*/
|
|
1327
1337
|
function landingPageView(customerId, unexpandedFinalUrlFingerprint) {
|
|
1328
|
-
return
|
|
1338
|
+
return `customers/${customerId}/landingPageViews/${unexpandedFinalUrlFingerprint}`;
|
|
1329
1339
|
}
|
|
1330
1340
|
exports.landingPageView = landingPageView;
|
|
1331
1341
|
/**
|
|
@@ -1334,9 +1344,19 @@ exports.landingPageView = landingPageView;
|
|
|
1334
1344
|
* @example const languageConstant: ResourceNames.LanguageConstantResourceName = ResourceNames.languageConstant(10987417)
|
|
1335
1345
|
*/
|
|
1336
1346
|
function languageConstant(criterionId) {
|
|
1337
|
-
return
|
|
1347
|
+
return `languageConstants/${criterionId}`;
|
|
1338
1348
|
}
|
|
1339
1349
|
exports.languageConstant = languageConstant;
|
|
1350
|
+
/**
|
|
1351
|
+
* @param {string | number} customerId
|
|
1352
|
+
* @param {string | number} leadFormUserSubmissionId
|
|
1353
|
+
* @returns `LeadFormSubmissionDataResourceName`
|
|
1354
|
+
* @example const leadFormSubmissionData: ResourceNames.LeadFormSubmissionDataResourceName = ResourceNames.leadFormSubmissionData(10987417, 21974834)
|
|
1355
|
+
*/
|
|
1356
|
+
function leadFormSubmissionData(customerId, leadFormUserSubmissionId) {
|
|
1357
|
+
return `customers/${customerId}/leadFormSubmissionData/${leadFormUserSubmissionId}`;
|
|
1358
|
+
}
|
|
1359
|
+
exports.leadFormSubmissionData = leadFormSubmissionData;
|
|
1340
1360
|
/**
|
|
1341
1361
|
* @param {string | number} customerId
|
|
1342
1362
|
* @param {string | number} lifeEventId
|
|
@@ -1344,7 +1364,7 @@ exports.languageConstant = languageConstant;
|
|
|
1344
1364
|
* @example const lifeEvent: ResourceNames.LifeEventResourceName = ResourceNames.lifeEvent(10987417, 21974834)
|
|
1345
1365
|
*/
|
|
1346
1366
|
function lifeEvent(customerId, lifeEventId) {
|
|
1347
|
-
return
|
|
1367
|
+
return `customers/${customerId}/lifeEvents/${lifeEventId}`;
|
|
1348
1368
|
}
|
|
1349
1369
|
exports.lifeEvent = lifeEvent;
|
|
1350
1370
|
/**
|
|
@@ -1355,7 +1375,7 @@ exports.lifeEvent = lifeEvent;
|
|
|
1355
1375
|
* @example const locationView: ResourceNames.LocationViewResourceName = ResourceNames.locationView(10987417, 21974834, 43949668)
|
|
1356
1376
|
*/
|
|
1357
1377
|
function locationView(customerId, campaignId, criterionId) {
|
|
1358
|
-
return
|
|
1378
|
+
return `customers/${customerId}/locationViews/${campaignId}~${criterionId}`;
|
|
1359
1379
|
}
|
|
1360
1380
|
exports.locationView = locationView;
|
|
1361
1381
|
/**
|
|
@@ -1366,7 +1386,7 @@ exports.locationView = locationView;
|
|
|
1366
1386
|
* @example const managedPlacementView: ResourceNames.ManagedPlacementViewResourceName = ResourceNames.managedPlacementView(10987417, 21974834, 43949668)
|
|
1367
1387
|
*/
|
|
1368
1388
|
function managedPlacementView(customerId, adGroupId, criterionId) {
|
|
1369
|
-
return
|
|
1389
|
+
return `customers/${customerId}/managedPlacementViews/${adGroupId}~${criterionId}`;
|
|
1370
1390
|
}
|
|
1371
1391
|
exports.managedPlacementView = managedPlacementView;
|
|
1372
1392
|
/**
|
|
@@ -1376,7 +1396,7 @@ exports.managedPlacementView = managedPlacementView;
|
|
|
1376
1396
|
* @example const mediaFile: ResourceNames.MediaFileResourceName = ResourceNames.mediaFile(10987417, 21974834)
|
|
1377
1397
|
*/
|
|
1378
1398
|
function mediaFile(customerId, mediaFileId) {
|
|
1379
|
-
return
|
|
1399
|
+
return `customers/${customerId}/mediaFiles/${mediaFileId}`;
|
|
1380
1400
|
}
|
|
1381
1401
|
exports.mediaFile = mediaFile;
|
|
1382
1402
|
/**
|
|
@@ -1386,7 +1406,7 @@ exports.mediaFile = mediaFile;
|
|
|
1386
1406
|
* @example const merchantCenterLink: ResourceNames.MerchantCenterLinkResourceName = ResourceNames.merchantCenterLink(10987417, 21974834)
|
|
1387
1407
|
*/
|
|
1388
1408
|
function merchantCenterLink(customerId, merchantCenterId) {
|
|
1389
|
-
return
|
|
1409
|
+
return `customers/${customerId}/merchantCenterLinks/${merchantCenterId}`;
|
|
1390
1410
|
}
|
|
1391
1411
|
exports.merchantCenterLink = merchantCenterLink;
|
|
1392
1412
|
/**
|
|
@@ -1395,7 +1415,7 @@ exports.merchantCenterLink = merchantCenterLink;
|
|
|
1395
1415
|
* @example const mobileAppCategoryConstant: ResourceNames.MobileAppCategoryConstantResourceName = ResourceNames.mobileAppCategoryConstant(10987417)
|
|
1396
1416
|
*/
|
|
1397
1417
|
function mobileAppCategoryConstant(mobileAppCategoryId) {
|
|
1398
|
-
return
|
|
1418
|
+
return `mobileAppCategoryConstants/${mobileAppCategoryId}`;
|
|
1399
1419
|
}
|
|
1400
1420
|
exports.mobileAppCategoryConstant = mobileAppCategoryConstant;
|
|
1401
1421
|
/**
|
|
@@ -1404,7 +1424,7 @@ exports.mobileAppCategoryConstant = mobileAppCategoryConstant;
|
|
|
1404
1424
|
* @example const mobileDeviceConstant: ResourceNames.MobileDeviceConstantResourceName = ResourceNames.mobileDeviceConstant(10987417)
|
|
1405
1425
|
*/
|
|
1406
1426
|
function mobileDeviceConstant(criterionId) {
|
|
1407
|
-
return
|
|
1427
|
+
return `mobileDeviceConstants/${criterionId}`;
|
|
1408
1428
|
}
|
|
1409
1429
|
exports.mobileDeviceConstant = mobileDeviceConstant;
|
|
1410
1430
|
/**
|
|
@@ -1414,7 +1434,7 @@ exports.mobileDeviceConstant = mobileDeviceConstant;
|
|
|
1414
1434
|
* @example const offlineUserDataJob: ResourceNames.OfflineUserDataJobResourceName = ResourceNames.offlineUserDataJob(10987417, 21974834)
|
|
1415
1435
|
*/
|
|
1416
1436
|
function offlineUserDataJob(customerId, offlineUserDataUpdateId) {
|
|
1417
|
-
return
|
|
1437
|
+
return `customers/${customerId}/offlineUserDataJobs/${offlineUserDataUpdateId}`;
|
|
1418
1438
|
}
|
|
1419
1439
|
exports.offlineUserDataJob = offlineUserDataJob;
|
|
1420
1440
|
/**
|
|
@@ -1423,7 +1443,7 @@ exports.offlineUserDataJob = offlineUserDataJob;
|
|
|
1423
1443
|
* @example const operatingSystemVersionConstant: ResourceNames.OperatingSystemVersionConstantResourceName = ResourceNames.operatingSystemVersionConstant(10987417)
|
|
1424
1444
|
*/
|
|
1425
1445
|
function operatingSystemVersionConstant(criterionId) {
|
|
1426
|
-
return
|
|
1446
|
+
return `operatingSystemVersionConstants/${criterionId}`;
|
|
1427
1447
|
}
|
|
1428
1448
|
exports.operatingSystemVersionConstant = operatingSystemVersionConstant;
|
|
1429
1449
|
/**
|
|
@@ -1435,7 +1455,7 @@ exports.operatingSystemVersionConstant = operatingSystemVersionConstant;
|
|
|
1435
1455
|
* @example const paidOrganicSearchTermView: ResourceNames.PaidOrganicSearchTermViewResourceName = ResourceNames.paidOrganicSearchTermView(10987417, 21974834, 43949668, 87899336)
|
|
1436
1456
|
*/
|
|
1437
1457
|
function paidOrganicSearchTermView(customerId, campaignId, adGroupId, base64SearchTerm) {
|
|
1438
|
-
return
|
|
1458
|
+
return `customers/${customerId}/paidOrganicSearchTermViews/${campaignId}~${adGroupId}~${base64SearchTerm}`;
|
|
1439
1459
|
}
|
|
1440
1460
|
exports.paidOrganicSearchTermView = paidOrganicSearchTermView;
|
|
1441
1461
|
/**
|
|
@@ -1446,7 +1466,7 @@ exports.paidOrganicSearchTermView = paidOrganicSearchTermView;
|
|
|
1446
1466
|
* @example const parentalStatusView: ResourceNames.ParentalStatusViewResourceName = ResourceNames.parentalStatusView(10987417, 21974834, 43949668)
|
|
1447
1467
|
*/
|
|
1448
1468
|
function parentalStatusView(customerId, adGroupId, criterionId) {
|
|
1449
|
-
return
|
|
1469
|
+
return `customers/${customerId}/parentalStatusViews/${adGroupId}~${criterionId}`;
|
|
1450
1470
|
}
|
|
1451
1471
|
exports.parentalStatusView = parentalStatusView;
|
|
1452
1472
|
/**
|
|
@@ -1456,7 +1476,7 @@ exports.parentalStatusView = parentalStatusView;
|
|
|
1456
1476
|
* @example const paymentsAccount: ResourceNames.PaymentsAccountResourceName = ResourceNames.paymentsAccount(10987417, 21974834)
|
|
1457
1477
|
*/
|
|
1458
1478
|
function paymentsAccount(customerId, paymentsAccountId) {
|
|
1459
|
-
return
|
|
1479
|
+
return `customers/${customerId}/paymentsAccounts/${paymentsAccountId}`;
|
|
1460
1480
|
}
|
|
1461
1481
|
exports.paymentsAccount = paymentsAccount;
|
|
1462
1482
|
/**
|
|
@@ -1467,7 +1487,7 @@ exports.paymentsAccount = paymentsAccount;
|
|
|
1467
1487
|
* @example const productBiddingCategoryConstant: ResourceNames.ProductBiddingCategoryConstantResourceName = ResourceNames.productBiddingCategoryConstant(10987417, 21974834, 43949668)
|
|
1468
1488
|
*/
|
|
1469
1489
|
function productBiddingCategoryConstant(countryCode, level, id) {
|
|
1470
|
-
return
|
|
1490
|
+
return `productBiddingCategoryConstants/${countryCode}~${level}~${id}`;
|
|
1471
1491
|
}
|
|
1472
1492
|
exports.productBiddingCategoryConstant = productBiddingCategoryConstant;
|
|
1473
1493
|
/**
|
|
@@ -1478,7 +1498,7 @@ exports.productBiddingCategoryConstant = productBiddingCategoryConstant;
|
|
|
1478
1498
|
* @example const productGroupView: ResourceNames.ProductGroupViewResourceName = ResourceNames.productGroupView(10987417, 21974834, 43949668)
|
|
1479
1499
|
*/
|
|
1480
1500
|
function productGroupView(customerId, adgroupId, criterionId) {
|
|
1481
|
-
return
|
|
1501
|
+
return `customers/${customerId}/productGroupViews/${adgroupId}~${criterionId}`;
|
|
1482
1502
|
}
|
|
1483
1503
|
exports.productGroupView = productGroupView;
|
|
1484
1504
|
/**
|
|
@@ -1488,7 +1508,7 @@ exports.productGroupView = productGroupView;
|
|
|
1488
1508
|
* @example const recommendation: ResourceNames.RecommendationResourceName = ResourceNames.recommendation(10987417, 21974834)
|
|
1489
1509
|
*/
|
|
1490
1510
|
function recommendation(customerId, recommendationId) {
|
|
1491
|
-
return
|
|
1511
|
+
return `customers/${customerId}/recommendations/${recommendationId}`;
|
|
1492
1512
|
}
|
|
1493
1513
|
exports.recommendation = recommendation;
|
|
1494
1514
|
/**
|
|
@@ -1498,7 +1518,7 @@ exports.recommendation = recommendation;
|
|
|
1498
1518
|
* @example const remarketingAction: ResourceNames.RemarketingActionResourceName = ResourceNames.remarketingAction(10987417, 21974834)
|
|
1499
1519
|
*/
|
|
1500
1520
|
function remarketingAction(customerId, remarketingActionId) {
|
|
1501
|
-
return
|
|
1521
|
+
return `customers/${customerId}/remarketingActions/${remarketingActionId}`;
|
|
1502
1522
|
}
|
|
1503
1523
|
exports.remarketingAction = remarketingAction;
|
|
1504
1524
|
/**
|
|
@@ -1510,7 +1530,7 @@ exports.remarketingAction = remarketingAction;
|
|
|
1510
1530
|
* @example const searchTermView: ResourceNames.SearchTermViewResourceName = ResourceNames.searchTermView(10987417, 21974834, 43949668, 87899336)
|
|
1511
1531
|
*/
|
|
1512
1532
|
function searchTermView(customerId, campaignId, adGroupId, query) {
|
|
1513
|
-
return
|
|
1533
|
+
return `customers/${customerId}/searchTermViews/${campaignId}~${adGroupId}~${query}`;
|
|
1514
1534
|
}
|
|
1515
1535
|
exports.searchTermView = searchTermView;
|
|
1516
1536
|
/**
|
|
@@ -1521,7 +1541,7 @@ exports.searchTermView = searchTermView;
|
|
|
1521
1541
|
* @example const sharedCriterion: ResourceNames.SharedCriterionResourceName = ResourceNames.sharedCriterion(10987417, 21974834, 43949668)
|
|
1522
1542
|
*/
|
|
1523
1543
|
function sharedCriterion(customerId, sharedSetId, criterionId) {
|
|
1524
|
-
return
|
|
1544
|
+
return `customers/${customerId}/sharedCriteria/${sharedSetId}~${criterionId}`;
|
|
1525
1545
|
}
|
|
1526
1546
|
exports.sharedCriterion = sharedCriterion;
|
|
1527
1547
|
/**
|
|
@@ -1531,7 +1551,7 @@ exports.sharedCriterion = sharedCriterion;
|
|
|
1531
1551
|
* @example const sharedSet: ResourceNames.SharedSetResourceName = ResourceNames.sharedSet(10987417, 21974834)
|
|
1532
1552
|
*/
|
|
1533
1553
|
function sharedSet(customerId, sharedSetId) {
|
|
1534
|
-
return
|
|
1554
|
+
return `customers/${customerId}/sharedSets/${sharedSetId}`;
|
|
1535
1555
|
}
|
|
1536
1556
|
exports.sharedSet = sharedSet;
|
|
1537
1557
|
/**
|
|
@@ -1540,7 +1560,7 @@ exports.sharedSet = sharedSet;
|
|
|
1540
1560
|
* @example const shoppingPerformanceView: ResourceNames.ShoppingPerformanceViewResourceName = ResourceNames.shoppingPerformanceView(10987417)
|
|
1541
1561
|
*/
|
|
1542
1562
|
function shoppingPerformanceView(customerId) {
|
|
1543
|
-
return
|
|
1563
|
+
return `customers/${customerId}/shoppingPerformanceView`;
|
|
1544
1564
|
}
|
|
1545
1565
|
exports.shoppingPerformanceView = shoppingPerformanceView;
|
|
1546
1566
|
/**
|
|
@@ -1551,7 +1571,7 @@ exports.shoppingPerformanceView = shoppingPerformanceView;
|
|
|
1551
1571
|
* @example const smartCampaignSearchTermView: ResourceNames.SmartCampaignSearchTermViewResourceName = ResourceNames.smartCampaignSearchTermView(10987417, 21974834, 43949668)
|
|
1552
1572
|
*/
|
|
1553
1573
|
function smartCampaignSearchTermView(customerId, campaignId, query) {
|
|
1554
|
-
return
|
|
1574
|
+
return `customers/${customerId}/smartCampaignSearchTermViews/${campaignId}~${query}`;
|
|
1555
1575
|
}
|
|
1556
1576
|
exports.smartCampaignSearchTermView = smartCampaignSearchTermView;
|
|
1557
1577
|
/**
|
|
@@ -1561,7 +1581,7 @@ exports.smartCampaignSearchTermView = smartCampaignSearchTermView;
|
|
|
1561
1581
|
* @example const smartCampaignSetting: ResourceNames.SmartCampaignSettingResourceName = ResourceNames.smartCampaignSetting(10987417, 21974834)
|
|
1562
1582
|
*/
|
|
1563
1583
|
function smartCampaignSetting(customerId, campaignId) {
|
|
1564
|
-
return
|
|
1584
|
+
return `customers/${customerId}/smartCampaignSettings/${campaignId}`;
|
|
1565
1585
|
}
|
|
1566
1586
|
exports.smartCampaignSetting = smartCampaignSetting;
|
|
1567
1587
|
/**
|
|
@@ -1571,7 +1591,7 @@ exports.smartCampaignSetting = smartCampaignSetting;
|
|
|
1571
1591
|
* @example const thirdPartyAppAnalyticsLink: ResourceNames.ThirdPartyAppAnalyticsLinkResourceName = ResourceNames.thirdPartyAppAnalyticsLink(10987417, 21974834)
|
|
1572
1592
|
*/
|
|
1573
1593
|
function thirdPartyAppAnalyticsLink(customerId, customerLinkId) {
|
|
1574
|
-
return
|
|
1594
|
+
return `customers/${customerId}/thirdPartyAppAnalyticsLinks/${customerLinkId}`;
|
|
1575
1595
|
}
|
|
1576
1596
|
exports.thirdPartyAppAnalyticsLink = thirdPartyAppAnalyticsLink;
|
|
1577
1597
|
/**
|
|
@@ -1580,7 +1600,7 @@ exports.thirdPartyAppAnalyticsLink = thirdPartyAppAnalyticsLink;
|
|
|
1580
1600
|
* @example const topicConstant: ResourceNames.TopicConstantResourceName = ResourceNames.topicConstant(10987417)
|
|
1581
1601
|
*/
|
|
1582
1602
|
function topicConstant(topicId) {
|
|
1583
|
-
return
|
|
1603
|
+
return `topicConstants/${topicId}`;
|
|
1584
1604
|
}
|
|
1585
1605
|
exports.topicConstant = topicConstant;
|
|
1586
1606
|
/**
|
|
@@ -1591,7 +1611,7 @@ exports.topicConstant = topicConstant;
|
|
|
1591
1611
|
* @example const topicView: ResourceNames.TopicViewResourceName = ResourceNames.topicView(10987417, 21974834, 43949668)
|
|
1592
1612
|
*/
|
|
1593
1613
|
function topicView(customerId, adGroupId, criterionId) {
|
|
1594
|
-
return
|
|
1614
|
+
return `customers/${customerId}/topicViews/${adGroupId}~${criterionId}`;
|
|
1595
1615
|
}
|
|
1596
1616
|
exports.topicView = topicView;
|
|
1597
1617
|
/**
|
|
@@ -1601,7 +1621,7 @@ exports.topicView = topicView;
|
|
|
1601
1621
|
* @example const userInterest: ResourceNames.UserInterestResourceName = ResourceNames.userInterest(10987417, 21974834)
|
|
1602
1622
|
*/
|
|
1603
1623
|
function userInterest(customerId, userInterestId) {
|
|
1604
|
-
return
|
|
1624
|
+
return `customers/${customerId}/userInterests/${userInterestId}`;
|
|
1605
1625
|
}
|
|
1606
1626
|
exports.userInterest = userInterest;
|
|
1607
1627
|
/**
|
|
@@ -1611,7 +1631,7 @@ exports.userInterest = userInterest;
|
|
|
1611
1631
|
* @example const userList: ResourceNames.UserListResourceName = ResourceNames.userList(10987417, 21974834)
|
|
1612
1632
|
*/
|
|
1613
1633
|
function userList(customerId, userListId) {
|
|
1614
|
-
return
|
|
1634
|
+
return `customers/${customerId}/userLists/${userListId}`;
|
|
1615
1635
|
}
|
|
1616
1636
|
exports.userList = userList;
|
|
1617
1637
|
/**
|
|
@@ -1622,7 +1642,7 @@ exports.userList = userList;
|
|
|
1622
1642
|
* @example const userLocationView: ResourceNames.UserLocationViewResourceName = ResourceNames.userLocationView(10987417, 21974834, 43949668)
|
|
1623
1643
|
*/
|
|
1624
1644
|
function userLocationView(customerId, countryCriterionId, isTargetingLocation) {
|
|
1625
|
-
return
|
|
1645
|
+
return `customers/${customerId}/userLocationViews/${countryCriterionId}~${isTargetingLocation}`;
|
|
1626
1646
|
}
|
|
1627
1647
|
exports.userLocationView = userLocationView;
|
|
1628
1648
|
/**
|
|
@@ -1632,7 +1652,7 @@ exports.userLocationView = userLocationView;
|
|
|
1632
1652
|
* @example const video: ResourceNames.VideoResourceName = ResourceNames.video(10987417, 21974834)
|
|
1633
1653
|
*/
|
|
1634
1654
|
function video(customerId, videoId) {
|
|
1635
|
-
return
|
|
1655
|
+
return `customers/${customerId}/videos/${videoId}`;
|
|
1636
1656
|
}
|
|
1637
1657
|
exports.video = video;
|
|
1638
1658
|
/**
|
|
@@ -1643,6 +1663,6 @@ exports.video = video;
|
|
|
1643
1663
|
* @example const webpageView: ResourceNames.WebpageViewResourceName = ResourceNames.webpageView(10987417, 21974834, 43949668)
|
|
1644
1664
|
*/
|
|
1645
1665
|
function webpageView(customerId, adGroupId, criterionId) {
|
|
1646
|
-
return
|
|
1666
|
+
return `customers/${customerId}/webpageViews/${adGroupId}~${criterionId}`;
|
|
1647
1667
|
}
|
|
1648
1668
|
exports.webpageView = webpageView;
|