- Set name
- Select advertiser
- Add line items
- Set name
- Select inventory
- Can contain ad units, deployments, or publishers
- Select priority (1 - 5)
- Higher number will serve before lower number
- Select days/dates to display
- Can be individual days
- Can be a date range (all days within it)
- Set status
- Enable a way to pause/stop a line item, or leave it in draft
- Add ads
- Set name
- Set width/height
- Set click URL
- Upload image asset
[click|image]/{adunitId}?date=2019-14-01T08:50:00-0600&[email protected]@rand={random}&send={identifier}
Deleted (deleted: true|false
)
Defaults to false.
Determines if the ad has been outright deleted from the system.
Ads can be deleted via the interface.
Paused (paused: true|false
)
Defaults to false.
Determines if the ad is paused
Ads can be paused via the interface.
Ready (ready: true|false
)
Defaults to false.
Determines if the ad is ready to be delivered.
Is controlled (and saved) by the backend. Is not toggleable in the interface.
Is true when:
- The image ratio is compatible with the ad
width
andheight
fields
This field is not saved directly on the model and, instead, is calculated using flags.
In priority order (acts like a switch
block):
- Deleted
- When
deleted: true
- When
- Incomplete
- When
ready: false
- When
- Paused
- When
paused: true
- When
- Active
- When all of the above criteria are not met
Deleted (deleted: true|false
)
Defaults to false.
Determines if the line item has been outright deleted from the system.
Line items can be deleted via the interface.
Ready (ready: true|false
)
Defaults to false.
Determines if the line item is ready to be delivered.
Is controlled (and saved) by the backend. Is not toggleable in the interface.
Is true when:
- The
dates.start
anddates.end
values are both set, ordates.days
is set and not empty. - The
targeting
value has a least one id set (for either ad units, deployments, or publishers). - The line item has at least one
Active
ad.
Paused (paused: true|false
)
Defaults to false.
Is directly toggleable in the interface.
This field is not saved directly on the model and, instead, is calculated using flags.
In priority order (acts like a switch
block):
- Deleted
- When
deleted: true
- When
- Finished
- When
dates.end
or the newest/greatestdates.day
value is less than or equal to now
- When
- Incomplete
- When
ready: false
- When
- Paused
- When
paused: true
- When
- Running
- When
dates.start
or the oldest/leastdates.day
value is less than or equal to now
- When
- Scheduled
- When all of the above criteria is not met
On advertiser.name
change, the advertiserName
will be updated on related
- orders
- lineitems
- ads
On order.name
change, the orderName
will be updated on related
- lineitems
- ads
On order.advertiserId
change, the advertiserId
and advertiserName
will be updated on related
- lineitems
- ads
On order.advertiserId
change, the advertiserId
will be updated where order.id === orderId
on
- events
On lineitem.name
change, the lineitemName
will be updated on related
- ads
On lineitem.orderId
change, the orderId
, orderName
, advertiserId
, and advertiserName
will be updated on related
- ads
On lineitem.orderId
change, the orderId
will be updated where lineitem.id === lineitemId
on
- events
On ad.lineitemId
change, the lineitemName
, orderId
, orderName
, advertiserId
, and advertiserName
will be updated on itself
On ad.lineitemId
change, the lineitemId
, orderId
and advertiserId
will be updated where ad.id === adId
on
- events
On ad.lineitemId
change, the lineitemId
will be updated where ad.id === adId
on
- correlators
On publisher.name
change, the publisherName
will be updated on related
- deployments
- adunits
On deployment.name
change, the deploymentName
will be updated on related
- adunits
On deployment.publisherId
change, the publisherId
and publisherName
will be updated on related
- adunits
On deployment.publisherId
change, the publisherId
will be updated where deployment.id === deploymentId
on
- events
On adunit.deploymentId
change, the deploymentName
, publisherId
, and publisherName
will be updated on itself
On adunit.deploymentId
change, the publisherId
and deploymentId
will be updated where adunit.id === adunitId
on
- events