Skip to content

Update A4A spec to use amp4ads-v0.js instead of v0.js#6152

Merged
lannka merged 2 commits intomasterfrom
lannka-a4a-v0
Dec 22, 2016
Merged

Update A4A spec to use amp4ads-v0.js instead of v0.js#6152
lannka merged 2 commits intomasterfrom
lannka-a4a-v0

Conversation

@lannka
Copy link
Copy Markdown
Contributor

@lannka lannka commented Nov 11, 2016

will wait till

  • the validator change gets in
  • amp4ads-v0.js is released to production

For #5700

@jasti
Copy link
Copy Markdown
Contributor

jasti commented Nov 11, 2016

LGTM. @powdercloud , @Gregable FYI.

1. The creative must include `<script async src="https://cdn.ampproject.org/a4a-v0.js"></script>`
as the runtime script instead of `https://cdn.ampproject.org/v0.js`.

_Rationale_: Allows different runtime behaviors taylored to A4A.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A4A is such an overloaded term... here you mean it as essentially the amp-inabox case. Perhaps be more explicit?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yep. but in this context I think there's no need to mention amp-inabox. A4A creative builder just need to remember to include a4a-v0.js, which is slightly different than v0.js (to support amp-inabox).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you considered calling it amp4ads instead of a4a? This would be consistent with the <html amp4ads> opening of the document.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Second @powdercloud 's suggestion.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@powdercloud @jasti so we're talking about renaming a4a-v0.js to amp4ads-v0.js?

Discussed in other thread, renaming the script file makes sense to me. Just FYI, there's other script currently named a4a-host-v0.js should be renamed to amp4ads-host-v0.js.

@lannka lannka changed the title Update A4A spec to use a4a-v0.js instead of v0.js Update A4A spec to use amp4ads-v0.js instead of v0.js Nov 15, 2016
@lannka lannka merged commit 2be185b into master Dec 22, 2016
@lannka lannka deleted the lannka-a4a-v0 branch December 22, 2016 18:14
torch2424 pushed a commit to torch2424/amphtml that referenced this pull request Jan 3, 2017
* Update A4A spec to use a4a-v0.js

* address comment
jridgewell pushed a commit to jridgewell/amphtml that referenced this pull request Jan 31, 2017
* Update A4A spec to use a4a-v0.js

* address comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants