PHP Класс GeoTargetTypeSetting, googleads-php-lib

AdWords ads can be geotargeted using Location of Presence (LOP), Area of Interest (AOI), or both. LOP is the physical location of the user performing the search; AOI is the geographical region in which the searcher is interested. For example, if a user in New York City performs a search "hotels california", their LOP is New York City and their AOI is California.

Additionally, ads can be positively or negatively geotargeted. An ad that is positively geotargeted to New York City only appears to users whose location is related (via AOI or LOP) to New York City. An ad that is negatively geotargeted to New York City appears for all users except those whose location is related to New York City. Ads can only be negatively geotargeted if a positive geotargeting is also supplied, and the negatively geotargeted region must be contained within the positive region.

Geotargeting settings allow ads to be targeted in the following way:

  • Positively geotargeted using solely AOI, solely LOP, or either.
  • Negatively geotargeted using solely LOP, or both.

This setting applies only to ads shown on the search network, and does not affect ads shown on the Google Display Network.

Наследование: extends Setting
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$negativeGeoTargetType tnsGeoTargetTypeSettingNegativeGeoTargetType
$positiveGeoTargetType tnsGeoTargetTypeSettingPositiveGeoTargetType

Открытые методы

Метод Описание
__construct ( $positiveGeoTargetType = null, $negativeGeoTargetType = null, $SettingType = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Описание методов

__construct() публичный Метод

public __construct ( $positiveGeoTargetType = null, $negativeGeoTargetType = null, $SettingType = null )

getNamespace() публичный Метод

Gets the namesapce of this class
public getNamespace ( ) : string
Результат string the namespace of this class

getXsiTypeName() публичный Метод

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Результат string the xsi:type name of this class

Описание свойств

$negativeGeoTargetType публичное свойство

public tnsGeoTargetTypeSettingNegativeGeoTargetType $negativeGeoTargetType
Результат tnsGeoTargetTypeSettingNegativeGeoTargetType

$positiveGeoTargetType публичное свойство

public tnsGeoTargetTypeSettingPositiveGeoTargetType $positiveGeoTargetType
Результат tnsGeoTargetTypeSettingPositiveGeoTargetType