Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Ads failure details: collection_size_error: Too few. #599

Closed
divyeshgajja opened this issue May 22, 2021 · 4 comments
Closed

Google Ads failure details: collection_size_error: Too few. #599

divyeshgajja opened this issue May 22, 2021 · 4 comments

Comments

@divyeshgajja
Copy link

Hello everyone,
i am facing some error when i am trying to create adgroup .

ERROR:
Google Ads failure details: collection_size_error: Too few.

i dont know why?
can you guys please tell me how to solve this.

@fiboknacky
Copy link
Member

Could you please ask in this forum? Chances are you've specified something wrong in the request. Experts on the forum will help you identify what's wrong based on your log. Thanks.

@divyeshgajja
Copy link
Author

divyeshgajja commented May 24, 2021 via email

@PierrickVoulet
Copy link
Collaborator

Hi @divyeshgajja - An issue is already opened for this particular problem, see #540.

@adamgen
Copy link

adamgen commented Jul 10, 2022

I had a similar problem when I was sending this request:

{
    "status": "ENABLED",
    "resource_name": "customers/1310914546/adGroupAds/138411489117~-1",
    "ad": {
         // ... ad data...
    }
}

I got thie error:

{
  "errors": [
    {
      "error_code": {
        "collection_size_error": "TOO_FEW"
      },
      "message": "Too few.",
      "location": {
        "field_path_elements": [
          {
            "field_name": "operations",
            "index": 0
          },
          {
            "field_name": "create"
          },
          {
            "field_name": "ad"
          },
          {
            "field_name": "responsive_display_ad"
          }
        ]
      }
    }
  ],
  "request_id": "mgwfdaAiCjDqvtX71qFfSQ"
}

I've contacted the adwords forum as @fiboknacky recommanded and they were fast and helpful.

In my case, it was because my resource_name ended with a -1 and such endings were saved for mutations and batch requests. Replacing the resource_name with an ad_group with a correct path resolved it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants