PHP Class LocationSearchParameter, googleads-php-lib

This can be used, for example, to search for {@code KEYWORD} {@link IdeaType}s that are best for Japan and Los Angeles.

This parameter replaces the {@code CountryTargetSearchParameter}.

See the Geographical Targeting page for the complete list of supported geo target types for this service.

The service allows up to 10 locations to be targeted for KEYWORD requests and 50 locations for PLACEMENT requests.

This element is supported by following {@link IdeaType}s: KEYWORD.

This element is supported by following {@link RequestType}s: IDEAS, STATS.

Inheritance: extends SearchParameter
Datei anzeigen Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$locations Location[]

Public Methods

Method Description
__construct ( $locations = null, $SearchParameterType = 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 ( $locations = null, $SearchParameterType = 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

$locations public_oe property

public Location[] $locations
return Location[]