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

adding sekindo ads #11935

Merged
merged 9 commits into from Mar 19, 2018
Merged

adding sekindo ads #11935

merged 9 commits into from Mar 19, 2018

Conversation

nissSK
Copy link
Contributor

@nissSK nissSK commented Nov 5, 2017

No description provided.

@googlebot
Copy link

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. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If your company signed a CLA, they designated a Point of Contact who decides which employees are authorized to participate. You may need to contact the Point of Contact for your company and ask to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the project maintainer to go/cla#troubleshoot.
  • In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again.

@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Nov 6, 2017
@ampprojectbot ampprojectbot added this to the Pending Triage milestone Nov 6, 2017
@nissSK
Copy link
Contributor Author

nissSK commented Nov 20, 2017

Hello Amphtml team,
Should we do any additional action in order for our pull request to be reviewed?

Thanks,

@nissSK
Copy link
Contributor Author

nissSK commented Jan 23, 2018

I signed it!

@cathyxz cathyxz added this to TODO in 3P Ads & Analytics Support via automation Feb 23, 2018
Copy link
Contributor

@zhouyx zhouyx left a comment

Choose a reason for hiding this comment

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

@nissSK Sorry for the delay here!
The Pull Requests looks good. I left few comments.

@@ -623,6 +623,9 @@ export const adConfig = {

rubicon: {},

sekindo: {
renderStartImplemented: true,
},
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: new line

ads/sekindo.js Outdated
@@ -0,0 +1,45 @@
/**
* Copyright 2017 The AMP HTML Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: 2018

ads/sekindo.js Outdated
export function sekindo(global, data) {
validateData(data, ['spaceid']);
const pubUrl = encodeURIComponent(global.context.sourceUrl);
const excluedsSet = {ampSlotIndex: 1, type: 1};
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: typo?

ads/sekindo.js Outdated
}
}
}
loadScript(global, 'https://live.sekindo.com/live/liveView.php?' + query, () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: 80 chars limit

ads/sekindo.md Outdated
@@ -0,0 +1,33 @@
<!---
Copyright 2017 The AMP HTML Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: 2018

@@ -1194,6 +1194,12 @@ <h2>Rubicon Project Smart Tag</h2>
json='{"visitor":{"age":"18-24","gender":"male"},"inventory":{"section":"amp"}}'>
</amp-ad>

<h2>Sekindo</h2>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add your example to this form as well.
Also please sort them in alphabetic order. This goes after rubicon


__Required:__

- `data-spaceId` - Adunit unique id
Copy link
Contributor

Choose a reason for hiding this comment

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

Just FYI:
data-spaceId will be converted to data['spaceid']
data-space-id will be converted to data['spaceId']

@zhouyx zhouyx self-assigned this Mar 2, 2018
@zhouyx zhouyx moved this from TODO to In Review in 3P Ads & Analytics Support Mar 2, 2018
@lannka lannka removed their request for review March 3, 2018 23:22
@sekindo
Copy link

sekindo commented Mar 15, 2018

@zhouyx Happy to see us in the queue :)
I committed the fixes according to your CR comments,
Thanks,

Copy link
Contributor

@zhouyx zhouyx left a comment

Choose a reason for hiding this comment

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

@sekindo Looks good to me.
To fix the percy test please rebase to master.
Travis fail because of lint check. Please fix indentation and sort function names in alphabetical order. You can use gulp lint to check, and gulp lint --fix for a quick auto fix.

ads/sekindo.js Outdated
}
}
loadScript(global,
'https://live.sekindo.com/live/liveView.php?' + query, () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

please fix indentation to pass the lint check.

ads/sekindo.js Outdated
* limitations under the License.
*/

import {validateData, loadScript} from '../3p/3p';
Copy link
Contributor

Choose a reason for hiding this comment

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

please sort in alphabetical order to fix lint check

@sekindo
Copy link

sekindo commented Mar 18, 2018

@zhouyx , We committed the needed changes, I see that we are still failing on travis But I cant see how it's related to our changes.

@zhouyx zhouyx merged commit ce5c99d into ampproject:master Mar 19, 2018
3P Ads & Analytics Support automation moved this from In Review to Done Mar 19, 2018
@zhouyx
Copy link
Contributor

zhouyx commented Mar 19, 2018

@sekindo Seems like a flaky test. All tests passed! Thanks for the Pull Request. Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants