diff options
Diffstat (limited to 'Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php')
-rw-r--r-- | Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php | 1461 |
1 files changed, 1461 insertions, 0 deletions
diff --git a/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php new file mode 100644 index 0000000..a21203a --- /dev/null +++ b/Postman/Postman-Mail/google-api-php-client-1.1.2/src/Google/Service/Doubleclicksearch.php @@ -0,0 +1,1461 @@ +<?php +/* + * Copyright 2010 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +/** + * Service definition for Doubleclicksearch (v2). + * + * <p> + * Report and modify your advertising data in DoubleClick Search (for example, + * campaigns, ad groups, keywords, and conversions).</p> + * + * <p> + * For more information about this service, see the API + * <a href="https://developers.google.com/doubleclick-search/" target="_blank">Documentation</a> + * </p> + * + * @author Google, Inc. + */ +class Postman_Google_Service_Doubleclicksearch extends Postman_Google_Service +{ + /** View and manage your advertising data in DoubleClick Search. */ + const DOUBLECLICKSEARCH = + "https://www.googleapis.com/auth/doubleclicksearch"; + + public $conversion; + public $reports; + public $savedColumns; + + + /** + * Constructs the internal representation of the Doubleclicksearch service. + * + * @param Postman_Google_Client $client + */ + public function __construct(Postman_Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'doubleclicksearch/v2/'; + $this->version = 'v2'; + $this->serviceName = 'doubleclicksearch'; + + $this->conversion = new Postman_Google_Service_Doubleclicksearch_Conversion_Resource( + $this, + $this->serviceName, + 'conversion', + array( + 'methods' => array( + 'get' => array( + 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', + 'httpMethod' => 'GET', + 'parameters' => array( + 'agencyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'engineAccountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'rowCount' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startRow' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'adGroupId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'campaignId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'adId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'criterionId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'insert' => array( + 'path' => 'conversion', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'conversion', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'advertiserId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'agencyId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'endDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'engineAccountId' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'rowCount' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startDate' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + 'startRow' => array( + 'location' => 'query', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'conversion', + 'httpMethod' => 'PUT', + 'parameters' => array(), + ),'updateAvailability' => array( + 'path' => 'conversion/updateAvailability', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->reports = new Postman_Google_Service_Doubleclicksearch_Reports_Resource( + $this, + $this->serviceName, + 'reports', + array( + 'methods' => array( + 'generate' => array( + 'path' => 'reports/generate', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'reports/{reportId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getFile' => array( + 'path' => 'reports/{reportId}/files/{reportFragment}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'reportId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'reportFragment' => array( + 'location' => 'path', + 'type' => 'integer', + 'required' => true, + ), + ), + ),'request' => array( + 'path' => 'reports', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->savedColumns = new Postman_Google_Service_Doubleclicksearch_SavedColumns_Resource( + $this, + $this->serviceName, + 'savedColumns', + array( + 'methods' => array( + 'list' => array( + 'path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'agencyId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'advertiserId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "conversion" collection of methods. + * Typical usage is: + * <code> + * $doubleclicksearchService = new Postman_Google_Service_Doubleclicksearch(...); + * $conversion = $doubleclicksearchService->conversion; + * </code> + */ +class Postman_Google_Service_Doubleclicksearch_Conversion_Resource extends Postman_Google_Service_Resource +{ + + /** + * Retrieves a list of conversions from a DoubleClick Search engine account. + * (conversion.get) + * + * @param string $agencyId Numeric ID of the agency. + * @param string $advertiserId Numeric ID of the advertiser. + * @param string $engineAccountId Numeric ID of the engine account. + * @param int $endDate Last date (inclusive) on which to retrieve conversions. + * Format is yyyymmdd. + * @param int $rowCount The number of conversions to return per call. + * @param int $startDate First date (inclusive) on which to retrieve + * conversions. Format is yyyymmdd. + * @param string $startRow The 0-based starting index for retrieving conversions + * results. + * @param array $optParams Optional parameters. + * + * @opt_param string adGroupId Numeric ID of the ad group. + * @opt_param string campaignId Numeric ID of the campaign. + * @opt_param string adId Numeric ID of the ad. + * @opt_param string criterionId Numeric ID of the criterion. + * @return Postman_Google_Service_Doubleclicksearch_ConversionList + */ + public function get($agencyId, $advertiserId, $engineAccountId, $endDate, $rowCount, $startDate, $startRow, $optParams = array()) + { + $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId, 'engineAccountId' => $engineAccountId, 'endDate' => $endDate, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Inserts a batch of new conversions into DoubleClick Search. + * (conversion.insert) + * + * @param Postman_Google_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_ConversionList + */ + public function insert(Postman_Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('insert', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Updates a batch of conversions in DoubleClick Search. This method supports + * patch semantics. (conversion.patch) + * + * @param string $advertiserId Numeric ID of the advertiser. + * @param string $agencyId Numeric ID of the agency. + * @param int $endDate Last date (inclusive) on which to retrieve conversions. + * Format is yyyymmdd. + * @param string $engineAccountId Numeric ID of the engine account. + * @param int $rowCount The number of conversions to return per call. + * @param int $startDate First date (inclusive) on which to retrieve + * conversions. Format is yyyymmdd. + * @param string $startRow The 0-based starting index for retrieving conversions + * results. + * @param Postman_Google_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_ConversionList + */ + public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, Postman_Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('advertiserId' => $advertiserId, 'agencyId' => $agencyId, 'endDate' => $endDate, 'engineAccountId' => $engineAccountId, 'rowCount' => $rowCount, 'startDate' => $startDate, 'startRow' => $startRow, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('patch', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Updates a batch of conversions in DoubleClick Search. (conversion.update) + * + * @param Postman_Google_ConversionList $postBody + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_ConversionList + */ + public function update(Postman_Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('update', array($params), "Postman_Google_Service_Doubleclicksearch_ConversionList"); + } + + /** + * Updates the availabilities of a batch of floodlight activities in DoubleClick + * Search. (conversion.updateAvailability) + * + * @param Postman_Google_UpdateAvailabilityRequest $postBody + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse + */ + public function updateAvailability(Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('updateAvailability', array($params), "Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse"); + } +} + +/** + * The "reports" collection of methods. + * Typical usage is: + * <code> + * $doubleclicksearchService = new Postman_Google_Service_Doubleclicksearch(...); + * $reports = $doubleclicksearchService->reports; + * </code> + */ +class Postman_Google_Service_Doubleclicksearch_Reports_Resource extends Postman_Google_Service_Resource +{ + + /** + * Generates and returns a report immediately. (reports.generate) + * + * @param Postman_Google_ReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_Report + */ + public function generate(Postman_Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('generate', array($params), "Postman_Google_Service_Doubleclicksearch_Report"); + } + + /** + * Polls for the status of a report request. (reports.get) + * + * @param string $reportId ID of the report request being polled. + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_Report + */ + public function get($reportId, $optParams = array()) + { + $params = array('reportId' => $reportId); + $params = array_merge($params, $optParams); + return $this->call('get', array($params), "Postman_Google_Service_Doubleclicksearch_Report"); + } + + /** + * Downloads a report file. (reports.getFile) + * + * @param string $reportId ID of the report. + * @param int $reportFragment The index of the report fragment to download. + * @param array $optParams Optional parameters. + */ + public function getFile($reportId, $reportFragment, $optParams = array()) + { + $params = array('reportId' => $reportId, 'reportFragment' => $reportFragment); + $params = array_merge($params, $optParams); + return $this->call('getFile', array($params)); + } + + /** + * Inserts a report request into the reporting system. (reports.request) + * + * @param Postman_Google_ReportRequest $postBody + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_Report + */ + public function request(Postman_Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array()) + { + $params = array('postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('request', array($params), "Postman_Google_Service_Doubleclicksearch_Report"); + } +} + +/** + * The "savedColumns" collection of methods. + * Typical usage is: + * <code> + * $doubleclicksearchService = new Postman_Google_Service_Doubleclicksearch(...); + * $savedColumns = $doubleclicksearchService->savedColumns; + * </code> + */ +class Postman_Google_Service_Doubleclicksearch_SavedColumns_Resource extends Postman_Google_Service_Resource +{ + + /** + * Retrieve the list of saved columns for a specified advertiser. + * (savedColumns.listSavedColumns) + * + * @param string $agencyId DS ID of the agency. + * @param string $advertiserId DS ID of the advertiser. + * @param array $optParams Optional parameters. + * @return Postman_Google_Service_Doubleclicksearch_SavedColumnList + */ + public function listSavedColumns($agencyId, $advertiserId, $optParams = array()) + { + $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId); + $params = array_merge($params, $optParams); + return $this->call('list', array($params), "Postman_Google_Service_Doubleclicksearch_SavedColumnList"); + } +} + + + + +class Postman_Google_Service_Doubleclicksearch_Availability extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $advertiserId; + public $agencyId; + public $availabilityTimestamp; + public $segmentationId; + public $segmentationName; + public $segmentationType; + + + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setAvailabilityTimestamp($availabilityTimestamp) + { + $this->availabilityTimestamp = $availabilityTimestamp; + } + public function getAvailabilityTimestamp() + { + return $this->availabilityTimestamp; + } + public function setSegmentationId($segmentationId) + { + $this->segmentationId = $segmentationId; + } + public function getSegmentationId() + { + return $this->segmentationId; + } + public function setSegmentationName($segmentationName) + { + $this->segmentationName = $segmentationName; + } + public function getSegmentationName() + { + return $this->segmentationName; + } + public function setSegmentationType($segmentationType) + { + $this->segmentationType = $segmentationType; + } + public function getSegmentationType() + { + return $this->segmentationType; + } +} + +class Postman_Google_Service_Doubleclicksearch_Conversion extends Postman_Google_Collection +{ + protected $collection_key = 'customMetric'; + protected $internal_gapi_mappings = array( + ); + public $adGroupId; + public $adId; + public $advertiserId; + public $agencyId; + public $attributionModel; + public $campaignId; + public $clickId; + public $conversionId; + public $conversionModifiedTimestamp; + public $conversionTimestamp; + public $countMillis; + public $criterionId; + public $currencyCode; + protected $customDimensionType = 'Postman_Google_Service_Doubleclicksearch_CustomDimension'; + protected $customDimensionDataType = 'array'; + protected $customMetricType = 'Postman_Google_Service_Doubleclicksearch_CustomMetric'; + protected $customMetricDataType = 'array'; + public $dsConversionId; + public $engineAccountId; + public $floodlightOrderId; + public $quantityMillis; + public $revenueMicros; + public $segmentationId; + public $segmentationName; + public $segmentationType; + public $state; + public $type; + + + public function setAdGroupId($adGroupId) + { + $this->adGroupId = $adGroupId; + } + public function getAdGroupId() + { + return $this->adGroupId; + } + public function setAdId($adId) + { + $this->adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setAttributionModel($attributionModel) + { + $this->attributionModel = $attributionModel; + } + public function getAttributionModel() + { + return $this->attributionModel; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setClickId($clickId) + { + $this->clickId = $clickId; + } + public function getClickId() + { + return $this->clickId; + } + public function setConversionId($conversionId) + { + $this->conversionId = $conversionId; + } + public function getConversionId() + { + return $this->conversionId; + } + public function setConversionModifiedTimestamp($conversionModifiedTimestamp) + { + $this->conversionModifiedTimestamp = $conversionModifiedTimestamp; + } + public function getConversionModifiedTimestamp() + { + return $this->conversionModifiedTimestamp; + } + public function setConversionTimestamp($conversionTimestamp) + { + $this->conversionTimestamp = $conversionTimestamp; + } + public function getConversionTimestamp() + { + return $this->conversionTimestamp; + } + public function setCountMillis($countMillis) + { + $this->countMillis = $countMillis; + } + public function getCountMillis() + { + return $this->countMillis; + } + public function setCriterionId($criterionId) + { + $this->criterionId = $criterionId; + } + public function getCriterionId() + { + return $this->criterionId; + } + public function setCurrencyCode($currencyCode) + { + $this->currencyCode = $currencyCode; + } + public function getCurrencyCode() + { + return $this->currencyCode; + } + public function setCustomDimension($customDimension) + { + $this->customDimension = $customDimension; + } + public function getCustomDimension() + { + return $this->customDimension; + } + public function setCustomMetric($customMetric) + { + $this->customMetric = $customMetric; + } + public function getCustomMetric() + { + return $this->customMetric; + } + public function setDsConversionId($dsConversionId) + { + $this->dsConversionId = $dsConversionId; + } + public function getDsConversionId() + { + return $this->dsConversionId; + } + public function setEngineAccountId($engineAccountId) + { + $this->engineAccountId = $engineAccountId; + } + public function getEngineAccountId() + { + return $this->engineAccountId; + } + public function setFloodlightOrderId($floodlightOrderId) + { + $this->floodlightOrderId = $floodlightOrderId; + } + public function getFloodlightOrderId() + { + return $this->floodlightOrderId; + } + public function setQuantityMillis($quantityMillis) + { + $this->quantityMillis = $quantityMillis; + } + public function getQuantityMillis() + { + return $this->quantityMillis; + } + public function setRevenueMicros($revenueMicros) + { + $this->revenueMicros = $revenueMicros; + } + public function getRevenueMicros() + { + return $this->revenueMicros; + } + public function setSegmentationId($segmentationId) + { + $this->segmentationId = $segmentationId; + } + public function getSegmentationId() + { + return $this->segmentationId; + } + public function setSegmentationName($segmentationName) + { + $this->segmentationName = $segmentationName; + } + public function getSegmentationName() + { + return $this->segmentationName; + } + public function setSegmentationType($segmentationType) + { + $this->segmentationType = $segmentationType; + } + public function getSegmentationType() + { + return $this->segmentationType; + } + public function setState($state) + { + $this->state = $state; + } + public function getState() + { + return $this->state; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Postman_Google_Service_Doubleclicksearch_ConversionList extends Postman_Google_Collection +{ + protected $collection_key = 'conversion'; + protected $internal_gapi_mappings = array( + ); + protected $conversionType = 'Postman_Google_Service_Doubleclicksearch_Conversion'; + protected $conversionDataType = 'array'; + public $kind; + + + public function setConversion($conversion) + { + $this->conversion = $conversion; + } + public function getConversion() + { + return $this->conversion; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Postman_Google_Service_Doubleclicksearch_CustomDimension extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Postman_Google_Service_Doubleclicksearch_CustomMetric extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $name; + public $value; + + + public function setName($name) + { + $this->name = $name; + } + public function getName() + { + return $this->name; + } + public function setValue($value) + { + $this->value = $value; + } + public function getValue() + { + return $this->value; + } +} + +class Postman_Google_Service_Doubleclicksearch_Report extends Postman_Google_Collection +{ + protected $collection_key = 'rows'; + protected $internal_gapi_mappings = array( + ); + protected $filesType = 'Postman_Google_Service_Doubleclicksearch_ReportFiles'; + protected $filesDataType = 'array'; + public $id; + public $isReportReady; + public $kind; + protected $requestType = 'Postman_Google_Service_Doubleclicksearch_ReportRequest'; + protected $requestDataType = ''; + public $rowCount; + public $rows; + public $statisticsCurrencyCode; + public $statisticsTimeZone; + + + public function setFiles($files) + { + $this->files = $files; + } + public function getFiles() + { + return $this->files; + } + public function setId($id) + { + $this->id = $id; + } + public function getId() + { + return $this->id; + } + public function setIsReportReady($isReportReady) + { + $this->isReportReady = $isReportReady; + } + public function getIsReportReady() + { + return $this->isReportReady; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setRequest(Postman_Google_Service_Doubleclicksearch_ReportRequest $request) + { + $this->request = $request; + } + public function getRequest() + { + return $this->request; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } + public function setRows($rows) + { + $this->rows = $rows; + } + public function getRows() + { + return $this->rows; + } + public function setStatisticsCurrencyCode($statisticsCurrencyCode) + { + $this->statisticsCurrencyCode = $statisticsCurrencyCode; + } + public function getStatisticsCurrencyCode() + { + return $this->statisticsCurrencyCode; + } + public function setStatisticsTimeZone($statisticsTimeZone) + { + $this->statisticsTimeZone = $statisticsTimeZone; + } + public function getStatisticsTimeZone() + { + return $this->statisticsTimeZone; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $columnName; + public $customDimensionName; + public $customMetricName; + public $endDate; + public $groupByColumn; + public $headerText; + public $platformSource; + public $savedColumnName; + public $startDate; + + + public function setColumnName($columnName) + { + $this->columnName = $columnName; + } + public function getColumnName() + { + return $this->columnName; + } + public function setCustomDimensionName($customDimensionName) + { + $this->customDimensionName = $customDimensionName; + } + public function getCustomDimensionName() + { + return $this->customDimensionName; + } + public function setCustomMetricName($customMetricName) + { + $this->customMetricName = $customMetricName; + } + public function getCustomMetricName() + { + return $this->customMetricName; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setGroupByColumn($groupByColumn) + { + $this->groupByColumn = $groupByColumn; + } + public function getGroupByColumn() + { + return $this->groupByColumn; + } + public function setHeaderText($headerText) + { + $this->headerText = $headerText; + } + public function getHeaderText() + { + return $this->headerText; + } + public function setPlatformSource($platformSource) + { + $this->platformSource = $platformSource; + } + public function getPlatformSource() + { + return $this->platformSource; + } + public function setSavedColumnName($savedColumnName) + { + $this->savedColumnName = $savedColumnName; + } + public function getSavedColumnName() + { + return $this->savedColumnName; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportFiles extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $byteCount; + public $url; + + + public function setByteCount($byteCount) + { + $this->byteCount = $byteCount; + } + public function getByteCount() + { + return $this->byteCount; + } + public function setUrl($url) + { + $this->url = $url; + } + public function getUrl() + { + return $this->url; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportRequest extends Postman_Google_Collection +{ + protected $collection_key = 'orderBy'; + protected $internal_gapi_mappings = array( + ); + protected $columnsType = 'Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec'; + protected $columnsDataType = 'array'; + public $downloadFormat; + protected $filtersType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestFilters'; + protected $filtersDataType = 'array'; + public $includeDeletedEntities; + public $includeRemovedEntities; + public $maxRowsPerFile; + protected $orderByType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestOrderBy'; + protected $orderByDataType = 'array'; + protected $reportScopeType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestReportScope'; + protected $reportScopeDataType = ''; + public $reportType; + public $rowCount; + public $startRow; + public $statisticsCurrency; + protected $timeRangeType = 'Postman_Google_Service_Doubleclicksearch_ReportRequestTimeRange'; + protected $timeRangeDataType = ''; + public $verifySingleTimeZone; + + + public function setColumns($columns) + { + $this->columns = $columns; + } + public function getColumns() + { + return $this->columns; + } + public function setDownloadFormat($downloadFormat) + { + $this->downloadFormat = $downloadFormat; + } + public function getDownloadFormat() + { + return $this->downloadFormat; + } + public function setFilters($filters) + { + $this->filters = $filters; + } + public function getFilters() + { + return $this->filters; + } + public function setIncludeDeletedEntities($includeDeletedEntities) + { + $this->includeDeletedEntities = $includeDeletedEntities; + } + public function getIncludeDeletedEntities() + { + return $this->includeDeletedEntities; + } + public function setIncludeRemovedEntities($includeRemovedEntities) + { + $this->includeRemovedEntities = $includeRemovedEntities; + } + public function getIncludeRemovedEntities() + { + return $this->includeRemovedEntities; + } + public function setMaxRowsPerFile($maxRowsPerFile) + { + $this->maxRowsPerFile = $maxRowsPerFile; + } + public function getMaxRowsPerFile() + { + return $this->maxRowsPerFile; + } + public function setOrderBy($orderBy) + { + $this->orderBy = $orderBy; + } + public function getOrderBy() + { + return $this->orderBy; + } + public function setReportScope(Postman_Google_Service_Doubleclicksearch_ReportRequestReportScope $reportScope) + { + $this->reportScope = $reportScope; + } + public function getReportScope() + { + return $this->reportScope; + } + public function setReportType($reportType) + { + $this->reportType = $reportType; + } + public function getReportType() + { + return $this->reportType; + } + public function setRowCount($rowCount) + { + $this->rowCount = $rowCount; + } + public function getRowCount() + { + return $this->rowCount; + } + public function setStartRow($startRow) + { + $this->startRow = $startRow; + } + public function getStartRow() + { + return $this->startRow; + } + public function setStatisticsCurrency($statisticsCurrency) + { + $this->statisticsCurrency = $statisticsCurrency; + } + public function getStatisticsCurrency() + { + return $this->statisticsCurrency; + } + public function setTimeRange(Postman_Google_Service_Doubleclicksearch_ReportRequestTimeRange $timeRange) + { + $this->timeRange = $timeRange; + } + public function getTimeRange() + { + return $this->timeRange; + } + public function setVerifySingleTimeZone($verifySingleTimeZone) + { + $this->verifySingleTimeZone = $verifySingleTimeZone; + } + public function getVerifySingleTimeZone() + { + return $this->verifySingleTimeZone; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportRequestFilters extends Postman_Google_Collection +{ + protected $collection_key = 'values'; + protected $internal_gapi_mappings = array( + ); + protected $columnType = 'Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec'; + protected $columnDataType = ''; + public $operator; + public $values; + + + public function setColumn(Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec $column) + { + $this->column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setOperator($operator) + { + $this->operator = $operator; + } + public function getOperator() + { + return $this->operator; + } + public function setValues($values) + { + $this->values = $values; + } + public function getValues() + { + return $this->values; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportRequestOrderBy extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $columnType = 'Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec'; + protected $columnDataType = ''; + public $sortOrder; + + + public function setColumn(Postman_Google_Service_Doubleclicksearch_ReportApiColumnSpec $column) + { + $this->column = $column; + } + public function getColumn() + { + return $this->column; + } + public function setSortOrder($sortOrder) + { + $this->sortOrder = $sortOrder; + } + public function getSortOrder() + { + return $this->sortOrder; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportRequestReportScope extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $adGroupId; + public $adId; + public $advertiserId; + public $agencyId; + public $campaignId; + public $engineAccountId; + public $keywordId; + + + public function setAdGroupId($adGroupId) + { + $this->adGroupId = $adGroupId; + } + public function getAdGroupId() + { + return $this->adGroupId; + } + public function setAdId($adId) + { + $this->adId = $adId; + } + public function getAdId() + { + return $this->adId; + } + public function setAdvertiserId($advertiserId) + { + $this->advertiserId = $advertiserId; + } + public function getAdvertiserId() + { + return $this->advertiserId; + } + public function setAgencyId($agencyId) + { + $this->agencyId = $agencyId; + } + public function getAgencyId() + { + return $this->agencyId; + } + public function setCampaignId($campaignId) + { + $this->campaignId = $campaignId; + } + public function getCampaignId() + { + return $this->campaignId; + } + public function setEngineAccountId($engineAccountId) + { + $this->engineAccountId = $engineAccountId; + } + public function getEngineAccountId() + { + return $this->engineAccountId; + } + public function setKeywordId($keywordId) + { + $this->keywordId = $keywordId; + } + public function getKeywordId() + { + return $this->keywordId; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportRequestTimeRange extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $changedAttributesSinceTimestamp; + public $changedMetricsSinceTimestamp; + public $endDate; + public $startDate; + + + public function setChangedAttributesSinceTimestamp($changedAttributesSinceTimestamp) + { + $this->changedAttributesSinceTimestamp = $changedAttributesSinceTimestamp; + } + public function getChangedAttributesSinceTimestamp() + { + return $this->changedAttributesSinceTimestamp; + } + public function setChangedMetricsSinceTimestamp($changedMetricsSinceTimestamp) + { + $this->changedMetricsSinceTimestamp = $changedMetricsSinceTimestamp; + } + public function getChangedMetricsSinceTimestamp() + { + return $this->changedMetricsSinceTimestamp; + } + public function setEndDate($endDate) + { + $this->endDate = $endDate; + } + public function getEndDate() + { + return $this->endDate; + } + public function setStartDate($startDate) + { + $this->startDate = $startDate; + } + public function getStartDate() + { + return $this->startDate; + } +} + +class Postman_Google_Service_Doubleclicksearch_ReportRow extends Postman_Google_Model +{ +} + +class Postman_Google_Service_Doubleclicksearch_SavedColumn extends Postman_Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + public $savedColumnName; + public $type; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } + public function setSavedColumnName($savedColumnName) + { + $this->savedColumnName = $savedColumnName; + } + public function getSavedColumnName() + { + return $this->savedColumnName; + } + public function setType($type) + { + $this->type = $type; + } + public function getType() + { + return $this->type; + } +} + +class Postman_Google_Service_Doubleclicksearch_SavedColumnList extends Postman_Google_Collection +{ + protected $collection_key = 'items'; + protected $internal_gapi_mappings = array( + ); + protected $itemsType = 'Postman_Google_Service_Doubleclicksearch_SavedColumn'; + protected $itemsDataType = 'array'; + public $kind; + + + public function setItems($items) + { + $this->items = $items; + } + public function getItems() + { + return $this->items; + } + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + +class Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Postman_Google_Collection +{ + protected $collection_key = 'availabilities'; + protected $internal_gapi_mappings = array( + ); + protected $availabilitiesType = 'Postman_Google_Service_Doubleclicksearch_Availability'; + protected $availabilitiesDataType = 'array'; + + + public function setAvailabilities($availabilities) + { + $this->availabilities = $availabilities; + } + public function getAvailabilities() + { + return $this->availabilities; + } +} + +class Postman_Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Postman_Google_Collection +{ + protected $collection_key = 'availabilities'; + protected $internal_gapi_mappings = array( + ); + protected $availabilitiesType = 'Postman_Google_Service_Doubleclicksearch_Availability'; + protected $availabilitiesDataType = 'array'; + + + public function setAvailabilities($availabilities) + { + $this->availabilities = $availabilities; + } + public function getAvailabilities() + { + return $this->availabilities; + } +} |