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