google-ads-api 14.2.0 → 16.0.0-rest-beta0
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 +2 -2
- package/build/src/client.d.ts +1 -0
- package/build/src/customer.d.ts +21 -0
- package/build/src/customer.js +208 -71
- package/build/src/parserRest.d.ts +4 -0
- package/build/src/parserRest.js +88 -0
- package/build/src/protos/autogen/enums.d.ts +834 -368
- package/build/src/protos/autogen/enums.js +873 -374
- package/build/src/protos/autogen/fields.d.ts +244 -170
- package/build/src/protos/autogen/fields.js +58 -8
- package/build/src/protos/autogen/resourceNames.d.ts +118 -14
- package/build/src/protos/autogen/resourceNames.js +149 -21
- package/build/src/protos/autogen/serviceFactory.d.ts +225 -178
- package/build/src/protos/autogen/serviceFactory.js +748 -279
- package/build/src/protos/index.d.ts +7 -7
- package/build/src/protos/index.js +7 -6
- package/build/src/service.d.ts +1 -0
- package/build/src/service.js +23 -0
- package/build/src/testUtils.d.ts +39 -0
- package/build/src/testUtils.js +74 -3
- package/build/src/utils.d.ts +0 -5
- package/build/src/utils.js +1 -16
- package/build/src/version.d.ts +1 -1
- package/build/src/version.js +17 -1
- package/package.json +15 -5
|
@@ -243,6 +243,39 @@ export declare type AgeRangeViewResourceName = `customers/${StrNum}/ageRangeView
|
|
|
243
243
|
* @example const ageRangeView: ResourceNames.AgeRangeViewResourceName = ResourceNames.ageRangeView(10987417, 21974834, 43949668)
|
|
244
244
|
*/
|
|
245
245
|
export declare function ageRangeView(customerId: string | number, adGroupId: string | number, criterionId: string | number): AgeRangeViewResourceName;
|
|
246
|
+
export declare type AndroidPrivacySharedKeyGoogleAdGroupResourceName = `customers/${StrNum}/androidPrivacySharedKeyGoogleAdGroups/${StrNum}~${StrNum}~${StrNum}~${StrNum}~${StrNum}`;
|
|
247
|
+
/**
|
|
248
|
+
* @param {string | number} customerId
|
|
249
|
+
* @param {string | number} campaignId
|
|
250
|
+
* @param {string | number} adGroupId
|
|
251
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
252
|
+
* @param {string | number} androidPrivacyNetworkType
|
|
253
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
254
|
+
* @returns `AndroidPrivacySharedKeyGoogleAdGroupResourceName`
|
|
255
|
+
* @example const androidPrivacySharedKeyGoogleAdGroup: ResourceNames.AndroidPrivacySharedKeyGoogleAdGroupResourceName = ResourceNames.androidPrivacySharedKeyGoogleAdGroup(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
256
|
+
*/
|
|
257
|
+
export declare function androidPrivacySharedKeyGoogleAdGroup(customerId: string | number, campaignId: string | number, adGroupId: string | number, androidPrivacyInteractionType: string | number, androidPrivacyNetworkType: string | number, androidPrivacyInteractionDate: string | number): AndroidPrivacySharedKeyGoogleAdGroupResourceName;
|
|
258
|
+
export declare type AndroidPrivacySharedKeyGoogleCampaignResourceName = `customers/${StrNum}/androidPrivacySharedKeyGoogleCampaigns/${StrNum}~${StrNum}~${StrNum}`;
|
|
259
|
+
/**
|
|
260
|
+
* @param {string | number} customerId
|
|
261
|
+
* @param {string | number} campaignId
|
|
262
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
263
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
264
|
+
* @returns `AndroidPrivacySharedKeyGoogleCampaignResourceName`
|
|
265
|
+
* @example const androidPrivacySharedKeyGoogleCampaign: ResourceNames.AndroidPrivacySharedKeyGoogleCampaignResourceName = ResourceNames.androidPrivacySharedKeyGoogleCampaign(10987417, 21974834, 43949668, 87899336)
|
|
266
|
+
*/
|
|
267
|
+
export declare function androidPrivacySharedKeyGoogleCampaign(customerId: string | number, campaignId: string | number, androidPrivacyInteractionType: string | number, androidPrivacyInteractionDate: string | number): AndroidPrivacySharedKeyGoogleCampaignResourceName;
|
|
268
|
+
export declare type AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = `customers/${StrNum}/androidPrivacySharedKeyGoogleNetworkTypes/${StrNum}~${StrNum}~${StrNum}~${StrNum}`;
|
|
269
|
+
/**
|
|
270
|
+
* @param {string | number} customerId
|
|
271
|
+
* @param {string | number} campaignId
|
|
272
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
273
|
+
* @param {string | number} androidPrivacyNetworkType
|
|
274
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
275
|
+
* @returns `AndroidPrivacySharedKeyGoogleNetworkTypeResourceName`
|
|
276
|
+
* @example const androidPrivacySharedKeyGoogleNetworkType: ResourceNames.AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = ResourceNames.androidPrivacySharedKeyGoogleNetworkType(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
277
|
+
*/
|
|
278
|
+
export declare function androidPrivacySharedKeyGoogleNetworkType(customerId: string | number, campaignId: string | number, androidPrivacyInteractionType: string | number, androidPrivacyNetworkType: string | number, androidPrivacyInteractionDate: string | number): AndroidPrivacySharedKeyGoogleNetworkTypeResourceName;
|
|
246
279
|
export declare type AssetResourceName = `customers/${StrNum}/assets/${StrNum}`;
|
|
247
280
|
/**
|
|
248
281
|
* @param {string | number} customerId
|
|
@@ -304,6 +337,15 @@ export declare type AssetGroupSignalResourceName = `customers/${StrNum}/assetGro
|
|
|
304
337
|
* @example const assetGroupSignal: ResourceNames.AssetGroupSignalResourceName = ResourceNames.assetGroupSignal(10987417, 21974834, 43949668)
|
|
305
338
|
*/
|
|
306
339
|
export declare function assetGroupSignal(customerId: string | number, assetGroupId: string | number, criterionId: string | number): AssetGroupSignalResourceName;
|
|
340
|
+
export declare type AssetGroupTopCombinationViewResourceName = `customers/${StrNum}/assetGroupTopCombinationViews/${StrNum}~${StrNum}`;
|
|
341
|
+
/**
|
|
342
|
+
* @param {string | number} customerId
|
|
343
|
+
* @param {string | number} assetGroupId
|
|
344
|
+
* @param {string | number} assetCombinationCategory
|
|
345
|
+
* @returns `AssetGroupTopCombinationViewResourceName`
|
|
346
|
+
* @example const assetGroupTopCombinationView: ResourceNames.AssetGroupTopCombinationViewResourceName = ResourceNames.assetGroupTopCombinationView(10987417, 21974834, 43949668)
|
|
347
|
+
*/
|
|
348
|
+
export declare function assetGroupTopCombinationView(customerId: string | number, assetGroupId: string | number, assetCombinationCategory: string | number): AssetGroupTopCombinationViewResourceName;
|
|
307
349
|
export declare type AssetSetResourceName = `customers/${StrNum}/assetSets/${StrNum}`;
|
|
308
350
|
/**
|
|
309
351
|
* @param {string | number} customerId
|
|
@@ -522,6 +564,14 @@ export declare type CampaignLabelResourceName = `customers/${StrNum}/campaignLab
|
|
|
522
564
|
* @example const campaignLabel: ResourceNames.CampaignLabelResourceName = ResourceNames.campaignLabel(10987417, 21974834, 43949668)
|
|
523
565
|
*/
|
|
524
566
|
export declare function campaignLabel(customerId: string | number, campaignId: string | number, labelId: string | number): CampaignLabelResourceName;
|
|
567
|
+
export declare type CampaignLifecycleGoalResourceName = `customers/${StrNum}/campaignLifecycleGoals/${StrNum}`;
|
|
568
|
+
/**
|
|
569
|
+
* @param {string | number} customerId
|
|
570
|
+
* @param {string | number} campaignId
|
|
571
|
+
* @returns `CampaignLifecycleGoalResourceName`
|
|
572
|
+
* @example const campaignLifecycleGoal: ResourceNames.CampaignLifecycleGoalResourceName = ResourceNames.campaignLifecycleGoal(10987417, 21974834)
|
|
573
|
+
*/
|
|
574
|
+
export declare function campaignLifecycleGoal(customerId: string | number, campaignId: string | number): CampaignLifecycleGoalResourceName;
|
|
525
575
|
export declare type CampaignSearchTermInsightResourceName = `customers/${StrNum}/campaignSearchTermInsights/${StrNum}~${StrNum}`;
|
|
526
576
|
/**
|
|
527
577
|
* @param {string | number} customerId
|
|
@@ -747,6 +797,13 @@ export declare type CustomerLabelResourceName = `customers/${StrNum}/customerLab
|
|
|
747
797
|
* @example const customerLabel: ResourceNames.CustomerLabelResourceName = ResourceNames.customerLabel(10987417, 21974834)
|
|
748
798
|
*/
|
|
749
799
|
export declare function customerLabel(customerId: string | number, labelId: string | number): CustomerLabelResourceName;
|
|
800
|
+
export declare type CustomerLifecycleGoalResourceName = `customers/${StrNum}/customerLifecycleGoals`;
|
|
801
|
+
/**
|
|
802
|
+
* @param {string | number} customerId
|
|
803
|
+
* @returns `CustomerLifecycleGoalResourceName`
|
|
804
|
+
* @example const customerLifecycleGoal: ResourceNames.CustomerLifecycleGoalResourceName = ResourceNames.customerLifecycleGoal(10987417)
|
|
805
|
+
*/
|
|
806
|
+
export declare function customerLifecycleGoal(customerId: string | number): CustomerLifecycleGoalResourceName;
|
|
750
807
|
export declare type CustomerManagerLinkResourceName = `customers/${StrNum}/customerManagerLinks/${StrNum}~${StrNum}`;
|
|
751
808
|
/**
|
|
752
809
|
* @param {string | number} customerId
|
|
@@ -1136,6 +1193,38 @@ export declare type LifeEventResourceName = `customers/${StrNum}/lifeEvents/${St
|
|
|
1136
1193
|
* @example const lifeEvent: ResourceNames.LifeEventResourceName = ResourceNames.lifeEvent(10987417, 21974834)
|
|
1137
1194
|
*/
|
|
1138
1195
|
export declare function lifeEvent(customerId: string | number, lifeEventId: string | number): LifeEventResourceName;
|
|
1196
|
+
export declare type LocalServicesEmployeeResourceName = `customers/${StrNum}/localServicesEmployees/${StrNum}`;
|
|
1197
|
+
/**
|
|
1198
|
+
* @param {string | number} customerId
|
|
1199
|
+
* @param {string | number} glsEmployeeId
|
|
1200
|
+
* @returns `LocalServicesEmployeeResourceName`
|
|
1201
|
+
* @example const localServicesEmployee: ResourceNames.LocalServicesEmployeeResourceName = ResourceNames.localServicesEmployee(10987417, 21974834)
|
|
1202
|
+
*/
|
|
1203
|
+
export declare function localServicesEmployee(customerId: string | number, glsEmployeeId: string | number): LocalServicesEmployeeResourceName;
|
|
1204
|
+
export declare type LocalServicesLeadResourceName = `customers/${StrNum}/localServicesLeads/${StrNum}`;
|
|
1205
|
+
/**
|
|
1206
|
+
* @param {string | number} customerId
|
|
1207
|
+
* @param {string | number} localServicesLeadId
|
|
1208
|
+
* @returns `LocalServicesLeadResourceName`
|
|
1209
|
+
* @example const localServicesLead: ResourceNames.LocalServicesLeadResourceName = ResourceNames.localServicesLead(10987417, 21974834)
|
|
1210
|
+
*/
|
|
1211
|
+
export declare function localServicesLead(customerId: string | number, localServicesLeadId: string | number): LocalServicesLeadResourceName;
|
|
1212
|
+
export declare type LocalServicesLeadConversationResourceName = `customers/${StrNum}/localServicesLeadConversations/${StrNum}`;
|
|
1213
|
+
/**
|
|
1214
|
+
* @param {string | number} customerId
|
|
1215
|
+
* @param {string | number} localServicesLeadConversationId
|
|
1216
|
+
* @returns `LocalServicesLeadConversationResourceName`
|
|
1217
|
+
* @example const localServicesLeadConversation: ResourceNames.LocalServicesLeadConversationResourceName = ResourceNames.localServicesLeadConversation(10987417, 21974834)
|
|
1218
|
+
*/
|
|
1219
|
+
export declare function localServicesLeadConversation(customerId: string | number, localServicesLeadConversationId: string | number): LocalServicesLeadConversationResourceName;
|
|
1220
|
+
export declare type LocalServicesVerificationArtifactResourceName = `customers/${StrNum}/localServicesVerificationArtifacts/${StrNum}`;
|
|
1221
|
+
/**
|
|
1222
|
+
* @param {string | number} customerId
|
|
1223
|
+
* @param {string | number} glsVerificationArtifactId
|
|
1224
|
+
* @returns `LocalServicesVerificationArtifactResourceName`
|
|
1225
|
+
* @example const localServicesVerificationArtifact: ResourceNames.LocalServicesVerificationArtifactResourceName = ResourceNames.localServicesVerificationArtifact(10987417, 21974834)
|
|
1226
|
+
*/
|
|
1227
|
+
export declare function localServicesVerificationArtifact(customerId: string | number, glsVerificationArtifactId: string | number): LocalServicesVerificationArtifactResourceName;
|
|
1139
1228
|
export declare type LocationViewResourceName = `customers/${StrNum}/locationViews/${StrNum}~${StrNum}`;
|
|
1140
1229
|
/**
|
|
1141
1230
|
* @param {string | number} customerId
|
|
@@ -1162,14 +1251,6 @@ export declare type MediaFileResourceName = `customers/${StrNum}/mediaFiles/${St
|
|
|
1162
1251
|
* @example const mediaFile: ResourceNames.MediaFileResourceName = ResourceNames.mediaFile(10987417, 21974834)
|
|
1163
1252
|
*/
|
|
1164
1253
|
export declare function mediaFile(customerId: string | number, mediaFileId: string | number): MediaFileResourceName;
|
|
1165
|
-
export declare type MerchantCenterLinkResourceName = `customers/${StrNum}/merchantCenterLinks/${StrNum}`;
|
|
1166
|
-
/**
|
|
1167
|
-
* @param {string | number} customerId
|
|
1168
|
-
* @param {string | number} merchantCenterId
|
|
1169
|
-
* @returns `MerchantCenterLinkResourceName`
|
|
1170
|
-
* @example const merchantCenterLink: ResourceNames.MerchantCenterLinkResourceName = ResourceNames.merchantCenterLink(10987417, 21974834)
|
|
1171
|
-
*/
|
|
1172
|
-
export declare function merchantCenterLink(customerId: string | number, merchantCenterId: string | number): MerchantCenterLinkResourceName;
|
|
1173
1254
|
export declare type MobileAppCategoryConstantResourceName = `mobileAppCategoryConstants/${StrNum}`;
|
|
1174
1255
|
/**
|
|
1175
1256
|
* @param {string | number} mobileAppCategoryId
|
|
@@ -1184,6 +1265,14 @@ export declare type MobileDeviceConstantResourceName = `mobileDeviceConstants/${
|
|
|
1184
1265
|
* @example const mobileDeviceConstant: ResourceNames.MobileDeviceConstantResourceName = ResourceNames.mobileDeviceConstant(10987417)
|
|
1185
1266
|
*/
|
|
1186
1267
|
export declare function mobileDeviceConstant(criterionId: string | number): MobileDeviceConstantResourceName;
|
|
1268
|
+
export declare type OfflineConversionUploadClientSummaryResourceName = `customers/${StrNum}/offlineConversionUploadClientSummaries/${StrNum}`;
|
|
1269
|
+
/**
|
|
1270
|
+
* @param {string | number} customerId
|
|
1271
|
+
* @param {string | number} client
|
|
1272
|
+
* @returns `OfflineConversionUploadClientSummaryResourceName`
|
|
1273
|
+
* @example const offlineConversionUploadClientSummary: ResourceNames.OfflineConversionUploadClientSummaryResourceName = ResourceNames.offlineConversionUploadClientSummary(10987417, 21974834)
|
|
1274
|
+
*/
|
|
1275
|
+
export declare function offlineConversionUploadClientSummary(customerId: string | number, client: string | number): OfflineConversionUploadClientSummaryResourceName;
|
|
1187
1276
|
export declare type OfflineUserDataJobResourceName = `customers/${StrNum}/offlineUserDataJobs/${StrNum}`;
|
|
1188
1277
|
/**
|
|
1189
1278
|
* @param {string | number} customerId
|
|
@@ -1234,15 +1323,14 @@ export declare type PerStoreViewResourceName = `customers/${StrNum}/perStoreView
|
|
|
1234
1323
|
* @example const perStoreView: ResourceNames.PerStoreViewResourceName = ResourceNames.perStoreView(10987417, 21974834)
|
|
1235
1324
|
*/
|
|
1236
1325
|
export declare function perStoreView(customerId: string | number, placeId: string | number): PerStoreViewResourceName;
|
|
1237
|
-
export declare type
|
|
1326
|
+
export declare type ProductCategoryConstantResourceName = `productCategoryConstants/${StrNum}~${StrNum}`;
|
|
1238
1327
|
/**
|
|
1239
|
-
* @param {string | number} countryCode
|
|
1240
1328
|
* @param {string | number} level
|
|
1241
|
-
* @param {string | number}
|
|
1242
|
-
* @returns `
|
|
1243
|
-
* @example const
|
|
1329
|
+
* @param {string | number} categoryId
|
|
1330
|
+
* @returns `ProductCategoryConstantResourceName`
|
|
1331
|
+
* @example const productCategoryConstant: ResourceNames.ProductCategoryConstantResourceName = ResourceNames.productCategoryConstant(10987417, 21974834)
|
|
1244
1332
|
*/
|
|
1245
|
-
export declare function
|
|
1333
|
+
export declare function productCategoryConstant(level: string | number, categoryId: string | number): ProductCategoryConstantResourceName;
|
|
1246
1334
|
export declare type ProductGroupViewResourceName = `customers/${StrNum}/productGroupViews/${StrNum}~${StrNum}`;
|
|
1247
1335
|
/**
|
|
1248
1336
|
* @param {string | number} customerId
|
|
@@ -1260,6 +1348,14 @@ export declare type ProductLinkResourceName = `customers/${StrNum}/productLinks/
|
|
|
1260
1348
|
* @example const productLink: ResourceNames.ProductLinkResourceName = ResourceNames.productLink(10987417, 21974834)
|
|
1261
1349
|
*/
|
|
1262
1350
|
export declare function productLink(customerId: string | number, productLinkId: string | number): ProductLinkResourceName;
|
|
1351
|
+
export declare type ProductLinkInvitationResourceName = `customers/${StrNum}/productLinkInvitations/${StrNum}`;
|
|
1352
|
+
/**
|
|
1353
|
+
* @param {string | number} customerId
|
|
1354
|
+
* @param {string | number} customerInvitationId
|
|
1355
|
+
* @returns `ProductLinkInvitationResourceName`
|
|
1356
|
+
* @example const productLinkInvitation: ResourceNames.ProductLinkInvitationResourceName = ResourceNames.productLinkInvitation(10987417, 21974834)
|
|
1357
|
+
*/
|
|
1358
|
+
export declare function productLinkInvitation(customerId: string | number, customerInvitationId: string | number): ProductLinkInvitationResourceName;
|
|
1263
1359
|
export declare type QualifyingQuestionResourceName = `qualifyingQuestions/${StrNum}`;
|
|
1264
1360
|
/**
|
|
1265
1361
|
* @param {string | number} qualifyingQuestionId
|
|
@@ -1275,6 +1371,14 @@ export declare type RecommendationResourceName = `customers/${StrNum}/recommenda
|
|
|
1275
1371
|
* @example const recommendation: ResourceNames.RecommendationResourceName = ResourceNames.recommendation(10987417, 21974834)
|
|
1276
1372
|
*/
|
|
1277
1373
|
export declare function recommendation(customerId: string | number, recommendationId: string | number): RecommendationResourceName;
|
|
1374
|
+
export declare type RecommendationSubscriptionResourceName = `customers/${StrNum}/recommendationSubscriptions/${StrNum}`;
|
|
1375
|
+
/**
|
|
1376
|
+
* @param {string | number} customerId
|
|
1377
|
+
* @param {string | number} recommendationType
|
|
1378
|
+
* @returns `RecommendationSubscriptionResourceName`
|
|
1379
|
+
* @example const recommendationSubscription: ResourceNames.RecommendationSubscriptionResourceName = ResourceNames.recommendationSubscription(10987417, 21974834)
|
|
1380
|
+
*/
|
|
1381
|
+
export declare function recommendationSubscription(customerId: string | number, recommendationType: string | number): RecommendationSubscriptionResourceName;
|
|
1278
1382
|
export declare type RemarketingActionResourceName = `customers/${StrNum}/remarketingActions/${StrNum}`;
|
|
1279
1383
|
/**
|
|
1280
1384
|
* @param {string | number} customerId
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* Autogenerated File! Do Not Edit */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.webpageView = exports.video = exports.userLocationView = exports.userList = exports.userInterest = exports.travelActivityPerformanceView = exports.travelActivityGroupView = exports.topicView = exports.topicConstant = exports.thirdPartyAppAnalyticsLink = exports.smartCampaignSetting = exports.smartCampaignSearchTermView = exports.shoppingPerformanceView = exports.sharedSet = exports.sharedCriterion = void 0;
|
|
4
|
+
exports.campaignAsset = exports.campaign = exports.callView = exports.billingSetup = exports.biddingStrategySimulation = exports.biddingStrategy = exports.biddingSeasonalityAdjustment = exports.biddingDataExclusion = exports.batchJob = exports.audience = exports.assetSetTypeView = exports.assetSetAsset = exports.assetSet = exports.assetGroupTopCombinationView = exports.assetGroupSignal = exports.assetGroupProductGroupView = exports.assetGroupListingGroupFilter = exports.assetGroupAsset = exports.assetGroup = exports.assetFieldTypeView = exports.asset = exports.androidPrivacySharedKeyGoogleNetworkType = exports.androidPrivacySharedKeyGoogleCampaign = exports.androidPrivacySharedKeyGoogleAdGroup = exports.ageRangeView = exports.adScheduleView = exports.adParameter = exports.adGroupSimulation = exports.adGroupLabel = exports.adGroupFeed = exports.adGroupExtensionSetting = exports.adGroupCustomizer = exports.adGroupCriterionSimulation = exports.adGroupCriterionLabel = exports.adGroupCriterionCustomizer = exports.adGroupCriterion = exports.adGroupBidModifier = exports.adGroupAudienceView = exports.adGroupAssetSet = exports.adGroupAsset = exports.adGroupAdLabel = exports.adGroupAdAssetView = exports.adGroupAdAssetCombinationView = exports.adGroupAd = exports.adGroup = exports.ad = exports.accountLink = exports.accountBudgetProposal = exports.accountBudget = exports.accessibleBiddingStrategy = void 0;
|
|
5
|
+
exports.detailedDemographic = exports.detailPlacementView = exports.customizerAttribute = exports.customerUserAccessInvitation = exports.customerUserAccess = exports.customerSkAdNetworkConversionValueSchema = exports.customerSearchTermInsight = exports.customerNegativeCriterion = exports.customerManagerLink = exports.customerLifecycleGoal = exports.customerLabel = exports.customerFeed = exports.customerExtensionSetting = exports.customerCustomizer = exports.customerConversionGoal = exports.customerClientLink = exports.customerClient = exports.customerAssetSet = exports.customerAsset = exports.customer = exports.customInterest = exports.customConversionGoal = exports.customAudience = exports.currencyConstant = exports.conversionValueRuleSet = exports.conversionValueRule = exports.conversionGoalCampaignConfig = exports.conversionCustomVariable = exports.conversionAction = exports.combinedAudience = exports.clickView = exports.changeStatus = exports.changeEvent = exports.carrierConstant = exports.campaignSimulation = exports.campaignSharedSet = exports.campaignSearchTermInsight = exports.campaignLifecycleGoal = exports.campaignLabel = exports.campaignGroup = exports.campaignFeed = exports.campaignExtensionSetting = exports.campaignDraft = exports.campaignCustomizer = exports.campaignCriterion = exports.campaignConversionGoal = exports.campaignBudget = exports.campaignBidModifier = exports.campaignAudienceView = exports.campaignAssetSet = void 0;
|
|
6
|
+
exports.paidOrganicSearchTermView = exports.operatingSystemVersionConstant = exports.offlineUserDataJob = exports.offlineConversionUploadClientSummary = exports.mobileDeviceConstant = exports.mobileAppCategoryConstant = exports.mediaFile = exports.managedPlacementView = exports.locationView = exports.localServicesVerificationArtifact = exports.localServicesLeadConversation = exports.localServicesLead = exports.localServicesEmployee = exports.lifeEvent = exports.leadFormSubmissionData = exports.languageConstant = exports.landingPageView = exports.label = exports.keywordView = exports.keywordThemeConstant = exports.keywordPlanCampaignKeyword = exports.keywordPlanCampaign = exports.keywordPlanAdGroupKeyword = exports.keywordPlanAdGroup = exports.keywordPlan = exports.invoice = exports.incomeRangeView = exports.hotelReconciliation = exports.hotelPerformanceView = exports.hotelGroupView = exports.groupPlacementView = exports.googleAdsField = exports.geographicView = exports.geoTargetConstant = exports.genderView = exports.feedPlaceholderView = exports.feedMapping = exports.feedItemTarget = exports.feedItemSetLink = exports.feedItemSet = exports.feedItem = exports.feed = exports.extensionFeedItem = exports.experimentArm = exports.experiment = exports.expandedLandingPageView = exports.dynamicSearchAdsSearchTermView = exports.domainCategory = exports.distanceView = exports.displayKeywordView = void 0;
|
|
7
|
+
exports.webpageView = exports.video = exports.userLocationView = exports.userList = exports.userInterest = exports.travelActivityPerformanceView = exports.travelActivityGroupView = exports.topicView = exports.topicConstant = exports.thirdPartyAppAnalyticsLink = exports.smartCampaignSetting = exports.smartCampaignSearchTermView = exports.shoppingPerformanceView = exports.sharedSet = exports.sharedCriterion = exports.searchTermView = exports.remarketingAction = exports.recommendationSubscription = exports.recommendation = exports.qualifyingQuestion = exports.productLinkInvitation = exports.productLink = exports.productGroupView = exports.productCategoryConstant = exports.perStoreView = exports.paymentsAccount = exports.parentalStatusView = void 0;
|
|
8
8
|
/**
|
|
9
9
|
* @param {string | number} customerId
|
|
10
10
|
* @param {string | number} biddingStrategyId
|
|
@@ -301,6 +301,45 @@ function ageRangeView(customerId, adGroupId, criterionId) {
|
|
|
301
301
|
return `customers/${customerId}/ageRangeViews/${adGroupId}~${criterionId}`;
|
|
302
302
|
}
|
|
303
303
|
exports.ageRangeView = ageRangeView;
|
|
304
|
+
/**
|
|
305
|
+
* @param {string | number} customerId
|
|
306
|
+
* @param {string | number} campaignId
|
|
307
|
+
* @param {string | number} adGroupId
|
|
308
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
309
|
+
* @param {string | number} androidPrivacyNetworkType
|
|
310
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
311
|
+
* @returns `AndroidPrivacySharedKeyGoogleAdGroupResourceName`
|
|
312
|
+
* @example const androidPrivacySharedKeyGoogleAdGroup: ResourceNames.AndroidPrivacySharedKeyGoogleAdGroupResourceName = ResourceNames.androidPrivacySharedKeyGoogleAdGroup(10987417, 21974834, 43949668, 87899336, 175798672, 351597344)
|
|
313
|
+
*/
|
|
314
|
+
function androidPrivacySharedKeyGoogleAdGroup(customerId, campaignId, adGroupId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
|
|
315
|
+
return `customers/${customerId}/androidPrivacySharedKeyGoogleAdGroups/${campaignId}~${adGroupId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
|
|
316
|
+
}
|
|
317
|
+
exports.androidPrivacySharedKeyGoogleAdGroup = androidPrivacySharedKeyGoogleAdGroup;
|
|
318
|
+
/**
|
|
319
|
+
* @param {string | number} customerId
|
|
320
|
+
* @param {string | number} campaignId
|
|
321
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
322
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
323
|
+
* @returns `AndroidPrivacySharedKeyGoogleCampaignResourceName`
|
|
324
|
+
* @example const androidPrivacySharedKeyGoogleCampaign: ResourceNames.AndroidPrivacySharedKeyGoogleCampaignResourceName = ResourceNames.androidPrivacySharedKeyGoogleCampaign(10987417, 21974834, 43949668, 87899336)
|
|
325
|
+
*/
|
|
326
|
+
function androidPrivacySharedKeyGoogleCampaign(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyInteractionDate) {
|
|
327
|
+
return `customers/${customerId}/androidPrivacySharedKeyGoogleCampaigns/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyInteractionDate}`;
|
|
328
|
+
}
|
|
329
|
+
exports.androidPrivacySharedKeyGoogleCampaign = androidPrivacySharedKeyGoogleCampaign;
|
|
330
|
+
/**
|
|
331
|
+
* @param {string | number} customerId
|
|
332
|
+
* @param {string | number} campaignId
|
|
333
|
+
* @param {string | number} androidPrivacyInteractionType
|
|
334
|
+
* @param {string | number} androidPrivacyNetworkType
|
|
335
|
+
* @param {string | number} androidPrivacyInteractionDate
|
|
336
|
+
* @returns `AndroidPrivacySharedKeyGoogleNetworkTypeResourceName`
|
|
337
|
+
* @example const androidPrivacySharedKeyGoogleNetworkType: ResourceNames.AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = ResourceNames.androidPrivacySharedKeyGoogleNetworkType(10987417, 21974834, 43949668, 87899336, 175798672)
|
|
338
|
+
*/
|
|
339
|
+
function androidPrivacySharedKeyGoogleNetworkType(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
|
|
340
|
+
return `customers/${customerId}/androidPrivacySharedKeyGoogleNetworkTypes/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
|
|
341
|
+
}
|
|
342
|
+
exports.androidPrivacySharedKeyGoogleNetworkType = androidPrivacySharedKeyGoogleNetworkType;
|
|
304
343
|
/**
|
|
305
344
|
* @param {string | number} customerId
|
|
306
345
|
* @param {string | number} assetId
|
|
@@ -376,6 +415,17 @@ function assetGroupSignal(customerId, assetGroupId, criterionId) {
|
|
|
376
415
|
return `customers/${customerId}/assetGroupSignals/${assetGroupId}~${criterionId}`;
|
|
377
416
|
}
|
|
378
417
|
exports.assetGroupSignal = assetGroupSignal;
|
|
418
|
+
/**
|
|
419
|
+
* @param {string | number} customerId
|
|
420
|
+
* @param {string | number} assetGroupId
|
|
421
|
+
* @param {string | number} assetCombinationCategory
|
|
422
|
+
* @returns `AssetGroupTopCombinationViewResourceName`
|
|
423
|
+
* @example const assetGroupTopCombinationView: ResourceNames.AssetGroupTopCombinationViewResourceName = ResourceNames.assetGroupTopCombinationView(10987417, 21974834, 43949668)
|
|
424
|
+
*/
|
|
425
|
+
function assetGroupTopCombinationView(customerId, assetGroupId, assetCombinationCategory) {
|
|
426
|
+
return `customers/${customerId}/assetGroupTopCombinationViews/${assetGroupId}~${assetCombinationCategory}`;
|
|
427
|
+
}
|
|
428
|
+
exports.assetGroupTopCombinationView = assetGroupTopCombinationView;
|
|
379
429
|
/**
|
|
380
430
|
* @param {string | number} customerId
|
|
381
431
|
* @param {string | number} assetSetId
|
|
@@ -644,6 +694,16 @@ function campaignLabel(customerId, campaignId, labelId) {
|
|
|
644
694
|
return `customers/${customerId}/campaignLabels/${campaignId}~${labelId}`;
|
|
645
695
|
}
|
|
646
696
|
exports.campaignLabel = campaignLabel;
|
|
697
|
+
/**
|
|
698
|
+
* @param {string | number} customerId
|
|
699
|
+
* @param {string | number} campaignId
|
|
700
|
+
* @returns `CampaignLifecycleGoalResourceName`
|
|
701
|
+
* @example const campaignLifecycleGoal: ResourceNames.CampaignLifecycleGoalResourceName = ResourceNames.campaignLifecycleGoal(10987417, 21974834)
|
|
702
|
+
*/
|
|
703
|
+
function campaignLifecycleGoal(customerId, campaignId) {
|
|
704
|
+
return `customers/${customerId}/campaignLifecycleGoals/${campaignId}`;
|
|
705
|
+
}
|
|
706
|
+
exports.campaignLifecycleGoal = campaignLifecycleGoal;
|
|
647
707
|
/**
|
|
648
708
|
* @param {string | number} customerId
|
|
649
709
|
* @param {string | number} campaignId
|
|
@@ -923,6 +983,15 @@ function customerLabel(customerId, labelId) {
|
|
|
923
983
|
return `customers/${customerId}/customerLabels/${labelId}`;
|
|
924
984
|
}
|
|
925
985
|
exports.customerLabel = customerLabel;
|
|
986
|
+
/**
|
|
987
|
+
* @param {string | number} customerId
|
|
988
|
+
* @returns `CustomerLifecycleGoalResourceName`
|
|
989
|
+
* @example const customerLifecycleGoal: ResourceNames.CustomerLifecycleGoalResourceName = ResourceNames.customerLifecycleGoal(10987417)
|
|
990
|
+
*/
|
|
991
|
+
function customerLifecycleGoal(customerId) {
|
|
992
|
+
return `customers/${customerId}/customerLifecycleGoals`;
|
|
993
|
+
}
|
|
994
|
+
exports.customerLifecycleGoal = customerLifecycleGoal;
|
|
926
995
|
/**
|
|
927
996
|
* @param {string | number} customerId
|
|
928
997
|
* @param {string | number} managerCustomerId
|
|
@@ -1404,6 +1473,46 @@ function lifeEvent(customerId, lifeEventId) {
|
|
|
1404
1473
|
return `customers/${customerId}/lifeEvents/${lifeEventId}`;
|
|
1405
1474
|
}
|
|
1406
1475
|
exports.lifeEvent = lifeEvent;
|
|
1476
|
+
/**
|
|
1477
|
+
* @param {string | number} customerId
|
|
1478
|
+
* @param {string | number} glsEmployeeId
|
|
1479
|
+
* @returns `LocalServicesEmployeeResourceName`
|
|
1480
|
+
* @example const localServicesEmployee: ResourceNames.LocalServicesEmployeeResourceName = ResourceNames.localServicesEmployee(10987417, 21974834)
|
|
1481
|
+
*/
|
|
1482
|
+
function localServicesEmployee(customerId, glsEmployeeId) {
|
|
1483
|
+
return `customers/${customerId}/localServicesEmployees/${glsEmployeeId}`;
|
|
1484
|
+
}
|
|
1485
|
+
exports.localServicesEmployee = localServicesEmployee;
|
|
1486
|
+
/**
|
|
1487
|
+
* @param {string | number} customerId
|
|
1488
|
+
* @param {string | number} localServicesLeadId
|
|
1489
|
+
* @returns `LocalServicesLeadResourceName`
|
|
1490
|
+
* @example const localServicesLead: ResourceNames.LocalServicesLeadResourceName = ResourceNames.localServicesLead(10987417, 21974834)
|
|
1491
|
+
*/
|
|
1492
|
+
function localServicesLead(customerId, localServicesLeadId) {
|
|
1493
|
+
return `customers/${customerId}/localServicesLeads/${localServicesLeadId}`;
|
|
1494
|
+
}
|
|
1495
|
+
exports.localServicesLead = localServicesLead;
|
|
1496
|
+
/**
|
|
1497
|
+
* @param {string | number} customerId
|
|
1498
|
+
* @param {string | number} localServicesLeadConversationId
|
|
1499
|
+
* @returns `LocalServicesLeadConversationResourceName`
|
|
1500
|
+
* @example const localServicesLeadConversation: ResourceNames.LocalServicesLeadConversationResourceName = ResourceNames.localServicesLeadConversation(10987417, 21974834)
|
|
1501
|
+
*/
|
|
1502
|
+
function localServicesLeadConversation(customerId, localServicesLeadConversationId) {
|
|
1503
|
+
return `customers/${customerId}/localServicesLeadConversations/${localServicesLeadConversationId}`;
|
|
1504
|
+
}
|
|
1505
|
+
exports.localServicesLeadConversation = localServicesLeadConversation;
|
|
1506
|
+
/**
|
|
1507
|
+
* @param {string | number} customerId
|
|
1508
|
+
* @param {string | number} glsVerificationArtifactId
|
|
1509
|
+
* @returns `LocalServicesVerificationArtifactResourceName`
|
|
1510
|
+
* @example const localServicesVerificationArtifact: ResourceNames.LocalServicesVerificationArtifactResourceName = ResourceNames.localServicesVerificationArtifact(10987417, 21974834)
|
|
1511
|
+
*/
|
|
1512
|
+
function localServicesVerificationArtifact(customerId, glsVerificationArtifactId) {
|
|
1513
|
+
return `customers/${customerId}/localServicesVerificationArtifacts/${glsVerificationArtifactId}`;
|
|
1514
|
+
}
|
|
1515
|
+
exports.localServicesVerificationArtifact = localServicesVerificationArtifact;
|
|
1407
1516
|
/**
|
|
1408
1517
|
* @param {string | number} customerId
|
|
1409
1518
|
* @param {string | number} campaignId
|
|
@@ -1436,16 +1545,6 @@ function mediaFile(customerId, mediaFileId) {
|
|
|
1436
1545
|
return `customers/${customerId}/mediaFiles/${mediaFileId}`;
|
|
1437
1546
|
}
|
|
1438
1547
|
exports.mediaFile = mediaFile;
|
|
1439
|
-
/**
|
|
1440
|
-
* @param {string | number} customerId
|
|
1441
|
-
* @param {string | number} merchantCenterId
|
|
1442
|
-
* @returns `MerchantCenterLinkResourceName`
|
|
1443
|
-
* @example const merchantCenterLink: ResourceNames.MerchantCenterLinkResourceName = ResourceNames.merchantCenterLink(10987417, 21974834)
|
|
1444
|
-
*/
|
|
1445
|
-
function merchantCenterLink(customerId, merchantCenterId) {
|
|
1446
|
-
return `customers/${customerId}/merchantCenterLinks/${merchantCenterId}`;
|
|
1447
|
-
}
|
|
1448
|
-
exports.merchantCenterLink = merchantCenterLink;
|
|
1449
1548
|
/**
|
|
1450
1549
|
* @param {string | number} mobileAppCategoryId
|
|
1451
1550
|
* @returns `MobileAppCategoryConstantResourceName`
|
|
@@ -1464,6 +1563,16 @@ function mobileDeviceConstant(criterionId) {
|
|
|
1464
1563
|
return `mobileDeviceConstants/${criterionId}`;
|
|
1465
1564
|
}
|
|
1466
1565
|
exports.mobileDeviceConstant = mobileDeviceConstant;
|
|
1566
|
+
/**
|
|
1567
|
+
* @param {string | number} customerId
|
|
1568
|
+
* @param {string | number} client
|
|
1569
|
+
* @returns `OfflineConversionUploadClientSummaryResourceName`
|
|
1570
|
+
* @example const offlineConversionUploadClientSummary: ResourceNames.OfflineConversionUploadClientSummaryResourceName = ResourceNames.offlineConversionUploadClientSummary(10987417, 21974834)
|
|
1571
|
+
*/
|
|
1572
|
+
function offlineConversionUploadClientSummary(customerId, client) {
|
|
1573
|
+
return `customers/${customerId}/offlineConversionUploadClientSummaries/${client}`;
|
|
1574
|
+
}
|
|
1575
|
+
exports.offlineConversionUploadClientSummary = offlineConversionUploadClientSummary;
|
|
1467
1576
|
/**
|
|
1468
1577
|
* @param {string | number} customerId
|
|
1469
1578
|
* @param {string | number} offlineUserDataUpdateId
|
|
@@ -1527,16 +1636,15 @@ function perStoreView(customerId, placeId) {
|
|
|
1527
1636
|
}
|
|
1528
1637
|
exports.perStoreView = perStoreView;
|
|
1529
1638
|
/**
|
|
1530
|
-
* @param {string | number} countryCode
|
|
1531
1639
|
* @param {string | number} level
|
|
1532
|
-
* @param {string | number}
|
|
1533
|
-
* @returns `
|
|
1534
|
-
* @example const
|
|
1640
|
+
* @param {string | number} categoryId
|
|
1641
|
+
* @returns `ProductCategoryConstantResourceName`
|
|
1642
|
+
* @example const productCategoryConstant: ResourceNames.ProductCategoryConstantResourceName = ResourceNames.productCategoryConstant(10987417, 21974834)
|
|
1535
1643
|
*/
|
|
1536
|
-
function
|
|
1537
|
-
return `
|
|
1644
|
+
function productCategoryConstant(level, categoryId) {
|
|
1645
|
+
return `productCategoryConstants/${level}~${categoryId}`;
|
|
1538
1646
|
}
|
|
1539
|
-
exports.
|
|
1647
|
+
exports.productCategoryConstant = productCategoryConstant;
|
|
1540
1648
|
/**
|
|
1541
1649
|
* @param {string | number} customerId
|
|
1542
1650
|
* @param {string | number} adgroupId
|
|
@@ -1558,6 +1666,16 @@ function productLink(customerId, productLinkId) {
|
|
|
1558
1666
|
return `customers/${customerId}/productLinks/${productLinkId}`;
|
|
1559
1667
|
}
|
|
1560
1668
|
exports.productLink = productLink;
|
|
1669
|
+
/**
|
|
1670
|
+
* @param {string | number} customerId
|
|
1671
|
+
* @param {string | number} customerInvitationId
|
|
1672
|
+
* @returns `ProductLinkInvitationResourceName`
|
|
1673
|
+
* @example const productLinkInvitation: ResourceNames.ProductLinkInvitationResourceName = ResourceNames.productLinkInvitation(10987417, 21974834)
|
|
1674
|
+
*/
|
|
1675
|
+
function productLinkInvitation(customerId, customerInvitationId) {
|
|
1676
|
+
return `customers/${customerId}/productLinkInvitations/${customerInvitationId}`;
|
|
1677
|
+
}
|
|
1678
|
+
exports.productLinkInvitation = productLinkInvitation;
|
|
1561
1679
|
/**
|
|
1562
1680
|
* @param {string | number} qualifyingQuestionId
|
|
1563
1681
|
* @returns `QualifyingQuestionResourceName`
|
|
@@ -1577,6 +1695,16 @@ function recommendation(customerId, recommendationId) {
|
|
|
1577
1695
|
return `customers/${customerId}/recommendations/${recommendationId}`;
|
|
1578
1696
|
}
|
|
1579
1697
|
exports.recommendation = recommendation;
|
|
1698
|
+
/**
|
|
1699
|
+
* @param {string | number} customerId
|
|
1700
|
+
* @param {string | number} recommendationType
|
|
1701
|
+
* @returns `RecommendationSubscriptionResourceName`
|
|
1702
|
+
* @example const recommendationSubscription: ResourceNames.RecommendationSubscriptionResourceName = ResourceNames.recommendationSubscription(10987417, 21974834)
|
|
1703
|
+
*/
|
|
1704
|
+
function recommendationSubscription(customerId, recommendationType) {
|
|
1705
|
+
return `customers/${customerId}/recommendationSubscriptions/${recommendationType}`;
|
|
1706
|
+
}
|
|
1707
|
+
exports.recommendationSubscription = recommendationSubscription;
|
|
1580
1708
|
/**
|
|
1581
1709
|
* @param {string | number} customerId
|
|
1582
1710
|
* @param {string | number} remarketingActionId
|