Invalid News Article Structured Data Pages
All pages with invalid news article structured data markup based on Google Search Developer documentation.
Priority: Medium
Impact: Negative
What issues it may cause
Invalid News Article structured data will not be used by search engines to help index the pages and they will instead rely on algorithms to correctly parse the required information.
How do you fix it
News Article structured data must include the following required properties to be valid: author, author name, datePublished, headline, image, publisher, publisher.logo, publisher.logo.url and publisher.name.
You can use tools like Rich Results Test to understand which fields are missing or incorrectly configured.
What is the positive impact
News Article structured data will be used by search engines to help index news articles.
How to fetch the data for this report template
You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query:
- Query
- Variables
- cURL
query GetReportStatForCrawl(
$crawlId: ObjectID!
$reportTemplateCode: String!
$after: String
) {
getReportStat(
input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode}
) {
crawlUrls(after: $after, reportType: Basic) {
nodes {
pageTitle
url
foundAtUrl
canonicalUrl
noindex
deeprank
level
indexable
newsarticleSchemaCount
newsarticleSchemaValid
newsarticleAuthorSchemaValue
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
totalCount
pageInfo {
endCursor
hasNextPage
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"pages_with_invalid_news_article_schema"}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"query GetReportStatForCrawl( $crawlId: ObjectID! $reportTemplateCode: String! $after: String ) { getReportStat( input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode} ) { crawlUrls(after: $after, reportType: Basic) { nodes { pageTitle url foundAtUrl canonicalUrl noindex deeprank level indexable newsarticleSchemaCount newsarticleSchemaValid newsarticleAuthorSchemaValue foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } totalCount pageInfo { endCursor hasNextPage } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"pages_with_invalid_news_article_schema"}}' https://api.lumar.io/graphql