I'm looking into the issue.
Has this been consistent?
Thanks,
Ray
On Monday, June 30, 2014 8:23:20 PM UTC-4, FreeKill wrote:
>
> I'm having the exact same problem, and just in the last day or so...
>
> On Friday, June 27, 2014 11:25:40 AM UTC-4, SL wrote:
>>
>> This morning a proses which was working fine started to error on it's
>> second call (I am iterating through a csv file) with
>> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>> com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]
>>
>>
>> it is happening by the get command "page = adGroupService.get(selector);".
>>
>> ...
>> // Create the selector.
>> Selector selector = new Selector();
>> selector.fields = new string[] { "Id", "Name", "Status" };
>>
>> // Create the filters.
>> selector.predicates = new Predicate[3];
>> selector.predicates[0] = new Predicate();
>> selector.predicates[0].field = "Name";
>> selector.predicates[0].@operator = PredicateOperator.EQUALS;
>> selector.predicates[0].values = new String[] { adGroupName };
>>
>> // Set the selector paging.
>> selector.paging = new Paging();
>>
>> int offset = 0;
>> int pageSize = 500;
>> //selector.paging.startIndex = 0;
>> //selector.paging.numberResults = 1;
>>
>> AdGroupPage page = new AdGroupPage();
>>
>> try
>> {
>> selector.paging.startIndex = offset;
>> selector.paging.numberResults = pageSize;
>> // Get the ad groups.
>> page = adGroupService.get(selector);
>>
>> // Display the results.
>> if (page != null && page.entries != null)
>> {
>> foreach (AdGroup adGroup in page.entries)
>> {
>> this.notify_UI(string.Format("Ad group Name:
>> '{0}', ID: {1}, Status: {2}.\n", adGroup.name, adGroup.id, adGroup.status));
>> adGroupIdList.Add(adGroup.id);
>> }
>> }
>> else
>> return null;
>> }
>> catch (Exception ex)
>> {
>> this.notify_UI(ex.ToString() + "\n", true);
>> return null;
>> }
>> ...
>>
>> I put in a sleep command for 10 seconds after which the error can on
>> approximately the 14 time.
>>
>> Thanks,
>> Sam
>>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.