Re: Get categoryids of one keywords

2018-08-23 Thread Sally CHEN

Hi,

Yes, I can get the categoryid by setting RequestType to STAT.
 
Best Regards,
Sally
在 2018年8月23日星期四 UTC+8下午5:08:44,ghu...@system1.com写道:
>
> Correct me if I'm wrong, but I believe you can retrieve the category ID's 
> for keywords by setting RequestType to STATS? 
> https://developers.google.com/adwords/api/docs/guides/targeting-idea-service#retrieving_keyword_stats
>
> On Wednesday, July 4, 2018 at 4:15:57 AM UTC-7, Dannison Yao (AdWords API 
> Team) wrote:
>>
>> Hi Sally,
>>
>> Just to make my previous response more clear. For your existing keywords, 
>> there is currently no service or report that would allow you to determine 
>> which category they are associated to.
>>
>> Feel free to write back if you need further clarifications.
>>
>> Regards,
>> Dannison
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/5759fce3-3022-43d7-b19f-5f0006106d93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TargetIdeaService get() RateExceededError

2018-07-22 Thread Sally CHEN
Hi,

I am using TargetIdeaService.get  to generate new keywords, and make 5 
requests for 5 ad groups in parallel using same refresh Token. Any 
suggestions for me to avoid the RateExceededError, since the target Idea 
API is different from other downloading report APIs. For 
TargetingIdeaService, it does not depend on my usage alone, but on the 
usage of all users on a certain time of the day, and other factors.  I 
would like to use batch jobs but unfortunately, BatchJobService doesn't 
support TargetindIdeaService.get operation and only supports these mutate 
operations(
https://developers.google.com/adwords/api/docs/guides/batch-jobs#supported_operations
).

Best Regards,
Sally

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/fdbd56a6-864d-47e9-955e-281243375a16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TargetingIdeaSelector request.type.STAT

2018-07-19 Thread Sally CHEN
Hi,

I found that the TargetingIdeaSelector only supports 
200 RelatedToQuerySearchParameters for the 'request.type.IDEAS' but it can 
support more than 200 items for the type 'request.type.STAT', so I would 
like to know the limit of the type 'request.type.STAT'.

Best Regards,
Sally

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/eb4fdcf2-de5a-4c6e-af38-791284c7fb32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TargetingIdeaSelector request.type.STAT limit

2018-07-19 Thread Sally CHEN
Hi,

I found that the TargetingIdeaSelector only supports 
200 RelatedToQuerySearchParameters for the 'request.type.IDEAS' but it can 
support more than 200 items for the type 'request.type.STAT', so I would 
like the limit of the type 'request.type.STAT'.


Best Regards,
Sally  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/ca4c04ca-c42d-4d01-a8cc-78abc4ef40d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RateLimiterException: Need to wait to long

2018-07-19 Thread Sally CHEN
Hi,

I am using the TargetingIdeaServiceInterface to get new keyword suggestions 
and TrafficEstimatorServiceInterface to do the traffic estimation, but I 
always encounter the Exception: 

com.google.api.ads.adwords.extension.ratelimiter.RateLimiterException: Need 
to wait too long (more than 3 seconds).
at 
com.google.api.ads.adwords.extension.ratelimiter.ApiServicesRetryStrategy.calcWaitTime(ApiServicesRetryStrategy.java:159)
at 
com.google.api.ads.adwords.extension.ratelimiter.ApiServicesRetryStrategy.calcWaitTimeBeforeCall(ApiServicesRetryStrategy.java:103)
at 
com.google.api.ads.adwords.extension.ratelimiter.ApiRetryHelper.callWithRetries(ApiRetryHelper.java:69)
at 
com.google.api.ads.adwords.extension.ratelimiter.ApiRateLimiter.run(ApiRateLimiter.java:59)
at 
com.google.api.ads.adwords.extension.ratelimiter.ApiInvocationHandlerWithRateLimiter.handleInvocation(ApiInvocationHandlerWithRateLimiter.java:45)
at 
com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:84)
at com.sun.proxy.$Proxy27.get(Unknown Source)


I am using AdWordsServicesWithRateLimiter with the property settings:

  
System.setProperty(ApiServicesRetryStrategy.MAX_ATTEMPTS_ON_RATE_EXCEEDED_ERROR_PROPERTY,
 
"3");
System.setProperty(ApiServicesRetryStrategy.MAX_WAIT_TIME_ON_RATE_EXCEEDED_ERROR_PROPERTY,
 
"3");

