Skip to content

Commit

Permalink
Update amp-ad-network-doubleclick-impl-internal.md (#13154)
Browse files Browse the repository at this point in the history
Updating required attributes on fluid ads, as these have changed as of the validator rollup: #12544.
  • Loading branch information
glevitzky authored and keithwrightbos committed Jan 30, 2018
1 parent 47b925e commit 1aba429
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Note that SRA is not available in the following cases:
4. Publishers don't use the amp-ad attribute [`useSameDomainRenderingUntilDeprecated`](https://github.com/ampproject/amphtml/blob/master/ads/google/doubleclick.md#temporary-use-of-usesamedomainrenderinguntildeprecated)

### Fluid (alpha)
A fluid ad slot does not require a publisher to specify its size. Instead, the publisher may simply declare an ad slot with the attribute `height="fluid"`, and a creative of indeterminate size will be returned. The actual size of the slot will be determined by the given creative at render time. It will always occupy the maximum available width, and its height will be determined relative to that width. One benefit of this feature is that, like multi-size, it increases monetization potential by increasing the available pool of creatives that may be rendered in a particular slot. Moreover, this feature relieves the publisher of having to worry about determining what size a slot should use.
A fluid ad slot does not require a publisher to specify its size. Instead, the publisher may simply declare an ad slot with the attributes `layout="fluid" height="fluid"`, and a creative of indeterminate size will be returned. The actual size of the slot will be determined by the given creative at render time. It will always occupy the maximum available width, and its height will be determined relative to that width. One benefit of this feature is that, like multi-size, it increases monetization potential by increasing the available pool of creatives that may be rendered in a particular slot. Moreover, this feature relieves the publisher of having to worry about determining what size a slot should use.

Note that due to AMP's no reflow policy, the fluid creative will not be rendered when the slot is within the viewport and it is therefore recommended that fluid be used for below the fold slots.

Expand All @@ -179,6 +179,7 @@ An example slot might look like:
<amp-ad
type="doubleclick"
data-slot="/6355419/Travel"
layout="fluid"
height="fluid">
</amp-ad>
```
Expand Down

0 comments on commit 1aba429

Please sign in to comment.