CASAA and Yahoo APT

Events happening in the community are now at Drupal community events on www.drupal.org.
choloepus's picture

Hi,

I'm not sure where to start this discussion here, or on the CASAA's module page.

My problem is, that I can't seem to find a way to have different ad sizes on different pages with the CASAA using apt_plugin. I hope there are some members of the Yahoo!'s Newspaper Consortium here.

Let say we have a following setup:
Homepage - 2 leaderboards, 2 boxads
The rest - 2 leaderboards, 2 skyscrapers

If I define all 6 ads in the Global settings of the plugin, I can see all the ads/blocks being available, but the yld_mgr init code in the
header is wrong, since it initializes all 6 slots, and not just 4 being used on the page.

Comments

Interested in this as well

Katrina B's picture

I definitely want to follow this discussion; we're about to add Yahoo APT to the website I've been working on for the last several weeks. If there are any issues I can learn about ahead of time, that would be great.

Katrina
Site builder, writer, trainer, graphic designer

Not sure

yelvington's picture

Not sure this is a problem, because AFAIK, Yahoo only counts what's delivered. We have many cases in which the existence of a particular position is conditional.

I'll check with my peeps.

There is an issue ...

yelvington's picture

There is an open ticket in our internal tracking system, which says:

The APT plug-in currently puts in the config for all possible blocks into the ad call setup. It needs to put in only the config for blocks that are actually used on the page.

For example, if a site defines two 300x250 blocks but only uses (places) one, ads which should show on the page might be assigned to the unused block(s).

Yep, that's the one. Planning

choloepus's picture

Yep, that's the one.

Planning to use block_list to override the behavior, or use the 1 call - 1 ad call, where yld_mgr with 1 slot is re-initialized and called on each ad call.

Will look into this on monday

Ok. I have made some changes

choloepus's picture

Ok.

I have made some changes to the apt_plugin.module. This adds a list of checkboxes to the "Edit/Add Mapping" tab,
which lets you choose what ads to run on the page.

Patch Available Now

cntlscrut's picture

I have an official patch correcting this issue including some of the additions from choloepus.

In addition to the fixes for the ad slot mapping I including a fix addressing that when the addition is added it will turn off all slots by default until the slots are manually turned on. To avoid this, I made the slots all on by default until manually adjusted.

The patch also includes updates to the topic id categories.

http://drupal.org/node/712728#comment-2619450

CASAA official release.

cntlscrut's picture

http://drupal.org/node/727138

This release contains the fixes for the APT plug-in as well as many fixes coming from issues submitted in the issues queue.

For more info please refer to the above link.

-=g

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: