Setting the ManualCpc object on a Campaign with enhancedCpcEnabled = false, the FieldMask utility does not add the manual_cpc.enhanced_cpc_enabled path to the update_mask, and the change does not take effect on the mutate.
When enhancedCpcEnabled = true the FieldMask utility does add manual_cpc.enhanced_cpc_enabled to the update_mask and the intended change does take effect.
Does Not Work Request-id : zbMkzQ8qndiYjz6cVa2SHg
Works Request-id : A6epI0FMrpTS2kOu6a2wKw
The full requests are shown below, but here are the diffs of two identical requests of the same campaign with the only difference being the enhanced_cpc_enabled flag is either true or false:
Hi All,
This bug may partially be related to https://github.com/googleads/google-ads-java/issues/272
Setting the ManualCpc object on a Campaign with enhancedCpcEnabled = false, the FieldMask utility does not add the manual_cpc.enhanced_cpc_enabled path to the update_mask, and the change does not take effect on the mutate.
When enhancedCpcEnabled = true the FieldMask utility does add manual_cpc.enhanced_cpc_enabled to the update_mask and the intended change does take effect.
Our current workaround:
Does Not Work Request-id : zbMkzQ8qndiYjz6cVa2SHg Works Request-id : A6epI0FMrpTS2kOu6a2wKw
The full requests are shown below, but here are the diffs of two identical requests of the same campaign with the only difference being the enhanced_cpc_enabled flag is either true or false:
Relevant requests with IDs mostly obfuscated below. Can be provided if needed tho I believe the above request-ids should be enough.
Does not work:
Works:
Thanks Pete
Java Client Library com.google.api-ads:google-ads:9.0.0