Hi Tank,

This error indicates that the number of items matched by your selector
is greater than maximum allowable items to be returned in a request.
To work around this, use the paging feature of the selector to ensure
that no more than a few thousand items are returned per request.

Best,
- Eric Koleda, AdWords API Team

On Apr 7, 1:50 am, tank9898 <[email protected]> wrote:
> Hi, Eric
>
> I am using perl client for AdgroupAdService, and got
> "SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED" Error.
>
> CODE like this.
>
> use strict "vars";
> use warnings;
> use Google::AdWords::Client;
>
> my $loginemail='[email protected]';
> my $password='password';
> my $userAgent='Google Bidding v 2009';
> my $token='xxx-xxx-xxx-xxxx';
> my $client_id='xxx-xxx-xxxx';
>
> my $g_client = Google::AdWords::Client->new({
>                 email=>$loginemail,
>                 password=>$password,
>                 client_id=>$client_id,
>                 developer_token=>$token,
>                 user_agent=>AWS_USERAGENT
>                 }
>         );
> $g_client->set_debug(*STDERR);
> $g_client->set_die_on_faults(0);
>
> my $response = $g_client->AdGroupAdService()->get({
>         selector=>{
>                         adGroupIds => ADGRPID,
>                         paging => {
>                                 startIndex=>0,
>                                 numberResults =>10,
>                         }
>                 }
>         }
>         );
>
> my @ads = $response->valueof('//getResponse/rval/entries');
>
> print @ads;
>
> ============
>
> I think the error is b/c xmlns="" for adGroupIds, but I was using
> client library, I can't change SOAP request.
>
> XML Request:
> <NORMAL HEADER....>
> <SOAP-ENV:Body><get xmlns="https://adwords.google.com/api/adwords/cm/
> v200909"><selector>
> <adGroupIds xmlns="">ADGRPID</adGroupIds></selector></get></SOAP-
> ENV:Body></SOAP-ENV:Envelope>
>
> XML Response:
> <requestId>b66d72aa72197beb09f8f96828507dfb</requestId> on production.
>
> <soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED @ </
> faultstring>
>
> Thank you for help me out.
>
> Tank

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to