Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » AdInserter retains previous parameters

  • Resolved sytou34

    (@midi-vin)


    Hi,

    I have changed a setting several times.
    Some information appears to have been retained.
    I had set up a poster after the H2 tags and then I wanted a display after each paragraph (from the first to the 3rd).
    Here’s the trace I get :
    [After Paragraph][Center][html_selector: h2][server_side_insertion: Before Post][paragraph_number: 1 to 3]
    Thank you for your help.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Spacetime

    (@spacetime)

    Please enable remote debugging and post website address:
    https://wordpress.org/support/topic/ad-inserter-support-how-to-ask-for-help/

    
    <!--
    
    Ad Inserter              2.3.8
    
    INSTALLED:               2018-04-06 21:43:47 (0000-00-15 19:18:42, 15 days)
    GENERATED (WP time):     2018-04-22 17:02:29
    GENERATED (Server time): 2018-04-22 17:02:29
    PLUGIN CODE PROCESSING:  7.19 ms
    USER   CODE PROCESSING:  0.00 ms
    TOTAL PROCESSING TIME:   7.19 ms
    SETTINGS:                2.3.8
    SETTINGS TIMESTAMP:      2018-04-22 14:08:21
    SETTINGS EXTRACT:        YES
    MULTISITE:               NO
    USER:                    LOGGED-IN ADMINISTRATOR
    USERNAME:                sytou
    USER ROLES:              administrator
    MIN.USER FOR EXCEPTIONS: administrator
    PAGE TYPE:               POST
    ID:                      56
    POST TYPE:               post
    CATEGORIES:              Alimentation (alimentation)
    TAGS:                    
    TAXONOMIES:              category:alimentation
    POST META:               _edit_lock:1524404888:1, _edit_last:1, _thumbnail_id:57, _wp_page_template:default, _adinserter_block_exceptions:, ocean_gallery_link_images:off, _aioseop_description:Découvrez tous ces ingrédients qui pimentent la cuisine russe au quotidien. Des spécialités russes à manger (koulitch, paska, kissel, teftelle, zakouski, naflifki) que l'on associera bien évidemment avec les spécialités russes à boire., _aioseop_title:Spécialités russes à manger : aneth, ail, carvi, sésame ..., ocean_sidebar:0, ocean_second_sidebar:0, ocean_disable_margins:enable, ocean_display_top_bar:default, ocean_display_header:default, ocean_center_header_left_menu:0, ocean_custom_header_template:0, ocean_header_custom_menu:0, ocean_disable_title:default, ocean_disable_heading:default, ocean_disable_breadcrumbs:default, ocean_display_footer_widgets:default, ocean_display_footer_bottom:default, ocean_link_format_target:self, ocean_quote_format_link:post, _facebook_shares:0, _totes:0, swp_pinterest_image_url:, swp_cache_timestamp:423449
    AMP PAGE:                NO
    URL:                     /alimentation/specialites-russes-a-manger-0056
    REFERER:                 www.de-tout-et-de-rien.fr (http://www.de-tout-et-de-rien.fr/alimentation/specialites-russes-a-manger-0056)
    CLIENT-SIDE DETECTION:   NOT USED
    CLIENT-SIDE INSERTION:   USED
    VIEWPORT 1:              Desktop          min width 980 px
    VIEWPORT 2:              Tablet           min width 768 px
    VIEWPORT 3:              Phone            min width 0 px
    SERVER-SIDE DETECTION:   NOT USED
    BLOCK CLASS NAME:        code-block
    INLINE STYLES:           ENABLED
    DYNAMIC BLOCKS:          Server-side
    PARAGRAPH COUNTING:      Standard
    NO PAR. COUNTING INSIDE: blockquote, figure, li
    OUTPUT BUFFERING:        Disabled
    AD LABEL:                Publicités
    MAIN CONTENT:            
    PLUGIN PRIORITY:         99999
    HEADER CODE:             DISABLED
    FOOTER CODE:             DISABLED
    AD BLOCKING DETECTION:   DISABLED
    
    BLOCK SETTINGS           Po Pa Hp Cp Ap Sp AM Aj Fe 404 Wi Sh PHP
     1 Block 1               o  .  .  .  .  .  .  o  .  .   x  .  .   [After Paragraph][Center][html_selector: h2][server_side_insertion: Before Post][paragraph_number: 1 to 3]
     2 Block 2               .  .  o  .  .  .  .  o  .  .   .  .  .   [Footer][Center]
     3 Block 3               o  o  o  o  .  o  .  o  .  .   x  .  .   [After HTML element][Default][html_selector: #search-2][html_insertion: 0]
     4 Block 4               o  .  o  .  .  .  .  o  .  .   x  .  .   [Disabled][Default]
    
    EXCEPTIONS FOR BLOCKS    ID     TYPE                      TITLE                                                            URL
    
    TOTAL BLOCKS
    CONTENT HOOK:            1
    FOOTER HOOK:             2, 3
    
    BLOCKS FOR THIS PAGE TYPE
    CONTENT HOOK:            1
    FOOTER HOOK              3
    
    TIME  EVENT
    ======================================
       0  INITIALIZATION START
       0  LOAD SETTINGS START
       0  LOAD OPTIONS START
       0  LOAD OPTIONS END
       3  LOAD SETTINGS END
       0  INITIALIZATION END
    
     103  WP HOOK START
       0  WP HOOK END
    
      50  HEAD HOOK START
       0  HEAD HOOK END
    
      17  CONTENT HOOK START [1]
       0  <p>D’origine turco-mongole, les Tatares, qui à partir du  ... ="swp_share"> +1</span></span></span></span></a></div></div>  [885]
       0  BLOCK 1 INSERTION POSITIONS: 2
       0  BLOCK 1 INSERTED
       0  CONTENT HOOK END
    
      21  FOOTER HOOK START
       0  BLOCK 3 INSERTED
       0  FOOTER HOOK END
    
       0  FOOTER HOOK START
       0  FOOTER HOOK END
    
    INSERTION SUMMARY
    ======================================
    BLOCK  1 INSERTED 
    BLOCK  3 INSERTED 
    
    PHP:                     7.0.29
    Memory Limit:            2048M
    Upload Max Filesize:     512M
    Post Max Size:           512M
    Max Execution Time:      360
    Max Input Vars:          2000000
    Display Errors:          
    cURL:                    ENABLED
    fsockopen:               ENABLED
    DOMDocument:             YES
    
    Wordpress:               4.9.5
    Current Theme:           OceanWP 1.5.12
    
    A INSTALLED PLUGINS
    ======================================
    * Ad Inserter 2.3.8
    * Akismet Anti-Spam 4.0.3
    * All In One SEO Pack 2.5
    * Elementor 2.0.7
      Hello Dolly 1.6
    * Ocean Extra 1.4.11
    * Social Warfare 2.3.5
    * WP Search Console 0.8.49
    
    -->
    
    • This reply was modified 1 year, 10 months ago by Jan Dembowski. Reason: Fixed formatting
    Plugin Author Spacetime

    (@spacetime)

    If you need help you need to enable remote debugging, post website address and clearly descibe which code blocks are not inserted as expected.

    How to enable remote debugging ?
    I programmed Ad-Inserter to display an ad after each paragraph block (from 1 to 3) in the post.

    Plugin Author Spacetime

    (@spacetime)

    Tab Debugging

    Done.

    Plugin Author Spacetime

    (@spacetime)

    Required data is still missing.

    What required data ?

    Plugin Author Spacetime

    (@spacetime)

    Which block is not inserted properly?

    I see block 1 with code for AdSense auto ads inserted into the content.
    This code should go to the <head> section:
    https://adinserter.pro/adsense-ads#auto-ads

    Paragraph number parameter accepts only list of comma separated paragraph numbers:
    https://adinserter.pro/documentation#paragraphs

    Block 3 is inserted in the sidebar.

    I move the code for AdSense auto ads in the head section.
    I corrected the list of paragraphs using a list like this: 1,3
    I’m waiting to see if Google Auto Adsense works properly in a few hours.
    Thank you for your help.

    Plugin Author Spacetime

    (@spacetime)

    OK.

    1,3 means before/after paragraphs 1 and 3.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘AdInserter retains previous parameters’ is closed to new replies.