Re: estimateKeywordList returns 0 for everything

2010-05-28 Thread Riaan van der Linde
Hi Guys,
Can anyone please point out what I am doing wrong here.
Here is my code.
Our developer token has been approved and we did complete the billing
section of adwords so there are no holds on the account.

try
{
// Get the service.
TrafficEstimatorService service =
 
(TrafficEstimatorService)user.GetService(AdWordsService.v13.TrafficEstimatorService);

// Set the attributes of the keywords to be estimated.
KeywordRequest myKeyword = new KeywordRequest();
myKeyword.text = strKeyword;
myKeyword.maxCpc = 5;
myKeyword.maxCpcSpecified = true;
myKeyword.type = thisKeywordType;
myKeyword.typeSpecified = true;

// To estimate more keywords, create more KeywordRequest
objects
// and add them to the list of keyword to estimate.
KeywordRequest[] keyReqs = new KeywordRequest[]
{ myKeyword };

// Estimate traffic for given keywords.
KeywordEstimate[] estimates =
service.estimateKeywordList(keyReqs);

if (estimates != null)
{
for (int i = 0; i  estimates.Length; i++)
{
KeywordEstimate estimate = estimates[i];

lowerClicksPerDay = estimate.lowerClicksPerDay;
upperClicksPerDay = estimate.upperClicksPerDay;
lowerCPC = estimate.lowerCpc;
upperCPC = estimate.upperCpc;
lowerAVGPos = estimate.lowerAvgPosition;
upperAVGPos = estimate.upperAvgPosition;
}
}
else
return;
}

On May 27, 2:19 pm, Riaan van der Linde riaan...@gmail.com wrote:
 Hi,

 We have used your sandbox feature to develop an application and
 received some mock data from your sandbox server.
 However since we created a new account and got the developer token
 approved that same code is not working anymore. I have even used your
 own code sample to make sure that I am doing everything right. I tried
 this class (http://code.google.com/p/google-api-adwords-dotnet/source/
 browse/trunk/Examples/v13/KeywordEstimateDemo.cs)

 The problem is that I get 1 estimate back from the api but all the
 following values are set to 0:

 estimate.lowerClicksPerDay;
 estimate.upperClicksPerDay;
 estimate.lowerCpc;
 estimate.upperCpc;
 estimate.lowerAvgPosition;
 estimate.upperAvgPosition;

 id and idField is also set to -1
 Can you please help

 The developer token is working because we also use the
 AdWordsService.v200909.TargetingIdeaService and that seems to be
 returning proper keyword variations.

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


Re: Pull keywords from existing adgroup / campaign via API?

2010-05-28 Thread destUK
Brilliant - thanks Eric, I'll get my devs on to this...

On May 26, 3:30 pm, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 You can use the AdGroupCriterionService to get() the keywords in your
 static campaign and then add them to your dynamic campaign using
 mutate(ADD).

  http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...

 Best,
 - Eric Koleda, AdWords API Team

 On May 25, 11:19 am, destUK goo...@destinology.co.uk wrote:

  Hi,

  We're close to launching our price based AdWords creative, using the
  API.
  As a new product is added to our CMS, the API is called and the CMS
  pushes a basic ad creative (in it's own adGroup) into our account.

  As these new pricing-led ad's are targeted around static ad's (i.e the
  price led ad's have their own static counterparts, in another
  account / campaign adGroup), is it possible to pull existing keywords,
  pricing etc from the static campaign in the other account?

  Basically, the only thing that should be different between the static
  (manual) and dynamic (API) ad's are the live pricing and offer
  details.

  How would I call the keywords / CPC etc from an existing campaign,
  matching on certain criteria - perhaps in the adGroup / campaign
  title?

  Thanks in advance...

  --
  =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
  Also find us on our blog and discussion 
  group:http://adwordsapi.blogspot.comhttp://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 
  athttp://groups.google.com/group/adwords-api?hl=en

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


Re: v201003 beta , ReportDefinitionService- Structure report not included ?

2010-05-28 Thread Alex Parij
Any contact at google where I can get these questions answered ?

On May 26, 3:49 pm, Clay claylenh...@gmail.com wrote:
 More generally, how do we keep our list of accounts/campaigns/adgroups/
 ad/keywords in sync with yours in the new API?  In the past, it hasn't
 been feasible to do this via individual API calls.

 Keep in mind that there are times when we need the account structure
 before there are any impressions for automated URL tagging, so
 performance reports are not an option in this case.

 -Clay

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


Re: v201003 ReportDefinitionService - Cross-client reports are not supported?

2010-05-28 Thread Christian Krahn
Thanks for the positive response :-)

- Christian

