Skip to content

Commit

Permalink
Update pixad.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihkaya84 committed Jan 15, 2024
1 parent 0c0eed5 commit 9bf1ca4
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions ads/vendors/pixad.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,41 @@
### Basic

```html
<amp-ad
type="pixad"
width="300"
<amp-ad
type="pixad"
width="300"
height="250"
data-ad-type-id="standard"
data-ad-network="px-pub-6514176248"
data-ad-network="px-pub-6514176248"
data-ad-publisher="654b7d501cd4137ca98e020d">
</amp-ad>
```

### Sticky Ad

```html
<amp-sticky-ad layout="nodisplay">
<amp-ad
type="pixad"
width="320"
height="100"
data-ad-type-id="778130932"
data-ad-network="px-pub-6514176248"
data-ad-publisher="654b7d501cd4137ca98e020d">
</amp-ad>
</amp-sticky-ad>
```

Note that `<amp-sticky-ad />` component requires the following script to be included in the page:

```html
<script
async
custom-element="amp-sticky-ad"
src="https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js"
></script>
```

## Configuration

For details on the configuration semantics, see [Pixad documentation](https://developer.pixad.com.tr/).
Expand Down

0 comments on commit 9bf1ca4

Please sign in to comment.