Title: Variables
Last modified: October 22, 2020

---

# Variables

 *  [rogerestefan](https://wordpress.org/support/users/rogerestefan/)
 * (@rogerestefan)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/variables-8/)
 * I need to be able to dynamically complete the following fields of this tag:
 * category, author_name, post_id, tags.
 * <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>
 * How can I do it? do i need another plugin? can I paste some code to make it work?
 * Thank you very much.
 * Greetings
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvariables-8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [WPQuads Support](https://wordpress.org/support/users/wpquadssupport/)
 * (@wpquadssupport)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/variables-8/#post-13572889)
 * Can you please use the custom code option? For reference please follow this tutorial:
   [https://wpquads.com/documentation/how-to-add-custom-code-ads-in-wp-quads/](https://wpquads.com/documentation/how-to-add-custom-code-ads-in-wp-quads/)
 *  Thread Starter [rogerestefan](https://wordpress.org/support/users/rogerestefan/)
 * (@rogerestefan)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/variables-8/#post-13572937)
 * 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
 *  Plugin Support [WPQuads Support](https://wordpress.org/support/users/wpquadssupport/)
 * (@wpquadssupport)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/variables-8/#post-13584325)
 * Can you please share the sample code, that you are trying to add in the custom
   code option? So we will analyze it and help you to fix the issue.
 *  Thread Starter [rogerestefan](https://wordpress.org/support/users/rogerestefan/)
 * (@rogerestefan)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/variables-8/#post-13587258)
 * <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>
 *  Plugin Support [WPQuads Support](https://wordpress.org/support/users/wpquadssupport/)
 * (@wpquadssupport)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/variables-8/#post-13624627)
 * We have created a GitHub ticket for the issue and it will resolved in future 
   plugin updates.
 * For reference follow the GitHub ticket: [https://github.com/wpquads/quick-adsense-reloaded/issues/273](https://github.com/wpquads/quick-adsense-reloaded/issues/273)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Variables’ is closed to new replies.

 * ![](https://ps.w.org/quick-adsense-reloaded/assets/icon-256x256.png?rev=2369641)
 * [Quads Ads Manager for Google AdSense](https://wordpress.org/plugins/quick-adsense-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-adsense-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-adsense-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-adsense-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-adsense-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-adsense-reloaded/reviews/)

## Tags

 * [variables](https://wordpress.org/support/topic-tag/variables/)

 * 5 replies
 * 2 participants
 * Last reply from: [WPQuads Support](https://wordpress.org/support/users/wpquadssupport/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/variables-8/#post-13624627)
 * Status: not resolved