Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 - 1
<?php
2
/*
3
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4
 * use this file except in compliance with the License. You may obtain a copy of
5
 * the License at
6
 *
7
 * http://www.apache.org/licenses/LICENSE-2.0
8
 *
9
 * Unless required by applicable law or agreed to in writing, software
10
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
 * License for the specific language governing permissions and limitations under
13
 * the License.
14
 */
15
 
16
 
17
  /**
18
   * The "advertisers" collection of methods.
19
   * Typical usage is:
20
   *  <code>
21
   *   $ganService = new Google_GanService(...);
22
   *   $advertisers = $ganService->advertisers;
23
   *  </code>
24
   */
25
  class Google_AdvertisersServiceResource extends Google_ServiceResource {
26
 
27
 
28
    /**
29
     * Retrieves data about all advertisers that the requesting advertiser/publisher has access to.
30
     * (advertisers.list)
31
     *
32
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
33
     * @param string $roleId The ID of the requesting advertiser or publisher.
34
     * @param array $optParams Optional parameters.
35
     *
36
     * @opt_param string relationshipStatus Filters out all advertisers for which do not have the given relationship status with the requesting publisher.
37
     * @opt_param double minSevenDayEpc Filters out all advertisers that have a seven day EPC average lower than the given value (inclusive). Min value: 0.0. Optional.
38
     * @opt_param string advertiserCategory Caret(^) delimted list of advertiser categories. Valid categories are defined here: http://www.google.com/support/affiliatenetwork/advertiser/bin/answer.py?hl=en=107581. Filters out all advertisers not in one of the given advertiser categories. Optional.
39
     * @opt_param double minNinetyDayEpc Filters out all advertisers that have a ninety day EPC average lower than the given value (inclusive). Min value: 0.0. Optional.
40
     * @opt_param string pageToken The value of 'nextPageToken' from the previous page. Optional.
41
     * @opt_param string maxResults Max number of items to return in this page. Optional. Defaults to 20.
42
     * @opt_param int minPayoutRank A value between 1 and 4, where 1 represents the quartile of advertisers with the lowest ranks and 4 represents the quartile of advertisers with the highest ranks. Filters out all advertisers with a lower rank than the given quartile. For example if a 2 was given only advertisers with a payout rank of 25 or higher would be included. Optional.
43
     * @return Google_Advertisers
44
     */
45
    public function listAdvertisers($role, $roleId, $optParams = array()) {
46
      $params = array('role' => $role, 'roleId' => $roleId);
47
      $params = array_merge($params, $optParams);
48
      $data = $this->__call('list', array($params));
49
      if ($this->useObjects()) {
50
        return new Google_Advertisers($data);
51
      } else {
52
        return $data;
53
      }
54
    }
55
    /**
56
     * Retrieves data about a single advertiser if that the requesting advertiser/publisher has access
57
     * to it. Only publishers can lookup advertisers. Advertisers can request information about
58
     * themselves by omitting the advertiserId query parameter. (advertisers.get)
59
     *
60
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
61
     * @param string $roleId The ID of the requesting advertiser or publisher.
62
     * @param array $optParams Optional parameters.
63
     *
64
     * @opt_param string advertiserId The ID of the advertiser to look up. Optional.
65
     * @return Google_Advertiser
66
     */
67
    public function get($role, $roleId, $optParams = array()) {
68
      $params = array('role' => $role, 'roleId' => $roleId);
69
      $params = array_merge($params, $optParams);
70
      $data = $this->__call('get', array($params));
71
      if ($this->useObjects()) {
72
        return new Google_Advertiser($data);
73
      } else {
74
        return $data;
75
      }
76
    }
77
  }
78
 
79
  /**
80
   * The "ccOffers" collection of methods.
81
   * Typical usage is:
82
   *  <code>
83
   *   $ganService = new Google_GanService(...);
84
   *   $ccOffers = $ganService->ccOffers;
85
   *  </code>
86
   */
87
  class Google_CcOffersServiceResource extends Google_ServiceResource {
88
 
89
 
90
    /**
91
     * Retrieves credit card offers for the given publisher. (ccOffers.list)
92
     *
93
     * @param string $publisher The ID of the publisher in question.
94
     * @param array $optParams Optional parameters.
95
     *
96
     * @opt_param string advertiser The advertiser ID of a card issuer whose offers to include. Optional, may be repeated.
97
     * @opt_param string projection The set of fields to return.
98
     * @return Google_CcOffers
99
     */
100
    public function listCcOffers($publisher, $optParams = array()) {
101
      $params = array('publisher' => $publisher);
102
      $params = array_merge($params, $optParams);
103
      $data = $this->__call('list', array($params));
104
      if ($this->useObjects()) {
105
        return new Google_CcOffers($data);
106
      } else {
107
        return $data;
108
      }
109
    }
110
  }
111
 
112
  /**
113
   * The "events" collection of methods.
114
   * Typical usage is:
115
   *  <code>
116
   *   $ganService = new Google_GanService(...);
117
   *   $events = $ganService->events;
118
   *  </code>
119
   */
120
  class Google_EventsServiceResource extends Google_ServiceResource {
121
 
122
 
123
    /**
124
     * Retrieves event data for a given advertiser/publisher. (events.list)
125
     *
126
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
127
     * @param string $roleId The ID of the requesting advertiser or publisher.
128
     * @param array $optParams Optional parameters.
129
     *
130
     * @opt_param string orderId Caret(^) delimited list of order IDs. Filters out all events that do not reference one of the given order IDs. Optional.
131
     * @opt_param string sku Caret(^) delimited list of SKUs. Filters out all events that do not reference one of the given SKU. Optional.
132
     * @opt_param string eventDateMax Filters out all events later than given date. Optional. Defaults to 24 hours after eventMin.
133
     * @opt_param string type Filters out all events that are not of the given type. Valid values: 'action', 'transaction', 'charge'. Optional.
134
     * @opt_param string linkId Caret(^) delimited list of link IDs. Filters out all events that do not reference one of the given link IDs. Optional.
135
     * @opt_param string modifyDateMin Filters out all events modified earlier than given date. Optional. Defaults to 24 hours before the current modifyDateMax, if modifyDateMax is explicitly set.
136
     * @opt_param string eventDateMin Filters out all events earlier than given date. Optional. Defaults to 24 hours from current date/time.
137
     * @opt_param string memberId Caret(^) delimited list of member IDs. Filters out all events that do not reference one of the given member IDs. Optional.
138
     * @opt_param string maxResults Max number of offers to return in this page. Optional. Defaults to 20.
139
     * @opt_param string advertiserId Caret(^) delimited list of advertiser IDs. Filters out all events that do not reference one of the given advertiser IDs. Only used when under publishers role. Optional.
140
     * @opt_param string pageToken The value of 'nextPageToken' from the previous page. Optional.
141
     * @opt_param string productCategory Caret(^) delimited list of product categories. Filters out all events that do not reference a product in one of the given product categories. Optional.
142
     * @opt_param string chargeType Filters out all charge events that are not of the given charge type. Valid values: 'other', 'slotting_fee', 'monthly_minimum', 'tier_bonus', 'credit', 'debit'. Optional.
143
     * @opt_param string modifyDateMax Filters out all events modified later than given date. Optional. Defaults to 24 hours after modifyDateMin, if modifyDateMin is explicitly set.
144
     * @opt_param string status Filters out all events that do not have the given status. Valid values: 'active', 'canceled'. Optional.
145
     * @opt_param string publisherId Caret(^) delimited list of publisher IDs. Filters out all events that do not reference one of the given publishers IDs. Only used when under advertiser role. Optional.
146
     * @return Google_Events
147
     */
148
    public function listEvents($role, $roleId, $optParams = array()) {
149
      $params = array('role' => $role, 'roleId' => $roleId);
150
      $params = array_merge($params, $optParams);
151
      $data = $this->__call('list', array($params));
152
      if ($this->useObjects()) {
153
        return new Google_Events($data);
154
      } else {
155
        return $data;
156
      }
157
    }
158
  }
159
 
160
  /**
161
   * The "links" collection of methods.
162
   * Typical usage is:
163
   *  <code>
164
   *   $ganService = new Google_GanService(...);
165
   *   $links = $ganService->links;
166
   *  </code>
167
   */
