How can I set enhanced CPC via the API

527 views
Skip to first unread message

Irfan Rafiq

unread,
Oct 18, 2015, 8:17:41 PM10/18/15
to AdWords API Forum
Hi,

So as I have understood, to create an enhanced CPC bid setting on a campaign level I need to create a EnhancedCpcBiddingScheme which is shareable. How can I create a shareable bid strategy but not make it shared. i.e. I do not want to create a flexible bid strategy for this and just want to set enhanced cpc on a campaign.

Thanks

Anthony Madrigal

unread,
Oct 19, 2015, 9:53:19 AM10/19/15
to AdWords API Forum
Hi Irfan,

Unfortunately, there is no way to use a BiddingStrategyType of a shared type in non-shared context or use a BiddingStrategyType of a non-shared type in a shared context. If you attempt to do so, you will get an INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE error.

Regards,
Anthony
AdWords API Team

Irfan Rafiq

unread,
Oct 19, 2015, 11:05:52 AM10/19/15
to AdWords API Forum
Thanks Anthony for your prompt response.

How can I set enhanced CPC on a campaign level with manual CPC or TARGET_SPEND without using flexible bid strategy?  Within AdWords editor I can set "enhanced cpc" on my campaigns which does not make a flexible bid strategy.

Thanks
Irfan

Anthony Madrigal

unread,
Oct 19, 2015, 4:54:48 PM10/19/15
to AdWords API Forum
Hi Irfan,

Could you please clarify what you mean by an Enhanced CPC with Manual CPC or Target Spend? If you have any screenshots, that should help me get a better understanding of what you are trying to do.

Thanks,
Anthony
AdWords API Team

Irfan Rafiq

unread,
Oct 19, 2015, 5:31:13 PM10/19/15
to AdWords API Forum
Hi Anthony,

Sure, hope this helps

The screenshow below is taken from AdWords UI. I would like to set enhanced CPC. along with either manual bids (1) or maximise clicks to target budget (2).

According to the API, the bidding strategy type and scheme for these 3 bid types are:

(1) MANUAL_CPM : ManualCpcBiddingScheme
(2) TARGET_SPEND : TargetSpendBiddingScheme
ENHANCED_CPC : EnhancedCpcBiddingScheme

TARGET_SPEND & ENHANCED_CPC are both shared bidding strategies, so therefore to create this I first need to create a shared bidding strategy -> mutate and then get the newly created bidding ID. Upon campaign creation I set the bidding strategy ID. This works fine, however this makes a flexible bid strategy which I am trying to avoid. You can see in the screenshot below it is possible to set these values without creating a flexible bid strategy.  The screenshot below is from AdWords web UI. I am also able to select enhanced CPC bidding via AdWords Editor. When I set enhanced CPC via editor it also does not create a flexible bid strategy. If AdWords editor is using the same API then surely there must be a way to set this without having explicitly create a shared budget?




AdWords Editor:


Many Thanks
Irfan

Irfan Rafiq

unread,
Oct 19, 2015, 5:32:48 PM10/19/15
to AdWords API Forum
Correction, MANUAL_CPM  should be MANUAL_CPC : https://developers.google.com/adwords/api/docs/guides/bidding

Anthony Madrigal

unread,
Oct 20, 2015, 10:21:06 AM10/20/15
to AdWords API Forum
Hi Irfan,

Unfortunately, as of v201402, the Enhanced CPC is only available through shared strategy through the API.

Irfan Rafiq

unread,
Oct 20, 2015, 5:24:17 PM10/20/15
to AdWords API Forum
Thanks Anthony. How does AdWords editor achieve this? Does this not use the same API?

Anthony Madrigal

unread,
Oct 21, 2015, 9:24:32 AM10/21/15
to AdWords API Forum
Hi Ifran,

Your question is probably best suited for the AdWords Community Forum. They specialize in questions dealing with AdWords Editor.

Cheers,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages