Hi, Thank you for posting your concern.
I would like to inform you first that I am going to delete your initial post as it contains generated logs on your end. I will paste instead below the body of your concern. "I have questions about Google Ads API v9. Display Campaign's BiddingStrategyType cannot be changed to MAXIMIZE_CONVERSIONS. ex) MANUAL_CPM -> MAXIMIZE_CONVERSIONS 1. Update Campaign => not working When setting the default value, the MaximizeConversations object does not recognize that it has been changed in FieldMask. The following is the Campaign update to MAXIMIZE_CONVERSIONS code --- Campaign.Builder campaignBuilder = Campaign.newBuilder() .setResourceName(ResourceNames.campaign(param.getCustomerId(), param.getCampaignId())) .setMaximizeConversions(MaximizeConversions.newBuilder().build()); --- I know that MAXIMIZE_CONVERSIONS.TARGET_CPC is only available for Search Campaign I think the BidingStrategyType changes only when it is recognized that MAXIMIZE_CONVERSIONS has changed on FieldMask. 2. Manual Update FieldMask 'MAXIMIZE_CONVERSIONS' => errors Through the next link, https://github.com/googleads/google-ads-java/issues/272, I tried to change Field Mask, but an error occurred. The following is the FieldMask Update source code --- final FieldMask.Builder fieldMaskBuilder = FieldMasks.allSetFieldsOf( campaign ).toBuilder(); if( campaign.hasMaximizeConversions() && !fieldMaskBuilder.getPathsList().contains( "maximize_conversions" ) ) { fieldMaskBuilder.addPaths( "maximize_conversions" ); } operationBuilder .setUpdate( campaign ) .setUpdateMask( fieldMaskBuilder.build() ); --- The following is the requested details. ---Logs redacted below --- How can I change it from another bindingStrangeType to Maximize_Conversations?" The second API request should update the bidding strategy of your campaign into the Maximize_Conversations, however, it encountered the FIELD_HAS_SUBFIELDS error. With this, could you try removing the bidding_strategy_type: MAXIMIZE_CONVERSIONS section in the body of your API request and in the update_mask field? If the error persists, please provide the complete request and response logs with request ID and request header generated on your end where we can see the error. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address [email protected]. Regards, Ernie John Blanca Tacata Google Ads API Team ref:_00D1U1174p._5004Q2Sd5GC: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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/eb5PX000000000000000000000000000000000000000000000R3U9T7006GlekrWLSMidg3zSnmVNKg%40sfdc.net.