168
  class Google_LinksServiceResource extends Google_ServiceResource {
169
 
170
 
171
    /**
172
     * Inserts a new link. (links.insert)
173
     *
174
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
175
     * @param string $roleId The ID of the requesting advertiser or publisher.
176
     * @param Google_Link $postBody
177
     * @param array $optParams Optional parameters.
178
     * @return Google_Link
179
     */
180
    public function insert($role, $roleId, Google_Link $postBody, $optParams = array()) {
181
      $params = array('role' => $role, 'roleId' => $roleId, 'postBody' => $postBody);
182
      $params = array_merge($params, $optParams);
183
      $data = $this->__call('insert', array($params));
184
      if ($this->useObjects()) {
185
        return new Google_Link($data);
186
      } else {
187
        return $data;
188
      }
189
    }
190
    /**
191
     * Retrieves all links that match the query parameters. (links.list)
192
     *
193
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
194
     * @param string $roleId The ID of the requesting advertiser or publisher.
195
     * @param array $optParams Optional parameters.
196
     *
197
     * @opt_param string linkType The type of the link.
198
     * @opt_param string startDateMin The beginning of the start date range.
199
     * @opt_param string assetSize The size of the given asset.
200
     * @opt_param string relationshipStatus The status of the relationship.
201
     * @opt_param string advertiserCategory The advertiser's primary vertical.
202
     * @opt_param string maxResults Max number of items to return in this page. Optional. Defaults to 20.
203
     * @opt_param string advertiserId Limits the resulting links to the ones belonging to the listed advertisers.
204
     * @opt_param string pageToken The value of 'nextPageToken' from the previous page. Optional.
205
     * @opt_param string startDateMax The end of the start date range.
206
     * @opt_param string promotionType The promotion type.
207
     * @opt_param string authorship The role of the author of the link.
208
     * @return Google_Links
209
     */
210
    public function listLinks($role, $roleId, $optParams = array()) {
211
      $params = array('role' => $role, 'roleId' => $roleId);
212
      $params = array_merge($params, $optParams);
213
      $data = $this->__call('list', array($params));
214
      if ($this->useObjects()) {
215
        return new Google_Links($data);
216
      } else {
217
        return $data;
218
      }
219
    }
220
    /**
221
     * Retrieves data about a single link if the requesting advertiser/publisher has access to it.
222
     * Advertisers can look up their own links. Publishers can look up visible links or links belonging
223
     * to advertisers they are in a relationship with. (links.get)
224
     *
225
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
226
     * @param string $roleId The ID of the requesting advertiser or publisher.
227
     * @param string $linkId The ID of the link to look up.
228
     * @param array $optParams Optional parameters.
229
     * @return Google_Link
230
     */
231
    public function get($role, $roleId, $linkId, $optParams = array()) {
232
      $params = array('role' => $role, 'roleId' => $roleId, 'linkId' => $linkId);
233
      $params = array_merge($params, $optParams);
234
      $data = $this->__call('get', array($params));
235
      if ($this->useObjects()) {
236
        return new Google_Link($data);
237
      } else {
238
        return $data;
239
      }
240
    }
241
  }
242
 
243
  /**
244
   * The "publishers" collection of methods.
245
   * Typical usage is:
246
   *  <code>
247
   *   $ganService = new Google_GanService(...);
248
   *   $publishers = $ganService->publishers;
249
   *  </code>
250
   */
251
  class Google_PublishersServiceResource extends Google_ServiceResource {
252
 
253
 
254
    /**
255
     * Retrieves data about all publishers that the requesting advertiser/publisher has access to.
256
     * (publishers.list)
257
     *
258
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
259
     * @param string $roleId The ID of the requesting advertiser or publisher.
260
     * @param array $optParams Optional parameters.
261
     *
262
     * @opt_param string publisherCategory Caret(^) delimted list of publisher categories. Valid categories: (unclassified|community_and_content|shopping_and_promotion|loyalty_and_rewards|network|search_specialist|comparison_shopping|email). Filters out all publishers not in one of the given advertiser categories. Optional.
263
     * @opt_param string relationshipStatus Filters out all publishers for which do not have the given relationship status with the requesting publisher.
264
     * @opt_param double minSevenDayEpc Filters out all publishers that have a seven day EPC average lower than the given value (inclusive). Min value 0.0. Optional.
265
     * @opt_param double minNinetyDayEpc Filters out all publishers that have a ninety day EPC average lower than the given value (inclusive). Min value: 0.0. Optional.
266
     * @opt_param string pageToken The value of 'nextPageToken' from the previous page. Optional.
267
     * @opt_param string maxResults Max number of items to return in this page. Optional. Defaults to 20.
268
     * @opt_param int minPayoutRank A value between 1 and 4, where 1 represents the quartile of publishers with the lowest ranks and 4 represents the quartile of publishers with the highest ranks. Filters out all publishers with a lower rank than the given quartile. For example if a 2 was given only publishers with a payout rank of 25 or higher would be included. Optional.
269
     * @return Google_Publishers
270
     */
271
    public function listPublishers($role, $roleId, $optParams = array()) {
272
      $params = array('role' => $role, 'roleId' => $roleId);
273
      $params = array_merge($params, $optParams);
274
      $data = $this->__call('list', array($params));
275
      if ($this->useObjects()) {
276
        return new Google_Publishers($data);
277
      } else {
278
        return $data;
279
      }
280
    }
281
    /**
282
     * Retrieves data about a single advertiser if that the requesting advertiser/publisher has access
283
     * to it. Only advertisers can look up publishers. Publishers can request information about
284
     * themselves by omitting the publisherId query parameter. (publishers.get)
285
     *
286
     * @param string $role The role of the requester. Valid values: 'advertisers' or 'publishers'.
287
     * @param string $roleId The ID of the requesting advertiser or publisher.
288
     * @param array $optParams Optional parameters.
289
     *
290
     * @opt_param string publisherId The ID of the publisher to look up. Optional.
291
     * @return Google_Publisher
292
     */
293
    public function get($role, $roleId, $optParams = array()) {
294
      $params = array('role' => $role, 'roleId' => $roleId);
295
      $params = array_merge($params, $optParams);
296
      $data = $this->__call('get', array($params));
297
      if ($this->useObjects()) {
298
        return new Google_Publisher($data);
299
      } else {
300
        return $data;
301
      }
302
    }
303
  }
304
 
305
/**
306
 * Service definition for Google_Gan (v1beta1).
307
 *
308
 * <p>
309
 * Lets you have programmatic access to your Google Affiliate Network data.
310
 * </p>
311
 *
312
 * <p>
313
 * For more information about this service, see the
314
 * <a href="https://code.google.com/apis/gan/" target="_blank">API Documentation</a>
315
 * </p>
316
 *
317
 * @author Google, Inc.
318
 */
319
class Google_GanService extends Google_Service {
320
  public $advertisers;
321
  public $ccOffers;
322
  public $events;
323
  public $links;
324
  public $publishers;
325
  /**
326
   * Constructs the internal representation of the Gan service.
327
   *
328
   * @param Google_Client $client
329
   */
330
  public function __construct(Google_Client $client) {
331
    $this->servicePath = 'gan/v1beta1/';
332
    $this->version = 'v1beta1';
333
    $this->serviceName = 'gan';
334
 
335
    $client->addService($this->serviceName, $this->version);
336
    $this->advertisers = new Google_AdvertisersServiceResource($this, $this->serviceName, 'advertisers', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"relationshipStatus": {"enum": ["approved", "available", "deactivated", "declined", "pending"], "type": "string", "location": "query"}, "minSevenDayEpc": {"type": "number", "location": "query", "format": "double"}, "advertiserCategory": {"type": "string", "location": "query"}, "minNinetyDayEpc": {"type": "number", "location": "query", "format": "double"}, "pageToken": {"type": "string", "location": "query"}, "role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "100", "format": "uint32"}, "roleId": {"required": true, "type": "string", "location": "path"}, "minPayoutRank": {"location": "query", "minimum": "1", "type": "integer", "maximum": "4", "format": "int32"}}, "id": "gan.advertisers.list", "httpMethod": "GET", "path": "{role}/{roleId}/advertisers", "response": {"$ref": "Advertisers"}}, "get": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"advertiserId": {"type": "string", "location": "query"}, "roleId": {"required": true, "type": "string", "location": "path"}, "role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}}, "id": "gan.advertisers.get", "httpMethod": "GET", "path": "{role}/{roleId}/advertiser", "response": {"$ref": "Advertiser"}}}}', true));
