Hey, ich habe ebay smartplacements/ads eingefügt: Ich wollte dann noch einstellen wie groß die Werbung sein soll, mit folgendem code. Bis auf head und bodytags ist alles copy paste von ebay selber: Klappt aber nicht, also zeigt einfach bis auf freie Fläche wo es wäre nichts an und im Browser behauptet es, siehe unten(2).
Ohne Größe anpassen im Ebaysystem ausgewählt geht es, aber nicht responsive und sieht dadurch auch nicht gut aus, mit einer manuellen Größe bleibt der Bereich selber frei.
1)
<html>
<head>
<script async src="https://epnt.ebay.com/static/epn-smart-tools.js"></script>
</head>
<body>
<div style="width:100px; height:100px;">
<ins class="epn-placement" data-config-id="IDzahl...."></ins>
</div>
</body>
</html>
2) Fehlermeldung im Browser/untersuchen/Konsole
20102: Please edit the height and width to meet size requirements. epn-smart-tools.js:6:5316
n https://epnt.ebay.com/static/epn-smart-tools.js:6
loadWidgetWithConfigInSlot https://epnt.ebay.com/static/epn-smart-tools.js:7
value https://epnt.ebay.com/static/epn-smart-tools.js:7
(Async: promise callback)
value https://epnt.ebay.com/static/epn-smart-tools.js:7
value https://epnt.ebay.com/static/epn-smart-tools.js:7
exports https://epnt.ebay.com/static/epn-smart-tools.js:5
<anonym> https://epnt.ebay.com/static/epn-smart-tools.js:1
(Async: setTimeout handler)
<anonym> https://epnt.ebay.com/static/epn-smart-tools.js:5
<anonym> https://epnt.ebay.com/static/epn-smart-tools.js:1
__webpack_require__ https://epnt.ebay.com/static/epn-smart-tools.js:1
<anonym> https://epnt.ebay.com/static/epn-smart-tools.js:1
<anonym> https://epnt.ebay.com/static/epn-smart-tools.js:1
Hat jemand eine Idee was bei dem Ebaycode schief läuft?
Falls jemand sich wundert. Der Code ist von mir Lokal in eine HTMLdatei eingefügt um zu testen obs geht. Im CMS Typo3 ist es genau das selbe .