google-ads-api 22.0.0 → 23.0.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.
@@ -269,6 +269,14 @@ export type AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = `customers/${
269
269
  * @example const androidPrivacySharedKeyGoogleNetworkType: ResourceNames.AndroidPrivacySharedKeyGoogleNetworkTypeResourceName = ResourceNames.androidPrivacySharedKeyGoogleNetworkType(10987417, 21974834, 43949668, 87899336, 175798672)
270
270
  */
271
271
  export declare function androidPrivacySharedKeyGoogleNetworkType(customerId: string | number, campaignId: string | number, androidPrivacyInteractionType: string | number, androidPrivacyNetworkType: string | number, androidPrivacyInteractionDate: string | number): AndroidPrivacySharedKeyGoogleNetworkTypeResourceName;
272
+ export type AppliedIncentiveResourceName = `customers/${StrNum}/appliedIncentives/${StrNum}`;
273
+ /**
274
+ * @param {string | number} customerId
275
+ * @param {string | number} couponCode
276
+ * @returns `AppliedIncentiveResourceName`
277
+ * @example const appliedIncentive: ResourceNames.AppliedIncentiveResourceName = ResourceNames.appliedIncentive(10987417, 21974834)
278
+ */
279
+ export declare function appliedIncentive(customerId: string | number, couponCode: string | number): AppliedIncentiveResourceName;
272
280
  export type AssetResourceName = `customers/${StrNum}/assets/${StrNum}`;
273
281
  /**
274
282
  * @param {string | number} customerId
@@ -1233,6 +1241,14 @@ export type ManagedPlacementViewResourceName = `customers/${StrNum}/managedPlace
1233
1241
  * @example const managedPlacementView: ResourceNames.ManagedPlacementViewResourceName = ResourceNames.managedPlacementView(10987417, 21974834, 43949668)
1234
1242
  */
1235
1243
  export declare function managedPlacementView(customerId: string | number, adGroupId: string | number, criterionId: string | number): ManagedPlacementViewResourceName;
1244
+ export type MatchedLocationInterestViewResourceName = `customers/${StrNum}/matchedLocationInterestViews/${StrNum}`;
1245
+ /**
1246
+ * @param {string | number} customerId
1247
+ * @param {string | number} countryCriterionId
1248
+ * @returns `MatchedLocationInterestViewResourceName`
1249
+ * @example const matchedLocationInterestView: ResourceNames.MatchedLocationInterestViewResourceName = ResourceNames.matchedLocationInterestView(10987417, 21974834)
1250
+ */
1251
+ export declare function matchedLocationInterestView(customerId: string | number, countryCriterionId: string | number): MatchedLocationInterestViewResourceName;
1236
1252
  export type MediaFileResourceName = `customers/${StrNum}/mediaFiles/${StrNum}`;
1237
1253
  /**
1238
1254
  * @param {string | number} customerId
@@ -29,6 +29,7 @@ exports.aiMaxSearchTermAdCombinationView = aiMaxSearchTermAdCombinationView;
29
29
  exports.androidPrivacySharedKeyGoogleAdGroup = androidPrivacySharedKeyGoogleAdGroup;
30
30
  exports.androidPrivacySharedKeyGoogleCampaign = androidPrivacySharedKeyGoogleCampaign;
31
31
  exports.androidPrivacySharedKeyGoogleNetworkType = androidPrivacySharedKeyGoogleNetworkType;
32
+ exports.appliedIncentive = appliedIncentive;
32
33
  exports.asset = asset;
33
34
  exports.assetFieldTypeView = assetFieldTypeView;
34
35
  exports.assetGroup = assetGroup;
@@ -142,6 +143,7 @@ exports.localServicesVerificationArtifact = localServicesVerificationArtifact;
142
143
  exports.locationInterestView = locationInterestView;
143
144
  exports.locationView = locationView;
144
145
  exports.managedPlacementView = managedPlacementView;
146
+ exports.matchedLocationInterestView = matchedLocationInterestView;
145
147
  exports.mediaFile = mediaFile;
146
148
  exports.mobileAppCategoryConstant = mobileAppCategoryConstant;
147
149
  exports.mobileDeviceConstant = mobileDeviceConstant;
@@ -479,6 +481,15 @@ function androidPrivacySharedKeyGoogleCampaign(customerId, campaignId, androidPr
479
481
  function androidPrivacySharedKeyGoogleNetworkType(customerId, campaignId, androidPrivacyInteractionType, androidPrivacyNetworkType, androidPrivacyInteractionDate) {
480
482
  return `customers/${customerId}/androidPrivacySharedKeyGoogleNetworkTypes/${campaignId}~${androidPrivacyInteractionType}~${androidPrivacyNetworkType}~${androidPrivacyInteractionDate}`;
481
483
  }
484
+ /**
485
+ * @param {string | number} customerId
486
+ * @param {string | number} couponCode
487
+ * @returns `AppliedIncentiveResourceName`
488
+ * @example const appliedIncentive: ResourceNames.AppliedIncentiveResourceName = ResourceNames.appliedIncentive(10987417, 21974834)
489
+ */
490
+ function appliedIncentive(customerId, couponCode) {
491
+ return `customers/${customerId}/appliedIncentives/${couponCode}`;
492
+ }
482
493
  /**
483
494
  * @param {string | number} customerId
484
495
  * @param {string | number} assetId
@@ -1556,6 +1567,15 @@ function locationView(customerId, campaignId, criterionId) {
1556
1567
  function managedPlacementView(customerId, adGroupId, criterionId) {
1557
1568
  return `customers/${customerId}/managedPlacementViews/${adGroupId}~${criterionId}`;
1558
1569
  }
1570
+ /**
1571
+ * @param {string | number} customerId
1572
+ * @param {string | number} countryCriterionId
1573
+ * @returns `MatchedLocationInterestViewResourceName`
1574
+ * @example const matchedLocationInterestView: ResourceNames.MatchedLocationInterestViewResourceName = ResourceNames.matchedLocationInterestView(10987417, 21974834)
1575
+ */
1576
+ function matchedLocationInterestView(customerId, countryCriterionId) {
1577
+ return `customers/${customerId}/matchedLocationInterestViews/${countryCriterionId}`;
1578
+ }
1559
1579
  /**
1560
1580
  * @param {string | number} customerId
1561
1581
  * @param {string | number} mediaFileId