PHP Class Proximity, googleads-php-lib

A proximity is an area within a certain radius of a point with the center point being described by a lat/long pair. The caller may also alternatively provide address fields which will be geocoded into a lat/long pair. Note: If a geoPoint value is provided, the address is not used for calculating the lat/long to target.

A criterion of this type is only targetable. This is enabled for AdX.

Inheritance: extends Criterion
Show file Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$address Address
$geoPoint GeoPoint
$radiusDistanceUnits tnsProximityDistanceUnits
$radiusInUnits double

Public Methods

Method Description
__construct ( $geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = 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 ( $geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = 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

$address public property

public Address $address
return Address

$geoPoint public property

public GeoPoint $geoPoint
return GeoPoint

$radiusDistanceUnits public property

public tnsProximityDistanceUnits $radiusDistanceUnits
return tnsProximityDistanceUnits

$radiusInUnits public property

public double $radiusInUnits
return double