Please vote for a new feature or suggest any: http://minnur.wufoo.com/forms/simpleads-wishlist/

Comments

minnur’s picture

UPDATE:
Working on integration with Views and Domain Access modules.
Keep suggesting new features! I will implement the most asked ones as I will have free time.

minnur’s picture

Please download development version to test Views integration.
1. http://drupal.org/node/1375716

minnur’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
minnur’s picture

UPDATE:
1. Working on Draggable order.
2. Implementing support of Domain Access module for blocks (already works for blocks created via Views (see development version))

minnur’s picture

Please get the latest code from GIT repo: git clone --branch 7.x-1.x http://git.drupal.org/project/simpleads.git
Latest version has:
- Integration with Views module
- Integration with Domain Access module
- Integration with Nodequeue module

minnur’s picture

UPDATE:

7.x-1.7 released:
- Integration with Views module
- Integration with Domain Access module
- Integration with Nodequeue module

Currently working:

- Campaigns (will support campaigns by clicks/impressions)

adrnand’s picture

Do you plan to add Channels? I am trying to figure out how to assign ads to different sections and sub sections of my site without creating too many blocks.

minnur’s picture

Update:
Currently I am working on some other project, will get back to this module very soon.
I will add Campaigns to the next release.

Thank you for using SimpleAds module.

MtRoxx’s picture

First: Thank you for a great module.

Wish List

1) To be able to send advertisers an email showing how well their ads are working on our website.
2) To generate a report of how ads did during a certain campaign. It would be wonderful if the stats were available in views. Then we could play with different ways to present data.

minnur’s picture

Status: Active » Needs review
minnur’s picture

Project update:
- Implementing Ad Campaigns.

minnur’s picture

If anyone interested in Campaigns module, please download development version of SimpleAds (enable Campaigns submodule). Please report any problems.
Thank you.

minnur’s picture

Status: Needs review » Active
minnur’s picture

@Mt_Roxx

per item 2. Stats now available in Views.
See dev. version.

minnur’s picture

Any other suggestions ?

dgastudio’s picture

yes:
1. transform Active Date and End Date, from simple text field to date field.
2. geotargeting please...
http://www.plethoradesign.com/blog/drupal/583-geo-targeted-blocks-based-...
+
http://drupal.org/project/ip2country

thank you

sketman’s picture

I would suggest to add new permission "Access own ad statistics", which allows users to access only statistics of ads they created. This would ofcourse require that users are added as authors of ads in sites where new ads are created by administrators.

minnur’s picture

edit own SimpleAd content type permission might work.

minnur’s picture

I am currently very busy with some projects, will get back to this module as soon as I will have some capacity.

minnur’s picture

Update: I will begin working on version 2.0 this Fall-Winter.

sketman’s picture

Features module support.
Currently I can not see the Ad nor Campaign node types in the available content types in features.
I think it would be great to have this possibility.
Is it possible please?
Thanks...

dries arnolds’s picture

What is the status on 2.0? I see a dev version, but there's only one issue tagged with 7.x-2.x that is on needs work or needs review. Two are tested and reviewed. Is there a list of differences between 1.x and 2.0? Is there (or going to be) an upgrade path?

Maybe an alpha or beta version of 2.0 would help things forward. I'd be happy to test and review patches.

proteo’s picture

I'd like to see some token replacement in the URL field. For example, some of our ad clients send us click tracking URLs that must include the timestamp of the click like this:

http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=tf&c=20&mc=click&pli=12345678&PluID=0&ord=[timestamp]

At this moment, I just hacked the _simpleads_redirect() function in order to replace a defined token in the URL string.

Haven't had a chance to use the 2.x branch, but I see that it now requires the Link module to handle the URL field. Does it mean that token replacement would be easier to implement?

cimo75’s picture

Hi I d like to have Adsense support, it would just be a new ad type, with an extra field for the Label of the event to track.

It would be also usefull to be able to disable the Simpleads statitics.

Simone

SDOCpub’s picture

I'd like to be able to edit the names of ad groups, instead of just adding new ones.

cimo75’s picture

Responsive ads!

billy66’s picture

Hi,

A nice addition to the SimpleAds module would be the possibility to have Ads with different time delays between them.
Currently this is controlled by the block as a whole and not by Ad itself.
This would be a good way of prioritizing how Ads are displayed.

proteo’s picture

With "responsive ads" you may mean something different, but I think what you are asking for is a way to enable/disable ads depending on the user's device.

If I'm right, and while "proper" responsive ads support would be nice, if you don't mind a bit of hacking this is quite easy to achieve right now using the Context module (in conjunction with Context mobile detect). Here's a mini tutorial for the 7.x-1.x branch:

1. Install both modules and its associated libraries, create a new context (call it "mobile_context") and make sure you've added a "Device type" condition to it in which both "Mobile" and "Tablet" options are checked.

2. Add a new Boolean custom field to the Simple Ad content type, call it "Only for mobile devices" or something similar and use "field_ad_is_mobile" as machine name. Configure the rest of the options as you like, but make sure to allow only one value.

3. Modify the _simpleads_load_ads() function located in simpleads.helper.inc as follows:

function _simpleads_load_ads($tid, $limit) {

  $result = array();
  $term_ids = array();

  if (is_array($tid)) $term_ids = $tid; else $term_ids[] = $tid;

  if (is_numeric($limit)) {

    $ad_settings = _simpleads_adgroup_settings($tid);
    $order_delta = isset($ad_settings['ads_order']) ? $ad_settings['ads_order'] : 'random';
    $queries = module_invoke_all('simpleads_order', $order_delta, $term_ids, $limit);

    if (count($queries) > 0) {
      // Get currently active contexts
      $contexts = context_active_contexts();
      // The array key "mobile_context" will exist only on mobile devices
      $is_mobile = array_key_exists('mobile_context', $contexts);
      foreach ($queries as $i => $query) {
        foreach ($queries[$i] as $row) {
          $node = node_load($row->nid);
          $active = TRUE;
          if (isset($node->field_ad_is_mobile[$node->language])) {
            // Check if the ad has been labeled as "Only for mobile devices"
            if ($is_mobile && $node->field_ad_is_mobile[$node->language][0]['value'] != 1) {
              $active = FALSE;
            }
          }
          if (isset($node->field_ad_status[$node->language])) {
            if ($node->field_ad_status[$node->language][0]['value'] != 1) {
              $active = FALSE;
            }
          }
          if ($active) {
            $result[] = _simpleads_ads_data($node);
          }
        }
      }
    }

  }

  return $result;
}

And that's pretty much all of it. Warning: I didn't test the code, but it should work or get you close enough. Create or edit some ads and set the "Only for mobile devices" for testing (note that you must do the testing on actual mobile devices or use one of the emulators available for your development platform).

Best regards.

cimo75’s picture

Hi
I ve used context_breakpoints instead but it works nicely, thanks!
It works also for 2.x as the function hasn t changed
S.

DrCord’s picture

Issue summary: View changes

I would like to be able to embed ads in outgoing emails sent with Forum Email Integration (FEmail) module for Drupal 7 and possibly other modules as well.

minnur’s picture

Status: Active » Closed (won't fix)