soapy_cake 0.3.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +1 -0
  3. data/api_versions.yml +110 -110
  4. data/lib/soapy_cake.rb +10 -2
  5. data/lib/soapy_cake/admin.rb +34 -46
  6. data/lib/soapy_cake/affiliate.rb +5 -17
  7. data/lib/soapy_cake/client.rb +33 -3
  8. data/lib/soapy_cake/error.rb +4 -0
  9. data/lib/soapy_cake/helper.rb +16 -0
  10. data/lib/soapy_cake/request.rb +61 -0
  11. data/lib/soapy_cake/response.rb +48 -0
  12. data/lib/soapy_cake/version.rb +1 -1
  13. data/soapy_cake.gemspec +4 -4
  14. data/spec/fixtures/vcr_cassettes/Integration_test/raises_if_there_is_an_error.yml +50 -0
  15. data/spec/fixtures/vcr_cassettes/Integration_test/returns_an_affiliate_with_correct_data_types.yml +114 -0
  16. data/spec/lib/soapy_cake/admin_spec.rb +87 -199
  17. data/spec/lib/soapy_cake/affiliate_spec.rb +19 -39
  18. data/spec/lib/soapy_cake/integration_spec.rb +25 -0
  19. data/spec/spec_helper.rb +2 -0
  20. metadata +14 -55
  21. data/lib/soapy_cake/advertiser.rb +0 -21
  22. data/lib/soapy_cake/client/cake_client.rb +0 -157
  23. data/lib/soapy_cake/client/http_client.rb +0 -14
  24. data/spec/fixtures/vcr_cassettes/client_new_account_statuses.yml +0 -1200
  25. data/spec/fixtures/vcr_cassettes/client_new_advertisers.yml +0 -1202
  26. data/spec/fixtures/vcr_cassettes/client_new_affiliate_tags.yml +0 -1200
  27. data/spec/fixtures/vcr_cassettes/client_new_affiliate_tiers.yml +0 -1201
  28. data/spec/fixtures/vcr_cassettes/client_new_billing_cycles.yml +0 -1200
  29. data/spec/fixtures/vcr_cassettes/client_new_cap_intervals.yml +0 -1201
  30. data/spec/fixtures/vcr_cassettes/client_new_cap_types.yml +0 -1199
  31. data/spec/fixtures/vcr_cassettes/client_new_countries.yml +0 -1515
  32. data/spec/fixtures/vcr_cassettes/client_new_currencies.yml +0 -1199
  33. data/spec/fixtures/vcr_cassettes/client_new_empty_response.yml +0 -1200
  34. data/spec/fixtures/vcr_cassettes/client_new_empty_response_offer_summary.yml +0 -865
  35. data/spec/fixtures/vcr_cassettes/client_new_languages.yml +0 -1199
  36. data/spec/fixtures/vcr_cassettes/client_new_media_types.yml +0 -1215
  37. data/spec/fixtures/vcr_cassettes/client_new_offer_statuses.yml +0 -1202
  38. data/spec/fixtures/vcr_cassettes/client_new_offer_types.yml +0 -1201
  39. data/spec/fixtures/vcr_cassettes/client_new_payment_settings.yml +0 -1203
  40. data/spec/fixtures/vcr_cassettes/client_new_payment_types.yml +0 -1204
  41. data/spec/fixtures/vcr_cassettes/client_new_price_formats.yml +0 -1202
  42. data/spec/fixtures/vcr_cassettes/client_new_roles.yml +0 -1203
  43. data/spec/fixtures/vcr_cassettes/client_new_verticals.yml +0 -1197
  44. data/spec/fixtures/vcr_cassettes/client_new_with_username_and_password.yml +0 -1198
  45. data/spec/fixtures/vcr_cassettes/client_sekken_client_caches_results.yml +0 -1261
  46. data/spec/lib/soapy_cake/advertiser_spec.rb +0 -14
  47. data/spec/lib/soapy_cake/client/cake_client_spec.rb +0 -197
