Google DFP Ads disappear
This topic contains 13 replies, has 3 voices, and was last updated by Kiran 7 years, 9 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
December 12, 2017 at 9:10 am #409192
Hi Stiofan,
I’ve got an issue 5-6 months ago that has not been resolved yet.
https://wpgeodirectory.com/support/topic/google-dfp-ads-disappear/1. So basically the DFP ads I have setup shows up for at least a second and disappears.
2. I tried to disable all plugins. Activate Supreme Directory and the DFP ad works and does not appear.
3. I found out that if I turn on GEODIRECTORY plugin, that is where the bug occurs.SAMPLE:
http://sngdev.org/2014/09/30/traders-drive-for-members/4. The AD is located at the right sidebar: below the text “mrec” and above the text “MREC ABOVE”
(See uploaded attachments )
5. When Geodirectory plugin is turned on the DFP MREC AD disappears. When GEodirectory plugin is deactivated, DFP MREC AD Appears.
I can provide credentials needed. Let me know.
Wordpress 4.9.1
Geodirectory 1.6.25December 12, 2017 at 5:48 pm #409242Hello!
Just to clarify, you said”
2. I tried to disable all plugins. Activate Supreme Directory and the DFP ad works and does not appear.
Did you mean to say “does not disappear”?
Please make a private reply with your site login URL and WP Admin credentials so we can take a look.
December 13, 2017 at 1:29 am #409297This reply has been marked as private.December 13, 2017 at 4:00 pm #409378Hello!
You can use the Code Snippets plugin to add a common snippet that will dequeue GeoDirectory Javascript on non-GD pages.
https://wpgeodirectory.com/docs/common-code-snippets/#remove-gd-scripts
https://wpgeodirectory.com/docs/useful-plugins/#snippetsDecember 13, 2017 at 11:45 pm #409456Hi Alex,
I’m not sure what you mean. I assume you are telling me to DEQUEUE Geodirectory Javascript?
1. Does it mean if I de-queue GD Javascript it will fix the issue?
2. FYI the DFP ads also need to show up on GD Pages. The sidebar is universal means it will need to appear across the site.However I will try to do and apply the links you provided. I assume if I apply them on my GD Listings, the GD listings will break.
3. So basically I need to make the DFP work across the site. DFP works but breaks when I activate GEODIRECTORY.
Thanks,
MarcoDecember 14, 2017 at 2:05 pm #409542This reply has been marked as private.December 18, 2017 at 4:14 am #409852Hi Kiran,
Thanks for all the help 🙂
Just want to ask if there are any updates on this? Any leads?
Thanks,
MarcoDecember 18, 2017 at 8:31 am #409889This reply has been marked as private.December 18, 2017 at 11:33 am #409918Hi Marco,
The ads becomes invisible when jQuery Autocomplete JavaScript file is loaded. jQuery Autocomplete JavaScript file is loaded via GeoDirectory plugin and that file is in WordPress includes/jquery directory.
To fix this conflict i have added few lines of code (check function gd_fix_geodir_fix_script_conflict() ) in your child theme functions.php
Now ads seems working fine.
Please check and confirm from your side.
Thanks,
KiranDecember 18, 2017 at 11:55 pm #409982Hi Kiran,
I initially checked and YES it is working on my side.
However, I need to check if this fix applies to my other sites and other pages. Will let you know if the fix is working.
Thanks,
MarcoDecember 19, 2017 at 4:50 am #409988This reply has been marked as private.January 7, 2018 at 10:55 pm #411865UPDATE:
I am still working on this and check if fix applies on my other sites.
Thanks
January 8, 2018 at 4:40 am #411879This reply has been marked as private.January 8, 2018 at 8:13 am #411888This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket