[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Doubleclicksearch.php (source)

   1  <?php
   2  /*
   3   * Copyright 2010 Google Inc.
   4   *
   5   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   6   * use this file except in compliance with the License. You may obtain a copy of
   7   * the License at
   8   *
   9   * http://www.apache.org/licenses/LICENSE-2.0
  10   *
  11   * Unless required by applicable law or agreed to in writing, software
  12   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14   * License for the specific language governing permissions and limitations under
  15   * the License.
  16   */
  17  
  18  /**
  19   * Service definition for Doubleclicksearch (v2).
  20   *
  21   * <p>
  22   * Report and modify your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).
  23   * </p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/doubleclick-search/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_Doubleclicksearch extends Google_Service
  33  {
  34    /** View and manage your advertising data in DoubleClick Search. */
  35    const DOUBLECLICKSEARCH = "https://www.googleapis.com/auth/doubleclicksearch";
  36  
  37    public $conversion;
  38    public $reports;
  39    public $savedColumns;
  40    
  41  
  42    /**
  43     * Constructs the internal representation of the Doubleclicksearch service.
  44     *
  45     * @param Google_Client $client
  46     */
  47    public function __construct(Google_Client $client)
  48    {
  49      parent::__construct($client);
  50      $this->servicePath = 'doubleclicksearch/v2/';
  51      $this->version = 'v2';
  52      $this->serviceName = 'doubleclicksearch';
  53  
  54      $this->conversion = new Google_Service_Doubleclicksearch_Conversion_Resource(
  55          $this,
  56          $this->serviceName,
  57          'conversion',
  58          array(
  59            'methods' => array(
  60              'get' => array(
  61                'path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion',
  62                'httpMethod' => 'GET',
  63                'parameters' => array(
  64                  'agencyId' => array(
  65                    'location' => 'path',
  66                    'type' => 'string',
  67                    'required' => true,
  68                  ),
  69                  'advertiserId' => array(
  70                    'location' => 'path',
  71                    'type' => 'string',
  72                    'required' => true,
  73                  ),
  74                  'engineAccountId' => array(
  75                    'location' => 'path',
  76                    'type' => 'string',
  77                    'required' => true,
  78                  ),
  79                  'endDate' => array(
  80                    'location' => 'query',
  81                    'type' => 'integer',
  82                    'required' => true,
  83                  ),
  84                  'rowCount' => array(
  85                    'location' => 'query',
  86                    'type' => 'integer',
  87                    'required' => true,
  88                  ),
  89                  'startDate' => array(
  90                    'location' => 'query',
  91                    'type' => 'integer',
  92                    'required' => true,
  93                  ),
  94                  'startRow' => array(
  95                    'location' => 'query',
  96                    'type' => 'integer',
  97                    'required' => true,
  98                  ),
  99                  'adGroupId' => array(
 100                    'location' => 'query',
 101                    'type' => 'string',
 102                  ),
 103                  'campaignId' => array(
 104                    'location' => 'query',
 105                    'type' => 'string',
 106                  ),
 107                  'adId' => array(
 108                    'location' => 'query',
 109                    'type' => 'string',
 110                  ),
 111                  'criterionId' => array(
 112                    'location' => 'query',
 113                    'type' => 'string',
 114                  ),
 115                ),
 116              ),'insert' => array(
 117                'path' => 'conversion',
 118                'httpMethod' => 'POST',
 119                'parameters' => array(),
 120              ),'patch' => array(
 121                'path' => 'conversion',
 122                'httpMethod' => 'PATCH',
 123                'parameters' => array(
 124                  'advertiserId' => array(
 125                    'location' => 'query',
 126                    'type' => 'string',
 127                    'required' => true,
 128                  ),
 129                  'agencyId' => array(
 130                    'location' => 'query',
 131                    'type' => 'string',
 132                    'required' => true,
 133                  ),
 134                  'endDate' => array(
 135                    'location' => 'query',
 136                    'type' => 'integer',
 137                    'required' => true,
 138                  ),
 139                  'engineAccountId' => array(
 140                    'location' => 'query',
 141                    'type' => 'string',
 142                    'required' => true,
 143                  ),
 144                  'rowCount' => array(
 145                    'location' => 'query',
 146                    'type' => 'integer',
 147                    'required' => true,
 148                  ),
 149                  'startDate' => array(
 150                    'location' => 'query',
 151                    'type' => 'integer',
 152                    'required' => true,
 153                  ),
 154                  'startRow' => array(
 155                    'location' => 'query',
 156                    'type' => 'integer',
 157                    'required' => true,
 158                  ),
 159                ),
 160              ),'update' => array(
 161                'path' => 'conversion',
 162                'httpMethod' => 'PUT',
 163                'parameters' => array(),
 164              ),'updateAvailability' => array(
 165                'path' => 'conversion/updateAvailability',
 166                'httpMethod' => 'POST',
 167                'parameters' => array(),
 168              ),
 169            )
 170          )
 171      );
 172      $this->reports = new Google_Service_Doubleclicksearch_Reports_Resource(
 173          $this,
 174          $this->serviceName,
 175          'reports',
 176          array(
 177            'methods' => array(
 178              'generate' => array(
 179                'path' => 'reports/generate',
 180                'httpMethod' => 'POST',
 181                'parameters' => array(),
 182              ),'get' => array(
 183                'path' => 'reports/{reportId}',
 184                'httpMethod' => 'GET',
 185                'parameters' => array(
 186                  'reportId' => array(
 187                    'location' => 'path',
 188                    'type' => 'string',
 189                    'required' => true,
 190                  ),
 191                ),
 192              ),'getFile' => array(
 193                'path' => 'reports/{reportId}/files/{reportFragment}',
 194                'httpMethod' => 'GET',
 195                'parameters' => array(
 196                  'reportId' => array(
 197                    'location' => 'path',
 198                    'type' => 'string',
 199                    'required' => true,
 200                  ),
 201                  'reportFragment' => array(
 202                    'location' => 'path',
 203                    'type' => 'integer',
 204                    'required' => true,
 205                  ),
 206                ),
 207              ),'request' => array(
 208                'path' => 'reports',
 209                'httpMethod' => 'POST',
 210                'parameters' => array(),
 211              ),
 212            )
 213          )
 214      );
 215      $this->savedColumns = new Google_Service_Doubleclicksearch_SavedColumns_Resource(
 216          $this,
 217          $this->serviceName,
 218          'savedColumns',
 219          array(
 220            'methods' => array(
 221              'list' => array(
 222                'path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns',
 223                'httpMethod' => 'GET',
 224                'parameters' => array(
 225                  'agencyId' => array(
 226                    'location' => 'path',
 227                    'type' => 'string',
 228                    'required' => true,
 229                  ),
 230                  'advertiserId' => array(
 231                    'location' => 'path',
 232                    'type' => 'string',
 233                    'required' => true,
 234                  ),
 235                ),
 236              ),
 237            )
 238          )
 239      );
 240    }
 241  }
 242  
 243  
 244  /**
 245   * The "conversion" collection of methods.
 246   * Typical usage is:
 247   *  <code>
 248   *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
 249   *   $conversion = $doubleclicksearchService->conversion;
 250   *  </code>
 251   */
 252  class Google_Service_Doubleclicksearch_Conversion_Resource extends Google_Service_Resource
 253  {
 254  
 255    /**
 256     * Retrieves a list of conversions from a DoubleClick Search engine account.
 257     * (conversion.get)
 258     *
 259     * @param string $agencyId
 260     * Numeric ID of the agency.
 261     * @param string $advertiserId
 262     * Numeric ID of the advertiser.
 263     * @param string $engineAccountId
 264     * Numeric ID of the engine account.
 265     * @param int $endDate
 266     * Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
 267     * @param int $rowCount
 268     * The number of conversions to return per call.
 269     * @param int $startDate
 270     * First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
 271     * @param string $startRow
 272     * The 0-based starting index for retrieving conversions results.
 273     * @param array $optParams Optional parameters.
 274     *
 275     * @opt_param string adGroupId
 276     * Numeric ID of the ad group.
 277     * @opt_param string campaignId
 278     * Numeric ID of the campaign.
 279     * @opt_param string adId
 280     * Numeric ID of the ad.
 281     * @opt_param string criterionId
 282     * Numeric ID of the criterion.
 283     * @return Google_Service_Doubleclicksearch_ConversionList
 284     */
 285    public function get($agencyId, $advertiserId, $engineAccountId, $endDate, $rowCount, $startDate, $startRow, $optParams = array())
 286    {
 287      $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId, 'engineAccountId' => $engineAccountId, 'endDate' => $endDate, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow);
 288      $params = array_merge($params, $optParams);
 289      return $this->call('get', array($params), "Google_Service_Doubleclicksearch_ConversionList");
 290    }
 291    /**
 292     * Inserts a batch of new conversions into DoubleClick Search.
 293     * (conversion.insert)
 294     *
 295     * @param Google_ConversionList $postBody
 296     * @param array $optParams Optional parameters.
 297     * @return Google_Service_Doubleclicksearch_ConversionList
 298     */
 299    public function insert(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
 300    {
 301      $params = array('postBody' => $postBody);
 302      $params = array_merge($params, $optParams);
 303      return $this->call('insert', array($params), "Google_Service_Doubleclicksearch_ConversionList");
 304    }
 305    /**
 306     * Updates a batch of conversions in DoubleClick Search. This method supports
 307     * patch semantics. (conversion.patch)
 308     *
 309     * @param string $advertiserId
 310     * Numeric ID of the advertiser.
 311     * @param string $agencyId
 312     * Numeric ID of the agency.
 313     * @param int $endDate
 314     * Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
 315     * @param string $engineAccountId
 316     * Numeric ID of the engine account.
 317     * @param int $rowCount
 318     * The number of conversions to return per call.
 319     * @param int $startDate
 320     * First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
 321     * @param string $startRow
 322     * The 0-based starting index for retrieving conversions results.
 323     * @param Google_ConversionList $postBody
 324     * @param array $optParams Optional parameters.
 325     * @return Google_Service_Doubleclicksearch_ConversionList
 326     */
 327    public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
 328    {
 329      $params = array('advertiserId' => $advertiserId, 'agencyId' => $agencyId, 'endDate' => $endDate, 'engineAccountId' => $engineAccountId, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow, 'postBody' => $postBody);
 330      $params = array_merge($params, $optParams);
 331      return $this->call('patch', array($params), "Google_Service_Doubleclicksearch_ConversionList");
 332    }
 333    /**
 334     * Updates a batch of conversions in DoubleClick Search. (conversion.update)
 335     *
 336     * @param Google_ConversionList $postBody
 337     * @param array $optParams Optional parameters.
 338     * @return Google_Service_Doubleclicksearch_ConversionList
 339     */
 340    public function update(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
 341    {
 342      $params = array('postBody' => $postBody);
 343      $params = array_merge($params, $optParams);
 344      return $this->call('update', array($params), "Google_Service_Doubleclicksearch_ConversionList");
 345    }
 346    /**
 347     * Updates the availabilities of a batch of floodlight activities in DoubleClick
 348     * Search. (conversion.updateAvailability)
 349     *
 350     * @param Google_UpdateAvailabilityRequest $postBody
 351     * @param array $optParams Optional parameters.
 352     * @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
 353     */
 354    public function updateAvailability(Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array())
 355    {
 356      $params = array('postBody' => $postBody);
 357      $params = array_merge($params, $optParams);
 358      return $this->call('updateAvailability', array($params), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse");
 359    }
 360  }
 361  
 362  /**
 363   * The "reports" collection of methods.
 364   * Typical usage is:
 365   *  <code>
 366   *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
 367   *   $reports = $doubleclicksearchService->reports;
 368   *  </code>
 369   */
 370  class Google_Service_Doubleclicksearch_Reports_Resource extends Google_Service_Resource
 371  {
 372  
 373    /**
 374     * Generates and returns a report immediately. (reports.generate)
 375     *
 376     * @param Google_ReportRequest $postBody
 377     * @param array $optParams Optional parameters.
 378     * @return Google_Service_Doubleclicksearch_Report
 379     */
 380    public function generate(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
 381    {
 382      $params = array('postBody' => $postBody);
 383      $params = array_merge($params, $optParams);
 384      return $this->call('generate', array($params), "Google_Service_Doubleclicksearch_Report");
 385    }
 386    /**
 387     * Polls for the status of a report request. (reports.get)
 388     *
 389     * @param string $reportId
 390     * ID of the report request being polled.
 391     * @param array $optParams Optional parameters.
 392     * @return Google_Service_Doubleclicksearch_Report
 393     */
 394    public function get($reportId, $optParams = array())
 395    {
 396      $params = array('reportId' => $reportId);
 397      $params = array_merge($params, $optParams);
 398      return $this->call('get', array($params), "Google_Service_Doubleclicksearch_Report");
 399    }
 400    /**
 401     * Downloads a report file. (reports.getFile)
 402     *
 403     * @param string $reportId
 404     * ID of the report.
 405     * @param int $reportFragment
 406     * The index of the report fragment to download.
 407     * @param array $optParams Optional parameters.
 408     */
 409    public function getFile($reportId, $reportFragment, $optParams = array())
 410    {
 411      $params = array('reportId' => $reportId, 'reportFragment' => $reportFragment);
 412      $params = array_merge($params, $optParams);
 413      return $this->call('getFile', array($params));
 414    }
 415    /**
 416     * Inserts a report request into the reporting system. (reports.request)
 417     *
 418     * @param Google_ReportRequest $postBody
 419     * @param array $optParams Optional parameters.
 420     * @return Google_Service_Doubleclicksearch_Report
 421     */
 422    public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
 423    {
 424      $params = array('postBody' => $postBody);
 425      $params = array_merge($params, $optParams);
 426      return $this->call('request', array($params), "Google_Service_Doubleclicksearch_Report");
 427    }
 428  }
 429  
 430  /**
 431   * The "savedColumns" collection of methods.
 432   * Typical usage is:
 433   *  <code>
 434   *   $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
 435   *   $savedColumns = $doubleclicksearchService->savedColumns;
 436   *  </code>
 437   */
 438  class Google_Service_Doubleclicksearch_SavedColumns_Resource extends Google_Service_Resource
 439  {
 440  
 441    /**
 442     * Retrieve the list of saved columns for a specified advertiser.
 443     * (savedColumns.listSavedColumns)
 444     *
 445     * @param string $agencyId
 446     * DS ID of the agency.
 447     * @param string $advertiserId
 448     * DS ID of the advertiser.
 449     * @param array $optParams Optional parameters.
 450     * @return Google_Service_Doubleclicksearch_SavedColumnList
 451     */
 452    public function listSavedColumns($agencyId, $advertiserId, $optParams = array())
 453    {
 454      $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId);
 455      $params = array_merge($params, $optParams);
 456      return $this->call('list', array($params), "Google_Service_Doubleclicksearch_SavedColumnList");
 457    }
 458  }
 459  
 460  
 461  
 462  
 463  class Google_Service_Doubleclicksearch_Availability extends Google_Model
 464  {
 465    public $advertiserId;
 466    public $agencyId;
 467    public $availabilityTimestamp;
 468    public $segmentationId;
 469    public $segmentationName;
 470    public $segmentationType;
 471  
 472    public function setAdvertiserId($advertiserId)
 473    {
 474      $this->advertiserId = $advertiserId;
 475    }
 476  
 477    public function getAdvertiserId()
 478    {
 479      return $this->advertiserId;
 480    }
 481  
 482    public function setAgencyId($agencyId)
 483    {
 484      $this->agencyId = $agencyId;
 485    }
 486  
 487    public function getAgencyId()
 488    {
 489      return $this->agencyId;
 490    }
 491  
 492    public function setAvailabilityTimestamp($availabilityTimestamp)
 493    {
 494      $this->availabilityTimestamp = $availabilityTimestamp;
 495    }
 496  
 497    public function getAvailabilityTimestamp()
 498    {
 499      return $this->availabilityTimestamp;
 500    }
 501  
 502    public function setSegmentationId($segmentationId)
 503    {
 504      $this->segmentationId = $segmentationId;
 505    }
 506  
 507    public function getSegmentationId()
 508    {
 509      return $this->segmentationId;
 510    }
 511  
 512    public function setSegmentationName($segmentationName)
 513    {
 514      $this->segmentationName = $segmentationName;
 515    }
 516  
 517    public function getSegmentationName()
 518    {
 519      return $this->segmentationName;
 520    }
 521  
 522    public function setSegmentationType($segmentationType)
 523    {
 524      $this->segmentationType = $segmentationType;
 525    }
 526  
 527    public function getSegmentationType()
 528    {
 529      return $this->segmentationType;
 530    }
 531  }
 532  
 533  class Google_Service_Doubleclicksearch_Conversion extends Google_Collection
 534  {
 535    protected $collection_key = 'customMetric';
 536    public $adGroupId;
 537    public $adId;
 538    public $advertiserId;
 539    public $agencyId;
 540    public $campaignId;
 541    public $clickId;
 542    public $conversionId;
 543    public $conversionModifiedTimestamp;
 544    public $conversionTimestamp;
 545    public $criterionId;
 546    public $currencyCode;
 547    protected $customDimensionType = 'Google_Service_Doubleclicksearch_CustomDimension';
 548    protected $customDimensionDataType = 'array';
 549    protected $customMetricType = 'Google_Service_Doubleclicksearch_CustomMetric';
 550    protected $customMetricDataType = 'array';
 551    public $dsConversionId;
 552    public $engineAccountId;
 553    public $floodlightOrderId;
 554    public $quantityMillis;
 555    public $revenueMicros;
 556    public $segmentationId;
 557    public $segmentationName;
 558    public $segmentationType;
 559    public $state;
 560    public $type;
 561  
 562    public function setAdGroupId($adGroupId)
 563    {
 564      $this->adGroupId = $adGroupId;
 565    }
 566  
 567    public function getAdGroupId()
 568    {
 569      return $this->adGroupId;
 570    }
 571  
 572    public function setAdId($adId)
 573    {
 574      $this->adId = $adId;
 575    }
 576  
 577    public function getAdId()
 578    {
 579      return $this->adId;
 580    }
 581  
 582    public function setAdvertiserId($advertiserId)
 583    {
 584      $this->advertiserId = $advertiserId;
 585    }
 586  
 587    public function getAdvertiserId()
 588    {
 589      return $this->advertiserId;
 590    }
 591  
 592    public function setAgencyId($agencyId)
 593    {
 594      $this->agencyId = $agencyId;
 595    }
 596  
 597    public function getAgencyId()
 598    {
 599      return $this->agencyId;
 600    }
 601  
 602    public function setCampaignId($campaignId)
 603    {
 604      $this->campaignId = $campaignId;
 605    }
 606  
 607    public function getCampaignId()
 608    {
 609      return $this->campaignId;
 610    }
 611  
 612    public function setClickId($clickId)
 613    {
 614      $this->clickId = $clickId;
 615    }
 616  
 617    public function getClickId()
 618    {
 619      return $this->clickId;
 620    }
 621  
 622    public function setConversionId($conversionId)
 623    {
 624      $this->conversionId = $conversionId;
 625    }
 626  
 627    public function getConversionId()
 628    {
 629      return $this->conversionId;
 630    }
 631  
 632    public function setConversionModifiedTimestamp($conversionModifiedTimestamp)
 633    {
 634      $this->conversionModifiedTimestamp = $conversionModifiedTimestamp;
 635    }
 636  
 637    public function getConversionModifiedTimestamp()
 638    {
 639      return $this->conversionModifiedTimestamp;
 640    }
 641  
 642    public function setConversionTimestamp($conversionTimestamp)
 643    {
 644      $this->conversionTimestamp = $conversionTimestamp;
 645    }
 646  
 647    public function getConversionTimestamp()
 648    {
 649      return $this->conversionTimestamp;
 650    }
 651  
 652    public function setCriterionId($criterionId)
 653    {
 654      $this->criterionId = $criterionId;
 655    }
 656  
 657    public function getCriterionId()
 658    {
 659      return $this->criterionId;
 660    }
 661  
 662    public function setCurrencyCode($currencyCode)
 663    {
 664      $this->currencyCode = $currencyCode;
 665    }
 666  
 667    public function getCurrencyCode()
 668    {
 669      return $this->currencyCode;
 670    }
 671  
 672    public function setCustomDimension($customDimension)
 673    {
 674      $this->customDimension = $customDimension;
 675    }
 676  
 677    public function getCustomDimension()
 678    {
 679      return $this->customDimension;
 680    }
 681  
 682    public function setCustomMetric($customMetric)
 683    {
 684      $this->customMetric = $customMetric;
 685    }
 686  
 687    public function getCustomMetric()
 688    {
 689      return $this->customMetric;
 690    }
 691  
 692    public function setDsConversionId($dsConversionId)
 693    {
 694      $this->dsConversionId = $dsConversionId;
 695    }
 696  
 697    public function getDsConversionId()
 698    {
 699      return $this->dsConversionId;
 700    }
 701  
 702    public function setEngineAccountId($engineAccountId)
 703    {
 704      $this->engineAccountId = $engineAccountId;
 705    }
 706  
 707    public function getEngineAccountId()
 708    {
 709      return $this->engineAccountId;
 710    }
 711  
 712    public function setFloodlightOrderId($floodlightOrderId)
 713    {
 714      $this->floodlightOrderId = $floodlightOrderId;
 715    }
 716  
 717    public function getFloodlightOrderId()
 718    {
 719      return $this->floodlightOrderId;
 720    }
 721  
 722    public function setQuantityMillis($quantityMillis)
 723    {
 724      $this->quantityMillis = $quantityMillis;
 725    }
 726  
 727    public function getQuantityMillis()
 728    {
 729      return $this->quantityMillis;
 730    }
 731  
 732    public function setRevenueMicros($revenueMicros)
 733    {
 734      $this->revenueMicros = $revenueMicros;
 735    }
 736  
 737    public function getRevenueMicros()
 738    {
 739      return $this->revenueMicros;
 740    }
 741  
 742    public function setSegmentationId($segmentationId)
 743    {
 744      $this->segmentationId = $segmentationId;
 745    }
 746  
 747    public function getSegmentationId()
 748    {
 749      return $this->segmentationId;
 750    }
 751  
 752    public function setSegmentationName($segmentationName)
 753    {
 754      $this->segmentationName = $segmentationName;
 755    }
 756  
 757    public function getSegmentationName()
 758    {
 759      return $this->segmentationName;
 760    }
 761  
 762    public function setSegmentationType($segmentationType)
 763    {
 764      $this->segmentationType = $segmentationType;
 765    }
 766  
 767    public function getSegmentationType()
 768    {
 769      return $this->segmentationType;
 770    }
 771  
 772    public function setState($state)
 773    {
 774      $this->state = $state;
 775    }
 776  
 777    public function getState()
 778    {
 779      return $this->state;
 780    }
 781  
 782    public function setType($type)
 783    {
 784      $this->type = $type;
 785    }
 786  
 787    public function getType()
 788    {
 789      return $this->type;
 790    }
 791  }
 792  
 793  class Google_Service_Doubleclicksearch_ConversionList extends Google_Collection
 794  {
 795    protected $collection_key = 'conversion';
 796    protected $conversionType = 'Google_Service_Doubleclicksearch_Conversion';
 797    protected $conversionDataType = 'array';
 798    public $kind;
 799  
 800    public function setConversion($conversion)
 801    {
 802      $this->conversion = $conversion;
 803    }
 804  
 805    public function getConversion()
 806    {
 807      return $this->conversion;
 808    }
 809  
 810    public function setKind($kind)
 811    {
 812      $this->kind = $kind;
 813    }
 814  
 815    public function getKind()
 816    {
 817      return $this->kind;
 818    }
 819  }
 820  
 821  class Google_Service_Doubleclicksearch_CustomDimension extends Google_Model
 822  {
 823    public $name;
 824    public $value;
 825  
 826    public function setName($name)
 827    {
 828      $this->name = $name;
 829    }
 830  
 831    public function getName()
 832    {
 833      return $this->name;
 834    }
 835  
 836    public function setValue($value)
 837    {
 838      $this->value = $value;
 839    }
 840  
 841    public function getValue()
 842    {
 843      return $this->value;
 844    }
 845  }
 846  
 847  class Google_Service_Doubleclicksearch_CustomMetric extends Google_Model
 848  {
 849    public $name;
 850    public $value;
 851  
 852    public function setName($name)
 853    {
 854      $this->name = $name;
 855    }
 856  
 857    public function getName()
 858    {
 859      return $this->name;
 860    }
 861  
 862    public function setValue($value)
 863    {
 864      $this->value = $value;
 865    }
 866  
 867    public function getValue()
 868    {
 869      return $this->value;
 870    }
 871  }
 872  
 873  class Google_Service_Doubleclicksearch_Report extends Google_Collection
 874  {
 875    protected $collection_key = 'rows';
 876    protected $filesType = 'Google_Service_Doubleclicksearch_ReportFiles';
 877    protected $filesDataType = 'array';
 878    public $id;
 879    public $isReportReady;
 880    public $kind;
 881    protected $requestType = 'Google_Service_Doubleclicksearch_ReportRequest';
 882    protected $requestDataType = '';
 883    public $rowCount;
 884    public $rows;
 885    public $statisticsCurrencyCode;
 886    public $statisticsTimeZone;
 887  
 888    public function setFiles($files)
 889    {
 890      $this->files = $files;
 891    }
 892  
 893    public function getFiles()
 894    {
 895      return $this->files;
 896    }
 897  
 898    public function setId($id)
 899    {
 900      $this->id = $id;
 901    }
 902  
 903    public function getId()
 904    {
 905      return $this->id;
 906    }
 907  
 908    public function setIsReportReady($isReportReady)
 909    {
 910      $this->isReportReady = $isReportReady;
 911    }
 912  
 913    public function getIsReportReady()
 914    {
 915      return $this->isReportReady;
 916    }
 917  
 918    public function setKind($kind)
 919    {
 920      $this->kind = $kind;
 921    }
 922  
 923    public function getKind()
 924    {
 925      return $this->kind;
 926    }
 927  
 928    public function setRequest(Google_Service_Doubleclicksearch_ReportRequest $request)
 929    {
 930      $this->request = $request;
 931    }
 932  
 933    public function getRequest()
 934    {
 935      return $this->request;
 936    }
 937  
 938    public function setRowCount($rowCount)
 939    {
 940      $this->rowCount = $rowCount;
 941    }
 942  
 943    public function getRowCount()
 944    {
 945      return $this->rowCount;
 946    }
 947  
 948    public function setRows($rows)
 949    {
 950      $this->rows = $rows;
 951    }
 952  
 953    public function getRows()
 954    {
 955      return $this->rows;
 956    }
 957  
 958    public function setStatisticsCurrencyCode($statisticsCurrencyCode)
 959    {
 960      $this->statisticsCurrencyCode = $statisticsCurrencyCode;
 961    }
 962  
 963    public function getStatisticsCurrencyCode()
 964    {
 965      return $this->statisticsCurrencyCode;
 966    }
 967  
 968    public function setStatisticsTimeZone($statisticsTimeZone)
 969    {
 970      $this->statisticsTimeZone = $statisticsTimeZone;
 971    }
 972  
 973    public function getStatisticsTimeZone()
 974    {
 975      return $this->statisticsTimeZone;
 976    }
 977  }
 978  
 979  class Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Google_Model
 980  {
 981    public $columnName;
 982    public $customDimensionName;
 983    public $endDate;
 984    public $groupByColumn;
 985    public $headerText;
 986    public $platformSource;
 987    public $savedColumnName;
 988    public $startDate;
 989  
 990    public function setColumnName($columnName)
 991    {
 992      $this->columnName = $columnName;
 993    }
 994  
 995    public function getColumnName()
 996    {
 997      return $this->columnName;
 998    }
 999  
1000    public function setCustomDimensionName($customDimensionName)
1001    {
1002      $this->customDimensionName = $customDimensionName;
1003    }
1004  
1005    public function getCustomDimensionName()
1006    {
1007      return $this->customDimensionName;
1008    }
1009  
1010    public function setEndDate($endDate)
1011    {
1012      $this->endDate = $endDate;
1013    }
1014  
1015    public function getEndDate()
1016    {
1017      return $this->endDate;
1018    }
1019  
1020    public function setGroupByColumn($groupByColumn)
1021    {
1022      $this->groupByColumn = $groupByColumn;
1023    }
1024  
1025    public function getGroupByColumn()
1026    {
1027      return $this->groupByColumn;
1028    }
1029  
1030    public function setHeaderText($headerText)
1031    {
1032      $this->headerText = $headerText;
1033    }
1034  
1035    public function getHeaderText()
1036    {
1037      return $this->headerText;
1038    }
1039  
1040    public function setPlatformSource($platformSource)
1041    {
1042      $this->platformSource = $platformSource;
1043    }
1044  
1045    public function getPlatformSource()
1046    {
1047      return $this->platformSource;
1048    }
1049  
1050    public function setSavedColumnName($savedColumnName)
1051    {
1052      $this->savedColumnName = $savedColumnName;
1053    }
1054  
1055    public function getSavedColumnName()
1056    {
1057      return $this->savedColumnName;
1058    }
1059  
1060    public function setStartDate($startDate)
1061    {
1062      $this->startDate = $startDate;
1063    }
1064  
1065    public function getStartDate()
1066    {
1067      return $this->startDate;
1068    }
1069  }
1070  
1071  class Google_Service_Doubleclicksearch_ReportFiles extends Google_Model
1072  {
1073    public $byteCount;
1074    public $url;
1075  
1076    public function setByteCount($byteCount)
1077    {
1078      $this->byteCount = $byteCount;
1079    }
1080  
1081    public function getByteCount()
1082    {
1083      return $this->byteCount;
1084    }
1085  
1086    public function setUrl($url)
1087    {
1088      $this->url = $url;
1089    }
1090  
1091    public function getUrl()
1092    {
1093      return $this->url;
1094    }
1095  }
1096  
1097  class Google_Service_Doubleclicksearch_ReportRequest extends Google_Collection
1098  {
1099    protected $collection_key = 'orderBy';
1100    protected $columnsType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1101    protected $columnsDataType = 'array';
1102    public $downloadFormat;
1103    protected $filtersType = 'Google_Service_Doubleclicksearch_ReportRequestFilters';
1104    protected $filtersDataType = 'array';
1105    public $includeDeletedEntities;
1106    public $includeRemovedEntities;
1107    public $maxRowsPerFile;
1108    protected $orderByType = 'Google_Service_Doubleclicksearch_ReportRequestOrderBy';
1109    protected $orderByDataType = 'array';
1110    protected $reportScopeType = 'Google_Service_Doubleclicksearch_ReportRequestReportScope';
1111    protected $reportScopeDataType = '';
1112    public $reportType;
1113    public $rowCount;
1114    public $startRow;
1115    public $statisticsCurrency;
1116    protected $timeRangeType = 'Google_Service_Doubleclicksearch_ReportRequestTimeRange';
1117    protected $timeRangeDataType = '';
1118    public $verifySingleTimeZone;
1119  
1120    public function setColumns($columns)
1121    {
1122      $this->columns = $columns;
1123    }
1124  
1125    public function getColumns()
1126    {
1127      return $this->columns;
1128    }
1129  
1130    public function setDownloadFormat($downloadFormat)
1131    {
1132      $this->downloadFormat = $downloadFormat;
1133    }
1134  
1135    public function getDownloadFormat()
1136    {
1137      return $this->downloadFormat;
1138    }
1139  
1140    public function setFilters($filters)
1141    {
1142      $this->filters = $filters;
1143    }
1144  
1145    public function getFilters()
1146    {
1147      return $this->filters;
1148    }
1149  
1150    public function setIncludeDeletedEntities($includeDeletedEntities)
1151    {
1152      $this->includeDeletedEntities = $includeDeletedEntities;
1153    }
1154  
1155    public function getIncludeDeletedEntities()
1156    {
1157      return $this->includeDeletedEntities;
1158    }
1159  
1160    public function setIncludeRemovedEntities($includeRemovedEntities)
1161    {
1162      $this->includeRemovedEntities = $includeRemovedEntities;
1163    }
1164  
1165    public function getIncludeRemovedEntities()
1166    {
1167      return $this->includeRemovedEntities;
1168    }
1169  
1170    public function setMaxRowsPerFile($maxRowsPerFile)
1171    {
1172      $this->maxRowsPerFile = $maxRowsPerFile;
1173    }
1174  
1175    public function getMaxRowsPerFile()
1176    {
1177      return $this->maxRowsPerFile;
1178    }
1179  
1180    public function setOrderBy($orderBy)
1181    {
1182      $this->orderBy = $orderBy;
1183    }
1184  
1185    public function getOrderBy()
1186    {
1187      return $this->orderBy;
1188    }
1189  
1190    public function setReportScope(Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope)
1191    {
1192      $this->reportScope = $reportScope;
1193    }
1194  
1195    public function getReportScope()
1196    {
1197      return $this->reportScope;
1198    }
1199  
1200    public function setReportType($reportType)
1201    {
1202      $this->reportType = $reportType;
1203    }
1204  
1205    public function getReportType()
1206    {
1207      return $this->reportType;
1208    }
1209  
1210    public function setRowCount($rowCount)
1211    {
1212      $this->rowCount = $rowCount;
1213    }
1214  
1215    public function getRowCount()
1216    {
1217      return $this->rowCount;
1218    }
1219  
1220    public function setStartRow($startRow)
1221    {
1222      $this->startRow = $startRow;
1223    }
1224  
1225    public function getStartRow()
1226    {
1227      return $this->startRow;
1228    }
1229  
1230    public function setStatisticsCurrency($statisticsCurrency)
1231    {
1232      $this->statisticsCurrency = $statisticsCurrency;
1233    }
1234  
1235    public function getStatisticsCurrency()
1236    {
1237      return $this->statisticsCurrency;
1238    }
1239  
1240    public function setTimeRange(Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange)
1241    {
1242      $this->timeRange = $timeRange;
1243    }
1244  
1245    public function getTimeRange()
1246    {
1247      return $this->timeRange;
1248    }
1249  
1250    public function setVerifySingleTimeZone($verifySingleTimeZone)
1251    {
1252      $this->verifySingleTimeZone = $verifySingleTimeZone;
1253    }
1254  
1255    public function getVerifySingleTimeZone()
1256    {
1257      return $this->verifySingleTimeZone;
1258    }
1259  }
1260  
1261  class Google_Service_Doubleclicksearch_ReportRequestFilters extends Google_Collection
1262  {
1263    protected $collection_key = 'values';
1264    protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1265    protected $columnDataType = '';
1266    public $operator;
1267    public $values;
1268  
1269    public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1270    {
1271      $this->column = $column;
1272    }
1273  
1274    public function getColumn()
1275    {
1276      return $this->column;
1277    }
1278  
1279    public function setOperator($operator)
1280    {
1281      $this->operator = $operator;
1282    }
1283  
1284    public function getOperator()
1285    {
1286      return $this->operator;
1287    }
1288  
1289    public function setValues($values)
1290    {
1291      $this->values = $values;
1292    }
1293  
1294    public function getValues()
1295    {
1296      return $this->values;
1297    }
1298  }
1299  
1300  class Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Google_Model
1301  {
1302    protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
1303    protected $columnDataType = '';
1304    public $sortOrder;
1305  
1306    public function setColumn(Google_Service_Doubleclicksearch_ReportApiColumnSpec $column)
1307    {
1308      $this->column = $column;
1309    }
1310  
1311    public function getColumn()
1312    {
1313      return $this->column;
1314    }
1315  
1316    public function setSortOrder($sortOrder)
1317    {
1318      $this->sortOrder = $sortOrder;
1319    }
1320  
1321    public function getSortOrder()
1322    {
1323      return $this->sortOrder;
1324    }
1325  }
1326  
1327  class Google_Service_Doubleclicksearch_ReportRequestReportScope extends Google_Model
1328  {
1329    public $adGroupId;
1330    public $adId;
1331    public $advertiserId;
1332    public $agencyId;
1333    public $campaignId;
1334    public $engineAccountId;
1335    public $keywordId;
1336  
1337    public function setAdGroupId($adGroupId)
1338    {
1339      $this->adGroupId = $adGroupId;
1340    }
1341  
1342    public function getAdGroupId()
1343    {
1344      return $this->adGroupId;
1345    }
1346  
1347    public function setAdId($adId)
1348    {
1349      $this->adId = $adId;
1350    }
1351  
1352    public function getAdId()
1353    {
1354      return $this->adId;
1355    }
1356  
1357    public function setAdvertiserId($advertiserId)
1358    {
1359      $this->advertiserId = $advertiserId;
1360    }
1361  
1362    public function getAdvertiserId()
1363    {
1364      return $this->advertiserId;
1365    }
1366  
1367    public function setAgencyId($agencyId)
1368    {
1369      $this->agencyId = $agencyId;
1370    }
1371  
1372    public function getAgencyId()
1373    {
1374      return $this->agencyId;
1375    }
1376  
1377    public function setCampaignId($campaignId)
1378    {
1379      $this->campaignId = $campaignId;
1380    }
1381  
1382    public function getCampaignId()
1383    {
1384      return $this->campaignId;
1385    }
1386  
1387    public function setEngineAccountId($engineAccountId)
1388    {
1389      $this->engineAccountId = $engineAccountId;
1390    }
1391  
1392    public function getEngineAccountId()
1393    {
1394      return $this->engineAccountId;
1395    }
1396  
1397    public function setKeywordId($keywordId)
1398    {
1399      $this->keywordId = $keywordId;
1400    }
1401  
1402    public function getKeywordId()
1403    {
1404      return $this->keywordId;
1405    }
1406  }
1407  
1408  class Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Google_Model
1409  {
1410    public $changedAttributesSinceTimestamp;
1411    public $changedMetricsSinceTimestamp;
1412    public $endDate;
1413    public $startDate;
1414  
1415    public function setChangedAttributesSinceTimestamp($changedAttributesSinceTimestamp)
1416    {
1417      $this->changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp;
1418    }
1419  
1420    public function getChangedAttributesSinceTimestamp()
1421    {
1422      return $this->changedAttributesSinceTimestamp;
1423    }
1424  
1425    public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp)
1426    {
1427      $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp;
1428    }
1429  
1430    public function getChangedMetricsSinceTimestamp()
1431    {
1432      return $this->changedMetricsSinceTimestamp;
1433    }
1434  
1435    public function setEndDate($endDate)
1436    {
1437      $this->endDate = $endDate;
1438    }
1439  
1440    public function getEndDate()
1441    {
1442      return $this->endDate;
1443    }
1444  
1445    public function setStartDate($startDate)
1446    {
1447      $this->startDate = $startDate;
1448    }
1449  
1450    public function getStartDate()
1451    {
1452      return $this->startDate;
1453    }
1454  }
1455  
1456  class Google_Service_Doubleclicksearch_ReportRow extends Google_Model
1457  {
1458  
1459  }
1460  
1461  class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
1462  {
1463    public $kind;
1464    public $savedColumnName;
1465    public $type;
1466  
1467    public function setKind($kind)
1468    {
1469      $this->kind = $kind;
1470    }
1471  
1472    public function getKind()
1473    {
1474      return $this->kind;
1475    }
1476  
1477    public function setSavedColumnName($savedColumnName)
1478    {
1479      $this->savedColumnName = $savedColumnName;
1480    }
1481  
1482    public function getSavedColumnName()
1483    {
1484      return $this->savedColumnName;
1485    }
1486  
1487    public function setType($type)
1488    {
1489      $this->type = $type;
1490    }
1491  
1492    public function getType()
1493    {
1494      return $this->type;
1495    }
1496  }
1497  
1498  class Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection
1499  {
1500    protected $collection_key = 'items';
1501    protected $itemsType = 'Google_Service_Doubleclicksearch_SavedColumn';
1502    protected $itemsDataType = 'array';
1503    public $kind;
1504  
1505    public function setItems($items)
1506    {
1507      $this->items = $items;
1508    }
1509  
1510    public function getItems()
1511    {
1512      return $this->items;
1513    }
1514  
1515    public function setKind($kind)
1516    {
1517      $this->kind = $kind;
1518    }
1519  
1520    public function getKind()
1521    {
1522      return $this->kind;
1523    }
1524  }
1525  
1526  class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
1527  {
1528    protected $collection_key = 'availabilities';
1529    protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
1530    protected $availabilitiesDataType = 'array';
1531  
1532    public function setAvailabilities($availabilities)
1533    {
1534      $this->availabilities = $availabilities;
1535    }
1536  
1537    public function getAvailabilities()
1538    {
1539      return $this->availabilities;
1540    }
1541  }
1542  
1543  class Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Google_Collection
1544  {
1545    protected $collection_key = 'availabilities';
1546    protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
1547    protected $availabilitiesDataType = 'array';
1548  
1549    public function setAvailabilities($availabilities)
1550    {
1551      $this->availabilities = $availabilities;
1552    }
1553  
1554    public function getAvailabilities()
1555    {
1556      return $this->availabilities;
1557    }
1558  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1