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

Webediads : amp-ad submission #2562

Merged
merged 1 commit into from Mar 18, 2016
Merged

Webediads : amp-ad submission #2562

merged 1 commit into from Mar 18, 2016

Conversation

Lith
Copy link
Contributor

@Lith Lith commented Mar 11, 2016

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 you signed the CLA as a corporation, please let us know the company's name.

@Lith
Copy link
Contributor Author

Lith commented Mar 11, 2016

I signed it!

@erwinmombay
Copy link
Member

@dvoytenko PTAL

/** Created by Webedia on 07/03/16 */
export function webediads(global, data) {
checkData(data, ['site', 'page', 'position', 'query']);
validateDataExists(data, ['site', 'page', 'position', 'query']);
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to confirm: all fields are mandatory, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

In particular, I'm asking because I believe validateDataExists would assert on empty data-query as in the example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, all fields are mandatory, but data-query can be empty.
I will change that, in order to have more flexibility.

@dvoytenko
Copy link
Contributor

Looks great. I posted one question for validateDataExists above. Besides that, could you please:

  1. Reference your plugin in builtins/amp-ad.md
  2. Optionally, if you'd like, add an example to examples/ads.amp.html
  3. Squash your commits

@googlebot
Copy link

CLAs look good, thanks!

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@googlebot
Copy link

CLAs look good, thanks!

@Lith
Copy link
Contributor Author

Lith commented Mar 16, 2016

Hi @dvoytenko,
I've doing everything you ask, except the example ads (because our ad system is exclusively used by our company, and we cannot provide live example for now).
Thanks,

@dvoytenko
Copy link
Contributor

@Lith this looks great. LGTM. Could you please just squash the commits? I need to be able to merge.

@Lith
Copy link
Contributor Author

Lith commented Mar 17, 2016

Hi @dvoytenko, I'm sorry but I'm not sure to understand. We have only one commit with all files modified (5 files). The two others commits are just "merged with master" (in order to have the latest version on my forked version). If I try to squash my commit with older merge, this will create a tree completely broken (concerning my opinion).
Are you sure than I need to squash all commits since I have forked the project , into one ?
Thanks for your help :)

@jridgewell
Copy link
Contributor

@Lith: Try git pull --rebase ampproject master (assuming the ampproject/amphtml repo is called ampproject in your clone). That'll get rid of the merge commits.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

Webediads - "amp-ad" submission for our internal ad serving system
(Webedia SAS).
- Implementation of a new call system with smallest init script
- Full documentation for our team
- Lenny faces support
- Add "Webediads" into the list of supported ad-network
@googlebot
Copy link

CLAs look good, thanks!

@Lith
Copy link
Contributor Author

Lith commented Mar 18, 2016

Thanks for your help @jridgewell ! Hope everything looks great now :)

@jridgewell
Copy link
Contributor

Ping @dvoytenko.

@dvoytenko
Copy link
Contributor

LGTM! Thanks!

dvoytenko added a commit that referenced this pull request Mar 18, 2016
Webediads : amp-ad submission
@dvoytenko dvoytenko merged commit d13831a into ampproject:master Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants