Jump to content
Search Community

Amp Ads with greenshock

amihanya test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I don't think you can.

 

"AMP HTML uses a set of contributed but centrally managed and hosted custom elements to implement advanced functionality such as image galleries that might be found in an AMP HTML document. While it does allow styling the document using custom CSS, it does not allow author written JavaScript beyond what is provided through the custom elements to reach its performance goals."

 

https://www.ampproject.org/docs/fundamentals/spec

 

Also "Transition and animation are subject to additional restrictions.    AMP must be able to control all animations belonging to an ad, so that it can stop them when the ad is not on screen or system resources are very low."

 

https://www.ampproject.org/docs/ads/a4a_spec#allowed-amp-extensions-and-builtins

 

& here's more specific info about how to create these ads: https://www.ampproject.org/docs/ads/create_amphtml_ad

  • Like 3
Link to comment
Share on other sites

Hi amihanya,

 

Thanks for asking about this.

 

As seen in the info ohem provided, its clear that a foundational principle of AMP is to heavily restrict what developers can do with their pages.

AMP is all about everything looking and performing the same way (to ensure super fast load time and performance). They don't want developers meddling around and coming up with new transitions / effects for image galleries, UI elements or anything else. 

 

The types of award winning sites (such as found in our showcase) that professional animators, developers, and designers love to build are pretty much what AMP doesn't want to support. 

 

Oh, and just a little note: it's GreenSock, not Greenshock :mrgreen:

 

Thanks for your support. Glad to see you enjoying GSAP!

  • Like 2
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

I just want to mention that if you're looking to create AMPHTML banners, TweenUI now supports exporting amp ads. So there's actually a way to use Greensock to build amp ads - since TweenUI itself is built on GSAP :) (but the amp banners do not have any GSAP in them).

  • Like 3
Link to comment
Share on other sites

23 hours ago, erik said:

I just want to mention that if you're looking to create AMPHTML banners, TweenUI now supports exporting amp ads. So there's actually a way to use Greensock to build amp ads - since TweenUI itself is built on GSAP :) (but the amp banners do not have any GSAP in them).

 

Nice that could come in super useful.

Are you seeing a big rise in AMPHTML banner usage? I still feel like AMP uptake is pretty low and only really gotten traction with much larger publishers/organisations.

Link to comment
Share on other sites

 

On 1/19/2019 at 10:21 AM, joe_midi said:

Are you seeing a big rise in AMPHTML banner usage?

 

Yes the demand seems to be increasing as Google is continuing to roll out their policy changes for HTML5 ads for new Google Ads accounts.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...