Initial commit
This commit is contained in:
121
vendor/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php
vendored
Normal file
121
vendor/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Conversion.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "conversion" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
|
||||
* $conversion = $doubleclicksearchService->conversion;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Doubleclicksearch_Resource_Conversion extends 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 adId Numeric ID of the ad.
|
||||
* @opt_param string campaignId Numeric ID of the campaign.
|
||||
* @opt_param string criterionId Numeric ID of the criterion.
|
||||
* @return 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), "Google_Service_Doubleclicksearch_ConversionList");
|
||||
}
|
||||
/**
|
||||
* Inserts a batch of new conversions into DoubleClick Search.
|
||||
* (conversion.insert)
|
||||
*
|
||||
* @param Google_Service_Doubleclicksearch_ConversionList $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Doubleclicksearch_ConversionList
|
||||
*/
|
||||
public function insert(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('insert', array($params), "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 Google_Service_Doubleclicksearch_ConversionList $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Doubleclicksearch_ConversionList
|
||||
*/
|
||||
public function patch($advertiserId, $agencyId, $endDate, $engineAccountId, $rowCount, $startDate, $startRow, 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), "Google_Service_Doubleclicksearch_ConversionList");
|
||||
}
|
||||
/**
|
||||
* Updates a batch of conversions in DoubleClick Search. (conversion.update)
|
||||
*
|
||||
* @param Google_Service_Doubleclicksearch_ConversionList $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Doubleclicksearch_ConversionList
|
||||
*/
|
||||
public function update(Google_Service_Doubleclicksearch_ConversionList $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Doubleclicksearch_ConversionList");
|
||||
}
|
||||
/**
|
||||
* Updates the availabilities of a batch of floodlight activities in DoubleClick
|
||||
* Search. (conversion.updateAvailability)
|
||||
*
|
||||
* @param Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
|
||||
*/
|
||||
public function updateAvailability(Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('updateAvailability', array($params), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse");
|
||||
}
|
||||
}
|
||||
80
vendor/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php
vendored
Normal file
80
vendor/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/Reports.php
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "reports" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
|
||||
* $reports = $doubleclicksearchService->reports;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Doubleclicksearch_Resource_Reports extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Generates and returns a report immediately. (reports.generate)
|
||||
*
|
||||
* @param Google_Service_Doubleclicksearch_ReportRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Doubleclicksearch_Report
|
||||
*/
|
||||
public function generate(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('generate', array($params), "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 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), "Google_Service_Doubleclicksearch_Report");
|
||||
}
|
||||
/**
|
||||
* Downloads a report file encoded in UTF-8. (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 Google_Service_Doubleclicksearch_ReportRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Doubleclicksearch_Report
|
||||
*/
|
||||
public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('request', array($params), "Google_Service_Doubleclicksearch_Report");
|
||||
}
|
||||
}
|
||||
43
vendor/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php
vendored
Normal file
43
vendor/google/apiclient-services/src/Google/Service/Doubleclicksearch/Resource/SavedColumns.php
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "savedColumns" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
|
||||
* $savedColumns = $doubleclicksearchService->savedColumns;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Doubleclicksearch_Resource_SavedColumns extends 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 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), "Google_Service_Doubleclicksearch_SavedColumnList");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user