Hi Lukasz,

to the best of my knowledge, what you want to do is not possible. 
Structural information is not availably historically, only performance data 
is. You'll have to save that information yourself.

Cheers,
Dorian

On Tuesday, May 24, 2016 at 11:37:06 AM UTC+2, Łukasz Gaża wrote:
>
> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/77914ff6-ffe4-4bc9-9a61-7f5419fe5531%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to