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