starter-setup.xml
75 lines
| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <advads-export> |
| 3 | <ads type="array"> |
| 4 | <item key="0" type="array"> |
| 5 | <ID type="string">1</ID> |
| 6 | <post_content type="string"> |
| 7 | <![CDATA[<div style="width: 100%; height: 90px; background: #15A2E1; color: #fff; line-height: 90px; text-align: center; ">Example Ad #1 (only visible for logged-in visitors)</div>]]></post_content> |
| 8 | <post_title type="string">Example Ad #1 (only for logged-in visitors)</post_title> |
| 9 | <post_status type="string">publish</post_status> |
| 10 | <meta_input type="array"> |
| 11 | <advanced_ads_ad_options type="array"> |
| 12 | <visitor type="array"/> |
| 13 | <visitors type="array"> |
| 14 | <item key="0" type="array"> |
| 15 | <type type="string">loggedin</type> |
| 16 | <operator type="string">is</operator> |
| 17 | </item> |
| 18 | </visitors> |
| 19 | <output type="array"> |
| 20 | <allow_php type="string">0</allow_php> |
| 21 | </output> |
| 22 | <type type="string">plain</type> |
| 23 | <width type="numeric">0</width> |
| 24 | <height type="numeric">0</height> |
| 25 | </advanced_ads_ad_options> |
| 26 | </meta_input> |
| 27 | </item> |
| 28 | <item key="1" type="array"> |
| 29 | <ID type="string">2</ID> |
| 30 | <post_content type="string"> |
| 31 | <![CDATA[<div style="width: 100%; height: 90px; background: #04B404; color: #fff; line-height: 90px; text-align: center; ">Example Ad #2 (only visible for logged-in visitors)</div>]]></post_content> |
| 32 | <post_title type="string">Example Ad #2 (only for logged-in visitors)</post_title> |
| 33 | <post_status type="string">publish</post_status> |
| 34 | <meta_input type="array"> |
| 35 | <advanced_ads_ad_options type="array"> |
| 36 | <visitor type="array"/> |
| 37 | <visitors type="array"> |
| 38 | <item key="0" type="array"> |
| 39 | <type type="string">loggedin</type> |
| 40 | <operator type="string">is</operator> |
| 41 | </item> |
| 42 | </visitors> |
| 43 | <output type="array"> |
| 44 | <allow_php type="string">0</allow_php> |
| 45 | </output> |
| 46 | <type type="string">plain</type> |
| 47 | <width type="numeric">0</width> |
| 48 | <height type="numeric">0</height> |
| 49 | </advanced_ads_ad_options> |
| 50 | </meta_input> |
| 51 | </item> |
| 52 | </ads> |
| 53 | <placements type="array"> |
| 54 | <item key="0" type="array"> |
| 55 | <type type="string">post_top</type> |
| 56 | <name type="string">Before Content Placement</name> |
| 57 | <item type="string">ad_1</item> |
| 58 | <key type="string">before-content-placement</key> |
| 59 | </item> |
| 60 | <item key="1" type="array"> |
| 61 | <type type="string">post_content</type> |
| 62 | <name type="string">Content Placement after 3rd Paragraph</name> |
| 63 | <item type="string">ad_2</item> |
| 64 | <options type="array"> |
| 65 | <position type="string">after</position> |
| 66 | <index type="numeric">3</index> |
| 67 | <tag type="string">p</tag> |
| 68 | <ad_label type="string">default</ad_label> |
| 69 | <placement_position type="string"/> |
| 70 | </options> |
| 71 | <key type="string">content-placement-after-3rd-paragraph</key> |
| 72 | </item> |
| 73 | </placements> |
| 74 | </advads-export> |
| 75 |