Hi Maferyt,
Could you provide me your PHP code and the SOAP request and response and
reply via *Reply privately to author* so I can further investigate? Also,
if you haven't enabled SOAP logging at your end, you may refer to this guide
Hello guys,
Thanks for your answers, but I still can't make it work :/
I also tried with $operator = 'SET'; but it does nothing too.
I've changed :
$adGroupCriterion = new \NegativeAdGroupCriterion();
$adGroupCriterion->adGroupId = $criterion['adGroupId'];
$adGroupCriterion->criterion = new
Hi Garik,
Thank you for your suggestion as it is also a correct example of how to
exclude a placement criterion at the campaign level.
Hi Maferyt,
As for your example, it appears that you are trying to exclude the
placement at the ad group level. This said, you may refer to the AddKeywords
You're going to need to add a negative placement criterion. It's basically
the same as adding a negative keyword.
Here is basically what we did, hope that helps:
get($session, CampaignCriterionService::class);
$campaignCriteria = [];
$operations = [];
foreach ($campaignCriteria as