On 27 Mai, 21:28, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi All,

 Cross-client reports are not available in the v201003
 ReportDefinitionService beta.  We plan to support cross-client reports
 in the future, and the v13 ReportService will not be sunset until that
 functionality is available.

 Best,
 - Eric Koleda, AdWords API Team

 On May 26, 3:44 pm, Clay claylenh...@gmail.com wrote:

  Wow, it looks like it is 
  true:http://code.google.com/apis/adwords/v2009/docs/reference/ReportDefini...

  I second this.

  What I really want is to give you (Adwords that is) a big chunk of
  data I need, and you let me know when it is done.  It looks like I can
  request multiple reports at once.  Can this be 1000 individual client
  reports?

  -Clay

  On May 26, 4:55 pm, Christian Krahn ckrahn1...@googlemail.com wrote:

   I've read in the documentation that Cross-client reports are not
   supported.
   Is it just because it's still beta or won't there be any chance to
   grab a report covering all accounts underneath an MCC?

   Kind regards,
   Christian

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


Re: API unit count, strange result

2010-05-28 Thread Hervé
hi Eric !

do you have some news?

thanks

On 17 mai, 20:14, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 Thank you for brining this problem to our attention.  I'll forward
 this information on to the core engineering team and let you know when
 I have more information.

 Best,
 - Eric Koleda, AdWords API Team

 On May 14, 11:05 am, Hervé cont...@lengow.com wrote:



  hi all,

  i have some troubles about calculating the API unit usage with
  BulkMutateJob.

  for example, i made a job in order to create 173 AdGroup( request id :
  dbf501ef2459ff12b77226f083c09582). when i want to get the result,
  requestId: e16a2758ca7ef50af4cb54411ebcfa92
  i have :
             numOperations4/numOperations
            numUnits4/numUnits

  why only 4 units? if i use your rate-sheet here 
  :http://code.google.com/intl/fr/apis/adwords/v2009/docs/ratesheet.html...

  i should have (173*1)0.5= 86.5, not 4

  another example, i created 1494 Ad -text and 1438 Keyword
  i get the bulk result, requestID 2c46cada4741b637b3010fda47af9cc8, i
  have :
            numOperations59/numOperations
            numUnits832/numUnits
  i should have (1494 * 40) *0.5 + (1438*15)*0.5= 40665 Unit

  how is really calculate the bulk cost? i have to estimate the cost so
  could you explain me how to calculate the real cost in API unit
  please.

  thanks a lot

  --
  =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
  Also find us on our blog and discussion 
  group:http://adwordsapi.blogspot.comhttp://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 
  athttp://groups.google.com/group/adwords-api?hl=en

 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion 
 group:http://adwordsapi.blogspot.comhttp://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 
 athttp://groups.google.com/group/adwords-api?hl=en

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


SOAP/Deserializer.pm did not return a true value at (eval 93) line 3.

2010-05-28 Thread JohnW2G
Getting a compilation error while attempting to test the API in a Perl
environment:

I have downloaded and installed the latest library package:
awapi_perl_lib_1.3.2.tar.gz

I have downloaded and installed the latest version of the SOAP WSDL
module:
http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz?view=tarpathrev=861

I created a adwords.properties file in my home directory and edited it
with my account data (I did not turn on the Sandbox setting).

I copied display_stats.pl from 
http://google-api-adwords-perl.googlecode.com/svn/trunk/example/display_stats.pl

I tried running the display_stats.pl and got the following errors:

SOAP/Deserializer.pm did not return a true value at (eval 93) line 3.
...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/
Google/AdWords/Deserializer.pm line 24.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Google/
AdWords/Client.pm line 26.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/
Google/AdWords/Client.pm line 26.
Compilation failed in require at display_stats.pl line 24.
BEGIN failed--compilation aborted at display_stats.pl line 24.

Any help?

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


addition info re: new features in version v201003?

2010-05-28 Thread t
Does anyone know where I can find additional information (besides the
short desc) regarding the new features in version v201003?

http://adwordsapi.blogspot.com/2010/05/introducing-adwords-api-version-v201003.html?utm_source=feedburnerutm_medium=feedutm_campaign=Feed%3A+blogspot%2FXqnd+%28AdWords+API+Blog%29

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


Re: estimateKeywordList returns 0 for everything

2010-05-28 Thread AdWords API Advisor
Hi Riaan,

Please ensure that you are making your request against the production
API servers and not the sandbox.  Also, what keywords are you using?
Obscure keywords may not have enough data available to generate a
traffic estimate.

Best,
- Eric Koleda, AdWords API Team

