question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

siteUrl reported for Property Sets is not user friendly

See original GitHub issue

If I create a Property Set, call it Foo, the siteUrl is some kinda of GUID, rather than Foo.

My application that uses the Java API to get a list of siteUrls to display to the user then looks really bad - I list a bunch of nice looking siteUrls, then the Property Sets are all sc-set:GUID . Here’s a code snippet:

 public List<String> getSites()
    {
        final List<String> verifiedSites = new ArrayList<>();

        try 
        {            
            final Webmasters.Sites.List request = mWebMasters.sites().list();
            final SitesListResponse siteList = request.execute();
            final List<WmxSite> siteEntries = siteList.getSiteEntry(); 

            if (siteEntries != null)
            {
                for (WmxSite currentSite : siteEntries) 
                {
                    final String permissionLevel = currentSite.getPermissionLevel();
                    if (!"siteUnverifiedUser".equals(permissionLevel))
                    {
                        verifiedSites.add(currentSite.getSiteUrl());
                    }
                }
            }
        } 
        catch (IOException e) 
        {
            LOGGER.warn("Failed to get verified sites " + e, e);
        }
        Collections.sort(verifiedSites);
        return verifiedSites;
    }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jadeklercommented, Jun 1, 2018

Hey @liamsharp - sorry for the slow replies. We’re fairly low on staff at the moment, and going through some release-process fixes that will help make releases easier and more frequent in the future. Once we’re done with the process fixes we’ll circle back around and take a look at these issues. Apologies again for the wait.

0reactions
liamsharpcommented, Feb 26, 2019

I’ve just got an email from Google with the title:

“Property sets no longer supported in Search Console after March 2019”

So I guess we can close this one off!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Property sets are not returning any values
Solved: I am using Property sets in Apigee Hybrid to store key value pairs. When I try to read the keys it gives...
Read more >
Mobile Usability report - Search Console Help - Google Support
The Mobile Usability report shows which pages in your property have ... Not usable: The page is not mobile friendly; Usable: The page...
Read more >
Tie your sites together with property sets in Search Console
Property Sets will treat all URIs from the properties included as a single presence in the Search Analytics feature. This means that Search...
Read more >
Using property sets | Apigee X - Google Cloud
Typically, you use property sets to store non-expiring data that shouldn't be hard-coded in your API proxy logic. You can access property set...
Read more >
How can I add a property set value "intern" automatically to ...
Open Tree view of Artifacts > navigate to your repository > Open Properties Tab > Select/add properties > Check mark Recursive.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found