How Can You Set a Campaign Bid Type to Maximize Clicks via the PHP Api Library?

189 views
Skip to first unread message

Rick Simnett

unread,
Aug 10, 2018, 8:08:14 PM8/10/18
to AdWords API and Google Ads API Forum
Hello,
I want to setup campaigns via the api. I am trying to set the campaign to Maximize Clicks, however, it doesnt seem to be an option in the PHP library:

The BiddingStrategyType library doesnt have a predefined constant:


   const MANUAL_CPC = 'MANUAL_CPC';
    const MANUAL_CPM = 'MANUAL_CPM';
    const PAGE_ONE_PROMOTED = 'PAGE_ONE_PROMOTED';
    const TARGET_SPEND = 'TARGET_SPEND';
    const TARGET_CPA = 'TARGET_CPA';
    const TARGET_ROAS = 'TARGET_ROAS';
    const MAXIMIZE_CONVERSIONS = 'MAXIMIZE_CONVERSIONS';
    const MAXIMIZE_CONVERSION_VALUE = 'MAXIMIZE_CONVERSION_VALUE';
    const TARGET_OUTRANK_SHARE = 'TARGET_OUTRANK_SHARE';
    const NONE = 'NONE';
    const UNKNOWN = 'UNKNOWN';

   $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
   $biddingStrategyConfiguration->setBiddingStrategyType(BidStrategyType::MANUAL_CPC);
   $campaign->setBiddingStrategyConfiguration($biddingStrategyConfiguration);


How do I set the campaign to maximize clicks?

Any help on this is much appreciated.

Thanks,
Rick

Luis Xander Talag (AdWords API Team)

unread,
Aug 13, 2018, 12:04:26 AM8/13/18
to AdWords API and Google Ads API Forum
Hi Rick,

If you want to set up your campaign to have a maximize clicks, you should use the TARGET_SPEND as the BiddingStrategyType as this is an automated bid strategy that sets your bids to help get as many clicks as possible within your budget. For your bidding scheme, you should set it to TargetSpendBiddingScheme.

Let me know if you still have further clarifications.

Thanks and regards,
Luis
AdWords API Team
Reply all
Reply to author
Forward
0 new messages