337
    $this->ccOffers = new Google_CcOffersServiceResource($this, $this->serviceName, 'ccOffers', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"advertiser": {"repeated": true, "type": "string", "location": "query"}, "projection": {"enum": ["full", "summary"], "type": "string", "location": "query"}, "publisher": {"required": true, "type": "string", "location": "path"}}, "id": "gan.ccOffers.list", "httpMethod": "GET", "path": "publishers/{publisher}/ccOffers", "response": {"$ref": "CcOffers"}}}}', true));
338
    $this->events = new Google_EventsServiceResource($this, $this->serviceName, 'events', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"orderId": {"type": "string", "location": "query"}, "sku": {"type": "string", "location": "query"}, "eventDateMax": {"type": "string", "location": "query"}, "type": {"enum": ["action", "charge", "transaction"], "type": "string", "location": "query"}, "roleId": {"required": true, "type": "string", "location": "path"}, "linkId": {"type": "string", "location": "query"}, "status": {"enum": ["active", "canceled"], "type": "string", "location": "query"}, "eventDateMin": {"type": "string", "location": "query"}, "memberId": {"type": "string", "location": "query"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "100", "format": "uint32"}, "advertiserId": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}, "productCategory": {"type": "string", "location": "query"}, "chargeType": {"enum": ["credit", "debit", "monthly_minimum", "other", "slotting_fee", "tier_bonus"], "type": "string", "location": "query"}, "modifyDateMin": {"type": "string", "location": "query"}, "modifyDateMax": {"type": "string", "location": "query"}, "publisherId": {"type": "string", "location": "query"}}, "id": "gan.events.list", "httpMethod": "GET", "path": "{role}/{roleId}/events", "response": {"$ref": "Events"}}}}', true));
339
    $this->links = new Google_LinksServiceResource($this, $this->serviceName, 'links', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/gan"], "parameters": {"roleId": {"required": true, "type": "string", "location": "path"}, "role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}}, "request": {"$ref": "Link"}, "response": {"$ref": "Link"}, "httpMethod": "POST", "path": "{role}/{roleId}/link", "id": "gan.links.insert"}, "list": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"linkType": {"enum": ["banner", "text"], "type": "string", "location": "query"}, "startDateMin": {"type": "string", "location": "query"}, "assetSize": {"repeated": true, "type": "string", "location": "query"}, "roleId": {"required": true, "type": "string", "location": "path"}, "relationshipStatus": {"enum": ["approved", "available"], "type": "string", "location": "query"}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "100", "format": "uint32"}, "advertiserCategory": {"repeated": true, "enum": ["apparel_accessories", "appliances_electronics", "auto_dealer", "automotive", "babies_kids", "blogs_personal_sites", "books_magazines", "computers", "dating", "department_stores", "education", "employment", "financial_credit_cards", "financial_other", "flowers_gifts", "grocery", "health_beauty", "home_garden", "hosting_domain", "internet_providers", "legal", "media_entertainment", "medical", "movies_games", "music", "nonprofit", "office_supplies", "online_games", "outdoor", "pets", "real_estate", "restaurants", "sport_fitness", "telecom", "ticketing", "toys_hobbies", "travel", "utilities", "wholesale_relationship", "wine_spirits"], "type": "string", "location": "query"}, "advertiserId": {"repeated": true, "type": "string", "location": "query", "format": "int64"}, "pageToken": {"type": "string", "location": "query"}, "role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}, "startDateMax": {"type": "string", "location": "query"}, "promotionType": {"repeated": true, "enum": ["buy_get", "coupon", "free_gift", "free_gift_wrap", "free_shipping", "none", "ongoing", "percent_off", "price_cut", "product_promotion", "sale", "sweepstakes"], "type": "string", "location": "query"}, "authorship": {"enum": ["advertiser", "publisher"], "type": "string", "location": "query"}}, "id": "gan.links.list", "httpMethod": "GET", "path": "{role}/{roleId}/links", "response": {"$ref": "Links"}}, "get": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"linkId": {"required": true, "type": "string", "location": "path", "format": "int64"}, "role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}, "roleId": {"required": true, "type": "string", "location": "path"}}, "id": "gan.links.get", "httpMethod": "GET", "path": "{role}/{roleId}/link/{linkId}", "response": {"$ref": "Link"}}}}', true));
340
    $this->publishers = new Google_PublishersServiceResource($this, $this->serviceName, 'publishers', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"publisherCategory": {"type": "string", "location": "query"}, "relationshipStatus": {"enum": ["approved", "available", "deactivated", "declined", "pending"], "type": "string", "location": "query"}, "minSevenDayEpc": {"type": "number", "location": "query", "format": "double"}, "minNinetyDayEpc": {"type": "number", "location": "query", "format": "double"}, "pageToken": {"type": "string", "location": "query"}, "role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}, "maxResults": {"location": "query", "minimum": "0", "type": "integer", "maximum": "100", "format": "uint32"}, "roleId": {"required": true, "type": "string", "location": "path"}, "minPayoutRank": {"location": "query", "minimum": "1", "type": "integer", "maximum": "4", "format": "int32"}}, "id": "gan.publishers.list", "httpMethod": "GET", "path": "{role}/{roleId}/publishers", "response": {"$ref": "Publishers"}}, "get": {"scopes": ["https://www.googleapis.com/auth/gan", "https://www.googleapis.com/auth/gan.readonly"], "parameters": {"role": {"required": true, "type": "string", "location": "path", "enum": ["advertisers", "publishers"]}, "publisherId": {"type": "string", "location": "query"}, "roleId": {"required": true, "type": "string", "location": "path"}}, "id": "gan.publishers.get", "httpMethod": "GET", "path": "{role}/{roleId}/publisher", "response": {"$ref": "Publisher"}}}}', true));
341
 
342
  }
343
}
344
 
345
class Google_Advertiser extends Google_Model {
346
  public $category;
347
  public $contactEmail;
348
  public $kind;
349
  public $siteUrl;
350
  public $contactPhone;
351
  public $description;
352
  public $payoutRank;
353
  public $defaultLinkId;
354
  protected $__epcSevenDayAverageType = 'Google_Money';
355
  protected $__epcSevenDayAverageDataType = '';
356
  public $epcSevenDayAverage;
357
  public $commissionDuration;
358
  public $status;
359
  protected $__epcNinetyDayAverageType = 'Google_Money';
360
  protected $__epcNinetyDayAverageDataType = '';
361
  public $epcNinetyDayAverage;
362
  public $allowPublisherCreatedLinks;
363
  protected $__itemType = 'Google_Advertiser';
364
  protected $__itemDataType = '';
365
  public $item;
366
  public $joinDate;
367
  public $logoUrl;
368
  public $id;
369
  public $productFeedsEnabled;
370
  public $name;
371
  public function setCategory($category) {
372
    $this->category = $category;
373
  }
374
  public function getCategory() {
375
    return $this->category;
376
  }
377
  public function setContactEmail($contactEmail) {
378
    $this->contactEmail = $contactEmail;
379
  }
380
  public function getContactEmail() {
381
    return $this->contactEmail;
382
  }
383
  public function setKind($kind) {
384
    $this->kind = $kind;
385
  }
386
  public function getKind() {
387
    return $this->kind;
388
  }
389
  public function setSiteUrl($siteUrl) {
390
    $this->siteUrl = $siteUrl;
391
  }
392
  public function getSiteUrl() {
393
    return $this->siteUrl;
394
  }
395
  public function setContactPhone($contactPhone) {
396
    $this->contactPhone = $contactPhone;
397
  }
398
  public function getContactPhone() {
399
    return $this->contactPhone;
400
  }
401
  public function setDescription($description) {
402
    $this->description = $description;
403
  }
404
  public function getDescription() {
405
    return $this->description;
406
  }
407
  public function setPayoutRank($payoutRank) {
408
    $this->payoutRank = $payoutRank;
409
  }
410
  public function getPayoutRank() {
411
    return $this->payoutRank;
412
  }
413
  public function setDefaultLinkId($defaultLinkId) {
414
    $this->defaultLinkId = $defaultLinkId;
415
  }
416
  public function getDefaultLinkId() {
417
    return $this->defaultLinkId;
418
  }
419
  public function setEpcSevenDayAverage(Google_Money $epcSevenDayAverage) {
420
    $this->epcSevenDayAverage = $epcSevenDayAverage;
421
  }
422
  public function getEpcSevenDayAverage() {
423
    return $this->epcSevenDayAverage;
424
  }
425
  public function setCommissionDuration($commissionDuration) {
426
    $this->commissionDuration = $commissionDuration;
427
  }
428
  public function getCommissionDuration() {
429
    return $this->commissionDuration;
430
  }
431
  public function setStatus($status) {
432
    $this->status = $status;
433
  }
434
  public function getStatus() {
435
    return $this->status;
436
  }
437
  public function setEpcNinetyDayAverage(Google_Money $epcNinetyDayAverage) {
438
    $this->epcNinetyDayAverage = $epcNinetyDayAverage;
439
  }
440
  public function getEpcNinetyDayAverage() {
441
    return $this->epcNinetyDayAverage;
442
  }
443
  public function setAllowPublisherCreatedLinks($allowPublisherCreatedLinks) {
444
    $this->allowPublisherCreatedLinks = $allowPublisherCreatedLinks;
445
  }
446
  public function getAllowPublisherCreatedLinks() {
447
    return $this->allowPublisherCreatedLinks;
448
  }
449
  public function setItem(Google_Advertiser $item) {
450
    $this->item = $item;
451
  }
452
  public function getItem() {
453
    return $this->item;
454
  }
455
  public function setJoinDate($joinDate) {
456
    $this->joinDate = $joinDate;
457
  }
458
  public function getJoinDate() {
459
    return $this->joinDate;
460
  }
461
  public function setLogoUrl($logoUrl) {
462
    $this->logoUrl = $logoUrl;
463
  }
464
  public function getLogoUrl() {
465
    return $this->logoUrl;
466
  }
467
  public function setId($id) {
468
    $this->id = $id;
469
  }
470
  public function getId() {
471
    return $this->id;
472
  }
473
  public function setProductFeedsEnabled($productFeedsEnabled) {
474
    $this->productFeedsEnabled = $productFeedsEnabled;
475
  }
476
  public function getProductFeedsEnabled() {
477
    return $this->productFeedsEnabled;
478
  }
479
  public function setName($name) {
480
    $this->name = $name;
481
  }
482
  public function getName() {
483
    return $this->name;
484
  }
485
}
486
 
