tlong2
tlong2
I think there is an implicit assumption in the code that there will only ever be one amp-auto-ads trying to place ads within the page. When the code runs to...
Thinking about it more... I guess that would work some of the time, but there will probably be some issues with race conditions, since all this stuff is happening asynchronously...
But the functions within AdTracker related to actually measuring whether or not the proposed position is too near to an ad are asynchronous. isTooNearAnAd() calls isWithinMinDistanceOfAd_() which asynchronously iterates over...
Yes, I think that should work. I'm not aware of any existing lib in the project for doing mutexs. But I'm also not that familiar with the majority of the...
I intend to implement this for use with AdSense, but the implementation will not be tied to anything specific to AdSense and so should be reusable by any other ad...
Hi, The amp-auto-ads approach doesn't require the publisher to have created anything in the markup to specify where ads should go. The remote JSON config provides CSS selectors that identify...
I mentioned the AdSense offline system just as an example of how an ad network can create the JSON configs. Any offline systems/analysis are up to the network serving the...
We haven't started experimenting yet. The reviewer asked me to create this issue, so we remember to tidy it up once we're happy to launch fully.
Yep sorry, forgot to close.
The problem seems to be that the tests are inserting real elements. When running gulp test, this is fine but when running an individual file's tests the amp-ad element isn't...