Skip to content

Commit

Permalink
Update ad example for remote auto ads config (#35495)
Browse files Browse the repository at this point in the history
* added updated working ad example for remote config retome json example.

* fixed typos
  • Loading branch information
jshamble committed Aug 10, 2021
1 parent cd5cdd7 commit 18675fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/amp-story/ads/remote.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ad-attributes": {
"type": "doubleclick",
"data-slot": "/30497360/a4a/story_360"
"data-slot": "/30497360/a4a/amp_story_dfp_example"
}
}
2 changes: 1 addition & 1 deletion examples/amp-story/story-ad-remote-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<body>
<amp-story standalone supports-landscape>
<!--
This is an example of JSON retrived from a source file.
This is an example of JSON retrieved from a source file.
-->
<amp-story-auto-ads src="/examples/amp-story/ads/remote.json" >
</amp-story-auto-ads>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/dom-ancestor-visitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export let VisitorCallbackTypeDef;
* Utility class that will visit every ancestor of a given element, and call
* the provided callback functions on each element, passing in the element and
* its computed styles as arguments to the callbacks. Callbacks may cease
* visiting further nodes by returning a value, which may later be retrived by
* visiting further nodes by returning a value, which may later be retrieved by
* calling 'getValueFor(visitorName)'. Once all visitors have returned or hit
* their maximum nodes to visit, no more nodes will be visited.
*
Expand Down

0 comments on commit 18675fd

Please sign in to comment.