CAMPAIGN_AND_CAMPAIGN_ASSET_TRANSACTION_FAILURE after upgrading to API v20

99 views
Skip to first unread message

Subir Nandi

unread,
Aug 26, 2025, 6:45:03 PM (13 days ago)  Aug 26
to Google Ads API and AdWords API Forum

Hello,

Over the last few days one of our users has been consistently receiving the following error when creating campaigns through the Batch Job API:

CAMPAIGN_AND_CAMPAIGN_ASSET_TRANSACTION_FAILURE

Some important context:

  • All campaign settings appear to be valid.

  • When we reproduce the exact same campaign setup in a different account , the campaign is created successfully without any issues.

  • The error only started occurring after upgrading to Google Ads API v20.

    • Before v20, we would see a different message:

      The error code is not in this version...

Google Ads API and AdWords API Forum

unread,
Aug 28, 2025, 6:34:45 PM (11 days ago)  Aug 28
to Google Ads API and AdWords API Forum

Hi,


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


As per provided information, I understand that you are encountering CAMPAIGN_AND_CAMPAIGN_ASSET_TRANSACTION_FAILURE error when creating the campaigns through the Google Ads API. Please note that this batch job error was added in the v19 version. This error indicates a failed transaction involving interdependent Campaign and CampaignAsset operations that are treated atomically as a single transaction. Because some operations within the transaction failed, the entire set of changes was rejected. Related error details are found in the results for the Campaign and CampaignAssets that share the same Campaign ID. The transaction will succeed once all associated errors are resolved.


In order to assist you further, could you please provide us with the complete API logs ( request and response with request-id and request header ) generated at your end.


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.

Message has been deleted
Message has been deleted

Subir Nandi

unread,
Sep 8, 2025, 2:02:57 AM (23 hours ago)  Sep 8
to Google Ads API and AdWords API Forum
Any updates on this? 
The required information was sent.
Let us know if something is needed.

Thanks.

On Wednesday, September 3, 2025 at 11:09:15 AM UTC+5:30 Subir Nandi wrote:
Customer id -  9259741937
Attached all requests and responses

Google Ads API Forum Advisor

unread,
Sep 8, 2025, 3:57:49 PM (9 hours ago)  Sep 8
to adwor...@googlegroups.com
Hi,

Please be informed that I have removed your response from the forums as it contains the PII information.

I'm unable to locate the details for the 'CAMPAIGN_AND_CAMPAIGN_ASSET_TRANSACTION_FAILURE' error within the attachments provided.

Could you please send the complete API ( request  and  response  with  request-id  and  request header ) from your end that show this specific error?

You can send the details via  Reply privately to the author option, or  direct private reply to this email.

Thanks,
Google Logo
Google Ads API Team

Feedback
How was our support today?

rating1 rating2 rating3 rating4 rating5
[2025-09-08 19:57:11Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u632M:ref" (ADR-00332124)



Reply all
Reply to author
Forward
0 new messages