I am using the python SDK, and it seems as if when I specify manual_cpc on the campaign it does not appear on the field mask when I use the suggested protobuf_helpers.field_mask to construct it:
protobuf_helpers.field_mask(None, campaign._pb) It does however appear in the resulting campaign_operation when I copy the update_mask into it. For example here is what the resulting operation looks like: update { resource_name: "customers/REDACTED/campaigns/REDACTED" status: PAUSED manual_cpc { enhanced_cpc_enabled: false } dynamic_search_ads_setting { } name: "Test Campaign1638491806" campaign_budget: "customers/REDACTED/campaignBudgets/REDACTED" } update_mask { paths: "resource_name" paths: "name" paths: "status" paths: "campaign_budget" } On Thursday, December 2, 2021 at 11:45:56 AM UTC-5 Will Schymik wrote: > Sent a "reply to author" with the requests for creating and updating the > campaign. Let me know if you did not receive it as I cannot seem to figure > out where the message is viewed. > > On Thursday, December 2, 2021 at 10:29:26 AM UTC-5 adsapi wrote: > >> Hi Will, >> >> I was able to change from portfolio bidding to standard bidding by just >> entering a standard bid and update mask of the standard bid to the new bid >> strategy. To address your use case, could you privately send us a request >> and response log of API communication that returns this error? >> >> The request and response appears similar to the JSON Mappings in our >> REST documentation >> <https://developers.google.com/google-ads/api/rest/design/json-mappings?hl=en>. >> >> Our client libraries have loggers with logging instructions, to see these >> instructions you can click on the client library you use in the sidebar of >> our client library guide >> <https://developers.google.com/google-ads/api/docs/client-libs?hl=en> and >> click on "Logging". Setting the logger to 'DEBUG' will get the desired log. >> >> >> Regards, >> >> [image: Google Logo] >> Aryeh Baker >> Google Ads API Team >> >> >> ref:_00D1U1174p._5004Q2Rw2hc:ref >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c055c2ef-51ef-4163-9471-5d5d3fd1e019n%40googlegroups.com.