Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?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_AdExchangeBuyerII_AddDealAssociationRequest extends Google_Model
{
protected $associationType = 'Google_Service_AdExchangeBuyerII_CreativeDealAssociation';
protected $associationDataType = '';
public function setAssociation(Google_Service_AdExchangeBuyerII_CreativeDealAssociation $association)
{
$this->association = $association;
}
public function getAssociation()
{
return $this->association;
}
}

View File

@@ -0,0 +1,20 @@
<?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_AdExchangeBuyerII_Adexchangebuyer2Empty extends Google_Model
{
}

View File

@@ -0,0 +1,31 @@
<?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_AdExchangeBuyerII_AppContext extends Google_Collection
{
protected $collection_key = 'appTypes';
public $appTypes;
public function setAppTypes($appTypes)
{
$this->appTypes = $appTypes;
}
public function getAppTypes()
{
return $this->appTypes;
}
}

View File

@@ -0,0 +1,31 @@
<?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_AdExchangeBuyerII_AuctionContext extends Google_Collection
{
protected $collection_key = 'auctionTypes';
public $auctionTypes;
public function setAuctionTypes($auctionTypes)
{
$this->auctionTypes = $auctionTypes;
}
public function getAuctionTypes()
{
return $this->auctionTypes;
}
}

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_AdExchangeBuyerII_Client extends Google_Model
{
public $clientAccountId;
public $clientName;
public $entityId;
public $entityName;
public $entityType;
public $role;
public $status;
public $visibleToSeller;
public function setClientAccountId($clientAccountId)
{
$this->clientAccountId = $clientAccountId;
}
public function getClientAccountId()
{
return $this->clientAccountId;
}
public function setClientName($clientName)
{
$this->clientName = $clientName;
}
public function getClientName()
{
return $this->clientName;
}
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
public function getEntityId()
{
return $this->entityId;
}
public function setEntityName($entityName)
{
$this->entityName = $entityName;
}
public function getEntityName()
{
return $this->entityName;
}
public function setEntityType($entityType)
{
$this->entityType = $entityType;
}
public function getEntityType()
{
return $this->entityType;
}
public function setRole($role)
{
$this->role = $role;
}
public function getRole()
{
return $this->role;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setVisibleToSeller($visibleToSeller)
{
$this->visibleToSeller = $visibleToSeller;
}
public function getVisibleToSeller()
{
return $this->visibleToSeller;
}
}

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_AdExchangeBuyerII_ClientUser extends Google_Model
{
public $clientAccountId;
public $email;
public $status;
public $userId;
public function setClientAccountId($clientAccountId)
{
$this->clientAccountId = $clientAccountId;
}
public function getClientAccountId()
{
return $this->clientAccountId;
}
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
public function setUserId($userId)
{
$this->userId = $userId;
}
public function getUserId()
{
return $this->userId;
}
}

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_AdExchangeBuyerII_ClientUserInvitation extends Google_Model
{
public $clientAccountId;
public $email;
public $invitationId;
public function setClientAccountId($clientAccountId)
{
$this->clientAccountId = $clientAccountId;
}
public function getClientAccountId()
{
return $this->clientAccountId;
}
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setInvitationId($invitationId)
{
$this->invitationId = $invitationId;
}
public function getInvitationId()
{
return $this->invitationId;
}
}

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_AdExchangeBuyerII_Correction extends Google_Collection
{
protected $collection_key = 'details';
protected $contextsType = 'Google_Service_AdExchangeBuyerII_ServingContext';
protected $contextsDataType = 'array';
public $details;
public $type;
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 setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,253 @@
<?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_AdExchangeBuyerII_Creative extends Google_Collection
{
protected $collection_key = 'vendorIds';
public $accountId;
public $adChoicesDestinationUrl;
public $advertiserName;
public $agencyId;
public $apiUpdateTime;
public $attributes;
public $clickThroughUrls;
protected $correctionsType = 'Google_Service_AdExchangeBuyerII_Correction';
protected $correctionsDataType = 'array';
public $creativeId;
public $dealsStatus;
public $detectedAdvertiserIds;
public $detectedDomains;
public $detectedLanguages;
public $detectedProductCategories;
public $detectedSensitiveCategories;
protected $filteringStatsType = 'Google_Service_AdExchangeBuyerII_FilteringStats';
protected $filteringStatsDataType = '';
protected $htmlType = 'Google_Service_AdExchangeBuyerII_HtmlContent';
protected $htmlDataType = '';
public $impressionTrackingUrls;
protected $nativeType = 'Google_Service_AdExchangeBuyerII_NativeContent';
protected $nativeDataType = '';
public $openAuctionStatus;
public $restrictedCategories;
protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyerII_ServingRestriction';
protected $servingRestrictionsDataType = 'array';
public $vendorIds;
public $version;
protected $videoType = 'Google_Service_AdExchangeBuyerII_VideoContent';
protected $videoDataType = '';
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 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 setApiUpdateTime($apiUpdateTime)
{
$this->apiUpdateTime = $apiUpdateTime;
}
public function getApiUpdateTime()
{
return $this->apiUpdateTime;
}
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
public function getAttributes()
{
return $this->attributes;
}
public function setClickThroughUrls($clickThroughUrls)
{
$this->clickThroughUrls = $clickThroughUrls;
}
public function getClickThroughUrls()
{
return $this->clickThroughUrls;
}
public function setCorrections($corrections)
{
$this->corrections = $corrections;
}
public function getCorrections()
{
return $this->corrections;
}
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;
}
public function getCreativeId()
{
return $this->creativeId;
}
public function setDealsStatus($dealsStatus)
{
$this->dealsStatus = $dealsStatus;
}
public function getDealsStatus()
{
return $this->dealsStatus;
}
public function setDetectedAdvertiserIds($detectedAdvertiserIds)
{
$this->detectedAdvertiserIds = $detectedAdvertiserIds;
}
public function getDetectedAdvertiserIds()
{
return $this->detectedAdvertiserIds;
}
public function setDetectedDomains($detectedDomains)
{
$this->detectedDomains = $detectedDomains;
}
public function getDetectedDomains()
{
return $this->detectedDomains;
}
public function setDetectedLanguages($detectedLanguages)
{
$this->detectedLanguages = $detectedLanguages;
}
public function getDetectedLanguages()
{
return $this->detectedLanguages;
}
public function setDetectedProductCategories($detectedProductCategories)
{
$this->detectedProductCategories = $detectedProductCategories;
}
public function getDetectedProductCategories()
{
return $this->detectedProductCategories;
}
public function setDetectedSensitiveCategories($detectedSensitiveCategories)
{
$this->detectedSensitiveCategories = $detectedSensitiveCategories;
}
public function getDetectedSensitiveCategories()
{
return $this->detectedSensitiveCategories;
}
public function setFilteringStats(Google_Service_AdExchangeBuyerII_FilteringStats $filteringStats)
{
$this->filteringStats = $filteringStats;
}
public function getFilteringStats()
{
return $this->filteringStats;
}
public function setHtml(Google_Service_AdExchangeBuyerII_HtmlContent $html)
{
$this->html = $html;
}
public function getHtml()
{
return $this->html;
}
public function setImpressionTrackingUrls($impressionTrackingUrls)
{
$this->impressionTrackingUrls = $impressionTrackingUrls;
}
public function getImpressionTrackingUrls()
{
return $this->impressionTrackingUrls;
}
public function setNative(Google_Service_AdExchangeBuyerII_NativeContent $native)
{
$this->native = $native;
}
public function getNative()
{
return $this->native;
}
public function setOpenAuctionStatus($openAuctionStatus)
{
$this->openAuctionStatus = $openAuctionStatus;
}
public function getOpenAuctionStatus()
{
return $this->openAuctionStatus;
}
public function setRestrictedCategories($restrictedCategories)
{
$this->restrictedCategories = $restrictedCategories;
}
public function getRestrictedCategories()
{
return $this->restrictedCategories;
}
public function setServingRestrictions($servingRestrictions)
{
$this->servingRestrictions = $servingRestrictions;
}
public function getServingRestrictions()
{
return $this->servingRestrictions;
}
public function setVendorIds($vendorIds)
{
$this->vendorIds = $vendorIds;
}
public function getVendorIds()
{
return $this->vendorIds;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
public function setVideo(Google_Service_AdExchangeBuyerII_VideoContent $video)
{
$this->video = $video;
}
public function getVideo()
{
return $this->video;
}
}

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_AdExchangeBuyerII_CreativeDealAssociation extends Google_Model
{
public $accountId;
public $creativeId;
public $dealsId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;
}
public function getCreativeId()
{
return $this->creativeId;
}
public function setDealsId($dealsId)
{
$this->dealsId = $dealsId;
}
public function getDealsId()
{
return $this->dealsId;
}
}

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_AdExchangeBuyerII_Date extends Google_Model
{
public $day;
public $month;
public $year;
public function setDay($day)
{
$this->day = $day;
}
public function getDay()
{
return $this->day;
}
public function setMonth($month)
{
$this->month = $month;
}
public function getMonth()
{
return $this->month;
}
public function setYear($year)
{
$this->year = $year;
}
public function getYear()
{
return $this->year;
}
}

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_AdExchangeBuyerII_Disapproval 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,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_AdExchangeBuyerII_FilteringStats extends Google_Collection
{
protected $collection_key = 'reasons';
protected $dateType = 'Google_Service_AdExchangeBuyerII_Date';
protected $dateDataType = '';
protected $reasonsType = 'Google_Service_AdExchangeBuyerII_Reason';
protected $reasonsDataType = 'array';
public function setDate(Google_Service_AdExchangeBuyerII_Date $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,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_AdExchangeBuyerII_HtmlContent extends Google_Model
{
public $height;
public $snippet;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setSnippet($snippet)
{
$this->snippet = $snippet;
}
public function getSnippet()
{
return $this->snippet;
}
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_AdExchangeBuyerII_Image 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,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_AdExchangeBuyerII_ListClientUserInvitationsResponse extends Google_Collection
{
protected $collection_key = 'invitations';
protected $invitationsType = 'Google_Service_AdExchangeBuyerII_ClientUserInvitation';
protected $invitationsDataType = 'array';
public $nextPageToken;
public function setInvitations($invitations)
{
$this->invitations = $invitations;
}
public function getInvitations()
{
return $this->invitations;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

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_AdExchangeBuyerII_ListClientUsersResponse extends Google_Collection
{
protected $collection_key = 'users';
public $nextPageToken;
protected $usersType = 'Google_Service_AdExchangeBuyerII_ClientUser';
protected $usersDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setUsers($users)
{
$this->users = $users;
}
public function getUsers()
{
return $this->users;
}
}

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_AdExchangeBuyerII_ListClientsResponse extends Google_Collection
{
protected $collection_key = 'clients';
protected $clientsType = 'Google_Service_AdExchangeBuyerII_Client';
protected $clientsDataType = 'array';
public $nextPageToken;
public function setClients($clients)
{
$this->clients = $clients;
}
public function getClients()
{
return $this->clients;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

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_AdExchangeBuyerII_ListCreativesResponse extends Google_Collection
{
protected $collection_key = 'creatives';
protected $creativesType = 'Google_Service_AdExchangeBuyerII_Creative';
protected $creativesDataType = 'array';
public $nextPageToken;
public function setCreatives($creatives)
{
$this->creatives = $creatives;
}
public function getCreatives()
{
return $this->creatives;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

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_AdExchangeBuyerII_ListDealAssociationsResponse extends Google_Collection
{
protected $collection_key = 'associations';
protected $associationsType = 'Google_Service_AdExchangeBuyerII_CreativeDealAssociation';
protected $associationsDataType = 'array';
public $nextPageToken;
public function setAssociations($associations)
{
$this->associations = $associations;
}
public function getAssociations()
{
return $this->associations;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,31 @@
<?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_AdExchangeBuyerII_LocationContext extends Google_Collection
{
protected $collection_key = 'geoCriteriaIds';
public $geoCriteriaIds;
public function setGeoCriteriaIds($geoCriteriaIds)
{
$this->geoCriteriaIds = $geoCriteriaIds;
}
public function getGeoCriteriaIds()
{
return $this->geoCriteriaIds;
}
}

View File

@@ -0,0 +1,141 @@
<?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_AdExchangeBuyerII_NativeContent extends Google_Model
{
public $advertiserName;
protected $appIconType = 'Google_Service_AdExchangeBuyerII_Image';
protected $appIconDataType = '';
public $body;
public $callToAction;
public $clickLinkUrl;
public $clickTrackingUrl;
public $headline;
protected $imageType = 'Google_Service_AdExchangeBuyerII_Image';
protected $imageDataType = '';
protected $logoType = 'Google_Service_AdExchangeBuyerII_Image';
protected $logoDataType = '';
public $priceDisplayText;
public $starRating;
public $storeUrl;
public $videoUrl;
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
public function getAdvertiserName()
{
return $this->advertiserName;
}
public function setAppIcon(Google_Service_AdExchangeBuyerII_Image $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_AdExchangeBuyerII_Image $image)
{
$this->image = $image;
}
public function getImage()
{
return $this->image;
}
public function setLogo(Google_Service_AdExchangeBuyerII_Image $logo)
{
$this->logo = $logo;
}
public function getLogo()
{
return $this->logo;
}
public function setPriceDisplayText($priceDisplayText)
{
$this->priceDisplayText = $priceDisplayText;
}
public function getPriceDisplayText()
{
return $this->priceDisplayText;
}
public function setStarRating($starRating)
{
$this->starRating = $starRating;
}
public function getStarRating()
{
return $this->starRating;
}
public function setStoreUrl($storeUrl)
{
$this->storeUrl = $storeUrl;
}
public function getStoreUrl()
{
return $this->storeUrl;
}
public function setVideoUrl($videoUrl)
{
$this->videoUrl = $videoUrl;
}
public function getVideoUrl()
{
return $this->videoUrl;
}
}

View File

@@ -0,0 +1,31 @@
<?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_AdExchangeBuyerII_PlatformContext extends Google_Collection
{
protected $collection_key = 'platforms';
public $platforms;
public function setPlatforms($platforms)
{
$this->platforms = $platforms;
}
public function getPlatforms()
{
return $this->platforms;
}
}

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_AdExchangeBuyerII_Reason extends Google_Model
{
public $count;
public $status;
public function setCount($count)
{
$this->count = $count;
}
public function getCount()
{
return $this->count;
}
public function setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,31 @@
<?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_AdExchangeBuyerII_RemoveDealAssociationRequest extends Google_Model
{
protected $associationType = 'Google_Service_AdExchangeBuyerII_CreativeDealAssociation';
protected $associationDataType = '';
public function setAssociation(Google_Service_AdExchangeBuyerII_CreativeDealAssociation $association)
{
$this->association = $association;
}
public function getAssociation()
{
return $this->association;
}
}

View File

@@ -0,0 +1,28 @@
<?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 "accounts" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $accounts = $adexchangebuyer2Service->accounts;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_Accounts extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,101 @@
<?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 "clients" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $clients = $adexchangebuyer2Service->clients;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsClients extends Google_Service_Resource
{
/**
* Creates a new client buyer. (clients.create)
*
* @param string $accountId Unique numerical account ID for the buyer of which
* the client buyer is a customer; the sponsor buyer to create a client for.
* (required)
* @param Google_Service_AdExchangeBuyerII_Client $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Client
*/
public function create($accountId, Google_Service_AdExchangeBuyerII_Client $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_Client");
}
/**
* Gets a client buyer with a given client account ID. (clients.get)
*
* @param string $accountId Numerical account ID of the client's sponsor buyer.
* (required)
* @param string $clientAccountId Numerical account ID of the client buyer to
* retrieve. (required)
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Client
*/
public function get($accountId, $clientAccountId, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Client");
}
/**
* Lists all the clients for the current sponsor buyer.
* (clients.listAccountsClients)
*
* @param string $accountId Unique numerical account ID of the sponsor buyer to
* list the clients for.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListClientsResponse.nextPageToken returned from the previous call to the
* accounts.clients.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* clients than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListClientsResponse
*/
public function listAccountsClients($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientsResponse");
}
/**
* Updates an existing client buyer. (clients.update)
*
* @param string $accountId Unique numerical account ID for the buyer of which
* the client buyer is a customer; the sponsor buyer to update a client for.
* (required)
* @param string $clientAccountId Unique numerical account ID of the client to
* update. (required)
* @param Google_Service_AdExchangeBuyerII_Client $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Client
*/
public function update($accountId, $clientAccountId, Google_Service_AdExchangeBuyerII_Client $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_Client");
}
}

View File

@@ -0,0 +1,90 @@
<?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 "invitations" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $invitations = $adexchangebuyer2Service->invitations;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations extends Google_Service_Resource
{
/**
* Creates and sends out an email invitation to access an Ad Exchange client
* buyer account. (invitations.create)
*
* @param string $accountId Numerical account ID of the client's sponsor buyer.
* (required)
* @param string $clientAccountId Numerical account ID of the client buyer that
* the user should be associated with. (required)
* @param Google_Service_AdExchangeBuyerII_ClientUserInvitation $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_ClientUserInvitation
*/
public function create($accountId, $clientAccountId, Google_Service_AdExchangeBuyerII_ClientUserInvitation $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_ClientUserInvitation");
}
/**
* Retrieves an existing client user invitation. (invitations.get)
*
* @param string $accountId Numerical account ID of the client's sponsor buyer.
* (required)
* @param string $clientAccountId Numerical account ID of the client buyer that
* the user invitation to be retrieved is associated with. (required)
* @param string $invitationId Numerical identifier of the user invitation to
* retrieve. (required)
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_ClientUserInvitation
*/
public function get($accountId, $clientAccountId, $invitationId, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'invitationId' => $invitationId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_ClientUserInvitation");
}
/**
* Lists all the client users invitations for a client with a given account ID.
* (invitations.listAccountsClientsInvitations)
*
* @param string $accountId Numerical account ID of the client's sponsor buyer.
* (required)
* @param string $clientAccountId Numerical account ID of the client buyer to
* list invitations for. (required) You must either specify a string
* representation of a numerical account identifier or the `-` character to list
* all the invitations for all the clients of a given sponsor buyer.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListClientUserInvitationsResponse.nextPageToken returned from the previous
* call to the clients.invitations.list method.
* @opt_param int pageSize Requested page size. Server may return fewer clients
* than requested. If unspecified, server will pick an appropriate default.
* @return Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse
*/
public function listAccountsClientsInvitations($accountId, $clientAccountId, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientUserInvitationsResponse");
}
}

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.
*/
/**
* The "users" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $users = $adexchangebuyer2Service->users;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsClientsUsers extends Google_Service_Resource
{
/**
* Retrieves an existing client user. (users.get)
*
* @param string $accountId Numerical account ID of the client's sponsor buyer.
* (required)
* @param string $clientAccountId Numerical account ID of the client buyer that
* the user to be retrieved is associated with. (required)
* @param string $userId Numerical identifier of the user to retrieve.
* (required)
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_ClientUser
*/
public function get($accountId, $clientAccountId, $userId, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'userId' => $userId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_ClientUser");
}
/**
* Lists all the known client users for a specified sponsor buyer account ID.
* (users.listAccountsClientsUsers)
*
* @param string $accountId Numerical account ID of the sponsor buyer of the
* client to list users for. (required)
* @param string $clientAccountId The account ID of the client buyer to list
* users for. (required) You must specify either a string representation of a
* numerical account identifier or the `-` character to list all the client
* users for all the clients of a given sponsor buyer.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListClientUsersResponse.nextPageToken returned from the previous call to the
* accounts.clients.users.list method.
* @opt_param int pageSize Requested page size. The server may return fewer
* clients than requested. If unspecified, the server will pick an appropriate
* default.
* @return Google_Service_AdExchangeBuyerII_ListClientUsersResponse
*/
public function listAccountsClientsUsers($accountId, $clientAccountId, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListClientUsersResponse");
}
/**
* Updates an existing client user. Only the user status can be changed on
* update. (users.update)
*
* @param string $accountId Numerical account ID of the client's sponsor buyer.
* (required)
* @param string $clientAccountId Numerical account ID of the client buyer that
* the user to be retrieved is associated with. (required)
* @param string $userId Numerical identifier of the user to retrieve.
* (required)
* @param Google_Service_AdExchangeBuyerII_ClientUser $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_ClientUser
*/
public function update($accountId, $clientAccountId, $userId, Google_Service_AdExchangeBuyerII_ClientUser $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId, 'userId' => $userId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_ClientUser");
}
}

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.
*/
/**
* The "creatives" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $creatives = $adexchangebuyer2Service->creatives;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsCreatives extends Google_Service_Resource
{
/**
* Creates a creative. (creatives.create)
*
* @param string $accountId The account that this creative belongs to. Can be
* used to filter the response of the creatives.list method.
* @param Google_Service_AdExchangeBuyerII_Creative $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string duplicateIdMode Indicates if multiple creatives can share
* an ID or not. Default is NO_DUPLICATES (one ID per creative).
* @return Google_Service_AdExchangeBuyerII_Creative
*/
public function create($accountId, Google_Service_AdExchangeBuyerII_Creative $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AdExchangeBuyerII_Creative");
}
/**
* Gets a creative. (creatives.get)
*
* @param string $accountId The account the creative belongs to.
* @param string $creativeId The ID of the creative to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Creative
*/
public function get($accountId, $creativeId, $optParams = array())
{
$params = array('accountId' => $accountId, 'creativeId' => $creativeId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AdExchangeBuyerII_Creative");
}
/**
* Lists creatives. (creatives.listAccountsCreatives)
*
* @param string $accountId The account to list the creatives from. Specify "-"
* to list all creatives the current user has access to.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListCreativesResponse.next_page_token returned from the previous call to
* 'ListCreatives' method.
* @opt_param int pageSize Requested page size. The server may return fewer
* creatives than requested (due to timeout constraint) even if more are
* available via another call. If unspecified, server will pick an appropriate
* default. Acceptable values are 1 to 1000, inclusive.
* @opt_param string query An optional query string to filter creatives. If no
* filter is specified, all active creatives will be returned. Supported queries
* are:
*
* accountId=account_id_string creativeId=creative_id_string dealsStatus:
* {approved, conditionally_approved, disapproved,
* not_checked} openAuctionStatus: {approved, conditionally_approved,
* disapproved, not_checked} attribute: {a numeric
* attribute from the list of attributes} disapprovalReason: {a reason from
* DisapprovalReason
*
* Example: 'accountId=12345 AND (dealsStatus:disapproved AND
* disapprovalReason:unacceptable_content) OR attribute:47'
* @return Google_Service_AdExchangeBuyerII_ListCreativesResponse
*/
public function listAccountsCreatives($accountId, $optParams = array())
{
$params = array('accountId' => $accountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListCreativesResponse");
}
/**
* Stops watching a creative. Will stop push notifications being sent to the
* topics when the creative changes status. (creatives.stopWatching)
*
* @param string $accountId The account of the creative to stop notifications
* for.
* @param string $creativeId The creative ID of the creative to stop
* notifications for. Specify "-" to specify stopping account level
* notifications.
* @param Google_Service_AdExchangeBuyerII_StopWatchingCreativeRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
*/
public function stopWatching($accountId, $creativeId, Google_Service_AdExchangeBuyerII_StopWatchingCreativeRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('stopWatching', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
}
/**
* Updates a creative. (creatives.update)
*
* @param string $accountId The account that this creative belongs to. Can be
* used to filter the response of the creatives.list method.
* @param string $creativeId The buyer-defined creative ID of this creative. Can
* be used to filter the response of the creatives.list method.
* @param Google_Service_AdExchangeBuyerII_Creative $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Creative
*/
public function update($accountId, $creativeId, Google_Service_AdExchangeBuyerII_Creative $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_AdExchangeBuyerII_Creative");
}
/**
* Watches a creative. Will result in push notifications being sent to the topic
* when the creative changes status. (creatives.watch)
*
* @param string $accountId The account of the creative to watch.
* @param string $creativeId The creative ID to watch for status changes.
* Specify "-" to watch all creatives under the above account. If both creative-
* level and account-level notifications are sent, only a single notification
* will be sent to the creative-level notification topic.
* @param Google_Service_AdExchangeBuyerII_WatchCreativeRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
*/
public function watch($accountId, $creativeId, Google_Service_AdExchangeBuyerII_WatchCreativeRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('watch', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
}
}

View File

@@ -0,0 +1,94 @@
<?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 "dealAssociations" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google_Service_AdExchangeBuyerII(...);
* $dealAssociations = $adexchangebuyer2Service->dealAssociations;
* </code>
*/
class Google_Service_AdExchangeBuyerII_Resource_AccountsCreativesDealAssociations extends Google_Service_Resource
{
/**
* Associate an existing deal with a creative. (dealAssociations.add)
*
* @param string $accountId The account the creative belongs to.
* @param string $creativeId The ID of the creative associated with the deal.
* @param Google_Service_AdExchangeBuyerII_AddDealAssociationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
*/
public function add($accountId, $creativeId, Google_Service_AdExchangeBuyerII_AddDealAssociationRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('add', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
}
/**
* List all creative-deal associations.
* (dealAssociations.listAccountsCreativesDealAssociations)
*
* @param string $accountId The account to list the associations from. Specify
* "-" to list all creatives the current user has access to.
* @param string $creativeId The creative ID to list the associations from.
* Specify "-" to list all creatives under the above account.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying a page of results the server
* should return. Typically, this is the value of
* ListDealAssociationsResponse.next_page_token returned from the previous call
* to 'ListDealAssociations' method.
* @opt_param int pageSize Requested page size. Server may return fewer
* associations than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string query An optional query string to filter deal associations.
* If no filter is specified, all associations will be returned. Supported
* queries are:
*
* accountId=account_id_string creativeId=creative_id_string
* dealsId=deals_id_string dealsStatus:{approved, conditionally_approved,
* disapproved, not_checked} openAuctionStatus:{approved,
* conditionally_approved, disapproved, not_checked}
*
* Example: 'dealsId=12345 AND dealsStatus:disapproved'
* @return Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse
*/
public function listAccountsCreativesDealAssociations($accountId, $creativeId, $optParams = array())
{
$params = array('accountId' => $accountId, 'creativeId' => $creativeId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListDealAssociationsResponse");
}
/**
* Remove the association between a deal and a creative.
* (dealAssociations.remove)
*
* @param string $accountId The account the creative belongs to.
* @param string $creativeId The ID of the creative associated with the deal.
* @param Google_Service_AdExchangeBuyerII_RemoveDealAssociationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty
*/
public function remove($accountId, $creativeId, Google_Service_AdExchangeBuyerII_RemoveDealAssociationRequest $postBody, $optParams = array())
{
$params = array('accountId' => $accountId, 'creativeId' => $creativeId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('remove', array($params), "Google_Service_AdExchangeBuyerII_Adexchangebuyer2Empty");
}
}

View File

@@ -0,0 +1,31 @@
<?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_AdExchangeBuyerII_SecurityContext extends Google_Collection
{
protected $collection_key = 'securities';
public $securities;
public function setSecurities($securities)
{
$this->securities = $securities;
}
public function getSecurities()
{
return $this->securities;
}
}

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_ServingContext extends Google_Model
{
public $all;
protected $appTypeType = 'Google_Service_AdExchangeBuyerII_AppContext';
protected $appTypeDataType = '';
protected $auctionTypeType = 'Google_Service_AdExchangeBuyerII_AuctionContext';
protected $auctionTypeDataType = '';
protected $locationType = 'Google_Service_AdExchangeBuyerII_LocationContext';
protected $locationDataType = '';
protected $platformType = 'Google_Service_AdExchangeBuyerII_PlatformContext';
protected $platformDataType = '';
protected $securityTypeType = 'Google_Service_AdExchangeBuyerII_SecurityContext';
protected $securityTypeDataType = '';
public function setAll($all)
{
$this->all = $all;
}
public function getAll()
{
return $this->all;
}
public function setAppType(Google_Service_AdExchangeBuyerII_AppContext $appType)
{
$this->appType = $appType;
}
public function getAppType()
{
return $this->appType;
}
public function setAuctionType(Google_Service_AdExchangeBuyerII_AuctionContext $auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setLocation(Google_Service_AdExchangeBuyerII_LocationContext $location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
public function setPlatform(Google_Service_AdExchangeBuyerII_PlatformContext $platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
public function setSecurityType(Google_Service_AdExchangeBuyerII_SecurityContext $securityType)
{
$this->securityType = $securityType;
}
public function getSecurityType()
{
return $this->securityType;
}
}

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_AdExchangeBuyerII_ServingRestriction extends Google_Collection
{
protected $collection_key = 'disapprovalReasons';
protected $contextsType = 'Google_Service_AdExchangeBuyerII_ServingContext';
protected $contextsDataType = 'array';
protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyerII_Disapproval';
protected $disapprovalReasonsDataType = 'array';
public $status;
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 setStatus($status)
{
$this->status = $status;
}
public function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,20 @@
<?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_AdExchangeBuyerII_StopWatchingCreativeRequest extends Google_Model
{
}

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_AdExchangeBuyerII_VideoContent extends Google_Model
{
public $videoUrl;
public function setVideoUrl($videoUrl)
{
$this->videoUrl = $videoUrl;
}
public function getVideoUrl()
{
return $this->videoUrl;
}
}

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_AdExchangeBuyerII_WatchCreativeRequest extends Google_Model
{
public $topic;
public function setTopic($topic)
{
$this->topic = $topic;
}
public function getTopic()
{
return $this->topic;
}
}