Hi, Here I sent the request and Response Of this campaign.
Request: Campaign campaign = Campaign.newBuilder() .setName(campaignName) .setAdvertisingChannelType(AdvertisingChannelType.DISPLAY) .setBiddingStrategyType(BiddingStrategyType.MAXIMIZE_CONVERSIONS) .setCampaignBudget(budgetResourceName) .setStartDate(new DateTime().plusDays(1).toString("yyyyMMdd")) .setEndDate(new DateTime().plusMonths(1).toString("yyyyMMdd")) .build(); // Creates the operation. CampaignOperation operation = CampaignOperation.newBuilder().setCreate(campaign).build(); Response: message:errors { error_code { field_error: REQUIRED } message: "The required field was not present." trigger { string_value: "" } 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: "q0aORqSijyUinItVue3RLw" On Mon, 4 Apr 2022 at 14:57, Google Ads API Forum Advisor <adsapi@forumsupport.google> wrote: > Hi Rubanselva, > > Thanks for reaching out to the Google Ads API Forum. > > Note that Smart Display campaign requires the TargetCpa bidding strategy. > You may check this guide > <https://developers.google.com/google-ads/api/docs/smart-display-campaigns/create-campaign?hl=en> > for more information. However, could you provide us with the complete > request > <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response> > logs with the request-id > <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id>, > so our team can better check? > > For the Java client library, logging can be enabled by navigating to the > Client libraries > Your client library (Select Java) > Logging > documentation, which you can access from this *link* > <https://developers.google.com/google-ads/api/docs/client-libs>. You may > then send the requested information via the *Reply privately to author* > option. If this option is not available, you may send the details directly > to our googleadsapi-supp...@google.com alias by referring this thread. > > Regards, > [image: Google Logo] > Yasar > Google Ads API Team > > > ref:_00D1U1174p._5004Q2ZJAj5: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 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/CAMMc1mJfHmHT%3DgM5FXd50Wy22ZgdmTz%3DfoF03Dfs%2BMSfw-rE4Q%40mail.gmail.com.