final url updating fails

56 views
Skip to first unread message

박휘건

unread,
Dec 8, 2022, 2:08:25 AM12/8/22
to Google Ads API and AdWords API Forum
I am trying to change my ads final urls into something like...
keyword.text = hello
final url = https://www.helloworld.com/utm_term=hello

But some keywords keep failing and can't figure what's going wrong. 
I realized that there are some keywords doesn't really exist in google ads dashboard (can't find in my google ads dashboard homepage). 
And guessing it causes this error below.
```
{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.ads.googleads.v12.errors.GoogleAdsFailure",
        "errors": [
          {
            "errorCode": {
              "mutateError": "RESOURCE_NOT_FOUND"
            },
            "message": "Resource was not found.",
            "trigger": {
              "int64Value": "475583997"
            },
            "location": {
              "fieldPathElements": [
                {
                  "fieldName": "mutate_operations",
                  "index": 0
                },
                {
                  "fieldName": "ad_group_criterion_operation"
                },
                {
                  "fieldName": "update"
                },
                {
                  "fieldName": "resource_name"
                }
              ]
            }
          }
        ],
        "requestId": "ohRwp-zf_-QaDmYBik0Llg"
      }
    ]
  }
}
```


REQUEST BODY looks like this
{
    "mutateOperations": [
        {
            "adGroupCriterionOperation": {
                "updateMask": "finalUrls",
                "update": {
                    "resourceName": "customers/5318998392/adGroupCriteria/145182986520~475583997",
                    "finalUrls": [
                        "https://vplate.io/?utm_source=google&utm_medium=sa&utm_campaign=vplate&utm_term=동영상만들기"
                    ]
                }
            }
        }
    ]
}

Google Ads API Forum Advisor

unread,
Dec 9, 2022, 2:50:59 AM12/9/22
to parkh...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

To further investigate this issue, could you provide the complete request and response logs with request ID and request header generated on your end? If you haven't enabled the logging yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

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.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


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