How to Update TCPA For Max Performance Campaigns

49 views
Skip to first unread message

Matt Dworkin

unread,
Aug 15, 2024, 11:05:14 AM8/15/24
to Google Ads API and AdWords API Forum
Hello,

I'm trying to update the target_cpa for a max performance campaign but keep getting an OPERATION_NOT_PERMITTED_FOR_CONTEXT error. 

Here's exactly what I'm trying to do. We have a max performance campaign with the bidding strategy Maximum Conversions (target cpa). In the API I am trying to update the target_cpa of the campaign by using a TargetCpa object with the target_cpa_micros property set to the desired value. 

I had thought that maybe the bidding_strategy_type was incorrect, so I tried using a TARGET_CPA bidding strategy (as well as a slew of others) to test if those would work, but in each case I got the same error. 

First is it possible to change the tcpa of a max performance campaign through the API? If so, how do you do it?

Thanks for your help.

Matt

Google Ads API Forum Advisor

unread,
Aug 16, 2024, 10:09:43 AM8/16/24
to mdwor...@gmail.com, adwor...@googlegroups.com
Hi Matt,

Thank you for reaching out to the Google Ads API support team. 

I understand that while updating the target_cpa for a max performance campaign you are getting an OPERATION_NOT_PERMITTED_FOR_CONTEXT error. In order to investigate your issue further, kindly provide us with the complete API logs (request and response logs with request-id and request header) generated at your end and uncropped UI screenshot of the Google Ads account where you are facing the issue.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vEyR0:ref" (ADR-00263512)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages