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 
<https://github.com/googleads/googleads-php-lib#logging> on how to do so. 
Please reply via *Reply privately to author*.

Thanks and regards,
Luis
AdWords API Team

On Saturday, December 8, 2018 at 7:09:15 AM UTC+8, carlos.salvador wrote:
>
> 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"
>
>
> [image: Captura.PNG]
>
>
> How can we get these placements added as real segmentation "targets" ?
>
>
> Regards
>
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3ca128ae-ffa0-4a21-bea2-eb491c924f22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... carlos . salvador
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to