Hi everyone,
I'm a developer working on a project that involves ad integration, and I have a question about the AdRequest class.
I'm confused about the purpose of the PageUrl field. I understand it's related to the page where the ad will be displayed, but I'm not sure if it's required or what it's used for behind the scenes.
For example, if I'm building an Android app, should I always set this? What about for a mobile website?
Could someone please clarify the following:
What is the core function of PageUrl?
Is there any preparation(e.g need verified by google) need to do with the url that use in PageUrl?
Hi,
Thank you for reaching out to the IMA SDK Support team.
The pageUrl field is available only in the HTML5 IMA SDK for websites and is not supported on Android. This parameter is optional and it specifies the full url of the page that will be included in the Google ad request for targeting purposes.If specified, this value will be used for the [PAGEURL] VAST macro.
No special approval is required to use it but just make sure the URL is valid and properly formatted.
![]() |
IMA SDK Team |
[2025-09-23 18:27:00Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u7I6D:ref" (ADR-00333496)