@@ -1,865 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://cake-partner-domain.com/api/2/reports.asmx?WSDL
6
- body:
7
- encoding: UTF-8
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - HTTPClient/1.0 (2.3.4.1, ruby 2.1.2 (2014-05-08))
12
- Accept:
13
- - "*/*"
14
- Date:
15
- - Tue, 20 May 2014 15:09:55 GMT
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Cache-Control:
22
- - private, max-age=0
23
- Content-Type:
24
- - text/xml; charset=utf-8
25
- Server:
26
- - Microsoft-IIS/8.0
27
- X-Aspnet-Version:
28
- - 4.0.30319
29
- X-Powered-By:
30
- - ASP.NET
31
- Date:
32
- - Tue, 20 May 2014 15:09:33 GMT
33
- Content-Length:
34
- - '58640'
35
- body:
36
- encoding: UTF-8
37
- string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\"
38
- xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\"
39
- xmlns:tns=\"http://cakemarketing.com/api/2/\" xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\"
40
- xmlns:s1=\"API:id_name_store\" xmlns:s=\"http://www.w3.org/2001/XMLSchema\"
41
- xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\" xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\"
42
- targetNamespace=\"http://cakemarketing.com/api/2/\" xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n
43
- \ <wsdl:types>\r\n <s:schema elementFormDefault=\"qualified\" targetNamespace=\"http://cakemarketing.com/api/2/\">\r\n
44
- \ <s:import namespace=\"API:id_name_store\" />\r\n <s:element name=\"ConversionExport\">\r\n
45
- \ <s:complexType>\r\n <s:sequence>\r\n <s:element
46
- minOccurs=\"0\" maxOccurs=\"1\" name=\"api_key\" type=\"s:string\" />\r\n
47
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"start_date\"
48
- type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
49
- name=\"end_date\" type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\"
50
- maxOccurs=\"1\" name=\"affiliate_id\" type=\"s:int\" />\r\n <s:element
51
- minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_id\" type=\"s:int\" />\r\n <s:element
52
- minOccurs=\"1\" maxOccurs=\"1\" name=\"include_tests\" type=\"s:boolean\"
53
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
54
- \ <s:element name=\"ConversionExportResponse\">\r\n <s:complexType>\r\n
55
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
56
- name=\"ConversionExportResult\" type=\"tns:ArrayOfConversion\" />\r\n </s:sequence>\r\n
57
- \ </s:complexType>\r\n </s:element>\r\n <s:complexType name=\"ArrayOfConversion\">\r\n
58
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"unbounded\"
59
- name=\"Conversion\" nillable=\"true\" type=\"tns:Conversion\" />\r\n </s:sequence>\r\n
60
- \ </s:complexType>\r\n <s:complexType name=\"Conversion\">\r\n <s:sequence>\r\n
61
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"conversion_id\"
62
- type=\"s:string\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
63
- name=\"request_session_id\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
64
- maxOccurs=\"1\" name=\"click_id\" nillable=\"true\" type=\"s:int\" />\r\n
65
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"conversion_date\"
66
- type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
67
- name=\"affiliate_id\" type=\"s:int\" />\r\n <s:element minOccurs=\"0\"
68
- maxOccurs=\"1\" name=\"affiliate_name\" type=\"s:string\" />\r\n <s:element
69
- minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_id\" type=\"s:int\" />\r\n <s:element
70
- minOccurs=\"0\" maxOccurs=\"1\" name=\"offer_name\" type=\"s:string\" />\r\n
71
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"advertiser_id\"
72
- type=\"s:int\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
73
- name=\"advertiser_name\" type=\"s:string\" />\r\n <s:element minOccurs=\"1\"
74
- maxOccurs=\"1\" name=\"campaign_id\" type=\"s:int\" />\r\n <s:element
75
- minOccurs=\"1\" maxOccurs=\"1\" name=\"creative_id\" type=\"s:int\" />\r\n
76
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"creative_name\"
77
- type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
78
- name=\"subid_1\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
79
- maxOccurs=\"1\" name=\"subid_2\" type=\"s:string\" />\r\n <s:element
80
- minOccurs=\"0\" maxOccurs=\"1\" name=\"subid_3\" type=\"s:string\" />\r\n
81
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"subid_4\" type=\"s:string\"
82
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"subid_5\"
83
- type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
84
- name=\"conversion_type\" type=\"s:string\" />\r\n <s:element minOccurs=\"1\"
85
- maxOccurs=\"1\" name=\"price_paid\" type=\"s:decimal\" />\r\n <s:element
86
- minOccurs=\"1\" maxOccurs=\"1\" name=\"price_received\" type=\"s:decimal\"
87
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"pixel_dropped\"
88
- type=\"s:boolean\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
89
- name=\"throttled\" type=\"s:boolean\" />\r\n <s:element minOccurs=\"1\"
90
- maxOccurs=\"1\" name=\"returned\" type=\"s:boolean\" />\r\n <s:element
91
- minOccurs=\"1\" maxOccurs=\"1\" name=\"test\" type=\"s:boolean\" />\r\n <s:element
92
- minOccurs=\"0\" maxOccurs=\"1\" name=\"transaction_id\" type=\"s:string\"
93
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"ip_address\"
94
- type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
95
- name=\"referrer_url\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
96
- maxOccurs=\"1\" name=\"disposition\" type=\"s:string\" />\r\n <s:element
97
- minOccurs=\"0\" maxOccurs=\"1\" name=\"note\" type=\"s:string\" />\r\n </s:sequence>\r\n
98
- \ </s:complexType>\r\n <s:element name=\"ClickExport\">\r\n <s:complexType>\r\n
99
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
100
- name=\"api_key\" type=\"s:string\" />\r\n <s:element minOccurs=\"1\"
101
- maxOccurs=\"1\" name=\"start_date\" type=\"s:dateTime\" />\r\n <s:element
102
- minOccurs=\"1\" maxOccurs=\"1\" name=\"end_date\" type=\"s:dateTime\" />\r\n
103
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"affiliate_id\"
104
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
105
- name=\"offer_id\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
106
- maxOccurs=\"1\" name=\"include_tests\" type=\"s:boolean\" />\r\n </s:sequence>\r\n
107
- \ </s:complexType>\r\n </s:element>\r\n <s:element name=\"ClickExportResponse\">\r\n
108
- \ <s:complexType>\r\n <s:sequence>\r\n <s:element
109
- minOccurs=\"0\" maxOccurs=\"1\" name=\"ClickExportResult\" type=\"tns:ArrayOfClick\"
110
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
111
- \ <s:complexType name=\"ArrayOfClick\">\r\n <s:sequence>\r\n <s:element
112
- minOccurs=\"0\" maxOccurs=\"unbounded\" name=\"Click\" nillable=\"true\" type=\"tns:Click\"
113
- />\r\n </s:sequence>\r\n </s:complexType>\r\n <s:complexType
114
- name=\"Click\">\r\n <s:sequence>\r\n <s:element minOccurs=\"1\"
115
- maxOccurs=\"1\" name=\"click_id\" type=\"s:int\" />\r\n <s:element
116
- minOccurs=\"1\" maxOccurs=\"1\" name=\"visitor_id\" type=\"s:int\" />\r\n
117
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"request_session_id\"
118
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
119
- name=\"click_date\" type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\"
120
- maxOccurs=\"1\" name=\"affiliate_id\" type=\"s:int\" />\r\n <s:element
121
- minOccurs=\"0\" maxOccurs=\"1\" name=\"affiliate_name\" type=\"s:string\"
122
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_id\"
123
- type=\"s:int\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
124
- name=\"offer_name\" type=\"s:string\" />\r\n <s:element minOccurs=\"1\"
125
- maxOccurs=\"1\" name=\"advertiser_id\" type=\"s:int\" />\r\n <s:element
126
- minOccurs=\"0\" maxOccurs=\"1\" name=\"advertiser_name\" type=\"s:string\"
127
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"campaign_id\"
128
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
129
- name=\"creative_id\" type=\"s:int\" />\r\n <s:element minOccurs=\"0\"
130
- maxOccurs=\"1\" name=\"creative_name\" type=\"s:string\" />\r\n <s:element
131
- minOccurs=\"0\" maxOccurs=\"1\" name=\"subid_1\" type=\"s:string\" />\r\n
132
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"subid_2\" type=\"s:string\"
133
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"subid_3\"
134
- type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
135
- name=\"subid_4\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
136
- maxOccurs=\"1\" name=\"subid_5\" type=\"s:string\" />\r\n <s:element
137
- minOccurs=\"0\" maxOccurs=\"1\" name=\"ip_address\" type=\"s:string\" />\r\n
138
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"country\" type=\"s:string\"
139
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"user_agent\"
140
- type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
141
- name=\"referrer_url\" type=\"s:string\" />\r\n <s:element minOccurs=\"0\"
142
- maxOccurs=\"1\" name=\"request_url\" type=\"s:string\" />\r\n <s:element
143
- minOccurs=\"0\" maxOccurs=\"1\" name=\"redirect_url\" type=\"s:string\" />\r\n
144
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"disposition\"
145
- type=\"s:string\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
146
- name=\"paid_action\" type=\"s:string\" />\r\n <s:element minOccurs=\"1\"
147
- maxOccurs=\"1\" name=\"total_clicks\" type=\"s:int\" />\r\n </s:sequence>\r\n
148
- \ </s:complexType>\r\n <s:element name=\"AdvertiserSummary\">\r\n
149
- \ <s:complexType>\r\n <s:sequence>\r\n <s:element
150
- minOccurs=\"0\" maxOccurs=\"1\" name=\"api_key\" type=\"s:string\" />\r\n
151
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"start_date\"
152
- type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
153
- name=\"end_date\" type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\"
154
- maxOccurs=\"1\" name=\"advertiser_id\" type=\"s:int\" />\r\n <s:element
155
- minOccurs=\"1\" maxOccurs=\"1\" name=\"advertiser_manager_id\" type=\"s:int\"
156
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"advertiser_tag_id\"
157
- type=\"s:short\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
158
- name=\"event_id\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
159
- maxOccurs=\"1\" name=\"revenue_filter\" type=\"tns:revenue_filter_types\"
160
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
161
- \ <s:simpleType name=\"revenue_filter_types\">\r\n <s:restriction
162
- base=\"s:string\">\r\n <s:enumeration value=\"conversions_and_events\"
163
- />\r\n <s:enumeration value=\"conversions\" />\r\n <s:enumeration
164
- value=\"events\" />\r\n </s:restriction>\r\n </s:simpleType>\r\n
165
- \ <s:element name=\"AdvertiserSummaryResponse\">\r\n <s:complexType>\r\n
166
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
167
- name=\"AdvertiserSummaryResult\" type=\"tns:advertiser_summary_response\"
168
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
169
- \ <s:complexType name=\"advertiser_summary_response\">\r\n <s:complexContent
170
- mixed=\"false\">\r\n <s:extension base=\"tns:get_response\">\r\n
171
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
172
- name=\"advertisers\" type=\"tns:ArrayOfAdvertiser_summary\" />\r\n </s:sequence>\r\n
173
- \ </s:extension>\r\n </s:complexContent>\r\n </s:complexType>\r\n
174
- \ <s:complexType name=\"get_response\">\r\n <s:complexContent mixed=\"false\">\r\n
175
- \ <s:extension base=\"tns:base_response\">\r\n <s:sequence>\r\n
176
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"row_count\"
177
- type=\"s:int\" />\r\n </s:sequence>\r\n </s:extension>\r\n
178
- \ </s:complexContent>\r\n </s:complexType>\r\n <s:complexType
179
- name=\"base_response\">\r\n <s:sequence>\r\n <s:element minOccurs=\"1\"
180
- maxOccurs=\"1\" name=\"success\" type=\"s:boolean\" />\r\n <s:element
181
- minOccurs=\"0\" maxOccurs=\"1\" name=\"message\" type=\"s:string\" />\r\n
182
- \ </s:sequence>\r\n </s:complexType>\r\n <s:complexType name=\"ArrayOfAdvertiser_summary\">\r\n
183
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"unbounded\"
184
- name=\"advertiser_summary\" nillable=\"true\" type=\"tns:advertiser_summary\"
185
- />\r\n </s:sequence>\r\n </s:complexType>\r\n <s:complexType
186
- name=\"advertiser_summary\">\r\n <s:sequence>\r\n <s:element
187
- minOccurs=\"0\" maxOccurs=\"1\" name=\"advertiser\" type=\"s1:advertiser\"
188
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"account_manager\"
189
- type=\"s1:account_manager\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
190
- name=\"views\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
191
- name=\"clicks\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
192
- maxOccurs=\"1\" name=\"click_thru_percentage\" type=\"s:decimal\" />\r\n <s:element
193
- minOccurs=\"1\" maxOccurs=\"1\" name=\"conversions\" type=\"s:int\" />\r\n
194
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"paid\" type=\"s:int\"
195
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"sellable\"
196
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
197
- name=\"events\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
198
- maxOccurs=\"1\" name=\"conversion_percentage\" type=\"s:decimal\" />\r\n <s:element
199
- minOccurs=\"1\" maxOccurs=\"1\" name=\"cost\" type=\"s:decimal\" />\r\n <s:element
200
- minOccurs=\"1\" maxOccurs=\"1\" name=\"average_cost\" type=\"s:decimal\" />\r\n
201
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"epc\" type=\"s:decimal\"
202
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"revenue\"
203
- type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
204
- name=\"revenue_per_transaction\" type=\"s:decimal\" />\r\n <s:element
205
- minOccurs=\"1\" maxOccurs=\"1\" name=\"margin\" type=\"s:decimal\" />\r\n
206
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"profit\" type=\"s:decimal\"
207
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"pending\"
208
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
209
- name=\"rejected\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
210
- maxOccurs=\"1\" name=\"approved\" type=\"s:int\" />\r\n <s:element
211
- minOccurs=\"1\" maxOccurs=\"1\" name=\"returned\" type=\"s:int\" />\r\n <s:element
212
- minOccurs=\"1\" maxOccurs=\"1\" name=\"orders\" nillable=\"true\" type=\"s:int\"
213
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"order_total\"
214
- nillable=\"true\" type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\"
215
- maxOccurs=\"1\" name=\"average_order_value\" nillable=\"true\" type=\"s:decimal\"
216
- />\r\n </s:sequence>\r\n </s:complexType>\r\n <s:element
217
- name=\"OfferSummary\">\r\n <s:complexType>\r\n <s:sequence>\r\n
218
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"api_key\" type=\"s:string\"
219
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"start_date\"
220
- type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
221
- name=\"end_date\" type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\"
222
- maxOccurs=\"1\" name=\"advertiser_id\" type=\"s:int\" />\r\n <s:element
223
- minOccurs=\"1\" maxOccurs=\"1\" name=\"advertiser_manager_id\" type=\"s:int\"
224
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_id\"
225
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
226
- name=\"offer_tag_id\" type=\"s:short\" />\r\n <s:element minOccurs=\"1\"
227
- maxOccurs=\"1\" name=\"affiliate_tag_id\" type=\"s:short\" />\r\n <s:element
228
- minOccurs=\"1\" maxOccurs=\"1\" name=\"event_id\" type=\"s:int\" />\r\n <s:element
229
- minOccurs=\"1\" maxOccurs=\"1\" name=\"revenue_filter\" type=\"tns:revenue_filter_types\"
230
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
231
- \ <s:element name=\"OfferSummaryResponse\">\r\n <s:complexType>\r\n
232
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
233
- name=\"OfferSummaryResult\" type=\"tns:offer_summary_report_response\" />\r\n
234
- \ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
235
- \ <s:complexType name=\"offer_summary_report_response\">\r\n <s:complexContent
236
- mixed=\"false\">\r\n <s:extension base=\"tns:get_response\">\r\n
237
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
238
- name=\"offers\" type=\"tns:ArrayOfOffer_summary\" />\r\n </s:sequence>\r\n
239
- \ </s:extension>\r\n </s:complexContent>\r\n </s:complexType>\r\n
240
- \ <s:complexType name=\"ArrayOfOffer_summary\">\r\n <s:sequence>\r\n
241
- \ <s:element minOccurs=\"0\" maxOccurs=\"unbounded\" name=\"offer_summary\"
242
- nillable=\"true\" type=\"tns:offer_summary\" />\r\n </s:sequence>\r\n
243
- \ </s:complexType>\r\n <s:complexType name=\"offer_summary\">\r\n
244
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
245
- name=\"offer\" type=\"s1:offer\" />\r\n <s:element minOccurs=\"0\"
246
- maxOccurs=\"1\" name=\"advertiser\" type=\"s1:advertiser\" />\r\n <s:element
247
- minOccurs=\"0\" maxOccurs=\"1\" name=\"account_manager\" type=\"s1:account_manager\"
248
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"views\"
249
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
250
- name=\"clicks\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
251
- maxOccurs=\"1\" name=\"click_thru_percentage\" type=\"s:decimal\" />\r\n <s:element
252
- minOccurs=\"1\" maxOccurs=\"1\" name=\"conversions\" type=\"s:int\" />\r\n
253
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"paid\" type=\"s:int\"
254
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"sellable\"
255
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
256
- name=\"events\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
257
- maxOccurs=\"1\" name=\"conversion_percentage\" type=\"s:decimal\" />\r\n <s:element
258
- minOccurs=\"1\" maxOccurs=\"1\" name=\"cost\" type=\"s:decimal\" />\r\n <s:element
259
- minOccurs=\"1\" maxOccurs=\"1\" name=\"average_cost\" type=\"s:decimal\" />\r\n
260
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"epc\" type=\"s:decimal\"
261
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"revenue\"
262
- type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
263
- name=\"revenue_per_transaction\" type=\"s:decimal\" />\r\n <s:element
264
- minOccurs=\"1\" maxOccurs=\"1\" name=\"margin\" type=\"s:decimal\" />\r\n
265
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"profit\" type=\"s:decimal\"
266
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"pending\"
267
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
268
- name=\"rejected\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
269
- maxOccurs=\"1\" name=\"approved\" type=\"s:int\" />\r\n <s:element
270
- minOccurs=\"1\" maxOccurs=\"1\" name=\"returned\" type=\"s:int\" />\r\n <s:element
271
- minOccurs=\"1\" maxOccurs=\"1\" name=\"orders\" nillable=\"true\" type=\"s:int\"
272
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"order_total\"
273
- nillable=\"true\" type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\"
274
- maxOccurs=\"1\" name=\"average_order_value\" nillable=\"true\" type=\"s:decimal\"
275
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"average_conversion_score\"
276
- nillable=\"true\" type=\"s:decimal\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
277
- \ <s:element name=\"AffiliateSummary\">\r\n <s:complexType>\r\n
278
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
279
- name=\"api_key\" type=\"s:string\" />\r\n <s:element minOccurs=\"1\"
280
- maxOccurs=\"1\" name=\"start_date\" type=\"s:dateTime\" />\r\n <s:element
281
- minOccurs=\"1\" maxOccurs=\"1\" name=\"end_date\" type=\"s:dateTime\" />\r\n
282
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"affiliate_id\"
283
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
284
- name=\"affiliate_manager_id\" type=\"s:int\" />\r\n <s:element
285
- minOccurs=\"1\" maxOccurs=\"1\" name=\"affiliate_tag_id\" type=\"s:short\"
286
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_tag_id\"
287
- type=\"s:short\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
288
- name=\"event_id\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
289
- maxOccurs=\"1\" name=\"revenue_filter\" type=\"tns:revenue_filter_types\"
290
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
291
- \ <s:element name=\"AffiliateSummaryResponse\">\r\n <s:complexType>\r\n
292
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
293
- name=\"AffiliateSummaryResult\" type=\"tns:affiliate_summary_response\" />\r\n
294
- \ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
295
- \ <s:complexType name=\"affiliate_summary_response\">\r\n <s:complexContent
296
- mixed=\"false\">\r\n <s:extension base=\"tns:get_response\">\r\n
297
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
298
- name=\"affiliates\" type=\"tns:ArrayOfAffiliate_summary\" />\r\n </s:sequence>\r\n
299
- \ </s:extension>\r\n </s:complexContent>\r\n </s:complexType>\r\n
300
- \ <s:complexType name=\"ArrayOfAffiliate_summary\">\r\n <s:sequence>\r\n
301
- \ <s:element minOccurs=\"0\" maxOccurs=\"unbounded\" name=\"affiliate_summary\"
302
- nillable=\"true\" type=\"tns:affiliate_summary\" />\r\n </s:sequence>\r\n
303
- \ </s:complexType>\r\n <s:complexType name=\"affiliate_summary\">\r\n
304
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
305
- name=\"affiliate\" type=\"s1:affiliate\" />\r\n <s:element minOccurs=\"0\"
306
- maxOccurs=\"1\" name=\"account_manager\" type=\"s1:account_manager\" />\r\n
307
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"views\" type=\"s:int\"
308
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"clicks\"
309
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
310
- name=\"click_thru_percentage\" type=\"s:decimal\" />\r\n <s:element
311
- minOccurs=\"1\" maxOccurs=\"1\" name=\"conversions\" type=\"s:int\" />\r\n
312
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"paid\" type=\"s:int\"
313
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"sellable\"
314
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
315
- name=\"events\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
316
- maxOccurs=\"1\" name=\"conversion_percentage\" type=\"s:decimal\" />\r\n <s:element
317
- minOccurs=\"1\" maxOccurs=\"1\" name=\"cost\" type=\"s:decimal\" />\r\n <s:element
318
- minOccurs=\"1\" maxOccurs=\"1\" name=\"average_cost\" type=\"s:decimal\" />\r\n
319
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"epc\" type=\"s:decimal\"
320
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"revenue\"
321
- type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
322
- name=\"revenue_per_transaction\" type=\"s:decimal\" />\r\n <s:element
323
- minOccurs=\"1\" maxOccurs=\"1\" name=\"margin\" type=\"s:decimal\" />\r\n
324
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"profit\" type=\"s:decimal\"
325
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"pending\"
326
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
327
- name=\"rejected\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
328
- maxOccurs=\"1\" name=\"approved\" type=\"s:int\" />\r\n <s:element
329
- minOccurs=\"1\" maxOccurs=\"1\" name=\"returned\" type=\"s:int\" />\r\n <s:element
330
- minOccurs=\"1\" maxOccurs=\"1\" name=\"orders\" nillable=\"true\" type=\"s:int\"
331
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"order_total\"
332
- nillable=\"true\" type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\"
333
- maxOccurs=\"1\" name=\"average_order_value\" nillable=\"true\" type=\"s:decimal\"
334
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"average_conversion_score\"
335
- nillable=\"true\" type=\"s:decimal\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
336
- \ <s:element name=\"CreativeSummary\">\r\n <s:complexType>\r\n
337
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
338
- name=\"api_key\" type=\"s:string\" />\r\n <s:element minOccurs=\"1\"
339
- maxOccurs=\"1\" name=\"start_date\" type=\"s:dateTime\" />\r\n <s:element
340
- minOccurs=\"1\" maxOccurs=\"1\" name=\"end_date\" type=\"s:dateTime\" />\r\n
341
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_id\" type=\"s:int\"
342
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"campaign_id\"
343
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
344
- name=\"event_id\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
345
- maxOccurs=\"1\" name=\"revenue_filter\" type=\"tns:revenue_filter_types\"
346
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
347
- \ <s:element name=\"CreativeSummaryResponse\">\r\n <s:complexType>\r\n
348
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
349
- name=\"CreativeSummaryResult\" type=\"tns:creative_summary_response\" />\r\n
350
- \ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
351
- \ <s:complexType name=\"creative_summary_response\">\r\n <s:complexContent
352
- mixed=\"false\">\r\n <s:extension base=\"tns:get_response\">\r\n
353
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
354
- name=\"creatives\" type=\"tns:ArrayOfCreative_summary\" />\r\n </s:sequence>\r\n
355
- \ </s:extension>\r\n </s:complexContent>\r\n </s:complexType>\r\n
356
- \ <s:complexType name=\"ArrayOfCreative_summary\">\r\n <s:sequence>\r\n
357
- \ <s:element minOccurs=\"0\" maxOccurs=\"unbounded\" name=\"creative_summary\"
358
- nillable=\"true\" type=\"tns:creative_summary\" />\r\n </s:sequence>\r\n
359
- \ </s:complexType>\r\n <s:complexType name=\"creative_summary\">\r\n
360
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
361
- name=\"creative\" type=\"s1:creative\" />\r\n <s:element minOccurs=\"1\"
362
- maxOccurs=\"1\" name=\"creative_affiliate_id\" nillable=\"true\" type=\"s:int\"
363
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"type\" type=\"s:string\"
364
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"views\"
365
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
366
- name=\"clicks\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
367
- maxOccurs=\"1\" name=\"click_thru_percentage\" type=\"s:decimal\" />\r\n <s:element
368
- minOccurs=\"1\" maxOccurs=\"1\" name=\"conversions\" type=\"s:int\" />\r\n
369
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"paid\" type=\"s:int\"
370
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"sellable\"
371
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
372
- name=\"events\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
373
- maxOccurs=\"1\" name=\"conversion_percentage\" type=\"s:decimal\" />\r\n <s:element
374
- minOccurs=\"1\" maxOccurs=\"1\" name=\"cost\" type=\"s:decimal\" />\r\n <s:element
375
- minOccurs=\"1\" maxOccurs=\"1\" name=\"average_cost\" type=\"s:decimal\" />\r\n
376
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"epc\" type=\"s:decimal\"
377
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"revenue\"
378
- type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
379
- name=\"revenue_per_transaction\" type=\"s:decimal\" />\r\n <s:element
380
- minOccurs=\"1\" maxOccurs=\"1\" name=\"margin\" type=\"s:decimal\" />\r\n
381
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"profit\" type=\"s:decimal\"
382
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"pending\"
383
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
384
- name=\"rejected\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
385
- maxOccurs=\"1\" name=\"approved\" type=\"s:int\" />\r\n <s:element
386
- minOccurs=\"1\" maxOccurs=\"1\" name=\"returned\" type=\"s:int\" />\r\n <s:element
387
- minOccurs=\"1\" maxOccurs=\"1\" name=\"orders\" nillable=\"true\" type=\"s:int\"
388
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"order_total\"
389
- nillable=\"true\" type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\"
390
- maxOccurs=\"1\" name=\"average_order_value\" nillable=\"true\" type=\"s:decimal\"
391
- />\r\n </s:sequence>\r\n </s:complexType>\r\n <s:element
392
- name=\"CampaignSummary\">\r\n <s:complexType>\r\n <s:sequence>\r\n
393
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"api_key\" type=\"s:string\"
394
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"start_date\"
395
- type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
396
- name=\"end_date\" type=\"s:dateTime\" />\r\n <s:element minOccurs=\"1\"
397
- maxOccurs=\"1\" name=\"affiliate_id\" type=\"s:int\" />\r\n <s:element
398
- minOccurs=\"1\" maxOccurs=\"1\" name=\"affiliate_tag_id\" type=\"s:short\"
399
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_id\"
400
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
401
- name=\"offer_tag_id\" type=\"s:short\" />\r\n <s:element minOccurs=\"1\"
402
- maxOccurs=\"1\" name=\"campaign_id\" type=\"s:int\" />\r\n <s:element
403
- minOccurs=\"1\" maxOccurs=\"1\" name=\"event_id\" type=\"s:int\" />\r\n <s:element
404
- minOccurs=\"1\" maxOccurs=\"1\" name=\"revenue_filter\" type=\"tns:revenue_filter_types\"
405
- />\r\n </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
406
- \ <s:element name=\"CampaignSummaryResponse\">\r\n <s:complexType>\r\n
407
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
408
- name=\"CampaignSummaryResult\" type=\"tns:campaign_summary_response\" />\r\n
409
- \ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
410
- \ <s:complexType name=\"campaign_summary_response\">\r\n <s:complexContent
411
- mixed=\"false\">\r\n <s:extension base=\"tns:get_response\">\r\n
412
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
413
- name=\"campaigns\" type=\"tns:ArrayOfCampaign_summary\" />\r\n </s:sequence>\r\n
414
- \ </s:extension>\r\n </s:complexContent>\r\n </s:complexType>\r\n
415
- \ <s:complexType name=\"ArrayOfCampaign_summary\">\r\n <s:sequence>\r\n
416
- \ <s:element minOccurs=\"0\" maxOccurs=\"unbounded\" name=\"campaign_summary\"
417
- nillable=\"true\" type=\"tns:campaign_summary\" />\r\n </s:sequence>\r\n
418
- \ </s:complexType>\r\n <s:complexType name=\"campaign_summary\">\r\n
419
- \ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
420
- name=\"campaign\" type=\"s1:campaign\" />\r\n <s:element minOccurs=\"0\"
421
- maxOccurs=\"1\" name=\"affiliate\" type=\"s1:affiliate\" />\r\n <s:element
422
- minOccurs=\"0\" maxOccurs=\"1\" name=\"offer\" type=\"s1:offer\" />\r\n <s:element
423
- minOccurs=\"0\" maxOccurs=\"1\" name=\"account_manager\" type=\"s1:account_manager\"
424
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"advertiser\"
425
- type=\"s1:advertiser\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
426
- name=\"advertiser_manager\" type=\"s1:account_manager\" />\r\n <s:element
427
- minOccurs=\"0\" maxOccurs=\"1\" name=\"price_format\" type=\"s:string\" />\r\n
428
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"media_type\" type=\"s:string\"
429
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"views\"
430
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
431
- name=\"clicks\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
432
- maxOccurs=\"1\" name=\"click_thru_percentage\" type=\"s:decimal\" />\r\n <s:element
433
- minOccurs=\"1\" maxOccurs=\"1\" name=\"conversions\" type=\"s:int\" />\r\n
434
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"paid\" type=\"s:int\"
435
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"sellable\"
436
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
437
- name=\"events\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
438
- maxOccurs=\"1\" name=\"conversion_percentage\" type=\"s:decimal\" />\r\n <s:element
439
- minOccurs=\"1\" maxOccurs=\"1\" name=\"cost\" type=\"s:decimal\" />\r\n <s:element
440
- minOccurs=\"1\" maxOccurs=\"1\" name=\"average_cost\" type=\"s:decimal\" />\r\n
441
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"epc\" type=\"s:decimal\"
442
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"revenue\"
443
- type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
444
- name=\"revenue_per_transaction\" type=\"s:decimal\" />\r\n <s:element
445
- minOccurs=\"1\" maxOccurs=\"1\" name=\"margin\" type=\"s:decimal\" />\r\n
446
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"profit\" type=\"s:decimal\"
447
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"pending\"
448
- type=\"s:int\" />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\"
449
- name=\"rejected\" type=\"s:int\" />\r\n <s:element minOccurs=\"1\"
450
- maxOccurs=\"1\" name=\"approved\" type=\"s:int\" />\r\n <s:element
451
- minOccurs=\"1\" maxOccurs=\"1\" name=\"returned\" type=\"s:int\" />\r\n <s:element
452
- minOccurs=\"1\" maxOccurs=\"1\" name=\"orders\" nillable=\"true\" type=\"s:int\"
453
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"order_total\"
454
- nillable=\"true\" type=\"s:decimal\" />\r\n <s:element minOccurs=\"1\"
455
- maxOccurs=\"1\" name=\"average_order_value\" nillable=\"true\" type=\"s:decimal\"
456
- />\r\n <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"average_conversion_score\"
457
- nillable=\"true\" type=\"s:decimal\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
458
- \ <s:element name=\"ArrayOfConversion\" nillable=\"true\" type=\"tns:ArrayOfConversion\"
459
- />\r\n <s:element name=\"ArrayOfClick\" nillable=\"true\" type=\"tns:ArrayOfClick\"
460
- />\r\n <s:element name=\"advertiser_summary_response\" nillable=\"true\"
461
- type=\"tns:advertiser_summary_response\" />\r\n <s:element name=\"offer_summary_report_response\"
462
- nillable=\"true\" type=\"tns:offer_summary_report_response\" />\r\n <s:element
463
- name=\"affiliate_summary_response\" nillable=\"true\" type=\"tns:affiliate_summary_response\"
464
- />\r\n <s:element name=\"creative_summary_response\" nillable=\"true\"
465
- type=\"tns:creative_summary_response\" />\r\n <s:element name=\"campaign_summary_response\"
466
- nillable=\"true\" type=\"tns:campaign_summary_response\" />\r\n </s:schema>\r\n
467
- \ <s:schema elementFormDefault=\"qualified\" targetNamespace=\"API:id_name_store\">\r\n
468
- \ <s:complexType name=\"advertiser\">\r\n <s:sequence>\r\n <s:element
469
- minOccurs=\"1\" maxOccurs=\"1\" name=\"advertiser_id\" type=\"s:int\" />\r\n
470
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"advertiser_name\"
471
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
472
- \ <s:complexType name=\"account_manager\">\r\n <s:sequence>\r\n
473
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"account_manager_id\"
474
- type=\"s:int\" />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
475
- name=\"account_manager_name\" type=\"s:string\" />\r\n </s:sequence>\r\n
476
- \ </s:complexType>\r\n <s:complexType name=\"offer\">\r\n <s:sequence>\r\n
477
- \ <s:element minOccurs=\"1\" maxOccurs=\"1\" name=\"offer_id\" type=\"s:int\"
478
- />\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"offer_name\"
479
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
480
- \ <s:complexType name=\"affiliate\">\r\n <s:sequence>\r\n <s:element
481
- minOccurs=\"1\" maxOccurs=\"1\" name=\"affiliate_id\" type=\"s:int\" />\r\n
482
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"affiliate_name\"
483
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
484
- \ <s:complexType name=\"creative\">\r\n <s:sequence>\r\n <s:element
485
- minOccurs=\"1\" maxOccurs=\"1\" name=\"creative_id\" type=\"s:int\" />\r\n
486
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"creative_name\"
487
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
488
- \ <s:complexType name=\"campaign\">\r\n <s:sequence>\r\n <s:element
489
- minOccurs=\"1\" maxOccurs=\"1\" name=\"campaign_id\" type=\"s:int\" />\r\n
490
- \ <s:element minOccurs=\"0\" maxOccurs=\"1\" name=\"campaign_name\"
491
- type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
492
- \ </s:schema>\r\n </wsdl:types>\r\n <wsdl:message name=\"ConversionExportSoapIn\">\r\n
493
- \ <wsdl:part name=\"parameters\" element=\"tns:ConversionExport\" />\r\n
494
- \ </wsdl:message>\r\n <wsdl:message name=\"ConversionExportSoapOut\">\r\n
495
- \ <wsdl:part name=\"parameters\" element=\"tns:ConversionExportResponse\"
496
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"ClickExportSoapIn\">\r\n
497
- \ <wsdl:part name=\"parameters\" element=\"tns:ClickExport\" />\r\n </wsdl:message>\r\n
498
- \ <wsdl:message name=\"ClickExportSoapOut\">\r\n <wsdl:part name=\"parameters\"
499
- element=\"tns:ClickExportResponse\" />\r\n </wsdl:message>\r\n <wsdl:message
500
- name=\"AdvertiserSummarySoapIn\">\r\n <wsdl:part name=\"parameters\" element=\"tns:AdvertiserSummary\"
501
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"AdvertiserSummarySoapOut\">\r\n
502
- \ <wsdl:part name=\"parameters\" element=\"tns:AdvertiserSummaryResponse\"
503
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"OfferSummarySoapIn\">\r\n
504
- \ <wsdl:part name=\"parameters\" element=\"tns:OfferSummary\" />\r\n </wsdl:message>\r\n
505
- \ <wsdl:message name=\"OfferSummarySoapOut\">\r\n <wsdl:part name=\"parameters\"
506
- element=\"tns:OfferSummaryResponse\" />\r\n </wsdl:message>\r\n <wsdl:message
507
- name=\"AffiliateSummarySoapIn\">\r\n <wsdl:part name=\"parameters\" element=\"tns:AffiliateSummary\"
508
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"AffiliateSummarySoapOut\">\r\n
509
- \ <wsdl:part name=\"parameters\" element=\"tns:AffiliateSummaryResponse\"
510
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"CreativeSummarySoapIn\">\r\n
511
- \ <wsdl:part name=\"parameters\" element=\"tns:CreativeSummary\" />\r\n
512
- \ </wsdl:message>\r\n <wsdl:message name=\"CreativeSummarySoapOut\">\r\n
513
- \ <wsdl:part name=\"parameters\" element=\"tns:CreativeSummaryResponse\"
514
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"CampaignSummarySoapIn\">\r\n
515
- \ <wsdl:part name=\"parameters\" element=\"tns:CampaignSummary\" />\r\n
516
- \ </wsdl:message>\r\n <wsdl:message name=\"CampaignSummarySoapOut\">\r\n
517
- \ <wsdl:part name=\"parameters\" element=\"tns:CampaignSummaryResponse\"
518
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"ConversionExportHttpGetIn\">\r\n
519
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
520
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
521
- />\r\n <wsdl:part name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part
522
- name=\"offer_id\" type=\"s:string\" />\r\n <wsdl:part name=\"include_tests\"
523
- type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"ConversionExportHttpGetOut\">\r\n
524
- \ <wsdl:part name=\"Body\" element=\"tns:ArrayOfConversion\" />\r\n </wsdl:message>\r\n
525
- \ <wsdl:message name=\"ClickExportHttpGetIn\">\r\n <wsdl:part name=\"api_key\"
526
- type=\"s:string\" />\r\n <wsdl:part name=\"start_date\" type=\"s:string\"
527
- />\r\n <wsdl:part name=\"end_date\" type=\"s:string\" />\r\n <wsdl:part
528
- name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part name=\"offer_id\"
529
- type=\"s:string\" />\r\n <wsdl:part name=\"include_tests\" type=\"s:string\"
530
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"ClickExportHttpGetOut\">\r\n
531
- \ <wsdl:part name=\"Body\" element=\"tns:ArrayOfClick\" />\r\n </wsdl:message>\r\n
532
- \ <wsdl:message name=\"AdvertiserSummaryHttpGetIn\">\r\n <wsdl:part name=\"api_key\"
533
- type=\"s:string\" />\r\n <wsdl:part name=\"start_date\" type=\"s:string\"
534
- />\r\n <wsdl:part name=\"end_date\" type=\"s:string\" />\r\n <wsdl:part
535
- name=\"advertiser_id\" type=\"s:string\" />\r\n <wsdl:part name=\"advertiser_manager_id\"
536
- type=\"s:string\" />\r\n <wsdl:part name=\"advertiser_tag_id\" type=\"s:string\"
537
- />\r\n <wsdl:part name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part
538
- name=\"revenue_filter\" type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message
539
- name=\"AdvertiserSummaryHttpGetOut\">\r\n <wsdl:part name=\"Body\" element=\"tns:advertiser_summary_response\"
540
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"OfferSummaryHttpGetIn\">\r\n
541
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
542
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
543
- />\r\n <wsdl:part name=\"advertiser_id\" type=\"s:string\" />\r\n <wsdl:part
544
- name=\"advertiser_manager_id\" type=\"s:string\" />\r\n <wsdl:part name=\"offer_id\"
545
- type=\"s:string\" />\r\n <wsdl:part name=\"offer_tag_id\" type=\"s:string\"
546
- />\r\n <wsdl:part name=\"affiliate_tag_id\" type=\"s:string\" />\r\n <wsdl:part
547
- name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part name=\"revenue_filter\"
548
- type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"OfferSummaryHttpGetOut\">\r\n
549
- \ <wsdl:part name=\"Body\" element=\"tns:offer_summary_report_response\"
550
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"AffiliateSummaryHttpGetIn\">\r\n
551
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
552
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
553
- />\r\n <wsdl:part name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part
554
- name=\"affiliate_manager_id\" type=\"s:string\" />\r\n <wsdl:part name=\"affiliate_tag_id\"
555
- type=\"s:string\" />\r\n <wsdl:part name=\"offer_tag_id\" type=\"s:string\"
556
- />\r\n <wsdl:part name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part
557
- name=\"revenue_filter\" type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message
558
- name=\"AffiliateSummaryHttpGetOut\">\r\n <wsdl:part name=\"Body\" element=\"tns:affiliate_summary_response\"
559
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"CreativeSummaryHttpGetIn\">\r\n
560
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
561
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
562
- />\r\n <wsdl:part name=\"offer_id\" type=\"s:string\" />\r\n <wsdl:part
563
- name=\"campaign_id\" type=\"s:string\" />\r\n <wsdl:part name=\"event_id\"
564
- type=\"s:string\" />\r\n <wsdl:part name=\"revenue_filter\" type=\"s:string\"
565
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"CreativeSummaryHttpGetOut\">\r\n
566
- \ <wsdl:part name=\"Body\" element=\"tns:creative_summary_response\" />\r\n
567
- \ </wsdl:message>\r\n <wsdl:message name=\"CampaignSummaryHttpGetIn\">\r\n
568
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
569
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
570
- />\r\n <wsdl:part name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part
571
- name=\"affiliate_tag_id\" type=\"s:string\" />\r\n <wsdl:part name=\"offer_id\"
572
- type=\"s:string\" />\r\n <wsdl:part name=\"offer_tag_id\" type=\"s:string\"
573
- />\r\n <wsdl:part name=\"campaign_id\" type=\"s:string\" />\r\n <wsdl:part
574
- name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part name=\"revenue_filter\"
575
- type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"CampaignSummaryHttpGetOut\">\r\n
576
- \ <wsdl:part name=\"Body\" element=\"tns:campaign_summary_response\" />\r\n
577
- \ </wsdl:message>\r\n <wsdl:message name=\"ConversionExportHttpPostIn\">\r\n
578
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
579
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
580
- />\r\n <wsdl:part name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part
581
- name=\"offer_id\" type=\"s:string\" />\r\n <wsdl:part name=\"include_tests\"
582
- type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"ConversionExportHttpPostOut\">\r\n
583
- \ <wsdl:part name=\"Body\" element=\"tns:ArrayOfConversion\" />\r\n </wsdl:message>\r\n
584
- \ <wsdl:message name=\"ClickExportHttpPostIn\">\r\n <wsdl:part name=\"api_key\"
585
- type=\"s:string\" />\r\n <wsdl:part name=\"start_date\" type=\"s:string\"
586
- />\r\n <wsdl:part name=\"end_date\" type=\"s:string\" />\r\n <wsdl:part
587
- name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part name=\"offer_id\"
588
- type=\"s:string\" />\r\n <wsdl:part name=\"include_tests\" type=\"s:string\"
589
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"ClickExportHttpPostOut\">\r\n
590
- \ <wsdl:part name=\"Body\" element=\"tns:ArrayOfClick\" />\r\n </wsdl:message>\r\n
591
- \ <wsdl:message name=\"AdvertiserSummaryHttpPostIn\">\r\n <wsdl:part name=\"api_key\"
592
- type=\"s:string\" />\r\n <wsdl:part name=\"start_date\" type=\"s:string\"
593
- />\r\n <wsdl:part name=\"end_date\" type=\"s:string\" />\r\n <wsdl:part
594
- name=\"advertiser_id\" type=\"s:string\" />\r\n <wsdl:part name=\"advertiser_manager_id\"
595
- type=\"s:string\" />\r\n <wsdl:part name=\"advertiser_tag_id\" type=\"s:string\"
596
- />\r\n <wsdl:part name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part
597
- name=\"revenue_filter\" type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message
598
- name=\"AdvertiserSummaryHttpPostOut\">\r\n <wsdl:part name=\"Body\" element=\"tns:advertiser_summary_response\"
599
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"OfferSummaryHttpPostIn\">\r\n
600
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
601
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
602
- />\r\n <wsdl:part name=\"advertiser_id\" type=\"s:string\" />\r\n <wsdl:part
603
- name=\"advertiser_manager_id\" type=\"s:string\" />\r\n <wsdl:part name=\"offer_id\"
604
- type=\"s:string\" />\r\n <wsdl:part name=\"offer_tag_id\" type=\"s:string\"
605
- />\r\n <wsdl:part name=\"affiliate_tag_id\" type=\"s:string\" />\r\n <wsdl:part
606
- name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part name=\"revenue_filter\"
607
- type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"OfferSummaryHttpPostOut\">\r\n
608
- \ <wsdl:part name=\"Body\" element=\"tns:offer_summary_report_response\"
609
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"AffiliateSummaryHttpPostIn\">\r\n
610
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
611
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
612
- />\r\n <wsdl:part name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part
613
- name=\"affiliate_manager_id\" type=\"s:string\" />\r\n <wsdl:part name=\"affiliate_tag_id\"
614
- type=\"s:string\" />\r\n <wsdl:part name=\"offer_tag_id\" type=\"s:string\"
615
- />\r\n <wsdl:part name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part
616
- name=\"revenue_filter\" type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message
617
- name=\"AffiliateSummaryHttpPostOut\">\r\n <wsdl:part name=\"Body\" element=\"tns:affiliate_summary_response\"
618
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"CreativeSummaryHttpPostIn\">\r\n
619
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
620
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
621
- />\r\n <wsdl:part name=\"offer_id\" type=\"s:string\" />\r\n <wsdl:part
622
- name=\"campaign_id\" type=\"s:string\" />\r\n <wsdl:part name=\"event_id\"
623
- type=\"s:string\" />\r\n <wsdl:part name=\"revenue_filter\" type=\"s:string\"
624
- />\r\n </wsdl:message>\r\n <wsdl:message name=\"CreativeSummaryHttpPostOut\">\r\n
625
- \ <wsdl:part name=\"Body\" element=\"tns:creative_summary_response\" />\r\n
626
- \ </wsdl:message>\r\n <wsdl:message name=\"CampaignSummaryHttpPostIn\">\r\n
627
- \ <wsdl:part name=\"api_key\" type=\"s:string\" />\r\n <wsdl:part name=\"start_date\"
628
- type=\"s:string\" />\r\n <wsdl:part name=\"end_date\" type=\"s:string\"
629
- />\r\n <wsdl:part name=\"affiliate_id\" type=\"s:string\" />\r\n <wsdl:part
630
- name=\"affiliate_tag_id\" type=\"s:string\" />\r\n <wsdl:part name=\"offer_id\"
631
- type=\"s:string\" />\r\n <wsdl:part name=\"offer_tag_id\" type=\"s:string\"
632
- />\r\n <wsdl:part name=\"campaign_id\" type=\"s:string\" />\r\n <wsdl:part
633
- name=\"event_id\" type=\"s:string\" />\r\n <wsdl:part name=\"revenue_filter\"
634
- type=\"s:string\" />\r\n </wsdl:message>\r\n <wsdl:message name=\"CampaignSummaryHttpPostOut\">\r\n
635
- \ <wsdl:part name=\"Body\" element=\"tns:campaign_summary_response\" />\r\n
636
- \ </wsdl:message>\r\n <wsdl:portType name=\"reportsSoap\">\r\n <wsdl:operation
637
- name=\"ConversionExport\">\r\n <wsdl:input message=\"tns:ConversionExportSoapIn\"
638
- />\r\n <wsdl:output message=\"tns:ConversionExportSoapOut\" />\r\n </wsdl:operation>\r\n
639
- \ <wsdl:operation name=\"ClickExport\">\r\n <wsdl:input message=\"tns:ClickExportSoapIn\"
640
- />\r\n <wsdl:output message=\"tns:ClickExportSoapOut\" />\r\n </wsdl:operation>\r\n
641
- \ <wsdl:operation name=\"AdvertiserSummary\">\r\n <wsdl:input message=\"tns:AdvertiserSummarySoapIn\"
642
- />\r\n <wsdl:output message=\"tns:AdvertiserSummarySoapOut\" />\r\n </wsdl:operation>\r\n
643
- \ <wsdl:operation name=\"OfferSummary\">\r\n <wsdl:input message=\"tns:OfferSummarySoapIn\"
644
- />\r\n <wsdl:output message=\"tns:OfferSummarySoapOut\" />\r\n </wsdl:operation>\r\n
645
- \ <wsdl:operation name=\"AffiliateSummary\">\r\n <wsdl:input message=\"tns:AffiliateSummarySoapIn\"
646
- />\r\n <wsdl:output message=\"tns:AffiliateSummarySoapOut\" />\r\n </wsdl:operation>\r\n
647
- \ <wsdl:operation name=\"CreativeSummary\">\r\n <wsdl:input message=\"tns:CreativeSummarySoapIn\"
648
- />\r\n <wsdl:output message=\"tns:CreativeSummarySoapOut\" />\r\n </wsdl:operation>\r\n
649
- \ <wsdl:operation name=\"CampaignSummary\">\r\n <wsdl:input message=\"tns:CampaignSummarySoapIn\"
650
- />\r\n <wsdl:output message=\"tns:CampaignSummarySoapOut\" />\r\n </wsdl:operation>\r\n
651
- \ </wsdl:portType>\r\n <wsdl:portType name=\"reportsHttpGet\">\r\n <wsdl:operation
652
- name=\"ConversionExport\">\r\n <wsdl:input message=\"tns:ConversionExportHttpGetIn\"
653
- />\r\n <wsdl:output message=\"tns:ConversionExportHttpGetOut\" />\r\n
654
- \ </wsdl:operation>\r\n <wsdl:operation name=\"ClickExport\">\r\n <wsdl:input
655
- message=\"tns:ClickExportHttpGetIn\" />\r\n <wsdl:output message=\"tns:ClickExportHttpGetOut\"
656
- />\r\n </wsdl:operation>\r\n <wsdl:operation name=\"AdvertiserSummary\">\r\n
657
- \ <wsdl:input message=\"tns:AdvertiserSummaryHttpGetIn\" />\r\n <wsdl:output
658
- message=\"tns:AdvertiserSummaryHttpGetOut\" />\r\n </wsdl:operation>\r\n
659
- \ <wsdl:operation name=\"OfferSummary\">\r\n <wsdl:input message=\"tns:OfferSummaryHttpGetIn\"
660
- />\r\n <wsdl:output message=\"tns:OfferSummaryHttpGetOut\" />\r\n </wsdl:operation>\r\n
661
- \ <wsdl:operation name=\"AffiliateSummary\">\r\n <wsdl:input message=\"tns:AffiliateSummaryHttpGetIn\"
662
- />\r\n <wsdl:output message=\"tns:AffiliateSummaryHttpGetOut\" />\r\n
663
- \ </wsdl:operation>\r\n <wsdl:operation name=\"CreativeSummary\">\r\n
664
- \ <wsdl:input message=\"tns:CreativeSummaryHttpGetIn\" />\r\n <wsdl:output
665
- message=\"tns:CreativeSummaryHttpGetOut\" />\r\n </wsdl:operation>\r\n
666
- \ <wsdl:operation name=\"CampaignSummary\">\r\n <wsdl:input message=\"tns:CampaignSummaryHttpGetIn\"
667
- />\r\n <wsdl:output message=\"tns:CampaignSummaryHttpGetOut\" />\r\n
668
- \ </wsdl:operation>\r\n </wsdl:portType>\r\n <wsdl:portType name=\"reportsHttpPost\">\r\n
669
- \ <wsdl:operation name=\"ConversionExport\">\r\n <wsdl:input message=\"tns:ConversionExportHttpPostIn\"
670
- />\r\n <wsdl:output message=\"tns:ConversionExportHttpPostOut\" />\r\n
671
- \ </wsdl:operation>\r\n <wsdl:operation name=\"ClickExport\">\r\n <wsdl:input
672
- message=\"tns:ClickExportHttpPostIn\" />\r\n <wsdl:output message=\"tns:ClickExportHttpPostOut\"
673
- />\r\n </wsdl:operation>\r\n <wsdl:operation name=\"AdvertiserSummary\">\r\n
674
- \ <wsdl:input message=\"tns:AdvertiserSummaryHttpPostIn\" />\r\n <wsdl:output
675
- message=\"tns:AdvertiserSummaryHttpPostOut\" />\r\n </wsdl:operation>\r\n
676
- \ <wsdl:operation name=\"OfferSummary\">\r\n <wsdl:input message=\"tns:OfferSummaryHttpPostIn\"
677
- />\r\n <wsdl:output message=\"tns:OfferSummaryHttpPostOut\" />\r\n </wsdl:operation>\r\n
678
- \ <wsdl:operation name=\"AffiliateSummary\">\r\n <wsdl:input message=\"tns:AffiliateSummaryHttpPostIn\"
679
- />\r\n <wsdl:output message=\"tns:AffiliateSummaryHttpPostOut\" />\r\n
680
- \ </wsdl:operation>\r\n <wsdl:operation name=\"CreativeSummary\">\r\n
681
- \ <wsdl:input message=\"tns:CreativeSummaryHttpPostIn\" />\r\n <wsdl:output
682
- message=\"tns:CreativeSummaryHttpPostOut\" />\r\n </wsdl:operation>\r\n
683
- \ <wsdl:operation name=\"CampaignSummary\">\r\n <wsdl:input message=\"tns:CampaignSummaryHttpPostIn\"
684
- />\r\n <wsdl:output message=\"tns:CampaignSummaryHttpPostOut\" />\r\n
685
- \ </wsdl:operation>\r\n </wsdl:portType>\r\n <wsdl:binding name=\"reportsSoap\"
686
- type=\"tns:reportsSoap\">\r\n <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\"
687
- />\r\n <wsdl:operation name=\"ConversionExport\">\r\n <soap:operation
688
- soapAction=\"http://cakemarketing.com/api/2/ConversionExport\" style=\"document\"
689
- />\r\n <wsdl:input>\r\n <soap:body use=\"literal\" />\r\n </wsdl:input>\r\n
690
- \ <wsdl:output>\r\n <soap:body use=\"literal\" />\r\n </wsdl:output>\r\n
691
- \ </wsdl:operation>\r\n <wsdl:operation name=\"ClickExport\">\r\n <soap:operation
692
- soapAction=\"http://cakemarketing.com/api/2/ClickExport\" style=\"document\"
693
- />\r\n <wsdl:input>\r\n <soap:body use=\"literal\" />\r\n </wsdl:input>\r\n
694
- \ <wsdl:output>\r\n <soap:body use=\"literal\" />\r\n </wsdl:output>\r\n
695
- \ </wsdl:operation>\r\n <wsdl:operation name=\"AdvertiserSummary\">\r\n
696
- \ <soap:operation soapAction=\"http://cakemarketing.com/api/2/AdvertiserSummary\"
697
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
698
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
699
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
700
- name=\"OfferSummary\">\r\n <soap:operation soapAction=\"http://cakemarketing.com/api/2/OfferSummary\"
701
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
702
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
703
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
704
- name=\"AffiliateSummary\">\r\n <soap:operation soapAction=\"http://cakemarketing.com/api/2/AffiliateSummary\"
705
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
706
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
707
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
708
- name=\"CreativeSummary\">\r\n <soap:operation soapAction=\"http://cakemarketing.com/api/2/CreativeSummary\"
709
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
710
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
711
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
712
- name=\"CampaignSummary\">\r\n <soap:operation soapAction=\"http://cakemarketing.com/api/2/CampaignSummary\"
713
- style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
714
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
715
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
716
- \ <wsdl:binding name=\"reportsSoap12\" type=\"tns:reportsSoap\">\r\n <soap12:binding
717
- transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n <wsdl:operation
718
- name=\"ConversionExport\">\r\n <soap12:operation soapAction=\"http://cakemarketing.com/api/2/ConversionExport\"
719
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
720
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
721
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
722
- name=\"ClickExport\">\r\n <soap12:operation soapAction=\"http://cakemarketing.com/api/2/ClickExport\"
723
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
724
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
725
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
726
- name=\"AdvertiserSummary\">\r\n <soap12:operation soapAction=\"http://cakemarketing.com/api/2/AdvertiserSummary\"
727
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
728
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
729
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
730
- name=\"OfferSummary\">\r\n <soap12:operation soapAction=\"http://cakemarketing.com/api/2/OfferSummary\"
731
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
732
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
733
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
734
- name=\"AffiliateSummary\">\r\n <soap12:operation soapAction=\"http://cakemarketing.com/api/2/AffiliateSummary\"
735
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
736
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
737
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
738
- name=\"CreativeSummary\">\r\n <soap12:operation soapAction=\"http://cakemarketing.com/api/2/CreativeSummary\"
739
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
740
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
741
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
742
- name=\"CampaignSummary\">\r\n <soap12:operation soapAction=\"http://cakemarketing.com/api/2/CampaignSummary\"
743
- style=\"document\" />\r\n <wsdl:input>\r\n <soap12:body use=\"literal\"
744
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap12:body use=\"literal\"
745
- />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
746
- \ <wsdl:binding name=\"reportsHttpGet\" type=\"tns:reportsHttpGet\">\r\n <http:binding
747
- verb=\"GET\" />\r\n <wsdl:operation name=\"ConversionExport\">\r\n <http:operation
748
- location=\"/ConversionExport\" />\r\n <wsdl:input>\r\n <http:urlEncoded
749
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
750
- part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
751
- name=\"ClickExport\">\r\n <http:operation location=\"/ClickExport\" />\r\n
752
- \ <wsdl:input>\r\n <http:urlEncoded />\r\n </wsdl:input>\r\n
753
- \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
754
- \ </wsdl:operation>\r\n <wsdl:operation name=\"AdvertiserSummary\">\r\n
755
- \ <http:operation location=\"/AdvertiserSummary\" />\r\n <wsdl:input>\r\n
756
- \ <http:urlEncoded />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
757
- \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
758
- \ <wsdl:operation name=\"OfferSummary\">\r\n <http:operation location=\"/OfferSummary\"
759
- />\r\n <wsdl:input>\r\n <http:urlEncoded />\r\n </wsdl:input>\r\n
760
- \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
761
- \ </wsdl:operation>\r\n <wsdl:operation name=\"AffiliateSummary\">\r\n
762
- \ <http:operation location=\"/AffiliateSummary\" />\r\n <wsdl:input>\r\n
763
- \ <http:urlEncoded />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
764
- \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
765
- \ <wsdl:operation name=\"CreativeSummary\">\r\n <http:operation location=\"/CreativeSummary\"
766
- />\r\n <wsdl:input>\r\n <http:urlEncoded />\r\n </wsdl:input>\r\n
767
- \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
768
- \ </wsdl:operation>\r\n <wsdl:operation name=\"CampaignSummary\">\r\n
769
- \ <http:operation location=\"/CampaignSummary\" />\r\n <wsdl:input>\r\n
770
- \ <http:urlEncoded />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
771
- \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
772
- \ </wsdl:binding>\r\n <wsdl:binding name=\"reportsHttpPost\" type=\"tns:reportsHttpPost\">\r\n
773
- \ <http:binding verb=\"POST\" />\r\n <wsdl:operation name=\"ConversionExport\">\r\n
774
- \ <http:operation location=\"/ConversionExport\" />\r\n <wsdl:input>\r\n
775
- \ <mime:content type=\"application/x-www-form-urlencoded\" />\r\n </wsdl:input>\r\n
776
- \ <wsdl:output>\r\n <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n
777
- \ </wsdl:operation>\r\n <wsdl:operation name=\"ClickExport\">\r\n <http:operation
778
- location=\"/ClickExport\" />\r\n <wsdl:input>\r\n <mime:content
779
- type=\"application/x-www-form-urlencoded\" />\r\n </wsdl:input>\r\n <wsdl:output>\r\n
780
- \ <mime:mimeXml part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n
781
- \ <wsdl:operation name=\"AdvertiserSummary\">\r\n <http:operation location=\"/AdvertiserSummary\"
782
- />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
783
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
784
- part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
785
- name=\"OfferSummary\">\r\n <http:operation location=\"/OfferSummary\"
786
- />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
787
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
788
- part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
789
- name=\"AffiliateSummary\">\r\n <http:operation location=\"/AffiliateSummary\"
790
- />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
791
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
792
- part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
793
- name=\"CreativeSummary\">\r\n <http:operation location=\"/CreativeSummary\"
794
- />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
795
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
796
- part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
797
- name=\"CampaignSummary\">\r\n <http:operation location=\"/CampaignSummary\"
798
- />\r\n <wsdl:input>\r\n <mime:content type=\"application/x-www-form-urlencoded\"
799
- />\r\n </wsdl:input>\r\n <wsdl:output>\r\n <mime:mimeXml
800
- part=\"Body\" />\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
801
- \ <wsdl:service name=\"reports\">\r\n <wsdl:port name=\"reportsSoap\" binding=\"tns:reportsSoap\">\r\n
802
- \ <soap:address location=\"https://cake-partner-domain.com/api/2/reports.asmx\"
803
- />\r\n </wsdl:port>\r\n <wsdl:port name=\"reportsSoap12\" binding=\"tns:reportsSoap12\">\r\n
804
- \ <soap12:address location=\"https://cake-partner-domain.com/api/2/reports.asmx\"
805
- />\r\n </wsdl:port>\r\n <wsdl:port name=\"reportsHttpGet\" binding=\"tns:reportsHttpGet\">\r\n
806
- \ <http:address location=\"https://cake-partner-domain.com/api/2/reports.asmx\"
807
- />\r\n </wsdl:port>\r\n <wsdl:port name=\"reportsHttpPost\" binding=\"tns:reportsHttpPost\">\r\n
808
- \ <http:address location=\"https://cake-partner-domain.com/api/2/reports.asmx\"
809
- />\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
810
- http_version:
811
- recorded_at: Tue, 20 May 2014 15:09:55 GMT
812
- - request:
813
- method: post
814
- uri: https://cake-partner-domain.com/api/2/reports.asmx
815
- body:
816
- encoding: UTF-8
817
- string: |
818
- <env:Envelope xmlns:lol0="http://cakemarketing.com/api/2/" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
819
- <env:Header>
820
- </env:Header>
821
- <env:Body>
822
- <lol0:OfferSummary>
823
- <lol0:api_key>cake-api-key</lol0:api_key>
824
- <lol0:start_date>2013-01-01T00:00:00</lol0:start_date>
825
- <lol0:end_date>2013-01-02T00:00:00</lol0:end_date>
826
- </lol0:OfferSummary>
827
- </env:Body>
828
- </env:Envelope>
829
- headers:
830
- User-Agent:
831
- - HTTPClient/1.0 (2.3.4.1, ruby 2.1.2 (2014-05-08))
832
- Accept:
833
- - "*/*"
834
- Date:
835
- - Tue, 20 May 2014 15:09:55 GMT
836
- Content-Type:
837
- - application/soap+xml;charset=UTF-8;action="http://cakemarketing.com/api/2/OfferSummary"
838
- response:
839
- status:
840
- code: 200
841
- message: OK
842
- headers:
843
- Cache-Control:
844
- - private, max-age=0
845
- Content-Type:
846
- - application/soap+xml; charset=utf-8
847
- Server:
848
- - Microsoft-IIS/8.0
849
- X-Aspnet-Version:
850
- - 4.0.30319
851
- X-Powered-By:
852
- - ASP.NET
853
- Date:
854
- - Tue, 20 May 2014 15:09:34 GMT
855
- Content-Length:
856
- - '427'
857
- body:
858
- encoding: UTF-8
859
- string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
860
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><OfferSummaryResponse
861
- xmlns="http://cakemarketing.com/api/2/"><OfferSummaryResult><success>true</success><row_count>0</row_count><offers
862
- /></OfferSummaryResult></OfferSummaryResponse></soap:Body></soap:Envelope>
863
- http_version:
864
- recorded_at: Tue, 20 May 2014 15:09:55 GMT
865
- recorded_with: VCR 2.9.0