Hi everyone,
Glad to hear that Mat's recommendation helped resolve your concern.
Should you have additional clarifications, let us know so our API team can
assist further.
Best regards,
Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2ScKsY:ref
--
--
=~=~=~=~=~=~=~=~=
Hey Mat,
Thank you a lot, your solution worked like a charm !
Regards,
Pierre
On Monday, December 6, 2021 at 12:32:47 PM UTC+1 Mat wrote:
> sorry, forgot to copy 2 lines of code in between:
>
> ad_group_criterion_operation =
> googleads_client.get_type(
>
sorry, forgot to copy 2 lines of code in between:
ad_group_criterion_operation =
googleads_client.get_type(
f'AdGroupCriterionOperation'
)
ad_group_criterion =
ad_group_criterion_operation.update
Hi Pierre,
this should work:
ad_group_criterion_operation =
googleads_client.get_type(
'AdGroupCriterionOperation'
)
googleads_client.copy_from(
ad_group_criterion_oper