Re: "TypeError: Parameter to MergeFrom() must be instance of same class" during campaign mutate

2021-10-28 Thread Bob Rzadzki
Thanks for pointing me in the right direction! On Wednesday, October 27, 2021 at 12:04:52 PM UTC-5 adsapi wrote: > Hi Bob, > > This support chanel handles API communications, for help with the Ads > API Python client library you can go to their issue tracker >

RE: "TypeError: Parameter to MergeFrom() must be instance of same class" during campaign mutate

2021-10-27 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Bob, This support chanel handles API communications, for help with the Ads API Python client library you can go to their issue tracker. With that being said, if you are using version 14 of the library there's some extra configuration necessary regarding Protobuf Messages. Regards, Aryeh Ba

"TypeError: Parameter to MergeFrom() must be instance of same class" during campaign mutate

2021-10-26 Thread Bob Rzadzki
The code below loops over a list `response` containing tuples where the first element (`c[0]` in the snippet) is a campaign ID: for c in response: campaign_operation = client.get_type('CampaignOperation') operation = campaign_operation.update operation.resource_name = campaign_service.ca