Re: To get approx_content_impressions_per_day for placement.

2010-08-03 Thread AdWords API Advisor
Hi Joseph, Without access to the requestId or SOAP XML logs from this request there isn't much more I can do to troubleshoot the problem. Best, - Eric On Aug 2, 12:57 pm, joseph feygin wrote: > Hi Eric, > > Sorry, but it looks like it is error not in XML request. This request > works ot sandbox

Re: To get approx_content_impressions_per_day for placement.

2010-08-02 Thread joseph feygin
Hi Eric, Sorry, but it looks like it is error not in XML request. This request works ot sandbox and for cobol on live. This Morning it is even more interesting - the service that works for months for "KEYWORDS" and AVERAGE_TARGETED_MONTHLY_SEARCHES give me errors (it is for the same "IDEA" - "da

Re: To get approx_content_impressions_per_day for placement.

2010-07-27 Thread AdWords API Advisor
Hi Joseph, The AdWords API is a SOAP API. It sounds like you may be using a client library that hides the SOAP layer, but you should have the ability to log the raw SOAP XML messages. Best, - Eric On Jul 26, 12:10 pm, joseph feygin wrote: > Hi Eric, > > Yes you are right. It is a data. I can g

Re: To get approx_content_impressions_per_day for placement.

2010-07-26 Thread joseph feygin
Hi Eric, Yes you are right. It is a data. I can get results for "cobol" but it fails for "fiction" or "dan brown". Do I have to use SOAP instead of API? Can it be done in API? Is there some exeception that I can use. Is it only me who has such problem? Thanks, Iosif. On Jul 23, 1:56 pm, AdWords

Re: To get approx_content_impressions_per_day for placement.

2010-07-23 Thread AdWords API Advisor
Hi, Can you post the sanitized SOAP XML of the request? Perhaps some data is missing. Best, - Eric On Jul 21, 5:10 pm, joseph feygin wrote: > Hi Eric, > > It is now more interesting. > > It works for: > > Number ccc = ((LongValue) range.getMin()).getNumber(); > > but when i try Max > > Number

Re: To get approx_content_impressions_per_day for placement.

2010-07-21 Thread joseph feygin
Hi Eric, It is now more interesting. It works for: Number ccc = ((LongValue) range.getMin()).getNumber(); but when i try Max Number ccc = ((LongValue) range.getMax()).getNumber(); It does not show any errors during compilation but fails during execution. It works on sandbox. Please help. Th

Re: To get approx_content_impressions_per_day for placement.

2010-07-21 Thread AdWords API Advisor
Hi Joseph, The value of getMin() in this case is a LongValue, which has a "number" field that contains the actual number: http://code.google.com/apis/adwords/v2009/docs/reference-v200909/TargetingIdeaService.LongValue.html The documentation is a great resource and you can use it to find out t

Re: To get approx_content_impressions_per_day for placement.

2010-07-20 Thread joseph feygin
Hi Eric, I still have strange numbers - com.google.api.adwords.v200909.cm.longva...@8432ef49 com.google.api.adwords.v200909.cm.longva...@194c92ef Do I have to convert it to other type? This is what I have in my code: if (data[i].getKey().equals( AttributeType.APPROX_CONTENT_IMPRESSIONS_

Re: To get approx_content_impressions_per_day for placement.

2010-07-19 Thread AdWords API Advisor
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 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?

Re: To get approx_content_impressions_per_day for placement.

2010-07-19 Thread joseph feygin
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 wrote: > Hi Joseph, > > APPROX_CONTENT_IMPRESSIONS_PER_DAY is a LongRangeAttribute, and the > v

Re: To get approx_content_impressions_per_day for placement.

2010-07-16 Thread AdWords API Advisor
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/TargetingIdeaService.AttributeType.html#APPROX_CONTENT_IMPRESSIONS_PER_DAY http://code.goo

To get approx_content_impressions_per_day for placement.

2010-07-15 Thread joseph feygin
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) {