487
class Google_Advertisers extends Google_Model {
488
  public $nextPageToken;
489
  protected $__itemsType = 'Google_Advertiser';
490
  protected $__itemsDataType = 'array';
491
  public $items;
492
  public $kind;
493
  public function setNextPageToken($nextPageToken) {
494
    $this->nextPageToken = $nextPageToken;
495
  }
496
  public function getNextPageToken() {
497
    return $this->nextPageToken;
498
  }
499
  public function setItems($items) {
500
    $this->assertIsArray($items, 'Google_Advertiser', __METHOD__);
501
    $this->items = $items;
502
  }
503
  public function getItems() {
504
    return $this->items;
505
  }
506
  public function setKind($kind) {
507
    $this->kind = $kind;
508
  }
509
  public function getKind() {
510
    return $this->kind;
511
  }
512
}
513
 
514
class Google_CcOffer extends Google_Model {
515
  public $luggageInsurance;
516
  public $creditLimitMin;
517
  public $cardName;
518
  public $creditLimitMax;
519
  public $gracePeriodDisplay;
520
  public $offerId;
521
  public $rewardUnit;
522
  public $minPurchaseRate;
523
  public $cardBenefits;
524
  protected $__rewardsType = 'Google_CcOfferRewards';
525
  protected $__rewardsDataType = 'array';
526
  public $rewards;
527
  public $offersImmediateCashReward;
528
  public $travelInsurance;
529
  public $returnedPaymentFee;
530
  public $kind;
531
  public $issuer;
532
  public $maxPurchaseRate;
533
  public $minimumFinanceCharge;
534
  public $existingCustomerOnly;
535
  public $annualFeeDisplay;
536
  public $initialSetupAndProcessingFee;
537
  public $issuerId;
538
  public $purchaseRateAdditionalDetails;
539
  public $prohibitedCategories;
540
  public $fraudLiability;
541
  public $cashAdvanceTerms;
542
  public $landingPageUrl;
543
  public $introCashAdvanceTerms;
544
  public $rewardsExpire;
545
  public $introPurchaseTerms;
546
  protected $__defaultFeesType = 'Google_CcOfferDefaultFees';
547
  protected $__defaultFeesDataType = 'array';
548
  public $defaultFees;
549
  public $extendedWarranty;
550
  public $emergencyInsurance;
551
  public $firstYearAnnualFee;
552
  public $trackingUrl;
553
  public $latePaymentFee;
554
  public $overLimitFee;
555
  public $cardType;
556
  public $approvedCategories;
557
  public $rewardPartner;
558
  public $introBalanceTransferTerms;
559
  public $foreignCurrencyTransactionFee;
560
  public $annualFee;
561
  public $issuerWebsite;
562
  public $variableRatesUpdateFrequency;
563
  public $carRentalInsurance;
564
  public $additionalCardBenefits;
565
  public $ageMinimum;
566
  public $balanceComputationMethod;
567
  public $aprDisplay;
568
  public $additionalCardHolderFee;
569
  public $variableRatesLastUpdated;
570
  public $network;
571
  public $purchaseRateType;
572
  public $statementCopyFee;
573
  public $rewardsHaveBlackoutDates;
574
  public $creditRatingDisplay;
575
  public $flightAccidentInsurance;
576
  public $annualRewardMaximum;
577
  public $balanceTransferTerms;
578
  protected $__bonusRewardsType = 'Google_CcOfferBonusRewards';
579
  protected $__bonusRewardsDataType = 'array';
580
  public $bonusRewards;
581
  public $imageUrl;
582
  public $ageMinimumDetails;
583
  public $disclaimer;
584
  public function setLuggageInsurance($luggageInsurance) {
585
    $this->luggageInsurance = $luggageInsurance;
586
  }
587
  public function getLuggageInsurance() {
588
    return $this->luggageInsurance;
589
  }
590
  public function setCreditLimitMin($creditLimitMin) {
591
    $this->creditLimitMin = $creditLimitMin;
592
  }
593
  public function getCreditLimitMin() {
594
    return $this->creditLimitMin;
595
  }
596
  public function setCardName($cardName) {
597
    $this->cardName = $cardName;
598
  }
599
  public function getCardName() {
600
    return $this->cardName;
601
  }
602
  public function setCreditLimitMax($creditLimitMax) {
603
    $this->creditLimitMax = $creditLimitMax;
604
  }
605
  public function getCreditLimitMax() {
606
    return $this->creditLimitMax;
607
  }
608
  public function setGracePeriodDisplay($gracePeriodDisplay) {
609
    $this->gracePeriodDisplay = $gracePeriodDisplay;
610
  }
611
  public function getGracePeriodDisplay() {
612
    return $this->gracePeriodDisplay;
613
  }
614
  public function setOfferId($offerId) {
615
    $this->offerId = $offerId;
616
  }
617
  public function getOfferId() {
618
    return $this->offerId;
619
  }
620
  public function setRewardUnit($rewardUnit) {
621
    $this->rewardUnit = $rewardUnit;
622
  }
623
  public function getRewardUnit() {
624
    return $this->rewardUnit;
625
  }
626
  public function setMinPurchaseRate($minPurchaseRate) {
627
    $this->minPurchaseRate = $minPurchaseRate;
628
  }
629
  public function getMinPurchaseRate() {
630
    return $this->minPurchaseRate;
631
  }
632
  public function setCardBenefits($cardBenefits) {
633
    $this->cardBenefits = $cardBenefits;
634
  }
635
  public function getCardBenefits() {
636
    return $this->cardBenefits;
637
  }
638
  public function setRewards($rewards) {
639
    $this->assertIsArray($rewards, 'Google_CcOfferRewards', __METHOD__);
640
    $this->rewards = $rewards;
641
  }
642
  public function getRewards() {
643
    return $this->rewards;
644
  }
645
  public function setOffersImmediateCashReward($offersImmediateCashReward) {
646
    $this->offersImmediateCashReward = $offersImmediateCashReward;
647
  }
648
  public function getOffersImmediateCashReward() {
649
    return $this->offersImmediateCashReward;
650
  }
651
  public function setTravelInsurance($travelInsurance) {
652
    $this->travelInsurance = $travelInsurance;
653
  }
654
  public function getTravelInsurance() {
655
    return $this->travelInsurance;
656
  }
657
  public function setReturnedPaymentFee($returnedPaymentFee) {
658
    $this->returnedPaymentFee = $returnedPaymentFee;
659
  }
660
  public function getReturnedPaymentFee() {
661
    return $this->returnedPaymentFee;
662
  }
663
  public function setKind($kind) {
664
    $this->kind = $kind;
665
  }
666
  public function getKind() {
667
    return $this->kind;
668
  }
669
  public function setIssuer($issuer) {
670
    $this->issuer = $issuer;
671
  }
672
  public function getIssuer() {
673
    return $this->issuer;
674
  }
675
  public function setMaxPurchaseRate($maxPurchaseRate) {
676
    $this->maxPurchaseRate = $maxPurchaseRate;
677
  }
678
  public function getMaxPurchaseRate() {
679
    return $this->maxPurchaseRate;
680
  }
681
  public function setMinimumFinanceCharge($minimumFinanceCharge) {
682
    $this->minimumFinanceCharge = $minimumFinanceCharge;
683
  }
684
  public function getMinimumFinanceCharge() {
685
    return $this->minimumFinanceCharge;
686
  }
687
  public function setExistingCustomerOnly($existingCustomerOnly) {
688
    $this->existingCustomerOnly = $existingCustomerOnly;
689
  }
690
  public function getExistingCustomerOnly() {
691
    return $this->existingCustomerOnly;
692
  }
693
  public function setAnnualFeeDisplay($annualFeeDisplay) {
694
    $this->annualFeeDisplay = $annualFeeDisplay;
695
  }
696
  public function getAnnualFeeDisplay() {
697
    return $this->annualFeeDisplay;
698
  }
699
  public function setInitialSetupAndProcessingFee($initialSetupAndProcessingFee) {
700
    $this->initialSetupAndProcessingFee = $initialSetupAndProcessingFee;
701
  }
702
  public function getInitialSetupAndProcessingFee() {
703
    return $this->initialSetupAndProcessingFee;
704
  }
705
  public function setIssuerId($issuerId) {
706
    $this->issuerId = $issuerId;
707
  }
708
  public function getIssuerId() {
709
    return $this->issuerId;
710
  }
711
  public function setPurchaseRateAdditionalDetails($purchaseRateAdditionalDetails) {
712
    $this->purchaseRateAdditionalDetails = $purchaseRateAdditionalDetails;
713
  }
714
  public function getPurchaseRateAdditionalDetails() {
715
    return $this->purchaseRateAdditionalDetails;
716
  }
717
  public function setProhibitedCategories($prohibitedCategories) {
718
    $this->prohibitedCategories = $prohibitedCategories;
719
  }
720
  public function getProhibitedCategories() {
721
    return $this->prohibitedCategories;
722
  }
723
  public function setFraudLiability($fraudLiability) {
724
    $this->fraudLiability = $fraudLiability;
725
  }
726
  public function getFraudLiability() {
727
    return $this->fraudLiability;
728
  }
729
  public function setCashAdvanceTerms($cashAdvanceTerms) {
730
    $this->cashAdvanceTerms = $cashAdvanceTerms;
731
  }
732
  public function getCashAdvanceTerms() {
733
    return $this->cashAdvanceTerms;
734
  }
735
  public function setLandingPageUrl($landingPageUrl) {
736
    $this->landingPageUrl = $landingPageUrl;
737
  }
738
  public function getLandingPageUrl() {
739
    return $this->landingPageUrl;
740
  }
741
  public function setIntroCashAdvanceTerms($introCashAdvanceTerms) {
742
    $this->introCashAdvanceTerms = $introCashAdvanceTerms;
743
  }
744
  public function getIntroCashAdvanceTerms() {
745
    return $this->introCashAdvanceTerms;
746
  }
747
  public function setRewardsExpire($rewardsExpire) {
748
    $this->rewardsExpire = $rewardsExpire;
749
  }
750
  public function getRewardsExpire() {
751
    return $this->rewardsExpire;
752
  }
753
  public function setIntroPurchaseTerms($introPurchaseTerms) {
754
    $this->introPurchaseTerms = $introPurchaseTerms;
755
  }
756
  public function getIntroPurchaseTerms() {
757
    return $this->introPurchaseTerms;
758
  }
759
  public function setDefaultFees($defaultFees) {
760
    $this->assertIsArray($defaultFees, 'Google_CcOfferDefaultFees', __METHOD__);
761
    $this->defaultFees = $defaultFees;
762
  }
763
  public function getDefaultFees() {
764
    return $this->defaultFees;
765
  }
766
  public function setExtendedWarranty($extendedWarranty) {
767
    $this->extendedWarranty = $extendedWarranty;
768
  }
769
  public function getExtendedWarranty() {
770
    return $this->extendedWarranty;
771
  }
772
  public function setEmergencyInsurance($emergencyInsurance) {
773
    $this->emergencyInsurance = $emergencyInsurance;
774
  }
775
  public function getEmergencyInsurance() {
776
    return $this->emergencyInsurance;
777
  }
778
  public function setFirstYearAnnualFee($firstYearAnnualFee) {
779
    $this->firstYearAnnualFee = $firstYearAnnualFee;
780
  }
781
  public function getFirstYearAnnualFee() {
782
    return $this->firstYearAnnualFee;
783
  }
784
  public function setTrackingUrl($trackingUrl) {
785
    $this->trackingUrl = $trackingUrl;
786
  }
787
  public function getTrackingUrl() {
788
    return $this->trackingUrl;
789
  }
790
  public function setLatePaymentFee($latePaymentFee) {
791
    $this->latePaymentFee = $latePaymentFee;
792
  }
793
  public function getLatePaymentFee() {
794
    return $this->latePaymentFee;
795
  }
796
  public function setOverLimitFee($overLimitFee) {
797
    $this->overLimitFee = $overLimitFee;
798
  }
799
  public function getOverLimitFee() {
800
    return $this->overLimitFee;
801
  }
802
  public function setCardType($cardType) {
803
    $this->cardType = $cardType;
804
  }
805
  public function getCardType() {
806
    return $this->cardType;
807
  }
808
  public function setApprovedCategories($approvedCategories) {
809
    $this->approvedCategories = $approvedCategories;
810
  }
811
  public function getApprovedCategories() {
812
    return $this->approvedCategories;
813
  }
814
  public function setRewardPartner($rewardPartner) {
815
    $this->rewardPartner = $rewardPartner;
816
  }
817
  public function getRewardPartner() {
818
    return $this->rewardPartner;
819
  }
820
  public function setIntroBalanceTransferTerms($introBalanceTransferTerms) {
821
    $this->introBalanceTransferTerms = $introBalanceTransferTerms;
822
  }
823
  public function getIntroBalanceTransferTerms() {
824
    return $this->introBalanceTransferTerms;
825
  }
826
  public function setForeignCurrencyTransactionFee($foreignCurrencyTransactionFee) {
827
    $this->foreignCurrencyTransactionFee = $foreignCurrencyTransactionFee;
828
  }
829
  public function getForeignCurrencyTransactionFee() {
830
    return $this->foreignCurrencyTransactionFee;
831
  }
832
  public function setAnnualFee($annualFee) {
833
    $this->annualFee = $annualFee;
834
  }
835
  public function getAnnualFee() {
836
    return $this->annualFee;
837
  }
838
  public function setIssuerWebsite($issuerWebsite) {
839
    $this->issuerWebsite = $issuerWebsite;
840
  }
841
  public function getIssuerWebsite() {
842
    return $this->issuerWebsite;
843
  }
844
  public function setVariableRatesUpdateFrequency($variableRatesUpdateFrequency) {
845
    $this->variableRatesUpdateFrequency = $variableRatesUpdateFrequency;
846
  }
847
  public function getVariableRatesUpdateFrequency() {
848
    return $this->variableRatesUpdateFrequency;
849
  }
850
  public function setCarRentalInsurance($carRentalInsurance) {
851
    $this->carRentalInsurance = $carRentalInsurance;
852
  }
853
  public function getCarRentalInsurance() {
854
    return $this->carRentalInsurance;
855
  }
856
  public function setAdditionalCardBenefits($additionalCardBenefits) {
857
    $this->additionalCardBenefits = $additionalCardBenefits;
858
  }
859
  public function getAdditionalCardBenefits() {
860
    return $this->additionalCardBenefits;
861
  }
862
  public function setAgeMinimum($ageMinimum) {
863
    $this->ageMinimum = $ageMinimum;
864
  }
865
  public function getAgeMinimum() {
866
    return $this->ageMinimum;
867
  }
868
  public function setBalanceComputationMethod($balanceComputationMethod) {
869
    $this->balanceComputationMethod = $balanceComputationMethod;
870
  }
871
  public function getBalanceComputationMethod() {
872
    return $this->balanceComputationMethod;
873
  }
874
  public function setAprDisplay($aprDisplay) {
875
    $this->aprDisplay = $aprDisplay;
876
  }
877
  public function getAprDisplay() {
878
    return $this->aprDisplay;
879
  }
880
  public function setAdditionalCardHolderFee($additionalCardHolderFee) {
881
    $this->additionalCardHolderFee = $additionalCardHolderFee;
882
  }
883
  public function getAdditionalCardHolderFee() {
884
    return $this->additionalCardHolderFee;
885
  }
886
  public function setVariableRatesLastUpdated($variableRatesLastUpdated) {
887
    $this->variableRatesLastUpdated = $variableRatesLastUpdated;
888
  }
889
  public function getVariableRatesLastUpdated() {
890
    return $this->variableRatesLastUpdated;
891
  }
892
  public function setNetwork($network) {
893
    $this->network = $network;
894
  }
895
  public function getNetwork() {
896
    return $this->network;
897
  }
898
  public function setPurchaseRateType($purchaseRateType) {
899
    $this->purchaseRateType = $purchaseRateType;
900
  }
901
  public function getPurchaseRateType() {
902
    return $this->purchaseRateType;
903
  }
904
  public function setStatementCopyFee($statementCopyFee) {
905
    $this->statementCopyFee = $statementCopyFee;
906
  }
907
  public function getStatementCopyFee() {
908
    return $this->statementCopyFee;
909
  }
910
  public function setRewardsHaveBlackoutDates($rewardsHaveBlackoutDates) {
911
    $this->rewardsHaveBlackoutDates = $rewardsHaveBlackoutDates;
912
  }
913
  public function getRewardsHaveBlackoutDates() {
914
    return $this->rewardsHaveBlackoutDates;
915
  }
916
  public function setCreditRatingDisplay($creditRatingDisplay) {
917
    $this->creditRatingDisplay = $creditRatingDisplay;
918
  }
919
  public function getCreditRatingDisplay() {
920
    return $this->creditRatingDisplay;
921
  }
922
  public function setFlightAccidentInsurance($flightAccidentInsurance) {
923
    $this->flightAccidentInsurance = $flightAccidentInsurance;
924
  }
925
  public function getFlightAccidentInsurance() {
926
    return $this->flightAccidentInsurance;
927
  }
928
  public function setAnnualRewardMaximum($annualRewardMaximum) {
929
    $this->annualRewardMaximum = $annualRewardMaximum;
930
  }
931
  public function getAnnualRewardMaximum() {
932
    return $this->annualRewardMaximum;
933
  }
934
  public function setBalanceTransferTerms($balanceTransferTerms) {
935
    $this->balanceTransferTerms = $balanceTransferTerms;
936
  }
937
  public function getBalanceTransferTerms() {
938
    return $this->balanceTransferTerms;
939
  }
940
  public function setBonusRewards($bonusRewards) {
941
    $this->assertIsArray($bonusRewards, 'Google_CcOfferBonusRewards', __METHOD__);
942
    $this->bonusRewards = $bonusRewards;
943
  }
944
  public function getBonusRewards() {
945
    return $this->bonusRewards;
946
  }
947
  public function setImageUrl($imageUrl) {
948
    $this->imageUrl = $imageUrl;
949
  }
950
  public function getImageUrl() {
951
    return $this->imageUrl;
952
  }
953
  public function setAgeMinimumDetails($ageMinimumDetails) {
954
    $this->ageMinimumDetails = $ageMinimumDetails;
955
  }
956
  public function getAgeMinimumDetails() {
957
    return $this->ageMinimumDetails;
958
  }
959
  public function setDisclaimer($disclaimer) {
960
    $this->disclaimer = $disclaimer;
961
  }
962
  public function getDisclaimer() {
963
    return $this->disclaimer;
964
  }
965
}
966
 
