Hi Alberto,
Thanks for reaching out. Could you elaborate on your questions to let us know what you are specifically looking for? With elaboration on the questions we could provide a better solution to you.
Thanks and regards,
Xiaoming, Google Ads API Team
return (new AdGroupCriterionOperation())
->setOperand(
(new NegativeAdGroupCriterion())
->setAdGroupId($networkId)
->setCriterionUse(CriterionUse::NEGATIVE)
->setCriterion(
(new AgeRange())->setId($ageRangeId)
)
->setAdGroupCriterionType(CriterionType::AGE_RANGE)
)
->setOperator(Operator::ADD)
;
Hi Alberto,
Thanks for reaching out. You will be able to use the similar code to exclude Verticals listed here to exclude certain topics. Please refer to this documentation for the types of Criterion you could exclude. Please let us know if you have any further concerns.
Thanks and regards,
Xiaoming, Google Ads API Team