In APA 7th, you can use a link shortener (like tinyurl or bitly) to create a URL for your reference list. Make sure the link you are shortening is stable, e.g. you can still click on the link several days later and it will still take you to that article.
In APA 6th, if you cannot find the DOI of a journal article, use the URL of the homepage of the journal, not the URL of the article itself. Google the name of the journal to find the URL of the journal's homepage and use that instead.
Do not use the links that One Search gives you when you click on the cite options. Those URLs are likely to take you to the record in One Search rather than the article. Instead, go to the article itself and find either the URL for the article or the URL for the journal.
See more information on this page of the APA Guide.
We acknowledge the Australian Aboriginal and Torres Strait Islander peoples as the first inhabitants of the nation and acknowledge Traditional Owners of the lands where our staff and students, live, learn and work.