Skip to content

Commit

Permalink
🚮 [amp-consent] Removing references to deprecated consents (#32923)
Browse files Browse the repository at this point in the history
  • Loading branch information
Micajuine Ho committed Feb 26, 2021
1 parent 34acc5e commit 92988f0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 17 deletions.
13 changes: 6 additions & 7 deletions examples/amp-consent/amp-consent-amp-ad.amp.html
Expand Up @@ -27,13 +27,12 @@
<amp-consent id='ABC' layout='nodisplay' type='_ping_'>
<script type="application/json">
{
"consents": {},
"postPromptUI": "postPromptUI",
"clientConfig": {
"CMP_id": "test_id",
"other_info": "test_info"
}
}
"postPromptUI": "postPromptUI",
"clientConfig": {
"CMP_id": "test_id",
"other_info": "test_info"
}
}
</script>
<div id="postPromptUI">
Post Prompt UI
Expand Down
1 change: 0 additions & 1 deletion examples/amp-consent/amp-consent-iframe.amp.html
Expand Up @@ -79,7 +79,6 @@ <h2>Iframe never blocked</h2>
<amp-consent id='ABC' layout='nodisplay' type='_ping_'>
<script type="application/json">
{
"consents": {},
"postPromptUI": "postPromptUI",
"clientConfig": {
"CMP_id": "test_id",
Expand Down
2 changes: 0 additions & 2 deletions examples/amp-consent/cmp-vendors.amp.html
Expand Up @@ -132,7 +132,6 @@ <h3>Image that is NOT blocked by consent</h3>
<amp-consent id='ABC' layout='nodisplay' type='_ping_'>
<script type="application/json">
{
"consents": {},
"postPromptUI": "postPromptUI",
"clientConfig": {
"CMP_id": "test_id",
Expand Down Expand Up @@ -184,7 +183,6 @@ <h3>Image that is NOT blocked by consent</h3>
<amp-consent id='didomi' layout='nodisplay' type='didomi'>
<script type="application/json">
{
"consents": {},
"postPromptUI": "postPromptUI",
"clientConfig": {
"config": {
Expand Down
8 changes: 2 additions & 6 deletions extensions/amp-consent/amp-consent.md
Expand Up @@ -366,12 +366,8 @@ When defined, the post-prompt UI is shown when all prompt UIs have been hidden,
<amp-consent layout="nodisplay" id="consent-element">
<script type="application/json">
{
"consents": {
"consent-foo": {
...
"promptUI": "consent-ui"
}
},
"consentInstanceId": "consent-foo",
"promptUI": "consent-ui",
"postPromptUI": "post-consent-ui"
}
</script>
Expand Down
1 change: 0 additions & 1 deletion extensions/amp-consent/cmps/_ping_.md
Expand Up @@ -24,7 +24,6 @@ A fake cmp type that is only used for local development.
<amp-consent id="ABC" layout="nodisplay" type="_ping_">
<script type="application/json">
{
"consents": {},
"postPromptUI": "postPromptUI",
"clientConfig": {
"CMP_id": "test_id",
Expand Down

0 comments on commit 92988f0

Please sign in to comment.