Settings

Before you begin:

Login to your AdButler.com account and locate the "Settings" page.
Find the field labeled "Wordpress Key" and copy/paste the code here.

Don't have an account?

You need an active AdButler.com subscription to be able to serve ads with our plugin.


'Asynchronous JavaScript (Recommended)', 'asyncbeta' => 'Asynchronous JavaScript (1.1 Beta)', 'js' => 'JavaScript', 'iframe' => 'Iframe', 'if_html' => 'Iframe (HTML Only)', 'img' => 'Image (Basic)' ); $responsive_type_list = array( 'asyncjs' => 'Asynchronous JavaScript (Recommended)', 'asyncbeta' => 'Asynchronous JavaScript (1.1 Beta)', 'js' => 'JavaScript', 'img' => 'Image (Basic)', ); ?>

Interval Ads

> >
id="adbutler_interval_ads_enable" name="adbutler_interval_ads_enable" onchange="adbutler.handle_post_feed_enable(this)" />
$category) { ?>


/>
/>

Header Bidding

> ms
= 1 ? $_POST['adbutler_nth_post'] : 1; update_option(adbutler_interval_ads::OPTION_NTH_POST, $nth_post); $start_nth_post = $_POST['adbutler_start_nth_post'] >= 0 ? $_POST['adbutler_start_nth_post'] : 0; update_option(adbutler_interval_ads::OPTION_START_NTH_POST, $start_nth_post); update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_PAGES, $_POST['adbutler_restrict_to_pages']); if ($_POST['adbutler_restrict_to_pages'] === 'on') { update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_CATEGORY_IDS, $_POST['adbutler_restrict_to_category_ids']); update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_HOME, $_POST['adbutler_display_on_home']); update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_FRONT_PAGE, $_POST['adbutler_display_on_front_page']); } else { update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_CATEGORY_IDS, []); update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_HOME, false); update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_FRONT_PAGE, false); } } else { update_option(adbutler_interval_ads::OPTION_RESTRICT_TO_PAGES, false); } } private static function update_header_bidding_settings() { update_option('adbutler_hb_timeout', $_POST['adbutler_hb_timeout']); } private static function update_ab_key() { check_admin_referer('spark_permission_check', 'nonce_check'); $new_key = $_POST['adbutler_key']; $error = ''; if (adbutler_plugin::validate_adbutler_key($new_key)) { update_option('adbutler_key', $new_key); } else { $error = "The key you entered was invalid."; } return $error; } /** * Displays the form required to enter a new API key */ private static function enter_new_key($error) { ?>
Your AdButler key has been registered!