<amp-ad width=336 height=280
type=”doubleclick”
data-slot=”/22126659110/amp_top(1)”
data-multi-size=”336×280,300×250″
data-multi-size-validation=”false”
json='{“targeting”:{“sitio”:[“tiptop”],”seccion”:[“{category}”], “autor”:[“{author_name}”], “id_noticia”:[“{post_id}”], “temas”:[“{tags}”]}}’>
</amp-ad>
I am using custom code option. I need {category} to show the name of the category dynamically for example “entretenimiento” and not as up to now that it only says {category} fixedly.
I hope you can help me.
Thank you very much