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.
파일 보기
프로젝트 열기: googleads/googleads-php-lib
공개 프로퍼티들
공개 메소드들
메소드 상세
public __construct ( $feedId = null, $matchingFunction = null, $id = null, $type = null, $CriterionType = null ) |
Gets the namesapce of this class
Gets the xsi:type name of this class
프로퍼티 상세
$matchingFunction 공개적으로 프로퍼티
public Function $matchingFunction |
리턴 |
Function |
|