How to get monthly search volume for a given keyword with v201209

2012-12-16 Thread Hongyu Li
Hi, 
  the question is simple, how to get monthly search volume for a keyword. 
following is my code, I want the monthly search volume for keyword 楽天, I 
used the code below, only get the monthly search volume for the keywords 
that relate to 楽天. how can i get the search volume for the keyword self. 
any help will be appreciate. 

TargetingIdeaSelector selector = new TargetingIdeaSelector();
selector.setRequestType(RequestType.IDEAS);
selector.setIdeaType(IdeaType.KEYWORD);
selector.setRequestedAttributeTypes(new AttributeType[] { 
AttributeType.KEYWORD_TEXT, AttributeType.SEARCH_VOLUME,
AttributeType.CATEGORY_PRODUCTS_AND_SERVICES });

// Set selector paging (required for targeting idea service).
Paging paging = new Paging();
paging.setStartIndex(0);
paging.setNumberResults(10);
selector.setPaging(paging);

ExcludedKeywordSearchParameter parameter = new 
ExcludedKeywordSearchParameter();
Keyword k = new Keyword();
k.setText(楽天);
k.setMatchType(KeywordMatchType.BROAD);
parameter.setKeywords(new Keyword[] { k });
 // Create related to query search parameter.
RelatedToQuerySearchParameter relatedToQuerySearchParameter = new 
RelatedToQuerySearchParameter();
relatedToQuerySearchParameter.setQueries(new String[] { 楽天 });
selector.setSearchParameters(new SearchParameter[] { 
relatedToQuerySearchParameter, parameter });



Thanks a lot 
-Warren

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





get all placements from my account

2011-06-21 Thread Hongyu Li
Do we have a way to get all placement from my account, Currently i dump all
criterion from the account and pick the Placements out.

do we have something like.

Predicate statusPredicate = new Predicate();
statusPredicate.field = Criterion.Type;
statusPredicate.@operator = PredicateOperator.EQUALS;
statusPredicate.values = new string[] {Placement};



Thanks
Warren

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


a question about ReportService

2010-06-07 Thread Hongyu Li
I read the report service document that said The Report Center stores up to
15 generated reports per account.

I just want to know this account means Mcc account or Client Account or it
depend on develop token. If I reported multi-task to the report service in a
short time, it works like a queue or it's running concurrent.

Thanks
Warren

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


EntityNotFound.INVALID_ID

2010-04-27 Thread Hongyu Li
I was trying to change criterion bid value a few hundred one request, but
one or two keywords are not exist that cause me to meet
EntityNotFound.INVALID_ID exception. Is that the those valid keyword are
already changed by this request? if not, Is there have a way to ignore those
invalid keywords?

those keyword often removed by human with UI, I am hard to get which keyword
is already removed.

Thanks
Warren

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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


how to change a keyword bid without keyword text and Match Type?

2010-04-26 Thread Hongyu Li
I am trying to used the least columns to change a keyword bid value. Keyword
ID, Account, AdGroup ID, Keyword Text and Match Type is required, I tried
use  instead of keyword text, It works and the keyword text used the last
value. I am using the adword api jave lib and the Match Type is enum, It
will return Error when I set Match type to null.

Is there have any way to change bid without keyword match type?

Thanks
Warren

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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


AdWords API Can I get all AdGroupCriteria Infomation by one API request?

2010-01-25 Thread Hongyu Li
I want all AdGroupCriteria information in this Account, I know I can Get All
AdGroupIDs and then creat filters to get the result, Is there have another
way? Just send account info to API and get them all.

Anyone can help?

-- 
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-...@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.



Re: AdWords API use user.getService(XXX) frequently, and can't release the memory!

2010-01-12 Thread Hongyu Li
Got that, I didn't use ServiceAccountantManager.

thanks a lot.

On Tue, Jan 12, 2010 at 5:03 PM, Tino Hertlein t...@refinedlabs.com wrote:

 Hi!

 Since 6.2.0 there exists a removeService-method in the
 ServiceAccountantManager.

 Calling this method should remove all references to the service in order
 for it to be garbage collected.
 (from http://code.google.com/p/google-api-adwords-java/source/detail?r=119
 )


 Did you already try that?


 Tino

 --
 Refined Labs GmbH
 Landwehrstraße 17
 80336 München
 Tel +49 89 1392879-0
 t...@refinedlabs.com
 http://www.refinedlabs.com

 Sitz: München
 AG München HRB 166589
 Geschäftsführer:
 Thomas Bindl, Stephan Seitz

 -Ursprüngliche Nachricht-
 Von: adwords-api@googlegroups.com [mailto:adwords-...@googlegroups.com] Im
 Auftrag von hongyu...@gmail.com
 Gesendet: Dienstag, 12. Januar 2010 09:32
 An: AdWords API Forum
 Betreff: AdWords API use user.getService(XXX) frequently, and can't release
 the memory!

 user.getService(XXX) has been called frequently, and memory is high, any
 others meet the same problem?

 I'm using Java client library v6.3.0, Is anywhere need to be paid attention
 for release memory.

 I just have one AdwordUser instance.

 Any one can help ?

 --
 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-...@googlegroups.com.
 To unsubscribe from this group, send email to
 adwords-api+unsubscr...@googlegroups.comadwords-api%2bunsubscr...@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 post to this group, send email to adwords-...@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.



AdWords API org.apache.axis.ConfigurationException: No service named LocationService is available

2009-12-03 Thread Hongyu Li
I can get the right data from LocationService but I am also get the
exception org.apache.axis.ConfigurationException: No service named
LocationService is available.
any one can help me?
Thank you

--

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-...@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.




AdWords API use axis2 adb way can not get ImageAd related object

2009-11-25 Thread Hongyu Li
I am use axis2 WSDL2Java adb to generate java code with AdService.
The WSDL2Java has passed, but I can't find relate class about ImageAd,
TextAd ... Only have one Ad class,
I want upload a ImageAd, Is there a way to do this by axix2 ??

BTW: I was try xmlbean way to generate javacode, but I get Syntax Error In
stub class...

--

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-...@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.




AdWords API use axis2 adb way and can not get ImageAd related object

2009-11-25 Thread Hongyu Li
I am use axis2 WSDL2Java adb to generate java code with AdService.
The WSDL2Java has passed, but I can't find relate class about ImageAd,
TextAd ... Only have one Ad class,
I want upload a ImageAd, Is there a way to do this by axix2 ??

BTW: I was try xmlbean way to generate javacode, but I get Syntax Error In
stub class...

--

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-...@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.