Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ amp-ad New integrating ad networks support type: streamrail #23194

Merged
merged 4 commits into from Jul 31, 2019

Conversation

gershman
Copy link
Contributor

@gershman gershman commented Jul 8, 2019

Implemented streamrail ad integration

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). 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 (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@gershman
Copy link
Contributor Author

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@mrjoro
Copy link
Member

mrjoro commented Jul 17, 2019

/cc @ampproject/wg-ads @lannka

@gershman
Copy link
Contributor Author

@lannka Hi, I see that the Travis check: https://travis-ci.org/ampproject/amphtml/jobs/555752095 failed because of ".then" is forbidden. We take care of this by implementation our on pollyfill so it will support promises.

@lannka
Copy link
Contributor

lannka commented Jul 23, 2019

@gershman that sounds good if you have polyfill in your own code, we can make an exemption for your case.

However, to our past experience, it will be better for you to have less logic in AMP repo. I suggest you move code to your own custom JS, and have only code that handles configuration in AMP. That way you have less dependency on our release cycles to update/fix things.

That way, you probably also don't need to use Promise in AMP.

@lannka lannka self-requested a review July 23, 2019 14:34
@gershman
Copy link
Contributor Author

@lannka hi, I updated the code so it won't use Promise anymore.
I see that am still getting some tests fails ( tests/e2e), but don't which tests failed or the reason why. Any idea?

@lannka lannka merged commit 23b256e into ampproject:master Jul 31, 2019
@lannka
Copy link
Contributor

lannka commented Jul 31, 2019

the e2e test failure was irrelevant

@gershman gershman deleted the streamrail branch August 1, 2019 05:12
thekorn pushed a commit to edelight/amphtml that referenced this pull request Sep 11, 2019
…ject#23194)

* support amp-ad type=streamrail

* lint streamrail.js

* amp-ad streamrail change load script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants