Placement added as Observations

10 views
Skip to first unread message

carlos....@cuatroochenta.com

unread,
Dec 7, 2018, 6:09:15 PM12/7/18
to AdWords API and Google Ads API Forum
Hia,

We are trying to add some Placements when creating a campaign via Php Api.

foreach ($adGroupAdwordsIds as $adGroupAdwordsId) {
// Placements
$placement = new Placement();
$placement->setUrl($url);
$criteria[] = $placement;

$placementCriterion = new BiddableAdGroupCriterion();
$placementCriterion->setAdGroupId($adGroupAdwordsId);
$placementCriterion->setCriterion($placement);

// Create an ad group criterion operation and add it to the list.
$placementCriterionOperation = new AdGroupCriterionOperation();
$placementCriterionOperation->setOperand($placementCriterion);
$placementCriterionOperation->setOperator(Operator::ADD);
$operations[] = $placementCriterionOperation;
}
$aux = $adGroupService->mutate($operations); // ->getValue[0];


The placements are added but as "observations" instead  of "segmentation"


Captura.PNG


How can we get these placements added as real segmentation "targets" ?


Regards





Luis Xander Talag (AdWords API Team)

unread,
Dec 9, 2018, 10:06:28 PM12/9/18
to AdWords API and Google Ads API Forum
Hi Carlos,

To better investigate this, could you provide the complete SOAP request and response logs as well as your clientCustomerId when you're targeting the Placement? If you haven't enable your logs, you may refer to this guide on how to do so. Please reply via Reply privately to author.

Thanks and regards,
Luis
AdWords API Team
Reply all
Reply to author
Forward
0 new messages