Hello Jonathan,
You may use the
CampaignService and perform the
MutateCampaignsRequest to set the Bidding strategy. Please find the code snippet below as an example:
Campaign campaign =
Campaign.newBuilder()
.setName(StringValue.of("Interplanetary Cruise #" + System.currentTimeMillis()))
.setAdvertisingChannelType(AdvertisingChannelType.SEARCH)
.setStatus(CampaignStatus.PAUSED)
.setMaximizeConversions(MaximizeConversions.newBuilder().build())
.setCampaignBudget(StringValue.of(budgetResourceName))
.setNetworkSettings(networkSettings)
.setStartDate(StringValue.of(new DateTime().plusDays(1).toString("yyyyMMdd")))
.setEndDate(StringValue.of(new DateTime().plusDays(30).toString("yyyyMMdd")))
.build();
CampaignOperation op = CampaignOperation.newBuilder().setCreate(campaign).build();
operations.add(op);
The code snippet is for testing in Java. Could you please give this a try and let me know if you have any issues?
Thanks,
Bharani, Google Ads API Team