Hi,
It appears there is a pretty big problem with the Ad Factory component regarding Google deprecating the Maps API 2 version.
I am attaching a copy of the services settings that are now available in Google when one signs up for an API key.
I have identified that if I set our API key it breaks several things on any page with Google maps in it with error "ReferenceError: google is not defined" pointing to this line:
load_gmaps(google.maps.MapTypeId.HYBRID,{pointTox:40.7XXXX,pointToy:-74.00XXXX},7,'map_canvas',620,400,'listmap');gmap_centermap({pointTox:34.95XXXX,pointToy:-92.XXXXXX}); }
I think these URLS, found in two files of Ads Factory:
maps.google.com/maps?file=api&v=2&am...opt_google_key."
are being ultimately transformed/redirected by Google to this:
maps.googleapis.com/maps/api/js?key=XXXX...XXX&sensor=false
per this:
developers.google.com/maps/documentation...ript/v2/introduction and viewing the new URL in rendered page source.
I tried adding a sensor=false to your URL (and if I change it to true in your files it changes to true in rendered page to identify it) but with or without I get the above mentioned error and the tabbed info table breaks apart.
If I remove the Map key (clear the map key field & save) immediately the errors all disappear and the form table straightens back up, but then the problem is that I am unable to create a new Ad properly because without the Map data it fails to publish fully/correctly and breaks at the location fields.
I would be happy to provide direct links privately if needed but you probably have a dev setup too.
I believe this may be helpful to see where the script may need to be adjusted to be able to work now that Google has completely deprecated the V2 API:
developers.google.com/maps/documentation/javascript/v2/v2tov3
towards the bottom there is a fairly straightforward example.
Additionally, referencing the api link as just // in the future would probably be better to not break SSL (the current way gives mixed content errors).
Thanks for your help making the component functional on this.