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