# Display an out-of-page ad

# Display an out-of-page ad

This example displays an out-of-page ad using the Google Publisher Tag library.
Learn more about out-of-page ads in the
[Google Ad Manager help center](https://support.google.com/admanager/answer/6088046).

## Sample implementation

[View demo](https://googleads.github.io/google-publisher-tag-samples/display-out-of-page-ad/js/demo.html)

### JavaScript

## Loading...

<iframe id="builder" class="fixed-size" loading="lazy"></iframe>

## Loading...

[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/display-out-of-page-ad/js) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback:+display-out-of-page-ad/js)

### TypeScript

## Loading...

<iframe id="builder" class="fixed-size" loading="lazy"></iframe>

## Loading...

[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/display-out-of-page-ad/ts) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback:+display-out-of-page-ad/ts)