We been getting the error below trying to add more excluded countries to 
the campaign. I have searched the google ads api doc but not able to find 
any information on the limit. Is there a unpublished limit of the number of 
excluded countries for a campaign?

 

FAILURE REQUEST DETAIL.

Request

-------

MethodName: 
google.ads.googleads.v15.services.CampaignCriterionService/MutateCampaignCriteria

Endpoint: googleads.googleapis.com:443

Headers: {developer-token=REDACTED, login-customer-id=2455939968, 
x-goog-api-client=gl-java/11.0.15 gccl/28.0.0 gapic/28.0.0 gax/2.32.0 
grpc/1.56.1}

Body: customer_id: "4657997300"

operations {

  create {

    location {

      geo_target_constant: "geoTargetConstants/2404"

    }

    campaign: "customers/4657997300/campaigns/21077501203"

    negative: true

  }

}

 

 

Response

--------

Headers: 
Metadata(content-type=application/grpc,request-id=qEzEA52O6o8EEPO2lHkgYg,date=Mon,
 
04 Mar 2024 20:28:12 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000)

Body: null

Failure message: errors {

  error_code {

    resource_count_limit_exceeded_error: RESOURCE_LIMIT

  }

  message: "The request would cause a limit on the number of allowed 
resources of this type to be exceeded."

  trigger {

    int64_value: 2404

  }

  location {

    field_path_elements {

      field_name: "operations"

      index: 0

    }

    field_path_elements {

      field_name: "create"

    }

    field_path_elements {

      field_name: "resource_name"

    }

  }

}

request_id: "qEzEA52O6o8EEPO2lHkgYg"

 

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/5695181f-763b-4c9c-a36d-efbdaf485d51n%40googlegroups.com.
  • Is... Lan
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Scott Langevin
        • ... gator...@gmail.com

Reply via email to