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

✨Add "conative" ad network support to amp-ad #25038

Merged
merged 8 commits into from Oct 16, 2019

Conversation

mkdefinemedia
Copy link
Contributor

This adds "conative" ad network support to amp-ad.

@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 with @googlebot 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.

@amp-owners-bot amp-owners-bot bot requested a review from zhouyx October 14, 2019 16:32
@zhouyx zhouyx requested review from calebcordry and removed request for zhouyx October 14, 2019 17:02
@mkdefinemedia
Copy link
Contributor Author

fyi: i'm still waiting for the CLA

Copy link
Member

@calebcordry calebcordry left a 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,
Copy link
Member

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']);
Copy link
Member

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?

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

ads/conative.md Outdated
<amp-ad
height="250"
width="300"
type="conative"
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, my bad! done!

@calebcordry calebcordry merged commit 8a150b6 into ampproject:master Oct 16, 2019
@calebcordry
Copy link
Member

Thanks for the contribution!

joshuarrrr pushed a commit to Parsely/amphtml that referenced this pull request Oct 22, 2019
* 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
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
* 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
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

3 participants