{"id":57286,"date":"2009-05-27T14:47:53","date_gmt":"2009-05-27T14:47:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/selective-adsense\/"},"modified":"2009-05-27T14:47:53","modified_gmt":"2009-05-27T14:47:53","slug":"selective-adsense","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/selective-adsense\/","author":2997183,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"selective-adsense","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2009-05-27 14:47:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.danielmunoz.com.ar\/blog\/2009\/05\/27\/selective-adsense-wordpress-plugin","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":397,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":[],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-57286","plugin","type-plugin","status-closed","hentry","plugin_committers-danymt01"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/selective-adsense.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"","raw_excerpt":"<p>With Selective Adsense you can control where in the post the Ad will display, the alignment (left, none, right) of it, and which Ad, using an html tag. You also can make it choose randomly which Ad giving it a list to choose from. With the posibility to give more probabilities for some Ads.<\/p>\n<p>Selective Adsense also lets you give it a list of probable alignments to choose from. And also allows a php tag to put Ads on templates, giving a list of Ads to choose from (it doesn't support alignments on php tags).<\/p>\n<p>Usage:<\/p>\n<p>Inside Posts:<br \/>\nInsert this html comment:<br \/>\nThe comment will be replaced by the Ad. Wich Ad? Three probabilities for Ad#1, one for Ad#2, two for Ad#3 (3,1,1,2,3,1). Aligned how? Two probabilities for left, one for none and three for right [1,3,2,3,1,3].<\/p>\n<p>It replaces until three ads of the same category (Block, Link or Ref) are shown. After that, comments for this cagegory are replaced by null string. The other categories continues to be raplaced.<\/p>\n<p>On Template:<br \/>\nInsert this php function: SelectiveAdsense('4,1,1,2,3,1');<br \/>\nThe Ad will be shown at that place as is (no align, nothing). Three probabilities for Ad#1, one for Ad#3, one for Ad#3 and one for Ad#4.<\/p>\n<p>Supporting more Ads:<\/p>\n<p>If you want more than 20 Ads, you can change this value on the code:<br \/>\n$MAX_ADS=20;\n<\/p>","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/57286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=57286"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/danymt01"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=57286"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=57286"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=57286"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=57286"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=57286"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=57286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}