Hello,
Thanks for reaching out to the Google Ads API Team.
I understand that while using the BatchJobService, when you are trying to create a campaign and setting the criterion using the campaign’s virtual ID/temporary ID(https://developers.google.com/google-ads/api/docs/batch-processing/temporary-ids) you are getting a RESOURCE_NOT_FOUND error.
Can you please provide us with the complete logs(request and response with request ID) of this operation which you described is returning an error? I am asking for this so we can investigate further on why this is happening and provide recommendations.
You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com
If it helps, you may also refer to these API documentation for more information:
![]() |
Google Ads API Team |