123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <?php
- /*
- * Copyright 2014 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 DoubleClickBidManager (v1).
- *
- * <p>
- * API for viewing and managing your reports in DoubleClick Bid Manager.</p>
- *
- * <p>
- * For more information about this service, see the API
- * <a href="https://developers.google.com/bid-manager/" target="_blank">Documentation</a>
- * </p>
- *
- * @author Google, Inc.
- */
- class Google_Service_DoubleClickBidManager extends Google_Service
- {
- /** View and manage your reports in DoubleClick Bid Manager. */
- const DOUBLECLICKBIDMANAGER =
- "https://www.googleapis.com/auth/doubleclickbidmanager";
-
- public $lineitems;
- public $queries;
- public $reports;
- public $sdf;
-
- /**
- * Constructs the internal representation of the DoubleClickBidManager
- * service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->rootUrl = 'https://www.googleapis.com/';
- $this->servicePath = 'doubleclickbidmanager/v1/';
- $this->version = 'v1';
- $this->serviceName = 'doubleclickbidmanager';
-
- $this->lineitems = new Google_Service_DoubleClickBidManager_Resource_Lineitems(
- $this,
- $this->serviceName,
- 'lineitems',
- array(
- 'methods' => array(
- 'downloadlineitems' => array(
- 'path' => 'lineitems/downloadlineitems',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'uploadlineitems' => array(
- 'path' => 'lineitems/uploadlineitems',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->queries = new Google_Service_DoubleClickBidManager_Resource_Queries(
- $this,
- $this->serviceName,
- 'queries',
- array(
- 'methods' => array(
- 'createquery' => array(
- 'path' => 'query',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'deletequery' => array(
- 'path' => 'query/{queryId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'queryId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'getquery' => array(
- 'path' => 'query/{queryId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'queryId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'listqueries' => array(
- 'path' => 'queries',
- 'httpMethod' => 'GET',
- 'parameters' => array(),
- ),'runquery' => array(
- 'path' => 'query/{queryId}',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'queryId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->reports = new Google_Service_DoubleClickBidManager_Resource_Reports(
- $this,
- $this->serviceName,
- 'reports',
- array(
- 'methods' => array(
- 'listreports' => array(
- 'path' => 'queries/{queryId}/reports',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'queryId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->sdf = new Google_Service_DoubleClickBidManager_Resource_Sdf(
- $this,
- $this->serviceName,
- 'sdf',
- array(
- 'methods' => array(
- 'download' => array(
- 'path' => 'sdf/download',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),
- )
- )
- );
- }
- }
|