Hi,
I wanted to get a list of managed customer accounts which existed in some 
date range (I wanted to do it using Java API).

I was using ManagedCustomerServiceInterface and SelectorBuilder. The code 
was as the following:

LocalDateTime from = LocalDateTime.parse("1980/05/15", 
DateTimeFormat.forPattern("yyyy/MM/dd"));
LocalDateTime to = LocalDateTime.parse("1981/05/15", 
DateTimeFormat.forPattern("yyyy/MM/dd"));

// Create selector builder.
SelectorBuilder selectorBuilder =
        new SelectorBuilder()
            .fields(ManagedCustomerField.CustomerId, ManagedCustomerField.Name)
            .forDateRange(from.toDateTime(), to.toDateTime())
            .orderAscBy(ManagedCustomerField.Name);


ManagedCustomerPage page = managedCustomerService.get(selectorBuilder.build());

However it seems that this date range is not applied - I was getting a list of 
all the account available right now even though I was using as a date range 
some date in the 80'.

Is there something missing in my approach?

Thanks,
Lukasz


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7a736a5e-ee12-4b35-b570-65f58ef035d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to