Error regarding Add Campaign Targeting Criteria

40 views
Skip to first unread message

Sahil Patel

unread,
Apr 15, 2021, 8:36:27 AM4/15/21
to AdWords API and Google Ads API Forum
Hi Team, 
This is the error I get when I try to run add campaign targeting criteria. 

Status: Status{code=INVALID_ARGUMENT, description=Request contains an invalid argument., cause=null}.
2021-04-15 15:18:15.929 ERROR 19320 --- [nio-8080-exec-1] c.t.h.m.s.AddCampaignTargetingCriteria : Failed to create GoogleAdsClient. Exception: %s%n
com.google.ads.googleads.v6.errors.GoogleAdsException: errors {
error_code {
mutate_error: RESOURCE_NOT_FOUND
}
message: "Resource was not found."
trigger {
int64_value: 12261339783
}
location {
field_path_elements {
field_name: "operations"
index: 0
}
field_path_elements {
field_name: "create"
}
field_path_elements {
field_name: "campaign"
}
}
}


Any suggestions how can I solve this error?

Thank you

Google Ads API Forum Advisor Prod

unread,
Apr 15, 2021, 9:49:13 PM4/15/21
to adwor...@googlegroups.com
Hi Sahil,

Thank you for posting your concern.

To take a closer at the issue, could you provide the following details via Reply privately to author option?
If you haven't enabled the logging of the API transactions for the specific client library that you are using, then please refer to the specific guide below:
Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2FYmpt:ref
Reply all
Reply to author
Forward
0 new messages