We use .NET Google.Ads.GoogleAds library with 22.2.0 version (V19).
The Campaign (20727001806) has "ManualCpa" bidding strategy type.
We try to change it to "MaximizeConversions"
There is the code:
var config = new GoogleAdsConfig
{
OAuth2ClientId = _config.OAuth2ClientId,
OAuth2ClientSecret = _config.OAuth2ClientSecret,
OAuth2RefreshToken = _config.OAuth2RefreshToken,
DeveloperToken = _config.DeveloperToken,
LoginCustomerId = clientCustomerId,
};
var client = new GoogleAdsClient(config);
var campaignService = client.GetService(V19.CampaignService);
var campaignToUpdate = new Campaign
{
ResourceName = $"customers/{customerId}/campaigns/{campaignId}"
};
campaignToUpdate.BiddingStrategyType =
BiddingStrategyTypeEnum.Types.BiddingStrategyType.MaximizeConversions;
var updateMask = FieldMasks.AllSetFieldsOf(campaignToUpdate);
var operation = new CampaignOperation
{
Update = campaignToUpdate,
UpdateMask = updateMask
};
var request = new MutateCampaignsRequest
{
CustomerId = customerId,
ValidateOnly = false
};
request.Operations.Add(operation);
var response = await campaignService.MutateCampaignsAsync(request);
Response has not empty Results.ResourceName
(customers/5037580344/campaigns/20727001806), so it looks like a success
result.
I attached "details.log" and "summary.log" files.
Please review.
On Friday, September 12, 2025 at 5:22:54 AM UTC+2 David Rodecker wrote:
Thank you for the reply; indeed - the bidding strategy type does remain the
Manual CPA; we confirmed this in two ways: in the UI, but also in calling
the API: LocalServiceCampaigns.
My developer will provide the full request and diagnostics log shortly on
this thread.
On Thursday, September 11, 2025 at 2:59:47 PM UTC-7 Google Ads API Forum
Advisor wrote:
Hi,
Thank you for reaching out to the Google Ads API support team.
I would suggest you review this document
<https://developers.google.com/google-ads/api/docs/campaigns/local-service-campaigns#set_the_bidding_strategy_of_local_services_campaigns>
again to set the bidding strategy of Local Services campaigns.
To analyse the issue further, please share the below details :
- How did you confirm that the bidding strategy type remains as Manual
CPA, did you verify this in the Google Ads UI? If so, share the uncropped
screenshot of the Google Ads UI.
- Complete API 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>
and request header
<https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
generated at your end.
If you are using a client library and haven't enabled the logging yet, I
would request you to enable logging for the specific client library that
you are using. You can refer to the guides Java
<https://developers.google.com/google-ads/api/docs/client-libs/java/logging>
, .Net
<https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging>
, PHP
<https://developers.google.com/google-ads/api/docs/client-libs/php/logging>
, Python
<https://developers.google.com/google-ads/api/docs/client-libs/python/logging>
, Ruby
<https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging>
or Perl
<https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> to
enable logging at your end. For REST interface requests, you can enable
logging via the curl command by using the -i flag.
You can send the details via *Reply privately to the author option*, or *direct
private reply* to this email.
Thanks,
[image: Google Logo] Google Ads API Team
Feedback
How was our support today?
[image: rating1]
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001u6TCYIA2>
[image: rating2]
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001u6TCYIA2>
[image: rating3]
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001u6TCYIA2>
[image: rating4]
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001u6TCYIA2>
[image: rating5]
<https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001u6TCYIA2>
[2025-09-11 21:58:56Z GMT] This message is in relation to case
"ref:!00D1U01174p.!500Ht01u6TCY:ref" (ADR-00332525)
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit
https://groups.google.com/d/msgid/adwords-api/93071d09-1825-4e1e-8600-6849961d0a90n%40googlegroups.com.
GoogleAds.SummaryRequestLogs Information: 1 : [2025-09-12 11:33:30Z] - Request
made: Host: , Method:
/google.ads.googleads.v19.services.CampaignService/MutateCampaigns,
ClientCustomerID: 5037580344, RequestID: cVhCLILIf9SZytaunjtTJg, IsFault:
False, FaultMessage:
GoogleAds.DetailedRequestLogs Verbose: 1 : [2025-09-12 11:29:20Z] -
---------------BEGIN API CALL---------------
Request
-------
Method Name: /google.ads.googleads.v19.services.CampaignService/MutateCampaigns
Host:
Headers: {
"x-goog-api-client": "gl-dotnet/8.0.0 gapic/22.2.0 gax/4.8.0 grpc/2.60.0
gccl/4.0.4 pb/3.25.0",
"developer-token": "REDACTED",
"login-customer-id": "6948861837",
"x-goog-request-params": "customer_id=5037580344"
}
{ "customerId": "5037580344", "operations": [ { "update": { "resourceName":
"customers/5037580344/campaigns/20727001806", "biddingStrategyType":
"MAXIMIZE_CONVERSIONS" }, "updateMask": "resourceName,biddingStrategyType" } ] }
Response
--------
Headers: {
"request-id": "y0W2fSO7I9rVrOLk4xBurQ",
"date": "Fri, 12 Sep 2025 11:29:22 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
"content-disposition": "attachment"
}
{ "results": [ { "resourceName": "customers/5037580344/campaigns/20727001806" }
] }
----------------END API CALL----------------