967
class Google_CcOfferBonusRewards extends Google_Model {
968
  public $amount;
969
  public $details;
970
  public function setAmount($amount) {
971
    $this->amount = $amount;
972
  }
973
  public function getAmount() {
974
    return $this->amount;
975
  }
976
  public function setDetails($details) {
977
    $this->details = $details;
978
  }
979
  public function getDetails() {
980
    return $this->details;
981
  }
982
}
983
 
984
class Google_CcOfferDefaultFees extends Google_Model {
985
  public $category;
986
  public $maxRate;
987
  public $minRate;
988
  public $rateType;
989
  public function setCategory($category) {
990
    $this->category = $category;
991
  }
992
  public function getCategory() {
993
    return $this->category;
994
  }
995
  public function setMaxRate($maxRate) {
996
    $this->maxRate = $maxRate;
997
  }
998
  public function getMaxRate() {
999
    return $this->maxRate;
1000
  }
1001
  public function setMinRate($minRate) {
1002
    $this->minRate = $minRate;
1003
  }
1004
  public function getMinRate() {
1005
    return $this->minRate;
1006
  }
1007
  public function setRateType($rateType) {
1008
    $this->rateType = $rateType;
1009
  }
1010
  public function getRateType() {
1011
    return $this->rateType;
1012
  }
1013
}
1014
 
