Hello,
We have campaign where location group is targeted "***** top 10% (US) within United States".
To get locations targeted via API we have used Campaign Criterion service where we get this under location groups where only id is mentioned.
How can we get the actual group name like "****top 10% (US) within United States"?
Below is the sample of API response :
[criterion] => LocationGroups Object
(
[feedId] =>
[matchingFunction] => FeedFunction Object
(
[operator] => AND
[lhsOperand] => Array
(
[0] => IncomeOperand Object
(
[tier] => TIER_1
[FunctionArgumentOperandType] => IncomeOperand
[_parameterMap:FunctionArgumentOperand:private] => Array
(
[FunctionArgumentOperand.Type] => FunctionArgumentOperandType
)
)
)
[rhsOperand] => Array
(
[0] => GeoTargetOperand Object
(
[locations] => Array
(
[0] => 2840
)
[FunctionArgumentOperandType] => GeoTargetOperand
[_parameterMap:FunctionArgumentOperand:private] => Array
(
[FunctionArgumentOperand.Type] => FunctionArgumentOperandType
)
)
)
[functionString] => AND()
)
[id] => 197664905835
[type] => LOCATION_GROUPS
[CriterionType] => LocationGroups
[_parameterMap:Criterion:private] => Array
(
[Criterion.Type] => CriterionType
)
)
Thanks