Groups
Groups
Sign in
Groups
Groups
(Deprecated) Google Ads API and AdWords API Forum
Conversations
Labels
About
Send feedback
Help
Error regarding Add Campaign Targeting Criteria
40 views
Skip to first unread message
Sahil Patel
unread,
Apr 15, 2021, 8:36:27 AM
4/15/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 PM
4/15/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?
Customer ID
Complete
request
and
response
logs with
request ID
generated on your end where we can see the error
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:
Java -
https://developers.google.com/google-ads/api/docs/client-libs/java/logging
.Net -
https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging
PHP -
https://developers.google.com/google-ads/api/docs/client-libs/php/logging
Python -
https://developers.google.com/google-ads/api/docs/client-libs/python/logging
Ruby -
https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging
Perl -
https://developers.google.com/google-ads/api/docs/client-libs/perl/logging
Regards,
Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2FYmpt:ref
Reply all
Reply to author
Forward
0 new messages