RE: Remove a bid from adgroup

2021-12-06 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
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 -- -- =~=~=~=~=~=~=~=~=

Re: Remove a bid from adgroup

2021-12-06 Thread Pierre Riandey
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( >

Re: Remove a bid from adgroup

2021-12-06 Thread Mat
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

Re: Remove a bid from adgroup

2021-12-06 Thread Mat
Hi Pierre, this should work: ad_group_criterion_operation = googleads_client.get_type( 'AdGroupCriterionOperation' ) googleads_client.copy_from( ad_group_criterion_oper