please ignore the FIELDMASKERROR for a while , that I was getting in v11, 
but for now I am doing this update request >>
customer_id: "8035292425"
operations {
  update {
    resource_name: "customers/8035292425/campaigns/19631729427"
    bidding_strategy_type: MAXIMIZE_CONVERSION_VALUE
    id: 19631729427
  }
  update_mask {
    paths: "resource_name"
    paths: "id"
    paths: "bidding_strategy_type"
  }
}

and the changes does not get reflected in AW UI

the mutatecampaignresponse response is >>
results {
  resource_name: "customers/8035292425/campaigns/19631729427"
}

after update request I am fetching my campaign and this is returning bid 
strategy type with maximize_conversion_value>>

resource_name: "customers/8035292425/campaigns/19631729427"
status: ENABLED
ad_serving_optimization_status: OPTIMIZE
advertising_channel_type: SEARCH
network_settings {
  target_google_search: true
  target_search_network: true
  target_content_network: false
  target_partner_search_network: false
}
experiment_type: BASE
serving_status: SERVING
bidding_strategy_type: MAXIMIZE_CONVERSION_VALUE
maximize_conversion_value {
  target_roas: 0.01
}
geo_target_type_setting {
  positive_geo_target_type: PRESENCE_OR_INTEREST
  negative_geo_target_type: PRESENCE_OR_INTEREST
}
payment_mode: CLICKS
base_campaign: "customers/8035292425/campaigns/19631729427"
name: "TEST AW Campaign - Feb 1 2023 Bid Strategy"
id: 19631729427
campaign_budget: "customers/8035292425/campaignBudgets/12326201730"
start_date: "2023-02-01"
end_date: "2023-02-26"

hope u r clear now.
On Friday, February 3, 2023 at 2:29:09 AM UTC+5:30 adsapi wrote:

> Hi chandra, 
>
> Thanks for reaching out to the Google Ads API forum. I hope you are doing 
> well today.
>
> With regards to your concern, upon checking the provided logs. We see that 
> you encountered an error "*FIELD_HAS_SUBFIELDS*" in Google Ads API 
> documentation this error means *"The field mask updated a field with 
> subfields. Fields with subfields may be cleared, but not updated. To fix 
> this, the field mask should select all the subfields of the invalid field".*
>
> If you want to know more about this error you can check this documentation 
> *FieldMaskError* 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/FieldMaskErrorEnum.FieldMaskError?hl=en>
>  for 
> more information on this.
>
> Please see and check the below client library guides which are for 
> clearing fields :
>
>    - Java: 
>    
> *https://developers.google.com/google-ads/api/docs/client-libs/java/field-masks#clearing_fields*
>  
>    
> <https://developers.google.com/google-ads/api/docs/client-libs/java/field-masks#clearing_fields>
>  
>    - .NET: 
>    
> *https://developers.google.com/google-ads/api/docs/client-libs/dotnet/field-masks#clearing_fields*
>  
>    
> <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/field-masks#clearing_fields>
>  
>    - PHP: 
>    
> *https://developers.google.com/google-ads/api/docs/client-libs/php/fieldmasks#clearing_fields*
>  
>    
> <https://developers.google.com/google-ads/api/docs/client-libs/php/fieldmasks#clearing_fields>
>  
>    - Ruby: 
>    
> *https://developers.google.com/google-ads/api/docs/client-libs/ruby/field-masks#clearing_fields*
>  
>    
> <https://developers.google.com/google-ads/api/docs/client-libs/ruby/field-masks#clearing_fields>
>  
>    - Pearl: 
>    
> *https://developers.google.com/google-ads/api/docs/client-libs/perl/field-masks#clearing_fields*
>  
>    
> <https://developers.google.com/google-ads/api/docs/client-libs/perl/field-masks#clearing_fields>
>  
>
>
> If issues still persist, please provide us with the complete logs (
> *request* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and *response* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  with *request-id* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>)
>  
> for us to further investigate.
>
> For more information for logging and monitoring work, see Google Ads API 
> *Logging* 
> <https://developers.google.com/google-ads/api/docs/best-practices/logging?hl=en#java>
>  documentation.
>
> Please let us know if you have other concerns. Have a great day.
>
> Regards,
> [image: Google Logo] 
> Marjorie 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2iUykd: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 
"Google Ads API and AdWords 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/b2b632e7-aae1-4baa-a20d-1f325ba84373n%40googlegroups.com.
  • Re... chandra Shekhar
    • ... chandra Shekhar
      • ... chandra Shekhar
        • ... chandra Shekhar
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to