I just searched Google for:

c# get object property by name ios

Google returned this result: How to get property name and its value?

Searching that page for iOS turns up nothing. But the search summary shows:

C# How can I get the value of a string property via Reflection? public class myClass { public .... Lead iOS Developer. After School

This looks to me like the Careers ad was showing "Lead iOS Developer" when the Google bot found this answer. Shouldn't ad content be excluded from the content that indexes the Q&A pages?


This is a problem for Google to fix, not for Stack Overflow.

Pages on Stack Overflow are correctly marked up using Schema.org mark-up, giving Google all the information needed to know what parts of the page are important:

<html itemscope itemtype="http://schema.org/QAPage">
        <h1 itemprop="name">Question title</h1>
        <div ... itemprop="text">Question body</div>

        <div ... itemscope itemtype="http://schema.org/Answer">
            <div ... itemprop="text">Answer body</div>
        <!-- multiple answers possible -->

But if Google wants to include the advertisement copy in their search results anyway, then that's their responsibility and we cannot do anything to prevent them, short of loading advertisement copy entirely asynchronous (which means a possible performance hit) or serving Google alternative content (which they frown upon).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .