One way that ocean could be used as an adjective (a word that modifies a noun or pronoun), would be to change its form. If you make ocean possessive, it would be considered an adjective, as all possessive forms are adjectives.
For example:
The ocean's foam was thick and frothy.
In this example, the word ocean's modifies the noun foam. Because it modifies a noun, it is an adjective. Any word that modifies a noun or pronoun is an adjective.
.........................................................................................................................................
You could use ocean as an adjective (a word that modifies a noun or pronoun) by alluding to some aspect of its qualities. For instance, the view of an ocean is far and wide as you can see. So, you could refer to an ocean of people were at the speech.
In the example you used, "the view of an ocean is far and wide as you can see," the word "ocean" functions as the object of a preposition. All objects are nouns or pronouns, so this would be incorrect. In that example, the word "ocean" functions as a noun.
He was an ocean man, one who spent his life on the sea.
"Ocean water has more salt than fresh water."
Not very often but Something I can think of is "ocean view" Becuz u r describing the view with the word ocean.
there is no adjective in this sentence, an adjective describes a noun
There is no adjective in this sentence.
There is no adjective in that sentence.
There is no predicate adjective in that sentence.
The adjective in that sentence is empty.
the adjective is 'no'.
There is no adjective in that sentence.
The adjective in that sentence would be skillfully.
Extravagant is the adjective in this sentence.
NO but in the sentence "Use of the word "in" as an adjective is IN these days" the IN is an adjective