This is the full error returned by the API:

{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "
type.googleapis.com/google.ads.googleads.v18.errors.GoogleAdsFailure",
        "errors": [
          {
            "errorCode": { "mutateError": "RESOURCE_NOT_FOUND" },
            "message": "Resource was not found.",
            "location": {
              "fieldPathElements": [{ "fieldName": "operations", "index": 1 
}]
            }
          }
        ],
        "requestId": "26kAo7lsK2zJ-qtK7qxc1w"
      }
    ]
  }
}


El jueves, 3 de julio de 2025 a la(s) 12:29:16 p.m. UTC-5, Marlon Gómez 
escribió:

> Hello Google Team, I tried to create a campaign with the conversion goal 
> CONTACT~CALL_FROM_ADS and got the error "Resource was not found."
>
> RequestID: 26kAo7lsK2zJ-qtK7qxc1w
>
> These are the operations I do:
> [ 
> { 
> "updateMask": "biddable", 
> "update": { 
> "resourceName": 
> "customers/{customerID}/campaignConversionGoals/{campaignID}~DOWNLOAD~APP", 
> "biddable": false 
> } 
> }, 
> { 
> "updateMask": "biddable", 
> "update": { 
> "resourceName": 
> "customers/{customerID}/campaignConversionGoals/{campaignID}~CONTACT~CALL_FROM_ADS",
>  
>
> "biddable": true 
> } 
> }, 
> { 
> "updateMask": "biddable", 
> "update": { 
> "resourceName": 
> "customers/{customerID}/campaignConversionGoals/{campaignID}~GET_DIRECTIONS~GOOGLE_HOSTED",
>  
>
> "biddable": false 
> } 
> }, 
> { 
> "updateMask": "biddable", 
> "update": { 
> "resourceName": 
> "customers/{customerID}/campaignConversionGoals/{campaignID}~CONTACT~GOOGLE_HOSTED",
>  
>
> "biddable": false 
> } 
> }, 
> { 
> "updateMask": "biddable", 
> "update": { 
> "resourceName": 
> "customers/{customerID}/campaignConversionGoals/{campaignID}~PHONE_CALL_LEAD~CALL_FROM_ADS",
>  
>
> "biddable": true 
> } 
> }, 
> { 
> "updateMask": "biddable", 
> "update": { 
> "resourceName": 
> "customers/{customerID}/campaignConversionGoals/{campaignID}~CONTACT~WEBSITE",
>  
>
> "biddable": true 
> } 
> }
> ]
>
> When checking the customer's conversion actions, there is indeed a 
> conversion action with this category and origin, but I don't know why it's 
> giving me the error:
>
> "conversionAction": {
> "resourceName": "customers/customerID/conversionActions/conversionID",
> "status": "ENABLED",
> "type": "SMART_CAMPAIGN_AD_CLICKS_TO_CALL",
> "category": "CONTACT",
> "id": "conversionID",
> "name": "Smart Campaign Ad Call Clicks",
> "origin": "CALL_FROM_ADS",
> "primaryForGoal": true
> }

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/6d2b8a49-28cc-4b12-b23c-fee060534aa1n%40googlegroups.com.
  • &q... Marlon Gómez
    • ... Marlon Gómez
      • ... Marlon Gómez
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Marlon Gómez

Reply via email to