Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
Add A8 ad network for amp-ad. |
|
CLAs look good, thanks! |
3p/integration.js
Outdated
| } | ||
| for (let i = 0; i < allowedHostnames.length; i++) { | ||
| // Either the hostname is exactly as whitelisted… | ||
| // Either the hostname is exactly as whitelisted... |
ads/a8.js
Outdated
| @@ -0,0 +1,27 @@ | |||
| /** | |||
| * Copyright 2016 The AMP HTML Authors. All Rights Reserved. | |||
ads/a8.md
Outdated
| @@ -0,0 +1,36 @@ | |||
| <!--- | |||
| Copyright 2016 The AMP HTML Authors. All Rights Reserved. | |||
ads/a8.md
Outdated
| data-mat="2TCGYR-17GNXU-3L92-64Z8X" | ||
| data-type="static" | ||
| > | ||
| </amp-ad>``` |
There was a problem hiding this comment.
git won't recognize ``` in same line. new line instead
| > | ||
| </amp-ad>``` | ||
|
|
||
| ## Configuration |
There was a problem hiding this comment.
So data-aid is required, while other 5 params are optional. Let's document this here.
examples/ads.amp.html
Outdated
| </div> | ||
|
|
||
| <h2 id="a8">A8</h2> | ||
| <amp-ad width="300" height="250" |
examples/ads.amp.html
Outdated
| data-mid="s00000016751001031000" | ||
| data-mat="2TCGYR-17GNXU-3L92-64Z8X" | ||
| data-type="static" | ||
| > |
ads/a8.md
Outdated
| @@ -0,0 +1,36 @@ | |||
| <!--- | |||
| Copyright 2016 The AMP HTML Authors. All Rights Reserved. | |||
ads/a8.js
Outdated
| @@ -0,0 +1,27 @@ | |||
| /** | |||
| * Copyright 2016 The AMP HTML Authors. All Rights Reserved. | |||
|
Hi, ampproject bot here! Here are a list of the owners that can approve your files. You may leave an issue comment stating "@ampprojectbot retry!" to force me to re-evaluate this Pull Request's status /to cramforce dvoytenko
/to lannka zhouyx
/to camelburrito lannka
For any issues please file a bug at https://github.com/google/github-owners-bot/issues |
|
@zhouyx Thank you for review! Oh...I'm so sorry. My code was not clean... |
Cleaned indent. Add params description.
|
@zhouyx |
zhouyx
left a comment
There was a problem hiding this comment.
LGTM with two more minor requests
ads/a8.js
Outdated
| * @param {!Object} data | ||
| */ | ||
| export function a8(global, data) { | ||
| validateData(data, ['aid'], ['wid','eno','mid','mat','type']); |
ads/a8.md
Outdated
| ## Configuration | ||
|
|
||
| Required:data-aid | ||
| Optional:data-wid,data-eno,data-mid,data-mat,data-type |
There was a problem hiding this comment.
nit: Please view the doc on git. You will notice they are in the same line. Please fix
There was a problem hiding this comment.
How about writing like this.
Required parameter:
- data-aid
Optional parameters:
- data-wid
- data-eno
- data-mid
- data-mat
- data-type
|
Hi, ampproject bot here! Here are a list of the owners that can approve your files. You may leave an issue comment stating "@ampprojectbot retry!" to force me to re-evaluate this Pull Request's status /to cramforce dvoytenko jridgewell
/to lannka zhouyx
/to camelburrito lannka
/to lannka zhouyx
For any issues please file a bug at https://github.com/google/github-owners-bot/issues |
|
Thank you for your review! It's my first PR to open source project. You are really good at me. |
|
@szk-fancs Thanks for the Pull Request! You are very welcome! This PR looks great, Merged. |
* master: (34 commits) Prevent amp-carousel next/previous icons fade away on desktop (ampproject#8428) Turn on flag slidescroll-disable-css-snap” (ampproject#8436) Revert "temporarily turn off yarn (ampproject#8356)" (ampproject#8384) initial commit (ampproject#8404) Upgrades for Index Exchange amp-ad tags to report load statistics (ampproject#8054) amp-bind validation tweak (ampproject#8414) Fix an amp-instagram race condition (ampproject#8192) Use whitelist to restrict urlReplacement for scoped analytics element (ampproject#8360) Report active experiments in error logs (ampproject#8108) amp-bind: Catch exceptions in mutatedAttributesCallback (ampproject#8383) Fixing custom scroll-snap on IOS (ampproject#8391) Add experiment for using AmpContext class in integration.js (ampproject#8348) add (ampproject#8349) swipe api (ampproject#8357) skip 3 flaky tests (ampproject#8388) amp-bind: Expression complexity limit (ampproject#8321) add margin-bottom (ampproject#8350) Flying carpet: make container full viewport and center content (ampproject#8292) Service Registration: Document Click (ampproject#7882) Add a8ad (ampproject#8036) ...
* Support ads “A8” . * Comment change. * Add “renderStartImplemented=true”. * Changed copyrights “2017”. Cleaned indent. Add params description. * Changed writing format.
Add A8 ad network for amp-ad.
Corporation name: F@NCommunications,Inc