Skip to content

✨ Added remote JSON functionality for amp story ads config.#35256

Merged
calebcordry merged 21 commits intoampproject:mainfrom
jshamble:story-ads-34192
Jul 20, 2021
Merged

✨ Added remote JSON functionality for amp story ads config.#35256
calebcordry merged 21 commits intoampproject:mainfrom
jshamble:story-ads-34192

Conversation

@jshamble
Copy link
Copy Markdown
Contributor

fixes #34192

Adds the ability to have remote URLS containing config JSON data
for the component parsed and loaded
with a remote URL specified by the src attribute, instead of inline JSON only.
Both modes are still supported.

See the example included with this commit for a demo.
The inline JSON is included in this example and is commented out for reference.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 16, 2021

CLA assistant check
All committers have signed the CLA.

@amp-owners-bot amp-owners-bot bot requested a review from gmajoulet July 16, 2021 05:00
@calebcordry calebcordry self-requested a review July 16, 2021 16:10
@jshamble jshamble requested a review from calebcordry July 17, 2021 03:52
Copy link
Copy Markdown
Member

@calebcordry calebcordry left a comment

Choose a reason for hiding this comment

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

Nice work! 🎉

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.

Add src/config attribute to amp-story-auto-ads element

4 participants