Hello,

I'm receiving the below errors/message when trying to create a campaign 
with:
campaign.bidding_strategy_type = 
(client.enums.BiddingStrategyTypeEnum.MANUAL_CPM)



Request with ID "HS6OcJJAmzZKyr9-SjsrLQ" failed with status 
"INVALID_ARGUMENT" and includes the following errors:
Error with message "The required field was not present.".
On field: operations
On field: create
On field: campaign_bidding_strategy
[2023-03-16 15:26:59,703 - INFO] Request
-------
Method: /google.ads.googleads.v13.services.CampaignService/MutateCampaigns
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "2151671644",
  "x-goog-api-client": "gl-python/3.9.4 grpc/1.51.3 gax/2.11.0 gccl/20.0.0 
pb/4.21.11",
  "x-goog-request-params": "customer_id=3727734182"
}
Request: customer_id: "3727734182"
operations {
  create {
    name: "Bidding Test"
    status: PAUSED
    advertising_channel_type: DISPLAY
    network_settings {
      target_content_network: true
    }
    campaign_budget: "customers/3727734182/campaignBudgets/12441729808"
    bidding_strategy_type: MANUAL_CPM
  }
}


Response
-------
Headers: {
  "google.ads.googleads.v13.errors.googleadsfailure-bin": 
"\nc\n\u0003\u0003\u0002\u0012#The required field was not 
present.\"7\u0012\u000e\n\noperations\u0018\u0000\u0012\b\n\u0006create\u0012\u001b\n\u0019campaign_bidding_strategy\u0012\u0016HS6OcJJAmzZKyr9-SjsrLQ",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure\u0012}\nc\n\u0003\u0003\u0002\u0012#The
 
required field was not 
present.\"7\u0012\u000e\n\noperations\u0018\u0000\u0012\b\n\u0006create\u0012\u001b\n\u0019campaign_bidding_strategy\u0012\u0016HS6OcJJAmzZKyr9-SjsrLQ",
  "request-id": "HS6OcJJAmzZKyr9-SjsrLQ"
}
Fault: errors {
  error_code {
    field_error: REQUIRED
  }
  message: "The required field was not present."
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "campaign_bidding_strategy"
    }
  }
}
request_id: "HS6OcJJAmzZKyr9-SjsrLQ"


[2023-03-16 15:26:59,703 - WARNING] Request made: ClientCustomerId: 
3727734182, Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v13.services.CampaignService/MutateCampaigns, 
RequestId: HS6OcJJAmzZKyr9-SjsrLQ, IsFault: True, FaultMessage: The 
required field was not present. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/b5f5888e-f982-405c-aaf5-67f6e462dfcbn%40googlegroups.com.

Reply via email to