Exemple #1
0
get_network_dropdown($editdata['backfill_alt_2']);
?>
				      </select>
				    </p>
<p><input <?php 
if (isset($editdata['backfill_alt_3']) && is_numeric($editdata['backfill_alt_3'])) {
    echo 'checked="checked"';
}
?>
 id="backfill_alt_3_active" name="backfill_alt_3_active" type="checkbox" value="1" />
<label for="backfill_alt_3_active">
Alternative 3: If an ad-request can not be filled by Alternative 2, try to request an ad from
                      </label>
					  <select name="backfill_alt_3" id="backfill_alt_3">
 <?php 
if (!isset($editdata['backfill_alt_3'])) {
    $editdata['backfill_alt_3'] = '';
}
get_network_dropdown($editdata['backfill_alt_3']);
?>
				      </select>
				    </p>

</div> 
                         <!-- .notify -->
                    <script language="javascript">if (document.forms["crudpublication"].elements["zone_size"].value!='10'){hideadiv('widthzonediv'); hideadiv('heightzonediv');} else {showadiv('widthzonediv'); showadiv('heightzonediv');} if (document.forms["crudpublication"].elements["inv_type"].value=='3'){hideadiv('interstitialoptiobutton');} else {showadiv('interstitialoptiobutton');}
</script><?php 
if (isset($editdata['zone_type']) && $editdata['zone_type'] == 'interstitial') {
    ?>
<script language="javascript">hideadiv('zonesize'); checkdivs();</script><?php 
}
                             onclick="$.modal ({title: 'Campaign Types', html: '<div style=width:500px;;><h3>Direct Sold</h3>A direct sold campaign is a fixed campaign in the system, typically with a high priority and a limited number of impressions.<br><br><h3>Promotional</h3>A promotional campaign is a campaign cross-promoting other apps or products. Cross promotional campaigns typically have a low priority to only show when an ad space cannot be filled by direct sold campaigns or ad networks.<br><br><h3>Ad Network</h3>An ad network campaign is a campaign sending traffic to a particular network. If a network is unable to fill the ad-request, the system will automatically select the next campaign with a lower priority until an ad has been found. Ad Network campaigns are usually targeted by country in order to select the best-paying partner for a particular geographic.</div>'});"
                             title="Click for more info">Info</a>
                <label for="campaign_type">Campaign Type</label>
            </div>
        </div>
        <!-- .field-group -->

        <div id="network_select" style="display:none;" class="field-group">

            <div class="field">
                <select id="campaign_networkid" name="campaign_networkid">
                    <?php 
if (!isset($editdata['campaign_networkid'])) {
    $editdata['campaign_networkid'] = '';
}
get_network_dropdown($editdata['campaign_networkid']);
?>
                              </select> <a
                    class="tooltip" style="font-size:11px;" href="#"
                    onclick="$.modal ({title: 'Network Publisher IDs', html: '<div style=width:500px;;><h3>Ad Networks</h3>In order to start sending mobile traffic to an ad network of your choice, you will have to create an account with the advertising network and then enter the Publisher IDs/Site IDs on the <a href=\'ad_networks.php\' target=\'_blank\'>Network Configuration</a> page in your mAdserve ad server. mAdserve will then automatically send all your traffic to the respective ad network. Revenue and other Reporting metrics will be reported and visible directly in your account with the ad network.</div>'});">Publisher
                    ID Info</a>
                <label for="campaign_networkid">Ad Network</label>
            </div>
        </div>
        <!-- .field-group -->

        <div class="field-group">

            <div class="field">
                <select id="campaign_priority" name="campaign_priority">
                    <?php