You authored it on aem pages and in your query you are using type as type:dam:Asset which is incorrect. You need to select the type as page node type that you are looking for.
there will be different way of creating the query. You can also work with full text query.
pleas follow below docs to create...