PHP Class 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.

Inheritance: extends Setting
Mostrar archivo Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$negativeGeoTargetType tnsGeoTargetTypeSettingNegativeGeoTargetType
$positiveGeoTargetType tnsGeoTargetTypeSettingPositiveGeoTargetType

Public Methods

Method Description
__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

Method Details

__construct() public method

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

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
return string the xsi:type name of this class

Property Details

$negativeGeoTargetType public_oe property

public tnsGeoTargetTypeSettingNegativeGeoTargetType $negativeGeoTargetType
return tnsGeoTargetTypeSettingNegativeGeoTargetType

$positiveGeoTargetType public_oe property

public tnsGeoTargetTypeSettingPositiveGeoTargetType $positiveGeoTargetType
return tnsGeoTargetTypeSettingPositiveGeoTargetType