Tool: attach_shared_set_to_campaigns → confirm_and_apply
Steps to reproduce
- Call attach_shared_set_to_campaigns with any valid shared_set_id and campaign_ids — returns plan_id successfully
- Call confirm_and_apply(plan_id, dry_run=false) — throws error
Error
CampaignSharedSetServiceClient.mutate_campaign_shared_sets() got an unexpected keyword argument 'partial_failure'
Root cause
The server passes partial_failure=True as a keyword argument to mutate_campaign_shared_sets(). The current version of the google-ads library does not accept this parameter on this
service (it is supported on other services like AdGroupCriterionService).
Expected behavior
confirm_and_apply should successfully link the shared negative keyword list to the specified campaign(s).
Workaround
Attach shared negative keyword lists manually from the Google Ads UI: Tools & Settings → Shared Library → Negative keyword lists → Select list → Campaigns tab → Link campaign.
Tool: attach_shared_set_to_campaigns → confirm_and_apply
Steps to reproduce
Error
CampaignSharedSetServiceClient.mutate_campaign_shared_sets() got an unexpected keyword argument 'partial_failure'
Root cause
The server passes partial_failure=True as a keyword argument to mutate_campaign_shared_sets(). The current version of the google-ads library does not accept this parameter on this
service (it is supported on other services like AdGroupCriterionService).
Expected behavior
confirm_and_apply should successfully link the shared negative keyword list to the specified campaign(s).
Workaround
Attach shared negative keyword lists manually from the Google Ads UI: Tools & Settings → Shared Library → Negative keyword lists → Select list → Campaigns tab → Link campaign.