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.
Показать файл
Открыть проект
Открытые свойства
Открытые методы
Описание методов
__construct()
публичный Метод
public __construct ( $feedId = null, $matchingFunction = null, $id = null, $type = null, $CriterionType = null ) |
getNamespace()
публичный Метод
Gets the namesapce of this class
getXsiTypeName()
публичный Метод
Gets the xsi:type name of this class
Описание свойств
$feedId публичное свойство
public int $feedId |
Результат |
integer |
|
$matchingFunction публичное свойство
public Function $matchingFunction |
Результат |
Function |
|