Hi Joseph,

It should be range.getMin() and range.getMax using the Java client
library.

Best,
- Eric

On Jul 19, 10:48 am, joseph feygin <iosif.feyg...@gmail.com> wrote:
> Hi Eric,
>
> This is my problem I can not extract min and max Values from Range.
>
> Could you please give me an example or methods that I have to use?
>
> Thanks,
> Iosif.
>
> On Jul 16, 5:07 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
>
>
> > Hi Joseph,
>
> > APPROX_CONTENT_IMPRESSIONS_PER_DAY is a LongRangeAttribute, and the
> > value of this type of attribute is a Range, not a number:
>
> >http://code.google.com/apis/adwords/v2009/docs/reference-v200909/Targ...
> >  http://code.google.com/apis/adwords/v2009/docs/reference-v200909/Targ...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Jul 15, 10:20 am, josephfeygin<iosif.feyg...@gmail.com> wrote:
>
> > > I try to get aapprox_content_impressions_per_day for placement. It
> > > returns very srange values like:
> > > com.google.api.adwords.v200909.o.ra...@7e954957
>
> > > This is extract from my code. Any Ideas? Please Help.
>
> > >                       if (page.getEntries() != null &&
> > > page.getEntries().length > 0) {
> > >                                 for (TargetingIdea targetingIdea :
> > > page.getEntries()) {
> > >                                         System.out.println("New Line
> > >Feygin.");
> > >                                         Type_AttributeMapEntry[] data
> > > = targetingIdea.getData();
> > >                                         KeyWordsItem item = new
> > > KeyWordsItem();
> > >                                         for (int i = 0; i <
> > > data.length; i++) {
>
> > > System.out.println(data[i].getKey());
> > >                                                 if
> > > (data[i].getKey().equal(                                                  
> > >                AttributeType.APPROX_CONTENT_IMPRESSIONS_PER_DAY))
> > > {
>
> > > System.out.println(((LongRangeAttribute)
> > > data[i].getValue()).getValue());
> > >                                                 }
> > >                                                else if
> > > (data[i].getKey().equals(AttributeType.PLACEMENT)) {- Hide quoted text -
>
> > - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to