api error when trying to change max CPC on a campaign optimised by CPA

47 views
Skip to first unread message

yossi.z...@gmail.com

unread,
Sep 5, 2022, 3:04:26 PM9/5/22
to Outbrain-AmplifyApi
Hi,
I am trying to change the "automaticModeMaxCpc" on a CPA optimised campaign
But Im getting the error:

'ERROR: {"validationErrors": ["Fully automated optimization can\'t be set for a shared budget"], "message": "Failed to validate one or more request parameters"} [HTTP 400]'

We send the request to endpoint:

with the parameters:
{
     'campaignOptimization': {
          'targetCpaConversionId': u'00a8e1228716e44ed88e3fe83c5953ad4a', 
          'targetCpa': 0.1, 
          'optimizationType': u'TARGET_CPA_FULLY_AUTOMATED',
          'automaticModeMaxCpc': 0.098, 
          'experimentEnabled': False
     }
}

Can you help me out and tell me what is wrong with the request?
Thanks!
Yossi

Benny Zingerevich

unread,
Sep 6, 2022, 2:56:35 AM9/6/22
to Outbrain-AmplifyApi
Hey Yossi,

Our automated modes (TARGET_CPA_FULLY_AUTOMATED is one of them) are currently not supported on campaigns that are part of a shared budget (like this campaign).
If you want to be able to use it you need to have a dedicated budget for that campaign.

Hope this helps,
Benny

yossi.z...@gmail.com

unread,
Sep 6, 2022, 6:30:02 AM9/6/22
to Outbrain-AmplifyApi
Hi,
I am not using shared budgets.
I managed to create the campaign with the budget but now I get the error when I try to change its CPC goal by api.

The campaign id is "00a8e1228716e44ed88e3fe83c5953ad4a"
Thanks
Yossi 

operi

unread,
Sep 6, 2022, 8:27:48 AM9/6/22
to Outbrain-AmplifyApi
Hi Yossi,

The problem is that you created 2 campaigns using the same budget (00a63f9f2d426923d90af459192d800515)
campaign id 1 - 00a51813d582a13dd2108b083afb426787
campaign id 2 - 0025dd9011ef972a264a1ac029b38f4437

The best way to solve this is to archive 1 campaign and recreate it using a new different budget.

Hope this helps,
Omer

yossi.z...@gmail.com

unread,
Sep 6, 2022, 12:34:05 PM9/6/22
to Outbrain-AmplifyApi
got it
Thank you
Reply all
Reply to author
Forward
0 new messages