Files
luxr-prototype/debug_checks.html
2011-04-07 18:09:46 -04:00

122 lines
2.9 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>untitled</title>
<style type="text/css" media="screen">
body {
font: 75%/1.5 "Helvetica Neue", Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
color: #999;
font-weight: normal;
margin: 0;
}
h2 {
font-size: 12px;
}
#container {
margin: 0 auto;
width: 1099px;
}
dt {
float: left;
font-size: 14px;
font-weight: bold;
text-align: right;
width: 350px;
}
dd {
background: #eee;
border: 1px solid #ccc;
font-size: 14px;
margin: 0 0 10px 360px;
}
</style>
</head>
<body>
<div id="container">
<h1>Checks the following for the campaign:</h1>
<h2>Flight dates</h2>
<dt>start_date &gt; now</dt>
<dd>&nbsp;</dd>
<dt>end_date &lt; now</dt>
<dd>&nbsp;</dd>
<h2>Active status</h2>
<dt>status != active</dt>
<dd>&nbsp;</dd>
<h2>Lifetime budget</h2>
<dt>stats.spend > lifetime_budget</dt>
<dd>&nbsp;</dd>
<h2>Lifetime imp budget</h2>
<dt>stats.imps > lifetime_budget_imps</dt>
<dd>&nbsp;</dd>
<h2>Daily budget</h2>
<dt>stats.spend > daily_budget</dt>
<dd>&nbsp;</dd>
<h2>Daily imp budget</h2>
<dt>stats.imps > daily_budget_imps</dt>
<dd>&nbsp;</dd>
<h2>Creatives pending audit or failed</h2>
<dt>audit_status != audited</dt>
<dd>&nbsp;</dd>
<h2>Creatives prohibited</h2>
<dt>is_prohibited = true</dt>
<dd>&nbsp;</dd>
<h2>Creatives inactive</h2>
<dt>state != active</dt>
<dd>&nbsp;</dd>
<h1>Checks the following for the advertiser:</h1>
<h2>Active status</h2>
<dt>status != active</dt>
<dd>&nbsp;</dd>
<h1>Checks the following for the line item:</h1>
<dt style="height:2em;">Advertiser currency <br/><span style="font-size:10px;line-height:1em;">(pulls from different field if advertiser currency != "USD")</span></dt>
<dd>&nbsp;</dd>
<h2>Flight dates</h2>
<dt>start_date &gt; now</dt>
<dd>&nbsp;</dd>
<dt>end_date &lt; now</dt>
<dd>&nbsp;</dd>
<h2>Active Status</h2>
<dt>status != active</dt>
<dd>&nbsp;</dd>
<h2>Lifetime budget</h2>
<dt>stats.revenue > lifetime_budet</dt>
<dd>&nbsp;</dd>
<h2>Lifetime imp budget</h2>
<dt>stats.imps > lifetime_budget_imps</dt>
<dd>&nbsp;</dd>
<h2>Daily budget</h2>
<dt>stats.revenue > daily_budget</dt>
<dd>&nbsp;</dd>
<h2>Daily imp budget</h2>
<dt>stats.imps > daily_budget_imps</dt>
<dd>&nbsp;</dd>
<h1>Checks the following for the member:</h1>
<h2>Active status</h2>
<dt>status != active</dt>
<dd>&nbsp;</dd>
<h2>Contract approved</h2>
<dt>contract_approved != true</dt>
<dd>&nbsp;</dd>
<br/>
<h2>Maintains a count of errors/warnings/etc. for each object type (campaign, advertiser, etc.)</h2>
<h1>Inputs:</h1>
<h2>Campaign ID via form field</h2>
</div>
</body>
</html>