Google Awareness Location Fence is not working - google-awareness

I tried using Google Awareness API for Location Fence:
https://medium.com/exploring-android/exploring-the-new-google-awareness-api-bf45f8060bba
But it's not working all times, is there any special trick?

please refer this blog.
its working fine.
https://inthecheesefactory.com/blog/google-awareness-api-in-action/en

Related

Locality parameter not working with googlemapsapi

I have code that used to work great which was taken directly from google developers tools. It is the autocomplete addressform. It still works but it is not saving the city parameter? Everything else is working and even if I check it on the google developers site it does not work? Have they changed something or is there an error they need to know about?
Googlemaps have changed the parameters, locality is now postal_town. I imagine a lot of people may be affected by this. Strange there is no documentation for this change and even their own site has not implemented it??!!!
I can confirm, google recently changed this field for UK. I have an web app that depended of this and I had to fix it.

Google DFP safeframe/friendlyframe Issue

Recently ran into some trouble with Google DFP that I'm hoping others have had.
We have a site that's served via SSL and it contains some Google DFP ad tags. Google DFP's debugging console shows no errors in the tags or our implementation of them. (i.e. the tags themselves are fine)
However, the ads are getting served via different methods. Some of the iframes get served as FriendlyFrames and some get served as SafeFrames. The SafeFrame ads appear correctly. The FriendlyFrame ads don't show up.
It appears that the FriendlyFrame ads are running afoul of some sort of browser security measure (likely because the pages are served via SSL).
I looked into this in the DFP docs but haven't found anything that explains how to solve the issue. There is a setForceSafeFrame method available that I've tried to use but it doesn't actually seem to do anything when I try to use it:
https://developers.google.com/doubleclick-gpt/reference#googletag.PassbackSlot_setForceSafeFrame
I've setup a test page demonstrating the issue here:
https://methnen.com/ad-test
There should be 5 separate ads on the page. If you get all of them refresh the page until you get at least one ad that doesn't show. The broken ads are being served as a FriendlyFrames.
Really hoping someone knows what the heck is going on.
FYI and possibly helpful for anyone else who might run into this at a later date:
Turns out the Ad Ops person hadn't set things up on their end to have enough inventory to fill all of the slots and there was nothing wrong with the tagging at all. The empty FriendlyFrames are apparently what DFP serves up when it decides it doesn't have anything to fill a given slot.
Try to force render all ads in SafeFrame
googletag.pubads().setForceSafeFrame(true);
More about it here https://developers.google.com/doubleclick-gpt/reference#googletag.PassbackSlot_setForceSafeFrame

Best way to set up Google Analytics for domain, subdomain and subdirectories

I have a website with following domain and folder structure:
Main Website: www.ry.com
Subdomain1: mobile.ry.com
Subdomain2: speed.ry.com
Directory1: www.ry.com/mobile
Directory2: www.ry.com/blog
I have just started setting up Google Analytics for this and I am totally confused as to what are the best practices that should be followed? Should I consider them as individual properties or just 1 property. Should I be setting up a different GA code for each one of these?
Ideally, I would like to track all of it at one place but at the same time, using some filters be able to see the traffic on any one of the subdomains/subdirectories.
I started reading up about Universal Analytics but got totally confused and some of the posts were outdated as GA and UA seems to have changed significantly in the recent times.
Please advise me about how to set this up or point me to any good blogs or urls that are a rich resource.
This is one of the most complete answers I've found for this question.
http://moz.com/blog/cross-domain-subdomain-tracking-in-google-analytics

Show google map in my site with particular location in asp. net

I want to show google map in my site with pointing a location in the google maps in asp.net can anybody help me please....steps to get the key and all those stuff....
Thank u
You can use Google maps api in your asp.net page.
You will find helt at http://www.codeproject.com/Articles/291499/Google-Maps-API-V3-for-ASP-NET
Take a look at the below sample code.
Its pretty straight forward
http://www.codeproject.com/Articles/291499/Google-Maps-API-V3-for-ASP-NET
Here is the specific one you are looking for.
http://www.aspdotnet-suresh.com/2013/01/show-user-current-location-on-google.html

geo location with safari

This will appear to a duplicate question but please consider this. I am doing an application with google map. my client need to load the places around the visitor, so i am trying to use geolocation. But all the google results and stackoverflow results shows, its impossible with wired network in Safari to get the location. Is there any other possibility that it can be implemented?(i have tried to use Modernizr and the Webshims even its example fails in safari, so i think no hope for that too)
my reference website is foursquare.com. its work perfect with map. is it using google map geolocation?
First of all i dont know is this the exact answer. But i find out a solution for my problem. I used geoLiteCity.dta database to get the location details from the IP addess. Then i Used geocoder to get the location in the map from that address. I am not sure is it a proper way or not, but as far as i am getting the locations. If there is any better way please let me know. Thanks

Resources