Hello,
Yes, they are successful but the response data is not correct, i.e., you're missing the error. If this is the request:
operations {
create {
status: PAUSED
advertising_channel_type: SEARCH
network_settings {
target_google_search: true
target_search_network: true
target_content_network: false
target_partner_search_network: false
}
target_spend {
}
name: "Interplanetary Cruise #2021-09-14T12:27:54.628-0300"
campaign_budget: "customers/9938855968/campaignBudgets/9478445209" start_date: "20211028"
end_date: "20211120"
}
}
partial_failure: true
response_content_type: MUTABLE_RESOURCE
And this is the response:
Body: results {
resource_name: "customers/9938855968/campaigns/14646951284" campaign {
resource_name: "customers/9938855968/campaigns/14646951284" status: PAUSED
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
}
geo_target_type_setting {
positive_geo_target_type: PRESENCE_OR_INTEREST
negative_geo_target_type: PRESENCE
}
payment_mode: CLICKS
name: "Interplanetary Cruise #2021-09-14T12:27:54.628-0300"
campaign_budget: "customers/9938855968/campaignBudgets/9478445209" start_date: "2021-10-28"
end_date: "2021-11-20"
}
}
Failure message: null
Status: Status{code=OK, description=null, cause=null}.
As you can see in the code above, the request sets target_spend as the bidding strategy type (the part in bold) but the response doesn't provide that info, i.e., what we see from the JAVA code is Campaign.CampaignBiddingStrategyCase.CAMPAIGNBIDDINGSTRATEGY_NOT_SET as the bidding strategy type. But if you go to the UI the bidding strategy is correctly set.
If you have any other questions, don't hesitate to tell me.
Thank you,
Estanislao