From 63ae1672ad94efc9e2fff369a0939f364b6e9147 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Mon, 3 Feb 2020 17:18:42 -0500 Subject: [PATCH] Add note about CSP to DFP, AdSense, and AdButler settings Ad networks that serve javascript files won't work unless CSP is disabled (a bad idea), or the content security policy script src site setting is updated to include all sources of permitted javascript. We will keep instructions up-to-date in the first post of this topic: https://meta.discourse.org/t/33734 --- config/locales/server.en.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 28ee76d..a29c679 100755 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -9,7 +9,7 @@ en: house_ads_frequency: "If other ad networks are configured to show in an ad slot, how often should house ads be shown, as a percentage." ads_txt: "Contents of your ads.txt file. More details available at this Google AdSense help page." - dfp_publisher_id: "Input your Google Ad Manager (formerly called DFP) network code, which is found in your network settings." + dfp_publisher_id: "Input your Google Ad Manager (formerly called DFP) network code, which is found in your network settings. NOTE: You will need to update the 'content security policy script src' setting. See this topic for the latest instructions." dfp_publisher_id_mobile: "(Optional) If you want to use a different Ad Manager publisher id for the mobile version of the site, enter it here. Leave blank to use dfp_publisher_id on mobile." dfp_through_trust_level: "Show your ads to users based on trust levels. Users with trust level higher than this value will not see ads." @@ -42,7 +42,7 @@ en: dfp_target_post_bottom_key_code: "Input custom targeting keys - inventory Level" dfp_target_post_bottom_value_code: "Input custom targeting values - inventory Level" - adsense_publisher_code: "Your publisher ID. Enter only the number, excluding 'pub-'." + adsense_publisher_code: "Your publisher ID. Enter only the number, excluding 'pub-'. NOTE: You will need to update the 'content security policy script src' setting. See this topic for the latest instructions." adsense_through_trust_level: "Show your ads to users based on trust levels. Users with trust level higher than this value will not see ads." adsense_topic_list_top_code: "Enter code of the ad unit to display at topic list top location. This is the number assigned to the ad unit, not the JavaScript code." adsense_mobile_topic_list_top_code: "Enter code of the ad unit to display mobile ads at topic list top location. This is the number assigned to the ad unit, not the JavaScript code." @@ -106,14 +106,14 @@ en: carbonads_topic_list_top_enabled: "Show an ad above the topic list" carbonads_above_post_stream_enabled: "Show an ad above the post stream" - adbutler_publisher_id: "AdButler Publisher ID" + adbutler_publisher_id: "AdButler Publisher ID. NOTE: You may need to update the 'content security policy script src' setting. See this topic for the latest instructions." adbutler_mobile_topic_list_top_zone_id: "Zone ID for mobile topic list top location" adbutler_mobile_topic_above_post_stream_zone_id: "Zone ID for mobile topic above post stream location" - adbutler_mobile_post_bottom_zone_id: "Zone ID for mobile post bottom location" + adbutler_mobile_post_bottom_zone_id: "Zone ID for mobile post bottom location" adbutler_mobile_topic_above_suggested_zone_id: "Zone ID for mobile topic above suggested location" adbutler_topic_list_top_zone_id: "Zone ID for topic list top location" adbutler_topic_above_post_stream_zone_id: "Zone ID for topic above post stream location" - adbutler_post_bottom_zone_id: "Zone ID for post bottom location" + adbutler_post_bottom_zone_id: "Zone ID for post bottom location" adbutler_topic_above_suggested_zone_id: "Zone ID for topic above suggested location" adbutler_nth_post: "Show an ad after every N posts, where N is this value" adbutler_through_trust_level: "Show your ads to users based on trust levels. Users with trust level higher than this value will not see ads"