{"id":152755,"date":"2022-01-31T05:01:33","date_gmt":"2022-01-31T05:01:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/snack-ads\/"},"modified":"2025-11-28T09:06:58","modified_gmt":"2025-11-28T09:06:58","slug":"snack-ads","status":"publish","type":"plugin","link":"https:\/\/eo.wordpress.org\/plugins\/snack-ads\/","author":6624553,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.1","stable_tag":"2.1.1","tested":"6.9.4","requires":"5.3","requires_php":"7.0","requires_plugins":null,"header_name":"Snack Ads","header_author":"Petr Paboucek -aka- BoUk","header_description":"Allows to display Ad units managed by Snack Media Ad Ops team remotely","assets_banners_color":"ce3656","last_updated":"2025-11-28 09:06:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/wpadvisor.co.uk","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1606,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"2.1.0":{"tag":"2.1.0","author":"bouk","date":"2022-01-31 05:02:11"},"2.1.1":{"tag":"2.1.1","author":"bouk","date":"2025-11-28 09:06:58"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2669525,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2669525,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2669525,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2669525,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.1.0","2.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[368],"plugin_category":[35],"plugin_contributors":[180361],"plugin_business_model":[],"class_list":["post-152755","plugin","type-plugin","status-publish","hentry","plugin_tags-advertising","plugin_category-advertising","plugin_contributors-bouk","plugin_committers-bouk"],"banners":{"banner":"https:\/\/ps.w.org\/snack-ads\/assets\/banner-772x250.png?rev=2669525","banner_2x":"https:\/\/ps.w.org\/snack-ads\/assets\/banner-1544x500.png?rev=2669525","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/snack-ads\/assets\/icon-128x128.png?rev=2669525","icon_2x":"https:\/\/ps.w.org\/snack-ads\/assets\/icon-256x256.png?rev=2669525","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is a solution for the remote management of ad units for websites in the Snack Media advertising network.<\/p>\n\n<p>Snack Media are a Google-certified partner, based in the UK, who specialise in optimising and monetising websites, working with a network of over 400 websites. We offer an advanced advertising set-up - header and exchange bidding across programmatic, video, native rich media etc.<\/p>\n\n<p>We have specialised teams across ad-operations, tech, editorial and sales to help publishers grow their digital revenues and provide IAB approved solutions for GDPR &amp; CCPA.<\/p>\n\n<p>We also offer a range of additional products, tools and services to help publishers drive traffic, maximise engagement and optimise user experience.<\/p>\n\n<p>To find out more, head to <a href=\"https:\/\/www.snack-media.com\/publishers\/?utm_source=wp-plugin-repository\">Snack Media<\/a> or contact <a href=\"mailto:&#106;&#097;&#109;&#x65;&#x73;&#x6d;&#064;&#115;&#110;&#097;&#x63;&#x6b;&#x2d;&#109;&#101;&#100;&#x69;&#x61;&#x2e;c&#111;&#109;\">jamesm@snack-media.com<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the contents of this .zip file into '\/wp-content\/plugins\/snack-ads' on your WordPress installation, or via the 'Plugins-&gt;Add New' option in the Wordpress dashboard.<\/li>\n<li>Activate the plugin via the 'Plugins' option in the WordPress dashboard.<\/li>\n<li>Open your wp-config.php and define SNACK_ADS_CONFIG_NAME constant - e.g. <code>define( 'SNACK_ADS_CONFIG_NAME', 'example.com' );<\/code><\/li>\n<li>Enable different ad units on your site by executing PHP code such as <code>&lt;?php \\Snack\\Ads\\Helpers\\snackAdverts::getInstance()-&gt;printCode( 'desktop', 'leaderboard' ); ?&gt;<\/code><\/li>\n<li>In case you are unsure about the setup, please contact support@snack-media.com.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Updating tested up to version<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Sorting PHP error thrown by register_rest_route<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Correctly handle ads for multisite instances<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First stable release of the plugin<\/li>\n<\/ul>","raw_excerpt":"Handles automatic update of ad units for publishers who advertise with Snack Media.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/152755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=152755"}],"author":[{"embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bouk"}],"wp:attachment":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=152755"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=152755"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=152755"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=152755"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=152755"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=152755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}