need to set bidding scheme when using target cpa?

68 views
Skip to first unread message

maxSonic Sun

unread,
May 20, 2016, 7:37:56 AM5/20/16
to AdWords API Forum
Hi,

I was trying to set a campaign with params:

{'status': 'PAUSED', 'startDate': '20160520', 'endDate': None, 'adServingOptimizationStatus': 'CONVERSION_OPTIMIZE', 'frequencyCap': {'impressions': None, 'level': '', 'timeUnit': ''}, 'networkSetting': {'targetContentNetwork': True, 'targetPartnerSearchNetwork': False, 'targetGoogleSearch': False, 'targetSearchNetwork': False}, 'advertisingChannelType': 'DISPLAY', 'name': 'cpa-install-123_377-0', 'biddingStrategyConfiguration': {'biddingStrategyType': 'TARGET_CPA'}, 'budget': {'budgetId': 846619889}, 'advertisingChannelSubType': 'DISPLAY_MOBILE_APP'}



But always got the response as:

Server raised fault: '[RequiredError.REQUIRED @ operations[0].operand.biddingStrategyConfiguration.biddingScheme]'



as from the document pasted below, I should be able to create the campaign without setting any biddingscheme, right?

Best Regards,
Sonic

Joyce Lava

unread,
May 20, 2016, 10:37:52 AM5/20/16
to AdWords API Forum
Hi Sonic,

BiddingStrategyType and BiddingScheme fields should be matched.

I can see that you use TARGET_CPA as the BiddingStrategyType. With this, you need to set its associated BiddingScheme which is TargetCPABiddingScheme.

Thanks and Regards,
Joyce, AdWords API Team
Reply all
Reply to author
Forward
0 new messages