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
✨Add "conative" ad network support to amp-ad #25038
✨Add "conative" ad network support to amp-ad #25038
Conversation
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 with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
fyi: i'm still waiting for the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing! Looking good so far. Feel free to ping me when you get your CLA sorted.
@@ -351,6 +351,10 @@ const adConfig = jsonConfiguration({ | |||
prefetch: 'https://static.clmbtech.com/ad/commons/js/colombia-amp.js', | |||
}, | |||
|
|||
'conative': { | |||
renderStartImplemented: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verified renderStart
is being called. 👍
ads/conative.js
Outdated
* @param {!Object} data | ||
*/ | ||
export function conative(global, data) { | ||
validateData(data, ['domain', 'adslot', 'height']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are able to add optional params as a third arg to this function. Would you like to include preview
here?
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
ads/conative.md
Outdated
<amp-ad | ||
height="250" | ||
width="300" | ||
type="conative" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can you indent all these to the same level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, my bad! done!
Thanks for the contribution! |
* added 'conative' ad network * added 'conative' ad network * added 'conative' ad network * passed 'preview' as optional parameter to validateData() * Revert "passed 'preview' as optional parameter to validateData()" This reverts commit 1e8160a. * passed 'preview' as optional parameter to validateData() * fixed linter error * fixed line intendation
* added 'conative' ad network * added 'conative' ad network * added 'conative' ad network * passed 'preview' as optional parameter to validateData() * Revert "passed 'preview' as optional parameter to validateData()" This reverts commit 1e8160a. * passed 'preview' as optional parameter to validateData() * fixed linter error * fixed line intendation
This adds "conative" ad network support to amp-ad.