PHP 클래스 GeoTargeting, googleads-php-lib

The following rules apply for geographical targeting:

  • You cannot target and exclude the same location
  • You cannot target a child whose parent has been excluded. So if the state of Illinois has been excluded, then you cannot target Chicago
  • You must not target a location if you are also targeting its parent. So if you are targeting New York City, you must not have the state of New York as one of the targeted locations
파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 프로퍼티들

프로퍼티 타입 설명
$excludedLocations Location[]
$targetedLocations Location[]

공개 메소드들

메소드 설명
__construct ( $targetedLocations = null, $excludedLocations = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

메소드 상세

__construct() 공개 메소드

public __construct ( $targetedLocations = null, $excludedLocations = 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

프로퍼티 상세

$excludedLocations 공개적으로 프로퍼티

public Location[] $excludedLocations
리턴 Location[]

$targetedLocations 공개적으로 프로퍼티

public Location[] $targetedLocations
리턴 Location[]