1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00

Add youtube upload support

This commit is contained in:
daniel 2017-07-06 15:32:28 -03:00
parent 0a4c8943ac
commit 09dc110dc8
5539 changed files with 482487 additions and 5 deletions

7
google/autoload.php Normal file
View file

@ -0,0 +1,7 @@
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7::getLoader();

View file

@ -0,0 +1,445 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
*
* $loader = new \Composer\Autoload\ClassLoader();
*
* // register classes with namespaces
* $loader->add('Symfony\Component', __DIR__.'/component');
* $loader->add('Symfony', __DIR__.'/framework');
*
* // activate the autoloader
* $loader->register();
*
* // to enable searching the include path (eg. for PEAR packages)
* $loader->setUseIncludePath(true);
*
* In this example, if you try to use a class in the Symfony\Component
* namespace or one of its children (Symfony\Component\Console for instance),
* the autoloader will first look for the class under the component/
* directory, and it will then fallback to the framework/ directory if not
* found before giving up.
*
* This class is loosely based on the Symfony UniversalClassLoader.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @see http://www.php-fig.org/psr/psr-0/
* @see http://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
// PSR-4
private $prefixLengthsPsr4 = array();
private $prefixDirsPsr4 = array();
private $fallbackDirsPsr4 = array();
// PSR-0
private $prefixesPsr0 = array();
private $fallbackDirsPsr0 = array();
private $useIncludePath = false;
private $classMap = array();
private $classMapAuthoritative = false;
private $missingClasses = array();
private $apcuPrefix;
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
}
return array();
}
public function getPrefixesPsr4()
{
return $this->prefixDirsPsr4;
}
public function getFallbackDirs()
{
return $this->fallbackDirsPsr0;
}
public function getFallbackDirsPsr4()
{
return $this->fallbackDirsPsr4;
}
public function getClassMap()
{
return $this->classMap;
}
/**
* @param array $classMap Class to filename map
*/
public function addClassMap(array $classMap)
{
if ($this->classMap) {
$this->classMap = array_merge($this->classMap, $classMap);
} else {
$this->classMap = $classMap;
}
}
/**
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*/
public function add($prefix, $paths, $prepend = false)
{
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
);
}
return;
}
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
// Register directories for a new namespace.
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 base directories
*/
public function set($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr0 = (array) $paths;
} else {
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
}
}
/**
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*/
public function setPsr4($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr4 = (array) $paths;
} else {
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
}
}
/**
* Turns on searching the include path for class files.
*
* @param bool $useIncludePath
*/
public function setUseIncludePath($useIncludePath)
{
$this->useIncludePath = $useIncludePath;
}
/**
* Can be used to check if the autoloader uses the include path to check
* for classes.
*
* @return bool
*/
public function getUseIncludePath()
{
return $this->useIncludePath;
}
/**
* Turns off searching the prefix and fallback directories for classes
* that have not been registered with the class map.
*
* @param bool $classMapAuthoritative
*/
public function setClassMapAuthoritative($classMapAuthoritative)
{
$this->classMapAuthoritative = $classMapAuthoritative;
}
/**
* Should class lookup fail if not found in the current class map?
*
* @return bool
*/
public function isClassMapAuthoritative()
{
return $this->classMapAuthoritative;
}
/**
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
*
* @param string|null $apcuPrefix
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
}
/**
* The APCu prefix in use, or null if APCu caching is not enabled.
*
* @return string|null
*/
public function getApcuPrefix()
{
return $this->apcuPrefix;
}
/**
* Registers this instance as an autoloader.
*
* @param bool $prepend Whether to prepend the autoloader or not
*/
public function register($prepend = false)
{
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
}
/**
* Unregisters this instance as an autoloader.
*/
public function unregister()
{
spl_autoload_unregister(array($this, 'loadClass'));
}
/**
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
* Finds the path to the file where the class is defined.
*
* @param string $class The name of the class
*
* @return string|false The path if found, false otherwise
*/
public function findFile($class)
{
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
return false;
}
if (null !== $this->apcuPrefix) {
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
if ($hit) {
return $file;
}
}
$file = $this->findFileWithExtension($class, '.php');
// Search for Hack files if we are running on HHVM
if (false === $file && defined('HHVM_VERSION')) {
$file = $this->findFileWithExtension($class, '.hh');
}
if (null !== $this->apcuPrefix) {
apcu_add($this->apcuPrefix.$class, $file);
}
if (false === $file) {
// Remember that this class does not exist.
$this->missingClasses[$class] = true;
}
return $file;
}
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
$first = $class[0];
if (isset($this->prefixLengthsPsr4[$first])) {
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
if (isset($this->prefixDirsPsr4[$search])) {
foreach ($this->prefixDirsPsr4[$search] as $dir) {
$length = $this->prefixLengthsPsr4[$first][$search];
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
return $file;
}
}
}
}
}
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
// PSR-0 lookup
if (false !== $pos = strrpos($class, '\\')) {
// namespaced class name
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
} else {
// PEAR-like class name
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
}
if (isset($this->prefixesPsr0[$first])) {
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
}
}
}
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
// PSR-0 include paths.
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
return false;
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}

21
google/composer/LICENSE Normal file
View file

@ -0,0 +1,21 @@
Copyright (c) Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View file

@ -0,0 +1,35 @@
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Google\\Auth\\ApplicationDefaultCredentials' => $vendorDir . '/google/auth/src/ApplicationDefaultCredentials.php',
'Google\\Auth\\CacheTrait' => $vendorDir . '/google/auth/src/CacheTrait.php',
'Google\\Auth\\Cache\\InvalidArgumentException' => $vendorDir . '/google/auth/src/Cache/InvalidArgumentException.php',
'Google\\Auth\\Cache\\Item' => $vendorDir . '/google/auth/src/Cache/Item.php',
'Google\\Auth\\Cache\\MemoryCacheItemPool' => $vendorDir . '/google/auth/src/Cache/MemoryCacheItemPool.php',
'Google\\Auth\\CredentialsLoader' => $vendorDir . '/google/auth/src/CredentialsLoader.php',
'Google\\Auth\\Credentials\\AppIdentityCredentials' => $vendorDir . '/google/auth/src/Credentials/AppIdentityCredentials.php',
'Google\\Auth\\Credentials\\GCECredentials' => $vendorDir . '/google/auth/src/Credentials/GCECredentials.php',
'Google\\Auth\\Credentials\\IAMCredentials' => $vendorDir . '/google/auth/src/Credentials/IAMCredentials.php',
'Google\\Auth\\Credentials\\ServiceAccountCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountCredentials.php',
'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => $vendorDir . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
'Google\\Auth\\Credentials\\UserRefreshCredentials' => $vendorDir . '/google/auth/src/Credentials/UserRefreshCredentials.php',
'Google\\Auth\\FetchAuthTokenCache' => $vendorDir . '/google/auth/src/FetchAuthTokenCache.php',
'Google\\Auth\\FetchAuthTokenInterface' => $vendorDir . '/google/auth/src/FetchAuthTokenInterface.php',
'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => $vendorDir . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => $vendorDir . '/google/auth/src/HttpHandler/HttpHandlerFactory.php',
'Google\\Auth\\Middleware\\AuthTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/AuthTokenMiddleware.php',
'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => $vendorDir . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
'Google\\Auth\\Middleware\\SimpleMiddleware' => $vendorDir . '/google/auth/src/Middleware/SimpleMiddleware.php',
'Google\\Auth\\OAuth2' => $vendorDir . '/google/auth/src/OAuth2.php',
'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/AuthTokenSubscriber.php',
'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => $vendorDir . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php',
'Google\\Auth\\Subscriber\\SimpleSubscriber' => $vendorDir . '/google/auth/src/Subscriber/SimpleSubscriber.php',
'Google_Service_Exception' => $vendorDir . '/google/apiclient/src/Google/Service/Exception.php',
'Google_Service_Resource' => $vendorDir . '/google/apiclient/src/Google/Service/Resource.php',
);

View file

@ -0,0 +1,13 @@
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
'37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
);

View file

@ -0,0 +1,11 @@
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Google_Service_' => array($vendorDir . '/google/apiclient-services/src'),
'Google_' => array($vendorDir . '/google/apiclient/src'),
);

View file

@ -0,0 +1,19 @@
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'phpseclib\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'),
'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
'Google\\Auth\\' => array($vendorDir . '/google/auth/src'),
'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'),
);

View file

@ -0,0 +1,70 @@
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit29a52b99158b03ffe1b50f47f63b6fe7', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
}
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire29a52b99158b03ffe1b50f47f63b6fe7($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire29a52b99158b03ffe1b50f47f63b6fe7($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
}
}

View file

@ -0,0 +1,140 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7
{
public static $files = array (
'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
'37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
);
public static $prefixLengthsPsr4 = array (
'p' =>
array (
'phpseclib\\' => 10,
),
'P' =>
array (
'Psr\\Log\\' => 8,
'Psr\\Http\\Message\\' => 17,
'Psr\\Cache\\' => 10,
),
'M' =>
array (
'Monolog\\' => 8,
),
'G' =>
array (
'GuzzleHttp\\Psr7\\' => 16,
'GuzzleHttp\\Promise\\' => 19,
'GuzzleHttp\\' => 11,
'Google\\Auth\\' => 12,
),
'F' =>
array (
'Firebase\\JWT\\' => 13,
),
);
public static $prefixDirsPsr4 = array (
'phpseclib\\' =>
array (
0 => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib',
),
'Psr\\Log\\' =>
array (
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
),
'Psr\\Http\\Message\\' =>
array (
0 => __DIR__ . '/..' . '/psr/http-message/src',
),
'Psr\\Cache\\' =>
array (
0 => __DIR__ . '/..' . '/psr/cache/src',
),
'Monolog\\' =>
array (
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
),
'GuzzleHttp\\Psr7\\' =>
array (
0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
),
'GuzzleHttp\\Promise\\' =>
array (
0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
),
'GuzzleHttp\\' =>
array (
0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
),
'Google\\Auth\\' =>
array (
0 => __DIR__ . '/..' . '/google/auth/src',
),
'Firebase\\JWT\\' =>
array (
0 => __DIR__ . '/..' . '/firebase/php-jwt/src',
),
);
public static $prefixesPsr0 = array (
'G' =>
array (
'Google_Service_' =>
array (
0 => __DIR__ . '/..' . '/google/apiclient-services/src',
),
'Google_' =>
array (
0 => __DIR__ . '/..' . '/google/apiclient/src',
),
),
);
public static $classMap = array (
'Google\\Auth\\ApplicationDefaultCredentials' => __DIR__ . '/..' . '/google/auth/src/ApplicationDefaultCredentials.php',
'Google\\Auth\\CacheTrait' => __DIR__ . '/..' . '/google/auth/src/CacheTrait.php',
'Google\\Auth\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/google/auth/src/Cache/InvalidArgumentException.php',
'Google\\Auth\\Cache\\Item' => __DIR__ . '/..' . '/google/auth/src/Cache/Item.php',
'Google\\Auth\\Cache\\MemoryCacheItemPool' => __DIR__ . '/..' . '/google/auth/src/Cache/MemoryCacheItemPool.php',
'Google\\Auth\\CredentialsLoader' => __DIR__ . '/..' . '/google/auth/src/CredentialsLoader.php',
'Google\\Auth\\Credentials\\AppIdentityCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/AppIdentityCredentials.php',
'Google\\Auth\\Credentials\\GCECredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/GCECredentials.php',
'Google\\Auth\\Credentials\\IAMCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/IAMCredentials.php',
'Google\\Auth\\Credentials\\ServiceAccountCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountCredentials.php',
'Google\\Auth\\Credentials\\ServiceAccountJwtAccessCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php',
'Google\\Auth\\Credentials\\UserRefreshCredentials' => __DIR__ . '/..' . '/google/auth/src/Credentials/UserRefreshCredentials.php',
'Google\\Auth\\FetchAuthTokenCache' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenCache.php',
'Google\\Auth\\FetchAuthTokenInterface' => __DIR__ . '/..' . '/google/auth/src/FetchAuthTokenInterface.php',
'Google\\Auth\\HttpHandler\\Guzzle5HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle5HttpHandler.php',
'Google\\Auth\\HttpHandler\\Guzzle6HttpHandler' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/Guzzle6HttpHandler.php',
'Google\\Auth\\HttpHandler\\HttpHandlerFactory' => __DIR__ . '/..' . '/google/auth/src/HttpHandler/HttpHandlerFactory.php',
'Google\\Auth\\Middleware\\AuthTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/AuthTokenMiddleware.php',
'Google\\Auth\\Middleware\\ScopedAccessTokenMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/ScopedAccessTokenMiddleware.php',
'Google\\Auth\\Middleware\\SimpleMiddleware' => __DIR__ . '/..' . '/google/auth/src/Middleware/SimpleMiddleware.php',
'Google\\Auth\\OAuth2' => __DIR__ . '/..' . '/google/auth/src/OAuth2.php',
'Google\\Auth\\Subscriber\\AuthTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/AuthTokenSubscriber.php',
'Google\\Auth\\Subscriber\\ScopedAccessTokenSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/ScopedAccessTokenSubscriber.php',
'Google\\Auth\\Subscriber\\SimpleSubscriber' => __DIR__ . '/..' . '/google/auth/src/Subscriber/SimpleSubscriber.php',
'Google_Service_Exception' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Exception.php',
'Google_Service_Resource' => __DIR__ . '/..' . '/google/apiclient/src/Google/Service/Resource.php',
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$prefixesPsr0;
$loader->classMap = ComposerStaticInit29a52b99158b03ffe1b50f47f63b6fe7::$classMap;
}, null, ClassLoader::class);
}
}