On May 28, 7:38 am, Riaan van der Linde riaan...@gmail.com wrote:
 Hi Guys,
 Can anyone please point out what I am doing wrong here.
 Here is my code.
 Our developer token has been approved and we did complete the billing
 section of adwords so there are no holds on the account.

         try
         {
             // Get the service.
             TrafficEstimatorService service =

 (TrafficEstimatorService)user.GetService(AdWordsService.v13.TrafficEstimato 
 rService);

             // Set the attributes of the keywords to be estimated.
             KeywordRequest myKeyword = new KeywordRequest();
             myKeyword.text = strKeyword;
             myKeyword.maxCpc = 5;
             myKeyword.maxCpcSpecified = true;
             myKeyword.type = thisKeywordType;
             myKeyword.typeSpecified = true;

             // To estimate more keywords, create more KeywordRequest
 objects
             // and add them to the list of keyword to estimate.
             KeywordRequest[] keyReqs = new KeywordRequest[]
 { myKeyword };

             // Estimate traffic for given keywords.
             KeywordEstimate[] estimates =
 service.estimateKeywordList(keyReqs);

             if (estimates != null)
             {
                 for (int i = 0; i  estimates.Length; i++)
                 {
                     KeywordEstimate estimate = estimates[i];

                     lowerClicksPerDay = estimate.lowerClicksPerDay;
                     upperClicksPerDay = estimate.upperClicksPerDay;
                     lowerCPC = estimate.lowerCpc;
                     upperCPC = estimate.upperCpc;
                     lowerAVGPos = estimate.lowerAvgPosition;
                     upperAVGPos = estimate.upperAvgPosition;
                 }
             }
             else
                 return;
         }

 On May 27, 2:19 pm, Riaan van der Linde riaan...@gmail.com wrote:



  Hi,

  We have used your sandbox feature to develop an application and
  received some mock data from your sandbox server.
  However since we created a new account and got the developer token
  approved that same code is not working anymore. I have even used your
  own code sample to make sure that I am doing everything right. I tried
  this class (http://code.google.com/p/google-api-adwords-dotnet/source/
  browse/trunk/Examples/v13/KeywordEstimateDemo.cs)

  The problem is that I get 1 estimate back from the api but all the
  following values are set to 0:

  estimate.lowerClicksPerDay;
  estimate.upperClicksPerDay;
  estimate.lowerCpc;
  estimate.upperCpc;
  estimate.lowerAvgPosition;
  estimate.upperAvgPosition;

  id and idField is also set to -1
  Can you please help

  The developer token is working because we also use the
  AdWordsService.v200909.TargetingIdeaService and that seems to be
  returning proper keyword variations.

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


Re: Reporting::Change History

2010-05-28 Thread AdWords API Advisor
Hi Suraj,

Unfortunately change history is not available in the AdWords API.

Best,
- Eric Koleda, AdWords API Team

On May 27, 1:20 pm, Suraj Khakurel sur...@adisem.com wrote:
 Hi,

 Is there any way to get Adwods - Reporting - Change History through the 
 Adwords API  from ReportService V13 or  from the new beta ReportService?

 Regards
 -Suraj

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


Re: addition info re: new features in version v201003?

2010-05-28 Thread Alex Parij
http://code.google.com/apis/adwords/v2009/docs/releasenotes.html
(Also check the left side bar for full description)


Alexander Parij


On May 28, 12:27 pm, t t...@marinsoftware.com wrote:
 Does anyone know where I can find additional information (besides the
 short desc) regarding the new features in version v201003?

 http://adwordsapi.blogspot.com/2010/05/introducing-adwords-api-versio...

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


Re: v201003 beta

2010-05-28 Thread Alex Parij
What about these question ?

Thanks.

On May 26, 4:59 pm, Alex Parij paris.a...@gmail.com wrote:
 Hi ,

 I have couple of question regarding the new api and specifically
 ReportDefinitionService :

 1) Beta version means the API will change significantly when it will
 be out beta ? Is it just less tested version and the api itself is
 basically frozen ?
 2) In the API rate sheet I could not find the cost of report download.

 Thank you.

 Alexander Parij

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


Re: Help on Billing details

2010-05-28 Thread AdWords API Advisor
Hi Robert,

You can use the API to get stats about your campaigns, which include
cost information.  When using the CampaignSelector, ensure you
populate the statsSelector field using a start and end date.

  
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.CampaignSelector.html

The resulting campaign stats object includes a cost field:

  
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.CampaignStats.html

Best,
- Eric

On May 27, 9:39 pm, RobertPhoenix google...@abacus24-7.com wrote:
 I'm talking about ad service costs.

 Thanks,

 Robert.

 On May 27, 12:54 pm, AdWords API Advisor



 adwordsapiadvi...@google.com wrote:
  Hi Robert,

  Are you referring to API costs or ad service costs (CPC, CPM, etc)?

  Best,
  - Eric Koleda, AdWords API Team

  On May 26, 10:38 pm, RobertPhoenix google...@abacus24-7.com wrote:

   Searching through the documentation, and searching through this Forum,
   it appears that it is not possible to get a billing report.

   That would be very important so that I can capture the data and
   automatically reconcile credit card charges, so this is going to be
   really dissappointing if it is true (and also very strange)

   However, even if that is not possible it would be very valuable to
   have a near real time record of expense, so I suppose I should be able
   to get a performance report(s) for the previous day, and see the
   amount spent.

   Does anyone have any advice on this, and any possible pitfalls ?- 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


