Google Ads Api Limit

127 views
Skip to first unread message

Kurt Colemonts

unread,
Oct 7, 2021, 7:26:21 AM10/7/21
to AdWords API and Google Ads API Forum
Hi,

Intro
For my application, i'm required to use the rest api instead of the SDK (but the issue is the same with the sdk one). I've tested this with basic & standard access.
I'm trying to sync user data into a customerMatch UserList.

Issue
When including more that 10 'Create' within the operation array of the payload, i'm receiving the following error msg : TOO_MANY. (You can check the full response below).

Even sometime it will already provide this error message when i'm including only 10 'create' within the payload.

The documentation informs that it should be possible to include a lot more records within one request? But for some reason, it can't.  I'm already sending with a Concurrency of 25 requests (including 10 records each), but this is already the limit of the amount of requests we can do to prevent that Google is returning a error 'Too Many Requests' as response.

** I've already tried contacting google multiple times in different ways, but i still didn't received any awnser on this.

Endpoint

Payload:
{
"operations": [
{
"create": {
                    
"userIdentifiers": [
{
                            "hashedEmail":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
                            "hashedPhoneNumber":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"addressInfo": {
"hashedFirstName": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"hashedLastName": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx",
"countryCode": "xxxxx",
"postalCode": "xxxx"
}
}
]
}
            
}
],
"customerMatchUserListMetadata": {
"userList": "customers/000000/userLists/0000000"
}
}


Issue:
[RESPONSE][{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "errors": [
          {
            "errorCode": {
              "collectionSizeError": "TOO_MANY"
            },
            "message": "Too many.",
            "location": {
              "fieldPathElements": [
                {
                  "fieldName": "operations"
                }
              ]
            }
          }
        ],
        "requestId": "XXXXXXXXX"
      }
    ]
  }
}
]

Thank you in advance!

Kind regards,
Kurt

Google Ads API Forum Advisor

unread,
Oct 7, 2021, 10:56:00 PM10/7/21
to djtranc...@gmail.com, adwor...@googlegroups.com
Hi Kurt,

Thank you for reaching out to our API support team.

So our team can take a closer look at the "collectionSizeError": "TOO_MANY" issue, could you also share to us the complete non redacted request and response logs, with the request-id and other IDs in the request?

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

As for the concern you mentioned "I've already tried contacting google multiple times in different ways, but i still didn't received any answer on this.", were this directed to our API support team directly, and if yes, could you share the email subject(s) so I can also check those?

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PHcoK:ref

Kurt Colemonts

unread,
Oct 11, 2021, 7:40:23 AM10/11/21
to AdWords API and Google Ads API Forum
Hi Peter,

Just want to apologies about my previous statement.
It seems that Google did sent me an email about my question.

I'll include the awnser on my questions here as well:
"UserDataService that CrmBasedUserListInfo relies on, 10 operations of 100 each works."

Thanks!

Kind regards,
Kurt
Op vrijdag 8 oktober 2021 om 04:56:00 UTC+2 schreef adsapi:

Google Ads API Forum Advisor

unread,
Oct 11, 2021, 9:32:17 PM10/11/21
to djtranc...@gmail.com, adwor...@googlegroups.com
Hi Kurt,

No worries. To note, the email sent  by my colleague Aryeh was sent to your private email.

Regarding the services that can be used to manage your customer match audiences, those are discussed in this guide and also here, since the APIs also do not use CSVs to upload audiences.

Also, if you are looking for a CSV upload feature for audiences, you may reach out to the Google Ads Product Support team, via this link, to confirm if this is available via the Google Ads UI.
Reply all
Reply to author
Forward
0 new messages