1015
class Google_CcOfferRewards extends Google_Model {
1016
  public $category;
1017
  public $minRewardTier;
1018
  public $maxRewardTier;
1019
  public $expirationMonths;
1020
  public $amount;
1021
  public $additionalDetails;
1022
  public function setCategory($category) {
1023
    $this->category = $category;
1024
  }
1025
  public function getCategory() {
1026
    return $this->category;
1027
  }
1028
  public function setMinRewardTier($minRewardTier) {
1029
    $this->minRewardTier = $minRewardTier;
1030
  }
1031
  public function getMinRewardTier() {
1032
    return $this->minRewardTier;
1033
  }
1034
  public function setMaxRewardTier($maxRewardTier) {
1035
    $this->maxRewardTier = $maxRewardTier;
1036
  }
1037
  public function getMaxRewardTier() {
1038
    return $this->maxRewardTier;
1039
  }
1040
  public function setExpirationMonths($expirationMonths) {
1041
    $this->expirationMonths = $expirationMonths;
1042
  }
1043
  public function getExpirationMonths() {
1044
    return $this->expirationMonths;
1045
  }
1046
  public function setAmount($amount) {
1047
    $this->amount = $amount;
1048
  }
1049
  public function getAmount() {
1050
    return $this->amount;
1051
  }
1052
  public function setAdditionalDetails($additionalDetails) {
1053
    $this->additionalDetails = $additionalDetails;
1054
  }
1055
  public function getAdditionalDetails() {
1056
    return $this->additionalDetails;
1057
  }
1058
}
1059
 
1060
class Google_CcOffers extends Google_Model {
1061
  protected $__itemsType = 'Google_CcOffer';
1062
  protected $__itemsDataType = 'array';
1063
  public $items;
1064
  public $kind;
1065
  public function setItems($items) {
1066
    $this->assertIsArray($items, 'Google_CcOffer', __METHOD__);
1067
    $this->items = $items;
1068
  }
1069
  public function getItems() {
1070
    return $this->items;
1071
  }
1072
  public function setKind($kind) {
1073
    $this->kind = $kind;
1074
  }
1075
  public function getKind() {
1076
    return $this->kind;
1077
  }
1078
}
1079
 