Re: Related to Get Placements By category name.

2010-05-28 Thread AdWords API Advisor
Hi Anil,

The definition of Vertical that you listed is correct, it allows you
to target or exclude certain placement types from a campaign or ad
group.  However, support for verticals (or Content Categories) is not
yet available in the TargetingIdeaService.

Best,
- Eric

On May 28, 7:41 am, Anil nammianilku...@gmail.com wrote:
 Thanks for your Reply...

 I have a small doubt. You have introduced new Term called Vertical
 under Criterion. What is Vertical? i have not seen vertical term in
 Double click exchange where i am able to see keywords and Placements.
 Can i use AdGroupCriterionService in V201003 Version to get sites
 for the array of Categories.

 I have read a Description for vertical which is mentioned as below.

 A vertical is used for targeting or excluding sites in the Google
 network that are related to a specific vertical or sub-vertical, e.g.
 category::AnimalsPets. Each category is specified as an array of
 string, where each element is the name of component of the path
 e.g.category::AnimalsPets is {Animals, Pets}. These verticals
 only apply to the content network.

 Kindly please help me in this regard.

 Regards,
 Anil

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


Re: API Unit Cost?

2010-05-28 Thread si...@hubbardmedia.com
Please... I could really do with some help here from google support.
Yesterday I used the below script to research LSV on 50,000 keywords.
This translated to 285,168 billable quota units or £49.49?  How can
this be?  As far as I can work out, I should only have been charged 50
API units (50,000 quota units), which is $12.50 (around £8.50).

I eagerly await your reply.

Regards, Simon

On May 28, 3:19 am, si...@hubbardmedia.com si...@hubbardmedia.com
wrote:
 Hi Guys,

 I seem to be chewing up 4 or more API units per invocation of my below
 script.  I'm confused because I'm only doing one get request to the
 targetingIdeaService, which  according to the published rate sheet
 should only cost me 1 API unit.

 Here's an excerpt of the code:

 $targetingIdeaService = $user-GetTargetingIdeaService('v200909');

                 $lang = new LanguageTarget();
                 $lang-languageCode = en;
                 $langs = array($lang);
                 $languageTargetSearchParameter = new
                 LanguageTargetSearchParameter($langs);

                 $country = new CountryTarget();
                 $country-countryCode = 'GB';
                 $countries = array($country);
                 $countryTargetSearchParameter = new
                 CountryTargetSearchParameter($countries);

                 // Create seed keyword.
                 $input_keyword = sleeping bags;
                 $num_results_per_page = 1;
                 $keyword = new Keyword();
                 $keyword-text = $input_keyword;
                 $keyword-matchType = 'EXACT';

                 // Create selector.
                 $selector = new TargetingIdeaSelector();
                 $selector-requestType = 'STATS';
                 $selector-ideaType = 'KEYWORD';
                 $selector-requestedAttributeTypes =
 array('KEYWORD','TARGETED_MONTHLY_SEARCHES');

                 // Set selector paging (required for targeting idea service).
                 $paging = new Paging();
                 $paging-startIndex = 0;
                 $paging-numberResults = $num_results_per_page;
                 $selector-paging = $paging;

                 // Create related to keyword search parameter.
                 $relatedToKeywordSearchParameter = new
 RelatedToKeywordSearchParameter();
                 $relatedToKeywordSearchParameter-keywords = array($keyword);
                 $selector-searchParameters = 
 array($relatedToKeywordSearchParameter,
 $countryTargetSearchParameter,$languageTargetSearchParameter);

                 $page = $targetingIdeaService-get($selector);

                 if (isset($page-entries)) {
                   foreach ($page-entries as $targetingIdea) {
                     $keyword = $targetingIdea-data[1]-value-value;
                     $lsv = $targetingIdea-data[0]-value-value[0]-count;
                     $month=$targetingIdea-data[0]-value-value[0]-month;
                     $year=$targetingIdea-data[0]-value-value[0]-year;
                     if (!is_numeric($lsv)) $lsv=NULL;
                     else $lsv=$lsv.|.$month.|.$year;
                   }
                 } else $lsv=NULL;
             } catch (Exception $e) {}

 Why is this operating costing me 4 or more API units ever time I run
 this script?

 The only thing that I can think is that I'm being charged for the
 other methods that ther must be a cost associated with using the other
 methods (LanguageTarget, CountryTarget etc.) that I'm using to narrow
 the search results?

 Also, is there a way to get accurate reporting on the API cost of each
 request?

 Please advise.

 Many thanks!
 Simon

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