When this error occurred, it wouldn't retry 3 times as my 
'MAX_ATTEMPTS_ON_RATE_EXCEEDED_ERROR_PROPERTY' setting and exit immediately 
with that exception.

Sometimes, I will meet this error, 
'*ApiException{applicationExceptionType=ApiException, 
errors=[RateExceededError{apiErrorType=RateExceededError, 
errorString=RateExceededError.RATE_EXCEEDED, fieldPath=, 
rateName=RATE_LIMIT, rateScope=ACCOUNT, reason=RATE_EXCEEDED, 
retryAfterSeconds=30, trigger=}]}*' and it will retry again, but not after 
30 second as my setting. 



Best Regards,
Sally

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/1b865fe3-3da2-4168-910e-03570f495929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CATEGORY_PRODUCTS_AND_SERVICES is null

2018-07-04 Thread Sally CHEN
Hi Peter,

Thank you for your quick reply. I also found some categoryIds are negative 
numbers, so I would like to know the meaning of the negative categoryId 
value. BTW could you give me some reference for me to understand the some 
exceptional categoryid value. Now I have productsservices.csv to retrieve 
the category name of each category id.

Best Regards,
Sally


在 2018年7月4日星期三 UTC+8下午5:13:20,Peter Oliquino (AdWords API Team)写道:
>
> Hi Sally,
>
> There may be instances wherein the results or the keywords returned by the 
> TargetingIdeaService may not really belong or is associated to any specific 
> categories. However, in order to better investigate your concern, could you 
> provide the complete SOAP request and response and the UI screenshot of 
> the Keyword Planner with the same parameters?
>
> You may reply to me via the *Reply privately to author* option.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/d61bc808-827e-4e46-b9a2-24ea5fbe1179%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CATEGORY_PRODUCTS_AND_SERVICES is null

2018-07-04 Thread Sally CHEN
Hi,

I am using TargetingIdeaService 

 to 
get some new keyword ideas but I found some 
keyword's CATEGORY_PRODUCTS_AND_SERVICES attribute value(categoryids array) 
is null so I would like to know the meaning of the null value. 

Best Regards,
Sally


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/5ba10a90-ec19-4ff2-8794-fd39ff6d9985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get categoryids of one keywords

2018-07-03 Thread Sally CHEN
Hi Dannison,

I can get some new keyword ideas with the categoryids, so I wonder is there 
any other apis for me to retrieve the categoryids of the existing keywords 
in my ad group.

Best Regards,
Sally

在 2018年7月3日星期二 UTC+8下午5:40:39,Dannison Yao (AdWords API Team)写道:
>
> Hi Sally,
>
> Could you confirm if you are using the TargetingIdeaService 
> 
>  and 
> you wish to pass the product category Id in your request? if yes, you may 
> refer to this guide 
> 
>  on 
> how to do so. You could check out the list of products and services 
> categories in this link 
> 
> . 
>
> Let me know if this is what you're looking for.
>
> Regards,
> Dannison
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/3d4fc4d2-08b3-4116-a35e-13553d7eefda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get categoryids of one keywords

2018-07-03 Thread Sally CHEN
Hi,

I would like to know is there any google adwords api for me to get the 
category ids of some given keywords.

Best Regards,
Sally

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/0de5249a-d472-4e40-8070-7cca4a0a75c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Multiple Search Parameters for GetKeywordIdeas(v201802)

2018-05-23 Thread Sally CHEN


Hi,


I am testing the TargetingIdeaPage. When I only pass the 
SeedAdGroupIdSearchParameter , it will return the keyword ideas that 
related to my ad group. When I only pass the RelatedToQuerySearchParameter, 
it will return the keyword ideas that related to the given keyword, but 
when I pass my SeedAdGroupIdSearchParameter *AND* the 
RelatedToQuerySearchParameter the result is the same as only passing the 
RelatedToQuerySearchParameter. 


I read the Google AdWords API Document (
https://developers.google.com/adwords/api/docs/reference/v201802/TargetingIdeaService.TargetingIdeaSelector),
 
and I found that the adGroup's keywords would be used to generate new and 
related keywords when passing the SeedAdGroupIdSearchParameter. I would 
like to know what is the right result when passing the 
RelatedToQuerySearchParameter and SeedAdGroupIdSearchParameter to the 
targetingIdeaService. Also,  I would like to know the strategy to give out 
the keyword ideas when passing multiple search parameters, especially the 
'RelatedToQuerySearchParameter', 'SeedAdGroupIdSearchParameter' and 
'RelatedToUrlSearchParameter'.



Thanks
Sally

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/2b8b95a9-1aa8-4d0d-80fa-d1f36f7905b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.