1080
class Google_Event extends Google_Model {
1081
  protected $__networkFeeType = 'Google_Money';
1082
  protected $__networkFeeDataType = '';
1083
  public $networkFee;
1084
  public $advertiserName;
1085
  public $kind;
1086
  public $modifyDate;
1087
  public $type;
1088
  public $orderId;
1089
  public $publisherName;
1090
  public $memberId;
1091
  public $advertiserId;
1092
  public $status;
1093
  public $chargeId;
1094
  protected $__productsType = 'Google_EventProducts';
1095
  protected $__productsDataType = 'array';
1096
  public $products;
1097
  protected $__earningsType = 'Google_Money';
1098
  protected $__earningsDataType = '';
1099
  public $earnings;
1100
  public $chargeType;
1101
  protected $__publisherFeeType = 'Google_Money';
1102
  protected $__publisherFeeDataType = '';
1103
  public $publisherFee;
1104
  protected $__commissionableSalesType = 'Google_Money';
1105
  protected $__commissionableSalesDataType = '';
1106
  public $commissionableSales;
1107
  public $publisherId;
1108
  public $eventDate;
1109
  public function setNetworkFee(Google_Money $networkFee) {
1110
    $this->networkFee = $networkFee;
1111
  }
1112
  public function getNetworkFee() {
1113
    return $this->networkFee;
1114
  }
1115
  public function setAdvertiserName($advertiserName) {
1116
    $this->advertiserName = $advertiserName;
1117
  }
1118
  public function getAdvertiserName() {
1119
    return $this->advertiserName;
1120
  }
1121
  public function setKind($kind) {
1122
    $this->kind = $kind;
1123
  }
1124
  public function getKind() {
1125
    return $this->kind;
1126
  }
1127
  public function setModifyDate($modifyDate) {
1128
    $this->modifyDate = $modifyDate;
1129
  }
1130
  public function getModifyDate() {
1131
    return $this->modifyDate;
1132
  }
1133
  public function setType($type) {
1134
    $this->type = $type;
1135
  }
1136
  public function getType() {
1137
    return $this->type;
1138
  }
1139
  public function setOrderId($orderId) {
1140
    $this->orderId = $orderId;
1141
  }
1142
  public function getOrderId() {
1143
    return $this->orderId;
1144
  }
1145
  public function setPublisherName($publisherName) {
1146
    $this->publisherName = $publisherName;
1147
  }
1148
  public function getPublisherName() {
1149
    return $this->publisherName;
1150
  }
1151
  public function setMemberId($memberId) {
1152
    $this->memberId = $memberId;
1153
  }
1154
  public function getMemberId() {
1155
    return $this->memberId;
1156
  }
1157
  public function setAdvertiserId($advertiserId) {
1158
    $this->advertiserId = $advertiserId;
1159
  }
1160
  public function getAdvertiserId() {
1161
    return $this->advertiserId;
1162
  }
1163
  public function setStatus($status) {
1164
    $this->status = $status;
1165
  }
1166
  public function getStatus() {
1167
    return $this->status;
1168
  }
1169
  public function setChargeId($chargeId) {
1170
    $this->chargeId = $chargeId;
1171
  }
1172
  public function getChargeId() {
1173
    return $this->chargeId;
1174
  }
1175
  public function setProducts($products) {
1176
    $this->assertIsArray($products, 'Google_EventProducts', __METHOD__);
1177
    $this->products = $products;
1178
  }
1179
  public function getProducts() {
1180
    return $this->products;
1181
  }
1182
  public function setEarnings(Google_Money $earnings) {
1183
    $this->earnings = $earnings;
1184
  }
1185
  public function getEarnings() {
1186
    return $this->earnings;
1187
  }
1188
  public function setChargeType($chargeType) {
1189
    $this->chargeType = $chargeType;
1190
  }
1191
  public function getChargeType() {
1192
    return $this->chargeType;
1193
  }
1194
  public function setPublisherFee(Google_Money $publisherFee) {
1195
    $this->publisherFee = $publisherFee;
1196
  }
1197
  public function getPublisherFee() {
1198
    return $this->publisherFee;
1199
  }
1200
  public function setCommissionableSales(Google_Money $commissionableSales) {
1201
    $this->commissionableSales = $commissionableSales;
1202
  }
1203
  public function getCommissionableSales() {
1204
    return $this->commissionableSales;
1205
  }
1206
  public function setPublisherId($publisherId) {
1207
    $this->publisherId = $publisherId;
1208
  }
1209
  public function getPublisherId() {
1210
    return $this->publisherId;
1211
  }
1212
  public function setEventDate($eventDate) {
1213
    $this->eventDate = $eventDate;
1214
  }
1215
  public function getEventDate() {
1216
    return $this->eventDate;
1217
  }
1218
}
1219
 
1220
class Google_EventProducts extends Google_Model {
1221
  protected $__networkFeeType = 'Google_Money';
1222
  protected $__networkFeeDataType = '';
1223
  public $networkFee;
1224
  public $sku;
1225
  public $categoryName;
1226
  public $skuName;
1227
  protected $__publisherFeeType = 'Google_Money';
1228
  protected $__publisherFeeDataType = '';
1229
  public $publisherFee;
1230
  protected $__earningsType = 'Google_Money';
1231
  protected $__earningsDataType = '';
1232
  public $earnings;
1233
  protected $__unitPriceType = 'Google_Money';
1234
  protected $__unitPriceDataType = '';
1235
  public $unitPrice;
1236
  public $categoryId;
1237
  public $quantity;
1238
  public function setNetworkFee(Google_Money $networkFee) {
1239
    $this->networkFee = $networkFee;
1240
  }
1241
  public function getNetworkFee() {
1242
    return $this->networkFee;
1243
  }
1244
  public function setSku($sku) {
1245
    $this->sku = $sku;
1246
  }
1247
  public function getSku() {
1248
    return $this->sku;
1249
  }
1250
  public function setCategoryName($categoryName) {
1251
    $this->categoryName = $categoryName;
1252
  }
1253
  public function getCategoryName() {
1254
    return $this->categoryName;
1255
  }
1256
  public function setSkuName($skuName) {
1257
    $this->skuName = $skuName;
1258
  }
1259
  public function getSkuName() {
1260
    return $this->skuName;
1261
  }
1262
  public function setPublisherFee(Google_Money $publisherFee) {
1263
    $this->publisherFee = $publisherFee;
1264
  }
1265
  public function getPublisherFee() {
1266
    return $this->publisherFee;
1267
  }
1268
  public function setEarnings(Google_Money $earnings) {
1269
    $this->earnings = $earnings;
1270
  }
1271
  public function getEarnings() {
1272
    return $this->earnings;
1273
  }
1274
  public function setUnitPrice(Google_Money $unitPrice) {
1275
    $this->unitPrice = $unitPrice;
1276
  }
1277
  public function getUnitPrice() {
1278
    return $this->unitPrice;
1279
  }
1280
  public function setCategoryId($categoryId) {
1281
    $this->categoryId = $categoryId;
1282
  }
1283
  public function getCategoryId() {
1284
    return $this->categoryId;
1285
  }
1286
  public function setQuantity($quantity) {
1287
    $this->quantity = $quantity;
1288
  }
1289
  public function getQuantity() {
1290
    return $this->quantity;
1291
  }
1292
}
1293
 
1294
class Google_Events extends Google_Model {
1295
  public $nextPageToken;
1296
  protected $__itemsType = 'Google_Event';
1297
  protected $__itemsDataType = 'array';
1298
  public $items;
1299
  public $kind;
1300
  public function setNextPageToken($nextPageToken) {
1301
    $this->nextPageToken = $nextPageToken;
1302
  }
1303
  public function getNextPageToken() {
1304
    return $this->nextPageToken;
1305
  }
1306
  public function setItems($items) {
1307
    $this->assertIsArray($items, 'Google_Event', __METHOD__);
1308
    $this->items = $items;
1309
  }
1310
  public function getItems() {
1311
    return $this->items;
1312
  }
1313
  public function setKind($kind) {
1314
    $this->kind = $kind;
1315
  }
1316
  public function getKind() {
1317
    return $this->kind;
1318
  }
1319
}
1320
 
