Unless I am overlooking something, there is currently no way to serve native/responsive ads from Google Ad Manager. The only options are for fixed sizes.
The line in the Google Publisher Tag looks like this for native/responsive only:
I know I could manually put the full tags wherever I want with theme components, but then I wouldn’t get any of the other plugin features like no ads for certain groups, etc. I would be hugely appreciative if this size option could be added to the plugin.
I’m not using AdSense at all so that doesn’t help me. I show custom native ads and ads from a different network, which are all served through DFP. The size code for these in DFP is ‘fluid’, but this isn’t currently an option in the ad plugin.
The only way I can get them to display is to assign them an incorrect fixed size in DFP and then override the CSS in a custom theme. This does work in limited cases, but it’s an ugly hack and not very scalable.
When I tried to add responsive ad sizes to DFP in 2017, there was no “fluid” option. I’ll have to look at how it works, and keep in mind that AdSense responsive ads changed recently.
Is there a reason for the plugin to be setting sizes at all? I noticed in the other topic you said that if multiple sizes are set it rotates through them evenly. This explains another problem I’ve had and is behavior I don’t want. If I have 10 ads in size ‘A’ and 1 in size ‘B’, I don’t want those sizes to have equal representation.
I already have very granular control over everything in Ad Manager, so I really don’t need or want the plugin to do anything more than display the ad units from the tags I generate. Is there a way to do this and just display it in an empty, unsized div?
@torsi He añadido soporte para tamaños de anuncio fluidos al plugin. Cuando se selecciona, no establecerá un ancho ni un alto en el contenedor. Agradecería mucho que pudieras probarlo.
Pasé la mayor parte del tiempo intentando configurar un anuncio fluido en Ad Manager, pero no logré averiguar cómo hacerlo. Me quedé atascado en el paso del elemento de línea después de definir mi creativo nativo usando HTML y CSS; tengo un pedido para ello, tengo una unidad de anuncio para ello, pero sigue indicando que hace falta un creativo. Al ver la página del elemento de línea, no tengo ni idea de qué hacer. Así que solo puedo verificar que el plugin no establece un ancho ni un alto en el contenedor, pero no sé cómo ver un anuncio fluido entregado desde Ad Manager. Si eso no es suficiente, necesitaré ayuda con Ad Manager.
También puedo confirmar que hacer que los elementos de línea de fluidos funcionen en Ad Manager es sorprendentemente confuso y no está bien documentado. Debes dirigir explícitamente todos los anuncios a las unidades publicitarias, de lo contrario no serán reconocidos.