Re: [RateExceededError ]

2013-05-24 Thread David Apps
I've also experienced this issue with the TrafficEstimatorService and would 
recommend taking a look into that as well...

Date Operations Description RequestId ResponseTime
2013-05-15 16:24:36.263 2000 TrafficEstimatorService - 2000 keywords 
0004dcc861bed9700ada1e0a064cfe69 73
2013-05-15 16:24:35.680 1 TrafficEstimatorService - 2000 keywords 
0004dcc861a051080ada1cd7192ec647 717
2013-05-15 16:24:33.687 2000 TrafficEstimatorService - 2000 keywords 
0004dcc8619715c00ada528528734d08 76
2013-05-15 16:24:33.123 1 TrafficEstimatorService - 2000 keywords 
0004dcc8617cb3d80ada1cd7192ec647 469

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Developer Account Operation Count Inconsistencies

2013-05-24 Thread David Apps
Hi Anash, thanks for the response, it's much appreciated.  Will do.

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Developer Account Operation Count Inconsistencies

2013-05-23 Thread David Apps
Can anyone else confirm these observations?

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Developer Account Operation Count Inconsistencies

2013-05-20 Thread David Apps
I'm still able to reproduce this issue after a few requests.  Any word on 
what's actually happening here?  Is my account getting docked 250 
operations even though I've only made a single get request?

Date Operations Description RequestId ResponseTime
2013-05-20 09:53:33.223 1 TargetingIdeaService - 4 seed keywords, 100 ideas 
requested 0004dd2781335e480ada21dc383ae94a 182
2013-05-20 09:53:01.227 250 TargetingIdeaService - 4 seed keywords, 250 
ideas requested 0004dd277f4955100ada528528734d08 237
2013-05-20 09:52:56.843 1 TargetingIdeaService - 4 seed keywords, 100 ideas 
requested 0004dd277f0883500ada21dc383ae94a 179
2013-05-20 09:52:52.570 50 TargetingIdeaService - 4 seed keywords, 50 ideas 
requested 0004dd277ec8ceb80ada1e0a2d94aa83 101
2013-05-20 09:52:46.070 1 TargetingIdeaService - 4 seed keywords, 250 ideas 
requested 0004dd277e5e9b380ada528528734d08 464
2013-05-20 09:52:40.853 1 TargetingIdeaService - 4 seed keywords, 50 ideas 
requested 0004dd277e152e580ada528528734d08 157
2013-05-20 09:52:33.610 1 TargetingIdeaService - 4 seed keywords, 100 ideas 
requested 0004dd277da50f380ada048c2d9e6e6f 220
2013-05-20 09:52:28.050 1 TargetingIdeaService - 4 seed keywords, 50 ideas 
requested 0004dd277d5113380ada048c2d9e6e6f 191
2013-05-20 09:52:21.627 1 TargetingIdeaService - 4 seed keywords, 250 ideas 
requested 0004dd277cecc3880ada528528734d08 265

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Developer Account Operation Count Inconsistencies

2013-05-16 Thread David Apps
TLDR: Wrong operation counts getting returned when using a developer 
account. Any ideas?

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Developer Account Operation Count Inconsistencies

2013-05-15 Thread David Apps
Hi, I'm using the code below to interact with the TargetingIdeaService from 
a developer account (client id 975-797-8136) and it's somehow returning 
different operation counts for similar consecutive calls.  I'm absolutely 
certain I'm only performing one get request on the service for each call, 
so I'm wondering if the inflated operation counts being returned in some 
cases can be disregarded and chalked up to sandbox issues on your end, and 
not reflective of the actual API usage on mine?  Below is the call log 
output as well since I'm assuming the RequestIds might be of some use to 
you on your end...

Date Operations Description RequestId ResponseTime
2013-05-15 16:05:10.917 1 TargetingIdeaService - 4 seed keywords, 100 ideas 
requested 0004DCC81C482A400ADA015217C76017 173
2013-05-15 16:04:07.707 1 TargetingIdeaService - 4 seed keywords, 50 ideas 
requested 0004DCC8188440880ADA20D40654B8EC 155
2013-05-15 16:03:42.473 50 TargetingIdeaService - 4 seed keywords, 50 ideas 
requested 0004DCC81703E9E80ADA20D40654B8EC 110
2013-05-15 16:03:34.640 50 TargetingIdeaService - 1 seed keywords, 50 ideas 
requested 0004DCC8168C64400ADA528528734D08 105
2013-05-15 16:03:27.263 100 TargetingIdeaService - 1 seed keywords, 100 
ideas requested 0004DCC8161868D80ADA1E0A064CFE69 307
2013-05-15 16:03:13.453 50 TargetingIdeaService - 1 seed keywords, 50 ideas 
requested 0004DCC8154882300ADA20D40654B8EC 99


/// 
/// Generates a list of keyword ideas from the specified list of seed 
keywords.
/// 
/// The AdWords user account
/// The number of ideas to return
/// The seed keywords to base the ideas off 
of
/// Returns the list of keyword ideas
public static List GenerateKeywordIdeas(AdWordsUser user, 
int count, List keywords)
{
var keywordIdeas = new List();
count = Math.Min(count, MaxKeywordIdeaPageSize);

var selector = new TargetingIdeaSelector
{
requestType = RequestType.IDEAS,
ideaType = IdeaType.KEYWORD,
paging = new Paging { startIndex = 0, numberResults = 
Math.Min(count, MaxKeywordIdeaPageSize) },
requestedAttributeTypes = new[]
{
AttributeType.KEYWORD_TEXT,
AttributeType.SEARCH_VOLUME,
AttributeType.COMPETITION,
AttributeType.AVERAGE_CPC
},
searchParameters = new SearchParameter[]
{
new RelatedToQuerySearchParameter {queries = 
keywords.Take(MaxSeedKeywordsPerIdeasRequest).ToArray() },
new LanguageSearchParameter {languages = new[] {new 
Language {id = 1000}}}
}
};
   
TargetingIdeaService service = null;

try
{
service = (TargetingIdeaService) 
user.GetService(AdWordsService.v201302.TargetingIdeaService);
var page = service.get(selector);
if (page.entries != null && page.entries.Length > 0)
{
foreach (var entry in page.entries)
{
keywordIdeas.Add(new KeywordIdea(entry.data));
}
}
}
catch (Exception ex)
{
Logger.Warn("Keyword idea retrieval failure.", ex);
}

if (service != null && service.ResponseHeader != null)
{
UpdateApiCallLog(string.Format("TargetingIdeaService - {0} seed 
keywords, {1} ideas requested",
keywords.Count, count), 
(int)service.ResponseHeader.operations,
service.ResponseHeader.requestId, 
(int)service.ResponseHeader.responseTime);
}

return keywordIdeas;
}

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.