1321
class Google_Link extends Google_Model {
1322
  public $isActive;
1323
  public $linkType;
1324
  public $kind;
1325
  public $endDate;
1326
  public $description;
1327
  public $name;
1328
  public $startDate;
1329
  public $createDate;
1330
  public $imageAltText;
1331
  public $id;
1332
  public $advertiserId;
1333
  public $impressionTrackingUrl;
1334
  public $promotionType;
1335
  public $duration;
1336
  public $authorship;
1337
  public $availability;
1338
  public $clickTrackingUrl;
1339
  public $destinationUrl;
1340
  public function setIsActive($isActive) {
1341
    $this->isActive = $isActive;
1342
  }
1343
  public function getIsActive() {
1344
    return $this->isActive;
1345
  }
1346
  public function setLinkType($linkType) {
1347
    $this->linkType = $linkType;
1348
  }
1349
  public function getLinkType() {
1350
    return $this->linkType;
1351
  }
1352
  public function setKind($kind) {
1353
    $this->kind = $kind;
1354
  }
1355
  public function getKind() {
1356
    return $this->kind;
1357
  }
1358
  public function setEndDate($endDate) {
1359
    $this->endDate = $endDate;
1360
  }
1361
  public function getEndDate() {
1362
    return $this->endDate;
1363
  }
1364
  public function setDescription($description) {
1365
    $this->description = $description;
1366
  }
1367
  public function getDescription() {
1368
    return $this->description;
1369
  }
1370
  public function setName($name) {
1371
    $this->name = $name;
1372
  }
1373
  public function getName() {
1374
    return $this->name;
1375
  }
1376
  public function setStartDate($startDate) {
1377
    $this->startDate = $startDate;
1378
  }
1379
  public function getStartDate() {
1380
    return $this->startDate;
1381
  }
1382
  public function setCreateDate($createDate) {
1383
    $this->createDate = $createDate;
1384
  }
1385
  public function getCreateDate() {
1386
    return $this->createDate;
1387
  }
1388
  public function setImageAltText($imageAltText) {
1389
    $this->imageAltText = $imageAltText;
1390
  }
1391
  public function getImageAltText() {
1392
    return $this->imageAltText;
1393
  }
1394
  public function setId($id) {
1395
    $this->id = $id;
1396
  }
1397
  public function getId() {
1398
    return $this->id;
1399
  }
1400
  public function setAdvertiserId($advertiserId) {
1401
    $this->advertiserId = $advertiserId;
1402
  }
1403
  public function getAdvertiserId() {
1404
    return $this->advertiserId;
1405
  }
1406
  public function setImpressionTrackingUrl($impressionTrackingUrl) {
1407
    $this->impressionTrackingUrl = $impressionTrackingUrl;
1408
  }
1409
  public function getImpressionTrackingUrl() {
1410
    return $this->impressionTrackingUrl;
1411
  }
1412
  public function setPromotionType($promotionType) {
1413
    $this->promotionType = $promotionType;
1414
  }
1415
  public function getPromotionType() {
1416
    return $this->promotionType;
1417
  }
1418
  public function setDuration($duration) {
1419
    $this->duration = $duration;
1420
  }
1421
  public function getDuration() {
1422
    return $this->duration;
1423
  }
1424
  public function setAuthorship($authorship) {
1425
    $this->authorship = $authorship;
1426
  }
1427
  public function getAuthorship() {
1428
    return $this->authorship;
1429
  }
1430
  public function setAvailability($availability) {
1431
    $this->availability = $availability;
1432
  }
1433
  public function getAvailability() {
1434
    return $this->availability;
1435
  }
1436
  public function setClickTrackingUrl($clickTrackingUrl) {
1437
    $this->clickTrackingUrl = $clickTrackingUrl;
1438
  }
1439
  public function getClickTrackingUrl() {
1440
    return $this->clickTrackingUrl;
1441
  }
1442
  public function setDestinationUrl($destinationUrl) {
1443
    $this->destinationUrl = $destinationUrl;
1444
  }
1445
  public function getDestinationUrl() {
1446
    return $this->destinationUrl;
1447
  }
1448
}
1449
 
1450
class Google_Links extends Google_Model {
1451
  public $nextPageToken;
1452
  protected $__itemsType = 'Google_Link';
1453
  protected $__itemsDataType = 'array';
1454
  public $items;
1455
  public $kind;
1456
  public function setNextPageToken($nextPageToken) {
1457
    $this->nextPageToken = $nextPageToken;
1458
  }
1459
  public function getNextPageToken() {
1460
    return $this->nextPageToken;
1461
  }
1462
  public function setItems($items) {
1463
    $this->assertIsArray($items, 'Google_Link', __METHOD__);
1464
    $this->items = $items;
1465
  }
1466
  public function getItems() {
1467
    return $this->items;
1468
  }
1469
  public function setKind($kind) {
1470
    $this->kind = $kind;
1471
  }
1472
  public function getKind() {
1473
    return $this->kind;
1474
  }
1475
}
1476
 
1477
class Google_Money extends Google_Model {
1478
  public $amount;
1479
  public $currencyCode;
1480
  public function setAmount($amount) {
1481
    $this->amount = $amount;
1482
  }
1483
  public function getAmount() {
1484
    return $this->amount;
1485
  }
1486
  public function setCurrencyCode($currencyCode) {
1487
    $this->currencyCode = $currencyCode;
1488
  }
1489
  public function getCurrencyCode() {
1490
    return $this->currencyCode;
1491
  }
1492
}
1493
 
1494
class Google_Publisher extends Google_Model {
1495
  public $status;
1496
  public $kind;
1497
  public $name;
1498
  public $classification;
1499
  protected $__epcSevenDayAverageType = 'Google_Money';
1500
  protected $__epcSevenDayAverageDataType = '';
1501
  public $epcSevenDayAverage;
1502
  public $payoutRank;
1503
  protected $__epcNinetyDayAverageType = 'Google_Money';
1504
  protected $__epcNinetyDayAverageDataType = '';
1505
  public $epcNinetyDayAverage;
1506
  protected $__itemType = 'Google_Publisher';
1507
  protected $__itemDataType = '';
1508
  public $item;
1509
  public $joinDate;
1510
  public $sites;
1511
  public $id;
1512
  public function setStatus($status) {
1513
    $this->status = $status;
1514
  }
1515
  public function getStatus() {
1516
    return $this->status;
1517
  }
1518
  public function setKind($kind) {
1519
    $this->kind = $kind;
1520
  }
1521
  public function getKind() {
1522
    return $this->kind;
1523
  }
1524
  public function setName($name) {
1525
    $this->name = $name;
1526
  }
1527
  public function getName() {
1528
    return $this->name;
1529
  }
1530
  public function setClassification($classification) {
1531
    $this->classification = $classification;
1532
  }
1533
  public function getClassification() {
1534
    return $this->classification;
1535
  }
1536
  public function setEpcSevenDayAverage(Google_Money $epcSevenDayAverage) {
1537
    $this->epcSevenDayAverage = $epcSevenDayAverage;
1538
  }
1539
  public function getEpcSevenDayAverage() {
1540
    return $this->epcSevenDayAverage;
1541
  }
1542
  public function setPayoutRank($payoutRank) {
1543
    $this->payoutRank = $payoutRank;
1544
  }
1545
  public function getPayoutRank() {
1546
    return $this->payoutRank;
1547
  }
1548
  public function setEpcNinetyDayAverage(Google_Money $epcNinetyDayAverage) {
1549
    $this->epcNinetyDayAverage = $epcNinetyDayAverage;
1550
  }
1551
  public function getEpcNinetyDayAverage() {
1552
    return $this->epcNinetyDayAverage;
1553
  }
1554
  public function setItem(Google_Publisher $item) {
1555
    $this->item = $item;
1556
  }
1557
  public function getItem() {
1558
    return $this->item;
1559
  }
1560
  public function setJoinDate($joinDate) {
1561
    $this->joinDate = $joinDate;
1562
  }
1563
  public function getJoinDate() {
1564
    return $this->joinDate;
1565
  }
1566
  public function setSites($sites) {
1567
    $this->sites = $sites;
1568
  }
1569
  public function getSites() {
1570
    return $this->sites;
1571
  }
1572
  public function setId($id) {
1573
    $this->id = $id;
1574
  }
1575
  public function getId() {
1576
    return $this->id;
1577
  }
1578
}
1579
 
1580
class Google_Publishers extends Google_Model {
1581
  public $nextPageToken;
1582
  protected $__itemsType = 'Google_Publisher';
1583
  protected $__itemsDataType = 'array';
1584
  public $items;
1585
  public $kind;
1586
  public function setNextPageToken($nextPageToken) {
1587
    $this->nextPageToken = $nextPageToken;
1588
  }
1589
  public function getNextPageToken() {
1590
    return $this->nextPageToken;
1591
  }
1592
  public function setItems($items) {
1593
    $this->assertIsArray($items, 'Google_Publisher', __METHOD__);
1594
    $this->items = $items;
1595
  }
1596
  public function getItems() {
1597
    return $this->items;
1598
  }
1599
  public function setKind($kind) {
1600
    $this->kind = $kind;
1601
  }
1602
  public function getKind() {
1603
    return $this->kind;
1604
  }
1605
}