Hi,
if i don't specify language for all languages and location for all countries it through an error : [NotEmptyError.EMPTY_LIST @ operations]
I think $campaignCriteria is not set when we trying to mutate. so that its give error.so how to target campaign for all location and language
$campaignCriterionService = $user->GetService('CampaignCriterionService');
$campaignCriteria = array();
$operations = array();
foreach ($campaignCriteria as $campaignCriterion) {
$operations[] = new \CampaignCriterionOperation($campaignCriterion, 'ADD');
}
$results = $campaignCriterionService->mutate($operations);
please help me .
thank you