Hi Marco,
Unfortunately, Google Ads API works the same way as AdWords API with criteria.
You will need to remove the criteria then re-add it as negative.
Regards,
Anthony
Google Ads API Team
Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q23L3lW:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Would this be possible of we change to the new Ads Api? When we first
delete and then readd a criterion we lose track of data. Is there any
solution to do this automaticly without the Ads Frontend Applikation?
Regards, Marco
adsapiforumadvisor schrieb am Donnerstag, 20. August 2020 um 19:25:35 U
Hi Marco,
The example I provided previously shows how to add both a keyword and negative
keyword. The field criterionUse is read only. If you are trying to convert a
criteria from biddable to negative, you will need to remove it then re-add it.
Regards,
Anthony
Google Ads API Team
ref:_00D1U117
We use this Examples allready for Keywords and other Criterions. In this
Case the Operation we try to Mutate over The service has no influence.
operations = [{
'operator': 'SET',
'operand': {
'adGroupId': adgroup_id,
'criterion': {
'id': criterion_id
},
'AdGroupCriterion.Type': 'NegativeAdGroupC
Hey Marco,
You can use this example as a reference. It shows how to update a keyword,
which is also an AdGroupCriterion.
Regards,
Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q23L3lW:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeve
Hey,
I may formulated the question incorrectly.
The Example your shared, shows how to add a AdGroupCriterion to a Adgroup.
(I used the Path, but for the Python development documentation
https://developers.google.com/adwords/api/docs/samples/python/targeting?hl=ru#add-demographic-critera-to-an-
Hi Marco,
Through AdWords API, you will also use the AdGroupCriterionService. Your
AdGroupCriterion will need to be a NegativeAdGroupCriterion. I'd recommend
looking at this example as a reference as it shows both how to target and
exclude a criteria at the ad group level.
Regards,
Anthony
Goo
Hey, thanks for the quick answer.
We are currently working with the Google AdWords API v201809.
Is there also a solution for the AdGroupCriterion with the AdWords API
v201809 (
https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.AdGroupCriterion?hl=ru
)
T
Hi Marco,
It is possible to target and exclude product partitions at the ad group level
using the API. Here is a guide and example of product groups. When setting your
AdGroupCriterion, you can set negative to true to exclude criteria.
Regards,
Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q