lib/fixtures/line-items.ts (258 lines of code) (raw):
export const lineItems = [
{
orderId: 174638727,
id: 68842407,
name: "RH preroll test cookie 18",
externalId: "",
orderName: "RH test cookie 18",
startDateTime: {
date: {
year: 2014,
month: 5,
day: 23,
},
hour: 16,
minute: 51,
second: 0,
timeZoneId: "Europe/London",
},
startDateTimeType: "USE_START_DATE_TIME",
autoExtensionDays: 0,
unlimitedEndDateTime: true,
creativeRotationType: "OPTIMIZED",
deliveryRateType: "FRONTLOADED",
deliveryForecastSource: "HISTORICAL",
roadblockingType: "ONE_OR_MORE",
skippableAdType: "DISABLED",
lineItemType: "SPONSORSHIP",
priority: 1,
costPerUnit: {
currencyCode: "GBP",
microAmount: 0,
},
valueCostPerUnit: {
currencyCode: "GBP",
microAmount: 0,
},
costType: "CPD",
discountType: "PERCENTAGE",
discount: 0,
contractedUnitsBought: 0,
creativePlaceholders: [
{
size: {
width: 400,
height: 300,
isAspectRatio: false,
},
expectedCreativeCount: 1,
creativeSizeType: "PIXEL",
isAmpOnly: false,
},
],
environmentType: "VIDEO_PLAYER",
companionDeliveryOption: "OPTIONAL",
allowOverbook: false,
skipInventoryCheck: false,
skipCrossSellingRuleWarningChecks: false,
reserveAtCreation: false,
stats: {
impressionsDelivered: 55,
clicksDelivered: 2,
videoCompletionsDelivered: 0,
videoStartsDelivered: 0,
viewableImpressionsDelivered: 0,
},
deliveryData: {
units: [0, 0, 0, 0, 0, 0, 0],
},
budget: {
currencyCode: "GBP",
microAmount: 0,
},
status: "DELIVERING",
reservationStatus: "RESERVED",
isArchived: false,
webPropertyCode: "",
disableSameAdvertiserCompetitiveExclusion: false,
lastModifiedByApp: "Goog_DFPUI",
competitiveConstraintScope: "POD",
lastModifiedDateTime: {
date: {
year: 2014,
month: 8,
day: 26,
},
hour: 7,
minute: 1,
second: 36,
timeZoneId: "America/Los_Angeles",
},
creationDateTime: {
date: {
year: 2014,
month: 5,
day: 23,
},
hour: 16,
minute: 49,
second: 43,
timeZoneId: "Europe/London",
},
isMissingCreatives: false,
youtubeKidsRestricted: false,
videoMaxDuration: 0,
primaryGoal: {
goalType: "DAILY",
unitType: "IMPRESSIONS",
units: 100,
},
childContentEligibility: "DISALLOWED",
targeting: {
inventoryTargeting: {
targetedAdUnits: [
{
adUnitId: "59348607",
includeDescendants: true,
},
],
},
customTargeting: {
logicalOperator: "OR",
children: [
{
attributes: {
"xsi:type": "CustomCriteriaSet",
},
logicalOperator: "AND",
children: [
{
attributes: {
"xsi:type": "CustomCriteria",
},
keyId: 177567,
valueIds: [77444149047],
operator: "IS",
},
],
},
],
},
requestPlatformTargeting: {
targetedRequestPlatforms: ["VIDEO_PLAYER"],
},
},
},
{
orderId: 3020124705,
id: 5998457964,
name: "V2 Ozone Prebid 300x600 USD 10.10",
orderName: "V2 Ozone Prebid: Order 300x600 #03 of 3",
startDateTime: {
date: { year: 2022, month: 4, day: 28 },
hour: 11,
minute: 55,
second: 0,
timeZoneId: "Europe/London",
},
startDateTimeType: "USE_START_DATE_TIME",
autoExtensionDays: 0,
unlimitedEndDateTime: true,
creativeRotationType: "EVEN",
deliveryRateType: "FRONTLOADED",
deliveryForecastSource: "HISTORICAL",
roadblockingType: "ONE_OR_MORE",
skippableAdType: "DISABLED",
lineItemType: "PRICE_PRIORITY",
priority: 8,
costPerUnit: { currencyCode: "USD", microAmount: 10100000 },
valueCostPerUnit: { currencyCode: "USD", microAmount: 0 },
costType: "CPM",
discountType: "PERCENTAGE",
discount: 0,
contractedUnitsBought: 0,
creativePlaceholders: [
{
size: { width: 300, height: 600, isAspectRatio: false },
expectedCreativeCount: 1,
creativeSizeType: "PIXEL",
isAmpOnly: false,
},
],
environmentType: "BROWSER",
companionDeliveryOption: "UNKNOWN",
allowOverbook: false,
skipInventoryCheck: false,
skipCrossSellingRuleWarningChecks: false,
reserveAtCreation: false,
stats: {
impressionsDelivered: 870022,
clicksDelivered: 0,
videoCompletionsDelivered: 0,
videoStartsDelivered: 0,
viewableImpressionsDelivered: 0,
},
deliveryData: { units: [278, 278, 230, 281, 161, 372, 212] },
budget: { currencyCode: "USD", microAmount: 0 },
status: "DELIVERING",
reservationStatus: "UNRESERVED",
isArchived: false,
webPropertyCode: "",
disableSameAdvertiserCompetitiveExclusion: false,
lastModifiedByApp: "chris-gu",
competitiveConstraintScope: "POD",
lastModifiedDateTime: {
date: { year: 2022, month: 6, day: 30 },
hour: 9,
minute: 24,
second: 27,
timeZoneId: "America/Los_Angeles",
},
creationDateTime: {
date: { year: 2022, month: 4, day: 28 },
hour: 11,
minute: 53,
second: 52,
timeZoneId: "Europe/London",
},
isMissingCreatives: false,
youtubeKidsRestricted: false,
videoMaxDuration: 0,
primaryGoal: { goalType: "NONE", unitType: "IMPRESSIONS", units: -1 },
childContentEligibility: "DISALLOWED",
targeting: {
inventoryTargeting: {
targetedAdUnits: [{ adUnitId: "59342247", includeDescendants: true }],
},
customTargeting: {
logicalOperator: "OR",
children: [
{
attributes: { "xsi:type": "CustomCriteriaSet" },
logicalOperator: "AND",
children: [
{
attributes: { "xsi:type": "CustomCriteria" },
keyId: 232287,
valueIds: [309950712327],
operator: "IS",
},
{
attributes: { "xsi:type": "CustomCriteria" },
keyId: 238047,
valueIds: [448090692179],
operator: "IS",
},
{
attributes: { "xsi:type": "CustomCriteria" },
keyId: 266607,
valueIds: [309950945607],
operator: "IS",
},
],
},
],
},
},
},
] as const;