Skip to content

Issues related to the sudden failure of update operations #1068

@lxccc812

Description

@lxccc812

Describe the bug:
This method cannot be used to modify it.

campaign_conversion_goal.resource_name = resource_name
campaign_conversion_goal.biddable = False

client.copy_from(
    campaign_conversion_goal_operation.update_mask,
    protobuf_helpers.field_mask(None, campaign_conversion_goal._pb)
)

However, changing the writing style allows for normal modification.

campaign_conversion_goal.resource_name = resource_name
campaign_conversion_goal.biddable = False
campaign_conversion_goal_operation.update_mask.paths.append("biddable")

Steps to Reproduce:
Both methods should be modified normally.

Expected behavior:

Client library version and API version:
Client library version: google-ads==28.0.0
Google Ads API version: v20

Request/Response Logs:
There were no logs because both methods of modification resulted in correct responses, but the first method was found to have not actually been successfully modified in subsequent GAQL queries.

Anything else we should know about your project / environment:
I'm not sure if Google Ads API has changed the usage of client.copy_from update, since it's the usage in the official examples, but its sudden failure has caused huge problems for my entire project, because many of my update calls use the client.copy_from syntax. I hope to get a definite answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNew issue; requires attention

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions