GithubHelp home page GithubHelp logo

Viewport Size about ampbin HOT 7 CLOSED

levidurfee avatar levidurfee commented on June 3, 2024
Viewport Size

from ampbin.

Comments (7)

lannka avatar lannka commented on June 3, 2024 1

For your reference, some popular ad sizes on the web: https://support.google.com/adsense/answer/6002621?visit_id=636771617958422768-1155222561&rd=1

from ampbin.

lannka avatar lannka commented on June 3, 2024

Thanks @levidurfee ! This will be super helpful for AMPHTML ads preview

from ampbin.

levidurfee avatar levidurfee commented on June 3, 2024

You can now adjust the viewport of the preview window. Let me know if you think that is intuitive enough.

from ampbin.

lannka avatar lannka commented on June 3, 2024

is it pushed out? I don't see any control like that

from ampbin.

levidurfee avatar levidurfee commented on June 3, 2024

I just purged the cache from the CDN.

image

from ampbin.

lannka avatar lannka commented on June 3, 2024

See it now. Thx!

If I understand correctly, only the width can be adjusted as percentage.
I was actually thinking to have both width & height adjustable as absolute pixel numbers.

For AMP page, I'd like to adjust the dimensions to popular phone screen sizes (iPhone X, Pixel 3, etc).
For AMPHTML ads, I'd like to adjust the dimensions to popular ad sizes (300 x 250, etc).

For UI, it will be cool if there is a dropdown menu for a list of preset.

Does it make any sense?

Thanks again for the quick work!

from ampbin.

levidurfee avatar levidurfee commented on June 3, 2024

from ampbin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.