@guardian/google-admanager-api 6.0.3 → 6.1.1
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/CHANGELOG.md +17 -0
- package/dist/client/common/enums/delivery.enum.d.ts +1 -1
- package/dist/client/common/enums/delivery.enum.js +1 -1
- package/dist/client/common/enums/general.enum.d.ts +7 -7
- package/dist/client/common/enums/general.enum.js +7 -7
- package/dist/client/common/enums/lineItemSummary.enum.d.ts +4 -4
- package/dist/client/common/enums/lineItemSummary.enum.js +4 -4
- package/dist/client/common/types/general.type.d.ts +21 -21
- package/dist/client/common/types/label.type.d.ts +2 -2
- package/dist/client/common/types/lineItemSummary.type.d.ts +7 -7
- package/dist/client/common/types/targeting.type.d.ts +77 -42
- package/dist/client/common/types/targeting.type.d.ts.map +1 -1
- package/dist/client/common/types/targeting.type.js +48 -19
- package/dist/client/common/types/targeting.type.js.map +1 -1
- package/dist/client/services/activity/activity.type.d.ts +4 -4
- package/dist/client/services/activity/activityService.interface.d.ts +12 -12
- package/dist/client/services/activityGroup/activityGroup.type.d.ts +4 -4
- package/dist/client/services/activityGroup/activityGroupService.interface.d.ts +11 -11
- package/dist/client/services/adRule/adRule.type.d.ts +2 -2
- package/dist/client/services/adRule/adSpot.type.d.ts +1 -1
- package/dist/client/services/adjustment/adjustment.enum.d.ts +1 -1
- package/dist/client/services/adjustment/adjustment.enum.js +1 -1
- package/dist/client/services/adjustment/adjustment.type.d.ts +1 -1
- package/dist/client/services/adjustment/adjustmentService.interface.d.ts +23 -23
- package/dist/client/services/audienceSegment/audienceSegment.action.d.ts +6 -6
- package/dist/client/services/audienceSegment/audienceSegment.action.js +6 -6
- package/dist/client/services/audienceSegment/audienceSegment.enum.d.ts +4 -4
- package/dist/client/services/audienceSegment/audienceSegment.enum.js +4 -4
- package/dist/client/services/audienceSegment/audienceSegment.type.d.ts +14 -14
- package/dist/client/services/audienceSegment/audienceSegmentService.interface.d.ts +17 -17
- package/dist/client/services/cdnConfiguration/cdnConfiguration.action.d.ts +3 -3
- package/dist/client/services/cdnConfiguration/cdnConfiguration.action.js +3 -3
- package/dist/client/services/cdnConfiguration/cdnConfiguration.enum.d.ts +3 -3
- package/dist/client/services/cdnConfiguration/cdnConfiguration.enum.js +3 -3
- package/dist/client/services/cdnConfiguration/cdnConfiguration.interface.d.ts +11 -11
- package/dist/client/services/cdnConfiguration/cdnConfiguration.type.d.ts +1 -1
- package/dist/client/services/cmsMetadata/cmsMetadata.action.d.ts +6 -6
- package/dist/client/services/cmsMetadata/cmsMetadata.action.js +6 -6
- package/dist/client/services/cmsMetadata/cmsMetadataService.interface.d.ts +16 -16
- package/dist/client/services/company/company.type.d.ts +3 -3
- package/dist/client/services/company/companyService.interface.d.ts +11 -11
- package/dist/client/services/contact/contact.type.d.ts +2 -2
- package/dist/client/services/contact/contactService.interface.d.ts +15 -15
- package/dist/client/services/content/content.enum.d.ts +2 -2
- package/dist/client/services/content/content.enum.js +2 -2
- package/dist/client/services/content/content.type.d.ts +1 -1
- package/dist/client/services/content/contentService.interface.d.ts +15 -15
- package/dist/client/services/contentBundle/contentBundle.action.d.ts +3 -3
- package/dist/client/services/contentBundle/contentBundle.action.js +3 -3
- package/dist/client/services/contentBundle/contentBundle.type.d.ts +2 -2
- package/dist/client/services/contentBundle/contentBundleService.interface.d.ts +10 -10
- package/dist/client/services/creative/creative.action.d.ts +3 -3
- package/dist/client/services/creative/creative.action.js +3 -3
- package/dist/client/services/creative/creative.type.d.ts +1 -1
- package/dist/client/services/creative/creativeService.interface.d.ts +15 -15
- package/dist/client/services/creativeReview/creativeReviewService.interface.d.ts +4 -4
- package/dist/client/services/creativeSet/creativeSet.type.d.ts +1 -1
- package/dist/client/services/creativeSet/creativeSetService.interface.d.ts +10 -10
- package/dist/client/services/creativeTemplate/creativeTemplate.type.d.ts +1 -1
- package/dist/client/services/creativeTemplate/creativeTemplateService.interface.d.ts +8 -8
- package/dist/client/services/creativeWrapper/creativeWrapper.action.d.ts +3 -3
- package/dist/client/services/creativeWrapper/creativeWrapper.action.js +3 -3
- package/dist/client/services/creativeWrapper/creativeWrapper.type.d.ts +1 -1
- package/dist/client/services/creativeWrapper/creativeWrapperService.interface.d.ts +15 -15
- package/dist/client/services/customField/customField.action.d.ts +3 -3
- package/dist/client/services/customField/customField.action.js +3 -3
- package/dist/client/services/customField/customField.enum.d.ts +1 -1
- package/dist/client/services/customField/customField.enum.js +1 -1
- package/dist/client/services/customField/customField.type.d.ts +3 -3
- package/dist/client/services/customField/customFieldService.interface.d.ts +22 -22
- package/dist/client/services/customTargeting/customTargeting.action.d.ts +6 -6
- package/dist/client/services/customTargeting/customTargeting.action.js +6 -6
- package/dist/client/services/customTargeting/customTargeting.enum.d.ts +1 -1
- package/dist/client/services/customTargeting/customTargeting.enum.js +1 -1
- package/dist/client/services/customTargeting/customTargeting.interface.d.ts +29 -29
- package/dist/client/services/customTargeting/customTargeting.type.d.ts +2 -2
- package/dist/client/services/daiAuthenticationKey/daiAuthenticationKey.action.d.ts +3 -3
- package/dist/client/services/daiAuthenticationKey/daiAuthenticationKey.action.js +3 -3
- package/dist/client/services/daiAuthenticationKey/daiAuthenticationKey.type.d.ts +1 -1
- package/dist/client/services/daiAuthenticationKey/daiAuthenticationKeyService.interface.d.ts +13 -13
- package/dist/client/services/daiEncodingProfile/daiEncodingProfile.action.d.ts +3 -3
- package/dist/client/services/daiEncodingProfile/daiEncodingProfile.action.js +3 -3
- package/dist/client/services/daiEncodingProfile/daiEncodingProfile.enum.d.ts +1 -1
- package/dist/client/services/daiEncodingProfile/daiEncodingProfile.enum.js +1 -1
- package/dist/client/services/daiEncodingProfile/daiEncodingProfile.type.d.ts +2 -2
- package/dist/client/services/daiEncodingProfile/daiEncodingProfileService.interface.d.ts +11 -11
- package/dist/client/services/forecast/forecast.type.d.ts +1 -1
- package/dist/client/services/forecast/forecastService.interface.d.ts +9 -9
- package/dist/client/services/inventory/adUnit.action.d.ts +4 -4
- package/dist/client/services/inventory/adUnit.action.js +4 -4
- package/dist/client/services/inventory/adUnit.enum.d.ts +2 -2
- package/dist/client/services/inventory/adUnit.enum.js +2 -2
- package/dist/client/services/inventory/adUnit.type.d.ts +2 -2
- package/dist/client/services/inventory/inventoryService.interface.d.ts +16 -16
- package/dist/client/services/label/label.action.d.ts +3 -3
- package/dist/client/services/label/label.action.js +3 -3
- package/dist/client/services/label/label.interface.d.ts +11 -11
- package/dist/client/services/label/label.type.d.ts +1 -1
- package/dist/client/services/lineItem/lineItem.action.d.ts +9 -9
- package/dist/client/services/lineItem/lineItem.action.js +9 -9
- package/dist/client/services/lineItem/lineItem.type.d.ts +2 -2
- package/dist/client/services/lineItem/lineItemService.interface.d.ts +23 -23
- package/dist/client/services/lineItemCreativeAssociation/lineItemCreativeAssociation.action.d.ts +4 -4
- package/dist/client/services/lineItemCreativeAssociation/lineItemCreativeAssociation.action.js +4 -4
- package/dist/client/services/lineItemCreativeAssociation/lineItemCreativeAssociation.type.d.ts +6 -6
- package/dist/client/services/lineItemCreativeAssociation/lineItemCreativeAssociationService.interface.d.ts +18 -18
- package/dist/client/services/lineItemTemplate/lineItemTemplate.type.d.ts +1 -1
- package/dist/client/services/lineItemTemplate/lineItemTemplateService.interface.d.ts +5 -5
- package/dist/client/services/liveStreamEvent/liveStreamEvent.action.d.ts +7 -7
- package/dist/client/services/liveStreamEvent/liveStreamEvent.action.js +7 -7
- package/dist/client/services/liveStreamEvent/liveStreamEvent.enum.d.ts +2 -2
- package/dist/client/services/liveStreamEvent/liveStreamEvent.enum.js +2 -2
- package/dist/client/services/liveStreamEvent/liveStreamEvent.type.d.ts +1 -1
- package/dist/client/services/liveStreamEvent/liveStreamEventService.interface.d.ts +29 -29
- package/dist/client/services/mobileApplication/mobileApplication.action.d.ts +3 -3
- package/dist/client/services/mobileApplication/mobileApplication.action.js +3 -3
- package/dist/client/services/mobileApplication/mobileApplication.enum.d.ts +2 -2
- package/dist/client/services/mobileApplication/mobileApplication.enum.js +2 -2
- package/dist/client/services/mobileApplication/mobileApplication.type.d.ts +1 -1
- package/dist/client/services/mobileApplication/mobileApplicationService.interface.d.ts +12 -12
- package/dist/client/services/nativeStyle/nativeStyle.type.d.ts +1 -1
- package/dist/client/services/nativeStyle/nativeStyleService.interface.d.ts +9 -9
- package/dist/client/services/order/order.action.d.ts +13 -13
- package/dist/client/services/order/order.action.js +13 -13
- package/dist/client/services/order/order.enum.d.ts +5 -5
- package/dist/client/services/order/order.enum.js +5 -5
- package/dist/client/services/order/order.type.d.ts +13 -13
- package/dist/client/services/order/orderService.interface.d.ts +18 -18
- package/dist/client/services/placement/placement.action.d.ts +4 -4
- package/dist/client/services/placement/placement.action.js +4 -4
- package/dist/client/services/placement/placement.type.d.ts +1 -1
- package/dist/client/services/placement/placementService.interface.d.ts +13 -13
- package/dist/client/services/proposal/proposal.action.d.ts +15 -15
- package/dist/client/services/proposal/proposal.action.js +15 -15
- package/dist/client/services/proposal/proposal.enum.d.ts +1 -1
- package/dist/client/services/proposal/proposal.enum.js +1 -1
- package/dist/client/services/proposal/proposal.type.d.ts +3 -3
- package/dist/client/services/proposal/proposalService.interface.d.ts +26 -26
- package/dist/client/services/proposalLineItem/proposalLineItem.action.d.ts +10 -10
- package/dist/client/services/proposalLineItem/proposalLineItem.action.js +10 -10
- package/dist/client/services/proposalLineItem/proposalLineItem.type.d.ts +3 -3
- package/dist/client/services/proposalLineItem/proposalLineItemService.interface.d.ts +15 -15
- package/dist/client/services/publisherQueryLanguage/publisherQueryLanguageService.interface.d.ts +3 -3
- package/dist/client/services/report/report.type.d.ts +2 -2
- package/dist/client/services/report/reportService.interface.d.ts +16 -16
- package/dist/client/services/site/siteService.interface.d.ts +13 -13
- package/dist/client/services/suggestedAdUnit/suggestedAdUnit.action.d.ts +2 -2
- package/dist/client/services/suggestedAdUnit/suggestedAdUnit.action.js +2 -2
- package/dist/client/services/suggestedAdUnit/suggestedAdUnit.type.d.ts +2 -2
- package/dist/client/services/suggestedAdUnit/suggestedAdUnitService.interface.d.ts +9 -9
- package/dist/client/services/targetingPresent/targetingPresentService.interface.d.ts +5 -5
- package/dist/client/services/team/team.action.d.ts +3 -3
- package/dist/client/services/team/team.action.js +3 -3
- package/dist/client/services/team/team.type.d.ts +2 -2
- package/dist/client/services/team/teamService.interface.d.ts +12 -12
- package/dist/client/services/user/user.action.d.ts +3 -3
- package/dist/client/services/user/user.action.js +3 -3
- package/dist/client/services/user/user.type.d.ts +5 -5
- package/dist/client/services/user/userService.interface.d.ts +17 -17
- package/dist/client/services/userTeamAssociation/userTeamAssociation.action.d.ts +2 -2
- package/dist/client/services/userTeamAssociation/userTeamAssociation.action.js +2 -2
- package/dist/client/services/userTeamAssociation/userTeamAssociation.type.d.ts +5 -5
- package/dist/client/services/userTeamAssociation/userTeamAssociationService.interface.d.ts +10 -10
- package/dist/common/types/statement.type.d.ts +4 -4
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targeting.type.d.ts","sourceRoot":"","sources":["../../../../lib/client/common/types/targeting.type.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"targeting.type.d.ts","sourceRoot":"","sources":["../../../../lib/client/common/types/targeting.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,QAAQ,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAc,MAAM,gBAAgB,CAAC;AAElD;;;;GAIG;AACH,KAAK,QAAQ,GA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C;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAE9C;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAE3D;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;CACjD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,SAAS,CAiB9C,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,iBAAiB,CAG9D,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreativeTargetingStruct = exports.TargetingStruct = exports.RequestPlatformTargetingStruct = exports.InventoryUrlTargetingStruct = exports.InventoryUrlStruct = exports.BuyerUserListTargetingStruct = exports.MobileApplicationTargetingStruct = exports.ContentTargetingStruct = exports.UserDomainTargetingStruct = exports.DateTimeRangeTargetingStruct = exports.TechnologyTargetingStruct = exports.OperatingSystemVersionTargetingStruct = exports.OperatingSystemVersionStruct = exports.OperatingSystemTargetingStruct = exports.MobileDeviceSubmodelTargetingStruct = exports.MobileDeviceSubmodelStruct = exports.MobileDeviceTargetingStruct = exports.MobileDeviceStruct = exports.MobileCarrierTargetingStruct = exports.DeviceManufacturerTargetingStruct = exports.DeviceCategoryTargetingStruct = exports.DeviceCapabilityTargetingStruct = exports.BrowserLanguageTargetingStruct = exports.BrowserTargetingStruct = exports.BrowserStruct = exports.
|
|
3
|
+
exports.CreativeTargetingStruct = exports.TargetingStruct = exports.InventorySizeTargetingStruct = exports.RequestPlatformTargetingStruct = exports.ContentLabelTargetingStruct = exports.VerticalTargetingStruct = exports.InventoryUrlTargetingStruct = exports.InventoryUrlStruct = exports.BuyerUserListTargetingStruct = exports.MobileApplicationTargetingStruct = exports.ContentTargetingStruct = exports.UserDomainTargetingStruct = exports.DateTimeRangeTargetingStruct = exports.TechnologyTargetingStruct = exports.OperatingSystemVersionTargetingStruct = exports.OperatingSystemVersionStruct = exports.OperatingSystemTargetingStruct = exports.MobileDeviceSubmodelTargetingStruct = exports.MobileDeviceSubmodelStruct = exports.MobileDeviceTargetingStruct = exports.MobileDeviceStruct = exports.MobileCarrierTargetingStruct = exports.DeviceManufacturerTargetingStruct = exports.DeviceCategoryTargetingStruct = exports.DeviceCapabilityTargetingStruct = exports.BrowserLanguageTargetingStruct = exports.BrowserTargetingStruct = exports.BrowserStruct = exports.BandwidthGroupTargetingStruct = exports.TechnologyStruct = exports.TechnologyAttributesValuesEnum = exports.DayPartTargetingStruct = exports.DayPartStruct = exports.InventoryTargetingStruct = exports.AdUnitTargetingStruct = exports.GeoTargetingStruct = exports.LocationStruct = void 0;
|
|
4
4
|
const superstruct_1 = require("superstruct");
|
|
5
5
|
const enums_1 = require("../../../common/enums");
|
|
6
6
|
const types_1 = require("../../../common/types");
|
|
7
7
|
const enums_2 = require("../enums");
|
|
8
8
|
const customCriteria_type_1 = require("./customCriteria.type");
|
|
9
9
|
const videoPosition_type_1 = require("./videoPosition.type");
|
|
10
|
+
const general_type_1 = require("./general.type");
|
|
10
11
|
/**
|
|
11
12
|
* Represents a Location struct.
|
|
12
13
|
*/
|
|
@@ -57,13 +58,17 @@ exports.DayPartTargetingStruct = (0, superstruct_1.object)({
|
|
|
57
58
|
* Represents an TechnologyAttributesValues enum in superstruct format.
|
|
58
59
|
*/
|
|
59
60
|
exports.TechnologyAttributesValuesEnum = (0, superstruct_1.enums)([
|
|
60
|
-
"DeviceCapability",
|
|
61
61
|
"BandwidthGroup",
|
|
62
|
+
"Browser",
|
|
62
63
|
"BrowserLanguage",
|
|
64
|
+
"DeviceCapability",
|
|
63
65
|
"DeviceCategory",
|
|
64
66
|
"DeviceManufacturer",
|
|
65
67
|
"MobileCarrier",
|
|
68
|
+
"MobileDevice",
|
|
69
|
+
"MobileDeviceSubmodel",
|
|
66
70
|
"OperatingSystem",
|
|
71
|
+
"OperatingSystemVersion",
|
|
67
72
|
]);
|
|
68
73
|
/**
|
|
69
74
|
* Represents a Technology struct.
|
|
@@ -79,10 +84,9 @@ exports.TechnologyStruct = (0, superstruct_1.object)({
|
|
|
79
84
|
* Represents a BandwidthGroupTargeting struct.
|
|
80
85
|
*/
|
|
81
86
|
exports.BandwidthGroupTargetingStruct = (0, superstruct_1.object)({
|
|
82
|
-
isTargeted: (0, superstruct_1.boolean)(),
|
|
87
|
+
isTargeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
83
88
|
bandwidthGroups: (0, superstruct_1.array)(exports.TechnologyStruct),
|
|
84
89
|
});
|
|
85
|
-
exports.VersionStruct = (0, superstruct_1.union)([(0, superstruct_1.string)(), (0, superstruct_1.number)()]);
|
|
86
90
|
/**
|
|
87
91
|
* Represents a Browser struct.
|
|
88
92
|
*/
|
|
@@ -92,21 +96,21 @@ exports.BrowserStruct = (0, superstruct_1.object)({
|
|
|
92
96
|
}),
|
|
93
97
|
id: (0, superstruct_1.number)(),
|
|
94
98
|
name: (0, superstruct_1.string)(),
|
|
95
|
-
majorVersion:
|
|
96
|
-
minorVersion:
|
|
99
|
+
majorVersion: (0, superstruct_1.string)(),
|
|
100
|
+
minorVersion: (0, superstruct_1.string)(),
|
|
97
101
|
});
|
|
98
102
|
/**
|
|
99
103
|
* Represents a BrowserTargeting struct.
|
|
100
104
|
*/
|
|
101
105
|
exports.BrowserTargetingStruct = (0, superstruct_1.object)({
|
|
102
|
-
isTargeted: (0, superstruct_1.boolean)(),
|
|
103
|
-
browsers: (0, superstruct_1.array)(exports.
|
|
106
|
+
isTargeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
107
|
+
browsers: (0, superstruct_1.array)(exports.TechnologyStruct),
|
|
104
108
|
});
|
|
105
109
|
/**
|
|
106
110
|
* Represents a BrowserLanguageTargeting struct.
|
|
107
111
|
*/
|
|
108
112
|
exports.BrowserLanguageTargetingStruct = (0, superstruct_1.object)({
|
|
109
|
-
isTargeted: (0, superstruct_1.boolean)(),
|
|
113
|
+
isTargeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
110
114
|
browserLanguages: (0, superstruct_1.array)(exports.TechnologyStruct),
|
|
111
115
|
});
|
|
112
116
|
/**
|
|
@@ -127,14 +131,14 @@ exports.DeviceCategoryTargetingStruct = (0, superstruct_1.object)({
|
|
|
127
131
|
* Represents a DeviceManufacturerTargeting struct.
|
|
128
132
|
*/
|
|
129
133
|
exports.DeviceManufacturerTargetingStruct = (0, superstruct_1.object)({
|
|
130
|
-
isTargeted: (0, superstruct_1.boolean)(),
|
|
134
|
+
isTargeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
131
135
|
deviceManufacturers: (0, superstruct_1.array)(exports.TechnologyStruct),
|
|
132
136
|
});
|
|
133
137
|
/**
|
|
134
138
|
* Represents a MobileCarrierTargeting struct.
|
|
135
139
|
*/
|
|
136
140
|
exports.MobileCarrierTargetingStruct = (0, superstruct_1.object)({
|
|
137
|
-
isTargeted: (0, superstruct_1.boolean)(),
|
|
141
|
+
isTargeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
138
142
|
mobileCarriers: (0, superstruct_1.array)(exports.TechnologyStruct),
|
|
139
143
|
});
|
|
140
144
|
/**
|
|
@@ -152,8 +156,8 @@ exports.MobileDeviceStruct = (0, superstruct_1.object)({
|
|
|
152
156
|
* Represents a MobileDeviceTargeting struct.
|
|
153
157
|
*/
|
|
154
158
|
exports.MobileDeviceTargetingStruct = (0, superstruct_1.object)({
|
|
155
|
-
targetedMobileDevices: (0, superstruct_1.array)(exports.MobileDeviceStruct),
|
|
156
|
-
excludedMobileDevices: (0, superstruct_1.array)(exports.MobileDeviceStruct),
|
|
159
|
+
targetedMobileDevices: (0, superstruct_1.optional)((0, superstruct_1.array)(exports.MobileDeviceStruct)),
|
|
160
|
+
excludedMobileDevices: (0, superstruct_1.optional)((0, superstruct_1.array)(exports.MobileDeviceStruct)),
|
|
157
161
|
});
|
|
158
162
|
/**
|
|
159
163
|
* Represents a MobileDeviceSubmodel struct.
|
|
@@ -178,7 +182,7 @@ exports.MobileDeviceSubmodelTargetingStruct = (0, superstruct_1.object)({
|
|
|
178
182
|
* Represents a OperatingSystemTargeting struct.
|
|
179
183
|
*/
|
|
180
184
|
exports.OperatingSystemTargetingStruct = (0, superstruct_1.object)({
|
|
181
|
-
isTargeted: (0, superstruct_1.boolean)(),
|
|
185
|
+
isTargeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
182
186
|
operatingSystems: (0, superstruct_1.array)(exports.TechnologyStruct),
|
|
183
187
|
});
|
|
184
188
|
/**
|
|
@@ -190,9 +194,9 @@ exports.OperatingSystemVersionStruct = (0, superstruct_1.object)({
|
|
|
190
194
|
}),
|
|
191
195
|
id: (0, superstruct_1.number)(),
|
|
192
196
|
name: (0, superstruct_1.string)(),
|
|
193
|
-
majorVersion:
|
|
194
|
-
minorVersion:
|
|
195
|
-
microVersion:
|
|
197
|
+
majorVersion: (0, superstruct_1.number)(),
|
|
198
|
+
minorVersion: (0, superstruct_1.number)(),
|
|
199
|
+
microVersion: (0, superstruct_1.number)(),
|
|
196
200
|
});
|
|
197
201
|
/**
|
|
198
202
|
* Represents an OperatingSystemVersionTargeting struct.
|
|
@@ -228,7 +232,7 @@ exports.DateTimeRangeTargetingStruct = (0, superstruct_1.object)({
|
|
|
228
232
|
*/
|
|
229
233
|
exports.UserDomainTargetingStruct = (0, superstruct_1.object)({
|
|
230
234
|
domains: (0, superstruct_1.array)((0, superstruct_1.string)()),
|
|
231
|
-
targeted: (0, superstruct_1.boolean)(),
|
|
235
|
+
targeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
232
236
|
});
|
|
233
237
|
/**
|
|
234
238
|
* Represents a ContentTargeting struct.
|
|
@@ -244,7 +248,7 @@ exports.ContentTargetingStruct = (0, superstruct_1.object)({
|
|
|
244
248
|
*/
|
|
245
249
|
exports.MobileApplicationTargetingStruct = (0, superstruct_1.object)({
|
|
246
250
|
mobileApplicationIds: (0, superstruct_1.array)((0, superstruct_1.number)()),
|
|
247
|
-
isTargeted: (0, superstruct_1.boolean)(),
|
|
251
|
+
isTargeted: (0, superstruct_1.optional)((0, superstruct_1.boolean)()),
|
|
248
252
|
});
|
|
249
253
|
/**
|
|
250
254
|
* Represents a BuyerUserListTargeting struct.
|
|
@@ -263,12 +267,34 @@ exports.InventoryUrlTargetingStruct = (0, superstruct_1.object)({
|
|
|
263
267
|
targetedUrls: (0, superstruct_1.array)(exports.InventoryUrlStruct),
|
|
264
268
|
excludedUrls: (0, superstruct_1.array)(exports.InventoryUrlStruct),
|
|
265
269
|
});
|
|
270
|
+
/**
|
|
271
|
+
* Represents a VerticalTargeting struct.
|
|
272
|
+
*/
|
|
273
|
+
exports.VerticalTargetingStruct = (0, superstruct_1.object)({
|
|
274
|
+
targetedVerticalIds: (0, superstruct_1.array)((0, superstruct_1.number)()),
|
|
275
|
+
excludedVerticalIds: (0, superstruct_1.array)((0, superstruct_1.number)()),
|
|
276
|
+
});
|
|
277
|
+
/**
|
|
278
|
+
* Represents a ContentLabelTargeting struct.
|
|
279
|
+
*/
|
|
280
|
+
exports.ContentLabelTargetingStruct = (0, superstruct_1.object)({
|
|
281
|
+
excludedContentLabelIds: (0, superstruct_1.array)((0, superstruct_1.number)()),
|
|
282
|
+
});
|
|
266
283
|
/**
|
|
267
284
|
* Represents a RequestPlatformTargeting struct.
|
|
268
285
|
*/
|
|
269
286
|
exports.RequestPlatformTargetingStruct = (0, superstruct_1.object)({
|
|
270
287
|
targetedRequestPlatforms: (0, superstruct_1.array)(enums_2.RequestPlatformEnum),
|
|
271
288
|
});
|
|
289
|
+
/**
|
|
290
|
+
* Represents an InventorySizeTargeting struct.
|
|
291
|
+
*/
|
|
292
|
+
exports.InventorySizeTargetingStruct = (0, superstruct_1.object)({
|
|
293
|
+
isTargeted: (0, superstruct_1.boolean)(),
|
|
294
|
+
targetedSizes: (0, superstruct_1.array)((0, superstruct_1.object)({
|
|
295
|
+
size: general_type_1.SizeStruct,
|
|
296
|
+
})),
|
|
297
|
+
});
|
|
272
298
|
/**
|
|
273
299
|
* Represents a Targeting struct.
|
|
274
300
|
*/
|
|
@@ -285,7 +311,10 @@ exports.TargetingStruct = (0, superstruct_1.object)({
|
|
|
285
311
|
mobileApplicationTargeting: (0, superstruct_1.optional)(exports.MobileApplicationTargetingStruct),
|
|
286
312
|
buyerUserListTargeting: (0, superstruct_1.optional)(exports.BuyerUserListTargetingStruct),
|
|
287
313
|
inventoryUrlTargeting: (0, superstruct_1.optional)(exports.InventoryUrlTargetingStruct),
|
|
314
|
+
verticalTargeting: (0, superstruct_1.optional)(exports.VerticalTargetingStruct),
|
|
315
|
+
contentLabelTargeting: (0, superstruct_1.optional)(exports.ContentLabelTargetingStruct),
|
|
288
316
|
requestPlatformTargeting: (0, superstruct_1.optional)((0, superstruct_1.nullable)(exports.RequestPlatformTargetingStruct)),
|
|
317
|
+
inventorySizeTargeting: (0, superstruct_1.optional)(exports.InventorySizeTargetingStruct),
|
|
289
318
|
});
|
|
290
319
|
/**
|
|
291
320
|
* Represents a CreativeTargeting struct.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"targeting.type.js","sourceRoot":"","sources":["../../../../lib/client/common/types/targeting.type.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"targeting.type.js","sourceRoot":"","sources":["../../../../lib/client/common/types/targeting.type.ts"],"names":[],"mappings":";;;AAAA,6CAWqB;AACrB,iDAAsE;AACtE,iDAK+B;AAC/B,oCAKkB;AAClB,+DAG+B;AAC/B,6DAG8B;AAC9B,iDAAkD;AA0BlD;;GAEG;AACU,QAAA,cAAc,GAAu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C,iDAA4B,CAAC;IAC9D,0BAA0B,EAAE,IAAA,sBAAQ,EAAC,wCAAgC,CAAC;IACtE,sBAAsB,EAAE,IAAA,sBAAQ,EAAC,oCAA4B,CAAC;IAC9D,qBAAqB,EAAE,IAAA,sBAAQ,EAAC,mCAA2B,CAAC;IAC5D,iBAAiB,EAAE,IAAA,sBAAQ,EAAC,+BAAuB,CAAC;IACpD,qBAAqB,EAAE,IAAA,sBAAQ,EAAC,mCAA2B,CAAC;IAC5D,wBAAwB,EAAE,IAAA,sBAAQ,EAAC,IAAA,sBAAQ,EAAC,sCAA8B,CAAC,CAAC;IAC5E,sBAAsB,EAAE,IAAA,sBAAQ,EAAC,oCAA4B,CAAC;CAC/D,CAAC,CAAC;AAiBH;;GAEG;AACU,QAAA,uBAAuB,GAAgC,IAAA,oBAAM,EAAC;IACzE,IAAI,EAAE,IAAA,oBAAM,GAAE;IACd,SAAS,EAAE,uBAAe;CAC3B,CAAC,CAAC"}
|
|
@@ -13,8 +13,8 @@ export type Activity = {
|
|
|
13
13
|
*/
|
|
14
14
|
id: number;
|
|
15
15
|
/**
|
|
16
|
-
* The ID of the {@link https://developers.google.com/ad-manager/api/reference/
|
|
17
|
-
* that this {@link https://developers.google.com/ad-manager/api/reference/
|
|
16
|
+
* The ID of the {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup ActivityGroup} \
|
|
17
|
+
* that this {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} belongs to.
|
|
18
18
|
*/
|
|
19
19
|
activityGroupId: number;
|
|
20
20
|
/**
|
|
@@ -31,12 +31,12 @@ export type Activity = {
|
|
|
31
31
|
status: ActivityStatus;
|
|
32
32
|
/**
|
|
33
33
|
* The activity type. This attribute is optional and defaults to
|
|
34
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
34
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity.Type#PAGE_VIEWS Activity.Type.PAGE_VIEWS}
|
|
35
35
|
*/
|
|
36
36
|
type: ActivityType;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
|
-
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/
|
|
39
|
+
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} objects.
|
|
40
40
|
*/
|
|
41
41
|
export type ActivityPage = PageResult<Activity>;
|
|
42
42
|
//# sourceMappingURL=activity.type.d.ts.map
|
|
@@ -2,39 +2,39 @@ import type { Statement } from "../../../common/types";
|
|
|
2
2
|
import type { Activity, ActivityPage } from "./activity.type";
|
|
3
3
|
/**
|
|
4
4
|
* Provides methods for creating, updating and retrieving
|
|
5
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
5
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} objects.
|
|
6
6
|
*
|
|
7
|
-
* An activity group contains {@link https://developers.google.com/ad-manager/api/reference/
|
|
7
|
+
* An activity group contains {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} objects.
|
|
8
8
|
* Activities have a many-to-one relationship with activity groups, meaning each activity can belong to only one activity group,
|
|
9
9
|
* but activity groups can have multiple activities. An activity group can be used to manage the activities it contains.
|
|
10
10
|
*/
|
|
11
11
|
export interface ActivityServiceOperations {
|
|
12
12
|
/**
|
|
13
|
-
* Creates a new {@link https://developers.google.com/ad-manager/api/reference/
|
|
13
|
+
* Creates a new {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} objects.
|
|
14
14
|
*
|
|
15
15
|
* @param activities the activity to be created.
|
|
16
16
|
* @returns the created activities with its IDs filled in.
|
|
17
17
|
*/
|
|
18
18
|
createActivities(activities: Partial<Activity>[]): Promise<Activity[]>;
|
|
19
19
|
/**
|
|
20
|
-
* Gets an {@link https://developers.google.com/ad-manager/api/reference/
|
|
21
|
-
* of {@link https://developers.google.com/ad-manager/api/reference/
|
|
22
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
20
|
+
* Gets an {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.ActivityPage ActivityPage}
|
|
21
|
+
* of {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} objects that satisfy the given
|
|
22
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Statement#query Statement.query}. The following fields are supported for filtering:
|
|
23
23
|
*
|
|
24
24
|
* | PQL Property | PQL Property |
|
|
25
25
|
* | --------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
26
|
-
* | id | {@link https://developers.google.com/ad-manager/api/reference/
|
|
27
|
-
* | name | {@link https://developers.google.com/ad-manager/api/reference/
|
|
28
|
-
* | expectedURL | {@link https://developers.google.com/ad-manager/api/reference/
|
|
29
|
-
* | status | {@link https://developers.google.com/ad-manager/api/reference/
|
|
30
|
-
* | activityGroupId | {@link https://developers.google.com/ad-manager/api/reference/
|
|
26
|
+
* | id | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity#id Activity.id} |
|
|
27
|
+
* | name | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity#name Activity.name} |
|
|
28
|
+
* | expectedURL | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity#expectedURL Activity.expectedURL} |
|
|
29
|
+
* | status | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity#status Activity.status} |
|
|
30
|
+
* | activityGroupId | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity#activityGroupId Order.activityGroupId} |
|
|
31
31
|
*
|
|
32
32
|
* @param filterStatement a statement used to filter a set of activities.
|
|
33
33
|
* @returns the activities that match the given filter.
|
|
34
34
|
*/
|
|
35
35
|
getActivitiesByStatement(filterStatement: Statement): Promise<ActivityPage>;
|
|
36
36
|
/**
|
|
37
|
-
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/
|
|
37
|
+
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} objects.
|
|
38
38
|
*
|
|
39
39
|
* @param activities the activities to update.
|
|
40
40
|
* @returns the updated activities.
|
|
@@ -17,9 +17,9 @@ export type ActivityGroup = {
|
|
|
17
17
|
* The company ids whose ads will be included for conversion tracking on the activities in this group.
|
|
18
18
|
* Only clicks and impressions of ads from these companies will lead to conversions on the containing activities.
|
|
19
19
|
* This attribute is required when creating an activity group. The company types allowed are:
|
|
20
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
21
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
22
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
20
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/CompanyService.Company.Type#ADVERTISER Company.Type.ADVERTISER}, and
|
|
21
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/CompanyService.Company.Type#AD_NETWORK Company.Type.AD_NETWORK}, and
|
|
22
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/CompanyService.Company.Type#HOUSE_ADVERTISER Company.Type.HOUSE_ADVERTISER}
|
|
23
23
|
*/
|
|
24
24
|
companyIds: number[];
|
|
25
25
|
/**
|
|
@@ -42,7 +42,7 @@ export type ActivityGroup = {
|
|
|
42
42
|
status: ActivityGroupStatus;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
|
-
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/
|
|
45
|
+
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup ActivityGroup} objects.
|
|
46
46
|
*/
|
|
47
47
|
export type ActivityGroupPage = PageResult<ActivityGroup>;
|
|
48
48
|
//# sourceMappingURL=activityGroup.type.d.ts.map
|
|
@@ -2,9 +2,9 @@ import type { Statement } from "../../../common/types";
|
|
|
2
2
|
import type { ActivityGroup, ActivityGroupPage } from "./activityGroup.type";
|
|
3
3
|
/**
|
|
4
4
|
* Provides methods for creating, updating and retrieving
|
|
5
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
5
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup ActivityGroup} objects.
|
|
6
6
|
*
|
|
7
|
-
* An activity group contains {@link https://developers.google.com/ad-manager/api/reference/
|
|
7
|
+
* An activity group contains {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityService.Activity Activity} objects.
|
|
8
8
|
* Activities have a many-to-one relationship with activity groups, meaning each activity can belong to only one activity group,
|
|
9
9
|
* but activity groups can have multiple activities. An activity group can be used to manage the activities it contains.
|
|
10
10
|
*/
|
|
@@ -17,24 +17,24 @@ export interface ActivityGroupServiceOperations {
|
|
|
17
17
|
*/
|
|
18
18
|
createActivityGroups(activityGroups: Partial<ActivityGroup>[]): Promise<ActivityGroup[]>;
|
|
19
19
|
/**
|
|
20
|
-
* Gets an {@link https://developers.google.com/ad-manager/api/reference/
|
|
21
|
-
* of {@link https://developers.google.com/ad-manager/api/reference/
|
|
22
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
20
|
+
* Gets an {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroupPage ActivityGroupPage}
|
|
21
|
+
* of {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup ActivityGroup} objects that satisfy the given
|
|
22
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.Statement#query Statement.query}. The following fields are supported for filtering:
|
|
23
23
|
*
|
|
24
24
|
* | PQL Property | PQL Property |
|
|
25
25
|
* | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
26
|
-
* | id | {@link https://developers.google.com/ad-manager/api/reference/
|
|
27
|
-
* | name | {@link https://developers.google.com/ad-manager/api/reference/
|
|
28
|
-
* | impressionsLookback | {@link https://developers.google.com/ad-manager/api/reference/
|
|
29
|
-
* | clicksLookback | {@link https://developers.google.com/ad-manager/api/reference/
|
|
30
|
-
* | status | {@link https://developers.google.com/ad-manager/api/reference/
|
|
26
|
+
* | id | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup##id ActivityGroup.id} |
|
|
27
|
+
* | name | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup##name ActivityGroup.name} |
|
|
28
|
+
* | impressionsLookback | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup#impressionsLookback ActivityGroup.impressionsLookback} |
|
|
29
|
+
* | clicksLookback | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup##clicksLookback Order.clicksLookback} |
|
|
30
|
+
* | status | {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup##status ActivityGroup.status} |
|
|
31
31
|
*
|
|
32
32
|
* @param filterStatement a statement used to filter a set of activity groups
|
|
33
33
|
* @returns the activity groups that match the given filter
|
|
34
34
|
*/
|
|
35
35
|
getActivityGroupsByStatement(filterStatement: Statement): Promise<ActivityGroupPage>;
|
|
36
36
|
/**
|
|
37
|
-
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/
|
|
37
|
+
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/latest/ActivityGroupService.ActivityGroup ActivityGroup} objects.
|
|
38
38
|
*
|
|
39
39
|
* @param activityGroups the activity groups to update.
|
|
40
40
|
* @returns the updated activity groups.
|
|
@@ -173,11 +173,11 @@ export type BreakTemplate = {
|
|
|
173
173
|
breakTemplateMembers: BreakTemplateMember[];
|
|
174
174
|
};
|
|
175
175
|
/**
|
|
176
|
-
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/
|
|
176
|
+
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/latest/AdRuleService.AdRule AdRule} objects.
|
|
177
177
|
*/
|
|
178
178
|
export type AdRulePage = PageResult<AdRule>;
|
|
179
179
|
/**
|
|
180
|
-
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/
|
|
180
|
+
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/latest/AdRuleService.BreakTemplate BreakTemplate} objects.
|
|
181
181
|
*/
|
|
182
182
|
export type BreakTemplatePage = PageResult<BreakTemplate>;
|
|
183
183
|
//# sourceMappingURL=adRule.type.d.ts.map
|
|
@@ -63,7 +63,7 @@ export type AdSpot = {
|
|
|
63
63
|
inventorySharingBlocked?: boolean;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
|
-
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/
|
|
66
|
+
* Captures a page of {@link https://developers.google.com/ad-manager/api/reference/latest/AdRuleService.AdSpot AdSpot} objects.
|
|
67
67
|
*/
|
|
68
68
|
export type AdSpotPage = PageResult<AdSpot>;
|
|
69
69
|
//# sourceMappingURL=adSpot.type.d.ts.map
|
|
@@ -17,7 +17,7 @@ export declare enum ForecastAdjustmentStatus {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Options for how the volume settings of a
|
|
20
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
20
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment} are defined.
|
|
21
21
|
*/
|
|
22
22
|
export declare enum ForecastAdjustmentVolumeType {
|
|
23
23
|
/**
|
|
@@ -21,7 +21,7 @@ var ForecastAdjustmentStatus;
|
|
|
21
21
|
})(ForecastAdjustmentStatus || (exports.ForecastAdjustmentStatus = ForecastAdjustmentStatus = {}));
|
|
22
22
|
/**
|
|
23
23
|
* Options for how the volume settings of a
|
|
24
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
24
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment} are defined.
|
|
25
25
|
*/
|
|
26
26
|
var ForecastAdjustmentVolumeType;
|
|
27
27
|
(function (ForecastAdjustmentVolumeType) {
|
|
@@ -34,7 +34,7 @@ type TotalVolumeSettings = {
|
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* Settings to specify the volume of ad opportunities per day over the
|
|
37
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
37
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment}
|
|
38
38
|
* date range based on the traffic volume of a historical reference period.
|
|
39
39
|
*
|
|
40
40
|
* The daily historical traffic for the provided targeting and date range is fetched, multiplied by the provided multiplier,
|
|
@@ -3,8 +3,8 @@ import type { ForecastAdjustmentAction } from "./adjustment.action";
|
|
|
3
3
|
import type { ForecastAdjustment, ForecastAdjustmentPage, TrafficForecastSegment, TrafficForecastSegmentPage } from "./adjustment.type";
|
|
4
4
|
/**
|
|
5
5
|
* Provides methods for creating, updating, and retrieving
|
|
6
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
7
|
-
* {@link https://developers.google.com/ad-manager/api/reference/
|
|
6
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment}s and
|
|
7
|
+
* {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegment TrafficForecastSegment}s.
|
|
8
8
|
*
|
|
9
9
|
* Forecast adjustments allow editing the volume and traffic composition of forecasted inventory.
|
|
10
10
|
* Traffic forecast segments divide forecasted inventory into segments to which forecast adjustments can be applied.
|
|
@@ -18,59 +18,59 @@ export interface AdjustmentServiceOperations {
|
|
|
18
18
|
*/
|
|
19
19
|
calculateDailyAdOpportunityCounts(forecastAdjustment: ForecastAdjustment): Promise<ForecastAdjustment>;
|
|
20
20
|
/**
|
|
21
|
-
* Creates new {@link https://developers.google.com/ad-manager/api/reference/
|
|
21
|
+
* Creates new {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment} objects.
|
|
22
22
|
*
|
|
23
23
|
* @param forecastAdjustments the forecast adjustments to create
|
|
24
24
|
* @returns the persisted forecast adjustments with their IDs populated
|
|
25
25
|
*/
|
|
26
26
|
createForecastAdjustments(forecastAdjustments: Partial<ForecastAdjustment>[]): Promise<ForecastAdjustment[]>;
|
|
27
27
|
/**
|
|
28
|
-
* Creates new {@link https://developers.google.com/ad-manager/api/reference/
|
|
28
|
+
* Creates new {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegment TrafficForecastSegment} objects.
|
|
29
29
|
*
|
|
30
30
|
* @param trafficForecastSegments the traffic forecast segments to create
|
|
31
31
|
* @returns the persisted traffic forecast segments with their IDs populated
|
|
32
32
|
*/
|
|
33
33
|
createTrafficForecastSegments(trafficForecastSegments: Partial<TrafficForecastSegment>[]): Promise<TrafficForecastSegment[]>;
|
|
34
34
|
/**
|
|
35
|
-
* Gets a {@link https://developers.google.com/ad-manager/api/reference/
|
|
36
|
-
* of {@link https://developers.google.com/ad-manager/api/reference/
|
|
37
|
-
* objects that satisfy the given {@link https://developers.google.com/ad-manager/api/reference/
|
|
35
|
+
* Gets a {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustmentPage ForecastAdjustmentPage}
|
|
36
|
+
* of {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment}
|
|
37
|
+
* objects that satisfy the given {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.Statement#query Statement.query}.
|
|
38
38
|
*
|
|
39
39
|
* The following fields are supported for filtering:
|
|
40
40
|
*
|
|
41
41
|
* | PQL Property | PQL Property |
|
|
42
42
|
* | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
43
|
-
* | id | {@link https://developers.google.com/ad-manager/api/reference/
|
|
44
|
-
* | trafficForecastSegmentId | {@link https://developers.google.com/ad-manager/api/reference/
|
|
45
|
-
* | name | {@link https://developers.google.com/ad-manager/api/reference/
|
|
46
|
-
* | startDate | {@link https://developers.google.com/ad-manager/api/reference/
|
|
47
|
-
* | endDate | {@link https://developers.google.com/ad-manager/api/reference/
|
|
48
|
-
* | status | {@link https://developers.google.com/ad-manager/api/reference/
|
|
43
|
+
* | id | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment#id ForecastAdjustment.id} |
|
|
44
|
+
* | trafficForecastSegmentId | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment#trafficForecastSegmentId ForecastAdjustment.trafficForecastSegmentId} |
|
|
45
|
+
* | name | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment#name ForecastAdjustment.name} |
|
|
46
|
+
* | startDate | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment#startDate ForecastAdjustment.startDate} |
|
|
47
|
+
* | endDate | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment#endDate ForecastAdjustment.endDate} |
|
|
48
|
+
* | status | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment#status ForecastAdjustment.status} |
|
|
49
49
|
*
|
|
50
50
|
* @param filterStatement a Publisher Query Language statement to filter a list of traffic forecast segments
|
|
51
51
|
* @returns a page of forecast adjustments that match the filter
|
|
52
52
|
*/
|
|
53
53
|
getForecastAdjustmentsByStatement(filterStatement: Statement): Promise<ForecastAdjustmentPage>;
|
|
54
54
|
/**
|
|
55
|
-
* Gets a {@link https://developers.google.com/ad-manager/api/reference/
|
|
56
|
-
* of {@link https://developers.google.com/ad-manager/api/reference/
|
|
57
|
-
* objects that satisfy the given {@link https://developers.google.com/ad-manager/api/reference/
|
|
55
|
+
* Gets a {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegmentPage TrafficForecastSegmentPage}
|
|
56
|
+
* of {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegment TrafficForecastSegment}
|
|
57
|
+
* objects that satisfy the given {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.Statement#query Statement.query}.
|
|
58
58
|
*
|
|
59
59
|
* The following fields are supported for filtering:
|
|
60
60
|
*
|
|
61
61
|
* | PQL Property | PQL Property |
|
|
62
62
|
* | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
63
|
-
* | id | {@link https://developers.google.com/ad-manager/api/reference/
|
|
64
|
-
* | name | {@link https://developers.google.com/ad-manager/api/reference/
|
|
65
|
-
* | creationTime | {@link https://developers.google.com/ad-manager/api/reference/
|
|
63
|
+
* | id | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegment#id TrafficForecastSegment.id} |
|
|
64
|
+
* | name | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegment#name TrafficForecastSegment.name} |
|
|
65
|
+
* | creationTime | {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegment#creationTime TrafficForecastSegment.creationTime} |
|
|
66
66
|
*
|
|
67
67
|
* @param filterStatement a Publisher Query Language statement to filter a list of traffic forecast segments
|
|
68
68
|
* @returns a page of traffic forecast segments that match the filter
|
|
69
69
|
*/
|
|
70
70
|
getTrafficForecastSegmentsByStatement(filterStatement: Statement): Promise<TrafficForecastSegmentPage>;
|
|
71
71
|
/**
|
|
72
|
-
* Performs actions on {@link https://developers.google.com/ad-manager/api/reference/
|
|
73
|
-
* objects that match the given {@link https://developers.google.com/ad-manager/api/reference/
|
|
72
|
+
* Performs actions on {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment}
|
|
73
|
+
* objects that match the given {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.Statement#query Statement.query}.
|
|
74
74
|
*
|
|
75
75
|
* @param forecastAdjustmentAction the action to perform
|
|
76
76
|
* @param filterStatement a Publisher Query Language statement used to filter
|
|
@@ -80,14 +80,14 @@ export interface AdjustmentServiceOperations {
|
|
|
80
80
|
*/
|
|
81
81
|
performForecastAdjustmentAction(forecastAdjustmentAction: ForecastAdjustmentAction, filterStatement: Statement): Promise<UpdateResult>;
|
|
82
82
|
/**
|
|
83
|
-
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/
|
|
83
|
+
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.ForecastAdjustment ForecastAdjustment} objects.
|
|
84
84
|
*
|
|
85
85
|
* @param forecastAdjustments the forecast adjustments to update
|
|
86
86
|
* @returns the updated forecast adjustments
|
|
87
87
|
*/
|
|
88
88
|
updateForecastAdjustments(forecastAdjustments: ForecastAdjustment[]): Promise<ForecastAdjustment[]>;
|
|
89
89
|
/**
|
|
90
|
-
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/
|
|
90
|
+
* Updates the specified {@link https://developers.google.com/ad-manager/api/reference/latest/AdjustmentService.TrafficForecastSegment TrafficForecastSegment} objects.
|
|
91
91
|
*
|
|
92
92
|
* @param trafficForecastSegments the traffic forecast segments to update
|
|
93
93
|
* @returns the updated traffic forecast segments
|