gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,243 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonAdScheduleInfo extends \Google\Model
{
/**
* Not specified.
*/
public const DAY_OF_WEEK_UNSPECIFIED = 'UNSPECIFIED';
/**
* The value is unknown in this version.
*/
public const DAY_OF_WEEK_UNKNOWN = 'UNKNOWN';
/**
* Monday.
*/
public const DAY_OF_WEEK_MONDAY = 'MONDAY';
/**
* Tuesday.
*/
public const DAY_OF_WEEK_TUESDAY = 'TUESDAY';
/**
* Wednesday.
*/
public const DAY_OF_WEEK_WEDNESDAY = 'WEDNESDAY';
/**
* Thursday.
*/
public const DAY_OF_WEEK_THURSDAY = 'THURSDAY';
/**
* Friday.
*/
public const DAY_OF_WEEK_FRIDAY = 'FRIDAY';
/**
* Saturday.
*/
public const DAY_OF_WEEK_SATURDAY = 'SATURDAY';
/**
* Sunday.
*/
public const DAY_OF_WEEK_SUNDAY = 'SUNDAY';
/**
* Not specified.
*/
public const END_MINUTE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The value is unknown in this version.
*/
public const END_MINUTE_UNKNOWN = 'UNKNOWN';
/**
* Zero minutes past the hour.
*/
public const END_MINUTE_ZERO = 'ZERO';
/**
* Fifteen minutes past the hour.
*/
public const END_MINUTE_FIFTEEN = 'FIFTEEN';
/**
* Thirty minutes past the hour.
*/
public const END_MINUTE_THIRTY = 'THIRTY';
/**
* Forty-five minutes past the hour.
*/
public const END_MINUTE_FORTY_FIVE = 'FORTY_FIVE';
/**
* Not specified.
*/
public const START_MINUTE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The value is unknown in this version.
*/
public const START_MINUTE_UNKNOWN = 'UNKNOWN';
/**
* Zero minutes past the hour.
*/
public const START_MINUTE_ZERO = 'ZERO';
/**
* Fifteen minutes past the hour.
*/
public const START_MINUTE_FIFTEEN = 'FIFTEEN';
/**
* Thirty minutes past the hour.
*/
public const START_MINUTE_THIRTY = 'THIRTY';
/**
* Forty-five minutes past the hour.
*/
public const START_MINUTE_FORTY_FIVE = 'FORTY_FIVE';
/**
* Day of the week the schedule applies to. This field is required for CREATE
* operations and is prohibited on UPDATE operations.
*
* @var string
*/
public $dayOfWeek;
/**
* Ending hour in 24 hour time; 24 signifies end of the day. This field must
* be between 0 and 24, inclusive. This field is required for CREATE
* operations and is prohibited on UPDATE operations.
*
* @var int
*/
public $endHour;
/**
* Minutes after the end hour at which this schedule ends. The schedule is
* exclusive of the end minute. This field is required for CREATE operations
* and is prohibited on UPDATE operations.
*
* @var string
*/
public $endMinute;
/**
* Starting hour in 24 hour time. This field must be between 0 and 23,
* inclusive. This field is required for CREATE operations and is prohibited
* on UPDATE operations.
*
* @var int
*/
public $startHour;
/**
* Minutes after the start hour at which this schedule starts. This field is
* required for CREATE operations and is prohibited on UPDATE operations.
*
* @var string
*/
public $startMinute;
/**
* Day of the week the schedule applies to. This field is required for CREATE
* operations and is prohibited on UPDATE operations.
*
* Accepted values: UNSPECIFIED, UNKNOWN, MONDAY, TUESDAY, WEDNESDAY,
* THURSDAY, FRIDAY, SATURDAY, SUNDAY
*
* @param self::DAY_OF_WEEK_* $dayOfWeek
*/
public function setDayOfWeek($dayOfWeek)
{
$this->dayOfWeek = $dayOfWeek;
}
/**
* @return self::DAY_OF_WEEK_*
*/
public function getDayOfWeek()
{
return $this->dayOfWeek;
}
/**
* Ending hour in 24 hour time; 24 signifies end of the day. This field must
* be between 0 and 24, inclusive. This field is required for CREATE
* operations and is prohibited on UPDATE operations.
*
* @param int $endHour
*/
public function setEndHour($endHour)
{
$this->endHour = $endHour;
}
/**
* @return int
*/
public function getEndHour()
{
return $this->endHour;
}
/**
* Minutes after the end hour at which this schedule ends. The schedule is
* exclusive of the end minute. This field is required for CREATE operations
* and is prohibited on UPDATE operations.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ZERO, FIFTEEN, THIRTY, FORTY_FIVE
*
* @param self::END_MINUTE_* $endMinute
*/
public function setEndMinute($endMinute)
{
$this->endMinute = $endMinute;
}
/**
* @return self::END_MINUTE_*
*/
public function getEndMinute()
{
return $this->endMinute;
}
/**
* Starting hour in 24 hour time. This field must be between 0 and 23,
* inclusive. This field is required for CREATE operations and is prohibited
* on UPDATE operations.
*
* @param int $startHour
*/
public function setStartHour($startHour)
{
$this->startHour = $startHour;
}
/**
* @return int
*/
public function getStartHour()
{
return $this->startHour;
}
/**
* Minutes after the start hour at which this schedule starts. This field is
* required for CREATE operations and is prohibited on UPDATE operations.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ZERO, FIFTEEN, THIRTY, FORTY_FIVE
*
* @param self::START_MINUTE_* $startMinute
*/
public function setStartMinute($startMinute)
{
$this->startMinute = $startMinute;
}
/**
* @return self::START_MINUTE_*
*/
public function getStartMinute()
{
return $this->startMinute;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonAdScheduleInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonAdScheduleInfo');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonAdTextAsset extends \Google\Model
{
/**
* Asset text.
*
* @var string
*/
public $text;
/**
* Asset text.
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonAdTextAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonAdTextAsset');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonAgeRangeInfo extends \Google\Model
{
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Between 18 and 24 years old.
*/
public const TYPE_AGE_RANGE_18_24 = 'AGE_RANGE_18_24';
/**
* Between 25 and 34 years old.
*/
public const TYPE_AGE_RANGE_25_34 = 'AGE_RANGE_25_34';
/**
* Between 35 and 44 years old.
*/
public const TYPE_AGE_RANGE_35_44 = 'AGE_RANGE_35_44';
/**
* Between 45 and 54 years old.
*/
public const TYPE_AGE_RANGE_45_54 = 'AGE_RANGE_45_54';
/**
* Between 55 and 64 years old.
*/
public const TYPE_AGE_RANGE_55_64 = 'AGE_RANGE_55_64';
/**
* 65 years old and beyond.
*/
public const TYPE_AGE_RANGE_65_UP = 'AGE_RANGE_65_UP';
/**
* Undetermined age range.
*/
public const TYPE_AGE_RANGE_UNDETERMINED = 'AGE_RANGE_UNDETERMINED';
/**
* Type of the age range.
*
* @var string
*/
public $type;
/**
* Type of the age range.
*
* Accepted values: UNSPECIFIED, UNKNOWN, AGE_RANGE_18_24, AGE_RANGE_25_34,
* AGE_RANGE_35_44, AGE_RANGE_45_54, AGE_RANGE_55_64, AGE_RANGE_65_UP,
* AGE_RANGE_UNDETERMINED
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonAgeRangeInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonAgeRangeInfo');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonAssetInteractionTarget extends \Google\Model
{
/**
* The asset resource name.
*
* @var string
*/
public $asset;
/**
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself or a
* different asset or ad unit.
*
* @var bool
*/
public $interactionOnThisAsset;
/**
* The asset resource name.
*
* @param string $asset
*/
public function setAsset($asset)
{
$this->asset = $asset;
}
/**
* @return string
*/
public function getAsset()
{
return $this->asset;
}
/**
* Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics.
* Indicates whether the interaction metrics occurred on the asset itself or a
* different asset or ad unit.
*
* @param bool $interactionOnThisAsset
*/
public function setInteractionOnThisAsset($interactionOnThisAsset)
{
$this->interactionOnThisAsset = $interactionOnThisAsset;
}
/**
* @return bool
*/
public function getInteractionOnThisAsset()
{
return $this->interactionOnThisAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonAssetInteractionTarget::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonAssetInteractionTarget');
@@ -0,0 +1,261 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonAssetUsage extends \Google\Model
{
/**
* No value has been specified.
*/
public const SERVED_ASSET_FIELD_TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const SERVED_ASSET_FIELD_TYPE_UNKNOWN = 'UNKNOWN';
/**
* The asset is used in headline 1.
*/
public const SERVED_ASSET_FIELD_TYPE_HEADLINE_1 = 'HEADLINE_1';
/**
* The asset is used in headline 2.
*/
public const SERVED_ASSET_FIELD_TYPE_HEADLINE_2 = 'HEADLINE_2';
/**
* The asset is used in headline 3.
*/
public const SERVED_ASSET_FIELD_TYPE_HEADLINE_3 = 'HEADLINE_3';
/**
* The asset is used in description 1.
*/
public const SERVED_ASSET_FIELD_TYPE_DESCRIPTION_1 = 'DESCRIPTION_1';
/**
* The asset is used in description 2.
*/
public const SERVED_ASSET_FIELD_TYPE_DESCRIPTION_2 = 'DESCRIPTION_2';
/**
* The asset was used in a headline. Use this only if there is only one
* headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or HEADLINE_3
* enums
*/
public const SERVED_ASSET_FIELD_TYPE_HEADLINE = 'HEADLINE';
/**
* The asset was used as a headline in portrait image.
*/
public const SERVED_ASSET_FIELD_TYPE_HEADLINE_IN_PORTRAIT = 'HEADLINE_IN_PORTRAIT';
/**
* The asset was used in a long headline (used in MultiAssetResponsiveAd).
*/
public const SERVED_ASSET_FIELD_TYPE_LONG_HEADLINE = 'LONG_HEADLINE';
/**
* The asset was used in a description. Use this only if there is only one
* description in the ad. Otherwise, use the DESCRIPTION_1 or DESCRIPTION_@
* enums
*/
public const SERVED_ASSET_FIELD_TYPE_DESCRIPTION = 'DESCRIPTION';
/**
* The asset was used as description in portrait image.
*/
public const SERVED_ASSET_FIELD_TYPE_DESCRIPTION_IN_PORTRAIT = 'DESCRIPTION_IN_PORTRAIT';
/**
* The asset was used as business name in portrait image.
*/
public const SERVED_ASSET_FIELD_TYPE_BUSINESS_NAME_IN_PORTRAIT = 'BUSINESS_NAME_IN_PORTRAIT';
/**
* The asset was used as business name.
*/
public const SERVED_ASSET_FIELD_TYPE_BUSINESS_NAME = 'BUSINESS_NAME';
/**
* The asset was used as a marketing image.
*/
public const SERVED_ASSET_FIELD_TYPE_MARKETING_IMAGE = 'MARKETING_IMAGE';
/**
* The asset was used as a marketing image in portrait image.
*/
public const SERVED_ASSET_FIELD_TYPE_MARKETING_IMAGE_IN_PORTRAIT = 'MARKETING_IMAGE_IN_PORTRAIT';
/**
* The asset was used as a square marketing image.
*/
public const SERVED_ASSET_FIELD_TYPE_SQUARE_MARKETING_IMAGE = 'SQUARE_MARKETING_IMAGE';
/**
* The asset was used as a portrait marketing image.
*/
public const SERVED_ASSET_FIELD_TYPE_PORTRAIT_MARKETING_IMAGE = 'PORTRAIT_MARKETING_IMAGE';
/**
* The asset was used as a logo.
*/
public const SERVED_ASSET_FIELD_TYPE_LOGO = 'LOGO';
/**
* The asset was used as a landscape logo.
*/
public const SERVED_ASSET_FIELD_TYPE_LANDSCAPE_LOGO = 'LANDSCAPE_LOGO';
/**
* The asset was used as a call-to-action.
*/
public const SERVED_ASSET_FIELD_TYPE_CALL_TO_ACTION = 'CALL_TO_ACTION';
/**
* The asset was used as a YouTube video.
*/
public const SERVED_ASSET_FIELD_TYPE_YOU_TUBE_VIDEO = 'YOU_TUBE_VIDEO';
/**
* This asset is used as a sitelink.
*/
public const SERVED_ASSET_FIELD_TYPE_SITELINK = 'SITELINK';
/**
* This asset is used as a call.
*/
public const SERVED_ASSET_FIELD_TYPE_CALL = 'CALL';
/**
* This asset is used as a mobile app.
*/
public const SERVED_ASSET_FIELD_TYPE_MOBILE_APP = 'MOBILE_APP';
/**
* This asset is used as a callout.
*/
public const SERVED_ASSET_FIELD_TYPE_CALLOUT = 'CALLOUT';
/**
* This asset is used as a structured snippet.
*/
public const SERVED_ASSET_FIELD_TYPE_STRUCTURED_SNIPPET = 'STRUCTURED_SNIPPET';
/**
* This asset is used as a price.
*/
public const SERVED_ASSET_FIELD_TYPE_PRICE = 'PRICE';
/**
* This asset is used as a promotion.
*/
public const SERVED_ASSET_FIELD_TYPE_PROMOTION = 'PROMOTION';
/**
* This asset is used as an image.
*/
public const SERVED_ASSET_FIELD_TYPE_AD_IMAGE = 'AD_IMAGE';
/**
* The asset is used as a lead form.
*/
public const SERVED_ASSET_FIELD_TYPE_LEAD_FORM = 'LEAD_FORM';
/**
* The asset is used as a business logo.
*/
public const SERVED_ASSET_FIELD_TYPE_BUSINESS_LOGO = 'BUSINESS_LOGO';
/**
* The asset is used as a description prefix.
*/
public const SERVED_ASSET_FIELD_TYPE_DESCRIPTION_PREFIX = 'DESCRIPTION_PREFIX';
/**
* The asset is used as an app icon.
*/
public const SERVED_ASSET_FIELD_TYPE_APP_ICON = 'APP_ICON';
/**
* The asset is used as an app title.
*/
public const SERVED_ASSET_FIELD_TYPE_APP_TITLE = 'APP_TITLE';
/**
* The asset is used as an app screenshot.
*/
public const SERVED_ASSET_FIELD_TYPE_APP_SCREENSHOT = 'APP_SCREENSHOT';
/**
* The asset is used as an app cover photo.
*/
public const SERVED_ASSET_FIELD_TYPE_APP_COVER_PHOTO = 'APP_COVER_PHOTO';
/**
* The asset is used as an app short description.
*/
public const SERVED_ASSET_FIELD_TYPE_APP_SHORT_DESCRIPTION = 'APP_SHORT_DESCRIPTION';
/**
* The asset is used as an app developer name.
*/
public const SERVED_ASSET_FIELD_TYPE_APP_DEVELOPER_NAME = 'APP_DEVELOPER_NAME';
/**
* A headline asset used as a sitelink in position 1.
*/
public const SERVED_ASSET_FIELD_TYPE_HEADLINE_AS_SITELINK_POSITION_ONE = 'HEADLINE_AS_SITELINK_POSITION_ONE';
/**
* A headline asset used as a sitelink in position 2.
*/
public const SERVED_ASSET_FIELD_TYPE_HEADLINE_AS_SITELINK_POSITION_TWO = 'HEADLINE_AS_SITELINK_POSITION_TWO';
/**
* A description line asset used as a sitelink in position 1.
*/
public const SERVED_ASSET_FIELD_TYPE_DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_ONE = 'DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_ONE';
/**
* A description line asset used as a sitelink in position 2.
*/
public const SERVED_ASSET_FIELD_TYPE_DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_TWO = 'DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_TWO';
/**
* Resource name of the asset.
*
* @var string
*/
public $asset;
/**
* The served field type of the asset.
*
* @var string
*/
public $servedAssetFieldType;
/**
* Resource name of the asset.
*
* @param string $asset
*/
public function setAsset($asset)
{
$this->asset = $asset;
}
/**
* @return string
*/
public function getAsset()
{
return $this->asset;
}
/**
* The served field type of the asset.
*
* Accepted values: UNSPECIFIED, UNKNOWN, HEADLINE_1, HEADLINE_2, HEADLINE_3,
* DESCRIPTION_1, DESCRIPTION_2, HEADLINE, HEADLINE_IN_PORTRAIT,
* LONG_HEADLINE, DESCRIPTION, DESCRIPTION_IN_PORTRAIT,
* BUSINESS_NAME_IN_PORTRAIT, BUSINESS_NAME, MARKETING_IMAGE,
* MARKETING_IMAGE_IN_PORTRAIT, SQUARE_MARKETING_IMAGE,
* PORTRAIT_MARKETING_IMAGE, LOGO, LANDSCAPE_LOGO, CALL_TO_ACTION,
* YOU_TUBE_VIDEO, SITELINK, CALL, MOBILE_APP, CALLOUT, STRUCTURED_SNIPPET,
* PRICE, PROMOTION, AD_IMAGE, LEAD_FORM, BUSINESS_LOGO, DESCRIPTION_PREFIX,
* APP_ICON, APP_TITLE, APP_SCREENSHOT, APP_COVER_PHOTO,
* APP_SHORT_DESCRIPTION, APP_DEVELOPER_NAME,
* HEADLINE_AS_SITELINK_POSITION_ONE, HEADLINE_AS_SITELINK_POSITION_TWO,
* DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_ONE,
* DESCRIPTION_LINE_HEADLINE_AS_SITELINK_POSITION_TWO
*
* @param self::SERVED_ASSET_FIELD_TYPE_* $servedAssetFieldType
*/
public function setServedAssetFieldType($servedAssetFieldType)
{
$this->servedAssetFieldType = $servedAssetFieldType;
}
/**
* @return self::SERVED_ASSET_FIELD_TYPE_*
*/
public function getServedAssetFieldType()
{
return $this->servedAssetFieldType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonAssetUsage::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonAssetUsage');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonAudienceInfo extends \Google\Model
{
/**
* The Audience resource name.
*
* @var string
*/
public $audience;
/**
* The Audience resource name.
*
* @param string $audience
*/
public function setAudience($audience)
{
$this->audience = $audience;
}
/**
* @return string
*/
public function getAudience()
{
return $this->audience;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonAudienceInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonAudienceInfo');
@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonBusinessProfileLocation extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* Advertiser specified label for the location on the Business Profile
* account. This is synced from the Business Profile account.
*
* @var string[]
*/
public $labels;
/**
* Listing ID of this Business Profile location. This is synced from the
* linked Business Profile account.
*
* @var string
*/
public $listingId;
/**
* Business Profile store code of this location. This is synced from the
* Business Profile account.
*
* @var string
*/
public $storeCode;
/**
* Advertiser specified label for the location on the Business Profile
* account. This is synced from the Business Profile account.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Listing ID of this Business Profile location. This is synced from the
* linked Business Profile account.
*
* @param string $listingId
*/
public function setListingId($listingId)
{
$this->listingId = $listingId;
}
/**
* @return string
*/
public function getListingId()
{
return $this->listingId;
}
/**
* Business Profile store code of this location. This is synced from the
* Business Profile account.
*
* @param string $storeCode
*/
public function setStoreCode($storeCode)
{
$this->storeCode = $storeCode;
}
/**
* @return string
*/
public function getStoreCode()
{
return $this->storeCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonBusinessProfileLocation::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonBusinessProfileLocation');
@@ -0,0 +1,128 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonCallToActionAsset extends \Google\Model
{
/**
* Not specified.
*/
public const CALL_TO_ACTION_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const CALL_TO_ACTION_UNKNOWN = 'UNKNOWN';
/**
* The call to action type is learn more.
*/
public const CALL_TO_ACTION_LEARN_MORE = 'LEARN_MORE';
/**
* The call to action type is get quote.
*/
public const CALL_TO_ACTION_GET_QUOTE = 'GET_QUOTE';
/**
* The call to action type is apply now.
*/
public const CALL_TO_ACTION_APPLY_NOW = 'APPLY_NOW';
/**
* The call to action type is sign up.
*/
public const CALL_TO_ACTION_SIGN_UP = 'SIGN_UP';
/**
* The call to action type is contact us.
*/
public const CALL_TO_ACTION_CONTACT_US = 'CONTACT_US';
/**
* The call to action type is subscribe.
*/
public const CALL_TO_ACTION_SUBSCRIBE = 'SUBSCRIBE';
/**
* The call to action type is download.
*/
public const CALL_TO_ACTION_DOWNLOAD = 'DOWNLOAD';
/**
* The call to action type is book now.
*/
public const CALL_TO_ACTION_BOOK_NOW = 'BOOK_NOW';
/**
* The call to action type is shop now.
*/
public const CALL_TO_ACTION_SHOP_NOW = 'SHOP_NOW';
/**
* The call to action type is buy now.
*/
public const CALL_TO_ACTION_BUY_NOW = 'BUY_NOW';
/**
* The call to action type is donate now.
*/
public const CALL_TO_ACTION_DONATE_NOW = 'DONATE_NOW';
/**
* The call to action type is order now.
*/
public const CALL_TO_ACTION_ORDER_NOW = 'ORDER_NOW';
/**
* The call to action type is play now.
*/
public const CALL_TO_ACTION_PLAY_NOW = 'PLAY_NOW';
/**
* The call to action type is see more.
*/
public const CALL_TO_ACTION_SEE_MORE = 'SEE_MORE';
/**
* The call to action type is start now.
*/
public const CALL_TO_ACTION_START_NOW = 'START_NOW';
/**
* The call to action type is visit site.
*/
public const CALL_TO_ACTION_VISIT_SITE = 'VISIT_SITE';
/**
* The call to action type is watch now.
*/
public const CALL_TO_ACTION_WATCH_NOW = 'WATCH_NOW';
/**
* Call to action.
*
* @var string
*/
public $callToAction;
/**
* Call to action.
*
* Accepted values: UNSPECIFIED, UNKNOWN, LEARN_MORE, GET_QUOTE, APPLY_NOW,
* SIGN_UP, CONTACT_US, SUBSCRIBE, DOWNLOAD, BOOK_NOW, SHOP_NOW, BUY_NOW,
* DONATE_NOW, ORDER_NOW, PLAY_NOW, SEE_MORE, START_NOW, VISIT_SITE, WATCH_NOW
*
* @param self::CALL_TO_ACTION_* $callToAction
*/
public function setCallToAction($callToAction)
{
$this->callToAction = $callToAction;
}
/**
* @return self::CALL_TO_ACTION_*
*/
public function getCallToAction()
{
return $this->callToAction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonCallToActionAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonCallToActionAsset');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonCustomParameter extends \Google\Model
{
/**
* The key matching the parameter tag name.
*
* @var string
*/
public $key;
/**
* The value to be substituted.
*
* @var string
*/
public $value;
/**
* The key matching the parameter tag name.
*
* @param string $key
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* The value to be substituted.
*
* @param string $value
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonCustomParameter::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonCustomParameter');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonDeviceInfo extends \Google\Model
{
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The value is unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Mobile devices with full browsers.
*/
public const TYPE_MOBILE = 'MOBILE';
/**
* Tablets with full browsers.
*/
public const TYPE_TABLET = 'TABLET';
/**
* Computers.
*/
public const TYPE_DESKTOP = 'DESKTOP';
/**
* Smart TVs and game consoles.
*/
public const TYPE_CONNECTED_TV = 'CONNECTED_TV';
/**
* Other device types.
*/
public const TYPE_OTHER = 'OTHER';
/**
* Type of the device.
*
* @var string
*/
public $type;
/**
* Type of the device.
*
* Accepted values: UNSPECIFIED, UNKNOWN, MOBILE, TABLET, DESKTOP,
* CONNECTED_TV, OTHER
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonDeviceInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonDeviceInfo');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonEnhancedCpc extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonEnhancedCpc::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonEnhancedCpc');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonFinalAppUrl extends \Google\Model
{
/**
* Not specified.
*/
public const OS_TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const OS_TYPE_UNKNOWN = 'UNKNOWN';
/**
* The Apple IOS operating system.
*/
public const OS_TYPE_IOS = 'IOS';
/**
* The Android operating system.
*/
public const OS_TYPE_ANDROID = 'ANDROID';
/**
* The operating system targeted by this URL. Required.
*
* @var string
*/
public $osType;
/**
* The app deep link URL. Deep links specify a location in an app that
* corresponds to the content you'd like to show, and should be of the form
* {scheme}://{host_path} The scheme identifies which app to open. For your
* app, you can use a custom scheme that starts with the app's name. The host
* and path specify the unique location in the app where your content exists.
* Example: "exampleapp://productid_1234". Required.
*
* @var string
*/
public $url;
/**
* The operating system targeted by this URL. Required.
*
* Accepted values: UNSPECIFIED, UNKNOWN, IOS, ANDROID
*
* @param self::OS_TYPE_* $osType
*/
public function setOsType($osType)
{
$this->osType = $osType;
}
/**
* @return self::OS_TYPE_*
*/
public function getOsType()
{
return $this->osType;
}
/**
* The app deep link URL. Deep links specify a location in an app that
* corresponds to the content you'd like to show, and should be of the form
* {scheme}://{host_path} The scheme identifies which app to open. For your
* app, you can use a custom scheme that starts with the app's name. The host
* and path specify the unique location in the app where your content exists.
* Example: "exampleapp://productid_1234". Required.
*
* @param string $url
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonFinalAppUrl::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonFinalAppUrl');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonFrequencyCapEntry extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonFrequencyCapEntry::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonFrequencyCapEntry');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonGenderInfo extends \Google\Model
{
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Male.
*/
public const TYPE_MALE = 'MALE';
/**
* Female.
*/
public const TYPE_FEMALE = 'FEMALE';
/**
* Undetermined gender.
*/
public const TYPE_UNDETERMINED = 'UNDETERMINED';
/**
* Type of the gender.
*
* @var string
*/
public $type;
/**
* Type of the gender.
*
* Accepted values: UNSPECIFIED, UNKNOWN, MALE, FEMALE, UNDETERMINED
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonGenderInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonGenderInfo');
@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonImageAsset extends \Google\Model
{
/**
* The mime type has not been specified.
*/
public const MIME_TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const MIME_TYPE_UNKNOWN = 'UNKNOWN';
/**
* MIME type of image/jpeg.
*/
public const MIME_TYPE_IMAGE_JPEG = 'IMAGE_JPEG';
/**
* MIME type of image/gif.
*/
public const MIME_TYPE_IMAGE_GIF = 'IMAGE_GIF';
/**
* MIME type of image/png.
*/
public const MIME_TYPE_IMAGE_PNG = 'IMAGE_PNG';
/**
* MIME type of application/x-shockwave-flash.
*/
public const MIME_TYPE_FLASH = 'FLASH';
/**
* MIME type of text/html.
*/
public const MIME_TYPE_TEXT_HTML = 'TEXT_HTML';
/**
* MIME type of application/pdf.
*/
public const MIME_TYPE_PDF = 'PDF';
/**
* MIME type of application/msword.
*/
public const MIME_TYPE_MSWORD = 'MSWORD';
/**
* MIME type of application/vnd.ms-excel.
*/
public const MIME_TYPE_MSEXCEL = 'MSEXCEL';
/**
* MIME type of application/rtf.
*/
public const MIME_TYPE_RTF = 'RTF';
/**
* MIME type of audio/wav.
*/
public const MIME_TYPE_AUDIO_WAV = 'AUDIO_WAV';
/**
* MIME type of audio/mp3.
*/
public const MIME_TYPE_AUDIO_MP3 = 'AUDIO_MP3';
/**
* MIME type of application/x-html5-ad-zip.
*/
public const MIME_TYPE_HTML5_AD_ZIP = 'HTML5_AD_ZIP';
/**
* File size of the image asset in bytes.
*
* @var string
*/
public $fileSize;
protected $fullSizeType = GoogleAdsSearchads360V0CommonImageDimension::class;
protected $fullSizeDataType = '';
/**
* MIME type of the image asset.
*
* @var string
*/
public $mimeType;
/**
* File size of the image asset in bytes.
*
* @param string $fileSize
*/
public function setFileSize($fileSize)
{
$this->fileSize = $fileSize;
}
/**
* @return string
*/
public function getFileSize()
{
return $this->fileSize;
}
/**
* Metadata for this image at its original size.
*
* @param GoogleAdsSearchads360V0CommonImageDimension $fullSize
*/
public function setFullSize(GoogleAdsSearchads360V0CommonImageDimension $fullSize)
{
$this->fullSize = $fullSize;
}
/**
* @return GoogleAdsSearchads360V0CommonImageDimension
*/
public function getFullSize()
{
return $this->fullSize;
}
/**
* MIME type of the image asset.
*
* Accepted values: UNSPECIFIED, UNKNOWN, IMAGE_JPEG, IMAGE_GIF, IMAGE_PNG,
* FLASH, TEXT_HTML, PDF, MSWORD, MSEXCEL, RTF, AUDIO_WAV, AUDIO_MP3,
* HTML5_AD_ZIP
*
* @param self::MIME_TYPE_* $mimeType
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return self::MIME_TYPE_*
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonImageAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonImageAsset');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonImageDimension extends \Google\Model
{
/**
* Height of the image.
*
* @var string
*/
public $heightPixels;
/**
* A URL that returns the image with this height and width.
*
* @var string
*/
public $url;
/**
* Width of the image.
*
* @var string
*/
public $widthPixels;
/**
* Height of the image.
*
* @param string $heightPixels
*/
public function setHeightPixels($heightPixels)
{
$this->heightPixels = $heightPixels;
}
/**
* @return string
*/
public function getHeightPixels()
{
return $this->heightPixels;
}
/**
* A URL that returns the image with this height and width.
*
* @param string $url
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* Width of the image.
*
* @param string $widthPixels
*/
public function setWidthPixels($widthPixels)
{
$this->widthPixels = $widthPixels;
}
/**
* @return string
*/
public function getWidthPixels()
{
return $this->widthPixels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonImageDimension::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonImageDimension');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonKeyword extends \Google\Model
{
/**
* The AdGroupCriterion resource name.
*
* @var string
*/
public $adGroupCriterion;
protected $infoType = GoogleAdsSearchads360V0CommonKeywordInfo::class;
protected $infoDataType = '';
/**
* The AdGroupCriterion resource name.
*
* @param string $adGroupCriterion
*/
public function setAdGroupCriterion($adGroupCriterion)
{
$this->adGroupCriterion = $adGroupCriterion;
}
/**
* @return string
*/
public function getAdGroupCriterion()
{
return $this->adGroupCriterion;
}
/**
* Keyword info.
*
* @param GoogleAdsSearchads360V0CommonKeywordInfo $info
*/
public function setInfo(GoogleAdsSearchads360V0CommonKeywordInfo $info)
{
$this->info = $info;
}
/**
* @return GoogleAdsSearchads360V0CommonKeywordInfo
*/
public function getInfo()
{
return $this->info;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonKeyword::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonKeyword');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonKeywordInfo extends \Google\Model
{
/**
* Not specified.
*/
public const MATCH_TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const MATCH_TYPE_UNKNOWN = 'UNKNOWN';
/**
* Exact match.
*/
public const MATCH_TYPE_EXACT = 'EXACT';
/**
* Phrase match.
*/
public const MATCH_TYPE_PHRASE = 'PHRASE';
/**
* Broad match.
*/
public const MATCH_TYPE_BROAD = 'BROAD';
/**
* The match type of the keyword.
*
* @var string
*/
public $matchType;
/**
* The text of the keyword (at most 80 characters and 10 words).
*
* @var string
*/
public $text;
/**
* The match type of the keyword.
*
* Accepted values: UNSPECIFIED, UNKNOWN, EXACT, PHRASE, BROAD
*
* @param self::MATCH_TYPE_* $matchType
*/
public function setMatchType($matchType)
{
$this->matchType = $matchType;
}
/**
* @return self::MATCH_TYPE_*
*/
public function getMatchType()
{
return $this->matchType;
}
/**
* The text of the keyword (at most 80 characters and 10 words).
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonKeywordInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonKeywordInfo');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonLanguageInfo extends \Google\Model
{
/**
* The language constant resource name.
*
* @var string
*/
public $languageConstant;
/**
* The language constant resource name.
*
* @param string $languageConstant
*/
public function setLanguageConstant($languageConstant)
{
$this->languageConstant = $languageConstant;
}
/**
* @return string
*/
public function getLanguageConstant()
{
return $this->languageConstant;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonLanguageInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonLanguageInfo');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonListingGroupInfo extends \Google\Model
{
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Subdivision of products along some listing dimension. These nodes are not
* used by serving to target listing entries, but is purely to define the
* structure of the tree.
*/
public const TYPE_SUBDIVISION = 'SUBDIVISION';
/**
* Listing group unit that defines a bid.
*/
public const TYPE_UNIT = 'UNIT';
/**
* Type of the listing group.
*
* @var string
*/
public $type;
/**
* Type of the listing group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, SUBDIVISION, UNIT
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonListingGroupInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonListingGroupInfo');
@@ -0,0 +1,151 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonLocationGroupInfo extends \Google\Collection
{
/**
* Not specified.
*/
public const RADIUS_UNITS_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const RADIUS_UNITS_UNKNOWN = 'UNKNOWN';
/**
* Meters
*/
public const RADIUS_UNITS_METERS = 'METERS';
/**
* Miles
*/
public const RADIUS_UNITS_MILES = 'MILES';
/**
* Milli Miles
*/
public const RADIUS_UNITS_MILLI_MILES = 'MILLI_MILES';
protected $collection_key = 'geoTargetConstants';
/**
* FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
* then all items that appear in at least one set are targeted. This field
* cannot be used with geo_target_constants. This is optional and can only be
* set in CREATE operations.
*
* @var string[]
*/
public $feedItemSets;
/**
* Geo target constant(s) restricting the scope of the geographic area within
* the feed. Currently only one geo target constant is allowed.
*
* @var string[]
*/
public $geoTargetConstants;
/**
* Distance in units specifying the radius around targeted locations. This is
* required and must be set in CREATE operations.
*
* @var string
*/
public $radius;
/**
* Unit of the radius. Miles and meters are supported for geo target
* constants. Milli miles and meters are supported for feed item sets. This is
* required and must be set in CREATE operations.
*
* @var string
*/
public $radiusUnits;
/**
* FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
* then all items that appear in at least one set are targeted. This field
* cannot be used with geo_target_constants. This is optional and can only be
* set in CREATE operations.
*
* @param string[] $feedItemSets
*/
public function setFeedItemSets($feedItemSets)
{
$this->feedItemSets = $feedItemSets;
}
/**
* @return string[]
*/
public function getFeedItemSets()
{
return $this->feedItemSets;
}
/**
* Geo target constant(s) restricting the scope of the geographic area within
* the feed. Currently only one geo target constant is allowed.
*
* @param string[] $geoTargetConstants
*/
public function setGeoTargetConstants($geoTargetConstants)
{
$this->geoTargetConstants = $geoTargetConstants;
}
/**
* @return string[]
*/
public function getGeoTargetConstants()
{
return $this->geoTargetConstants;
}
/**
* Distance in units specifying the radius around targeted locations. This is
* required and must be set in CREATE operations.
*
* @param string $radius
*/
public function setRadius($radius)
{
$this->radius = $radius;
}
/**
* @return string
*/
public function getRadius()
{
return $this->radius;
}
/**
* Unit of the radius. Miles and meters are supported for geo target
* constants. Milli miles and meters are supported for feed item sets. This is
* required and must be set in CREATE operations.
*
* Accepted values: UNSPECIFIED, UNKNOWN, METERS, MILES, MILLI_MILES
*
* @param self::RADIUS_UNITS_* $radiusUnits
*/
public function setRadiusUnits($radiusUnits)
{
$this->radiusUnits = $radiusUnits;
}
/**
* @return self::RADIUS_UNITS_*
*/
public function getRadiusUnits()
{
return $this->radiusUnits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonLocationGroupInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonLocationGroupInfo');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonLocationInfo extends \Google\Model
{
/**
* The geo target constant resource name.
*
* @var string
*/
public $geoTargetConstant;
/**
* The geo target constant resource name.
*
* @param string $geoTargetConstant
*/
public function setGeoTargetConstant($geoTargetConstant)
{
$this->geoTargetConstant = $geoTargetConstant;
}
/**
* @return string
*/
public function getGeoTargetConstant()
{
return $this->geoTargetConstant;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonLocationInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonLocationInfo');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonManualCpa extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonManualCpa::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonManualCpa');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonManualCpc extends \Google\Model
{
/**
* Whether bids are to be enhanced based on conversion optimizer data.
*
* @var bool
*/
public $enhancedCpcEnabled;
/**
* Whether bids are to be enhanced based on conversion optimizer data.
*
* @param bool $enhancedCpcEnabled
*/
public function setEnhancedCpcEnabled($enhancedCpcEnabled)
{
$this->enhancedCpcEnabled = $enhancedCpcEnabled;
}
/**
* @return bool
*/
public function getEnhancedCpcEnabled()
{
return $this->enhancedCpcEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonManualCpc::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonManualCpc');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonManualCpm extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonManualCpm::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonManualCpm');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonMaximizeConversionValue extends \Google\Model
{
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @var string
*/
public $cpcBidFloorMicros;
/**
* The target return on ad spend (ROAS) option. If set, the bid strategy will
* maximize revenue while averaging the target return on ad spend. If the
* target ROAS is high, the bid strategy may not be able to spend the full
* budget. If the target ROAS is not set, the bid strategy will aim to achieve
* the highest possible ROAS for the budget.
*
* @var
*/
public $targetRoas;
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @param string $cpcBidFloorMicros
*/
public function setCpcBidFloorMicros($cpcBidFloorMicros)
{
$this->cpcBidFloorMicros = $cpcBidFloorMicros;
}
/**
* @return string
*/
public function getCpcBidFloorMicros()
{
return $this->cpcBidFloorMicros;
}
public function setTargetRoas($targetRoas)
{
$this->targetRoas = $targetRoas;
}
public function getTargetRoas()
{
return $this->targetRoas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonMaximizeConversionValue::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonMaximizeConversionValue');
@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonMaximizeConversions extends \Google\Model
{
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @var string
*/
public $cpcBidFloorMicros;
/**
* The target cost-per-action (CPA) option. This is the average amount that
* you would like to spend per conversion action specified in micro units of
* the bidding strategy's currency. If set, the bid strategy will get as many
* conversions as possible at or below the target cost-per-action. If the
* target CPA is not set, the bid strategy will aim to achieve the lowest
* possible CPA given the budget.
*
* @var string
*/
public $targetCpaMicros;
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. Mutable for portfolio bidding
* strategies only.
*
* @param string $cpcBidFloorMicros
*/
public function setCpcBidFloorMicros($cpcBidFloorMicros)
{
$this->cpcBidFloorMicros = $cpcBidFloorMicros;
}
/**
* @return string
*/
public function getCpcBidFloorMicros()
{
return $this->cpcBidFloorMicros;
}
/**
* The target cost-per-action (CPA) option. This is the average amount that
* you would like to spend per conversion action specified in micro units of
* the bidding strategy's currency. If set, the bid strategy will get as many
* conversions as possible at or below the target cost-per-action. If the
* target CPA is not set, the bid strategy will aim to achieve the lowest
* possible CPA given the budget.
*
* @param string $targetCpaMicros
*/
public function setTargetCpaMicros($targetCpaMicros)
{
$this->targetCpaMicros = $targetCpaMicros;
}
/**
* @return string
*/
public function getTargetCpaMicros()
{
return $this->targetCpaMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonMaximizeConversions::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonMaximizeConversions');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonMobileAppAsset extends \Google\Model
{
/**
* Not specified.
*/
public const APP_STORE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const APP_STORE_UNKNOWN = 'UNKNOWN';
/**
* Mobile app vendor for Apple app store.
*/
public const APP_STORE_APPLE_APP_STORE = 'APPLE_APP_STORE';
/**
* Mobile app vendor for Google app store.
*/
public const APP_STORE_GOOGLE_APP_STORE = 'GOOGLE_APP_STORE';
/**
* Required. A string that uniquely identifies a mobile application. It should
* just contain the platform native id, like "com.android.ebay" for Android or
* "12345689" for iOS.
*
* @var string
*/
public $appId;
/**
* Required. The application store that distributes this specific app.
*
* @var string
*/
public $appStore;
/**
* Required. A string that uniquely identifies a mobile application. It should
* just contain the platform native id, like "com.android.ebay" for Android or
* "12345689" for iOS.
*
* @param string $appId
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* Required. The application store that distributes this specific app.
*
* Accepted values: UNSPECIFIED, UNKNOWN, APPLE_APP_STORE, GOOGLE_APP_STORE
*
* @param self::APP_STORE_* $appStore
*/
public function setAppStore($appStore)
{
$this->appStore = $appStore;
}
/**
* @return self::APP_STORE_*
*/
public function getAppStore()
{
return $this->appStore;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonMobileAppAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonMobileAppAsset');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonPercentCpc extends \Google\Model
{
/**
* Maximum bid limit that can be set by the bid strategy. This is an optional
* field entered by the advertiser and specified in local micros. Note: A zero
* value is interpreted in the same way as having bid_ceiling undefined.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Adjusts the bid for each auction upward or downward, depending on the
* likelihood of a conversion. Individual bids may exceed
* cpc_bid_ceiling_micros, but the average bid amount for a campaign should
* not.
*
* @var bool
*/
public $enhancedCpcEnabled;
/**
* Maximum bid limit that can be set by the bid strategy. This is an optional
* field entered by the advertiser and specified in local micros. Note: A zero
* value is interpreted in the same way as having bid_ceiling undefined.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Adjusts the bid for each auction upward or downward, depending on the
* likelihood of a conversion. Individual bids may exceed
* cpc_bid_ceiling_micros, but the average bid amount for a campaign should
* not.
*
* @param bool $enhancedCpcEnabled
*/
public function setEnhancedCpcEnabled($enhancedCpcEnabled)
{
$this->enhancedCpcEnabled = $enhancedCpcEnabled;
}
/**
* @return bool
*/
public function getEnhancedCpcEnabled()
{
return $this->enhancedCpcEnabled;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonPercentCpc::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonPercentCpc');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonRealTimeBiddingSetting extends \Google\Model
{
/**
* Whether the campaign is opted in to real-time bidding.
*
* @var bool
*/
public $optIn;
/**
* Whether the campaign is opted in to real-time bidding.
*
* @param bool $optIn
*/
public function setOptIn($optIn)
{
$this->optIn = $optIn;
}
/**
* @return bool
*/
public function getOptIn()
{
return $this->optIn;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonRealTimeBiddingSetting::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonRealTimeBiddingSetting');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo extends \Google\Model
{
/**
* The tracking id of the ad.
*
* @var string
*/
public $adTrackingId;
/**
* The first line of the ad's description.
*
* @var string
*/
public $description1;
/**
* The second line of the ad's description.
*
* @var string
*/
public $description2;
/**
* The tracking id of the ad.
*
* @param string $adTrackingId
*/
public function setAdTrackingId($adTrackingId)
{
$this->adTrackingId = $adTrackingId;
}
/**
* @return string
*/
public function getAdTrackingId()
{
return $this->adTrackingId;
}
/**
* The first line of the ad's description.
*
* @param string $description1
*/
public function setDescription1($description1)
{
$this->description1 = $description1;
}
/**
* @return string
*/
public function getDescription1()
{
return $this->description1;
}
/**
* The second line of the ad's description.
*
* @param string $description2
*/
public function setDescription2($description2)
{
$this->description2 = $description2;
}
/**
* @return string
*/
public function getDescription2()
{
return $this->description2;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo');
@@ -0,0 +1,202 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo extends \Google\Model
{
/**
* The tracking id of the ad.
*
* @var string
*/
public $adTrackingId;
/**
* The first line of the ad's description.
*
* @var string
*/
public $description1;
/**
* The second line of the ad's description.
*
* @var string
*/
public $description2;
/**
* The headline of the ad.
*
* @var string
*/
public $headline;
/**
* The second headline of the ad.
*
* @var string
*/
public $headline2;
/**
* The third headline of the ad.
*
* @var string
*/
public $headline3;
/**
* Text appended to the auto-generated visible URL with a delimiter.
*
* @var string
*/
public $path1;
/**
* Text appended to path1 with a delimiter.
*
* @var string
*/
public $path2;
/**
* The tracking id of the ad.
*
* @param string $adTrackingId
*/
public function setAdTrackingId($adTrackingId)
{
$this->adTrackingId = $adTrackingId;
}
/**
* @return string
*/
public function getAdTrackingId()
{
return $this->adTrackingId;
}
/**
* The first line of the ad's description.
*
* @param string $description1
*/
public function setDescription1($description1)
{
$this->description1 = $description1;
}
/**
* @return string
*/
public function getDescription1()
{
return $this->description1;
}
/**
* The second line of the ad's description.
*
* @param string $description2
*/
public function setDescription2($description2)
{
$this->description2 = $description2;
}
/**
* @return string
*/
public function getDescription2()
{
return $this->description2;
}
/**
* The headline of the ad.
*
* @param string $headline
*/
public function setHeadline($headline)
{
$this->headline = $headline;
}
/**
* @return string
*/
public function getHeadline()
{
return $this->headline;
}
/**
* The second headline of the ad.
*
* @param string $headline2
*/
public function setHeadline2($headline2)
{
$this->headline2 = $headline2;
}
/**
* @return string
*/
public function getHeadline2()
{
return $this->headline2;
}
/**
* The third headline of the ad.
*
* @param string $headline3
*/
public function setHeadline3($headline3)
{
$this->headline3 = $headline3;
}
/**
* @return string
*/
public function getHeadline3()
{
return $this->headline3;
}
/**
* Text appended to the auto-generated visible URL with a delimiter.
*
* @param string $path1
*/
public function setPath1($path1)
{
$this->path1 = $path1;
}
/**
* @return string
*/
public function getPath1()
{
return $this->path1;
}
/**
* Text appended to path1 with a delimiter.
*
* @param string $path2
*/
public function setPath2($path2)
{
$this->path2 = $path2;
}
/**
* @return string
*/
public function getPath2()
{
return $this->path2;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo');
@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo extends \Google\Collection
{
protected $collection_key = 'headlines';
/**
* The tracking id of the ad.
*
* @var string
*/
public $adTrackingId;
protected $descriptionsType = GoogleAdsSearchads360V0CommonAdTextAsset::class;
protected $descriptionsDataType = 'array';
protected $headlinesType = GoogleAdsSearchads360V0CommonAdTextAsset::class;
protected $headlinesDataType = 'array';
/**
* Text appended to the auto-generated visible URL with a delimiter.
*
* @var string
*/
public $path1;
/**
* Text appended to path1 with a delimiter.
*
* @var string
*/
public $path2;
/**
* The tracking id of the ad.
*
* @param string $adTrackingId
*/
public function setAdTrackingId($adTrackingId)
{
$this->adTrackingId = $adTrackingId;
}
/**
* @return string
*/
public function getAdTrackingId()
{
return $this->adTrackingId;
}
/**
* List of text assets for descriptions. When the ad serves the descriptions
* will be selected from this list.
*
* @param GoogleAdsSearchads360V0CommonAdTextAsset[] $descriptions
*/
public function setDescriptions($descriptions)
{
$this->descriptions = $descriptions;
}
/**
* @return GoogleAdsSearchads360V0CommonAdTextAsset[]
*/
public function getDescriptions()
{
return $this->descriptions;
}
/**
* List of text assets for headlines. When the ad serves the headlines will be
* selected from this list.
*
* @param GoogleAdsSearchads360V0CommonAdTextAsset[] $headlines
*/
public function setHeadlines($headlines)
{
$this->headlines = $headlines;
}
/**
* @return GoogleAdsSearchads360V0CommonAdTextAsset[]
*/
public function getHeadlines()
{
return $this->headlines;
}
/**
* Text appended to the auto-generated visible URL with a delimiter.
*
* @param string $path1
*/
public function setPath1($path1)
{
$this->path1 = $path1;
}
/**
* @return string
*/
public function getPath1()
{
return $this->path1;
}
/**
* Text appended to path1 with a delimiter.
*
* @param string $path2
*/
public function setPath2($path2)
{
$this->path2 = $path2;
}
/**
* @return string
*/
public function getPath2()
{
return $this->path2;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo');
@@ -0,0 +1,158 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo extends \Google\Model
{
/**
* The tracking id of the ad.
*
* @var string
*/
public $adTrackingId;
/**
* The first line of the ad's description.
*
* @var string
*/
public $description1;
/**
* The second line of the ad's description.
*
* @var string
*/
public $description2;
/**
* The displayed mobile URL of the ad.
*
* @var string
*/
public $displayMobileUrl;
/**
* The displayed URL of the ad.
*
* @var string
*/
public $displayUrl;
/**
* The headline of the ad.
*
* @var string
*/
public $headline;
/**
* The tracking id of the ad.
*
* @param string $adTrackingId
*/
public function setAdTrackingId($adTrackingId)
{
$this->adTrackingId = $adTrackingId;
}
/**
* @return string
*/
public function getAdTrackingId()
{
return $this->adTrackingId;
}
/**
* The first line of the ad's description.
*
* @param string $description1
*/
public function setDescription1($description1)
{
$this->description1 = $description1;
}
/**
* @return string
*/
public function getDescription1()
{
return $this->description1;
}
/**
* The second line of the ad's description.
*
* @param string $description2
*/
public function setDescription2($description2)
{
$this->description2 = $description2;
}
/**
* @return string
*/
public function getDescription2()
{
return $this->description2;
}
/**
* The displayed mobile URL of the ad.
*
* @param string $displayMobileUrl
*/
public function setDisplayMobileUrl($displayMobileUrl)
{
$this->displayMobileUrl = $displayMobileUrl;
}
/**
* @return string
*/
public function getDisplayMobileUrl()
{
return $this->displayMobileUrl;
}
/**
* The displayed URL of the ad.
*
* @param string $displayUrl
*/
public function setDisplayUrl($displayUrl)
{
$this->displayUrl = $displayUrl;
}
/**
* @return string
*/
public function getDisplayUrl()
{
return $this->displayUrl;
}
/**
* The headline of the ad.
*
* @param string $headline
*/
public function setHeadline($headline)
{
$this->headline = $headline;
}
/**
* @return string
*/
public function getHeadline()
{
return $this->headline;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,102 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetCpa extends \Google\Model
{
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @var string
*/
public $cpcBidFloorMicros;
/**
* Average CPA target. This target should be greater than or equal to minimum
* billable unit based on the currency for the account.
*
* @var string
*/
public $targetCpaMicros;
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @param string $cpcBidFloorMicros
*/
public function setCpcBidFloorMicros($cpcBidFloorMicros)
{
$this->cpcBidFloorMicros = $cpcBidFloorMicros;
}
/**
* @return string
*/
public function getCpcBidFloorMicros()
{
return $this->cpcBidFloorMicros;
}
/**
* Average CPA target. This target should be greater than or equal to minimum
* billable unit based on the currency for the account.
*
* @param string $targetCpaMicros
*/
public function setTargetCpaMicros($targetCpaMicros)
{
$this->targetCpaMicros = $targetCpaMicros;
}
/**
* @return string
*/
public function getTargetCpaMicros()
{
return $this->targetCpaMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetCpa::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetCpa');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetCpm extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetCpm::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetCpm');
@@ -0,0 +1,121 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetImpressionShare extends \Google\Model
{
/**
* Not specified.
*/
public const LOCATION_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const LOCATION_UNKNOWN = 'UNKNOWN';
/**
* Any location on the web page.
*/
public const LOCATION_ANYWHERE_ON_PAGE = 'ANYWHERE_ON_PAGE';
/**
* Top box of ads.
*/
public const LOCATION_TOP_OF_PAGE = 'TOP_OF_PAGE';
/**
* Top slot in the top box of ads.
*/
public const LOCATION_ABSOLUTE_TOP_OF_PAGE = 'ABSOLUTE_TOP_OF_PAGE';
/**
* The highest CPC bid the automated bidding system is permitted to specify.
* This is a required field entered by the advertiser that sets the ceiling
* and specified in local micros.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* The targeted location on the search results page.
*
* @var string
*/
public $location;
/**
* The chosen fraction of ads to be shown in the targeted location in micros.
* For example, 1% equals 10,000.
*
* @var string
*/
public $locationFractionMicros;
/**
* The highest CPC bid the automated bidding system is permitted to specify.
* This is a required field entered by the advertiser that sets the ceiling
* and specified in local micros.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* The targeted location on the search results page.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ANYWHERE_ON_PAGE, TOP_OF_PAGE,
* ABSOLUTE_TOP_OF_PAGE
*
* @param self::LOCATION_* $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return self::LOCATION_*
*/
public function getLocation()
{
return $this->location;
}
/**
* The chosen fraction of ads to be shown in the targeted location in micros.
* For example, 1% equals 10,000.
*
* @param string $locationFractionMicros
*/
public function setLocationFractionMicros($locationFractionMicros)
{
$this->locationFractionMicros = $locationFractionMicros;
}
/**
* @return string
*/
public function getLocationFractionMicros()
{
return $this->locationFractionMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetImpressionShare::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetImpressionShare');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetOutrankShare extends \Google\Model
{
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetOutrankShare::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetOutrankShare');
@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetRestriction extends \Google\Model
{
/**
* Not specified.
*/
public const TARGETING_DIMENSION_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TARGETING_DIMENSION_UNKNOWN = 'UNKNOWN';
/**
* Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a
* custom bid dimension. Keywords are always a targeting dimension, so may not
* be set as a target "ALL" dimension with TargetRestriction.
*/
public const TARGETING_DIMENSION_KEYWORD = 'KEYWORD';
/**
* Audience criteria, which include user list, user interest, custom affinity,
* and custom in market.
*/
public const TARGETING_DIMENSION_AUDIENCE = 'AUDIENCE';
/**
* Topic criteria for targeting categories of content, for example,
* 'category::Animals>Pets' Used for Display and Video targeting.
*/
public const TARGETING_DIMENSION_TOPIC = 'TOPIC';
/**
* Criteria for targeting gender.
*/
public const TARGETING_DIMENSION_GENDER = 'GENDER';
/**
* Criteria for targeting age ranges.
*/
public const TARGETING_DIMENSION_AGE_RANGE = 'AGE_RANGE';
/**
* Placement criteria, which include websites like 'www.flowers4sale.com', as
* well as mobile applications, mobile app categories, YouTube videos, and
* YouTube channels.
*/
public const TARGETING_DIMENSION_PLACEMENT = 'PLACEMENT';
/**
* Criteria for parental status targeting.
*/
public const TARGETING_DIMENSION_PARENTAL_STATUS = 'PARENTAL_STATUS';
/**
* Criteria for income range targeting.
*/
public const TARGETING_DIMENSION_INCOME_RANGE = 'INCOME_RANGE';
/**
* Indicates whether to restrict your ads to show only for the criteria you
* have selected for this targeting_dimension, or to target all values for
* this targeting_dimension and show ads based on your targeting in other
* TargetingDimensions. A value of `true` means that these criteria will only
* apply bid modifiers, and not affect targeting. A value of `false` means
* that these criteria will restrict targeting as well as applying bid
* modifiers.
*
* @var bool
*/
public $bidOnly;
/**
* The targeting dimension that these settings apply to.
*
* @var string
*/
public $targetingDimension;
/**
* Indicates whether to restrict your ads to show only for the criteria you
* have selected for this targeting_dimension, or to target all values for
* this targeting_dimension and show ads based on your targeting in other
* TargetingDimensions. A value of `true` means that these criteria will only
* apply bid modifiers, and not affect targeting. A value of `false` means
* that these criteria will restrict targeting as well as applying bid
* modifiers.
*
* @param bool $bidOnly
*/
public function setBidOnly($bidOnly)
{
$this->bidOnly = $bidOnly;
}
/**
* @return bool
*/
public function getBidOnly()
{
return $this->bidOnly;
}
/**
* The targeting dimension that these settings apply to.
*
* Accepted values: UNSPECIFIED, UNKNOWN, KEYWORD, AUDIENCE, TOPIC, GENDER,
* AGE_RANGE, PLACEMENT, PARENTAL_STATUS, INCOME_RANGE
*
* @param self::TARGETING_DIMENSION_* $targetingDimension
*/
public function setTargetingDimension($targetingDimension)
{
$this->targetingDimension = $targetingDimension;
}
/**
* @return self::TARGETING_DIMENSION_*
*/
public function getTargetingDimension()
{
return $this->targetingDimension;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetRestriction::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetRestriction');
@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetRoas extends \Google\Model
{
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @var string
*/
public $cpcBidFloorMicros;
/**
* Required. The chosen revenue (based on conversion data) per unit of spend.
* Value must be between 0.01 and 1000.0, inclusive.
*
* @var
*/
public $targetRoas;
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Minimum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy. This should only be set for portfolio
* bid strategies.
*
* @param string $cpcBidFloorMicros
*/
public function setCpcBidFloorMicros($cpcBidFloorMicros)
{
$this->cpcBidFloorMicros = $cpcBidFloorMicros;
}
/**
* @return string
*/
public function getCpcBidFloorMicros()
{
return $this->cpcBidFloorMicros;
}
public function setTargetRoas($targetRoas)
{
$this->targetRoas = $targetRoas;
}
public function getTargetRoas()
{
return $this->targetRoas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetRoas::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetRoas');
@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetSpend extends \Google\Model
{
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Deprecated: The spend target under which to maximize clicks. A TargetSpend
* bidder will attempt to spend the smaller of this value or the natural
* throttling spend amount. If not specified, the budget is used as the spend
* target. This field is deprecated and should no longer be used. See
* https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-
* creation-of.html for details.
*
* @deprecated
* @var string
*/
public $targetSpendMicros;
/**
* Maximum bid limit that can be set by the bid strategy. The limit applies to
* all keywords managed by the strategy.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Deprecated: The spend target under which to maximize clicks. A TargetSpend
* bidder will attempt to spend the smaller of this value or the natural
* throttling spend amount. If not specified, the budget is used as the spend
* target. This field is deprecated and should no longer be used. See
* https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-
* creation-of.html for details.
*
* @deprecated
* @param string $targetSpendMicros
*/
public function setTargetSpendMicros($targetSpendMicros)
{
$this->targetSpendMicros = $targetSpendMicros;
}
/**
* @deprecated
* @return string
*/
public function getTargetSpendMicros()
{
return $this->targetSpendMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetSpend::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetSpend');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTargetingSetting extends \Google\Collection
{
protected $collection_key = 'targetRestrictions';
protected $targetRestrictionsType = GoogleAdsSearchads360V0CommonTargetRestriction::class;
protected $targetRestrictionsDataType = 'array';
/**
* The per-targeting-dimension setting to restrict the reach of your campaign
* or ad group.
*
* @param GoogleAdsSearchads360V0CommonTargetRestriction[] $targetRestrictions
*/
public function setTargetRestrictions($targetRestrictions)
{
$this->targetRestrictions = $targetRestrictions;
}
/**
* @return GoogleAdsSearchads360V0CommonTargetRestriction[]
*/
public function getTargetRestrictions()
{
return $this->targetRestrictions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTargetingSetting::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTargetingSetting');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTextAsset extends \Google\Model
{
/**
* Text content of the text asset.
*
* @var string
*/
public $text;
/**
* Text content of the text asset.
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTextAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTextAsset');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonTextLabel extends \Google\Model
{
/**
* Background color of the label in HEX format. This string must match the
* regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The
* background color may not be visible for manager accounts.
*
* @var string
*/
public $backgroundColor;
/**
* A short description of the label. The length must be no more than 200
* characters.
*
* @var string
*/
public $description;
/**
* Background color of the label in HEX format. This string must match the
* regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. Note: The
* background color may not be visible for manager accounts.
*
* @param string $backgroundColor
*/
public function setBackgroundColor($backgroundColor)
{
$this->backgroundColor = $backgroundColor;
}
/**
* @return string
*/
public function getBackgroundColor()
{
return $this->backgroundColor;
}
/**
* A short description of the label. The length must be no more than 200
* characters.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonTextLabel::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonTextLabel');
@@ -0,0 +1,291 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonUnifiedCallAsset extends \Google\Collection
{
/**
* Not specified.
*/
public const CALL_CONVERSION_REPORTING_STATE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const CALL_CONVERSION_REPORTING_STATE_UNKNOWN = 'UNKNOWN';
/**
* Call conversion action is disabled.
*/
public const CALL_CONVERSION_REPORTING_STATE_DISABLED = 'DISABLED';
/**
* Call conversion action will use call conversion type set at the account
* level.
*/
public const CALL_CONVERSION_REPORTING_STATE_USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 'USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION';
/**
* Call conversion action will use call conversion type set at the resource
* (call only ads/call extensions) level.
*/
public const CALL_CONVERSION_REPORTING_STATE_USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 'USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION';
protected $collection_key = 'adScheduleTargets';
protected $adScheduleTargetsType = GoogleAdsSearchads360V0CommonAdScheduleInfo::class;
protected $adScheduleTargetsDataType = 'array';
/**
* The conversion action to attribute a call conversion to. If not set, the
* default conversion action is used. This field only has effect if
* call_conversion_reporting_state is set to
* USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
*
* @var string
*/
public $callConversionAction;
/**
* Output only. Indicates whether this CallAsset should use its own call
* conversion setting, follow the account level setting, or disable call
* conversion.
*
* @var string
*/
public $callConversionReportingState;
/**
* Whether the call only shows the phone number without a link to the website.
* Applies to Microsoft Ads.
*
* @var bool
*/
public $callOnly;
/**
* Whether the call should be enabled on call tracking. Applies to Microsoft
* Ads.
*
* @var bool
*/
public $callTrackingEnabled;
/**
* Two-letter country code of the phone number. Examples: 'US', 'us'.
*
* @var string
*/
public $countryCode;
/**
* Last date of when this asset is effective and still serving, in yyyy-MM-dd
* format.
*
* @var string
*/
public $endDate;
/**
* The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890'
*
* @var string
*/
public $phoneNumber;
/**
* Start date of when this asset is effective and can begin serving, in yyyy-
* MM-dd format.
*
* @var string
*/
public $startDate;
/**
* Whether to show the call extension in search user's time zone. Applies to
* Microsoft Ads.
*
* @var bool
*/
public $useSearcherTimeZone;
/**
* List of non-overlapping schedules specifying all time intervals for which
* the asset may serve. There can be a maximum of 6 schedules per day, 42 in
* total.
*
* @param GoogleAdsSearchads360V0CommonAdScheduleInfo[] $adScheduleTargets
*/
public function setAdScheduleTargets($adScheduleTargets)
{
$this->adScheduleTargets = $adScheduleTargets;
}
/**
* @return GoogleAdsSearchads360V0CommonAdScheduleInfo[]
*/
public function getAdScheduleTargets()
{
return $this->adScheduleTargets;
}
/**
* The conversion action to attribute a call conversion to. If not set, the
* default conversion action is used. This field only has effect if
* call_conversion_reporting_state is set to
* USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION.
*
* @param string $callConversionAction
*/
public function setCallConversionAction($callConversionAction)
{
$this->callConversionAction = $callConversionAction;
}
/**
* @return string
*/
public function getCallConversionAction()
{
return $this->callConversionAction;
}
/**
* Output only. Indicates whether this CallAsset should use its own call
* conversion setting, follow the account level setting, or disable call
* conversion.
*
* Accepted values: UNSPECIFIED, UNKNOWN, DISABLED,
* USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION,
* USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION
*
* @param self::CALL_CONVERSION_REPORTING_STATE_* $callConversionReportingState
*/
public function setCallConversionReportingState($callConversionReportingState)
{
$this->callConversionReportingState = $callConversionReportingState;
}
/**
* @return self::CALL_CONVERSION_REPORTING_STATE_*
*/
public function getCallConversionReportingState()
{
return $this->callConversionReportingState;
}
/**
* Whether the call only shows the phone number without a link to the website.
* Applies to Microsoft Ads.
*
* @param bool $callOnly
*/
public function setCallOnly($callOnly)
{
$this->callOnly = $callOnly;
}
/**
* @return bool
*/
public function getCallOnly()
{
return $this->callOnly;
}
/**
* Whether the call should be enabled on call tracking. Applies to Microsoft
* Ads.
*
* @param bool $callTrackingEnabled
*/
public function setCallTrackingEnabled($callTrackingEnabled)
{
$this->callTrackingEnabled = $callTrackingEnabled;
}
/**
* @return bool
*/
public function getCallTrackingEnabled()
{
return $this->callTrackingEnabled;
}
/**
* Two-letter country code of the phone number. Examples: 'US', 'us'.
*
* @param string $countryCode
*/
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
/**
* @return string
*/
public function getCountryCode()
{
return $this->countryCode;
}
/**
* Last date of when this asset is effective and still serving, in yyyy-MM-dd
* format.
*
* @param string $endDate
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890'
*
* @param string $phoneNumber
*/
public function setPhoneNumber($phoneNumber)
{
$this->phoneNumber = $phoneNumber;
}
/**
* @return string
*/
public function getPhoneNumber()
{
return $this->phoneNumber;
}
/**
* Start date of when this asset is effective and can begin serving, in yyyy-
* MM-dd format.
*
* @param string $startDate
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* Whether to show the call extension in search user's time zone. Applies to
* Microsoft Ads.
*
* @param bool $useSearcherTimeZone
*/
public function setUseSearcherTimeZone($useSearcherTimeZone)
{
$this->useSearcherTimeZone = $useSearcherTimeZone;
}
/**
* @return bool
*/
public function getUseSearcherTimeZone()
{
return $this->useSearcherTimeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonUnifiedCallAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonUnifiedCallAsset');
@@ -0,0 +1,143 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonUnifiedCalloutAsset extends \Google\Collection
{
protected $collection_key = 'adScheduleTargets';
protected $adScheduleTargetsType = GoogleAdsSearchads360V0CommonAdScheduleInfo::class;
protected $adScheduleTargetsDataType = 'array';
/**
* The callout text. The length of this string should be between 1 and 25,
* inclusive.
*
* @var string
*/
public $calloutText;
/**
* Last date of when this asset is effective and still serving, in yyyy-MM-dd
* format.
*
* @var string
*/
public $endDate;
/**
* Start date of when this asset is effective and can begin serving, in yyyy-
* MM-dd format.
*
* @var string
*/
public $startDate;
/**
* Whether to show the asset in search user's time zone. Applies to Microsoft
* Ads.
*
* @var bool
*/
public $useSearcherTimeZone;
/**
* List of non-overlapping schedules specifying all time intervals for which
* the asset may serve. There can be a maximum of 6 schedules per day, 42 in
* total.
*
* @param GoogleAdsSearchads360V0CommonAdScheduleInfo[] $adScheduleTargets
*/
public function setAdScheduleTargets($adScheduleTargets)
{
$this->adScheduleTargets = $adScheduleTargets;
}
/**
* @return GoogleAdsSearchads360V0CommonAdScheduleInfo[]
*/
public function getAdScheduleTargets()
{
return $this->adScheduleTargets;
}
/**
* The callout text. The length of this string should be between 1 and 25,
* inclusive.
*
* @param string $calloutText
*/
public function setCalloutText($calloutText)
{
$this->calloutText = $calloutText;
}
/**
* @return string
*/
public function getCalloutText()
{
return $this->calloutText;
}
/**
* Last date of when this asset is effective and still serving, in yyyy-MM-dd
* format.
*
* @param string $endDate
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* Start date of when this asset is effective and can begin serving, in yyyy-
* MM-dd format.
*
* @param string $startDate
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* Whether to show the asset in search user's time zone. Applies to Microsoft
* Ads.
*
* @param bool $useSearcherTimeZone
*/
public function setUseSearcherTimeZone($useSearcherTimeZone)
{
$this->useSearcherTimeZone = $useSearcherTimeZone;
}
/**
* @return bool
*/
public function getUseSearcherTimeZone()
{
return $this->useSearcherTimeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonUnifiedCalloutAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonUnifiedCalloutAsset');
@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonUnifiedLocationAsset extends \Google\Collection
{
/**
* Not specified.
*/
public const LOCATION_OWNERSHIP_TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const LOCATION_OWNERSHIP_TYPE_UNKNOWN = 'UNKNOWN';
/**
* Business Owner of location(legacy location extension - LE).
*/
public const LOCATION_OWNERSHIP_TYPE_BUSINESS_OWNER = 'BUSINESS_OWNER';
/**
* Affiliate location(Third party location extension - ALE).
*/
public const LOCATION_OWNERSHIP_TYPE_AFFILIATE = 'AFFILIATE';
protected $collection_key = 'businessProfileLocations';
protected $businessProfileLocationsType = GoogleAdsSearchads360V0CommonBusinessProfileLocation::class;
protected $businessProfileLocationsDataType = 'array';
/**
* The type of location ownership. If the type is BUSINESS_OWNER, it will be
* served as a location extension. If the type is AFFILIATE, it will be served
* as an affiliate location.
*
* @var string
*/
public $locationOwnershipType;
/**
* Place IDs uniquely identify a place in the Google Places database and on
* Google Maps. This field is unique for a given customer ID and asset type.
* See https://developers.google.com/places/web-service/place-id to learn more
* about Place ID.
*
* @var string
*/
public $placeId;
/**
* The list of business locations for the customer. This will only be returned
* if the Location Asset is syncing from the Business Profile account. It is
* possible to have multiple Business Profile listings under the same account
* that point to the same Place ID.
*
* @param GoogleAdsSearchads360V0CommonBusinessProfileLocation[] $businessProfileLocations
*/
public function setBusinessProfileLocations($businessProfileLocations)
{
$this->businessProfileLocations = $businessProfileLocations;
}
/**
* @return GoogleAdsSearchads360V0CommonBusinessProfileLocation[]
*/
public function getBusinessProfileLocations()
{
return $this->businessProfileLocations;
}
/**
* The type of location ownership. If the type is BUSINESS_OWNER, it will be
* served as a location extension. If the type is AFFILIATE, it will be served
* as an affiliate location.
*
* Accepted values: UNSPECIFIED, UNKNOWN, BUSINESS_OWNER, AFFILIATE
*
* @param self::LOCATION_OWNERSHIP_TYPE_* $locationOwnershipType
*/
public function setLocationOwnershipType($locationOwnershipType)
{
$this->locationOwnershipType = $locationOwnershipType;
}
/**
* @return self::LOCATION_OWNERSHIP_TYPE_*
*/
public function getLocationOwnershipType()
{
return $this->locationOwnershipType;
}
/**
* Place IDs uniquely identify a place in the Google Places database and on
* Google Maps. This field is unique for a given customer ID and asset type.
* See https://developers.google.com/places/web-service/place-id to learn more
* about Place ID.
*
* @param string $placeId
*/
public function setPlaceId($placeId)
{
$this->placeId = $placeId;
}
/**
* @return string
*/
public function getPlaceId()
{
return $this->placeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonUnifiedLocationAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonUnifiedLocationAsset');
@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* Labels used to group the page urls.
*
* @var string[]
*/
public $labels;
/**
* The webpage that advertisers want to target.
*
* @var string
*/
public $pageUrl;
/**
* Labels used to group the page urls.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* The webpage that advertisers want to target.
*
* @param string $pageUrl
*/
public function setPageUrl($pageUrl)
{
$this->pageUrl = $pageUrl;
}
/**
* @return string
*/
public function getPageUrl()
{
return $this->pageUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset');
@@ -0,0 +1,239 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset extends \Google\Collection
{
protected $collection_key = 'adScheduleTargets';
protected $adScheduleTargetsType = GoogleAdsSearchads360V0CommonAdScheduleInfo::class;
protected $adScheduleTargetsDataType = 'array';
/**
* First line of the description for the sitelink. If set, the length should
* be between 1 and 35, inclusive, and description2 must also be set.
*
* @var string
*/
public $description1;
/**
* Second line of the description for the sitelink. If set, the length should
* be between 1 and 35, inclusive, and description1 must also be set.
*
* @var string
*/
public $description2;
/**
* Last date of when this asset is effective and still serving, in yyyy-MM-dd
* format.
*
* @var string
*/
public $endDate;
/**
* URL display text for the sitelink. The length of this string should be
* between 1 and 25, inclusive.
*
* @var string
*/
public $linkText;
/**
* Whether the preference is for the sitelink asset to be displayed on mobile
* devices. Applies to Microsoft Ads.
*
* @var bool
*/
public $mobilePreferred;
/**
* Start date of when this asset is effective and can begin serving, in yyyy-
* MM-dd format.
*
* @var string
*/
public $startDate;
/**
* ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan
* only field.
*
* @var string
*/
public $trackingId;
/**
* Whether to show the sitelink asset in search user's time zone. Applies to
* Microsoft Ads.
*
* @var bool
*/
public $useSearcherTimeZone;
/**
* List of non-overlapping schedules specifying all time intervals for which
* the asset may serve. There can be a maximum of 6 schedules per day, 42 in
* total.
*
* @param GoogleAdsSearchads360V0CommonAdScheduleInfo[] $adScheduleTargets
*/
public function setAdScheduleTargets($adScheduleTargets)
{
$this->adScheduleTargets = $adScheduleTargets;
}
/**
* @return GoogleAdsSearchads360V0CommonAdScheduleInfo[]
*/
public function getAdScheduleTargets()
{
return $this->adScheduleTargets;
}
/**
* First line of the description for the sitelink. If set, the length should
* be between 1 and 35, inclusive, and description2 must also be set.
*
* @param string $description1
*/
public function setDescription1($description1)
{
$this->description1 = $description1;
}
/**
* @return string
*/
public function getDescription1()
{
return $this->description1;
}
/**
* Second line of the description for the sitelink. If set, the length should
* be between 1 and 35, inclusive, and description1 must also be set.
*
* @param string $description2
*/
public function setDescription2($description2)
{
$this->description2 = $description2;
}
/**
* @return string
*/
public function getDescription2()
{
return $this->description2;
}
/**
* Last date of when this asset is effective and still serving, in yyyy-MM-dd
* format.
*
* @param string $endDate
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* URL display text for the sitelink. The length of this string should be
* between 1 and 25, inclusive.
*
* @param string $linkText
*/
public function setLinkText($linkText)
{
$this->linkText = $linkText;
}
/**
* @return string
*/
public function getLinkText()
{
return $this->linkText;
}
/**
* Whether the preference is for the sitelink asset to be displayed on mobile
* devices. Applies to Microsoft Ads.
*
* @param bool $mobilePreferred
*/
public function setMobilePreferred($mobilePreferred)
{
$this->mobilePreferred = $mobilePreferred;
}
/**
* @return bool
*/
public function getMobilePreferred()
{
return $this->mobilePreferred;
}
/**
* Start date of when this asset is effective and can begin serving, in yyyy-
* MM-dd format.
*
* @param string $startDate
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* ID used for tracking clicks for the sitelink asset. This is a Yahoo! Japan
* only field.
*
* @param string $trackingId
*/
public function setTrackingId($trackingId)
{
$this->trackingId = $trackingId;
}
/**
* @return string
*/
public function getTrackingId()
{
return $this->trackingId;
}
/**
* Whether to show the sitelink asset in search user's time zone. Applies to
* Microsoft Ads.
*
* @param bool $useSearcherTimeZone
*/
public function setUseSearcherTimeZone($useSearcherTimeZone)
{
$this->useSearcherTimeZone = $useSearcherTimeZone;
}
/**
* @return bool
*/
public function getUseSearcherTimeZone()
{
return $this->useSearcherTimeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonUserListInfo extends \Google\Model
{
/**
* The User List resource name.
*
* @var string
*/
public $userList;
/**
* The User List resource name.
*
* @param string $userList
*/
public function setUserList($userList)
{
$this->userList = $userList;
}
/**
* @return string
*/
public function getUserList()
{
return $this->userList;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonUserListInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonUserListInfo');
@@ -0,0 +1,128 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonValue extends \Google\Model
{
/**
* A boolean.
*
* @var bool
*/
public $booleanValue;
/**
* A double.
*
* @var
*/
public $doubleValue;
/**
* A float.
*
* @var float
*/
public $floatValue;
/**
* An int64.
*
* @var string
*/
public $int64Value;
/**
* A string.
*
* @var string
*/
public $stringValue;
/**
* A boolean.
*
* @param bool $booleanValue
*/
public function setBooleanValue($booleanValue)
{
$this->booleanValue = $booleanValue;
}
/**
* @return bool
*/
public function getBooleanValue()
{
return $this->booleanValue;
}
public function setDoubleValue($doubleValue)
{
$this->doubleValue = $doubleValue;
}
public function getDoubleValue()
{
return $this->doubleValue;
}
/**
* A float.
*
* @param float $floatValue
*/
public function setFloatValue($floatValue)
{
$this->floatValue = $floatValue;
}
/**
* @return float
*/
public function getFloatValue()
{
return $this->floatValue;
}
/**
* An int64.
*
* @param string $int64Value
*/
public function setInt64Value($int64Value)
{
$this->int64Value = $int64Value;
}
/**
* @return string
*/
public function getInt64Value()
{
return $this->int64Value;
}
/**
* A string.
*
* @param string $stringValue
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonValue::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonValue');
@@ -0,0 +1,141 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonWebpageConditionInfo extends \Google\Model
{
/**
* Not specified.
*/
public const OPERAND_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const OPERAND_UNKNOWN = 'UNKNOWN';
/**
* Operand denoting a webpage URL targeting condition.
*/
public const OPERAND_URL = 'URL';
/**
* Operand denoting a webpage category targeting condition.
*/
public const OPERAND_CATEGORY = 'CATEGORY';
/**
* Operand denoting a webpage title targeting condition.
*/
public const OPERAND_PAGE_TITLE = 'PAGE_TITLE';
/**
* Operand denoting a webpage content targeting condition.
*/
public const OPERAND_PAGE_CONTENT = 'PAGE_CONTENT';
/**
* Operand denoting a webpage custom label targeting condition.
*/
public const OPERAND_CUSTOM_LABEL = 'CUSTOM_LABEL';
/**
* Not specified.
*/
public const OPERATOR_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const OPERATOR_UNKNOWN = 'UNKNOWN';
/**
* The argument web condition is equal to the compared web condition.
*/
public const OPERATOR_EQUALS = 'EQUALS';
/**
* The argument web condition is part of the compared web condition.
*/
public const OPERATOR_CONTAINS = 'CONTAINS';
/**
* Argument of webpage targeting condition.
*
* @var string
*/
public $argument;
/**
* Operand of webpage targeting condition.
*
* @var string
*/
public $operand;
/**
* Operator of webpage targeting condition.
*
* @var string
*/
public $operator;
/**
* Argument of webpage targeting condition.
*
* @param string $argument
*/
public function setArgument($argument)
{
$this->argument = $argument;
}
/**
* @return string
*/
public function getArgument()
{
return $this->argument;
}
/**
* Operand of webpage targeting condition.
*
* Accepted values: UNSPECIFIED, UNKNOWN, URL, CATEGORY, PAGE_TITLE,
* PAGE_CONTENT, CUSTOM_LABEL
*
* @param self::OPERAND_* $operand
*/
public function setOperand($operand)
{
$this->operand = $operand;
}
/**
* @return self::OPERAND_*
*/
public function getOperand()
{
return $this->operand;
}
/**
* Operator of webpage targeting condition.
*
* Accepted values: UNSPECIFIED, UNKNOWN, EQUALS, CONTAINS
*
* @param self::OPERATOR_* $operator
*/
public function setOperator($operator)
{
$this->operator = $operator;
}
/**
* @return self::OPERATOR_*
*/
public function getOperator()
{
return $this->operator;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonWebpageConditionInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonWebpageConditionInfo');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonWebpageInfo extends \Google\Collection
{
protected $collection_key = 'conditions';
protected $conditionsType = GoogleAdsSearchads360V0CommonWebpageConditionInfo::class;
protected $conditionsDataType = 'array';
/**
* Website criteria coverage percentage. This is the computed percentage of
* website coverage based on the website target, negative website target and
* negative keywords in the ad group and campaign. For instance, when coverage
* returns as 1, it indicates it has 100% coverage. This field is read-only.
*
* @var
*/
public $coveragePercentage;
/**
* The name of the criterion that is defined by this parameter. The name value
* will be used for identifying, sorting and filtering criteria with this type
* of parameters. This field is required for CREATE operations and is
* prohibited on UPDATE operations.
*
* @var string
*/
public $criterionName;
/**
* Conditions, or logical expressions, for webpage targeting. The list of
* webpage targeting conditions are and-ed together when evaluated for
* targeting. An empty list of conditions indicates all pages of the
* campaign's website are targeted. This field is required for CREATE
* operations and is prohibited on UPDATE operations.
*
* @param GoogleAdsSearchads360V0CommonWebpageConditionInfo[] $conditions
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleAdsSearchads360V0CommonWebpageConditionInfo[]
*/
public function getConditions()
{
return $this->conditions;
}
public function setCoveragePercentage($coveragePercentage)
{
$this->coveragePercentage = $coveragePercentage;
}
public function getCoveragePercentage()
{
return $this->coveragePercentage;
}
/**
* The name of the criterion that is defined by this parameter. The name value
* will be used for identifying, sorting and filtering criteria with this type
* of parameters. This field is required for CREATE operations and is
* prohibited on UPDATE operations.
*
* @param string $criterionName
*/
public function setCriterionName($criterionName)
{
$this->criterionName = $criterionName;
}
/**
* @return string
*/
public function getCriterionName()
{
return $this->criterionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonWebpageInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonWebpageInfo');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0CommonYoutubeVideoAsset extends \Google\Model
{
/**
* YouTube video id. This is the 11 character string value used in the YouTube
* video URL.
*
* @var string
*/
public $youtubeVideoId;
/**
* YouTube video title.
*
* @var string
*/
public $youtubeVideoTitle;
/**
* YouTube video id. This is the 11 character string value used in the YouTube
* video URL.
*
* @param string $youtubeVideoId
*/
public function setYoutubeVideoId($youtubeVideoId)
{
$this->youtubeVideoId = $youtubeVideoId;
}
/**
* @return string
*/
public function getYoutubeVideoId()
{
return $this->youtubeVideoId;
}
/**
* YouTube video title.
*
* @param string $youtubeVideoTitle
*/
public function setYoutubeVideoTitle($youtubeVideoTitle)
{
$this->youtubeVideoTitle = $youtubeVideoTitle;
}
/**
* @return string
*/
public function getYoutubeVideoTitle()
{
return $this->youtubeVideoTitle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0CommonYoutubeVideoAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonYoutubeVideoAsset');
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ErrorsErrorDetails extends \Google\Model
{
protected $quotaErrorDetailsType = GoogleAdsSearchads360V0ErrorsQuotaErrorDetails::class;
protected $quotaErrorDetailsDataType = '';
/**
* The error code that should have been returned, but wasn't. This is used
* when the error code is not published in the client specified version.
*
* @var string
*/
public $unpublishedErrorCode;
/**
* Details on the quota error, including the scope (account or developer), the
* rate bucket name and the retry delay.
*
* @param GoogleAdsSearchads360V0ErrorsQuotaErrorDetails $quotaErrorDetails
*/
public function setQuotaErrorDetails(GoogleAdsSearchads360V0ErrorsQuotaErrorDetails $quotaErrorDetails)
{
$this->quotaErrorDetails = $quotaErrorDetails;
}
/**
* @return GoogleAdsSearchads360V0ErrorsQuotaErrorDetails
*/
public function getQuotaErrorDetails()
{
return $this->quotaErrorDetails;
}
/**
* The error code that should have been returned, but wasn't. This is used
* when the error code is not published in the client specified version.
*
* @param string $unpublishedErrorCode
*/
public function setUnpublishedErrorCode($unpublishedErrorCode)
{
$this->unpublishedErrorCode = $unpublishedErrorCode;
}
/**
* @return string
*/
public function getUnpublishedErrorCode()
{
return $this->unpublishedErrorCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ErrorsErrorDetails::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ErrorsErrorDetails');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ErrorsErrorLocation extends \Google\Collection
{
protected $collection_key = 'fieldPathElements';
protected $fieldPathElementsType = GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement::class;
protected $fieldPathElementsDataType = 'array';
/**
* A field path that indicates which field was invalid in the request.
*
* @param GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement[] $fieldPathElements
*/
public function setFieldPathElements($fieldPathElements)
{
$this->fieldPathElements = $fieldPathElements;
}
/**
* @return GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement[]
*/
public function getFieldPathElements()
{
return $this->fieldPathElements;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ErrorsErrorLocation::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ErrorsErrorLocation');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement extends \Google\Model
{
/**
* The name of a field or a oneof
*
* @var string
*/
public $fieldName;
/**
* If field_name is a repeated field, this is the element that failed
*
* @var int
*/
public $index;
/**
* The name of a field or a oneof
*
* @param string $fieldName
*/
public function setFieldName($fieldName)
{
$this->fieldName = $fieldName;
}
/**
* @return string
*/
public function getFieldName()
{
return $this->fieldName;
}
/**
* If field_name is a repeated field, this is the element that failed
*
* @param int $index
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ErrorsErrorLocationFieldPathElement');
@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ErrorsQuotaErrorDetails extends \Google\Model
{
/**
* Unspecified enum
*/
public const RATE_SCOPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const RATE_SCOPE_UNKNOWN = 'UNKNOWN';
/**
* Per customer account quota
*/
public const RATE_SCOPE_ACCOUNT = 'ACCOUNT';
/**
* Per project quota
*/
public const RATE_SCOPE_DEVELOPER = 'DEVELOPER';
/**
* The high level description of the quota bucket. Examples are "Get requests
* for standard access" or "Requests per account".
*
* @var string
*/
public $rateName;
/**
* The rate scope of the quota limit.
*
* @var string
*/
public $rateScope;
/**
* Backoff period that customers should wait before sending next request.
*
* @var string
*/
public $retryDelay;
/**
* The high level description of the quota bucket. Examples are "Get requests
* for standard access" or "Requests per account".
*
* @param string $rateName
*/
public function setRateName($rateName)
{
$this->rateName = $rateName;
}
/**
* @return string
*/
public function getRateName()
{
return $this->rateName;
}
/**
* The rate scope of the quota limit.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ACCOUNT, DEVELOPER
*
* @param self::RATE_SCOPE_* $rateScope
*/
public function setRateScope($rateScope)
{
$this->rateScope = $rateScope;
}
/**
* @return self::RATE_SCOPE_*
*/
public function getRateScope()
{
return $this->rateScope;
}
/**
* Backoff period that customers should wait before sending next request.
*
* @param string $retryDelay
*/
public function setRetryDelay($retryDelay)
{
$this->retryDelay = $retryDelay;
}
/**
* @return string
*/
public function getRetryDelay()
{
return $this->retryDelay;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ErrorsQuotaErrorDetails::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ErrorsQuotaErrorDetails');
@@ -0,0 +1,121 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ErrorsSearchAds360Error extends \Google\Model
{
protected $detailsType = GoogleAdsSearchads360V0ErrorsErrorDetails::class;
protected $detailsDataType = '';
protected $errorCodeType = GoogleAdsSearchads360V0ErrorsErrorCode::class;
protected $errorCodeDataType = '';
protected $locationType = GoogleAdsSearchads360V0ErrorsErrorLocation::class;
protected $locationDataType = '';
/**
* A human-readable description of the error.
*
* @var string
*/
public $message;
protected $triggerType = GoogleAdsSearchads360V0CommonValue::class;
protected $triggerDataType = '';
/**
* Additional error details, which are returned by certain error codes. Most
* error codes do not include details.
*
* @param GoogleAdsSearchads360V0ErrorsErrorDetails $details
*/
public function setDetails(GoogleAdsSearchads360V0ErrorsErrorDetails $details)
{
$this->details = $details;
}
/**
* @return GoogleAdsSearchads360V0ErrorsErrorDetails
*/
public function getDetails()
{
return $this->details;
}
/**
* An enum value that indicates which error occurred.
*
* @param GoogleAdsSearchads360V0ErrorsErrorCode $errorCode
*/
public function setErrorCode(GoogleAdsSearchads360V0ErrorsErrorCode $errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return GoogleAdsSearchads360V0ErrorsErrorCode
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* Describes the part of the request proto that caused the error.
*
* @param GoogleAdsSearchads360V0ErrorsErrorLocation $location
*/
public function setLocation(GoogleAdsSearchads360V0ErrorsErrorLocation $location)
{
$this->location = $location;
}
/**
* @return GoogleAdsSearchads360V0ErrorsErrorLocation
*/
public function getLocation()
{
return $this->location;
}
/**
* A human-readable description of the error.
*
* @param string $message
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* The value that triggered the error.
*
* @param GoogleAdsSearchads360V0CommonValue $trigger
*/
public function setTrigger(GoogleAdsSearchads360V0CommonValue $trigger)
{
$this->trigger = $trigger;
}
/**
* @return GoogleAdsSearchads360V0CommonValue
*/
public function getTrigger()
{
return $this->trigger;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ErrorsSearchAds360Error::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ErrorsSearchAds360Error');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ErrorsSearchAds360Failure extends \Google\Collection
{
protected $collection_key = 'errors';
protected $errorsType = GoogleAdsSearchads360V0ErrorsSearchAds360Error::class;
protected $errorsDataType = 'array';
/**
* The unique ID of the request that is used for debugging purposes.
*
* @var string
*/
public $requestId;
/**
* The list of errors that occurred.
*
* @param GoogleAdsSearchads360V0ErrorsSearchAds360Error[] $errors
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return GoogleAdsSearchads360V0ErrorsSearchAds360Error[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* The unique ID of the request that is used for debugging purposes.
*
* @param string $requestId
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ErrorsSearchAds360Failure::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ErrorsSearchAds360Failure');
@@ -0,0 +1,383 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategy extends \Google\Model
{
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Commission is an automatic bidding strategy in which the advertiser pays a
* certain portion of the conversion value.
*/
public const TYPE_COMMISSION = 'COMMISSION';
/**
* Enhanced CPC is a bidding strategy that raises bids for clicks that seem
* more likely to lead to a conversion and lowers them for clicks where they
* seem less likely.
*/
public const TYPE_ENHANCED_CPC = 'ENHANCED_CPC';
/**
* Used for return value only. Indicates that a campaign does not have a
* bidding strategy. This prevents the campaign from serving. For example, a
* campaign may be attached to a manager bidding strategy and the serving
* account is subsequently unlinked from the manager account. In this case the
* campaign will automatically be detached from the now inaccessible manager
* bidding strategy and transition to the INVALID bidding strategy type.
*/
public const TYPE_INVALID = 'INVALID';
/**
* Manual bidding strategy that allows advertiser to set the bid per
* advertiser-specified action.
*/
public const TYPE_MANUAL_CPA = 'MANUAL_CPA';
/**
* Manual click based bidding where user pays per click.
*/
public const TYPE_MANUAL_CPC = 'MANUAL_CPC';
/**
* Manual impression based bidding where user pays per thousand impressions.
*/
public const TYPE_MANUAL_CPM = 'MANUAL_CPM';
/**
* A bidding strategy that pays a configurable amount per video view.
*/
public const TYPE_MANUAL_CPV = 'MANUAL_CPV';
/**
* A bidding strategy that automatically maximizes number of conversions given
* a daily budget.
*/
public const TYPE_MAXIMIZE_CONVERSIONS = 'MAXIMIZE_CONVERSIONS';
/**
* An automated bidding strategy that automatically sets bids to maximize
* revenue while spending your budget.
*/
public const TYPE_MAXIMIZE_CONVERSION_VALUE = 'MAXIMIZE_CONVERSION_VALUE';
/**
* Page-One Promoted bidding scheme, which sets max cpc bids to target
* impressions on page one or page one promoted slots on google.com. This enum
* value is deprecated.
*/
public const TYPE_PAGE_ONE_PROMOTED = 'PAGE_ONE_PROMOTED';
/**
* Percent Cpc is bidding strategy where bids are a fraction of the advertised
* price for some good or service.
*/
public const TYPE_PERCENT_CPC = 'PERCENT_CPC';
/**
* Target CPA is an automated bid strategy that sets bids to help get as many
* conversions as possible at the target cost-per-acquisition (CPA) you set.
*/
public const TYPE_TARGET_CPA = 'TARGET_CPA';
/**
* Target CPM is an automated bid strategy that sets bids to help get as many
* impressions as possible at the target cost per one thousand impressions
* (CPM) you set.
*/
public const TYPE_TARGET_CPM = 'TARGET_CPM';
/**
* An automated bidding strategy that sets bids so that a certain percentage
* of search ads are shown at the top of the first page (or other targeted
* location).
*/
public const TYPE_TARGET_IMPRESSION_SHARE = 'TARGET_IMPRESSION_SHARE';
/**
* Target Outrank Share is an automated bidding strategy that sets bids based
* on the target fraction of auctions where the advertiser should outrank a
* specific competitor. This enum value is deprecated.
*/
public const TYPE_TARGET_OUTRANK_SHARE = 'TARGET_OUTRANK_SHARE';
/**
* Target ROAS is an automated bidding strategy that helps you maximize
* revenue while averaging a specific target Return On Average Spend (ROAS).
*/
public const TYPE_TARGET_ROAS = 'TARGET_ROAS';
/**
* Target Spend is an automated bid strategy that sets your bids to help get
* as many clicks as possible within your budget.
*/
public const TYPE_TARGET_SPEND = 'TARGET_SPEND';
/**
* Output only. The ID of the bidding strategy.
*
* @var string
*/
public $id;
protected $maximizeConversionValueType = GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversionValue::class;
protected $maximizeConversionValueDataType = '';
protected $maximizeConversionsType = GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversions::class;
protected $maximizeConversionsDataType = '';
/**
* Output only. The name of the bidding strategy.
*
* @var string
*/
public $name;
/**
* Output only. The ID of the Customer which owns the bidding strategy.
*
* @var string
*/
public $ownerCustomerId;
/**
* Output only. descriptive_name of the Customer which owns the bidding
* strategy.
*
* @var string
*/
public $ownerDescriptiveName;
/**
* Output only. The resource name of the accessible bidding strategy.
* AccessibleBiddingStrategy resource names have the form:
* `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}`
*
* @var string
*/
public $resourceName;
protected $targetCpaType = GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetCpa::class;
protected $targetCpaDataType = '';
protected $targetImpressionShareType = GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare::class;
protected $targetImpressionShareDataType = '';
protected $targetRoasType = GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetRoas::class;
protected $targetRoasDataType = '';
protected $targetSpendType = GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetSpend::class;
protected $targetSpendDataType = '';
/**
* Output only. The type of the bidding strategy.
*
* @var string
*/
public $type;
/**
* Output only. The ID of the bidding strategy.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Output only. An automated bidding strategy to help get the most conversion
* value for your campaigns while spending your budget.
*
* @param GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversionValue $maximizeConversionValue
*/
public function setMaximizeConversionValue(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversionValue $maximizeConversionValue)
{
$this->maximizeConversionValue = $maximizeConversionValue;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversionValue
*/
public function getMaximizeConversionValue()
{
return $this->maximizeConversionValue;
}
/**
* Output only. An automated bidding strategy to help get the most conversions
* for your campaigns while spending your budget.
*
* @param GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversions $maximizeConversions
*/
public function setMaximizeConversions(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversions $maximizeConversions)
{
$this->maximizeConversions = $maximizeConversions;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversions
*/
public function getMaximizeConversions()
{
return $this->maximizeConversions;
}
/**
* Output only. The name of the bidding strategy.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The ID of the Customer which owns the bidding strategy.
*
* @param string $ownerCustomerId
*/
public function setOwnerCustomerId($ownerCustomerId)
{
$this->ownerCustomerId = $ownerCustomerId;
}
/**
* @return string
*/
public function getOwnerCustomerId()
{
return $this->ownerCustomerId;
}
/**
* Output only. descriptive_name of the Customer which owns the bidding
* strategy.
*
* @param string $ownerDescriptiveName
*/
public function setOwnerDescriptiveName($ownerDescriptiveName)
{
$this->ownerDescriptiveName = $ownerDescriptiveName;
}
/**
* @return string
*/
public function getOwnerDescriptiveName()
{
return $this->ownerDescriptiveName;
}
/**
* Output only. The resource name of the accessible bidding strategy.
* AccessibleBiddingStrategy resource names have the form:
* `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Output only. A bidding strategy that sets bids to help get as many
* conversions as possible at the target cost-per-acquisition (CPA) you set.
*
* @param GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetCpa $targetCpa
*/
public function setTargetCpa(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetCpa $targetCpa)
{
$this->targetCpa = $targetCpa;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetCpa
*/
public function getTargetCpa()
{
return $this->targetCpa;
}
/**
* Output only. A bidding strategy that automatically optimizes towards a
* chosen percentage of impressions.
*
* @param GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare $targetImpressionShare
*/
public function setTargetImpressionShare(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare $targetImpressionShare)
{
$this->targetImpressionShare = $targetImpressionShare;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare
*/
public function getTargetImpressionShare()
{
return $this->targetImpressionShare;
}
/**
* Output only. A bidding strategy that helps you maximize revenue while
* averaging a specific target Return On Ad Spend (ROAS).
*
* @param GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetRoas $targetRoas
*/
public function setTargetRoas(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetRoas $targetRoas)
{
$this->targetRoas = $targetRoas;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetRoas
*/
public function getTargetRoas()
{
return $this->targetRoas;
}
/**
* Output only. A bid strategy that sets your bids to help get as many clicks
* as possible within your budget.
*
* @param GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetSpend $targetSpend
*/
public function setTargetSpend(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetSpend $targetSpend)
{
$this->targetSpend = $targetSpend;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetSpend
*/
public function getTargetSpend()
{
return $this->targetSpend;
}
/**
* Output only. The type of the bidding strategy.
*
* Accepted values: UNSPECIFIED, UNKNOWN, COMMISSION, ENHANCED_CPC, INVALID,
* MANUAL_CPA, MANUAL_CPC, MANUAL_CPM, MANUAL_CPV, MAXIMIZE_CONVERSIONS,
* MAXIMIZE_CONVERSION_VALUE, PAGE_ONE_PROMOTED, PERCENT_CPC, TARGET_CPA,
* TARGET_CPM, TARGET_IMPRESSION_SHARE, TARGET_OUTRANK_SHARE, TARGET_ROAS,
* TARGET_SPEND
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategy::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategy');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversionValue extends \Google\Model
{
/**
* Output only. The target return on ad spend (ROAS) option. If set, the bid
* strategy will maximize revenue while averaging the target return on ad
* spend. If the target ROAS is high, the bid strategy may not be able to
* spend the full budget. If the target ROAS is not set, the bid strategy will
* aim to achieve the highest possible ROAS for the budget.
*
* @var
*/
public $targetRoas;
public function setTargetRoas($targetRoas)
{
$this->targetRoas = $targetRoas;
}
public function getTargetRoas()
{
return $this->targetRoas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversionValue::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversionValue');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversions extends \Google\Model
{
/**
* Output only. The target cost per acquisition (CPA) option. This is the
* average amount that you would like to spend per acquisition.
*
* @var string
*/
public $targetCpa;
/**
* Output only. The target cost per acquisition (CPA) option. This is the
* average amount that you would like to spend per acquisition.
*
* @var string
*/
public $targetCpaMicros;
/**
* Output only. The target cost per acquisition (CPA) option. This is the
* average amount that you would like to spend per acquisition.
*
* @param string $targetCpa
*/
public function setTargetCpa($targetCpa)
{
$this->targetCpa = $targetCpa;
}
/**
* @return string
*/
public function getTargetCpa()
{
return $this->targetCpa;
}
/**
* Output only. The target cost per acquisition (CPA) option. This is the
* average amount that you would like to spend per acquisition.
*
* @param string $targetCpaMicros
*/
public function setTargetCpaMicros($targetCpaMicros)
{
$this->targetCpaMicros = $targetCpaMicros;
}
/**
* @return string
*/
public function getTargetCpaMicros()
{
return $this->targetCpaMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversions::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyMaximizeConversions');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetCpa extends \Google\Model
{
/**
* Output only. Average CPA target. This target should be greater than or
* equal to minimum billable unit based on the currency for the account.
*
* @var string
*/
public $targetCpaMicros;
/**
* Output only. Average CPA target. This target should be greater than or
* equal to minimum billable unit based on the currency for the account.
*
* @param string $targetCpaMicros
*/
public function setTargetCpaMicros($targetCpaMicros)
{
$this->targetCpaMicros = $targetCpaMicros;
}
/**
* @return string
*/
public function getTargetCpaMicros()
{
return $this->targetCpaMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetCpa::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetCpa');
@@ -0,0 +1,121 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare extends \Google\Model
{
/**
* Not specified.
*/
public const LOCATION_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const LOCATION_UNKNOWN = 'UNKNOWN';
/**
* Any location on the web page.
*/
public const LOCATION_ANYWHERE_ON_PAGE = 'ANYWHERE_ON_PAGE';
/**
* Top box of ads.
*/
public const LOCATION_TOP_OF_PAGE = 'TOP_OF_PAGE';
/**
* Top slot in the top box of ads.
*/
public const LOCATION_ABSOLUTE_TOP_OF_PAGE = 'ABSOLUTE_TOP_OF_PAGE';
/**
* Output only. The highest CPC bid the automated bidding system is permitted
* to specify. This is a required field entered by the advertiser that sets
* the ceiling and specified in local micros.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Output only. The targeted location on the search results page.
*
* @var string
*/
public $location;
/**
* The chosen fraction of ads to be shown in the targeted location in micros.
* For example, 1% equals 10,000.
*
* @var string
*/
public $locationFractionMicros;
/**
* Output only. The highest CPC bid the automated bidding system is permitted
* to specify. This is a required field entered by the advertiser that sets
* the ceiling and specified in local micros.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Output only. The targeted location on the search results page.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ANYWHERE_ON_PAGE, TOP_OF_PAGE,
* ABSOLUTE_TOP_OF_PAGE
*
* @param self::LOCATION_* $location
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return self::LOCATION_*
*/
public function getLocation()
{
return $this->location;
}
/**
* The chosen fraction of ads to be shown in the targeted location in micros.
* For example, 1% equals 10,000.
*
* @param string $locationFractionMicros
*/
public function setLocationFractionMicros($locationFractionMicros)
{
$this->locationFractionMicros = $locationFractionMicros;
}
/**
* @return string
*/
public function getLocationFractionMicros()
{
return $this->locationFractionMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetImpressionShare');
@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetRoas extends \Google\Model
{
/**
* Output only. The chosen revenue (based on conversion data) per unit of
* spend.
*
* @var
*/
public $targetRoas;
public function setTargetRoas($targetRoas)
{
$this->targetRoas = $targetRoas;
}
public function getTargetRoas()
{
return $this->targetRoas;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetRoas::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetRoas');
@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetSpend extends \Google\Model
{
/**
* Output only. Maximum bid limit that can be set by the bid strategy. The
* limit applies to all keywords managed by the strategy.
*
* @var string
*/
public $cpcBidCeilingMicros;
/**
* Output only. The spend target under which to maximize clicks. A TargetSpend
* bidder will attempt to spend the smaller of this value or the natural
* throttling spend amount. If not specified, the budget is used as the spend
* target. This field is deprecated and should no longer be used. See
* https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-
* creation-of.html for details.
*
* @deprecated
* @var string
*/
public $targetSpendMicros;
/**
* Output only. Maximum bid limit that can be set by the bid strategy. The
* limit applies to all keywords managed by the strategy.
*
* @param string $cpcBidCeilingMicros
*/
public function setCpcBidCeilingMicros($cpcBidCeilingMicros)
{
$this->cpcBidCeilingMicros = $cpcBidCeilingMicros;
}
/**
* @return string
*/
public function getCpcBidCeilingMicros()
{
return $this->cpcBidCeilingMicros;
}
/**
* Output only. The spend target under which to maximize clicks. A TargetSpend
* bidder will attempt to spend the smaller of this value or the natural
* throttling spend amount. If not specified, the budget is used as the spend
* target. This field is deprecated and should no longer be used. See
* https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-
* creation-of.html for details.
*
* @deprecated
* @param string $targetSpendMicros
*/
public function setTargetSpendMicros($targetSpendMicros)
{
$this->targetSpendMicros = $targetSpendMicros;
}
/**
* @deprecated
* @return string
*/
public function getTargetSpendMicros()
{
return $this->targetSpendMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetSpend::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAccessibleBiddingStrategyTargetSpend');
@@ -0,0 +1,496 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAd extends \Google\Collection
{
/**
* No value has been specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* The ad is a text ad.
*/
public const TYPE_TEXT_AD = 'TEXT_AD';
/**
* The ad is an expanded text ad.
*/
public const TYPE_EXPANDED_TEXT_AD = 'EXPANDED_TEXT_AD';
/**
* The ad is a call only ad.
*/
public const TYPE_CALL_ONLY_AD = 'CALL_ONLY_AD';
/**
* The ad is an expanded dynamic search ad.
*/
public const TYPE_EXPANDED_DYNAMIC_SEARCH_AD = 'EXPANDED_DYNAMIC_SEARCH_AD';
/**
* The ad is a hotel ad.
*/
public const TYPE_HOTEL_AD = 'HOTEL_AD';
/**
* The ad is a Smart Shopping ad.
*/
public const TYPE_SHOPPING_SMART_AD = 'SHOPPING_SMART_AD';
/**
* The ad is a standard Shopping ad.
*/
public const TYPE_SHOPPING_PRODUCT_AD = 'SHOPPING_PRODUCT_AD';
/**
* The ad is a video ad.
*/
public const TYPE_VIDEO_AD = 'VIDEO_AD';
/**
* This ad is a Gmail ad.
*/
public const TYPE_GMAIL_AD = 'GMAIL_AD';
/**
* This ad is an Image ad.
*/
public const TYPE_IMAGE_AD = 'IMAGE_AD';
/**
* The ad is a responsive search ad.
*/
public const TYPE_RESPONSIVE_SEARCH_AD = 'RESPONSIVE_SEARCH_AD';
/**
* The ad is a legacy responsive display ad.
*/
public const TYPE_LEGACY_RESPONSIVE_DISPLAY_AD = 'LEGACY_RESPONSIVE_DISPLAY_AD';
/**
* The ad is an app ad.
*/
public const TYPE_APP_AD = 'APP_AD';
/**
* The ad is a legacy app install ad.
*/
public const TYPE_LEGACY_APP_INSTALL_AD = 'LEGACY_APP_INSTALL_AD';
/**
* The ad is a responsive display ad.
*/
public const TYPE_RESPONSIVE_DISPLAY_AD = 'RESPONSIVE_DISPLAY_AD';
/**
* The ad is a local ad.
*/
public const TYPE_LOCAL_AD = 'LOCAL_AD';
/**
* The ad is a display upload ad with the HTML5_UPLOAD_AD product type.
*/
public const TYPE_HTML5_UPLOAD_AD = 'HTML5_UPLOAD_AD';
/**
* The ad is a display upload ad with one of the DYNAMIC_HTML5_* product
* types.
*/
public const TYPE_DYNAMIC_HTML5_AD = 'DYNAMIC_HTML5_AD';
/**
* The ad is an app engagement ad.
*/
public const TYPE_APP_ENGAGEMENT_AD = 'APP_ENGAGEMENT_AD';
/**
* The ad is a Shopping Comparison Listing ad.
*/
public const TYPE_SHOPPING_COMPARISON_LISTING_AD = 'SHOPPING_COMPARISON_LISTING_AD';
/**
* Video bumper ad.
*/
public const TYPE_VIDEO_BUMPER_AD = 'VIDEO_BUMPER_AD';
/**
* Video non-skippable in-stream ad.
*/
public const TYPE_VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 'VIDEO_NON_SKIPPABLE_IN_STREAM_AD';
/**
* Video outstream ad.
*/
public const TYPE_VIDEO_OUTSTREAM_AD = 'VIDEO_OUTSTREAM_AD';
/**
* Video TrueView in-display ad.
*/
public const TYPE_VIDEO_TRUEVIEW_DISCOVERY_AD = 'VIDEO_TRUEVIEW_DISCOVERY_AD';
/**
* Video TrueView in-stream ad.
*/
public const TYPE_VIDEO_TRUEVIEW_IN_STREAM_AD = 'VIDEO_TRUEVIEW_IN_STREAM_AD';
/**
* Video responsive ad.
*/
public const TYPE_VIDEO_RESPONSIVE_AD = 'VIDEO_RESPONSIVE_AD';
/**
* Smart campaign ad.
*/
public const TYPE_SMART_CAMPAIGN_AD = 'SMART_CAMPAIGN_AD';
/**
* Universal app pre-registration ad.
*/
public const TYPE_APP_PRE_REGISTRATION_AD = 'APP_PRE_REGISTRATION_AD';
/**
* Discovery multi asset ad.
*/
public const TYPE_DISCOVERY_MULTI_ASSET_AD = 'DISCOVERY_MULTI_ASSET_AD';
/**
* Discovery carousel ad.
*/
public const TYPE_DISCOVERY_CAROUSEL_AD = 'DISCOVERY_CAROUSEL_AD';
/**
* Travel ad.
*/
public const TYPE_TRAVEL_AD = 'TRAVEL_AD';
/**
* Discovery video responsive ad.
*/
public const TYPE_DISCOVERY_VIDEO_RESPONSIVE_AD = 'DISCOVERY_VIDEO_RESPONSIVE_AD';
/**
* Multimedia ad.
*/
public const TYPE_MULTIMEDIA_AD = 'MULTIMEDIA_AD';
protected $collection_key = 'finalUrls';
/**
* The URL that appears in the ad description for some ad formats.
*
* @var string
*/
public $displayUrl;
protected $expandedDynamicSearchAdType = GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo::class;
protected $expandedDynamicSearchAdDataType = '';
protected $expandedTextAdType = GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo::class;
protected $expandedTextAdDataType = '';
protected $finalAppUrlsType = GoogleAdsSearchads360V0CommonFinalAppUrl::class;
protected $finalAppUrlsDataType = 'array';
/**
* The list of possible final mobile URLs after all cross-domain redirects for
* the ad.
*
* @var string[]
*/
public $finalMobileUrls;
/**
* The suffix to use when constructing a final URL.
*
* @var string
*/
public $finalUrlSuffix;
/**
* The list of possible final URLs after all cross-domain redirects for the
* ad.
*
* @var string[]
*/
public $finalUrls;
/**
* Output only. The ID of the ad.
*
* @var string
*/
public $id;
/**
* Immutable. The name of the ad. This is only used to be able to identify the
* ad. It does not need to be unique and does not affect the served ad.
*
* @var string
*/
public $name;
protected $productAdType = GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo::class;
protected $productAdDataType = '';
/**
* Immutable. The resource name of the ad. Ad resource names have the form:
* `customers/{customer_id}/ads/{ad_id}`
*
* @var string
*/
public $resourceName;
protected $responsiveSearchAdType = GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo::class;
protected $responsiveSearchAdDataType = '';
protected $textAdType = GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo::class;
protected $textAdDataType = '';
/**
* The URL template for constructing a tracking URL.
*
* @var string
*/
public $trackingUrlTemplate;
/**
* Output only. The type of ad.
*
* @var string
*/
public $type;
/**
* The URL that appears in the ad description for some ad formats.
*
* @param string $displayUrl
*/
public function setDisplayUrl($displayUrl)
{
$this->displayUrl = $displayUrl;
}
/**
* @return string
*/
public function getDisplayUrl()
{
return $this->displayUrl;
}
/**
* Immutable. Details pertaining to an expanded dynamic search ad.
*
* @param GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo $expandedDynamicSearchAd
*/
public function setExpandedDynamicSearchAd(GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo $expandedDynamicSearchAd)
{
$this->expandedDynamicSearchAd = $expandedDynamicSearchAd;
}
/**
* @return GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
*/
public function getExpandedDynamicSearchAd()
{
return $this->expandedDynamicSearchAd;
}
/**
* Immutable. Details pertaining to an expanded text ad.
*
* @param GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo $expandedTextAd
*/
public function setExpandedTextAd(GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo $expandedTextAd)
{
$this->expandedTextAd = $expandedTextAd;
}
/**
* @return GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
*/
public function getExpandedTextAd()
{
return $this->expandedTextAd;
}
/**
* A list of final app URLs that will be used on mobile if the user has the
* specific app installed.
*
* @param GoogleAdsSearchads360V0CommonFinalAppUrl[] $finalAppUrls
*/
public function setFinalAppUrls($finalAppUrls)
{
$this->finalAppUrls = $finalAppUrls;
}
/**
* @return GoogleAdsSearchads360V0CommonFinalAppUrl[]
*/
public function getFinalAppUrls()
{
return $this->finalAppUrls;
}
/**
* The list of possible final mobile URLs after all cross-domain redirects for
* the ad.
*
* @param string[] $finalMobileUrls
*/
public function setFinalMobileUrls($finalMobileUrls)
{
$this->finalMobileUrls = $finalMobileUrls;
}
/**
* @return string[]
*/
public function getFinalMobileUrls()
{
return $this->finalMobileUrls;
}
/**
* The suffix to use when constructing a final URL.
*
* @param string $finalUrlSuffix
*/
public function setFinalUrlSuffix($finalUrlSuffix)
{
$this->finalUrlSuffix = $finalUrlSuffix;
}
/**
* @return string
*/
public function getFinalUrlSuffix()
{
return $this->finalUrlSuffix;
}
/**
* The list of possible final URLs after all cross-domain redirects for the
* ad.
*
* @param string[] $finalUrls
*/
public function setFinalUrls($finalUrls)
{
$this->finalUrls = $finalUrls;
}
/**
* @return string[]
*/
public function getFinalUrls()
{
return $this->finalUrls;
}
/**
* Output only. The ID of the ad.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Immutable. The name of the ad. This is only used to be able to identify the
* ad. It does not need to be unique and does not affect the served ad.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Immutable. Details pertaining to a product ad.
*
* @param GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo $productAd
*/
public function setProductAd(GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo $productAd)
{
$this->productAd = $productAd;
}
/**
* @return GoogleAdsSearchads360V0CommonSearchAds360ProductAdInfo
*/
public function getProductAd()
{
return $this->productAd;
}
/**
* Immutable. The resource name of the ad. Ad resource names have the form:
* `customers/{customer_id}/ads/{ad_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Immutable. Details pertaining to a responsive search ad.
*
* @param GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo $responsiveSearchAd
*/
public function setResponsiveSearchAd(GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo $responsiveSearchAd)
{
$this->responsiveSearchAd = $responsiveSearchAd;
}
/**
* @return GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
*/
public function getResponsiveSearchAd()
{
return $this->responsiveSearchAd;
}
/**
* Immutable. Details pertaining to a text ad.
*
* @param GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo $textAd
*/
public function setTextAd(GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo $textAd)
{
$this->textAd = $textAd;
}
/**
* @return GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
*/
public function getTextAd()
{
return $this->textAd;
}
/**
* The URL template for constructing a tracking URL.
*
* @param string $trackingUrlTemplate
*/
public function setTrackingUrlTemplate($trackingUrlTemplate)
{
$this->trackingUrlTemplate = $trackingUrlTemplate;
}
/**
* @return string
*/
public function getTrackingUrlTemplate()
{
return $this->trackingUrlTemplate;
}
/**
* Output only. The type of ad.
*
* Accepted values: UNSPECIFIED, UNKNOWN, TEXT_AD, EXPANDED_TEXT_AD,
* CALL_ONLY_AD, EXPANDED_DYNAMIC_SEARCH_AD, HOTEL_AD, SHOPPING_SMART_AD,
* SHOPPING_PRODUCT_AD, VIDEO_AD, GMAIL_AD, IMAGE_AD, RESPONSIVE_SEARCH_AD,
* LEGACY_RESPONSIVE_DISPLAY_AD, APP_AD, LEGACY_APP_INSTALL_AD,
* RESPONSIVE_DISPLAY_AD, LOCAL_AD, HTML5_UPLOAD_AD, DYNAMIC_HTML5_AD,
* APP_ENGAGEMENT_AD, SHOPPING_COMPARISON_LISTING_AD, VIDEO_BUMPER_AD,
* VIDEO_NON_SKIPPABLE_IN_STREAM_AD, VIDEO_OUTSTREAM_AD,
* VIDEO_TRUEVIEW_DISCOVERY_AD, VIDEO_TRUEVIEW_IN_STREAM_AD,
* VIDEO_RESPONSIVE_AD, SMART_CAMPAIGN_AD, APP_PRE_REGISTRATION_AD,
* DISCOVERY_MULTI_ASSET_AD, DISCOVERY_CAROUSEL_AD, TRAVEL_AD,
* DISCOVERY_VIDEO_RESPONSIVE_AD, MULTIMEDIA_AD
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAd::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAd');
@@ -0,0 +1,676 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroup extends \Google\Collection
{
/**
* The ad rotation mode has not been specified.
*/
public const AD_ROTATION_MODE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const AD_ROTATION_MODE_UNKNOWN = 'UNKNOWN';
/**
* Optimize ad group ads based on clicks or conversions.
*/
public const AD_ROTATION_MODE_OPTIMIZE = 'OPTIMIZE';
/**
* Rotate evenly forever.
*/
public const AD_ROTATION_MODE_ROTATE_FOREVER = 'ROTATE_FOREVER';
/**
* Not specified.
*/
public const ENGINE_STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const ENGINE_STATUS_UNKNOWN = 'UNKNOWN';
/**
* Deprecated. Do not use.
*
* @deprecated
*/
public const ENGINE_STATUS_AD_GROUP_ELIGIBLE = 'AD_GROUP_ELIGIBLE';
/**
* No ads are running for this ad group, because the ad group's end date has
* passed.
*/
public const ENGINE_STATUS_AD_GROUP_EXPIRED = 'AD_GROUP_EXPIRED';
/**
* The ad group has been deleted.
*/
public const ENGINE_STATUS_AD_GROUP_REMOVED = 'AD_GROUP_REMOVED';
/**
* No ads are running for this ad group because the associated ad group is
* still in draft form.
*/
public const ENGINE_STATUS_AD_GROUP_DRAFT = 'AD_GROUP_DRAFT';
/**
* The ad group has been paused.
*/
public const ENGINE_STATUS_AD_GROUP_PAUSED = 'AD_GROUP_PAUSED';
/**
* The ad group is active and currently serving ads.
*/
public const ENGINE_STATUS_AD_GROUP_SERVING = 'AD_GROUP_SERVING';
/**
* The ad group has been submitted (Microsoft Bing Ads legacy status).
*/
public const ENGINE_STATUS_AD_GROUP_SUBMITTED = 'AD_GROUP_SUBMITTED';
/**
* No ads are running for this ad group, because the campaign has been paused.
*/
public const ENGINE_STATUS_CAMPAIGN_PAUSED = 'CAMPAIGN_PAUSED';
/**
* No ads are running for this ad group, because the account has been paused.
*/
public const ENGINE_STATUS_ACCOUNT_PAUSED = 'ACCOUNT_PAUSED';
/**
* The status has not been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The ad group is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The ad group is paused.
*/
public const STATUS_PAUSED = 'PAUSED';
/**
* The ad group is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* The type has not been specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* The default ad group type for Search campaigns.
*/
public const TYPE_SEARCH_STANDARD = 'SEARCH_STANDARD';
/**
* The default ad group type for Display campaigns.
*/
public const TYPE_DISPLAY_STANDARD = 'DISPLAY_STANDARD';
/**
* The ad group type for Shopping campaigns serving standard product ads.
*/
public const TYPE_SHOPPING_PRODUCT_ADS = 'SHOPPING_PRODUCT_ADS';
/**
* The type for ad groups that are limited to serving Showcase or Merchant ads
* in Shopping results.
*/
public const TYPE_SHOPPING_SHOWCASE_ADS = 'SHOPPING_SHOWCASE_ADS';
/**
* The default ad group type for Hotel campaigns.
*/
public const TYPE_HOTEL_ADS = 'HOTEL_ADS';
/**
* The type for ad groups in Smart Shopping campaigns.
*/
public const TYPE_SHOPPING_SMART_ADS = 'SHOPPING_SMART_ADS';
/**
* Short unskippable in-stream video ads.
*/
public const TYPE_VIDEO_BUMPER = 'VIDEO_BUMPER';
/**
* TrueView (skippable) in-stream video ads.
*/
public const TYPE_VIDEO_TRUE_VIEW_IN_STREAM = 'VIDEO_TRUE_VIEW_IN_STREAM';
/**
* TrueView in-display video ads.
*/
public const TYPE_VIDEO_TRUE_VIEW_IN_DISPLAY = 'VIDEO_TRUE_VIEW_IN_DISPLAY';
/**
* Unskippable in-stream video ads.
*/
public const TYPE_VIDEO_NON_SKIPPABLE_IN_STREAM = 'VIDEO_NON_SKIPPABLE_IN_STREAM';
/**
* Outstream video ads.
*/
public const TYPE_VIDEO_OUTSTREAM = 'VIDEO_OUTSTREAM';
/**
* Ad group type for Dynamic Search Ads ad groups.
*/
public const TYPE_SEARCH_DYNAMIC_ADS = 'SEARCH_DYNAMIC_ADS';
/**
* The type for ad groups in Shopping Comparison Listing campaigns.
*/
public const TYPE_SHOPPING_COMPARISON_LISTING_ADS = 'SHOPPING_COMPARISON_LISTING_ADS';
/**
* The ad group type for Promoted Hotel ad groups.
*/
public const TYPE_PROMOTED_HOTEL_ADS = 'PROMOTED_HOTEL_ADS';
/**
* Video responsive ad groups.
*/
public const TYPE_VIDEO_RESPONSIVE = 'VIDEO_RESPONSIVE';
/**
* Video efficient reach ad groups.
*/
public const TYPE_VIDEO_EFFICIENT_REACH = 'VIDEO_EFFICIENT_REACH';
/**
* Ad group type for Smart campaigns.
*/
public const TYPE_SMART_CAMPAIGN_ADS = 'SMART_CAMPAIGN_ADS';
/**
* Ad group type for Travel campaigns.
*/
public const TYPE_TRAVEL_ADS = 'TRAVEL_ADS';
protected $collection_key = 'labels';
/**
* The ad rotation mode of the ad group.
*
* @var string
*/
public $adRotationMode;
/**
* The maximum CPC (cost-per-click) bid. This field is used when the ad
* group's effective bidding strategy is Manual CPC. This field is not
* applicable and will be ignored if the ad group's campaign is using a
* portfolio bidding strategy.
*
* @var string
*/
public $cpcBidMicros;
/**
* Output only. The timestamp when this ad_group was created. The timestamp is
* in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
*
* @var string
*/
public $creationTime;
/**
* Output only. The resource names of effective labels attached to this ad
* group. An effective label is a label inherited or directly assigned to this
* ad group.
*
* @var string[]
*/
public $effectiveLabels;
/**
* Output only. Date when the ad group ends serving ads. By default, the ad
* group ends on the ad group's end date. If this field is set, then the ad
* group ends at the end of the specified date in the customer's time zone.
* This field is only available for Microsoft Advertising and Facebook gateway
* accounts. Format: YYYY-MM-DD Example: 2019-03-14
*
* @var string
*/
public $endDate;
/**
* Output only. ID of the ad group in the external engine account. This field
* is for non-Google Ads account only, for example, Yahoo Japan, Microsoft,
* Baidu etc. For Google Ads entity, use "ad_group.id" instead.
*
* @var string
*/
public $engineId;
/**
* Output only. The Engine Status for ad group.
*
* @var string
*/
public $engineStatus;
/**
* URL template for appending params to Final URL.
*
* @var string
*/
public $finalUrlSuffix;
/**
* Output only. The ID of the ad group.
*
* @var string
*/
public $id;
/**
* Output only. The resource names of labels attached to this ad group.
*
* @var string[]
*/
public $labels;
/**
* Output only. The language of the ads and keywords in an ad group. This
* field is only available for Microsoft Advertising accounts. More details:
* https://docs.microsoft.com/en-us/advertising/guides/ad-
* languages?view=bingads-13#adlanguage
*
* @var string
*/
public $languageCode;
/**
* Output only. The datetime when this ad group was last modified. The
* datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
* format.
*
* @var string
*/
public $lastModifiedTime;
/**
* The name of the ad group. This field is required and should not be empty
* when creating new ad groups. It must contain fewer than 255 UTF-8 full-
* width characters. It must not contain any null (code point 0x0), NL line
* feed (code point 0xA) or carriage return (code point 0xD) characters.
*
* @var string
*/
public $name;
/**
* Immutable. The resource name of the ad group. Ad group resource names have
* the form: `customers/{customer_id}/adGroups/{ad_group_id}`
*
* @var string
*/
public $resourceName;
/**
* Output only. Date when this ad group starts serving ads. By default, the ad
* group starts now or the ad group's start date, whichever is later. If this
* field is set, then the ad group starts at the beginning of the specified
* date in the customer's time zone. This field is only available for
* Microsoft Advertising and Facebook gateway accounts. Format: YYYY-MM-DD
* Example: 2019-03-14
*
* @var string
*/
public $startDate;
/**
* The status of the ad group.
*
* @var string
*/
public $status;
protected $targetingSettingType = GoogleAdsSearchads360V0CommonTargetingSetting::class;
protected $targetingSettingDataType = '';
/**
* The URL template for constructing a tracking URL.
*
* @var string
*/
public $trackingUrlTemplate;
/**
* Immutable. The type of the ad group.
*
* @var string
*/
public $type;
/**
* The ad rotation mode of the ad group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, OPTIMIZE, ROTATE_FOREVER
*
* @param self::AD_ROTATION_MODE_* $adRotationMode
*/
public function setAdRotationMode($adRotationMode)
{
$this->adRotationMode = $adRotationMode;
}
/**
* @return self::AD_ROTATION_MODE_*
*/
public function getAdRotationMode()
{
return $this->adRotationMode;
}
/**
* The maximum CPC (cost-per-click) bid. This field is used when the ad
* group's effective bidding strategy is Manual CPC. This field is not
* applicable and will be ignored if the ad group's campaign is using a
* portfolio bidding strategy.
*
* @param string $cpcBidMicros
*/
public function setCpcBidMicros($cpcBidMicros)
{
$this->cpcBidMicros = $cpcBidMicros;
}
/**
* @return string
*/
public function getCpcBidMicros()
{
return $this->cpcBidMicros;
}
/**
* Output only. The timestamp when this ad_group was created. The timestamp is
* in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
*
* @param string $creationTime
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* Output only. The resource names of effective labels attached to this ad
* group. An effective label is a label inherited or directly assigned to this
* ad group.
*
* @param string[] $effectiveLabels
*/
public function setEffectiveLabels($effectiveLabels)
{
$this->effectiveLabels = $effectiveLabels;
}
/**
* @return string[]
*/
public function getEffectiveLabels()
{
return $this->effectiveLabels;
}
/**
* Output only. Date when the ad group ends serving ads. By default, the ad
* group ends on the ad group's end date. If this field is set, then the ad
* group ends at the end of the specified date in the customer's time zone.
* This field is only available for Microsoft Advertising and Facebook gateway
* accounts. Format: YYYY-MM-DD Example: 2019-03-14
*
* @param string $endDate
*/
public function setEndDate($endDate)
{
$this->endDate = $endDate;
}
/**
* @return string
*/
public function getEndDate()
{
return $this->endDate;
}
/**
* Output only. ID of the ad group in the external engine account. This field
* is for non-Google Ads account only, for example, Yahoo Japan, Microsoft,
* Baidu etc. For Google Ads entity, use "ad_group.id" instead.
*
* @param string $engineId
*/
public function setEngineId($engineId)
{
$this->engineId = $engineId;
}
/**
* @return string
*/
public function getEngineId()
{
return $this->engineId;
}
/**
* Output only. The Engine Status for ad group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, AD_GROUP_ELIGIBLE, AD_GROUP_EXPIRED,
* AD_GROUP_REMOVED, AD_GROUP_DRAFT, AD_GROUP_PAUSED, AD_GROUP_SERVING,
* AD_GROUP_SUBMITTED, CAMPAIGN_PAUSED, ACCOUNT_PAUSED
*
* @param self::ENGINE_STATUS_* $engineStatus
*/
public function setEngineStatus($engineStatus)
{
$this->engineStatus = $engineStatus;
}
/**
* @return self::ENGINE_STATUS_*
*/
public function getEngineStatus()
{
return $this->engineStatus;
}
/**
* URL template for appending params to Final URL.
*
* @param string $finalUrlSuffix
*/
public function setFinalUrlSuffix($finalUrlSuffix)
{
$this->finalUrlSuffix = $finalUrlSuffix;
}
/**
* @return string
*/
public function getFinalUrlSuffix()
{
return $this->finalUrlSuffix;
}
/**
* Output only. The ID of the ad group.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Output only. The resource names of labels attached to this ad group.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The language of the ads and keywords in an ad group. This
* field is only available for Microsoft Advertising accounts. More details:
* https://docs.microsoft.com/en-us/advertising/guides/ad-
* languages?view=bingads-13#adlanguage
*
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Output only. The datetime when this ad group was last modified. The
* datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
* format.
*
* @param string $lastModifiedTime
*/
public function setLastModifiedTime($lastModifiedTime)
{
$this->lastModifiedTime = $lastModifiedTime;
}
/**
* @return string
*/
public function getLastModifiedTime()
{
return $this->lastModifiedTime;
}
/**
* The name of the ad group. This field is required and should not be empty
* when creating new ad groups. It must contain fewer than 255 UTF-8 full-
* width characters. It must not contain any null (code point 0x0), NL line
* feed (code point 0xA) or carriage return (code point 0xD) characters.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Immutable. The resource name of the ad group. Ad group resource names have
* the form: `customers/{customer_id}/adGroups/{ad_group_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Output only. Date when this ad group starts serving ads. By default, the ad
* group starts now or the ad group's start date, whichever is later. If this
* field is set, then the ad group starts at the beginning of the specified
* date in the customer's time zone. This field is only available for
* Microsoft Advertising and Facebook gateway accounts. Format: YYYY-MM-DD
* Example: 2019-03-14
*
* @param string $startDate
*/
public function setStartDate($startDate)
{
$this->startDate = $startDate;
}
/**
* @return string
*/
public function getStartDate()
{
return $this->startDate;
}
/**
* The status of the ad group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, PAUSED, REMOVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* Setting for targeting related features.
*
* @param GoogleAdsSearchads360V0CommonTargetingSetting $targetingSetting
*/
public function setTargetingSetting(GoogleAdsSearchads360V0CommonTargetingSetting $targetingSetting)
{
$this->targetingSetting = $targetingSetting;
}
/**
* @return GoogleAdsSearchads360V0CommonTargetingSetting
*/
public function getTargetingSetting()
{
return $this->targetingSetting;
}
/**
* The URL template for constructing a tracking URL.
*
* @param string $trackingUrlTemplate
*/
public function setTrackingUrlTemplate($trackingUrlTemplate)
{
$this->trackingUrlTemplate = $trackingUrlTemplate;
}
/**
* @return string
*/
public function getTrackingUrlTemplate()
{
return $this->trackingUrlTemplate;
}
/**
* Immutable. The type of the ad group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, SEARCH_STANDARD, DISPLAY_STANDARD,
* SHOPPING_PRODUCT_ADS, SHOPPING_SHOWCASE_ADS, HOTEL_ADS, SHOPPING_SMART_ADS,
* VIDEO_BUMPER, VIDEO_TRUE_VIEW_IN_STREAM, VIDEO_TRUE_VIEW_IN_DISPLAY,
* VIDEO_NON_SKIPPABLE_IN_STREAM, VIDEO_OUTSTREAM, SEARCH_DYNAMIC_ADS,
* SHOPPING_COMPARISON_LISTING_ADS, PROMOTED_HOTEL_ADS, VIDEO_RESPONSIVE,
* VIDEO_EFFICIENT_REACH, SMART_CAMPAIGN_ADS, TRAVEL_ADS
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroup::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroup');
@@ -0,0 +1,351 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupAd extends \Google\Collection
{
/**
* No value has been specified.
*/
public const ENGINE_STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const ENGINE_STATUS_UNKNOWN = 'UNKNOWN';
/**
* Deprecated. Do not use.
*
* @deprecated
*/
public const ENGINE_STATUS_AD_GROUP_AD_ELIGIBLE = 'AD_GROUP_AD_ELIGIBLE';
/**
* Baidu: Creative was not approved.
*/
public const ENGINE_STATUS_AD_GROUP_AD_INAPPROPRIATE_FOR_CAMPAIGN = 'AD_GROUP_AD_INAPPROPRIATE_FOR_CAMPAIGN';
/**
* Baidu: Mobile URL in process to be reviewed.
*/
public const ENGINE_STATUS_AD_GROUP_AD_MOBILE_URL_UNDER_REVIEW = 'AD_GROUP_AD_MOBILE_URL_UNDER_REVIEW';
/**
* Baidu: Creative is invalid on mobile device but valid on desktop.
*/
public const ENGINE_STATUS_AD_GROUP_AD_PARTIALLY_INVALID = 'AD_GROUP_AD_PARTIALLY_INVALID';
/**
* Baidu: Creative is ready for activation.
*/
public const ENGINE_STATUS_AD_GROUP_AD_TO_BE_ACTIVATED = 'AD_GROUP_AD_TO_BE_ACTIVATED';
/**
* Baidu: Creative not reviewed.
*/
public const ENGINE_STATUS_AD_GROUP_AD_NOT_REVIEWED = 'AD_GROUP_AD_NOT_REVIEWED';
/**
* Deprecated. Do not use. Previously used by Gemini
*
* @deprecated
*/
public const ENGINE_STATUS_AD_GROUP_AD_ON_HOLD = 'AD_GROUP_AD_ON_HOLD';
/**
* Creative has been paused.
*/
public const ENGINE_STATUS_AD_GROUP_AD_PAUSED = 'AD_GROUP_AD_PAUSED';
/**
* Creative has been removed.
*/
public const ENGINE_STATUS_AD_GROUP_AD_REMOVED = 'AD_GROUP_AD_REMOVED';
/**
* Creative is pending review.
*/
public const ENGINE_STATUS_AD_GROUP_AD_PENDING_REVIEW = 'AD_GROUP_AD_PENDING_REVIEW';
/**
* Creative is under review.
*/
public const ENGINE_STATUS_AD_GROUP_AD_UNDER_REVIEW = 'AD_GROUP_AD_UNDER_REVIEW';
/**
* Creative has been approved.
*/
public const ENGINE_STATUS_AD_GROUP_AD_APPROVED = 'AD_GROUP_AD_APPROVED';
/**
* Creative has been disapproved.
*/
public const ENGINE_STATUS_AD_GROUP_AD_DISAPPROVED = 'AD_GROUP_AD_DISAPPROVED';
/**
* Creative is serving.
*/
public const ENGINE_STATUS_AD_GROUP_AD_SERVING = 'AD_GROUP_AD_SERVING';
/**
* Creative has been paused because the account is paused.
*/
public const ENGINE_STATUS_AD_GROUP_AD_ACCOUNT_PAUSED = 'AD_GROUP_AD_ACCOUNT_PAUSED';
/**
* Creative has been paused because the campaign is paused.
*/
public const ENGINE_STATUS_AD_GROUP_AD_CAMPAIGN_PAUSED = 'AD_GROUP_AD_CAMPAIGN_PAUSED';
/**
* Creative has been paused because the ad group is paused.
*/
public const ENGINE_STATUS_AD_GROUP_AD_AD_GROUP_PAUSED = 'AD_GROUP_AD_AD_GROUP_PAUSED';
/**
* No value has been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The ad group ad is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The ad group ad is paused.
*/
public const STATUS_PAUSED = 'PAUSED';
/**
* The ad group ad is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
protected $collection_key = 'labels';
protected $adType = GoogleAdsSearchads360V0ResourcesAd::class;
protected $adDataType = '';
/**
* Output only. The timestamp when this ad_group_ad was created. The datetime
* is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
*
* @var string
*/
public $creationTime;
/**
* Output only. The resource names of effective labels attached to this ad. An
* effective label is a label inherited or directly assigned to this ad.
*
* @var string[]
*/
public $effectiveLabels;
/**
* Output only. ID of the ad in the external engine account. This field is for
* Search Ads 360 account only, for example, Yahoo Japan, Microsoft, Baidu
* etc. For non-Search Ads 360 entity, use "ad_group_ad.ad.id" instead.
*
* @var string
*/
public $engineId;
/**
* Output only. Additional status of the ad in the external engine account.
* Possible statuses (depending on the type of external account) include
* active, eligible, pending review, etc.
*
* @var string
*/
public $engineStatus;
/**
* Output only. The resource names of labels attached to this ad group ad.
*
* @var string[]
*/
public $labels;
/**
* Output only. The datetime when this ad group ad was last modified. The
* datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
* format.
*
* @var string
*/
public $lastModifiedTime;
/**
* Immutable. The resource name of the ad. Ad group ad resource names have the
* form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`
*
* @var string
*/
public $resourceName;
/**
* The status of the ad.
*
* @var string
*/
public $status;
/**
* Immutable. The ad.
*
* @param GoogleAdsSearchads360V0ResourcesAd $ad
*/
public function setAd(GoogleAdsSearchads360V0ResourcesAd $ad)
{
$this->ad = $ad;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAd
*/
public function getAd()
{
return $this->ad;
}
/**
* Output only. The timestamp when this ad_group_ad was created. The datetime
* is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
*
* @param string $creationTime
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* Output only. The resource names of effective labels attached to this ad. An
* effective label is a label inherited or directly assigned to this ad.
*
* @param string[] $effectiveLabels
*/
public function setEffectiveLabels($effectiveLabels)
{
$this->effectiveLabels = $effectiveLabels;
}
/**
* @return string[]
*/
public function getEffectiveLabels()
{
return $this->effectiveLabels;
}
/**
* Output only. ID of the ad in the external engine account. This field is for
* Search Ads 360 account only, for example, Yahoo Japan, Microsoft, Baidu
* etc. For non-Search Ads 360 entity, use "ad_group_ad.ad.id" instead.
*
* @param string $engineId
*/
public function setEngineId($engineId)
{
$this->engineId = $engineId;
}
/**
* @return string
*/
public function getEngineId()
{
return $this->engineId;
}
/**
* Output only. Additional status of the ad in the external engine account.
* Possible statuses (depending on the type of external account) include
* active, eligible, pending review, etc.
*
* Accepted values: UNSPECIFIED, UNKNOWN, AD_GROUP_AD_ELIGIBLE,
* AD_GROUP_AD_INAPPROPRIATE_FOR_CAMPAIGN,
* AD_GROUP_AD_MOBILE_URL_UNDER_REVIEW, AD_GROUP_AD_PARTIALLY_INVALID,
* AD_GROUP_AD_TO_BE_ACTIVATED, AD_GROUP_AD_NOT_REVIEWED, AD_GROUP_AD_ON_HOLD,
* AD_GROUP_AD_PAUSED, AD_GROUP_AD_REMOVED, AD_GROUP_AD_PENDING_REVIEW,
* AD_GROUP_AD_UNDER_REVIEW, AD_GROUP_AD_APPROVED, AD_GROUP_AD_DISAPPROVED,
* AD_GROUP_AD_SERVING, AD_GROUP_AD_ACCOUNT_PAUSED,
* AD_GROUP_AD_CAMPAIGN_PAUSED, AD_GROUP_AD_AD_GROUP_PAUSED
*
* @param self::ENGINE_STATUS_* $engineStatus
*/
public function setEngineStatus($engineStatus)
{
$this->engineStatus = $engineStatus;
}
/**
* @return self::ENGINE_STATUS_*
*/
public function getEngineStatus()
{
return $this->engineStatus;
}
/**
* Output only. The resource names of labels attached to this ad group ad.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The datetime when this ad group ad was last modified. The
* datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss"
* format.
*
* @param string $lastModifiedTime
*/
public function setLastModifiedTime($lastModifiedTime)
{
$this->lastModifiedTime = $lastModifiedTime;
}
/**
* @return string
*/
public function getLastModifiedTime()
{
return $this->lastModifiedTime;
}
/**
* Immutable. The resource name of the ad. Ad group ad resource names have the
* form: `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* The status of the ad.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, PAUSED, REMOVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupAd::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupAd');
@@ -0,0 +1,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel extends \Google\Model
{
/**
* Immutable. The ad group ad to which the effective label is attached.
*
* @var string
*/
public $adGroupAd;
/**
* Immutable. The effective label assigned to the ad group ad.
*
* @var string
*/
public $label;
/**
* Output only. The ID of the Customer which owns the effective label.
*
* @var string
*/
public $ownerCustomerId;
/**
* Immutable. The resource name of the ad group ad effective label. Ad group
* ad effective label resource names have the form: `customers/{owner_customer
* _id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. The ad group ad to which the effective label is attached.
*
* @param string $adGroupAd
*/
public function setAdGroupAd($adGroupAd)
{
$this->adGroupAd = $adGroupAd;
}
/**
* @return string
*/
public function getAdGroupAd()
{
return $this->adGroupAd;
}
/**
* Immutable. The effective label assigned to the ad group ad.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Output only. The ID of the Customer which owns the effective label.
*
* @param string $ownerCustomerId
*/
public function setOwnerCustomerId($ownerCustomerId)
{
$this->ownerCustomerId = $ownerCustomerId;
}
/**
* @return string
*/
public function getOwnerCustomerId()
{
return $this->ownerCustomerId;
}
/**
* Immutable. The resource name of the ad group ad effective label. Ad group
* ad effective label resource names have the form: `customers/{owner_customer
* _id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel');
@@ -0,0 +1,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupAdLabel extends \Google\Model
{
/**
* Immutable. The ad group ad to which the label is attached.
*
* @var string
*/
public $adGroupAd;
/**
* Immutable. The label assigned to the ad group ad.
*
* @var string
*/
public $label;
/**
* Output only. The ID of the Customer which owns the label.
*
* @var string
*/
public $ownerCustomerId;
/**
* Immutable. The resource name of the ad group ad label. Ad group ad label
* resource names have the form: `customers/{owner_customer_id}/adGroupAdLabel
* s/{ad_group_id}~{ad_id}~{label_id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. The ad group ad to which the label is attached.
*
* @param string $adGroupAd
*/
public function setAdGroupAd($adGroupAd)
{
$this->adGroupAd = $adGroupAd;
}
/**
* @return string
*/
public function getAdGroupAd()
{
return $this->adGroupAd;
}
/**
* Immutable. The label assigned to the ad group ad.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Output only. The ID of the Customer which owns the label.
*
* @param string $ownerCustomerId
*/
public function setOwnerCustomerId($ownerCustomerId)
{
$this->ownerCustomerId = $ownerCustomerId;
}
/**
* @return string
*/
public function getOwnerCustomerId()
{
return $this->ownerCustomerId;
}
/**
* Immutable. The resource name of the ad group ad label. Ad group ad label
* resource names have the form: `customers/{owner_customer_id}/adGroupAdLabel
* s/{ad_group_id}~{ad_id}~{label_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupAdLabel::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupAdLabel');
@@ -0,0 +1,140 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupAsset extends \Google\Model
{
/**
* Not specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* Asset link is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* Asset link has been removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* Asset link is paused.
*/
public const STATUS_PAUSED = 'PAUSED';
/**
* Required. Immutable. The ad group to which the asset is linked.
*
* @var string
*/
public $adGroup;
/**
* Required. Immutable. The asset which is linked to the ad group.
*
* @var string
*/
public $asset;
/**
* Immutable. The resource name of the ad group asset. AdGroupAsset resource
* names have the form: `customers/{customer_id}/adGroupAssets/{ad_group_id}~{
* asset_id}~{field_type}`
*
* @var string
*/
public $resourceName;
/**
* Status of the ad group asset.
*
* @var string
*/
public $status;
/**
* Required. Immutable. The ad group to which the asset is linked.
*
* @param string $adGroup
*/
public function setAdGroup($adGroup)
{
$this->adGroup = $adGroup;
}
/**
* @return string
*/
public function getAdGroup()
{
return $this->adGroup;
}
/**
* Required. Immutable. The asset which is linked to the ad group.
*
* @param string $asset
*/
public function setAsset($asset)
{
$this->asset = $asset;
}
/**
* @return string
*/
public function getAsset()
{
return $this->asset;
}
/**
* Immutable. The resource name of the ad group asset. AdGroupAsset resource
* names have the form: `customers/{customer_id}/adGroupAssets/{ad_group_id}~{
* asset_id}~{field_type}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Status of the ad group asset.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, REMOVED, PAUSED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupAsset');
@@ -0,0 +1,137 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupAssetSet extends \Google\Model
{
/**
* The status has not been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The linkage between asset set and its container is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The linkage between asset set and its container is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* Immutable. The ad group to which this asset set is linked.
*
* @var string
*/
public $adGroup;
/**
* Immutable. The asset set which is linked to the ad group.
*
* @var string
*/
public $assetSet;
/**
* Immutable. The resource name of the ad group asset set. Ad group asset set
* resource names have the form:
* `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}`
*
* @var string
*/
public $resourceName;
/**
* Output only. The status of the ad group asset set. Read-only.
*
* @var string
*/
public $status;
/**
* Immutable. The ad group to which this asset set is linked.
*
* @param string $adGroup
*/
public function setAdGroup($adGroup)
{
$this->adGroup = $adGroup;
}
/**
* @return string
*/
public function getAdGroup()
{
return $this->adGroup;
}
/**
* Immutable. The asset set which is linked to the ad group.
*
* @param string $assetSet
*/
public function setAssetSet($assetSet)
{
$this->assetSet = $assetSet;
}
/**
* @return string
*/
public function getAssetSet()
{
return $this->assetSet;
}
/**
* Immutable. The resource name of the ad group asset set. Ad group asset set
* resource names have the form:
* `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Output only. The status of the ad group asset set. Read-only.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, REMOVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupAssetSet::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupAssetSet');
@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupAudienceView extends \Google\Model
{
/**
* Output only. The resource name of the ad group audience view. Ad group
* audience view resource names have the form:
* `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}`
*
* @var string
*/
public $resourceName;
/**
* Output only. The resource name of the ad group audience view. Ad group
* audience view resource names have the form:
* `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupAudienceView::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupAudienceView');
@@ -0,0 +1,85 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupBidModifier extends \Google\Model
{
/**
* The modifier for the bid when the criterion matches. The modifier must be
* in the range: 0.1 - 10.0. Use 0 to opt out of a Device type.
*
* @var
*/
public $bidModifier;
protected $deviceType = GoogleAdsSearchads360V0CommonDeviceInfo::class;
protected $deviceDataType = '';
/**
* Immutable. The resource name of the ad group bid modifier. Ad group bid
* modifier resource names have the form:
* `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`
*
* @var string
*/
public $resourceName;
public function setBidModifier($bidModifier)
{
$this->bidModifier = $bidModifier;
}
public function getBidModifier()
{
return $this->bidModifier;
}
/**
* Immutable. A device criterion.
*
* @param GoogleAdsSearchads360V0CommonDeviceInfo $device
*/
public function setDevice(GoogleAdsSearchads360V0CommonDeviceInfo $device)
{
$this->device = $device;
}
/**
* @return GoogleAdsSearchads360V0CommonDeviceInfo
*/
public function getDevice()
{
return $this->device;
}
/**
* Immutable. The resource name of the ad group bid modifier. Ad group bid
* modifier resource names have the form:
* `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupBidModifier::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupBidModifier');
@@ -0,0 +1,961 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupCriterion extends \Google\Collection
{
/**
* Not specified.
*/
public const ENGINE_STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const ENGINE_STATUS_UNKNOWN = 'UNKNOWN';
/**
* Deprecated. Do not use.
*
* @deprecated
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_ELIGIBLE = 'AD_GROUP_CRITERION_ELIGIBLE';
/**
* Baidu: Bid or quality too low to be displayed.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_INAPPROPRIATE_FOR_CAMPAIGN = 'AD_GROUP_CRITERION_INAPPROPRIATE_FOR_CAMPAIGN';
/**
* Baidu: Bid or quality too low for mobile, but eligible to display for
* desktop.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_INVALID_MOBILE_SEARCH = 'AD_GROUP_CRITERION_INVALID_MOBILE_SEARCH';
/**
* Baidu: Bid or quality too low for desktop, but eligible to display for
* mobile.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_INVALID_PC_SEARCH = 'AD_GROUP_CRITERION_INVALID_PC_SEARCH';
/**
* Baidu: Bid or quality too low to be displayed.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_INVALID_SEARCH = 'AD_GROUP_CRITERION_INVALID_SEARCH';
/**
* Baidu: Paused by Baidu due to low search volume.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_LOW_SEARCH_VOLUME = 'AD_GROUP_CRITERION_LOW_SEARCH_VOLUME';
/**
* Baidu: Mobile URL in process to be reviewed.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_MOBILE_URL_UNDER_REVIEW = 'AD_GROUP_CRITERION_MOBILE_URL_UNDER_REVIEW';
/**
* Baidu: The landing page for one device is invalid, while the landing page
* for the other device is valid.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_PARTIALLY_INVALID = 'AD_GROUP_CRITERION_PARTIALLY_INVALID';
/**
* Baidu: Keyword has been created and paused by Baidu account management, and
* is now ready for you to activate it.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_TO_BE_ACTIVATED = 'AD_GROUP_CRITERION_TO_BE_ACTIVATED';
/**
* Baidu: In process to be reviewed by Baidu. Gemini: Criterion under review.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_UNDER_REVIEW = 'AD_GROUP_CRITERION_UNDER_REVIEW';
/**
* Baidu: Criterion to be reviewed.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_NOT_REVIEWED = 'AD_GROUP_CRITERION_NOT_REVIEWED';
/**
* Deprecated. Do not use. Previously used by Gemini
*
* @deprecated
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_ON_HOLD = 'AD_GROUP_CRITERION_ON_HOLD';
/**
* Y!J : Criterion pending review
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_PENDING_REVIEW = 'AD_GROUP_CRITERION_PENDING_REVIEW';
/**
* Criterion has been paused.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_PAUSED = 'AD_GROUP_CRITERION_PAUSED';
/**
* Criterion has been removed.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_REMOVED = 'AD_GROUP_CRITERION_REMOVED';
/**
* Criterion has been approved.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_APPROVED = 'AD_GROUP_CRITERION_APPROVED';
/**
* Criterion has been disapproved.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_DISAPPROVED = 'AD_GROUP_CRITERION_DISAPPROVED';
/**
* Criterion is active and serving.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_SERVING = 'AD_GROUP_CRITERION_SERVING';
/**
* Criterion has been paused since the account is paused.
*/
public const ENGINE_STATUS_AD_GROUP_CRITERION_ACCOUNT_PAUSED = 'AD_GROUP_CRITERION_ACCOUNT_PAUSED';
/**
* No value has been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The ad group criterion is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The ad group criterion is paused.
*/
public const STATUS_PAUSED = 'PAUSED';
/**
* The ad group criterion is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Keyword, for example, 'mars cruise'.
*/
public const TYPE_KEYWORD = 'KEYWORD';
/**
* Placement, also known as Website, for example, 'www.flowers4sale.com'
*/
public const TYPE_PLACEMENT = 'PLACEMENT';
/**
* Mobile application categories to target.
*/
public const TYPE_MOBILE_APP_CATEGORY = 'MOBILE_APP_CATEGORY';
/**
* Mobile applications to target.
*/
public const TYPE_MOBILE_APPLICATION = 'MOBILE_APPLICATION';
/**
* Devices to target.
*/
public const TYPE_DEVICE = 'DEVICE';
/**
* Locations to target.
*/
public const TYPE_LOCATION = 'LOCATION';
/**
* Listing groups to target.
*/
public const TYPE_LISTING_GROUP = 'LISTING_GROUP';
/**
* Ad Schedule.
*/
public const TYPE_AD_SCHEDULE = 'AD_SCHEDULE';
/**
* Age range.
*/
public const TYPE_AGE_RANGE = 'AGE_RANGE';
/**
* Gender.
*/
public const TYPE_GENDER = 'GENDER';
/**
* Income Range.
*/
public const TYPE_INCOME_RANGE = 'INCOME_RANGE';
/**
* Parental status.
*/
public const TYPE_PARENTAL_STATUS = 'PARENTAL_STATUS';
/**
* YouTube Video.
*/
public const TYPE_YOUTUBE_VIDEO = 'YOUTUBE_VIDEO';
/**
* YouTube Channel.
*/
public const TYPE_YOUTUBE_CHANNEL = 'YOUTUBE_CHANNEL';
/**
* User list.
*/
public const TYPE_USER_LIST = 'USER_LIST';
/**
* Proximity.
*/
public const TYPE_PROXIMITY = 'PROXIMITY';
/**
* A topic target on the display network (for example, "Pets & Animals").
*/
public const TYPE_TOPIC = 'TOPIC';
/**
* Listing scope to target.
*/
public const TYPE_LISTING_SCOPE = 'LISTING_SCOPE';
/**
* Language.
*/
public const TYPE_LANGUAGE = 'LANGUAGE';
/**
* IpBlock.
*/
public const TYPE_IP_BLOCK = 'IP_BLOCK';
/**
* Content Label for category exclusion.
*/
public const TYPE_CONTENT_LABEL = 'CONTENT_LABEL';
/**
* Carrier.
*/
public const TYPE_CARRIER = 'CARRIER';
/**
* A category the user is interested in.
*/
public const TYPE_USER_INTEREST = 'USER_INTEREST';
/**
* Webpage criterion for dynamic search ads.
*/
public const TYPE_WEBPAGE = 'WEBPAGE';
/**
* Operating system version.
*/
public const TYPE_OPERATING_SYSTEM_VERSION = 'OPERATING_SYSTEM_VERSION';
/**
* App payment model.
*/
public const TYPE_APP_PAYMENT_MODEL = 'APP_PAYMENT_MODEL';
/**
* Mobile device.
*/
public const TYPE_MOBILE_DEVICE = 'MOBILE_DEVICE';
/**
* Custom affinity.
*/
public const TYPE_CUSTOM_AFFINITY = 'CUSTOM_AFFINITY';
/**
* Custom intent.
*/
public const TYPE_CUSTOM_INTENT = 'CUSTOM_INTENT';
/**
* Location group.
*/
public const TYPE_LOCATION_GROUP = 'LOCATION_GROUP';
/**
* Custom audience
*/
public const TYPE_CUSTOM_AUDIENCE = 'CUSTOM_AUDIENCE';
/**
* Combined audience
*/
public const TYPE_COMBINED_AUDIENCE = 'COMBINED_AUDIENCE';
/**
* Smart Campaign keyword theme
*/
public const TYPE_KEYWORD_THEME = 'KEYWORD_THEME';
/**
* Audience
*/
public const TYPE_AUDIENCE = 'AUDIENCE';
/**
* Local Services Ads Service ID.
*/
public const TYPE_LOCAL_SERVICE_ID = 'LOCAL_SERVICE_ID';
/**
* Brand
*/
public const TYPE_BRAND = 'BRAND';
/**
* Brand List
*/
public const TYPE_BRAND_LIST = 'BRAND_LIST';
/**
* Life Event
*/
public const TYPE_LIFE_EVENT = 'LIFE_EVENT';
protected $collection_key = 'urlCustomParameters';
/**
* Immutable. The ad group to which the criterion belongs.
*
* @var string
*/
public $adGroup;
protected $ageRangeType = GoogleAdsSearchads360V0CommonAgeRangeInfo::class;
protected $ageRangeDataType = '';
/**
* The modifier for the bid when the criterion matches. The modifier must be
* in the range: 0.1 - 10.0. Most targetable criteria types support modifiers.
*
* @var
*/
public $bidModifier;
/**
* The CPC (cost-per-click) bid.
*
* @var string
*/
public $cpcBidMicros;
/**
* Output only. The timestamp when this ad group criterion was created. The
* timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss"
* format.
*
* @var string
*/
public $creationTime;
/**
* Output only. The ID of the criterion.
*
* @var string
*/
public $criterionId;
/**
* Output only. The effective CPC (cost-per-click) bid.
*
* @var string
*/
public $effectiveCpcBidMicros;
/**
* Output only. The resource names of effective labels attached to this ad
* group criterion. An effective label is a label inherited or directly
* assigned to this ad group criterion.
*
* @var string[]
*/
public $effectiveLabels;
/**
* Output only. ID of the ad group criterion in the external engine account.
* This field is for non-Google Ads account only, for example, Yahoo Japan,
* Microsoft, Baidu etc. For Google Ads entity, use
* "ad_group_criterion.criterion_id" instead.
*
* @var string
*/
public $engineId;
/**
* Output only. The Engine Status for ad group criterion.
*
* @var string
*/
public $engineStatus;
/**
* The list of possible final mobile URLs after all cross-domain redirects.
*
* @var string[]
*/
public $finalMobileUrls;
/**
* URL template for appending params to final URL.
*
* @var string
*/
public $finalUrlSuffix;
/**
* The list of possible final URLs after all cross-domain redirects for the
* ad.
*
* @var string[]
*/
public $finalUrls;
protected $genderType = GoogleAdsSearchads360V0CommonGenderInfo::class;
protected $genderDataType = '';
protected $keywordType = GoogleAdsSearchads360V0CommonKeywordInfo::class;
protected $keywordDataType = '';
/**
* Output only. The resource names of labels attached to this ad group
* criterion.
*
* @var string[]
*/
public $labels;
/**
* Output only. The datetime when this ad group criterion was last modified.
* The datetime is in the customer's time zone and in "yyyy-MM-dd
* HH:mm:ss.ssssss" format.
*
* @var string
*/
public $lastModifiedTime;
protected $listingGroupType = GoogleAdsSearchads360V0CommonListingGroupInfo::class;
protected $listingGroupDataType = '';
protected $locationType = GoogleAdsSearchads360V0CommonLocationInfo::class;
protected $locationDataType = '';
/**
* Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
* This field is immutable. To switch a criterion from positive to negative,
* remove then re-add it.
*
* @var bool
*/
public $negative;
protected $positionEstimatesType = GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates::class;
protected $positionEstimatesDataType = '';
protected $qualityInfoType = GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo::class;
protected $qualityInfoDataType = '';
/**
* Immutable. The resource name of the ad group criterion. Ad group criterion
* resource names have the form:
* `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
*
* @var string
*/
public $resourceName;
/**
* The status of the criterion. This is the status of the ad group criterion
* entity, set by the client. Note: UI reports may incorporate additional
* information that affects whether a criterion is eligible to run. In some
* cases a criterion that's REMOVED in the API can still show as enabled in
* the UI. For example, campaigns by default show to users of all age ranges
* unless excluded. The UI will show each age range as "enabled", since
* they're eligible to see the ads; but AdGroupCriterion.status will show
* "removed", since no positive criterion was added.
*
* @var string
*/
public $status;
/**
* The URL template for constructing a tracking URL.
*
* @var string
*/
public $trackingUrlTemplate;
/**
* Output only. The type of the criterion.
*
* @var string
*/
public $type;
protected $urlCustomParametersType = GoogleAdsSearchads360V0CommonCustomParameter::class;
protected $urlCustomParametersDataType = 'array';
protected $userListType = GoogleAdsSearchads360V0CommonUserListInfo::class;
protected $userListDataType = '';
protected $webpageType = GoogleAdsSearchads360V0CommonWebpageInfo::class;
protected $webpageDataType = '';
/**
* Immutable. The ad group to which the criterion belongs.
*
* @param string $adGroup
*/
public function setAdGroup($adGroup)
{
$this->adGroup = $adGroup;
}
/**
* @return string
*/
public function getAdGroup()
{
return $this->adGroup;
}
/**
* Immutable. Age range.
*
* @param GoogleAdsSearchads360V0CommonAgeRangeInfo $ageRange
*/
public function setAgeRange(GoogleAdsSearchads360V0CommonAgeRangeInfo $ageRange)
{
$this->ageRange = $ageRange;
}
/**
* @return GoogleAdsSearchads360V0CommonAgeRangeInfo
*/
public function getAgeRange()
{
return $this->ageRange;
}
public function setBidModifier($bidModifier)
{
$this->bidModifier = $bidModifier;
}
public function getBidModifier()
{
return $this->bidModifier;
}
/**
* The CPC (cost-per-click) bid.
*
* @param string $cpcBidMicros
*/
public function setCpcBidMicros($cpcBidMicros)
{
$this->cpcBidMicros = $cpcBidMicros;
}
/**
* @return string
*/
public function getCpcBidMicros()
{
return $this->cpcBidMicros;
}
/**
* Output only. The timestamp when this ad group criterion was created. The
* timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss"
* format.
*
* @param string $creationTime
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* Output only. The ID of the criterion.
*
* @param string $criterionId
*/
public function setCriterionId($criterionId)
{
$this->criterionId = $criterionId;
}
/**
* @return string
*/
public function getCriterionId()
{
return $this->criterionId;
}
/**
* Output only. The effective CPC (cost-per-click) bid.
*
* @param string $effectiveCpcBidMicros
*/
public function setEffectiveCpcBidMicros($effectiveCpcBidMicros)
{
$this->effectiveCpcBidMicros = $effectiveCpcBidMicros;
}
/**
* @return string
*/
public function getEffectiveCpcBidMicros()
{
return $this->effectiveCpcBidMicros;
}
/**
* Output only. The resource names of effective labels attached to this ad
* group criterion. An effective label is a label inherited or directly
* assigned to this ad group criterion.
*
* @param string[] $effectiveLabels
*/
public function setEffectiveLabels($effectiveLabels)
{
$this->effectiveLabels = $effectiveLabels;
}
/**
* @return string[]
*/
public function getEffectiveLabels()
{
return $this->effectiveLabels;
}
/**
* Output only. ID of the ad group criterion in the external engine account.
* This field is for non-Google Ads account only, for example, Yahoo Japan,
* Microsoft, Baidu etc. For Google Ads entity, use
* "ad_group_criterion.criterion_id" instead.
*
* @param string $engineId
*/
public function setEngineId($engineId)
{
$this->engineId = $engineId;
}
/**
* @return string
*/
public function getEngineId()
{
return $this->engineId;
}
/**
* Output only. The Engine Status for ad group criterion.
*
* Accepted values: UNSPECIFIED, UNKNOWN, AD_GROUP_CRITERION_ELIGIBLE,
* AD_GROUP_CRITERION_INAPPROPRIATE_FOR_CAMPAIGN,
* AD_GROUP_CRITERION_INVALID_MOBILE_SEARCH,
* AD_GROUP_CRITERION_INVALID_PC_SEARCH, AD_GROUP_CRITERION_INVALID_SEARCH,
* AD_GROUP_CRITERION_LOW_SEARCH_VOLUME,
* AD_GROUP_CRITERION_MOBILE_URL_UNDER_REVIEW,
* AD_GROUP_CRITERION_PARTIALLY_INVALID, AD_GROUP_CRITERION_TO_BE_ACTIVATED,
* AD_GROUP_CRITERION_UNDER_REVIEW, AD_GROUP_CRITERION_NOT_REVIEWED,
* AD_GROUP_CRITERION_ON_HOLD, AD_GROUP_CRITERION_PENDING_REVIEW,
* AD_GROUP_CRITERION_PAUSED, AD_GROUP_CRITERION_REMOVED,
* AD_GROUP_CRITERION_APPROVED, AD_GROUP_CRITERION_DISAPPROVED,
* AD_GROUP_CRITERION_SERVING, AD_GROUP_CRITERION_ACCOUNT_PAUSED
*
* @param self::ENGINE_STATUS_* $engineStatus
*/
public function setEngineStatus($engineStatus)
{
$this->engineStatus = $engineStatus;
}
/**
* @return self::ENGINE_STATUS_*
*/
public function getEngineStatus()
{
return $this->engineStatus;
}
/**
* The list of possible final mobile URLs after all cross-domain redirects.
*
* @param string[] $finalMobileUrls
*/
public function setFinalMobileUrls($finalMobileUrls)
{
$this->finalMobileUrls = $finalMobileUrls;
}
/**
* @return string[]
*/
public function getFinalMobileUrls()
{
return $this->finalMobileUrls;
}
/**
* URL template for appending params to final URL.
*
* @param string $finalUrlSuffix
*/
public function setFinalUrlSuffix($finalUrlSuffix)
{
$this->finalUrlSuffix = $finalUrlSuffix;
}
/**
* @return string
*/
public function getFinalUrlSuffix()
{
return $this->finalUrlSuffix;
}
/**
* The list of possible final URLs after all cross-domain redirects for the
* ad.
*
* @param string[] $finalUrls
*/
public function setFinalUrls($finalUrls)
{
$this->finalUrls = $finalUrls;
}
/**
* @return string[]
*/
public function getFinalUrls()
{
return $this->finalUrls;
}
/**
* Immutable. Gender.
*
* @param GoogleAdsSearchads360V0CommonGenderInfo $gender
*/
public function setGender(GoogleAdsSearchads360V0CommonGenderInfo $gender)
{
$this->gender = $gender;
}
/**
* @return GoogleAdsSearchads360V0CommonGenderInfo
*/
public function getGender()
{
return $this->gender;
}
/**
* Immutable. Keyword.
*
* @param GoogleAdsSearchads360V0CommonKeywordInfo $keyword
*/
public function setKeyword(GoogleAdsSearchads360V0CommonKeywordInfo $keyword)
{
$this->keyword = $keyword;
}
/**
* @return GoogleAdsSearchads360V0CommonKeywordInfo
*/
public function getKeyword()
{
return $this->keyword;
}
/**
* Output only. The resource names of labels attached to this ad group
* criterion.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. The datetime when this ad group criterion was last modified.
* The datetime is in the customer's time zone and in "yyyy-MM-dd
* HH:mm:ss.ssssss" format.
*
* @param string $lastModifiedTime
*/
public function setLastModifiedTime($lastModifiedTime)
{
$this->lastModifiedTime = $lastModifiedTime;
}
/**
* @return string
*/
public function getLastModifiedTime()
{
return $this->lastModifiedTime;
}
/**
* Immutable. Listing group.
*
* @param GoogleAdsSearchads360V0CommonListingGroupInfo $listingGroup
*/
public function setListingGroup(GoogleAdsSearchads360V0CommonListingGroupInfo $listingGroup)
{
$this->listingGroup = $listingGroup;
}
/**
* @return GoogleAdsSearchads360V0CommonListingGroupInfo
*/
public function getListingGroup()
{
return $this->listingGroup;
}
/**
* Immutable. Location.
*
* @param GoogleAdsSearchads360V0CommonLocationInfo $location
*/
public function setLocation(GoogleAdsSearchads360V0CommonLocationInfo $location)
{
$this->location = $location;
}
/**
* @return GoogleAdsSearchads360V0CommonLocationInfo
*/
public function getLocation()
{
return $this->location;
}
/**
* Immutable. Whether to target (`false`) or exclude (`true`) the criterion.
* This field is immutable. To switch a criterion from positive to negative,
* remove then re-add it.
*
* @param bool $negative
*/
public function setNegative($negative)
{
$this->negative = $negative;
}
/**
* @return bool
*/
public function getNegative()
{
return $this->negative;
}
/**
* Output only. Estimates for criterion bids at various positions.
*
* @param GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates $positionEstimates
*/
public function setPositionEstimates(GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates $positionEstimates)
{
$this->positionEstimates = $positionEstimates;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates
*/
public function getPositionEstimates()
{
return $this->positionEstimates;
}
/**
* Output only. Information regarding the quality of the criterion.
*
* @param GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo $qualityInfo
*/
public function setQualityInfo(GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo $qualityInfo)
{
$this->qualityInfo = $qualityInfo;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo
*/
public function getQualityInfo()
{
return $this->qualityInfo;
}
/**
* Immutable. The resource name of the ad group criterion. Ad group criterion
* resource names have the form:
* `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* The status of the criterion. This is the status of the ad group criterion
* entity, set by the client. Note: UI reports may incorporate additional
* information that affects whether a criterion is eligible to run. In some
* cases a criterion that's REMOVED in the API can still show as enabled in
* the UI. For example, campaigns by default show to users of all age ranges
* unless excluded. The UI will show each age range as "enabled", since
* they're eligible to see the ads; but AdGroupCriterion.status will show
* "removed", since no positive criterion was added.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, PAUSED, REMOVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* The URL template for constructing a tracking URL.
*
* @param string $trackingUrlTemplate
*/
public function setTrackingUrlTemplate($trackingUrlTemplate)
{
$this->trackingUrlTemplate = $trackingUrlTemplate;
}
/**
* @return string
*/
public function getTrackingUrlTemplate()
{
return $this->trackingUrlTemplate;
}
/**
* Output only. The type of the criterion.
*
* Accepted values: UNSPECIFIED, UNKNOWN, KEYWORD, PLACEMENT,
* MOBILE_APP_CATEGORY, MOBILE_APPLICATION, DEVICE, LOCATION, LISTING_GROUP,
* AD_SCHEDULE, AGE_RANGE, GENDER, INCOME_RANGE, PARENTAL_STATUS,
* YOUTUBE_VIDEO, YOUTUBE_CHANNEL, USER_LIST, PROXIMITY, TOPIC, LISTING_SCOPE,
* LANGUAGE, IP_BLOCK, CONTENT_LABEL, CARRIER, USER_INTEREST, WEBPAGE,
* OPERATING_SYSTEM_VERSION, APP_PAYMENT_MODEL, MOBILE_DEVICE,
* CUSTOM_AFFINITY, CUSTOM_INTENT, LOCATION_GROUP, CUSTOM_AUDIENCE,
* COMBINED_AUDIENCE, KEYWORD_THEME, AUDIENCE, LOCAL_SERVICE_ID, BRAND,
* BRAND_LIST, LIFE_EVENT
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* The list of mappings used to substitute custom parameter tags in a
* `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
*
* @param GoogleAdsSearchads360V0CommonCustomParameter[] $urlCustomParameters
*/
public function setUrlCustomParameters($urlCustomParameters)
{
$this->urlCustomParameters = $urlCustomParameters;
}
/**
* @return GoogleAdsSearchads360V0CommonCustomParameter[]
*/
public function getUrlCustomParameters()
{
return $this->urlCustomParameters;
}
/**
* Immutable. User List.
*
* @param GoogleAdsSearchads360V0CommonUserListInfo $userList
*/
public function setUserList(GoogleAdsSearchads360V0CommonUserListInfo $userList)
{
$this->userList = $userList;
}
/**
* @return GoogleAdsSearchads360V0CommonUserListInfo
*/
public function getUserList()
{
return $this->userList;
}
/**
* Immutable. Webpage
*
* @param GoogleAdsSearchads360V0CommonWebpageInfo $webpage
*/
public function setWebpage(GoogleAdsSearchads360V0CommonWebpageInfo $webpage)
{
$this->webpage = $webpage;
}
/**
* @return GoogleAdsSearchads360V0CommonWebpageInfo
*/
public function getWebpage()
{
return $this->webpage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupCriterion::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterion');
@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel extends \Google\Model
{
/**
* Immutable. The ad group criterion to which the effective label is attached.
*
* @var string
*/
public $adGroupCriterion;
/**
* Immutable. The effective label assigned to the ad group criterion.
*
* @var string
*/
public $label;
/**
* Output only. The ID of the Customer which owns the effective label.
*
* @var string
*/
public $ownerCustomerId;
/**
* Immutable. The resource name of the ad group criterion effective label. Ad
* group criterion effective label resource names have the form: `customers/{o
* wner_customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_
* id}~{label_id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. The ad group criterion to which the effective label is attached.
*
* @param string $adGroupCriterion
*/
public function setAdGroupCriterion($adGroupCriterion)
{
$this->adGroupCriterion = $adGroupCriterion;
}
/**
* @return string
*/
public function getAdGroupCriterion()
{
return $this->adGroupCriterion;
}
/**
* Immutable. The effective label assigned to the ad group criterion.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Output only. The ID of the Customer which owns the effective label.
*
* @param string $ownerCustomerId
*/
public function setOwnerCustomerId($ownerCustomerId)
{
$this->ownerCustomerId = $ownerCustomerId;
}
/**
* @return string
*/
public function getOwnerCustomerId()
{
return $this->ownerCustomerId;
}
/**
* Immutable. The resource name of the ad group criterion effective label. Ad
* group criterion effective label resource names have the form: `customers/{o
* wner_customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_
* id}~{label_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel');
@@ -0,0 +1,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel extends \Google\Model
{
/**
* Immutable. The ad group criterion to which the label is attached.
*
* @var string
*/
public $adGroupCriterion;
/**
* Immutable. The label assigned to the ad group criterion.
*
* @var string
*/
public $label;
/**
* Output only. The ID of the Customer which owns the label.
*
* @var string
*/
public $ownerCustomerId;
/**
* Immutable. The resource name of the ad group criterion label. Ad group
* criterion label resource names have the form: `customers/{owner_customer_id
* }/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. The ad group criterion to which the label is attached.
*
* @param string $adGroupCriterion
*/
public function setAdGroupCriterion($adGroupCriterion)
{
$this->adGroupCriterion = $adGroupCriterion;
}
/**
* @return string
*/
public function getAdGroupCriterion()
{
return $this->adGroupCriterion;
}
/**
* Immutable. The label assigned to the ad group criterion.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Output only. The ID of the Customer which owns the label.
*
* @param string $ownerCustomerId
*/
public function setOwnerCustomerId($ownerCustomerId)
{
$this->ownerCustomerId = $ownerCustomerId;
}
/**
* @return string
*/
public function getOwnerCustomerId()
{
return $this->ownerCustomerId;
}
/**
* Immutable. The resource name of the ad group criterion label. Ad group
* criterion label resource names have the form: `customers/{owner_customer_id
* }/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates extends \Google\Model
{
/**
* Output only. The estimate of the CPC bid required for ad to be displayed at
* the top of the first page of search results.
*
* @var string
*/
public $topOfPageCpcMicros;
/**
* Output only. The estimate of the CPC bid required for ad to be displayed at
* the top of the first page of search results.
*
* @param string $topOfPageCpcMicros
*/
public function setTopOfPageCpcMicros($topOfPageCpcMicros)
{
$this->topOfPageCpcMicros = $topOfPageCpcMicros;
}
/**
* @return string
*/
public function getTopOfPageCpcMicros()
{
return $this->topOfPageCpcMicros;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionPositionEstimates');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo extends \Google\Model
{
/**
* Output only. The quality score. This field may not be populated if Google
* does not have enough information to determine a value.
*
* @var int
*/
public $qualityScore;
/**
* Output only. The quality score. This field may not be populated if Google
* does not have enough information to determine a value.
*
* @param int $qualityScore
*/
public function setQualityScore($qualityScore)
{
$this->qualityScore = $qualityScore;
}
/**
* @return int
*/
public function getQualityScore()
{
return $this->qualityScore;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupCriterionQualityInfo');
@@ -0,0 +1,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupEffectiveLabel extends \Google\Model
{
/**
* Immutable. The ad group to which the effective label is attached.
*
* @var string
*/
public $adGroup;
/**
* Immutable. The effective label assigned to the ad group.
*
* @var string
*/
public $label;
/**
* Output only. The ID of the Customer which owns the effective label.
*
* @var string
*/
public $ownerCustomerId;
/**
* Immutable. The resource name of the ad group effective label. Ad group
* effective label resource names have the form: `customers/{owner_customer_id
* }/adGroupEffectiveLabels/{ad_group_id}~{label_id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. The ad group to which the effective label is attached.
*
* @param string $adGroup
*/
public function setAdGroup($adGroup)
{
$this->adGroup = $adGroup;
}
/**
* @return string
*/
public function getAdGroup()
{
return $this->adGroup;
}
/**
* Immutable. The effective label assigned to the ad group.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Output only. The ID of the Customer which owns the effective label.
*
* @param string $ownerCustomerId
*/
public function setOwnerCustomerId($ownerCustomerId)
{
$this->ownerCustomerId = $ownerCustomerId;
}
/**
* @return string
*/
public function getOwnerCustomerId()
{
return $this->ownerCustomerId;
}
/**
* Immutable. The resource name of the ad group effective label. Ad group
* effective label resource names have the form: `customers/{owner_customer_id
* }/adGroupEffectiveLabels/{ad_group_id}~{label_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupEffectiveLabel::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupEffectiveLabel');
@@ -0,0 +1,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAdGroupLabel extends \Google\Model
{
/**
* Immutable. The ad group to which the label is attached.
*
* @var string
*/
public $adGroup;
/**
* Immutable. The label assigned to the ad group.
*
* @var string
*/
public $label;
/**
* Output only. The ID of the Customer which owns the label.
*
* @var string
*/
public $ownerCustomerId;
/**
* Immutable. The resource name of the ad group label. Ad group label resource
* names have the form:
* `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. The ad group to which the label is attached.
*
* @param string $adGroup
*/
public function setAdGroup($adGroup)
{
$this->adGroup = $adGroup;
}
/**
* @return string
*/
public function getAdGroup()
{
return $this->adGroup;
}
/**
* Immutable. The label assigned to the ad group.
*
* @param string $label
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Output only. The ID of the Customer which owns the label.
*
* @param string $ownerCustomerId
*/
public function setOwnerCustomerId($ownerCustomerId)
{
$this->ownerCustomerId = $ownerCustomerId;
}
/**
* @return string
*/
public function getOwnerCustomerId()
{
return $this->ownerCustomerId;
}
/**
* Immutable. The resource name of the ad group label. Ad group label resource
* names have the form:
* `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupLabel::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupLabel');
@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAgeRangeView extends \Google\Model
{
/**
* Output only. The resource name of the age range view. Age range view
* resource names have the form:
* `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}`
*
* @var string
*/
public $resourceName;
/**
* Output only. The resource name of the age range view. Age range view
* resource names have the form:
* `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAgeRangeView::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAgeRangeView');
@@ -0,0 +1,680 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAsset extends \Google\Collection
{
/**
* Not specified.
*/
public const ENGINE_STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const ENGINE_STATUS_UNKNOWN = 'UNKNOWN';
/**
* The asset is active.
*/
public const ENGINE_STATUS_SERVING = 'SERVING';
/**
* The asset is active limited.
*/
public const ENGINE_STATUS_SERVING_LIMITED = 'SERVING_LIMITED';
/**
* The asset is disapproved (not eligible).
*/
public const ENGINE_STATUS_DISAPPROVED = 'DISAPPROVED';
/**
* The asset is inactive (pending).
*/
public const ENGINE_STATUS_DISABLED = 'DISABLED';
/**
* The asset has been removed.
*/
public const ENGINE_STATUS_REMOVED = 'REMOVED';
/**
* The status has not been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The asset is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The asset is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* The asset is archived.
*/
public const STATUS_ARCHIVED = 'ARCHIVED';
/**
* The asset is system generated pending user review.
*/
public const STATUS_PENDING_SYSTEM_GENERATED = 'PENDING_SYSTEM_GENERATED';
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* YouTube video asset.
*/
public const TYPE_YOUTUBE_VIDEO = 'YOUTUBE_VIDEO';
/**
* Media bundle asset.
*/
public const TYPE_MEDIA_BUNDLE = 'MEDIA_BUNDLE';
/**
* Image asset.
*/
public const TYPE_IMAGE = 'IMAGE';
/**
* Text asset.
*/
public const TYPE_TEXT = 'TEXT';
/**
* Lead form asset.
*/
public const TYPE_LEAD_FORM = 'LEAD_FORM';
/**
* Book on Google asset.
*/
public const TYPE_BOOK_ON_GOOGLE = 'BOOK_ON_GOOGLE';
/**
* Promotion asset.
*/
public const TYPE_PROMOTION = 'PROMOTION';
/**
* Callout asset.
*/
public const TYPE_CALLOUT = 'CALLOUT';
/**
* Structured Snippet asset.
*/
public const TYPE_STRUCTURED_SNIPPET = 'STRUCTURED_SNIPPET';
/**
* Sitelink asset.
*/
public const TYPE_SITELINK = 'SITELINK';
/**
* Page Feed asset.
*/
public const TYPE_PAGE_FEED = 'PAGE_FEED';
/**
* Dynamic Education asset.
*/
public const TYPE_DYNAMIC_EDUCATION = 'DYNAMIC_EDUCATION';
/**
* Mobile app asset.
*/
public const TYPE_MOBILE_APP = 'MOBILE_APP';
/**
* Hotel callout asset.
*/
public const TYPE_HOTEL_CALLOUT = 'HOTEL_CALLOUT';
/**
* Call asset.
*/
public const TYPE_CALL = 'CALL';
/**
* Price asset.
*/
public const TYPE_PRICE = 'PRICE';
/**
* Call to action asset.
*/
public const TYPE_CALL_TO_ACTION = 'CALL_TO_ACTION';
/**
* Dynamic real estate asset.
*/
public const TYPE_DYNAMIC_REAL_ESTATE = 'DYNAMIC_REAL_ESTATE';
/**
* Dynamic custom asset.
*/
public const TYPE_DYNAMIC_CUSTOM = 'DYNAMIC_CUSTOM';
/**
* Dynamic hotels and rentals asset.
*/
public const TYPE_DYNAMIC_HOTELS_AND_RENTALS = 'DYNAMIC_HOTELS_AND_RENTALS';
/**
* Dynamic flights asset.
*/
public const TYPE_DYNAMIC_FLIGHTS = 'DYNAMIC_FLIGHTS';
/**
* Discovery Carousel Card asset.
*/
public const TYPE_DISCOVERY_CAROUSEL_CARD = 'DISCOVERY_CAROUSEL_CARD';
/**
* Dynamic travel asset.
*/
public const TYPE_DYNAMIC_TRAVEL = 'DYNAMIC_TRAVEL';
/**
* Dynamic local asset.
*/
public const TYPE_DYNAMIC_LOCAL = 'DYNAMIC_LOCAL';
/**
* Dynamic jobs asset.
*/
public const TYPE_DYNAMIC_JOBS = 'DYNAMIC_JOBS';
/**
* Location asset.
*/
public const TYPE_LOCATION = 'LOCATION';
/**
* Hotel property asset.
*/
public const TYPE_HOTEL_PROPERTY = 'HOTEL_PROPERTY';
protected $collection_key = 'urlCustomParameters';
protected $callAssetType = GoogleAdsSearchads360V0CommonUnifiedCallAsset::class;
protected $callAssetDataType = '';
protected $callToActionAssetType = GoogleAdsSearchads360V0CommonCallToActionAsset::class;
protected $callToActionAssetDataType = '';
protected $calloutAssetType = GoogleAdsSearchads360V0CommonUnifiedCalloutAsset::class;
protected $calloutAssetDataType = '';
/**
* Output only. The timestamp when this asset was created. The timestamp is in
* the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
*
* @var string
*/
public $creationTime;
/**
* Output only. The Engine Status for an asset.
*
* @var string
*/
public $engineStatus;
/**
* A list of possible final mobile URLs after all cross domain redirects.
*
* @var string[]
*/
public $finalMobileUrls;
/**
* URL template for appending params to landing page URLs served with parallel
* tracking.
*
* @var string
*/
public $finalUrlSuffix;
/**
* A list of possible final URLs after all cross domain redirects.
*
* @var string[]
*/
public $finalUrls;
/**
* Output only. The ID of the asset.
*
* @var string
*/
public $id;
protected $imageAssetType = GoogleAdsSearchads360V0CommonImageAsset::class;
protected $imageAssetDataType = '';
/**
* Output only. The datetime when this asset was last modified. The datetime
* is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
*
* @var string
*/
public $lastModifiedTime;
protected $locationAssetType = GoogleAdsSearchads360V0CommonUnifiedLocationAsset::class;
protected $locationAssetDataType = '';
protected $mobileAppAssetType = GoogleAdsSearchads360V0CommonMobileAppAsset::class;
protected $mobileAppAssetDataType = '';
/**
* Optional name of the asset.
*
* @var string
*/
public $name;
protected $pageFeedAssetType = GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset::class;
protected $pageFeedAssetDataType = '';
/**
* Immutable. The resource name of the asset. Asset resource names have the
* form: `customers/{customer_id}/assets/{asset_id}`
*
* @var string
*/
public $resourceName;
protected $sitelinkAssetType = GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset::class;
protected $sitelinkAssetDataType = '';
/**
* Output only. The status of the asset.
*
* @var string
*/
public $status;
protected $textAssetType = GoogleAdsSearchads360V0CommonTextAsset::class;
protected $textAssetDataType = '';
/**
* URL template for constructing a tracking URL.
*
* @var string
*/
public $trackingUrlTemplate;
/**
* Output only. Type of the asset.
*
* @var string
*/
public $type;
protected $urlCustomParametersType = GoogleAdsSearchads360V0CommonCustomParameter::class;
protected $urlCustomParametersDataType = 'array';
protected $youtubeVideoAssetType = GoogleAdsSearchads360V0CommonYoutubeVideoAsset::class;
protected $youtubeVideoAssetDataType = '';
/**
* Output only. A unified call asset.
*
* @param GoogleAdsSearchads360V0CommonUnifiedCallAsset $callAsset
*/
public function setCallAsset(GoogleAdsSearchads360V0CommonUnifiedCallAsset $callAsset)
{
$this->callAsset = $callAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonUnifiedCallAsset
*/
public function getCallAsset()
{
return $this->callAsset;
}
/**
* Immutable. A call to action asset.
*
* @param GoogleAdsSearchads360V0CommonCallToActionAsset $callToActionAsset
*/
public function setCallToActionAsset(GoogleAdsSearchads360V0CommonCallToActionAsset $callToActionAsset)
{
$this->callToActionAsset = $callToActionAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonCallToActionAsset
*/
public function getCallToActionAsset()
{
return $this->callToActionAsset;
}
/**
* Output only. A unified callout asset.
*
* @param GoogleAdsSearchads360V0CommonUnifiedCalloutAsset $calloutAsset
*/
public function setCalloutAsset(GoogleAdsSearchads360V0CommonUnifiedCalloutAsset $calloutAsset)
{
$this->calloutAsset = $calloutAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonUnifiedCalloutAsset
*/
public function getCalloutAsset()
{
return $this->calloutAsset;
}
/**
* Output only. The timestamp when this asset was created. The timestamp is in
* the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
*
* @param string $creationTime
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* Output only. The Engine Status for an asset.
*
* Accepted values: UNSPECIFIED, UNKNOWN, SERVING, SERVING_LIMITED,
* DISAPPROVED, DISABLED, REMOVED
*
* @param self::ENGINE_STATUS_* $engineStatus
*/
public function setEngineStatus($engineStatus)
{
$this->engineStatus = $engineStatus;
}
/**
* @return self::ENGINE_STATUS_*
*/
public function getEngineStatus()
{
return $this->engineStatus;
}
/**
* A list of possible final mobile URLs after all cross domain redirects.
*
* @param string[] $finalMobileUrls
*/
public function setFinalMobileUrls($finalMobileUrls)
{
$this->finalMobileUrls = $finalMobileUrls;
}
/**
* @return string[]
*/
public function getFinalMobileUrls()
{
return $this->finalMobileUrls;
}
/**
* URL template for appending params to landing page URLs served with parallel
* tracking.
*
* @param string $finalUrlSuffix
*/
public function setFinalUrlSuffix($finalUrlSuffix)
{
$this->finalUrlSuffix = $finalUrlSuffix;
}
/**
* @return string
*/
public function getFinalUrlSuffix()
{
return $this->finalUrlSuffix;
}
/**
* A list of possible final URLs after all cross domain redirects.
*
* @param string[] $finalUrls
*/
public function setFinalUrls($finalUrls)
{
$this->finalUrls = $finalUrls;
}
/**
* @return string[]
*/
public function getFinalUrls()
{
return $this->finalUrls;
}
/**
* Output only. The ID of the asset.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Output only. An image asset.
*
* @param GoogleAdsSearchads360V0CommonImageAsset $imageAsset
*/
public function setImageAsset(GoogleAdsSearchads360V0CommonImageAsset $imageAsset)
{
$this->imageAsset = $imageAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonImageAsset
*/
public function getImageAsset()
{
return $this->imageAsset;
}
/**
* Output only. The datetime when this asset was last modified. The datetime
* is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
*
* @param string $lastModifiedTime
*/
public function setLastModifiedTime($lastModifiedTime)
{
$this->lastModifiedTime = $lastModifiedTime;
}
/**
* @return string
*/
public function getLastModifiedTime()
{
return $this->lastModifiedTime;
}
/**
* Output only. A unified location asset.
*
* @param GoogleAdsSearchads360V0CommonUnifiedLocationAsset $locationAsset
*/
public function setLocationAsset(GoogleAdsSearchads360V0CommonUnifiedLocationAsset $locationAsset)
{
$this->locationAsset = $locationAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonUnifiedLocationAsset
*/
public function getLocationAsset()
{
return $this->locationAsset;
}
/**
* A mobile app asset.
*
* @param GoogleAdsSearchads360V0CommonMobileAppAsset $mobileAppAsset
*/
public function setMobileAppAsset(GoogleAdsSearchads360V0CommonMobileAppAsset $mobileAppAsset)
{
$this->mobileAppAsset = $mobileAppAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonMobileAppAsset
*/
public function getMobileAppAsset()
{
return $this->mobileAppAsset;
}
/**
* Optional name of the asset.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. A unified page feed asset.
*
* @param GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset $pageFeedAsset
*/
public function setPageFeedAsset(GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset $pageFeedAsset)
{
$this->pageFeedAsset = $pageFeedAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonUnifiedPageFeedAsset
*/
public function getPageFeedAsset()
{
return $this->pageFeedAsset;
}
/**
* Immutable. The resource name of the asset. Asset resource names have the
* form: `customers/{customer_id}/assets/{asset_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Output only. A unified sitelink asset.
*
* @param GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset $sitelinkAsset
*/
public function setSitelinkAsset(GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset $sitelinkAsset)
{
$this->sitelinkAsset = $sitelinkAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonUnifiedSitelinkAsset
*/
public function getSitelinkAsset()
{
return $this->sitelinkAsset;
}
/**
* Output only. The status of the asset.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, REMOVED, ARCHIVED,
* PENDING_SYSTEM_GENERATED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* Output only. A text asset.
*
* @param GoogleAdsSearchads360V0CommonTextAsset $textAsset
*/
public function setTextAsset(GoogleAdsSearchads360V0CommonTextAsset $textAsset)
{
$this->textAsset = $textAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonTextAsset
*/
public function getTextAsset()
{
return $this->textAsset;
}
/**
* URL template for constructing a tracking URL.
*
* @param string $trackingUrlTemplate
*/
public function setTrackingUrlTemplate($trackingUrlTemplate)
{
$this->trackingUrlTemplate = $trackingUrlTemplate;
}
/**
* @return string
*/
public function getTrackingUrlTemplate()
{
return $this->trackingUrlTemplate;
}
/**
* Output only. Type of the asset.
*
* Accepted values: UNSPECIFIED, UNKNOWN, YOUTUBE_VIDEO, MEDIA_BUNDLE, IMAGE,
* TEXT, LEAD_FORM, BOOK_ON_GOOGLE, PROMOTION, CALLOUT, STRUCTURED_SNIPPET,
* SITELINK, PAGE_FEED, DYNAMIC_EDUCATION, MOBILE_APP, HOTEL_CALLOUT, CALL,
* PRICE, CALL_TO_ACTION, DYNAMIC_REAL_ESTATE, DYNAMIC_CUSTOM,
* DYNAMIC_HOTELS_AND_RENTALS, DYNAMIC_FLIGHTS, DISCOVERY_CAROUSEL_CARD,
* DYNAMIC_TRAVEL, DYNAMIC_LOCAL, DYNAMIC_JOBS, LOCATION, HOTEL_PROPERTY
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* A list of mappings to be used for substituting URL custom parameter tags in
* the tracking_url_template, final_urls, and/or final_mobile_urls.
*
* @param GoogleAdsSearchads360V0CommonCustomParameter[] $urlCustomParameters
*/
public function setUrlCustomParameters($urlCustomParameters)
{
$this->urlCustomParameters = $urlCustomParameters;
}
/**
* @return GoogleAdsSearchads360V0CommonCustomParameter[]
*/
public function getUrlCustomParameters()
{
return $this->urlCustomParameters;
}
/**
* Immutable. A YouTube video asset.
*
* @param GoogleAdsSearchads360V0CommonYoutubeVideoAsset $youtubeVideoAsset
*/
public function setYoutubeVideoAsset(GoogleAdsSearchads360V0CommonYoutubeVideoAsset $youtubeVideoAsset)
{
$this->youtubeVideoAsset = $youtubeVideoAsset;
}
/**
* @return GoogleAdsSearchads360V0CommonYoutubeVideoAsset
*/
public function getYoutubeVideoAsset()
{
return $this->youtubeVideoAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAsset');
@@ -0,0 +1,318 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetGroup extends \Google\Collection
{
/**
* Not specified.
*/
public const AD_STRENGTH_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const AD_STRENGTH_UNKNOWN = 'UNKNOWN';
/**
* The ad strength is currently pending.
*/
public const AD_STRENGTH_PENDING = 'PENDING';
/**
* No ads could be generated.
*/
public const AD_STRENGTH_NO_ADS = 'NO_ADS';
/**
* Poor strength.
*/
public const AD_STRENGTH_POOR = 'POOR';
/**
* Average strength.
*/
public const AD_STRENGTH_AVERAGE = 'AVERAGE';
/**
* Good strength.
*/
public const AD_STRENGTH_GOOD = 'GOOD';
/**
* Excellent strength.
*/
public const AD_STRENGTH_EXCELLENT = 'EXCELLENT';
/**
* The status has not been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The asset group is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The asset group is paused.
*/
public const STATUS_PAUSED = 'PAUSED';
/**
* The asset group is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
protected $collection_key = 'finalUrls';
/**
* Output only. Overall ad strength of this asset group.
*
* @var string
*/
public $adStrength;
/**
* Immutable. The campaign with which this asset group is associated. The
* asset which is linked to the asset group.
*
* @var string
*/
public $campaign;
/**
* A list of final mobile URLs after all cross domain redirects. In
* performance max, by default, the urls are eligible for expansion unless
* opted out.
*
* @var string[]
*/
public $finalMobileUrls;
/**
* A list of final URLs after all cross domain redirects. In performance max,
* by default, the urls are eligible for expansion unless opted out.
*
* @var string[]
*/
public $finalUrls;
/**
* Output only. The ID of the asset group.
*
* @var string
*/
public $id;
/**
* Required. Name of the asset group. Required. It must have a minimum length
* of 1 and maximum length of 128. It must be unique under a campaign.
*
* @var string
*/
public $name;
/**
* First part of text that may appear appended to the url displayed in the ad.
*
* @var string
*/
public $path1;
/**
* Second part of text that may appear appended to the url displayed in the
* ad. This field can only be set when path1 is set.
*
* @var string
*/
public $path2;
/**
* Immutable. The resource name of the asset group. Asset group resource names
* have the form: `customers/{customer_id}/assetGroups/{asset_group_id}`
*
* @var string
*/
public $resourceName;
/**
* The status of the asset group.
*
* @var string
*/
public $status;
/**
* Output only. Overall ad strength of this asset group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, PENDING, NO_ADS, POOR, AVERAGE,
* GOOD, EXCELLENT
*
* @param self::AD_STRENGTH_* $adStrength
*/
public function setAdStrength($adStrength)
{
$this->adStrength = $adStrength;
}
/**
* @return self::AD_STRENGTH_*
*/
public function getAdStrength()
{
return $this->adStrength;
}
/**
* Immutable. The campaign with which this asset group is associated. The
* asset which is linked to the asset group.
*
* @param string $campaign
*/
public function setCampaign($campaign)
{
$this->campaign = $campaign;
}
/**
* @return string
*/
public function getCampaign()
{
return $this->campaign;
}
/**
* A list of final mobile URLs after all cross domain redirects. In
* performance max, by default, the urls are eligible for expansion unless
* opted out.
*
* @param string[] $finalMobileUrls
*/
public function setFinalMobileUrls($finalMobileUrls)
{
$this->finalMobileUrls = $finalMobileUrls;
}
/**
* @return string[]
*/
public function getFinalMobileUrls()
{
return $this->finalMobileUrls;
}
/**
* A list of final URLs after all cross domain redirects. In performance max,
* by default, the urls are eligible for expansion unless opted out.
*
* @param string[] $finalUrls
*/
public function setFinalUrls($finalUrls)
{
$this->finalUrls = $finalUrls;
}
/**
* @return string[]
*/
public function getFinalUrls()
{
return $this->finalUrls;
}
/**
* Output only. The ID of the asset group.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Required. Name of the asset group. Required. It must have a minimum length
* of 1 and maximum length of 128. It must be unique under a campaign.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* First part of text that may appear appended to the url displayed in the ad.
*
* @param string $path1
*/
public function setPath1($path1)
{
$this->path1 = $path1;
}
/**
* @return string
*/
public function getPath1()
{
return $this->path1;
}
/**
* Second part of text that may appear appended to the url displayed in the
* ad. This field can only be set when path1 is set.
*
* @param string $path2
*/
public function setPath2($path2)
{
$this->path2 = $path2;
}
/**
* @return string
*/
public function getPath2()
{
return $this->path2;
}
/**
* Immutable. The resource name of the asset group. Asset group resource names
* have the form: `customers/{customer_id}/assetGroups/{asset_group_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* The status of the asset group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, PAUSED, REMOVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetGroup::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetGroup');
@@ -0,0 +1,302 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetGroupAsset extends \Google\Model
{
/**
* Not specified.
*/
public const FIELD_TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const FIELD_TYPE_UNKNOWN = 'UNKNOWN';
/**
* The asset is linked for use as a headline.
*/
public const FIELD_TYPE_HEADLINE = 'HEADLINE';
/**
* The asset is linked for use as a description.
*/
public const FIELD_TYPE_DESCRIPTION = 'DESCRIPTION';
/**
* The asset is linked for use as mandatory ad text.
*/
public const FIELD_TYPE_MANDATORY_AD_TEXT = 'MANDATORY_AD_TEXT';
/**
* The asset is linked for use as a marketing image.
*/
public const FIELD_TYPE_MARKETING_IMAGE = 'MARKETING_IMAGE';
/**
* The asset is linked for use as a media bundle.
*/
public const FIELD_TYPE_MEDIA_BUNDLE = 'MEDIA_BUNDLE';
/**
* The asset is linked for use as a YouTube video.
*/
public const FIELD_TYPE_YOUTUBE_VIDEO = 'YOUTUBE_VIDEO';
/**
* The asset is linked to indicate that a hotels campaign is "Book on Google"
* enabled.
*/
public const FIELD_TYPE_BOOK_ON_GOOGLE = 'BOOK_ON_GOOGLE';
/**
* The asset is linked for use as a Lead Form extension.
*/
public const FIELD_TYPE_LEAD_FORM = 'LEAD_FORM';
/**
* The asset is linked for use as a Promotion extension.
*/
public const FIELD_TYPE_PROMOTION = 'PROMOTION';
/**
* The asset is linked for use as a Callout extension.
*/
public const FIELD_TYPE_CALLOUT = 'CALLOUT';
/**
* The asset is linked for use as a Structured Snippet extension.
*/
public const FIELD_TYPE_STRUCTURED_SNIPPET = 'STRUCTURED_SNIPPET';
/**
* The asset is linked for use as a Sitelink.
*/
public const FIELD_TYPE_SITELINK = 'SITELINK';
/**
* The asset is linked for use as a Mobile App extension.
*/
public const FIELD_TYPE_MOBILE_APP = 'MOBILE_APP';
/**
* The asset is linked for use as a Hotel Callout extension.
*/
public const FIELD_TYPE_HOTEL_CALLOUT = 'HOTEL_CALLOUT';
/**
* The asset is linked for use as a Call extension.
*/
public const FIELD_TYPE_CALL = 'CALL';
/**
* The asset is linked for use as a Price extension.
*/
public const FIELD_TYPE_PRICE = 'PRICE';
/**
* The asset is linked for use as a long headline.
*/
public const FIELD_TYPE_LONG_HEADLINE = 'LONG_HEADLINE';
/**
* The asset is linked for use as a business name.
*/
public const FIELD_TYPE_BUSINESS_NAME = 'BUSINESS_NAME';
/**
* The asset is linked for use as a square marketing image.
*/
public const FIELD_TYPE_SQUARE_MARKETING_IMAGE = 'SQUARE_MARKETING_IMAGE';
/**
* The asset is linked for use as a portrait marketing image.
*/
public const FIELD_TYPE_PORTRAIT_MARKETING_IMAGE = 'PORTRAIT_MARKETING_IMAGE';
/**
* The asset is linked for use as a logo.
*/
public const FIELD_TYPE_LOGO = 'LOGO';
/**
* The asset is linked for use as a landscape logo.
*/
public const FIELD_TYPE_LANDSCAPE_LOGO = 'LANDSCAPE_LOGO';
/**
* The asset is linked for use as a non YouTube logo.
*/
public const FIELD_TYPE_VIDEO = 'VIDEO';
/**
* The asset is linked for use to select a call-to-action.
*/
public const FIELD_TYPE_CALL_TO_ACTION_SELECTION = 'CALL_TO_ACTION_SELECTION';
/**
* The asset is linked for use to select an ad image.
*/
public const FIELD_TYPE_AD_IMAGE = 'AD_IMAGE';
/**
* The asset is linked for use as a business logo.
*/
public const FIELD_TYPE_BUSINESS_LOGO = 'BUSINESS_LOGO';
/**
* The asset is linked for use as a hotel property in a Performance Max for
* travel goals campaign.
*/
public const FIELD_TYPE_HOTEL_PROPERTY = 'HOTEL_PROPERTY';
/**
* The asset is linked for use as a discovery carousel card.
*/
public const FIELD_TYPE_DISCOVERY_CAROUSEL_CARD = 'DISCOVERY_CAROUSEL_CARD';
/**
* The asset is linked for use as a long description.
*/
public const FIELD_TYPE_LONG_DESCRIPTION = 'LONG_DESCRIPTION';
/**
* The asset is linked for use as a call-to-action.
*/
public const FIELD_TYPE_CALL_TO_ACTION = 'CALL_TO_ACTION';
/**
* Not specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* Asset link is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* Asset link has been removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* Asset link is paused.
*/
public const STATUS_PAUSED = 'PAUSED';
/**
* Immutable. The asset which this asset group asset is linking.
*
* @var string
*/
public $asset;
/**
* Immutable. The asset group which this asset group asset is linking.
*
* @var string
*/
public $assetGroup;
/**
* The description of the placement of the asset within the asset group. For
* example: HEADLINE, YOUTUBE_VIDEO etc
*
* @var string
*/
public $fieldType;
/**
* Immutable. The resource name of the asset group asset. Asset group asset
* resource name have the form: `customers/{customer_id}/assetGroupAssets/{ass
* et_group_id}~{asset_id}~{field_type}`
*
* @var string
*/
public $resourceName;
/**
* The status of the link between an asset and asset group.
*
* @var string
*/
public $status;
/**
* Immutable. The asset which this asset group asset is linking.
*
* @param string $asset
*/
public function setAsset($asset)
{
$this->asset = $asset;
}
/**
* @return string
*/
public function getAsset()
{
return $this->asset;
}
/**
* Immutable. The asset group which this asset group asset is linking.
*
* @param string $assetGroup
*/
public function setAssetGroup($assetGroup)
{
$this->assetGroup = $assetGroup;
}
/**
* @return string
*/
public function getAssetGroup()
{
return $this->assetGroup;
}
/**
* The description of the placement of the asset within the asset group. For
* example: HEADLINE, YOUTUBE_VIDEO etc
*
* Accepted values: UNSPECIFIED, UNKNOWN, HEADLINE, DESCRIPTION,
* MANDATORY_AD_TEXT, MARKETING_IMAGE, MEDIA_BUNDLE, YOUTUBE_VIDEO,
* BOOK_ON_GOOGLE, LEAD_FORM, PROMOTION, CALLOUT, STRUCTURED_SNIPPET,
* SITELINK, MOBILE_APP, HOTEL_CALLOUT, CALL, PRICE, LONG_HEADLINE,
* BUSINESS_NAME, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, LOGO,
* LANDSCAPE_LOGO, VIDEO, CALL_TO_ACTION_SELECTION, AD_IMAGE, BUSINESS_LOGO,
* HOTEL_PROPERTY, DISCOVERY_CAROUSEL_CARD, LONG_DESCRIPTION, CALL_TO_ACTION
*
* @param self::FIELD_TYPE_* $fieldType
*/
public function setFieldType($fieldType)
{
$this->fieldType = $fieldType;
}
/**
* @return self::FIELD_TYPE_*
*/
public function getFieldType()
{
return $this->fieldType;
}
/**
* Immutable. The resource name of the asset group asset. Asset group asset
* resource name have the form: `customers/{customer_id}/assetGroupAssets/{ass
* et_group_id}~{asset_id}~{field_type}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* The status of the link between an asset and asset group.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, REMOVED, PAUSED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetGroupAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetGroupAsset');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData extends \Google\Collection
{
protected $collection_key = 'assetCombinationServedAssets';
protected $assetCombinationServedAssetsType = GoogleAdsSearchads360V0CommonAssetUsage::class;
protected $assetCombinationServedAssetsDataType = 'array';
/**
* Output only. Served assets.
*
* @param GoogleAdsSearchads360V0CommonAssetUsage[] $assetCombinationServedAssets
*/
public function setAssetCombinationServedAssets($assetCombinationServedAssets)
{
$this->assetCombinationServedAssets = $assetCombinationServedAssets;
}
/**
* @return GoogleAdsSearchads360V0CommonAssetUsage[]
*/
public function getAssetCombinationServedAssets()
{
return $this->assetCombinationServedAssets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData');
@@ -0,0 +1,245 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter extends \Google\Model
{
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Subdivision of products along some listing dimensions.
*/
public const TYPE_SUBDIVISION = 'SUBDIVISION';
/**
* An included listing group filter leaf node.
*/
public const TYPE_UNIT_INCLUDED = 'UNIT_INCLUDED';
/**
* An excluded listing group filter leaf node.
*/
public const TYPE_UNIT_EXCLUDED = 'UNIT_EXCLUDED';
/**
* Not specified.
*/
public const VERTICAL_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const VERTICAL_UNKNOWN = 'UNKNOWN';
/**
* Represents the shopping vertical. The vertical is allowed only in
* Performance Max for Retail campaigns.
*/
public const VERTICAL_SHOPPING = 'SHOPPING';
/**
* Immutable. The asset group which this asset group listing group filter is
* part of.
*
* @var string
*/
public $assetGroup;
protected $caseValueType = GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension::class;
protected $caseValueDataType = '';
/**
* Output only. The ID of the ListingGroupFilter.
*
* @var string
*/
public $id;
/**
* Immutable. Resource name of the parent listing group subdivision. Null for
* the root listing group filter node.
*
* @var string
*/
public $parentListingGroupFilter;
protected $pathType = GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath::class;
protected $pathDataType = '';
/**
* Immutable. The resource name of the asset group listing group filter. Asset
* group listing group filter resource name have the form: `customers/{custome
* r_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_
* id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. Type of a listing group filter node.
*
* @var string
*/
public $type;
/**
* Immutable. The vertical the current node tree represents. All nodes in the
* same tree must belong to the same vertical.
*
* @var string
*/
public $vertical;
/**
* Immutable. The asset group which this asset group listing group filter is
* part of.
*
* @param string $assetGroup
*/
public function setAssetGroup($assetGroup)
{
$this->assetGroup = $assetGroup;
}
/**
* @return string
*/
public function getAssetGroup()
{
return $this->assetGroup;
}
/**
* Dimension value with which this listing group is refining its parent.
* Undefined for the root group.
*
* @param GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension $caseValue
*/
public function setCaseValue(GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension $caseValue)
{
$this->caseValue = $caseValue;
}
/**
* @return GoogleAdsSearchads360V0ResourcesListingGroupFilterDimension
*/
public function getCaseValue()
{
return $this->caseValue;
}
/**
* Output only. The ID of the ListingGroupFilter.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Immutable. Resource name of the parent listing group subdivision. Null for
* the root listing group filter node.
*
* @param string $parentListingGroupFilter
*/
public function setParentListingGroupFilter($parentListingGroupFilter)
{
$this->parentListingGroupFilter = $parentListingGroupFilter;
}
/**
* @return string
*/
public function getParentListingGroupFilter()
{
return $this->parentListingGroupFilter;
}
/**
* Output only. The path of dimensions defining this listing group filter.
*
* @param GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath $path
*/
public function setPath(GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath $path)
{
$this->path = $path;
}
/**
* @return GoogleAdsSearchads360V0ResourcesListingGroupFilterDimensionPath
*/
public function getPath()
{
return $this->path;
}
/**
* Immutable. The resource name of the asset group listing group filter. Asset
* group listing group filter resource name have the form: `customers/{custome
* r_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_
* id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Immutable. Type of a listing group filter node.
*
* Accepted values: UNSPECIFIED, UNKNOWN, SUBDIVISION, UNIT_INCLUDED,
* UNIT_EXCLUDED
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
/**
* Immutable. The vertical the current node tree represents. All nodes in the
* same tree must belong to the same vertical.
*
* Accepted values: UNSPECIFIED, UNKNOWN, SHOPPING
*
* @param self::VERTICAL_* $vertical
*/
public function setVertical($vertical)
{
$this->vertical = $vertical;
}
/**
* @return self::VERTICAL_*
*/
public function getVertical()
{
return $this->vertical;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetGroupListingGroupFilter');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetGroupSignal extends \Google\Model
{
/**
* Immutable. The asset group which this asset group signal belongs to.
*
* @var string
*/
public $assetGroup;
protected $audienceType = GoogleAdsSearchads360V0CommonAudienceInfo::class;
protected $audienceDataType = '';
/**
* Immutable. The resource name of the asset group signal. Asset group signal
* resource name have the form:
* `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}`
*
* @var string
*/
public $resourceName;
/**
* Immutable. The asset group which this asset group signal belongs to.
*
* @param string $assetGroup
*/
public function setAssetGroup($assetGroup)
{
$this->assetGroup = $assetGroup;
}
/**
* @return string
*/
public function getAssetGroup()
{
return $this->assetGroup;
}
/**
* Immutable. The audience signal to be used by the performance max campaign.
*
* @param GoogleAdsSearchads360V0CommonAudienceInfo $audience
*/
public function setAudience(GoogleAdsSearchads360V0CommonAudienceInfo $audience)
{
$this->audience = $audience;
}
/**
* @return GoogleAdsSearchads360V0CommonAudienceInfo
*/
public function getAudience()
{
return $this->audience;
}
/**
* Immutable. The resource name of the asset group signal. Asset group signal
* resource name have the form:
* `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetGroupSignal::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetGroupSignal');
@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView extends \Google\Collection
{
protected $collection_key = 'assetGroupTopCombinations';
protected $assetGroupTopCombinationsType = GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData::class;
protected $assetGroupTopCombinationsDataType = 'array';
/**
* Output only. The resource name of the asset group top combination view.
* AssetGroup Top Combination view resource names have the form: `"customers/{
* customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combinat
* ion_category}"
*
* @var string
*/
public $resourceName;
/**
* Output only. The top combinations of assets that served together.
*
* @param GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData[] $assetGroupTopCombinations
*/
public function setAssetGroupTopCombinations($assetGroupTopCombinations)
{
$this->assetGroupTopCombinations = $assetGroupTopCombinations;
}
/**
* @return GoogleAdsSearchads360V0ResourcesAssetGroupAssetCombinationData[]
*/
public function getAssetGroupTopCombinations()
{
return $this->assetGroupTopCombinations;
}
/**
* Output only. The resource name of the asset group top combination view.
* AssetGroup Top Combination view resource names have the form: `"customers/{
* customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combinat
* ion_category}"
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetGroupTopCombinationView');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetSet extends \Google\Model
{
/**
* Output only. The ID of the asset set.
*
* @var string
*/
public $id;
/**
* Immutable. The resource name of the asset set. Asset set resource names
* have the form: `customers/{customer_id}/assetSets/{asset_set_id}`
*
* @var string
*/
public $resourceName;
/**
* Output only. The ID of the asset set.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Immutable. The resource name of the asset set. Asset set resource names
* have the form: `customers/{customer_id}/assetSets/{asset_set_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetSet::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetSet');
@@ -0,0 +1,137 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAssetSetAsset extends \Google\Model
{
/**
* The status has not been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The asset set asset is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The asset set asset is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* Immutable. The asset which this asset set asset is linking to.
*
* @var string
*/
public $asset;
/**
* Immutable. The asset set which this asset set asset is linking to.
*
* @var string
*/
public $assetSet;
/**
* Immutable. The resource name of the asset set asset. Asset set asset
* resource names have the form:
* `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}`
*
* @var string
*/
public $resourceName;
/**
* Output only. The status of the asset set asset. Read-only.
*
* @var string
*/
public $status;
/**
* Immutable. The asset which this asset set asset is linking to.
*
* @param string $asset
*/
public function setAsset($asset)
{
$this->asset = $asset;
}
/**
* @return string
*/
public function getAsset()
{
return $this->asset;
}
/**
* Immutable. The asset set which this asset set asset is linking to.
*
* @param string $assetSet
*/
public function setAssetSet($assetSet)
{
$this->assetSet = $assetSet;
}
/**
* @return string
*/
public function getAssetSet()
{
return $this->assetSet;
}
/**
* Immutable. The resource name of the asset set asset. Asset set asset
* resource names have the form:
* `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Output only. The status of the asset set asset. Read-only.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, REMOVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAssetSetAsset::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAssetSetAsset');
@@ -0,0 +1,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesAudience extends \Google\Model
{
/**
* Description of this audience.
*
* @var string
*/
public $description;
/**
* Output only. ID of the audience.
*
* @var string
*/
public $id;
/**
* Required. Name of the audience. It should be unique across all audiences.
* It must have a minimum length of 1 and maximum length of 255.
*
* @var string
*/
public $name;
/**
* Immutable. The resource name of the audience. Audience names have the form:
* `customers/{customer_id}/audiences/{audience_id}`
*
* @var string
*/
public $resourceName;
/**
* Description of this audience.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Output only. ID of the audience.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Required. Name of the audience. It should be unique across all audiences.
* It must have a minimum length of 1 and maximum length of 255.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Immutable. The resource name of the audience. Audience names have the form:
* `customers/{customer_id}/audiences/{audience_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesAudience::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAudience');
@@ -0,0 +1,536 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\SA360;
class GoogleAdsSearchads360V0ResourcesBiddingStrategy extends \Google\Model
{
/**
* No value has been specified.
*/
public const STATUS_UNSPECIFIED = 'UNSPECIFIED';
/**
* The received value is not known in this version. This is a response-only
* value.
*/
public const STATUS_UNKNOWN = 'UNKNOWN';
/**
* The bidding strategy is enabled.
*/
public const STATUS_ENABLED = 'ENABLED';
/**
* The bidding strategy is removed.
*/
public const STATUS_REMOVED = 'REMOVED';
/**
* Not specified.
*/
public const TYPE_UNSPECIFIED = 'UNSPECIFIED';
/**
* Used for return value only. Represents value unknown in this version.
*/
public const TYPE_UNKNOWN = 'UNKNOWN';
/**
* Commission is an automatic bidding strategy in which the advertiser pays a
* certain portion of the conversion value.
*/
public const TYPE_COMMISSION = 'COMMISSION';
/**
* Enhanced CPC is a bidding strategy that raises bids for clicks that seem
* more likely to lead to a conversion and lowers them for clicks where they
* seem less likely.
*/
public const TYPE_ENHANCED_CPC = 'ENHANCED_CPC';
/**
* Used for return value only. Indicates that a campaign does not have a
* bidding strategy. This prevents the campaign from serving. For example, a
* campaign may be attached to a manager bidding strategy and the serving
* account is subsequently unlinked from the manager account. In this case the
* campaign will automatically be detached from the now inaccessible manager
* bidding strategy and transition to the INVALID bidding strategy type.
*/
public const TYPE_INVALID = 'INVALID';
/**
* Manual bidding strategy that allows advertiser to set the bid per
* advertiser-specified action.
*/
public const TYPE_MANUAL_CPA = 'MANUAL_CPA';
/**
* Manual click based bidding where user pays per click.
*/
public const TYPE_MANUAL_CPC = 'MANUAL_CPC';
/**
* Manual impression based bidding where user pays per thousand impressions.
*/
public const TYPE_MANUAL_CPM = 'MANUAL_CPM';
/**
* A bidding strategy that pays a configurable amount per video view.
*/
public const TYPE_MANUAL_CPV = 'MANUAL_CPV';
/**
* A bidding strategy that automatically maximizes number of conversions given
* a daily budget.
*/
public const TYPE_MAXIMIZE_CONVERSIONS = 'MAXIMIZE_CONVERSIONS';
/**
* An automated bidding strategy that automatically sets bids to maximize
* revenue while spending your budget.
*/
public const TYPE_MAXIMIZE_CONVERSION_VALUE = 'MAXIMIZE_CONVERSION_VALUE';
/**
* Page-One Promoted bidding scheme, which sets max cpc bids to target
* impressions on page one or page one promoted slots on google.com. This enum
* value is deprecated.
*/
public const TYPE_PAGE_ONE_PROMOTED = 'PAGE_ONE_PROMOTED';
/**
* Percent Cpc is bidding strategy where bids are a fraction of the advertised
* price for some good or service.
*/
public const TYPE_PERCENT_CPC = 'PERCENT_CPC';
/**
* Target CPA is an automated bid strategy that sets bids to help get as many
* conversions as possible at the target cost-per-acquisition (CPA) you set.
*/
public const TYPE_TARGET_CPA = 'TARGET_CPA';
/**
* Target CPM is an automated bid strategy that sets bids to help get as many
* impressions as possible at the target cost per one thousand impressions
* (CPM) you set.
*/
public const TYPE_TARGET_CPM = 'TARGET_CPM';
/**
* An automated bidding strategy that sets bids so that a certain percentage
* of search ads are shown at the top of the first page (or other targeted
* location).
*/
public const TYPE_TARGET_IMPRESSION_SHARE = 'TARGET_IMPRESSION_SHARE';
/**
* Target Outrank Share is an automated bidding strategy that sets bids based
* on the target fraction of auctions where the advertiser should outrank a
* specific competitor. This enum value is deprecated.
*/
public const TYPE_TARGET_OUTRANK_SHARE = 'TARGET_OUTRANK_SHARE';
/**
* Target ROAS is an automated bidding strategy that helps you maximize
* revenue while averaging a specific target Return On Average Spend (ROAS).
*/
public const TYPE_TARGET_ROAS = 'TARGET_ROAS';
/**
* Target Spend is an automated bid strategy that sets your bids to help get
* as many clicks as possible within your budget.
*/
public const TYPE_TARGET_SPEND = 'TARGET_SPEND';
/**
* Output only. The number of campaigns attached to this bidding strategy.
* This field is read-only.
*
* @var string
*/
public $campaignCount;
/**
* Immutable. The currency used by the bidding strategy (ISO 4217 three-letter
* code). For bidding strategies in manager customers, this currency can be
* set on creation and defaults to the manager customer's currency. For
* serving customers, this field cannot be set; all strategies in a serving
* customer implicitly use the serving customer's currency. In all cases the
* effective_currency_code field returns the currency used by the strategy.
*
* @var string
*/
public $currencyCode;
/**
* Output only. The currency used by the bidding strategy (ISO 4217 three-
* letter code). For bidding strategies in manager customers, this is the
* currency set by the advertiser when creating the strategy. For serving
* customers, this is the customer's currency_code. Bidding strategy metrics
* are reported in this currency. This field is read-only.
*
* @var string
*/
public $effectiveCurrencyCode;
protected $enhancedCpcType = GoogleAdsSearchads360V0CommonEnhancedCpc::class;
protected $enhancedCpcDataType = '';
/**
* Output only. The ID of the bidding strategy.
*
* @var string
*/
public $id;
protected $maximizeConversionValueType = GoogleAdsSearchads360V0CommonMaximizeConversionValue::class;
protected $maximizeConversionValueDataType = '';
protected $maximizeConversionsType = GoogleAdsSearchads360V0CommonMaximizeConversions::class;
protected $maximizeConversionsDataType = '';
/**
* The name of the bidding strategy. All bidding strategies within an account
* must be named distinctly. The length of this string should be between 1 and
* 255, inclusive, in UTF-8 bytes, (trimmed).
*
* @var string
*/
public $name;
/**
* Output only. The number of non-removed campaigns attached to this bidding
* strategy. This field is read-only.
*
* @var string
*/
public $nonRemovedCampaignCount;
/**
* Immutable. The resource name of the bidding strategy. Bidding strategy
* resource names have the form:
* `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`
*
* @var string
*/
public $resourceName;
/**
* Output only. The status of the bidding strategy. This field is read-only.
*
* @var string
*/
public $status;
protected $targetCpaType = GoogleAdsSearchads360V0CommonTargetCpa::class;
protected $targetCpaDataType = '';
protected $targetImpressionShareType = GoogleAdsSearchads360V0CommonTargetImpressionShare::class;
protected $targetImpressionShareDataType = '';
protected $targetOutrankShareType = GoogleAdsSearchads360V0CommonTargetOutrankShare::class;
protected $targetOutrankShareDataType = '';
protected $targetRoasType = GoogleAdsSearchads360V0CommonTargetRoas::class;
protected $targetRoasDataType = '';
protected $targetSpendType = GoogleAdsSearchads360V0CommonTargetSpend::class;
protected $targetSpendDataType = '';
/**
* Output only. The type of the bidding strategy. Create a bidding strategy by
* setting the bidding scheme. This field is read-only.
*
* @var string
*/
public $type;
/**
* Output only. The number of campaigns attached to this bidding strategy.
* This field is read-only.
*
* @param string $campaignCount
*/
public function setCampaignCount($campaignCount)
{
$this->campaignCount = $campaignCount;
}
/**
* @return string
*/
public function getCampaignCount()
{
return $this->campaignCount;
}
/**
* Immutable. The currency used by the bidding strategy (ISO 4217 three-letter
* code). For bidding strategies in manager customers, this currency can be
* set on creation and defaults to the manager customer's currency. For
* serving customers, this field cannot be set; all strategies in a serving
* customer implicitly use the serving customer's currency. In all cases the
* effective_currency_code field returns the currency used by the strategy.
*
* @param string $currencyCode
*/
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
/**
* @return string
*/
public function getCurrencyCode()
{
return $this->currencyCode;
}
/**
* Output only. The currency used by the bidding strategy (ISO 4217 three-
* letter code). For bidding strategies in manager customers, this is the
* currency set by the advertiser when creating the strategy. For serving
* customers, this is the customer's currency_code. Bidding strategy metrics
* are reported in this currency. This field is read-only.
*
* @param string $effectiveCurrencyCode
*/
public function setEffectiveCurrencyCode($effectiveCurrencyCode)
{
$this->effectiveCurrencyCode = $effectiveCurrencyCode;
}
/**
* @return string
*/
public function getEffectiveCurrencyCode()
{
return $this->effectiveCurrencyCode;
}
/**
* A bidding strategy that raises bids for clicks that seem more likely to
* lead to a conversion and lowers them for clicks where they seem less
* likely.
*
* @param GoogleAdsSearchads360V0CommonEnhancedCpc $enhancedCpc
*/
public function setEnhancedCpc(GoogleAdsSearchads360V0CommonEnhancedCpc $enhancedCpc)
{
$this->enhancedCpc = $enhancedCpc;
}
/**
* @return GoogleAdsSearchads360V0CommonEnhancedCpc
*/
public function getEnhancedCpc()
{
return $this->enhancedCpc;
}
/**
* Output only. The ID of the bidding strategy.
*
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* An automated bidding strategy to help get the most conversion value for
* your campaigns while spending your budget.
*
* @param GoogleAdsSearchads360V0CommonMaximizeConversionValue $maximizeConversionValue
*/
public function setMaximizeConversionValue(GoogleAdsSearchads360V0CommonMaximizeConversionValue $maximizeConversionValue)
{
$this->maximizeConversionValue = $maximizeConversionValue;
}
/**
* @return GoogleAdsSearchads360V0CommonMaximizeConversionValue
*/
public function getMaximizeConversionValue()
{
return $this->maximizeConversionValue;
}
/**
* An automated bidding strategy to help get the most conversions for your
* campaigns while spending your budget.
*
* @param GoogleAdsSearchads360V0CommonMaximizeConversions $maximizeConversions
*/
public function setMaximizeConversions(GoogleAdsSearchads360V0CommonMaximizeConversions $maximizeConversions)
{
$this->maximizeConversions = $maximizeConversions;
}
/**
* @return GoogleAdsSearchads360V0CommonMaximizeConversions
*/
public function getMaximizeConversions()
{
return $this->maximizeConversions;
}
/**
* The name of the bidding strategy. All bidding strategies within an account
* must be named distinctly. The length of this string should be between 1 and
* 255, inclusive, in UTF-8 bytes, (trimmed).
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. The number of non-removed campaigns attached to this bidding
* strategy. This field is read-only.
*
* @param string $nonRemovedCampaignCount
*/
public function setNonRemovedCampaignCount($nonRemovedCampaignCount)
{
$this->nonRemovedCampaignCount = $nonRemovedCampaignCount;
}
/**
* @return string
*/
public function getNonRemovedCampaignCount()
{
return $this->nonRemovedCampaignCount;
}
/**
* Immutable. The resource name of the bidding strategy. Bidding strategy
* resource names have the form:
* `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`
*
* @param string $resourceName
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* Output only. The status of the bidding strategy. This field is read-only.
*
* Accepted values: UNSPECIFIED, UNKNOWN, ENABLED, REMOVED
*
* @param self::STATUS_* $status
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return self::STATUS_*
*/
public function getStatus()
{
return $this->status;
}
/**
* A bidding strategy that sets bids to help get as many conversions as
* possible at the target cost-per-acquisition (CPA) you set.
*
* @param GoogleAdsSearchads360V0CommonTargetCpa $targetCpa
*/
public function setTargetCpa(GoogleAdsSearchads360V0CommonTargetCpa $targetCpa)
{
$this->targetCpa = $targetCpa;
}
/**
* @return GoogleAdsSearchads360V0CommonTargetCpa
*/
public function getTargetCpa()
{
return $this->targetCpa;
}
/**
* A bidding strategy that automatically optimizes towards a chosen percentage
* of impressions.
*
* @param GoogleAdsSearchads360V0CommonTargetImpressionShare $targetImpressionShare
*/
public function setTargetImpressionShare(GoogleAdsSearchads360V0CommonTargetImpressionShare $targetImpressionShare)
{
$this->targetImpressionShare = $targetImpressionShare;
}
/**
* @return GoogleAdsSearchads360V0CommonTargetImpressionShare
*/
public function getTargetImpressionShare()
{
return $this->targetImpressionShare;
}
/**
* A bidding strategy that sets bids based on the target fraction of auctions
* where the advertiser should outrank a specific competitor. This field is
* deprecated. Creating a new bidding strategy with this field or attaching
* bidding strategies with this field to a campaign will fail. Mutates to
* strategies that already have this scheme populated are allowed.
*
* @param GoogleAdsSearchads360V0CommonTargetOutrankShare $targetOutrankShare
*/
public function setTargetOutrankShare(GoogleAdsSearchads360V0CommonTargetOutrankShare $targetOutrankShare)
{
$this->targetOutrankShare = $targetOutrankShare;
}
/**
* @return GoogleAdsSearchads360V0CommonTargetOutrankShare
*/
public function getTargetOutrankShare()
{
return $this->targetOutrankShare;
}
/**
* A bidding strategy that helps you maximize revenue while averaging a
* specific target Return On Ad Spend (ROAS).
*
* @param GoogleAdsSearchads360V0CommonTargetRoas $targetRoas
*/
public function setTargetRoas(GoogleAdsSearchads360V0CommonTargetRoas $targetRoas)
{
$this->targetRoas = $targetRoas;
}
/**
* @return GoogleAdsSearchads360V0CommonTargetRoas
*/
public function getTargetRoas()
{
return $this->targetRoas;
}
/**
* A bid strategy that sets your bids to help get as many clicks as possible
* within your budget.
*
* @param GoogleAdsSearchads360V0CommonTargetSpend $targetSpend
*/
public function setTargetSpend(GoogleAdsSearchads360V0CommonTargetSpend $targetSpend)
{
$this->targetSpend = $targetSpend;
}
/**
* @return GoogleAdsSearchads360V0CommonTargetSpend
*/
public function getTargetSpend()
{
return $this->targetSpend;
}
/**
* Output only. The type of the bidding strategy. Create a bidding strategy by
* setting the bidding scheme. This field is read-only.
*
* Accepted values: UNSPECIFIED, UNKNOWN, COMMISSION, ENHANCED_CPC, INVALID,
* MANUAL_CPA, MANUAL_CPC, MANUAL_CPM, MANUAL_CPV, MAXIMIZE_CONVERSIONS,
* MAXIMIZE_CONVERSION_VALUE, PAGE_ONE_PROMOTED, PERCENT_CPC, TARGET_CPA,
* TARGET_CPM, TARGET_IMPRESSION_SHARE, TARGET_OUTRANK_SHARE, TARGET_ROAS,
* TARGET_SPEND
*
* @param self::TYPE_* $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return self::TYPE_*
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAdsSearchads360V0ResourcesBiddingStrategy::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesBiddingStrategy');
File diff suppressed because it is too large Load Diff

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