amp-auto-ads

  • problems
    • slow, until buildCallback you don't request the ads
    • you only defined placements for one set of attributes
    • fast fetch??

Configuration object right now:

{
  "placements": [
    {
      "anchor": {
        "selector": "DIV#domId",
        "index": 2,
        "sub": {
          "selector": "P.paragraph",
          "all": true,
        },
      },
      "pos": 4,
      "type": 1,
      "style": {
        "top_m": 5,
        "bot_m": 10,
      },
    },
  ],
  "attributes": {
		"type": "doubleclick",
      	"adSlot": "xXXXXX"
	}
}