View file

@ -0,0 +1,707 @@
[
{
"name": "psr/http-message",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"time": "2016-08-06T14:39:51+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Psr\\Http\\Message\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for HTTP messages",
"homepage": "https://github.com/php-fig/http-message",
"keywords": [
"http",
"http-message",
"psr",
"psr-7",
"request",
"response"
]
},
{
"name": "guzzlehttp/psr7",
"version": "1.4.2",
"version_normalized": "1.4.2.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
"reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
"psr/http-message": "~1.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"time": "2017-03-20T17:10:46+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"GuzzleHttp\\Psr7\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Tobias Schultze",
"homepage": "https://github.com/Tobion"
}
],
"description": "PSR-7 message implementation that also provides common utility methods",
"keywords": [
"http",
"message",
"request",
"response",
"stream",
"uri",
"url"
]
},
{
"name": "guzzlehttp/promises",
"version": "v1.3.1",
"version_normalized": "1.3.1.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
"shasum": ""
},
"require": {
"php": ">=5.5.0"
},
"require-dev": {
"phpunit/phpunit": "^4.0"
},
"time": "2016-12-20T10:07:11+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"GuzzleHttp\\Promise\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Guzzle promises library",
"keywords": [
"promise"
]
},
{
"name": "guzzlehttp/guzzle",
"version": "6.3.0",
"version_normalized": "6.3.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
"reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699",
"reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699",
"shasum": ""
},
"require": {
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.4",
"php": ">=5.5"
},
"require-dev": {
"ext-curl": "*",
"phpunit/phpunit": "^4.0 || ^5.0",
"psr/log": "^1.0"
},
"suggest": {
"psr/log": "Required for using the Log middleware"
},
"time": "2017-06-22T18:50:49+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "6.2-dev"
}
},
"installation-source": "dist",
"autoload": {
"files": [
"src/functions_include.php"
],
"psr-4": {
"GuzzleHttp\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Guzzle is a PHP HTTP client library",
"homepage": "http://guzzlephp.org/",
"keywords": [
"client",
"curl",
"framework",
"http",
"http client",
"rest",
"web service"
]
},
{
"name": "phpseclib/phpseclib",
"version": "2.0.6",
"version_normalized": "2.0.6.0",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
"reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/34a7699e6f31b1ef4035ee36444407cecf9f56aa",
"reference": "34a7699e6f31b1ef4035ee36444407cecf9f56aa",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"phing/phing": "~2.7",
"phpunit/phpunit": "~4.0",
"sami/sami": "~2.0",
"squizlabs/php_codesniffer": "~2.0"
},
"suggest": {
"ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
"ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
"ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
"ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
},
"time": "2017-06-05T06:31:10+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"files": [
"phpseclib/bootstrap.php"
],
"psr-4": {
"phpseclib\\": "phpseclib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jim Wigginton",
"email": "terrafrost@php.net",
"role": "Lead Developer"
},
{
"name": "Patrick Monnerat",
"email": "pm@datasphere.ch",
"role": "Developer"
},
{
"name": "Andreas Fischer",
"email": "bantu@phpbb.com",
"role": "Developer"
},
{
"name": "Hans-Jürgen Petrich",
"email": "petrich@tronic-media.com",
"role": "Developer"
},
{
"name": "Graham Campbell",
"email": "graham@alt-three.com",
"role": "Developer"
}
],
"description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
"homepage": "http://phpseclib.sourceforge.net",
"keywords": [
"BigInteger",
"aes",
"asn.1",
"asn1",
"blowfish",
"crypto",
"cryptography",
"encryption",
"rsa",
"security",
"sftp",
"signature",
"signing",
"ssh",
"twofish",
"x.509",
"x509"
]
},
{
"name": "psr/log",
"version": "1.0.2",
"version_normalized": "1.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"time": "2016-10-10T12:19:37+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Psr\\Log\\": "Psr/Log/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
"homepage": "https://github.com/php-fig/log",
"keywords": [
"log",
"psr",
"psr-3"
]
},
{
"name": "monolog/monolog",
"version": "1.23.0",
"version_normalized": "1.23.0.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
"reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
"shasum": ""
},
"require": {
"php": ">=5.3.0",
"psr/log": "~1.0"
},
"provide": {
"psr/log-implementation": "1.0.0"
},
"require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
"doctrine/couchdb": "~1.0@dev",
"graylog2/gelf-php": "~1.0",
"jakub-onderka/php-parallel-lint": "0.9",
"php-amqplib/php-amqplib": "~2.4",
"php-console/php-console": "^3.1.3",
"phpunit/phpunit": "~4.5",
"phpunit/phpunit-mock-objects": "2.3.0",
"ruflin/elastica": ">=0.90 <3.0",
"sentry/sentry": "^0.13",
"swiftmailer/swiftmailer": "^5.3|^6.0"
},
"suggest": {
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
"doctrine/couchdb": "Allow sending log messages to a CouchDB server",
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
"ext-mongo": "Allow sending log messages to a MongoDB server",
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
"mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
"php-console/php-console": "Allow sending log messages to Google Chrome",
"rollbar/rollbar": "Allow sending log messages to Rollbar",
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
"sentry/sentry": "Allow sending log messages to a Sentry server"
},
"time": "2017-06-19T01:22:40+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Monolog\\": "src/Monolog"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "http://seld.be"
}
],
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
"homepage": "http://github.com/Seldaek/monolog",
"keywords": [
"log",
"logging",
"psr-3"
]
},
{
"name": "firebase/php-jwt",
"version": "v4.0.0",
"version_normalized": "4.0.0.0",
"source": {
"type": "git",
"url": "https://github.com/firebase/php-jwt.git",
"reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
"reference": "dccf163dc8ed7ed6a00afc06c51ee5186a428d35",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"time": "2016-07-18T04:51:16+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"Firebase\\JWT\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Neuman Vong",
"email": "neuman+pear@twilio.com",
"role": "Developer"
},
{
"name": "Anant Narayanan",
"email": "anant@php.net",
"role": "Developer"
}
],
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
"homepage": "https://github.com/firebase/php-jwt"
},
{
"name": "google/apiclient-services",
"version": "v0.11",
"version_normalized": "0.11.0.0",
"source": {
"type": "git",
"url": "https://github.com/google/google-api-php-client-services.git",
"reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
"reference": "48c554aee06f2fd5700d7bdfa4fa6b82d184eb52",
"shasum": ""
},
"require": {
"php": ">=5.4"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"time": "2017-03-13T17:40:44+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"Google_Service_": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"description": "Client library for Google APIs",
"homepage": "http://developers.google.com/api-client-library/php",
"keywords": [
"google"
]
},
{
"name": "psr/cache",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/cache.git",
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"time": "2016-08-06T20:24:11+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Psr\\Cache\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interface for caching libraries",
"keywords": [
"cache",
"psr",
"psr-6"
]
},
{
"name": "google/auth",
"version": "v0.11.1",
"version_normalized": "0.11.1.0",
"source": {
"type": "git",
"url": "https://github.com/google/google-auth-library-php.git",
"reference": "a240674b08a09949fd5597f7590b3ed83663a12d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/google/google-auth-library-php/zipball/a240674b08a09949fd5597f7590b3ed83663a12d",
"reference": "a240674b08a09949fd5597f7590b3ed83663a12d",
"shasum": ""
},
"require": {
"firebase/php-jwt": "~2.0|~3.0|~4.0",
"guzzlehttp/guzzle": "~5.3|~6.0",
"guzzlehttp/psr7": "~1.2",
"php": ">=5.4",
"psr/cache": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.11",
"phpunit/phpunit": "3.7.*"
},
"time": "2016-11-02T14:59:14+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"classmap": [
"src/"
],
"psr-4": {
"Google\\Auth\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"description": "Google Auth Library for PHP",
"homepage": "http://github.com/google/google-auth-library-php",
"keywords": [
"Authentication",
"google",
"oauth2"
]
},
{
"name": "google/apiclient",
"version": "v2.1.3",
"version_normalized": "2.1.3.0",
"source": {
"type": "git",
"url": "https://github.com/google/google-api-php-client.git",
"reference": "43996f09df274158fd04fce98e8a82effe5f3717"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/google/google-api-php-client/zipball/43996f09df274158fd04fce98e8a82effe5f3717",
"reference": "43996f09df274158fd04fce98e8a82effe5f3717",
"shasum": ""
},
"require": {
"firebase/php-jwt": "~2.0|~3.0|~4.0",
"google/apiclient-services": "^0.11",
"google/auth": "^0.11",
"guzzlehttp/guzzle": "~5.2|~6.0",
"guzzlehttp/psr7": "^1.2",
"monolog/monolog": "^1.17",
"php": ">=5.4",
"phpseclib/phpseclib": "~0.3.10|~2.0"
},
"require-dev": {
"cache/filesystem-adapter": "^0.3.2",
"phpunit/phpunit": "~4",
"squizlabs/php_codesniffer": "~2.3",
"symfony/css-selector": "~2.1",
"symfony/dom-crawler": "~2.1"
},
"suggest": {
"cache/filesystem-adapter": "For caching certs and tokens (using Google_Client::setCache)"
},
"time": "2017-03-22T18:32:04+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-0": {
"Google_": "src/"
},
"classmap": [
"src/Google/Service/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"description": "Client library for Google APIs",
"homepage": "http://developers.google.com/api-client-library/php",
"keywords": [
"google"
]
}
]

View file

@ -0,0 +1,30 @@
Copyright (c) 2011, Neuman Vong
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Neuman Vong nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -0,0 +1,119 @@
[![Build Status](https://travis-ci.org/firebase/php-jwt.png?branch=master)](https://travis-ci.org/firebase/php-jwt)
[![Latest Stable Version](https://poser.pugx.org/firebase/php-jwt/v/stable)](https://packagist.org/packages/firebase/php-jwt)
[![Total Downloads](https://poser.pugx.org/firebase/php-jwt/downloads)](https://packagist.org/packages/firebase/php-jwt)
[![License](https://poser.pugx.org/firebase/php-jwt/license)](https://packagist.org/packages/firebase/php-jwt)
PHP-JWT
=======
A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519).
Installation
------------
Use composer to manage your dependencies and download PHP-JWT:
```bash
composer require firebase/php-jwt
```
Example
-------
```php
<?php
use \Firebase\JWT\JWT;
$key = "example_key";
$token = array(
"iss" => "http://example.org",
"aud" => "http://example.com",
"iat" => 1356999524,
"nbf" => 1357000000
);
/**
* IMPORTANT:
* You must specify supported algorithms for your application. See
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40
* for a list of spec-compliant algorithms.
*/
$jwt = JWT::encode($token, $key);
$decoded = JWT::decode($jwt, $key, array('HS256'));
print_r($decoded);
/*
NOTE: This will now be an object instead of an associative array. To get
an associative array, you will need to cast it as such:
*/
$decoded_array = (array) $decoded;
/**
* You can add a leeway to account for when there is a clock skew times between
* the signing and verifying servers. It is recommended that this leeway should
* not be bigger than a few minutes.
*
* Source: http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#nbfDef
*/
JWT::$leeway = 60; // $leeway in seconds
$decoded = JWT::decode($jwt, $key, array('HS256'));
?>
```
Changelog
---------
#### 4.0.0 / 2016-07-17
- Add support for late static binding. See [#88](https://github.com/firebase/php-jwt/pull/88) for details. Thanks to [@chappy84](https://github.com/chappy84)!
- Use static `$timestamp` instead of `time()` to improve unit testing. See [#93](https://github.com/firebase/php-jwt/pull/93) for details. Thanks to [@josephmcdermott](https://github.com/josephmcdermott)!
- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)!
- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)!
#### 3.0.0 / 2015-07-22
- Minimum PHP version updated from `5.2.0` to `5.3.0`.
- Add `\Firebase\JWT` namespace. See
[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to
[@Dashron](https://github.com/Dashron)!
- Require a non-empty key to decode and verify a JWT. See
[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to
[@sjones608](https://github.com/sjones608)!
- Cleaner documentation blocks in the code. See
[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to
[@johanderuijter](https://github.com/johanderuijter)!
#### 2.2.0 / 2015-06-22
- Add support for adding custom, optional JWT headers to `JWT::encode()`. See
[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to
[@mcocaro](https://github.com/mcocaro)!
#### 2.1.0 / 2015-05-20
- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew
between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)!
- Add support for passing an object implementing the `ArrayAccess` interface for
`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)!
#### 2.0.0 / 2015-04-01
- **Note**: It is strongly recommended that you update to > v2.0.0 to address
known security vulnerabilities in prior versions when both symmetric and
asymmetric keys are used together.
- Update signature for `JWT::decode(...)` to require an array of supported
algorithms to use when verifying token signatures.
Tests
-----
Run the tests using phpunit:
```bash
$ pear install PHPUnit
$ phpunit --configuration phpunit.xml.dist
PHPUnit 3.7.10 by Sebastian Bergmann.
.....
Time: 0 seconds, Memory: 2.50Mb
OK (5 tests, 5 assertions)
```
License
-------
[3-Clause BSD](http://opensource.org/licenses/BSD-3-Clause).

View file

@ -0,0 +1,27 @@
{
"name": "firebase/php-jwt",
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
"homepage": "https://github.com/firebase/php-jwt",
"authors": [
{
"name": "Neuman Vong",
"email": "neuman+pear@twilio.com",
"role": "Developer"
},
{
"name": "Anant Narayanan",
"email": "anant@php.net",
"role": "Developer"
}
],
"license": "BSD-3-Clause",
"require": {
"php": ">=5.3.0"
},
"autoload": {
"psr-4": {
"Firebase\\JWT\\": "src"
}
},
"minimum-stability": "dev"
}

19
google/firebase/php-jwt/composer.lock generated Normal file
View file

@ -0,0 +1,19 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "60a5df5d283a7ae9000173248eba8909",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=5.2.0"
},
"platform-dev": []
}

View file

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.2" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>JWT</name>
<channel>pear.php.net</channel>
<summary>A JWT encoder/decoder.</summary>
<description>A JWT encoder/decoder library for PHP.</description>
<lead>
<name>Neuman Vong</name>
<user>lcfrs</user>
<email>neuman+pear@twilio.com</email>
<active>yes</active>
</lead>
<lead>
<name>Firebase Operations</name>
<user>firebase</user>
<email>operations@firebase.com</email>
<active>yes</active>
</lead>
<date>2015-07-22</date>
<version>
<release>3.0.0</release>
<api>3.0.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
Initial release with basic support for JWT encoding, decoding and signature verification.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<dir name="tests">
<file name="JWTTest.php" role="test" />
</dir>
<file name="Authentication/JWT.php" role="php" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.1</min>
</php>
<pearinstaller>
<min>1.7.0</min>
</pearinstaller>
<extension>
<name>json</name>
</extension>
<extension>
<name>hash</name>
</extension>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2015-04-01</date>
<license uri="http://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
Initial release with basic support for JWT encoding, decoding and signature verification.
</notes>
</release>
</changelog>
</package>

View file

@ -0,0 +1,7 @@
<?php
namespace Firebase\JWT;
class BeforeValidException extends \UnexpectedValueException
{
}

View file

@ -0,0 +1,7 @@
<?php
namespace Firebase\JWT;
class ExpiredException extends \UnexpectedValueException
{
}

View file

@ -0,0 +1,370 @@
<?php
namespace Firebase\JWT;
use \DomainException;
use \InvalidArgumentException;
use \UnexpectedValueException;
use \DateTime;
/**
* JSON Web Token implementation, based on this spec:
* http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06
*
* PHP version 5
*
* @category Authentication
* @package Authentication_JWT
* @author Neuman Vong <neuman@twilio.com>
* @author Anant Narayanan <anant@php.net>
* @license http://opensource.org/licenses/BSD-3-Clause 3-clause BSD
* @link https://github.com/firebase/php-jwt
*/
class JWT
{
/**
* When checking nbf, iat or expiration times,
* we want to provide some extra leeway time to
* account for clock skew.
*/
public static $leeway = 0;
/**
* Allow the current timestamp to be specified.
* Useful for fixing a value within unit testing.
*
* Will default to PHP time() value if null.
*/
public static $timestamp = null;
public static $supported_algs = array(
'HS256' => array('hash_hmac', 'SHA256'),
'HS512' => array('hash_hmac', 'SHA512'),
'HS384' => array('hash_hmac', 'SHA384'),
'RS256' => array('openssl', 'SHA256'),
);
/**
* Decodes a JWT string into a PHP object.
*
* @param string $jwt The JWT
* @param string|array $key The key, or map of keys.
* If the algorithm used is asymmetric, this is the public key
* @param array $allowed_algs List of supported verification algorithms
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
*
* @return object The JWT's payload as a PHP object
*
* @throws UnexpectedValueException Provided JWT was invalid
* @throws SignatureInvalidException Provided JWT was invalid because the signature verification failed
* @throws BeforeValidException Provided JWT is trying to be used before it's eligible as defined by 'nbf'
* @throws BeforeValidException Provided JWT is trying to be used before it's been created as defined by 'iat'
* @throws ExpiredException Provided JWT has since expired, as defined by the 'exp' claim
*
* @uses jsonDecode
* @uses urlsafeB64Decode
*/
public static function decode($jwt, $key, $allowed_algs = array())
{
$timestamp = is_null(static::$timestamp) ? time() : static::$timestamp;
if (empty($key)) {
throw new InvalidArgumentException('Key may not be empty');
}
if (!is_array($allowed_algs)) {
throw new InvalidArgumentException('Algorithm not allowed');
}
$tks = explode('.', $jwt);
if (count($tks) != 3) {
throw new UnexpectedValueException('Wrong number of segments');
}
list($headb64, $bodyb64, $cryptob64) = $tks;
if (null === ($header = static::jsonDecode(static::urlsafeB64Decode($headb64)))) {
throw new UnexpectedValueException('Invalid header encoding');
}
if (null === $payload = static::jsonDecode(static::urlsafeB64Decode($bodyb64))) {
throw new UnexpectedValueException('Invalid claims encoding');
}
$sig = static::urlsafeB64Decode($cryptob64);
if (empty($header->alg)) {
throw new UnexpectedValueException('Empty algorithm');
}
if (empty(static::$supported_algs[$header->alg])) {
throw new UnexpectedValueException('Algorithm not supported');
}
if (!in_array($header->alg, $allowed_algs)) {
throw new UnexpectedValueException('Algorithm not allowed');
}
if (is_array($key) || $key instanceof \ArrayAccess) {
if (isset($header->kid)) {
$key = $key[$header->kid];
} else {
throw new UnexpectedValueException('"kid" empty, unable to lookup correct key');
}
}
// Check the signature
if (!static::verify("$headb64.$bodyb64", $sig, $key, $header->alg)) {
throw new SignatureInvalidException('Signature verification failed');
}
// Check if the nbf if it is defined. This is the time that the
// token can actually be used. If it's not yet that time, abort.
if (isset($payload->nbf) && $payload->nbf > ($timestamp + static::$leeway)) {
throw new BeforeValidException(
'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->nbf)
);
}
// Check that this token has been created before 'now'. This prevents
// using tokens that have been created for later use (and haven't
// correctly used the nbf claim).
if (isset($payload->iat) && $payload->iat > ($timestamp + static::$leeway)) {
throw new BeforeValidException(
'Cannot handle token prior to ' . date(DateTime::ISO8601, $payload->iat)
);
}
// Check if this token has expired.
if (isset($payload->exp) && ($timestamp - static::$leeway) >= $payload->exp) {
throw new ExpiredException('Expired token');
}
return $payload;
}
/**
* Converts and signs a PHP object or array into a JWT string.
*
* @param object|array $payload PHP object or array
* @param string $key The secret key.
* If the algorithm used is asymmetric, this is the private key
* @param string $alg The signing algorithm.
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
* @param mixed $keyId
* @param array $head An array with header elements to attach
*
* @return string A signed JWT
*
* @uses jsonEncode
* @uses urlsafeB64Encode
*/
public static function encode($payload, $key, $alg = 'HS256', $keyId = null, $head = null)
{
$header = array('typ' => 'JWT', 'alg' => $alg);
if ($keyId !== null) {
$header['kid'] = $keyId;
}
if ( isset($head) && is_array($head) ) {
$header = array_merge($head, $header);
}
$segments = array();
$segments[] = static::urlsafeB64Encode(static::jsonEncode($header));
$segments[] = static::urlsafeB64Encode(static::jsonEncode($payload));
$signing_input = implode('.', $segments);
$signature = static::sign($signing_input, $key, $alg);
$segments[] = static::urlsafeB64Encode($signature);
return implode('.', $segments);
}
/**
* Sign a string with a given key and algorithm.
*
* @param string $msg The message to sign
* @param string|resource $key The secret key
* @param string $alg The signing algorithm.
* Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
*
* @return string An encrypted message
*
* @throws DomainException Unsupported algorithm was specified
*/
public static function sign($msg, $key, $alg = 'HS256')
{
if (empty(static::$supported_algs[$alg])) {
throw new DomainException('Algorithm not supported');
}
list($function, $algorithm) = static::$supported_algs[$alg];
switch($function) {
case 'hash_hmac':
return hash_hmac($algorithm, $msg, $key, true);
case 'openssl':
$signature = '';
$success = openssl_sign($msg, $signature, $key, $algorithm);
if (!$success) {
throw new DomainException("OpenSSL unable to sign data");
} else {
return $signature;
}
}
}
/**
* Verify a signature with the message, key and method. Not all methods
* are symmetric, so we must have a separate verify and sign method.
*
* @param string $msg The original message (header and body)
* @param string $signature The original signature
* @param string|resource $key For HS*, a string key works. for RS*, must be a resource of an openssl public key
* @param string $alg The algorithm
*
* @return bool
*
* @throws DomainException Invalid Algorithm or OpenSSL failure
*/
private static function verify($msg, $signature, $key, $alg)
{
if (empty(static::$supported_algs[$alg])) {
throw new DomainException('Algorithm not supported');
}
list($function, $algorithm) = static::$supported_algs[$alg];
switch($function) {
case 'openssl':
$success = openssl_verify($msg, $signature, $key, $algorithm);
if (!$success) {
throw new DomainException("OpenSSL unable to verify data: " . openssl_error_string());
} else {
return $signature;
}
case 'hash_hmac':
default:
$hash = hash_hmac($algorithm, $msg, $key, true);
if (function_exists('hash_equals')) {
return hash_equals($signature, $hash);
}
$len = min(static::safeStrlen($signature), static::safeStrlen($hash));
$status = 0;
for ($i = 0; $i < $len; $i++) {
$status |= (ord($signature[$i]) ^ ord($hash[$i]));
}
$status |= (static::safeStrlen($signature) ^ static::safeStrlen($hash));
return ($status === 0);
}
}
/**
* Decode a JSON string into a PHP object.
*
* @param string $input JSON string
*
* @return object Object representation of JSON string
*
* @throws DomainException Provided string was invalid JSON
*/
public static function jsonDecode($input)
{
if (version_compare(PHP_VERSION, '5.4.0', '>=') && !(defined('JSON_C_VERSION') && PHP_INT_SIZE > 4)) {
/** In PHP >=5.4.0, json_decode() accepts an options parameter, that allows you
* to specify that large ints (like Steam Transaction IDs) should be treated as
* strings, rather than the PHP default behaviour of converting them to floats.
*/
$obj = json_decode($input, false, 512, JSON_BIGINT_AS_STRING);
} else {
/** Not all servers will support that, however, so for older versions we must
* manually detect large ints in the JSON string and quote them (thus converting
*them to strings) before decoding, hence the preg_replace() call.
*/
$max_int_length = strlen((string) PHP_INT_MAX) - 1;
$json_without_bigints = preg_replace('/:\s*(-?\d{'.$max_int_length.',})/', ': "$1"', $input);
$obj = json_decode($json_without_bigints);
}
if (function_exists('json_last_error') && $errno = json_last_error()) {
static::handleJsonError($errno);
} elseif ($obj === null && $input !== 'null') {
throw new DomainException('Null result with non-null input');
}
return $obj;
}
/**
* Encode a PHP object into a JSON string.
*
* @param object|array $input A PHP object or array
*
* @return string JSON representation of the PHP object or array
*
* @throws DomainException Provided object could not be encoded to valid JSON
*/
public static function jsonEncode($input)
{
$json = json_encode($input);
if (function_exists('json_last_error') && $errno = json_last_error()) {
static::handleJsonError($errno);
} elseif ($json === 'null' && $input !== null) {
throw new DomainException('Null result with non-null input');
}
return $json;
}
/**
* Decode a string with URL-safe Base64.
*
* @param string $input A Base64 encoded string
*
* @return string A decoded string
*/
public static function urlsafeB64Decode($input)
{
$remainder = strlen($input) % 4;
if ($remainder) {
$padlen = 4 - $remainder;
$input .= str_repeat('=', $padlen);
}
return base64_decode(strtr($input, '-_', '+/'));
}
/**
* Encode a string with URL-safe Base64.
*
* @param string $input The string you want encoded
*
* @return string The base64 encode of what you passed in
*/
public static function urlsafeB64Encode($input)
{
return str_replace('=', '', strtr(base64_encode($input), '+/', '-_'));
}
/**
* Helper method to create a JSON error.
*
* @param int $errno An error number from json_last_error()
*
* @return void
*/
private static function handleJsonError($errno)
{
$messages = array(
JSON_ERROR_DEPTH => 'Maximum stack depth exceeded',
JSON_ERROR_CTRL_CHAR => 'Unexpected control character found',
JSON_ERROR_SYNTAX => 'Syntax error, malformed JSON'
);
throw new DomainException(
isset($messages[$errno])
? $messages[$errno]
: 'Unknown JSON error: ' . $errno
);
}
/**
* Get the number of bytes in cryptographic strings.
*
* @param string
*
* @return int
*/
private static function safeStrlen($str)
{
if (function_exists('mb_strlen')) {
return mb_strlen($str, '8bit');
}
return strlen($str);
}
}

View file

@ -0,0 +1,7 @@
<?php
namespace Firebase\JWT;
class SignatureInvalidException extends \UnexpectedValueException
{
}

View file

@ -0,0 +1,4 @@
vendor
composer.lock
src/Google/Service/Compute/HTTPHealthCheck.php
src/Google/Service/Compute/HTTPSHealthCheck.php

View file

@ -0,0 +1,15 @@
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
install:
- composer install
script:
- phpunit

View file

@ -0,0 +1,22 @@
# How to become a contributor and submit your own code
## Contributor License Agreements
We'd love to accept your code patches! However, before we can take them, we have to jump a couple of legal hurdles.
Please fill out either the individual or corporate Contributor License Agreement (CLA).
* If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html).
* If you work for a company that wants to allow you to contribute your work to this client library, then you'll need to sign a[corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html).
Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll add you to the official list of contributors and be able to accept your patches.
## Submitting Patches
1. Fork the PHP client library on GitHub
1. Decide which code you want to submit. A submission should be a set of changes that addresses one issue in the issue tracker. Please file one change per issue, and address one issue per change. If you want to make a change that doesn't have a corresponding issue in the issue tracker, please file a new ticket!
1. Ensure that your code adheres to standard PHP conventions, as used in the rest of the library.
1. Ensure that there are unit tests for your code.
1. Sign a Contributor License Agreement (see above).
1. Submit a pull request with your patch on Github.

View file

@ -0,0 +1,203 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.

View file

@ -0,0 +1,30 @@
Google PHP API Client Services
==============================
## Requirements
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
## Usage in v2 of Google API PHP Client
This library will be automatically installed with the
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
via composer. Composer will automatically pull down a monthly tag
from this repository.
If you'd like to always be up-to-date with the latest release, rather than
wait for monthly tagged releases, request the `dev-master` version in composer:
```sh
composer require google/apiclient-services:dev-master
```
## Usage in v1
If you are currently using the [`v1-master`](https://github.com/google/google-api-php-client/tree/v1-master)
branch of the client library, but want to use the latest API services, you can
do so by requiring this library directly into your project via the same composer command:
```sh
composer require google/apiclient-services:dev-master
```

View file

@ -0,0 +1,19 @@
{
"name": "google/apiclient-services",
"type": "library",
"description": "Client library for Google APIs",
"keywords": ["google"],
"homepage": "http://developers.google.com/api-client-library/php",
"license": "Apache-2.0",
"require": {
"php": ">=5.4"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"autoload": {
"psr-0": {
"Google_Service_": "src"
}
}
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
colors="true"
bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Google PHP Client Unit Services Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>

View file

@ -0,0 +1,67 @@
<?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.
*/
/**
* Service definition for Acceleratedmobilepageurl (v1).
*
* <p>
* This API contains a single method, batchGet. Call this method to retrieve the
* AMP URL (and equivalent AMP Cache URL) for given public URL(s).</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/amp/cache/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_Acceleratedmobilepageurl extends Google_Service
{
public $ampUrls;
/**
* Constructs the internal representation of the Acceleratedmobilepageurl
* service.
*
* @param Google_Client $client
*/
public function __construct(Google_Client $client)
{
parent::__construct($client);
$this->rootUrl = 'https://acceleratedmobilepageurl.googleapis.com/';
$this->servicePath = '';
$this->version = 'v1';
$this->serviceName = 'acceleratedmobilepageurl';
$this->ampUrls = new Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls(
$this,
$this->serviceName,
'ampUrls',
array(
'methods' => array(
'batchGet' => array(
'path' => 'v1/ampUrls:batchGet',
'httpMethod' => 'POST',
'parameters' => array(),
),
)
)
);
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_Acceleratedmobilepageurl_AmpUrl extends Google_Model
{
public $ampUrl;
public $cdnAmpUrl;
public $originalUrl;
public function setAmpUrl($ampUrl)
{
$this->ampUrl = $ampUrl;
}
public function getAmpUrl()
{
return $this->ampUrl;
}
public function setCdnAmpUrl($cdnAmpUrl)
{
$this->cdnAmpUrl = $cdnAmpUrl;
}
public function getCdnAmpUrl()
{
return $this->cdnAmpUrl;
}
public function setOriginalUrl($originalUrl)
{
$this->originalUrl = $originalUrl;
}
public function getOriginalUrl()
{
return $this->originalUrl;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_Acceleratedmobilepageurl_AmpUrlError extends Google_Model
{
public $errorCode;
public $errorMessage;
public $originalUrl;
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
public function getErrorCode()
{
return $this->errorCode;
}
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
public function getErrorMessage()
{
return $this->errorMessage;
}
public function setOriginalUrl($originalUrl)
{
$this->originalUrl = $originalUrl;
}
public function getOriginalUrl()
{
return $this->originalUrl;
}
}

View file

@ -0,0 +1,40 @@
<?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.
*/
class Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest extends Google_Collection
{
protected $collection_key = 'urls';
public $lookupStrategy;
public $urls;
public function setLookupStrategy($lookupStrategy)
{
$this->lookupStrategy = $lookupStrategy;
}
public function getLookupStrategy()
{
return $this->lookupStrategy;
}
public function setUrls($urls)
{
$this->urls = $urls;
}
public function getUrls()
{
return $this->urls;
}
}

View file

@ -0,0 +1,42 @@
<?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.
*/
class Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse extends Google_Collection
{
protected $collection_key = 'urlErrors';
protected $ampUrlsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrl';
protected $ampUrlsDataType = 'array';
protected $urlErrorsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrlError';
protected $urlErrorsDataType = 'array';
public function setAmpUrls($ampUrls)
{
$this->ampUrls = $ampUrls;
}
public function getAmpUrls()
{
return $this->ampUrls;
}
public function setUrlErrors($urlErrors)
{
$this->urlErrors = $urlErrors;
}
public function getUrlErrors()
{
return $this->urlErrors;
}
}

View file

@ -0,0 +1,42 @@
<?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 "ampUrls" collection of methods.
* Typical usage is:
* <code>
* $acceleratedmobilepageurlService = new Google_Service_Acceleratedmobilepageurl(...);
* $ampUrls = $acceleratedmobilepageurlService->ampUrls;
* </code>
*/
class Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls extends Google_Service_Resource
{
/**
* Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-
* cache-url-format). (ampUrls.batchGet)
*
* @param Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse
*/
public function batchGet(Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('batchGet', array($params), "Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse");
}
}

View file

@ -0,0 +1,679 @@
<?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.
*/
/**
* Service definition for AdExchangeBuyer (v1.4).
*
* <p>
* Accesses your bidding-account information, submits creatives for validation,
* finds available direct deals, and retrieves performance reports.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AdExchangeBuyer extends Google_Service
{
/** Manage your Ad Exchange buyer account configuration. */
const ADEXCHANGE_BUYER =
"https://www.googleapis.com/auth/adexchange.buyer";
public $accounts;
public $billingInfo;
public $budget;
public $creatives;
public $marketplacedeals;
public $marketplacenotes;
public $marketplaceprivateauction;
public $performanceReport;
public $pretargetingConfig;
public $products;
public $proposals;
public $pubprofiles;
/**
* Constructs the internal representation of the AdExchangeBuyer service.
*
* @param Google_Client $client
*/
public function __construct(Google_Client $client)
{
parent::__construct($client);
$this->rootUrl = 'https://www.googleapis.com/';
$this->servicePath = 'adexchangebuyer/v1.4/';
$this->version = 'v1.4';
$this->serviceName = 'adexchangebuyer';
$this->accounts = new Google_Service_AdExchangeBuyer_Resource_Accounts(
$this,
$this->serviceName,
'accounts',
array(
'methods' => array(
'get' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'GET',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),'list' => array(
'path' => 'accounts',
'httpMethod' => 'GET',
'parameters' => array(),
),'patch' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'PATCH',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'confirmUnsafeAccountChange' => array(
'location' => 'query',
'type' => 'boolean',
),
),
),'update' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'PUT',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'confirmUnsafeAccountChange' => array(
'location' => 'query',
'type' => 'boolean',
),
),
),
)
)
);
$this->billingInfo = new Google_Service_AdExchangeBuyer_Resource_BillingInfo(
$this,
$this->serviceName,
'billingInfo',
array(
'methods' => array(
'get' => array(
'path' => 'billinginfo/{accountId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),'list' => array(
'path' => 'billinginfo',
'httpMethod' => 'GET',
'parameters' => array(),
),
)
)
);
$this->budget = new Google_Service_AdExchangeBuyer_Resource_Budget(
$this,
$this->serviceName,
'budget',
array(
'methods' => array(
'get' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'patch' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PATCH',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->creatives = new Google_Service_AdExchangeBuyer_Resource_Creatives(
$this,
$this->serviceName,
'creatives',
array(
'methods' => array(
'addDeal' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'dealId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'creatives',
'httpMethod' => 'POST',
'parameters' => array(),
),'list' => array(
'path' => 'creatives',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'query',
'type' => 'integer',
'repeated' => true,
),
'buyerCreativeId' => array(
'location' => 'query',
'type' => 'string',
'repeated' => true,
),
'dealsStatusFilter' => array(
'location' => 'query',
'type' => 'string',
),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
),
'openAuctionStatusFilter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'listDeals' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/listDeals',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'removeDeal' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'dealId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->marketplacedeals = new Google_Service_AdExchangeBuyer_Resource_Marketplacedeals(
$this,
$this->serviceName,
'marketplacedeals',
array(
'methods' => array(
'delete' => array(
'path' => 'proposals/{proposalId}/deals/delete',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'proposals/{proposalId}/deals/insert',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'proposals/{proposalId}/deals',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),'update' => array(
'path' => 'proposals/{proposalId}/deals/update',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->marketplacenotes = new Google_Service_AdExchangeBuyer_Resource_Marketplacenotes(
$this,
$this->serviceName,
'marketplacenotes',
array(
'methods' => array(
'insert' => array(
'path' => 'proposals/{proposalId}/notes/insert',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'proposals/{proposalId}/notes',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->marketplaceprivateauction = new Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction(
$this,
$this->serviceName,
'marketplaceprivateauction',
array(
'methods' => array(
'updateproposal' => array(
'path' => 'privateauction/{privateAuctionId}/updateproposal',
'httpMethod' => 'POST',
'parameters' => array(
'privateAuctionId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->performanceReport = new Google_Service_AdExchangeBuyer_Resource_PerformanceReport(
$this,
$this->serviceName,
'performanceReport',
array(
'methods' => array(
'list' => array(
'path' => 'performancereport',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'endDateTime' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'startDateTime' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->pretargetingConfig = new Google_Service_AdExchangeBuyer_Resource_PretargetingConfig(
$this,
$this->serviceName,
'pretargetingConfig',
array(
'methods' => array(
'delete' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'DELETE',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'pretargetingconfigs/{accountId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'pretargetingconfigs/{accountId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'patch' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'PATCH',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->products = new Google_Service_AdExchangeBuyer_Resource_Products(
$this,
$this->serviceName,
'products',
array(
'methods' => array(
'get' => array(
'path' => 'products/{productId}',
'httpMethod' => 'GET',
'parameters' => array(
'productId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'search' => array(
'path' => 'products/search',
'httpMethod' => 'GET',
'parameters' => array(
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->proposals = new Google_Service_AdExchangeBuyer_Resource_Proposals(
$this,
$this->serviceName,
'proposals',
array(
'methods' => array(
'get' => array(
'path' => 'proposals/{proposalId}',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'proposals/insert',
'httpMethod' => 'POST',
'parameters' => array(),
),'patch' => array(
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
'httpMethod' => 'PATCH',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'revisionNumber' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateAction' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'search' => array(
'path' => 'proposals/search',
'httpMethod' => 'GET',
'parameters' => array(
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),'setupcomplete' => array(
'path' => 'proposals/{proposalId}/setupcomplete',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
'httpMethod' => 'PUT',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'revisionNumber' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateAction' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->pubprofiles = new Google_Service_AdExchangeBuyer_Resource_Pubprofiles(
$this,
$this->serviceName,
'pubprofiles',
array(
'methods' => array(
'list' => array(
'path' => 'publisher/{accountId}/profiles',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),
)
)
);
}
}

View file

@ -0,0 +1,95 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Account extends Google_Collection
{
protected $collection_key = 'bidderLocation';
protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
protected $bidderLocationDataType = 'array';
public $cookieMatchingNid;
public $cookieMatchingUrl;
public $id;
public $kind;
public $maximumActiveCreatives;
public $maximumTotalQps;
public $numberActiveCreatives;
public function setBidderLocation($bidderLocation)
{
$this->bidderLocation = $bidderLocation;
}
public function getBidderLocation()
{
return $this->bidderLocation;
}
public function setCookieMatchingNid($cookieMatchingNid)
{
$this->cookieMatchingNid = $cookieMatchingNid;
}
public function getCookieMatchingNid()
{
return $this->cookieMatchingNid;
}
public function setCookieMatchingUrl($cookieMatchingUrl)
{
$this->cookieMatchingUrl = $cookieMatchingUrl;
}
public function getCookieMatchingUrl()
{
return $this->cookieMatchingUrl;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMaximumActiveCreatives($maximumActiveCreatives)
{
$this->maximumActiveCreatives = $maximumActiveCreatives;
}
public function getMaximumActiveCreatives()
{
return $this->maximumActiveCreatives;
}
public function setMaximumTotalQps($maximumTotalQps)
{
$this->maximumTotalQps = $maximumTotalQps;
}
public function getMaximumTotalQps()
{
return $this->maximumTotalQps;
}
public function setNumberActiveCreatives($numberActiveCreatives)
{
$this->numberActiveCreatives = $numberActiveCreatives;
}
public function getNumberActiveCreatives()
{
return $this->numberActiveCreatives;
}
}

View file

@ -0,0 +1,57 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_AccountBidderLocation extends Google_Model
{
public $bidProtocol;
public $maximumQps;
public $region;
public $url;
public function setBidProtocol($bidProtocol)
{
$this->bidProtocol = $bidProtocol;
}
public function getBidProtocol()
{
return $this->bidProtocol;
}
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
public function getMaximumQps()
{
return $this->maximumQps;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
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;
}
}

View file

@ -0,0 +1,50 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
public $updateAction;
public function setDeals($deals)
{
$this->deals = $deals;
}
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
public function setDeals($deals)
{
$this->deals = $deals;
}
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
public function setNotes($notes)
{
$this->notes = $notes;
}
public function getNotes()
{
return $this->notes;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
public function setNotes($notes)
{
$this->notes = $notes;
}
public function getNotes()
{
return $this->notes;
}
}

View file

@ -0,0 +1,58 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
{
protected $collection_key = 'billingId';
public $accountId;
public $accountName;
public $billingId;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAccountName($accountName)
{
$this->accountName = $accountName;
}
public function getAccountName()
{
return $this->accountName;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
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;
}
}

View file

@ -0,0 +1,75 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Budget extends Google_Model
{
public $accountId;
public $billingId;
public $budgetAmount;
public $currencyCode;
public $id;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setBudgetAmount($budgetAmount)
{
$this->budgetAmount = $budgetAmount;
}
public function getBudgetAmount()
{
return $this->budgetAmount;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View file

@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Buyer extends Google_Model
{
public $accountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
}

View file

@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_ContactInformation extends Google_Model
{
public $email;
public $name;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalsDataType = 'array';
public $webPropertyCode;
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
public function getProposals()
{
return $this->proposals;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalsDataType = 'array';
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
public function getProposals()
{
return $this->proposals;
}
}

View file

@ -0,0 +1,281 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
protected $collection_key = 'vendorType';
protected $internal_gapi_mappings = array(
"hTMLSnippet" => "HTMLSnippet",
);
public $hTMLSnippet;
public $accountId;
public $adChoicesDestinationUrl;
public $advertiserId;
public $advertiserName;
public $agencyId;
public $apiUploadTimestamp;
public $attribute;
public $buyerCreativeId;
public $clickThroughUrl;
protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
protected $correctionsDataType = 'array';
public $dealsStatus;
public $detectedDomains;
protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
protected $filteringReasonsDataType = '';
public $height;
public $impressionTrackingUrl;
public $kind;
public $languages;
protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
protected $nativeAdDataType = '';
public $openAuctionStatus;
public $productCategories;
public $restrictedCategories;
public $sensitiveCategories;
protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
protected $servingRestrictionsDataType = 'array';
public $vendorType;
public $version;
public $videoURL;
public $width;
public function setHTMLSnippet($hTMLSnippet)
{
$this->hTMLSnippet = $hTMLSnippet;
}
public function getHTMLSnippet()
{
return $this->hTMLSnippet;
}
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
{
$this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
}
public function getAdChoicesDestinationUrl()
{
return $this->adChoicesDestinationUrl;
}
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
}
public function getAdvertiserId()
{
return $this->advertiserId;
}
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
public function getAdvertiserName()
{
return $this->advertiserName;
}
public function setAgencyId($agencyId)
{
$this->agencyId = $agencyId;
}
public function getAgencyId()
{
return $this->agencyId;
}
public function setApiUploadTimestamp($apiUploadTimestamp)
{
$this->apiUploadTimestamp = $apiUploadTimestamp;
}
public function getApiUploadTimestamp()
{
return $this->apiUploadTimestamp;
}
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
public function getAttribute()
{
return $this->attribute;
}
public function setBuyerCreativeId($buyerCreativeId)
{
$this->buyerCreativeId = $buyerCreativeId;
}
public function getBuyerCreativeId()
{
return $this->buyerCreativeId;
}
public function setClickThroughUrl($clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
public function setCorrections($corrections)
{
$this->corrections = $corrections;
}
public function getCorrections()
{
return $this->corrections;
}
public function setDealsStatus($dealsStatus)
{
$this->dealsStatus = $dealsStatus;
}
public function getDealsStatus()
{
return $this->dealsStatus;
}
public function setDetectedDomains($detectedDomains)
{
$this->detectedDomains = $detectedDomains;
}
public function getDetectedDomains()
{
return $this->detectedDomains;
}
public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
{
$this->filteringReasons = $filteringReasons;
}
public function getFilteringReasons()
{
return $this->filteringReasons;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
{
$this->nativeAd = $nativeAd;
}
public function getNativeAd()
{
return $this->nativeAd;
}
public function setOpenAuctionStatus($openAuctionStatus)
{
$this->openAuctionStatus = $openAuctionStatus;
}
public function getOpenAuctionStatus()
{
return $this->openAuctionStatus;
}
public function setProductCategories($productCategories)
{
$this->productCategories = $productCategories;
}
public function getProductCategories()
{
return $this->productCategories;
}
public function setRestrictedCategories($restrictedCategories)
{
$this->restrictedCategories = $restrictedCategories;
}
public function getRestrictedCategories()
{
return $this->restrictedCategories;
}
public function setSensitiveCategories($sensitiveCategories)
{
$this->sensitiveCategories = $sensitiveCategories;
}
public function getSensitiveCategories()
{
return $this->sensitiveCategories;
}
public function setServingRestrictions($servingRestrictions)
{
$this->servingRestrictions = $servingRestrictions;
}
public function getServingRestrictions()
{
return $this->servingRestrictions;
}
public function setVendorType($vendorType)
{
$this->vendorType = $vendorType;
}
public function getVendorType()
{
return $this->vendorType;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View file

@ -0,0 +1,50 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
{
protected $collection_key = 'details';
protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts';
protected $contextsDataType = 'array';
public $details;
public $reason;
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
public function getContexts()
{
return $this->contexts;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View file

@ -0,0 +1,58 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts extends Google_Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeDealIds extends Google_Collection
{
protected $collection_key = 'dealStatuses';
protected $dealStatusesType = 'Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses';
protected $dealStatusesDataType = 'array';
public $kind;
public function setDealStatuses($dealStatuses)
{
$this->dealStatuses = $dealStatuses;
}
public function getDealStatuses()
{
return $this->dealStatuses;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses extends Google_Model
{
public $arcStatus;
public $dealId;
public $webPropertyId;
public function setArcStatus($arcStatus)
{
$this->arcStatus = $arcStatus;
}
public function getArcStatus()
{
return $this->arcStatus;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
{
protected $collection_key = 'reasons';
public $date;
protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
protected $reasonsDataType = 'array';
public function setDate($date)
{
$this->date = $date;
}
public function getDate()
{
return $this->date;
}
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
public function getReasons()
{
return $this->reasons;
}
}

View file

@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends Google_Model
{
public $filteringCount;
public $filteringStatus;
public function setFilteringCount($filteringCount)
{
$this->filteringCount = $filteringCount;
}
public function getFilteringCount()
{
return $this->filteringCount;
}
public function setFilteringStatus($filteringStatus)
{
$this->filteringStatus = $filteringStatus;
}
public function getFilteringStatus()
{
return $this->filteringStatus;
}
}

View file

@ -0,0 +1,151 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
{
protected $collection_key = 'impressionTrackingUrl';
public $advertiser;
protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
protected $appIconDataType = '';
public $body;
public $callToAction;
public $clickLinkUrl;
public $clickTrackingUrl;
public $headline;
protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
protected $imageDataType = '';
public $impressionTrackingUrl;
protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
protected $logoDataType = '';
public $price;
public $starRating;
public $store;
public $videoURL;
public function setAdvertiser($advertiser)
{
$this->advertiser = $advertiser;
}
public function getAdvertiser()
{
return $this->advertiser;
}
public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
{
$this->appIcon = $appIcon;
}
public function getAppIcon()
{
return $this->appIcon;
}
public function setBody($body)
{
$this->body = $body;
}
public function getBody()
{
return $this->body;
}
public function setCallToAction($callToAction)
{
$this->callToAction = $callToAction;
}
public function getCallToAction()
{
return $this->callToAction;
}
public function setClickLinkUrl($clickLinkUrl)
{
$this->clickLinkUrl = $clickLinkUrl;
}
public function getClickLinkUrl()
{
return $this->clickLinkUrl;
}
public function setClickTrackingUrl($clickTrackingUrl)
{
$this->clickTrackingUrl = $clickTrackingUrl;
}
public function getClickTrackingUrl()
{
return $this->clickTrackingUrl;
}
public function setHeadline($headline)
{
$this->headline = $headline;
}
public function getHeadline()
{
return $this->headline;
}
public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
{
$this->image = $image;
}
public function getImage()
{
return $this->image;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
{
$this->logo = $logo;
}
public function getLogo()
{
return $this->logo;
}
public function setPrice($price)
{
$this->price = $price;
}
public function getPrice()
{
return $this->price;
}
public function setStarRating($starRating)
{
$this->starRating = $starRating;
}
public function getStarRating()
{
return $this->starRating;
}
public function setStore($store)
{
$this->store = $store;
}
public function getStore()
{
return $this->store;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View file

@ -0,0 +1,51 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeServingRestrictions extends Google_Collection
{
protected $collection_key = 'disapprovalReasons';
protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
protected $contextsDataType = 'array';
protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
protected $disapprovalReasonsDataType = 'array';
public $reason;
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
public function getContexts()
{
return $this->contexts;
}
public function setDisapprovalReasons($disapprovalReasons)
{
$this->disapprovalReasons = $disapprovalReasons;
}
public function getDisapprovalReasons()
{
return $this->disapprovalReasons;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View file

@ -0,0 +1,58 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts extends Google_Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}

View file

@ -0,0 +1,40 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
{
protected $collection_key = 'details';
public $details;
public $reason;
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View file

@ -0,0 +1,50 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
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;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View file

@ -0,0 +1,40 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealServingMetadata extends Google_Model
{
public $alcoholAdsAllowed;
protected $dealPauseStatusType = 'Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus';
protected $dealPauseStatusDataType = '';
public function setAlcoholAdsAllowed($alcoholAdsAllowed)
{
$this->alcoholAdsAllowed = $alcoholAdsAllowed;
}
public function getAlcoholAdsAllowed()
{
return $this->alcoholAdsAllowed;
}
public function setDealPauseStatus(Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus $dealPauseStatus)
{
$this->dealPauseStatus = $dealPauseStatus;
}
public function getDealPauseStatus()
{
return $this->dealPauseStatus;
}
}

View file

@ -0,0 +1,66 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus extends Google_Model
{
public $buyerPauseReason;
public $firstPausedBy;
public $hasBuyerPaused;
public $hasSellerPaused;
public $sellerPauseReason;
public function setBuyerPauseReason($buyerPauseReason)
{
$this->buyerPauseReason = $buyerPauseReason;
}
public function getBuyerPauseReason()
{
return $this->buyerPauseReason;
}
public function setFirstPausedBy($firstPausedBy)
{
$this->firstPausedBy = $firstPausedBy;
}
public function getFirstPausedBy()
{
return $this->firstPausedBy;
}
public function setHasBuyerPaused($hasBuyerPaused)
{
$this->hasBuyerPaused = $hasBuyerPaused;
}
public function getHasBuyerPaused()
{
return $this->hasBuyerPaused;
}
public function setHasSellerPaused($hasSellerPaused)
{
$this->hasSellerPaused = $hasSellerPaused;
}
public function getHasSellerPaused()
{
return $this->hasSellerPaused;
}
public function setSellerPauseReason($sellerPauseReason)
{
$this->sellerPauseReason = $sellerPauseReason;
}
public function getSellerPauseReason()
{
return $this->sellerPauseReason;
}
}

View file

@ -0,0 +1,116 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealTerms extends Google_Model
{
public $brandingType;
public $crossListedExternalDealIdType;
public $description;
protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyer_Price';
protected $estimatedGrossSpendDataType = '';
public $estimatedImpressionsPerDay;
protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
protected $guaranteedFixedPriceTermsDataType = '';
protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
protected $nonGuaranteedAuctionTermsDataType = '';
protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
protected $nonGuaranteedFixedPriceTermsDataType = '';
protected $rubiconNonGuaranteedTermsType = 'Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms';
protected $rubiconNonGuaranteedTermsDataType = '';
public $sellerTimeZone;
public function setBrandingType($brandingType)
{
$this->brandingType = $brandingType;
}
public function getBrandingType()
{
return $this->brandingType;
}
public function setCrossListedExternalDealIdType($crossListedExternalDealIdType)
{
$this->crossListedExternalDealIdType = $crossListedExternalDealIdType;
}
public function getCrossListedExternalDealIdType()
{
return $this->crossListedExternalDealIdType;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend)
{
$this->estimatedGrossSpend = $estimatedGrossSpend;
}
public function getEstimatedGrossSpend()
{
return $this->estimatedGrossSpend;
}
public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
{
$this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
}
public function getEstimatedImpressionsPerDay()
{
return $this->estimatedImpressionsPerDay;
}
public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
{
$this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
}
public function getGuaranteedFixedPriceTerms()
{
return $this->guaranteedFixedPriceTerms;
}
public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
{
$this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
}
public function getNonGuaranteedAuctionTerms()
{
return $this->nonGuaranteedAuctionTerms;
}
public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
{
$this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
}
public function getNonGuaranteedFixedPriceTerms()
{
return $this->nonGuaranteedFixedPriceTerms;
}
public function setRubiconNonGuaranteedTerms(Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms)
{
$this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms;
}
public function getRubiconNonGuaranteedTerms()
{
return $this->rubiconNonGuaranteedTerms;
}
public function setSellerTimeZone($sellerTimeZone)
{
$this->sellerTimeZone = $sellerTimeZone;
}
public function getSellerTimeZone()
{
return $this->sellerTimeZone;
}
}

View file

@ -0,0 +1,69 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $billingInfoType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo';
protected $billingInfoDataType = '';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $fixedPricesDataType = 'array';
public $guaranteedImpressions;
public $guaranteedLooks;
public $minimumDailyLooks;
public function setBillingInfo(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo $billingInfo)
{
$this->billingInfo = $billingInfo;
}
public function getBillingInfo()
{
return $this->billingInfo;
}
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
public function getFixedPrices()
{
return $this->fixedPrices;
}
public function setGuaranteedImpressions($guaranteedImpressions)
{
$this->guaranteedImpressions = $guaranteedImpressions;
}
public function getGuaranteedImpressions()
{
return $this->guaranteedImpressions;
}
public function setGuaranteedLooks($guaranteedLooks)
{
$this->guaranteedLooks = $guaranteedLooks;
}
public function getGuaranteedLooks()
{
return $this->guaranteedLooks;
}
public function setMinimumDailyLooks($minimumDailyLooks)
{
$this->minimumDailyLooks = $minimumDailyLooks;
}
public function getMinimumDailyLooks()
{
return $this->minimumDailyLooks;
}
}

View file

@ -0,0 +1,58 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo extends Google_Model
{
public $currencyConversionTimeMs;
public $dfpLineItemId;
public $originalContractedQuantity;
protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
protected $priceDataType = '';
public function setCurrencyConversionTimeMs($currencyConversionTimeMs)
{
$this->currencyConversionTimeMs = $currencyConversionTimeMs;
}
public function getCurrencyConversionTimeMs()
{
return $this->currencyConversionTimeMs;
}
public function setDfpLineItemId($dfpLineItemId)
{
$this->dfpLineItemId = $dfpLineItemId;
}
public function getDfpLineItemId()
{
return $this->dfpLineItemId;
}
public function setOriginalContractedQuantity($originalContractedQuantity)
{
$this->originalContractedQuantity = $originalContractedQuantity;
}
public function getOriginalContractedQuantity()
{
return $this->originalContractedQuantity;
}
public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
{
$this->price = $price;
}
public function getPrice()
{
return $this->price;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
{
protected $collection_key = 'reservePricePerBuyers';
public $autoOptimizePrivateAuction;
protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $reservePricePerBuyersDataType = 'array';
public function setAutoOptimizePrivateAuction($autoOptimizePrivateAuction)
{
$this->autoOptimizePrivateAuction = $autoOptimizePrivateAuction;
}
public function getAutoOptimizePrivateAuction()
{
return $this->autoOptimizePrivateAuction;
}
public function setReservePricePerBuyers($reservePricePerBuyers)
{
$this->reservePricePerBuyers = $reservePricePerBuyers;
}
public function getReservePricePerBuyers()
{
return $this->reservePricePerBuyers;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $fixedPricesDataType = 'array';
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
public function getFixedPrices()
{
return $this->fixedPrices;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms extends Google_Model
{
protected $priorityPriceType = 'Google_Service_AdExchangeBuyer_Price';
protected $priorityPriceDataType = '';
protected $standardPriceType = 'Google_Service_AdExchangeBuyer_Price';
protected $standardPriceDataType = '';
public function setPriorityPrice(Google_Service_AdExchangeBuyer_Price $priorityPrice)
{
$this->priorityPrice = $priorityPrice;
}
public function getPriorityPrice()
{
return $this->priorityPrice;
}
public function setStandardPrice(Google_Service_AdExchangeBuyer_Price $standardPrice)
{
$this->standardPrice = $standardPrice;
}
public function getStandardPrice()
{
return $this->standardPrice;
}
}

View file

@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DeleteOrderDealsRequest extends Google_Collection
{
protected $collection_key = 'dealIds';
public $dealIds;
public $proposalRevisionNumber;
public $updateAction;
public function setDealIds($dealIds)
{
$this->dealIds = $dealIds;
}
public function getDealIds()
{
return $this->dealIds;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DeleteOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
public function setDeals($deals)
{
$this->deals = $deals;
}
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
}

View file

@ -0,0 +1,50 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DeliveryControl extends Google_Collection
{
protected $collection_key = 'frequencyCaps';
public $creativeBlockingLevel;
public $deliveryRateType;
protected $frequencyCapsType = 'Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap';
protected $frequencyCapsDataType = 'array';
public function setCreativeBlockingLevel($creativeBlockingLevel)
{
$this->creativeBlockingLevel = $creativeBlockingLevel;
}
public function getCreativeBlockingLevel()
{
return $this->creativeBlockingLevel;
}
public function setDeliveryRateType($deliveryRateType)
{
$this->deliveryRateType = $deliveryRateType;
}
public function getDeliveryRateType()
{
return $this->deliveryRateType;
}
public function setFrequencyCaps($frequencyCaps)
{
$this->frequencyCaps = $frequencyCaps;
}
public function getFrequencyCaps()
{
return $this->frequencyCaps;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DeliveryControlFrequencyCap extends Google_Model
{
public $maxImpressions;
public $numTimeUnits;
public $timeUnitType;
public function setMaxImpressions($maxImpressions)
{
$this->maxImpressions = $maxImpressions;
}
public function getMaxImpressions()
{
return $this->maxImpressions;
}
public function setNumTimeUnits($numTimeUnits)
{
$this->numTimeUnits = $numTimeUnits;
}
public function getNumTimeUnits()
{
return $this->numTimeUnits;
}
public function setTimeUnitType($timeUnitType)
{
$this->timeUnitType = $timeUnitType;
}
public function getTimeUnitType()
{
return $this->timeUnitType;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Dimension extends Google_Collection
{
protected $collection_key = 'dimensionValues';
public $dimensionType;
protected $dimensionValuesType = 'Google_Service_AdExchangeBuyer_DimensionDimensionValue';
protected $dimensionValuesDataType = 'array';
public function setDimensionType($dimensionType)
{
$this->dimensionType = $dimensionType;
}
public function getDimensionType()
{
return $this->dimensionType;
}
public function setDimensionValues($dimensionValues)
{
$this->dimensionValues = $dimensionValues;
}
public function getDimensionValues()
{
return $this->dimensionValues;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_DimensionDimensionValue extends Google_Model
{
public $id;
public $name;
public $percentage;
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPercentage($percentage)
{
$this->percentage = $percentage;
}
public function getPercentage()
{
return $this->percentage;
}
}

View file

@ -0,0 +1,60 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_EditAllOrderDealsRequest extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
protected $proposalType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalDataType = '';
public $proposalRevisionNumber;
public $updateAction;
public function setDeals($deals)
{
$this->deals = $deals;
}
public function getDeals()
{
return $this->deals;
}
public function setProposal(Google_Service_AdExchangeBuyer_Proposal $proposal)
{
$this->proposal = $proposal;
}
public function getProposal()
{
return $this->proposal;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_EditAllOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $orderRevisionNumber;
public function setDeals($deals)
{
$this->deals = $deals;
}
public function getDeals()
{
return $this->deals;
}
public function setOrderRevisionNumber($orderRevisionNumber)
{
$this->orderRevisionNumber = $orderRevisionNumber;
}
public function getOrderRevisionNumber()
{
return $this->orderRevisionNumber;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_GetOffersResponse extends Google_Collection
{
protected $collection_key = 'products';
protected $productsType = 'Google_Service_AdExchangeBuyer_Product';
protected $productsDataType = 'array';
public function setProducts($products)
{
$this->products = $products;
}
public function getProducts()
{
return $this->products;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_GetOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public function setDeals($deals)
{
$this->deals = $deals;
}
public function getDeals()
{
return $this->deals;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_GetOrderNotesResponse extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
public function setNotes($notes)
{
$this->notes = $notes;
}
public function getNotes()
{
return $this->notes;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_GetOrdersResponse extends Google_Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalsDataType = 'array';
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
public function getProposals()
{
return $this->proposals;
}
}

View file

@ -0,0 +1,32 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_GetPublisherProfilesByAccountIdResponse extends Google_Collection
{
protected $collection_key = 'profiles';
protected $profilesType = 'Google_Service_AdExchangeBuyer_PublisherProfileApiProto';
protected $profilesDataType = 'array';
public function setProfiles($profiles)
{
$this->profiles = $profiles;
}
public function getProfiles()
{
return $this->profiles;
}
}

View file

@ -0,0 +1,244 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
{
protected $collection_key = 'sharedTargetings';
protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
protected $buyerPrivateDataDataType = '';
public $creationTimeMs;
public $creativePreApprovalPolicy;
public $creativeSafeFrameCompatibility;
public $dealId;
protected $dealServingMetadataType = 'Google_Service_AdExchangeBuyer_DealServingMetadata';
protected $dealServingMetadataDataType = '';
protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
protected $deliveryControlDataType = '';
public $externalDealId;
public $flightEndTimeMs;
public $flightStartTimeMs;
public $inventoryDescription;
public $isRfpTemplate;
public $kind;
public $lastUpdateTimeMs;
public $name;
public $productId;
public $productRevisionNumber;
public $programmaticCreativeSource;
public $proposalId;
protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
protected $sellerContactsDataType = 'array';
protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
protected $sharedTargetingsDataType = 'array';
public $syndicationProduct;
protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
protected $termsDataType = '';
public $webPropertyCode;
public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
{
$this->buyerPrivateData = $buyerPrivateData;
}
public function getBuyerPrivateData()
{
return $this->buyerPrivateData;
}
public function setCreationTimeMs($creationTimeMs)
{
$this->creationTimeMs = $creationTimeMs;
}
public function getCreationTimeMs()
{
return $this->creationTimeMs;
}
public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
{
$this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
}
public function getCreativePreApprovalPolicy()
{
return $this->creativePreApprovalPolicy;
}
public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
{
$this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
}
public function getCreativeSafeFrameCompatibility()
{
return $this->creativeSafeFrameCompatibility;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
public function setDealServingMetadata(Google_Service_AdExchangeBuyer_DealServingMetadata $dealServingMetadata)
{
$this->dealServingMetadata = $dealServingMetadata;
}
public function getDealServingMetadata()
{
return $this->dealServingMetadata;
}
public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
{
$this->deliveryControl = $deliveryControl;
}
public function getDeliveryControl()
{
return $this->deliveryControl;
}
public function setExternalDealId($externalDealId)
{
$this->externalDealId = $externalDealId;
}
public function getExternalDealId()
{
return $this->externalDealId;
}
public function setFlightEndTimeMs($flightEndTimeMs)
{
$this->flightEndTimeMs = $flightEndTimeMs;
}
public function getFlightEndTimeMs()
{
return $this->flightEndTimeMs;
}
public function setFlightStartTimeMs($flightStartTimeMs)
{
$this->flightStartTimeMs = $flightStartTimeMs;
}
public function getFlightStartTimeMs()
{
return $this->flightStartTimeMs;
}
public function setInventoryDescription($inventoryDescription)
{
$this->inventoryDescription = $inventoryDescription;
}
public function getInventoryDescription()
{
return $this->inventoryDescription;
}
public function setIsRfpTemplate($isRfpTemplate)
{
$this->isRfpTemplate = $isRfpTemplate;
}
public function getIsRfpTemplate()
{
return $this->isRfpTemplate;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLastUpdateTimeMs($lastUpdateTimeMs)
{
$this->lastUpdateTimeMs = $lastUpdateTimeMs;
}
public function getLastUpdateTimeMs()
{
return $this->lastUpdateTimeMs;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setProductId($productId)
{
$this->productId = $productId;
}
public function getProductId()
{
return $this->productId;
}
public function setProductRevisionNumber($productRevisionNumber)
{
$this->productRevisionNumber = $productRevisionNumber;
}
public function getProductRevisionNumber()
{
return $this->productRevisionNumber;
}
public function setProgrammaticCreativeSource($programmaticCreativeSource)
{
$this->programmaticCreativeSource = $programmaticCreativeSource;
}
public function getProgrammaticCreativeSource()
{
return $this->programmaticCreativeSource;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
public function setSellerContacts($sellerContacts)
{
$this->sellerContacts = $sellerContacts;
}
public function getSellerContacts()
{
return $this->sellerContacts;
}
public function setSharedTargetings($sharedTargetings)
{
$this->sharedTargetings = $sharedTargetings;
}
public function getSharedTargetings()
{
return $this->sharedTargetings;
}
public function setSyndicationProduct($syndicationProduct)
{
$this->syndicationProduct = $syndicationProduct;
}
public function getSyndicationProduct()
{
return $this->syndicationProduct;
}
public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
{
$this->terms = $terms;
}
public function getTerms()
{
return $this->terms;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_MarketplaceDealParty extends Google_Model
{
protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
protected $buyerDataType = '';
protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
protected $sellerDataType = '';
public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
{
$this->buyer = $buyer;
}
public function getBuyer()
{
return $this->buyer;
}
public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
{
$this->seller = $seller;
}
public function getSeller()
{
return $this->seller;
}
}

View file

@ -0,0 +1,58 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_MarketplaceLabel extends Google_Model
{
public $accountId;
public $createTimeMs;
protected $deprecatedMarketplaceDealPartyType = 'Google_Service_AdExchangeBuyer_MarketplaceDealParty';
protected $deprecatedMarketplaceDealPartyDataType = '';
public $label;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setCreateTimeMs($createTimeMs)
{
$this->createTimeMs = $createTimeMs;
}
public function getCreateTimeMs()
{
return $this->createTimeMs;
}
public function setDeprecatedMarketplaceDealParty(Google_Service_AdExchangeBuyer_MarketplaceDealParty $deprecatedMarketplaceDealParty)
{
$this->deprecatedMarketplaceDealParty = $deprecatedMarketplaceDealParty;
}
public function getDeprecatedMarketplaceDealParty()
{
return $this->deprecatedMarketplaceDealParty;
}
public function setLabel($label)
{
$this->label = $label;
}
public function getLabel()
{
return $this->label;
}
}

View file

@ -0,0 +1,93 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_MarketplaceNote extends Google_Model
{
public $creatorRole;
public $dealId;
public $kind;
public $note;
public $noteId;
public $proposalId;
public $proposalRevisionNumber;
public $timestampMs;
public function setCreatorRole($creatorRole)
{
$this->creatorRole = $creatorRole;
}
public function getCreatorRole()
{
return $this->creatorRole;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNote($note)
{
$this->note = $note;
}
public function getNote()
{
return $this->note;
}
public function setNoteId($noteId)
{
$this->noteId = $noteId;
}
public function getNoteId()
{
return $this->noteId;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setTimestampMs($timestampMs)
{
$this->timestampMs = $timestampMs;
}
public function getTimestampMs()
{
return $this->timestampMs;
}
}

View file

@ -0,0 +1,220 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
{
protected $collection_key = 'hostedMatchStatusRate';
public $bidRate;
public $bidRequestRate;
public $calloutStatusRate;
public $cookieMatcherStatusRate;
public $creativeStatusRate;
public $filteredBidRate;
public $hostedMatchStatusRate;
public $inventoryMatchRate;
public $kind;
public $latency50thPercentile;
public $latency85thPercentile;
public $latency95thPercentile;
public $noQuotaInRegion;
public $outOfQuota;
public $pixelMatchRequests;
public $pixelMatchResponses;
public $quotaConfiguredLimit;
public $quotaThrottledLimit;
public $region;
public $successfulRequestRate;
public $timestamp;
public $unsuccessfulRequestRate;
public function setBidRate($bidRate)
{
$this->bidRate = $bidRate;
}
public function getBidRate()
{
return $this->bidRate;
}
public function setBidRequestRate($bidRequestRate)
{
$this->bidRequestRate = $bidRequestRate;
}
public function getBidRequestRate()
{
return $this->bidRequestRate;
}
public function setCalloutStatusRate($calloutStatusRate)
{
$this->calloutStatusRate = $calloutStatusRate;
}
public function getCalloutStatusRate()
{
return $this->calloutStatusRate;
}
public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
{
$this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
}
public function getCookieMatcherStatusRate()
{
return $this->cookieMatcherStatusRate;
}
public function setCreativeStatusRate($creativeStatusRate)
{
$this->creativeStatusRate = $creativeStatusRate;
}
public function getCreativeStatusRate()
{
return $this->creativeStatusRate;
}
public function setFilteredBidRate($filteredBidRate)
{
$this->filteredBidRate = $filteredBidRate;
}
public function getFilteredBidRate()
{
return $this->filteredBidRate;
}
public function setHostedMatchStatusRate($hostedMatchStatusRate)
{
$this->hostedMatchStatusRate = $hostedMatchStatusRate;
}
public function getHostedMatchStatusRate()
{
return $this->hostedMatchStatusRate;
}
public function setInventoryMatchRate($inventoryMatchRate)
{
$this->inventoryMatchRate = $inventoryMatchRate;
}
public function getInventoryMatchRate()
{
return $this->inventoryMatchRate;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLatency50thPercentile($latency50thPercentile)
{
$this->latency50thPercentile = $latency50thPercentile;
}
public function getLatency50thPercentile()
{
return $this->latency50thPercentile;
}
public function setLatency85thPercentile($latency85thPercentile)
{
$this->latency85thPercentile = $latency85thPercentile;
}
public function getLatency85thPercentile()
{
return $this->latency85thPercentile;
}
public function setLatency95thPercentile($latency95thPercentile)
{
$this->latency95thPercentile = $latency95thPercentile;
}
public function getLatency95thPercentile()
{
return $this->latency95thPercentile;
}
public function setNoQuotaInRegion($noQuotaInRegion)
{
$this->noQuotaInRegion = $noQuotaInRegion;
}
public function getNoQuotaInRegion()
{
return $this->noQuotaInRegion;
}
public function setOutOfQuota($outOfQuota)
{
$this->outOfQuota = $outOfQuota;
}
public function getOutOfQuota()
{
return $this->outOfQuota;
}
public function setPixelMatchRequests($pixelMatchRequests)
{
$this->pixelMatchRequests = $pixelMatchRequests;
}
public function getPixelMatchRequests()
{
return $this->pixelMatchRequests;
}
public function setPixelMatchResponses($pixelMatchResponses)
{
$this->pixelMatchResponses = $pixelMatchResponses;
}
public function getPixelMatchResponses()
{
return $this->pixelMatchResponses;
}
public function setQuotaConfiguredLimit($quotaConfiguredLimit)
{
$this->quotaConfiguredLimit = $quotaConfiguredLimit;
}
public function getQuotaConfiguredLimit()
{
return $this->quotaConfiguredLimit;
}
public function setQuotaThrottledLimit($quotaThrottledLimit)
{
$this->quotaThrottledLimit = $quotaThrottledLimit;
}
public function getQuotaThrottledLimit()
{
return $this->quotaThrottledLimit;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setSuccessfulRequestRate($successfulRequestRate)
{
$this->successfulRequestRate = $successfulRequestRate;
}
public function getSuccessfulRequestRate()
{
return $this->successfulRequestRate;
}
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
public function getTimestamp()
{
return $this->timestamp;
}
public function setUnsuccessfulRequestRate($unsuccessfulRequestRate)
{
$this->unsuccessfulRequestRate = $unsuccessfulRequestRate;
}
public function getUnsuccessfulRequestRate()
{
return $this->unsuccessfulRequestRate;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
{
protected $collection_key = 'performanceReport';
public $kind;
protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
protected $performanceReportDataType = 'array';
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setPerformanceReport($performanceReport)
{
$this->performanceReport = $performanceReport;
}
public function getPerformanceReport()
{
return $this->performanceReport;
}
}

View file

@ -0,0 +1,260 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
{
protected $collection_key = 'videoPlayerSizes';
public $billingId;
public $configId;
public $configName;
public $creativeType;
protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
protected $dimensionsDataType = 'array';
public $excludedContentLabels;
public $excludedGeoCriteriaIds;
protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
protected $excludedPlacementsDataType = 'array';
public $excludedUserLists;
public $excludedVerticals;
public $geoCriteriaIds;
public $isActive;
public $kind;
public $languages;
public $minimumViewabilityDecile;
public $mobileCarriers;
public $mobileDevices;
public $mobileOperatingSystemVersions;
protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
protected $placementsDataType = 'array';
public $platforms;
public $supportedCreativeAttributes;
public $userIdentifierDataRequired;
public $userLists;
public $vendorTypes;
public $verticals;
protected $videoPlayerSizesType = 'Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes';
protected $videoPlayerSizesDataType = 'array';
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setConfigId($configId)
{
$this->configId = $configId;
}
public function getConfigId()
{
return $this->configId;
}
public function setConfigName($configName)
{
$this->configName = $configName;
}
public function getConfigName()
{
return $this->configName;
}
public function setCreativeType($creativeType)
{
$this->creativeType = $creativeType;
}
public function getCreativeType()
{
return $this->creativeType;
}
public function setDimensions($dimensions)
{
$this->dimensions = $dimensions;
}
public function getDimensions()
{
return $this->dimensions;
}
public function setExcludedContentLabels($excludedContentLabels)
{
$this->excludedContentLabels = $excludedContentLabels;
}
public function getExcludedContentLabels()
{
return $this->excludedContentLabels;
}
public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
{
$this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
}
public function getExcludedGeoCriteriaIds()
{
return $this->excludedGeoCriteriaIds;
}
public function setExcludedPlacements($excludedPlacements)
{
$this->excludedPlacements = $excludedPlacements;
}
public function getExcludedPlacements()
{
return $this->excludedPlacements;
}
public function setExcludedUserLists($excludedUserLists)
{
$this->excludedUserLists = $excludedUserLists;
}
public function getExcludedUserLists()
{
return $this->excludedUserLists;
}
public function setExcludedVerticals($excludedVerticals)
{
$this->excludedVerticals = $excludedVerticals;
}
public function getExcludedVerticals()
{
return $this->excludedVerticals;
}
public function setGeoCriteriaIds($geoCriteriaIds)
{
$this->geoCriteriaIds = $geoCriteriaIds;
}
public function getGeoCriteriaIds()
{
return $this->geoCriteriaIds;
}
public function setIsActive($isActive)
{
$this->isActive = $isActive;
}
public function getIsActive()
{
return $this->isActive;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
public function setMinimumViewabilityDecile($minimumViewabilityDecile)
{
$this->minimumViewabilityDecile = $minimumViewabilityDecile;
}
public function getMinimumViewabilityDecile()
{
return $this->minimumViewabilityDecile;
}
public function setMobileCarriers($mobileCarriers)
{
$this->mobileCarriers = $mobileCarriers;
}
public function getMobileCarriers()
{
return $this->mobileCarriers;
}
public function setMobileDevices($mobileDevices)
{
$this->mobileDevices = $mobileDevices;
}
public function getMobileDevices()
{
return $this->mobileDevices;
}
public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
{
$this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
}
public function getMobileOperatingSystemVersions()
{
return $this->mobileOperatingSystemVersions;
}
public function setPlacements($placements)
{
$this->placements = $placements;
}
public function getPlacements()
{
return $this->placements;
}
public function setPlatforms($platforms)
{
$this->platforms = $platforms;
}
public function getPlatforms()
{
return $this->platforms;
}
public function setSupportedCreativeAttributes($supportedCreativeAttributes)
{
$this->supportedCreativeAttributes = $supportedCreativeAttributes;
}
public function getSupportedCreativeAttributes()
{
return $this->supportedCreativeAttributes;
}
public function setUserIdentifierDataRequired($userIdentifierDataRequired)
{
$this->userIdentifierDataRequired = $userIdentifierDataRequired;
}
public function getUserIdentifierDataRequired()
{
return $this->userIdentifierDataRequired;
}
public function setUserLists($userLists)
{
$this->userLists = $userLists;
}
public function getUserLists()
{
return $this->userLists;
}
public function setVendorTypes($vendorTypes)
{
$this->vendorTypes = $vendorTypes;
}
public function getVendorTypes()
{
return $this->vendorTypes;
}
public function setVerticals($verticals)
{
$this->verticals = $verticals;
}
public function getVerticals()
{
return $this->verticals;
}
public function setVideoPlayerSizes($videoPlayerSizes)
{
$this->videoPlayerSizes = $videoPlayerSizes;
}
public function getVideoPlayerSizes()
{
return $this->videoPlayerSizes;
}
}

View file

@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
{
public $height;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View file

@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
{
public $token;
public $type;
public function setToken($token)
{
$this->token = $token;
}
public function getToken()
{
return $this->token;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View file

@ -0,0 +1,41 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
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;
}
}

View file

@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
{
public $token;
public $type;
public function setToken($token)
{
$this->token = $token;
}
public function getToken()
{
return $this->token;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View file

@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PretargetingConfigVideoPlayerSizes extends Google_Model
{
public $aspectRatio;
public $minHeight;
public $minWidth;
public function setAspectRatio($aspectRatio)
{
$this->aspectRatio = $aspectRatio;
}
public function getAspectRatio()
{
return $this->aspectRatio;
}
public function setMinHeight($minHeight)
{
$this->minHeight = $minHeight;
}
public function getMinHeight()
{
return $this->minHeight;
}
public function setMinWidth($minWidth)
{
$this->minWidth = $minWidth;
}
public function getMinWidth()
{
return $this->minWidth;
}
}

View file

@ -0,0 +1,57 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Price extends Google_Model
{
public $amountMicros;
public $currencyCode;
public $expectedCpmMicros;
public $pricingType;
public function setAmountMicros($amountMicros)
{
$this->amountMicros = $amountMicros;
}
public function getAmountMicros()
{
return $this->amountMicros;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setExpectedCpmMicros($expectedCpmMicros)
{
$this->expectedCpmMicros = $expectedCpmMicros;
}
public function getExpectedCpmMicros()
{
return $this->expectedCpmMicros;
}
public function setPricingType($pricingType)
{
$this->pricingType = $pricingType;
}
public function getPricingType()
{
return $this->pricingType;
}
}

View file

@ -0,0 +1,50 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PricePerBuyer extends Google_Model
{
public $auctionTier;
protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
protected $buyerDataType = '';
protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
protected $priceDataType = '';
public function setAuctionTier($auctionTier)
{
$this->auctionTier = $auctionTier;
}
public function getAuctionTier()
{
return $this->auctionTier;
}
public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
{
$this->buyer = $buyer;
}
public function getBuyer()
{
return $this->buyer;
}
public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
{
$this->price = $price;
}
public function getPrice()
{
return $this->price;
}
}

View file

@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_PrivateData extends Google_Model
{
public $referenceId;
public $referencePayload;
public function setReferenceId($referenceId)
{
$this->referenceId = $referenceId;
}
public function getReferenceId()
{
return $this->referenceId;
}
public function setReferencePayload($referencePayload)
{
$this->referencePayload = $referencePayload;
}
public function getReferencePayload()
{
return $this->referencePayload;
}
}

View file

@ -0,0 +1,245 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Product extends Google_Collection
{
protected $collection_key = 'sharedTargetings';
public $creationTimeMs;
protected $creatorContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
protected $creatorContactsDataType = 'array';
protected $deliveryControlType = 'Google_Service_AdExchangeBuyer_DeliveryControl';
protected $deliveryControlDataType = '';
public $flightEndTimeMs;
public $flightStartTimeMs;
public $hasCreatorSignedOff;
public $inventorySource;
public $kind;
protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
protected $labelsDataType = 'array';
public $lastUpdateTimeMs;
public $legacyOfferId;
public $marketplacePublisherProfileId;
public $name;
public $privateAuctionId;
public $productId;
public $publisherProfileId;
protected $publisherProvidedForecastType = 'Google_Service_AdExchangeBuyer_PublisherProvidedForecast';
protected $publisherProvidedForecastDataType = '';
public $revisionNumber;
protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
protected $sellerDataType = '';
protected $sharedTargetingsType = 'Google_Service_AdExchangeBuyer_SharedTargeting';
protected $sharedTargetingsDataType = 'array';
public $state;
public $syndicationProduct;
protected $termsType = 'Google_Service_AdExchangeBuyer_DealTerms';
protected $termsDataType = '';
public $webPropertyCode;
public function setCreationTimeMs($creationTimeMs)
{
$this->creationTimeMs = $creationTimeMs;
}
public function getCreationTimeMs()
{
return $this->creationTimeMs;
}
public function setCreatorContacts($creatorContacts)
{
$this->creatorContacts = $creatorContacts;
}
public function getCreatorContacts()
{
return $this->creatorContacts;
}
public function setDeliveryControl(Google_Service_AdExchangeBuyer_DeliveryControl $deliveryControl)
{
$this->deliveryControl = $deliveryControl;
}
public function getDeliveryControl()
{
return $this->deliveryControl;
}
public function setFlightEndTimeMs($flightEndTimeMs)
{
$this->flightEndTimeMs = $flightEndTimeMs;
}
public function getFlightEndTimeMs()
{
return $this->flightEndTimeMs;
}
public function setFlightStartTimeMs($flightStartTimeMs)
{
$this->flightStartTimeMs = $flightStartTimeMs;
}
public function getFlightStartTimeMs()
{
return $this->flightStartTimeMs;
}
public function setHasCreatorSignedOff($hasCreatorSignedOff)
{
$this->hasCreatorSignedOff = $hasCreatorSignedOff;
}
public function getHasCreatorSignedOff()
{
return $this->hasCreatorSignedOff;
}
public function setInventorySource($inventorySource)
{
$this->inventorySource = $inventorySource;
}
public function getInventorySource()
{
return $this->inventorySource;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
public function setLastUpdateTimeMs($lastUpdateTimeMs)
{
$this->lastUpdateTimeMs = $lastUpdateTimeMs;
}
public function getLastUpdateTimeMs()
{
return $this->lastUpdateTimeMs;
}
public function setLegacyOfferId($legacyOfferId)
{
$this->legacyOfferId = $legacyOfferId;
}
public function getLegacyOfferId()
{
return $this->legacyOfferId;
}
public function setMarketplacePublisherProfileId($marketplacePublisherProfileId)
{
$this->marketplacePublisherProfileId = $marketplacePublisherProfileId;
}
public function getMarketplacePublisherProfileId()
{
return $this->marketplacePublisherProfileId;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPrivateAuctionId($privateAuctionId)
{
$this->privateAuctionId = $privateAuctionId;
}
public function getPrivateAuctionId()
{
return $this->privateAuctionId;
}
public function setProductId($productId)
{
$this->productId = $productId;
}
public function getProductId()
{
return $this->productId;
}
public function setPublisherProfileId($publisherProfileId)
{
$this->publisherProfileId = $publisherProfileId;
}
public function getPublisherProfileId()
{
return $this->publisherProfileId;
}
public function setPublisherProvidedForecast(Google_Service_AdExchangeBuyer_PublisherProvidedForecast $publisherProvidedForecast)
{
$this->publisherProvidedForecast = $publisherProvidedForecast;
}
public function getPublisherProvidedForecast()
{
return $this->publisherProvidedForecast;
}
public function setRevisionNumber($revisionNumber)
{
$this->revisionNumber = $revisionNumber;
}
public function getRevisionNumber()
{
return $this->revisionNumber;
}
public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
{
$this->seller = $seller;
}
public function getSeller()
{
return $this->seller;
}
public function setSharedTargetings($sharedTargetings)
{
$this->sharedTargetings = $sharedTargetings;
}
public function getSharedTargetings()
{
return $this->sharedTargetings;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setSyndicationProduct($syndicationProduct)
{
$this->syndicationProduct = $syndicationProduct;
}
public function getSyndicationProduct()
{
return $this->syndicationProduct;
}
public function setTerms(Google_Service_AdExchangeBuyer_DealTerms $terms)
{
$this->terms = $terms;
}
public function getTerms()
{
return $this->terms;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

View file

@ -0,0 +1,236 @@
<?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.
*/
class Google_Service_AdExchangeBuyer_Proposal extends Google_Collection
{
protected $collection_key = 'sellerContacts';
protected $billedBuyerType = 'Google_Service_AdExchangeBuyer_Buyer';
protected $billedBuyerDataType = '';
protected $buyerType = 'Google_Service_AdExchangeBuyer_Buyer';
protected $buyerDataType = '';
protected $buyerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
protected $buyerContactsDataType = 'array';
protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyer_PrivateData';
protected $buyerPrivateDataDataType = '';
public $dbmAdvertiserIds;
public $hasBuyerSignedOff;
public $hasSellerSignedOff;
public $inventorySource;
public $isRenegotiating;
public $isSetupComplete;
public $kind;
protected $labelsType = 'Google_Service_AdExchangeBuyer_MarketplaceLabel';
protected $labelsDataType = 'array';
public $lastUpdaterOrCommentorRole;
public $name;
public $negotiationId;
public $originatorRole;
public $privateAuctionId;
public $proposalId;
public $proposalState;
public $revisionNumber;
public $revisionTimeMs;
protected $sellerType = 'Google_Service_AdExchangeBuyer_Seller';
protected $sellerDataType = '';
protected $sellerContactsType = 'Google_Service_AdExchangeBuyer_ContactInformation';
protected $sellerContactsDataType = 'array';
public function setBilledBuyer(Google_Service_AdExchangeBuyer_Buyer $billedBuyer)
{
$this->billedBuyer = $billedBuyer;
}
public function getBilledBuyer()
{
return $this->billedBuyer;
}
public function setBuyer(Google_Service_AdExchangeBuyer_Buyer $buyer)
{
$this->buyer = $buyer;
}
public function getBuyer()
{
return $this->buyer;
}
public function setBuyerContacts($buyerContacts)
{
$this->buyerContacts = $buyerContacts;
}
public function getBuyerContacts()
{
return $this->buyerContacts;
}
public function setBuyerPrivateData(Google_Service_AdExchangeBuyer_PrivateData $buyerPrivateData)
{
$this->buyerPrivateData = $buyerPrivateData;
}
public function getBuyerPrivateData()
{
return $this->buyerPrivateData;
}
public function setDbmAdvertiserIds($dbmAdvertiserIds)
{
$this->dbmAdvertiserIds = $dbmAdvertiserIds;
}
public function getDbmAdvertiserIds()
{
return $this->dbmAdvertiserIds;
}
public function setHasBuyerSignedOff($hasBuyerSignedOff)
{
$this->hasBuyerSignedOff = $hasBuyerSignedOff;
}
public function getHasBuyerSignedOff()
{
return $this->hasBuyerSignedOff;
}
public function setHasSellerSignedOff($hasSellerSignedOff)
{
$this->hasSellerSignedOff = $hasSellerSignedOff;
}
public function getHasSellerSignedOff()
{
return $this->hasSellerSignedOff;
}
public function setInventorySource($inventorySource)
{
$this->inventorySource = $inventorySource;
}
public function getInventorySource()
{
return $this->inventorySource;
}
public function setIsRenegotiating($isRenegotiating)
{
$this->isRenegotiating = $isRenegotiating;
}
public function getIsRenegotiating()
{
return $this->isRenegotiating;
}
public function setIsSetupComplete($isSetupComplete)
{
$this->isSetupComplete = $isSetupComplete;
}
public function getIsSetupComplete()
{
return $this->isSetupComplete;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLabels($labels)
{
$this->labels = $labels;
}
public function getLabels()
{
return $this->labels;
}
public function setLastUpdaterOrCommentorRole($lastUpdaterOrCommentorRole)
{
$this->lastUpdaterOrCommentorRole = $lastUpdaterOrCommentorRole;
}
public function getLastUpdaterOrCommentorRole()
{
return $this->lastUpdaterOrCommentorRole;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNegotiationId($negotiationId)
{
$this->negotiationId = $negotiationId;
}
public function getNegotiationId()
{
return $this->negotiationId;
}
public function setOriginatorRole($originatorRole)
{
$this->originatorRole = $originatorRole;
}
public function getOriginatorRole()
{
return $this->originatorRole;
}
public function setPrivateAuctionId($privateAuctionId)
{
$this->privateAuctionId = $privateAuctionId;
}
public function getPrivateAuctionId()
{
return $this->privateAuctionId;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
public function setProposalState($proposalState)
{
$this->proposalState = $proposalState;
}
public function getProposalState()
{
return $this->proposalState;
}
public function setRevisionNumber($revisionNumber)
{
$this->revisionNumber = $revisionNumber;
}
public function getRevisionNumber()
{
return $this->revisionNumber;
}
public function setRevisionTimeMs($revisionTimeMs)
{
$this->revisionTimeMs = $revisionTimeMs;
}
public function getRevisionTimeMs()
{
return $this->revisionTimeMs;
}
public function setSeller(Google_Service_AdExchangeBuyer_Seller $seller)
{
$this->seller = $seller;
}
public function getSeller()
{
return $this->seller;
}
public function setSellerContacts($sellerContacts)
{
$this->sellerContacts = $sellerContacts;
}
public function getSellerContacts()
{
return $this->sellerContacts;
}
}

Some files were not shown because too many files have changed in this diff Show more