PHP 클래스 LocationGroups, googleads-php-lib

Examples:

For income demographic targeting, we need to specify the income tier and the geo which it targets. Areas in California that are in the top national income tier can be represented by:

Function function = new Function();
function.setLhsOperand(Arrays.asList(
(Operand) new IncomeOperand(IncomeTier.TIER_1));
function.setOperator(Operator.AND);
function.setRhsOperand(Arrays.asList(
(Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(21137L))));
For place of interest targeting, we need to specify the place of interest category and the geo which it targets. Airports in France can be represented by:

Function function = new Function();
function.setLhsOperand(Arrays.asList(
(Operand) new PlacesOfInterestOperand(PlacesOfInterestOperand.Category.AIRPORT));
function.setOperator(Operator.AND);
function.setRhsOperand(Arrays.asList(
(Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(2250L))));
This is disabled for AdX when it is contained within Operators: ADD, SET.
상속: extends Criterion
파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 프로퍼티들

프로퍼티 타입 설명
$feedId integer
$matchingFunction Function

공개 메소드들

메소드 설명
__construct ( $feedId = null, $matchingFunction = 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

메소드 상세

__construct() 공개 메소드

public __construct ( $feedId = null, $matchingFunction = null, $id = null, $type = null, $CriterionType = 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

프로퍼티 상세

$feedId 공개적으로 프로퍼티

public int $feedId
리턴 integer

$matchingFunction 공개적으로 프로퍼티

public Function $matchingFunction
리턴 Function