| HopAd Builder Advanced User Guide | Close |
This table contains a list of the available parameters that can be edited in the code that is generated during the ad creation process.
| Parameter Name | Default Value | Ad Type | Type / Range | Required | Description |
| hopfeed_affiliate | none | All | Alpha numeric. 5-10 characters | Required | The affiliate's ClickBank nickname. |
| hopfeed_affiliate_tid | none | All | Alpha numeric 1-8 characters | Optional | The tracking ID the affiliate will specify to track the lifecycle of this ad through to the order form. |
| hopfeed_keywords | none | All | String | Optional | A comma- or space-delimited list of keywords to search on (e.g., 'business, money, sales') |
| hopfeed_fill_slots | True | All | Boolean (true / false) | Optional | Whether or not the Ad server should return enough ads to fill the entire space, in the case of a query that does not return enough results. (Allowed Values TRUE, FALSE) |
| hopfeed_footer_text | None | IFRAME, LIST | text | Optional | Text to display below the ads. |
| hopfeed_header_text | None | IFRAME, LIST | text | Optional | Text to display above the ads. |
| hopfeed_cellpadding | 5 | IFRAME, LIST | Integer | Optional | Amount of padding in pixels on the inside of the ad. Used to buffer the text from the ad border. Default 5. |
| hopfeed_font | Verdana, Arial, Helvetica, sans-serif | IFRAME, WIDGET, LIST | text | Optional | Name of the font. If specifying a list of font names, enclose the list in single quotes, i.e, 'Arial, Verdana, Helvetica'. |
| hopfeed_font_size | 9pt | IFRAME, WIDGET, LIST | Text | Optional | Font size of the text in the ad. |
| hopfeed_background_color | #FFFFFF | IFRAME, LIST | Html color | Optional | Background color. |
| hopfeed_font_color | #000000 | IFRAME, WIDGET, LIST | Html color | Optional | Color of the description text in the ad. |
| hopfeed_link_font_color | #3300FF | IFRAME, WIDGET, LIST | Html color | Optional | Color of the title text for each ad. This is the linked text. |
| hopfeed_link_font_hover_color | #3300FF | IFRAME, WIDGET, LIST | Html color | Optional | Color to change the title link text to on mouseover. |
| hopfeed_align | LEFT | IFRAME, LIST | LEFT, CENTER, RIGHT | Optional | Horizontal alignment of text in the ad. |
| hopfeed_height | 400 | IFRAME, LIST | Integer | Optional | Height of the ad block. |
| hopfeed_width | 150 | IFRAME, WIDGET, LIST | Integer | Optional | Width of the ad. |
| hopfeed_rows | 3 | IFRAME, WIDGET, LIST | Integer | Optional | Number of rows in the ad. |
| hopfeed_cols | 1 | IFRAME, LIST | Integer | Optional | Number of columns in the ad. |
| hopfeed_path | http://www.hopfeed.com | ALL | url | Optional | Host name of the ClickBank ad server. Do not change this value unless changing from HTTP to HTTPS protocol. |
| hopfeed_type | None | ALL | IFRAME, WIDGET, LIST (for more information see below) | Required | Type of source code generated. Allowed values, iframe (<iframe> tag), list (<li> tags), widget (multi-tab ad box) |
There are various output formats you may select to receive your ad content. These are selectable using the hopfeed_type parameter. The table below explains the various types and their usage:
| Type | Description |
| IFRAME | This is the easiest and recommended way to include content. The iframe is created with a designated size and contains html content for the ads. |
| WIDGET | Returns a javascript ad box containing tabs. Each tab has a frame showing the headlines of contextual ads. |
| LIST | An ordered list output format contained within a div tag. Very easy to skin with CSS for those designers who prefer to avoid tables. |
Example Usage for each type:
<script defer="defer" type="text/javascript">
hopfeed_affiliate='testaccount';
hopfeed_affiliate_tid='123abc';
hopfeed_cellpadding=5;
hopfeed_font='Verdana, Arial, Helvetica, Sans Serif';
hopfeed_font_size='9pt';
hopfeed_font_color='#000000';
hopfeed_tab1_title='Top Products';
hopfeed_tab2_title='Pets';
hopfeed_tab3_title='Education';
hopfeed_tab1_keywords='';
hopfeed_tab2_keywords='pets dog cat';
hopfeed_tab3_keywords='education books school';
hopfeed_template_name='DEFAULT';
hopfeed_active_tab_color='#11527B';
hopfeed_inactive_tab_color='#D1DCEE';
hopfeed_active_tab_font_color='#FFFFFF';
hopfeed_inactive_tab_font_color='#000000';
hopfeed_hover_color='#D1DCEE';
hopfeed_border_color='#11527B';
hopfeed_align='left';
hopfeed_width=300;
hopfeed_rows=5;
hopfeed_fill_slots='true';
hopfeed_path='http://www.hopfeed.com';
</script>
<script defer="defer" type="text/javascript" src="http://www.hopfeed.com/script/hopfeed_widget.js"></script>
This table contains a list of the additional parameters available for the WIDGET type.
| Parameter Name | Default Value | Type / Range | Required | Description |
| hopfeed_tab1_title | Top Products | String | Required | The title for the first tab |
| hopfeed_tab2_title | Pets | String | Required | The title for the second tab |
| hopfeed_tab3_title | Education | String | Required | The title for the third tab |
| hopfeed_tab1_keywords | Empty (Random Search) | String | Optional (Random search if empty) | A comma- or space-delimited list of keywords to search on (e.g., 'business, money, sales') |
| hopfeed_tab2_keywords | pets dog cat | String | Optional (Random search if empty) | A comma- or space-delimited list of keywords to search on (e.g., 'business, money, sales') |
| hopfeed_tab3_keywords | education books school | String | Optional (Random search if empty) | A comma- or space-delimited list of keywords to search on (e.g., 'business, money, sales') |
| hopfeed_template_name | DEFAULT | String | Optional | The name of the color template used to style the multi-tabbed ad. Acceptable values (DEFAULT, RED, GREEN, ORANGE, PURPLE, PINK, BROWN, MONOCHROME) |
| hopfeed_active_tab_color | #11527B | HTML Color | Required | The background color of the active tab |
| hopfeed_inactive_tab_color | #D1DCEE | HTML Color | Required | The background color of the inactive tab(s) |
| hopfeed_active_tab_font_color | #FFFFFF | HTML Color | Required | The font color of the title text on the active tab |
| hopfeed_inactive_tab_font_color | #000000 | HTML Color | Required | The font color of the title text on the inactive tab(s) |
| hopfeed_border_color | #11527B | HTML Color | Required | The border color around the multi-tabbed ad space |