-
Notifications
You must be signed in to change notification settings - Fork 1
/
ss-preview.php
63 lines (63 loc) · 1.51 KB
/
ss-preview.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<div id='preview-dialog' style="display:none">
<table class='table mini-table'>
<tr>
<td>Account ID*</td>
<td>
<div>
<input id='account_id' name='account_id'>
</div>
</td>
</tr>
<tr>
<td>
<div>
Creative spec
</div>
<div>
e.g., act_123456<br>
Either specify a creative spec <br>
OR<br>
specify an ad group or ad creative ID
</div>
</td>
<td>
<div>
<textarea id='creative' class='form_input' name='creative'></textarea>
</div>
<div>
e.g., {"type":25,"action_spec":{"action.type":"like","object.domain":"http://www.myfbse.com"}}
</div>
</td>
</tr>
<tr>
<td>AdGroup <br>(AdCreative) ID*</td>
<td>
<input id='adgroup_id' name='adgroup_id'>
</td>
</tr>
<tr>
<td>
<button id='b_call_ad_api_preview'>Go!</button>
</td>
<td>
<div class='progress' id='progress-preview'>
<img src='images/ajax-loader.gif' />
</div>
</td>
</tr>
<tr>
<td>cURL Request</td>
<td><code><pre><textarea class='area-tall' id='request' readonly='true'></textarea></pre></code></td>
</tr>
<tr>
<td>Response</td>
<td><code><pre><textarea class='area-tall' id='response' readonly='true'></textarea></pre></code></td>
</tr>
<tr>
<td>Preview</td>
<td>
<div id='unit-preview'/>
</td>
</tr>
</table>
</div>