Conversation
|
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
For any issues please file a bug at https://github.com/google/github-owners-bot/issues |
|
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.
|
|
@ampprojectbot retry! |
|
CLAs look good, thanks! |
|
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 |
|
@lannka Hi, now CI test has all passed, I would like you to review our code. |
|
@zhouyx Could you review this PR? |
examples/ads.amp.html
Outdated
| type="fluct" | ||
| data-g="1000067784" | ||
| data-u="1000101409"> | ||
| <div placeholder></div> |
There was a problem hiding this comment.
with default placeholder supported. no need to add placeholder and fallback here.
extensions/amp-ad/amp-ad.md
Outdated
| - [E-Planning](../../ads/eplanning.md) | ||
| - [Ezoic](../../ads/ezoic.md) | ||
| - [FlexOneELEPHANT](../../ads/f1e.md) | ||
| - [fluct](../../ads/fluct.md) |
There was a problem hiding this comment.
Our corporate name is "fluct"(not "Fluct").
|
|
||
| For more information, please [contact us](https://corp.fluct.jp/en/contact.php). | ||
|
|
||
| Supported parameters: |
There was a problem hiding this comment.
From your code, data-g and data- should be mandatory. please indicate they're required in the doc.
ads/fluct.js
Outdated
| */ | ||
| export function fluct(global, data) { | ||
| validateData(data, ['g', 'u']); | ||
| writeScript(global, `https://cdn-fluct.sh.adingo.jp/f.js?G=${data['g']}`, function() { |
There was a problem hiding this comment.
use encodeURIComponent to wrap data['g'] please
There was a problem hiding this comment.
please follow the max 80 characters rule.
| 'https://cdn-fluct.sh.adingo.jp', | ||
| 'https://s.sh.adingo.jp', | ||
| 'https://i.adingo.jp', | ||
| ], |
There was a problem hiding this comment.
Please consider implementing the render-start and no-content-available APIs (see Available APIs), which helps AMP to provide user a much better ad loading experience.
Please let me know if there's any question
There was a problem hiding this comment.
We are not supported API which kind of detect ad status(start rendring and no content) yet.
|
Thank you for your review. |
|
@ampprojectbot retry! |
ads/fluct.js
Outdated
| export function fluct(global, data) { | ||
| validateData(data, ['g', 'u']); | ||
| writeScript(global, | ||
| `https://cdn-fluct.sh.adingo.jp/f.js?G=${encodeURIComponent(data['g'])}`, |
There was a problem hiding this comment.
extra indentation needed for code can't fall in one line. (need 2 more here and below).
|
Fixed indent. |
|
@saxsir LGTM. Please rebase to sync with master in order to make travis green. |
Remove placeholder and fallback ampproject#8176 (comment) Add required param description ampproject#8176 (comment) Use encodeURIComponent ampproject#8176 (comment) ampproject#8176 (comment) indent
|
rebased. @zhouyx Thank you very much! |
|
Oops. @saxsir seems someone changes amp-ad.md as well. Please rebase again to fix the conflict, and then it should be good to be merged. |
Remove placeholder and fallback ampproject#8176 (comment) Add required param description ampproject#8176 (comment) Use encodeURIComponent ampproject#8176 (comment) ampproject#8176 (comment) indent
|
Oh... rebased. @zhouyx |
|
@saxsir Thanks for the Pull Request. Merged. |
Hi, we want to add fluct into the supported SSP for amp-ad.
We have signed Google Corporate CLA.
Corporation name: fluct, Inc.
Thank you very much !