BidStrategyIssue

56 views
Skip to first unread message

ruban selva

unread,
Apr 1, 2022, 3:38:48 AM4/1/22
to Google Ads API and AdWords API Forum
  Hi,
 We have Migrated Adwords to GoogleAds api . In Google Ads api we used      'DISPLAY_SMART_CAMPAIGN  ' as campaign Type.  In this campaignType we used TargetCPA(defaultOne) as bidStrategy.but we need to change bid strategy as Maximum Conversion. If we change BidStrategy as Maximum Conversion    we got bidStrategy error.Is there possible to change bidStrategy as maximum   conversion in smartDisplayCampaign.

I have attached the code below for your reference

Code:
   Campaign campaign = Campaign.newBuilder().setName(campaignName)
                   .setStatus(CampaignStatus.ENABLED)
                   // Smart Display campaign requires the advertising channel type as 'DISPLAY'.
                   .setAdvertisingChannelType(AdvertisingChannelType.DISPLAY)
                   // Smart Display campaign requires the advertising channel sub type as
                   // 'DISPLAY_SMART_CAMPAIGN'.
                   // .setAdvertisingChannelSubType(AdvertisingChannelSubType.SMART_CAMPAIGN)
                   // Smart Display campaign requires the TargetCpa bidding strategy.
                   .setTargetCpa(TargetCpa.newBuilder().setTargetCpaMicros(5000000).build())
                   //.setTargetCpa(TargetCpa.newBuilder().setTargetCpaMicros(5000000).build())
                   .setBiddingStrategyType(BiddingStrategyType.MAXIMIZE_CONVERSIONS)
                   .setCampaignBudget(budgetResourceName)
                   // Optional: Sets the start and end dates for the campaign, beginning one day
                   // from
                   // now and ending a month from now.
                   .setStartDate(startDate).setEndDate(endDate).build();
Reply all
Reply to author
Forward
0 new messages