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


Polygon Targeting Error

2010-05-28 Thread Remya Mohan
Hi Google Adwords Team

While doing Polygon Targeting , i got an error like this.

*TargetError.POLYGON_TOO_FEW_VERTICES*

I am defining a part of my code herewith

  $campaignId = '8053';
  $geoTargetList = new GeoTargetList();
  $geoTargetList->campaignId = $campaignId;
  $geoTargetList->targets =new PolygonTarget();

  $legeopoint= new GeoPoint();
  $legeopoint->latitudeInMicroDegrees='39925066';
  $legeopoint->longitudeInMicroDegrees='116409055';
  $geoTargetList->targets->vertices = $legeopoint;
  $geoTargetOperation = new CampaignTargetOperation();
  $geoTargetOperation->operand = $geoTargetList;
  $geoTargetOperation->operator = 'SET';
  $operations = $geoTargetOperation;
  $result = $campaignTargetService->mutate($operations);

I hope the latitudeInMicroDegrees and longitudeInMicroDegrees which i have
given here is correct as
 i got this value from compiling Geolocation.php sample API code.

Please help me out of this situation


-- 
Remya Mohan
Software Engineer
http://SparkSupport.com

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Anil
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::Animals>Pets. Each category is specified as an array of
string, where each element is the name of component of the path
e.g.category::Animals>Pets 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: Why do mutate operations automatically return list of modified objects?

2010-05-28 Thread dshevnock
Eric -

Any follow up on this suggestion?

Dan

On Apr 14, 3:42 pm, AdWords API Advisor 
wrote:
> Hi,
>
> Thank you for the explanation and suggestion.  I'll bring this up with
> the core engineering team and see what they think of the idea.
>
> Best,
> - Eric
>
> On Apr 14, 1:55 pm,dshevnock wrote:
>
>
>
> > I guess I am more questioning why it "automatically" returns a list of
> > all updated objects. Would it not be much more efficient if we could
> > pass along a flag that allows us to opt-in for a returned list of
> > those objects? If our software needs to go and update 5,000 criterion
> > bids (and the bids are the only thing I am modifying), I have to wait
> > for server to accept and process the SOAP request, generate a full
> > list of all criterion updated (including destination URLs, preferred
> > positions, keyword text, etc.) and wait for that object to come across
> > the network and ultimately discard all that extraneous data. That
> > seems highly inefficient in my opinion.
>
> > Or what is the possibility of just returning the modified parts of the
> > object updated?
>
> > On Apr 14, 12:05 pm, AdWords API Advisor
>
> >  wrote:
> > > Hi,
>
> > > In addition, when adding new items using the ADD operator, you need to
> > > retrieve the ids of the created items.
>
> > > Best,
> > > - Eric Koleda, AdWords API Team
>
> > > On Apr 14, 8:06 am, Ales Sturala  wrote:
>
> > > > Because AdWords in some rare cases changes your data. For example,
> > > > when creating or changing name of a campaign, it trims a white space
> > > > and double spaces in the name:
>
> > > > "   my    campaign" -> "my campaign"
>
> > > > The returned data is the exact form of how it is stored.
>
> > > > On Apr 13, 8:24 pm,dshevnock wrote:
>
> > > > > Out of curiosity, why do the mutate operations (such as
> > > > > AdGroupService.mutate, AdGroupCriterionService.mutate, etc.)
> > > > > automatically return a full list of the modified objects?

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


API Unit Cost?

2010-05-28 Thread si...@hubbardmedia.com
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


Help Please: No service named AdGroupAdServiceInterfacePort is available

2010-05-28 Thread Chris Kujawa
Good morning all!  I am at a loss as to why I am seeing the above
error.  The "offending" code is:


  AdGroupAdServiceInterface service = null;
  try {
service = user
  .getService( 
AdWordsService.V200909.ADGROUP_AD_SERVICE );
AdGroupAdSelector selector = new 
AdGroupAdSelector();
selector.setCampaignIds( campaignIds );
StatsSelector statsSelector = new 
StatsSelector();
statsSelector.setDateRange( new DateRange( 
dateMin, dateMax ) );
AdGroupAdPage page = service.get( selector );


The last line in the above sequence that gets called before I see the
SOAPFault is service.get( selector );

I've poure through the docs and examples and everything *looks*
correct to me...am I missing something though?


Thanks in advance for any help/advice you can offer.

Chris

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
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  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  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 
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  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  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 
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é  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 :
> >            4
> >           4
>
> > 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 :
> >           59
> >           832
> > 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=tar&pathrev=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=feedburner&utm_medium=feed&utm_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: v201003 beta , ReportDefinitionService- Structure report not included ?

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

The v201003 ReportDefinitionService beta doesn't include an
AccountStructure report.  However, the new reports by default include
zero-impression rows for keywords, ad groups, etc, which allows you to
get the account structure data using the performance reports.

As for the report fields, I'll discuss listing these in the
documentation with our tech writer.

Best,
- Eric Koleda, AdWords API Team

On May 28, 10:42 am, Alex Parij  wrote:
> Any contact at google where I can get these questions answered ?
>
> On May 26, 3:49 pm, Clay  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: 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  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  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  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: Sign up for Adwords API center

2010-05-28 Thread RobertPhoenix
I'm not perfectly sure what you are asking, but here is what I did.

I created an MCC account, and by default (apparently) it came up with
the old interface.  I then linked to an existing account (possibly
because I couldn't see the Adwords API menu item at that time, or
possibly because there was no point in looking for the Adwords API
before I had an account)

Then I started to look for the Adwords API menu item and couldn't find
it, so I posted a message in the adwords forum, and was directed to
this forum, where I posted another message.

After searching around on my own I found the answer to the problem
i.e. move to the new interface, and was able to apply for a token and
get it approved.

I'm now using the new interface and don't see any problems (yet ! )
with accessing the linked account, but I have not yet tried an API
call with the token.

Robert.

On May 27, 3:46 pm, AdWords API Advisor 
wrote:
> Hi Robert and Adam,
>
> As a follow up, were there new MCC accounts that were in the old UI?
> Did you explicitly set them up to use the old UI?
>
> Thanks,
> - Eric
>
> On May 27, 3:46 pm,AdWordsAPIAdvisor 
> wrote:
>
>
>
> > Hi Robert,
>
> > Thanks for the information, and good catch.  I'll make sure this
> > information is incorporated into the documentation.
>
> > Best,
> > - Eric
>
> > On May 26, 4:51 pm, RobertPhoenix  wrote:
>
> > > I was logged into the MCC account, but still couldn't see theAdWords
> > >APICenterMenu Item.
>
> > > I now know what the problem is.  You have two MCC Client interfaces.
>
> > > 1.  Click on "My ClientCenter" Tab
>
> > > 2.  Look down to the middle of the page.  There is a link that says
> > > "View New MCC Interface"
>
> > > 3.  Click on that link, and then look for the tab "My Account"
>
> > > 4.  The "My Account" tab has the menu item we are looking for "AdWords
> > >APICenter"
>
> > > Problem solved !!
>
> > > On May 26, 7:49 am,AdWordsAPIAdvisor 
> > > wrote:
>
> > > > Hi Murray,
>
> > > > If you token has already been approved once you can continue using it
> > > > while it's under re-review.  Regardless, I've re-approved your token.
>
> > > > Hi Robert,
>
> > > > TheAdWordsAPICentermenu item will only show up when you are logged
> > > > in to your MCC account, not your regularAdWordsaccount that is
> > > > linked to it.
>
> > > > Best,
> > > > - Eric
>
> > > > On May 25, 9:22 pm, RobertPhoenix  wrote:
>
> > > > > I am having exactly the same problem.
>
> > > > > I read through the instructions, and it says
>
> > > > > "If you already have an MCC account, you can sign up for theAdWords
> > > > >APIdirectly from the My Account tab. Click on "APICenter"
>
> > > > > So I created an MCC account, and linked an account into it.
>
> > > > > But when I click on "My Account" tab the words "APICenter" are not on
> > > > > the page.
>
> > > > > What have I missed ?  What else do I need to do, to be able to get
> > > > > started on accessing theAdWordsAPI?
>
> > > > > Should I guess the rest of the email address you quoted "Send your
> > > > > account details to adwordsapiadvi...@google.com and then update this
> > > > > thread so I know to check that inbox." ?
>
> > > > > Or do you have a magic way to make the whole address visible to me ?
>
> > > > > Thanks,
>
> > > > > Robert.
>
> > > > > On May 25, 6:02 pm,AdWordsAPIAdvisor 
> > > > > wrote:
>
> > > > > > Hi Adam,
>
> > > > > > Send your account details to adwordsapiadvi...@google.com and then
> > > > > > update this thread so I know to check that inbox.
>
> > > > > > Best,
> > > > > > - Eric
>
> > > > > > On May 24, 4:42 pm, adam  wrote:
>
> > > > > > > Eric,
> > > > > > > I did login with the separate MCC account. I even tried again now
> > > > > > > registering and logging in with a new MCC account, still there is 
> > > > > > > no
> > > > > > >AdWordsAPICentertab.
> > > > > > > Where exactly is it supposed to be? In the 'My account' panel 
> > > > > > > using
> > > > > > > the top right link? Could you please check my account status, I 
> > > > > > > need
> > > > > > > to access theAdwordsAPI.
>
> > > > > > > Thank you and regards,
> > > > > > > Adam
>
> > > > > > > On 21 Maj, 18:50,AdWordsAPIAdvisor 
> > > > > > > wrote:
>
> > > > > > > > Hi Adam,
>
> > > > > > > > The "AdWordsAPICenter" tab is only available when you log in 
> > > > > > > > using
> > > > > > > > your MCC account, which has a separate login and password then 
> > > > > > > > your
> > > > > > > > normalAdWordsaccount.
>
> > > > > > > > Best,
> > > > > > > > - Eric Koleda,AdWordsAPITeam
>
> > > > > > > > On May 20, 6:39 pm, adam  wrote:
>
> > > > > > > > > Hi,
> > > > > > > > > I am trying to sign up for theadwordsAPIcenterby following the
> > > > > > > > > instructions at this 
> > > > > > > > > page:https://adwords.google.com/support/aw/adwordsapi/bin/answer.py?hl=sv&;...
>
> > > > > > > > > I have already registred a MCC account, still there is no 
> > > > > > > > > "APICenter"
> > > > > > > > > tab anywhere. I have seen several threads about this

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  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 , ReportDefinitionService- Structure report not included ?

2010-05-28 Thread Alex Parij
Thanks Eric !

I just hope that the KeywordIsNegative field from AccountStructure is
included in v2010 otherwise Keyword Performance is not fully replacing
AccountStructure.


On May 28, 12:39 pm, AdWords API Advisor
 wrote:
> Hi All,
>
> The v201003 ReportDefinitionService beta doesn't include an
> AccountStructure report.  However, the new reports by default include
> zero-impression rows for keywords, ad groups, etc, which allows you to
> get the account structure data using the performance reports.
>
> As for the report fields, I'll discuss listing these in the
> documentation with our tech writer.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On May 28, 10:42 am, Alex Parij  wrote:
>
>
>
> > Any contact at google where I can get these questions answered ?
>
> > On May 26, 3:49 pm, Clay  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 beta

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

Thanks.

On May 26, 4:59 pm, Alex Parij  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: Getting stats for seed keyword

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

The seed keyword will usually be returned in the list of ideas,
although it may be far from the top of the list.  You can request just
the stats of your seed keywords using the requestType STATS:

  
http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.TargetingIdeaSelector.html#requestType

Best,
- Eric Koleda, AdWords API Team

On May 27, 4:04 pm, Jeff Menard  wrote:
> Hi,
>
> I'm using TargetingIdeaService with a RelatedToKeywordSearchParameter
> to get suggestions related to a seed keyword and
> the TARGETED_MONTHLY_SEARCHES for each suggestion. The results are
> returned fine, but is there a way, using v2009,
> to also get the TARGETED_MONTHLY_SEARCHES for my seed keyword (it is
> not included in the results)?
>
> For example, if I use "garden" as the seed keyword, the first few
> results I get are:
> --
> Related word    Searches
> the garden              40500
> in the garden   14800
> home garden     12100
> home & garden       12100
> --
> but nowhere in the results is the word "garden" alone displayed
>
> Thank you,
>
> Jeff Menard

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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  wrote:
> I'm talking about ad service costs.
>
> Thanks,
>
> Robert.
>
> On May 27, 12:54 pm, AdWords API Advisor
>
>
>
>  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  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: authToken is missing in SoapHeader

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

As far as I can tell, you are facing a combination of a mis-configured
library and a library bug. Here's what's triggering the exception:

- Somehow, the app.config is still mis-configured, so Email and
Password defaults to empty strings
- So Authtoken also defaults to null
- Since Authtoken is null, the library doesn't send an AuthToken to
the server.
- The server returns a SoapHeaderException (as opposed to a
SoapException) about missing header, and hence its Details node is
null
- AdWordsApiService.cs tries to read Details node and throws a NPE.

I'm listing the steps required to configure a fresh project to use the
client library. Let me know if this works for you.

1. Create a Console application project.
2. Copy google-api-adwords-dotnet.dll over to your working directory.
If you rename this dll, remember to change the assembly name in your
app.config as well (in step 4)
3. Add reference to google-api-adwords-dotnet.dll, System.Web.Services
and System.Configuration in Console application.
4. Copy src\app.config and use it to replace your app.config (Or if
you can, copy the relevant nodes - AdWordsApi, System.net, System.web,
configsections\AdWordsApi)
5. Add relevant credentials in app.config -  CompanyName, Email,
Password, ClientEmail, DeveloperToken
6. Add your code to call AdWords API - Refer to the code samples to
get started easier.
7. Build and run your project.

As for the bug, you need a check on line 45 of adwordsapiservice.cs,
as follows:

if (!string.IsNullOrEmpty(defaultNs) && ex.Detail != null) {
...
}

There is an open bug about this issue, see
http://code.google.com/p/google-api-adwords-dotnet/issues/detail?id=42.
I'll fix this issue in the next version of the client library.

Best,
- Anash P. Oommen, AdWords API Team


On May 27, 6:39 am, louis  wrote:
> Hi
>
> Im getting an "authToken is missing in SoapHeader", simple project,
> downloaed the dll and referenced them, c# below. Firstly had one or
> two issues with the app config not pulling in the authentication
> correctly, fixed that then this which i dont see a hell of a lot
> about.
>
> Have set the properties to log the soap which worked for the
> authentication errors but not for this one which is a bit strange
>
> any ideas?
>
> c# class
>
>             AdWordsUser user = new AdWordsUser();
>
>             TargetingIdeaService service =
> (TargetingIdeaService)user.GetService(AdWordsService.v200909.TargetingIdeaS 
> ervice);
>
>             TargetingIdeaSelector selector = new
> TargetingIdeaSelector();
>
>             Keyword[] keyword = new Keyword[1];
>
>             keyword[0] = new Keyword();
>
>             keyword[0].text = "data recovery";
>
>             RelatedToKeywordSearchParameter related = new
> RelatedToKeywordSearchParameter();
>
>             related.keywords = keyword;
>
>             CountryTargetSearchParameter countries = new
> CountryTargetSearchParameter();
>
>             CountryTarget[] country = new CountryTarget[1];
>
>             country[0] = new CountryTarget();
>             country[0].countryCode = "GB";
>
>             countries.countryTargets = country;
>
>             TargetingIdeaSelector targetidea = new
> TargetingIdeaSelector();
>
>             SearchParameter[] parms = new SearchParameter[1];
>             parms[0] = related;
>
>             targetidea.ideaType = IdeaType.KEYWORD;
>             targetidea.requestType = RequestType.STATS;
>             targetidea.searchParameters = parms;
>
>             AttributeType[] attributes = new AttributeType[2];
>             attributes[0] = new AttributeType();
>             attributes[1] = new AttributeType();
>
>             attributes[0] = AttributeType.TARGETED_MONTHLY_SEARCHES;
>             attributes[1] = AttributeType.KEYWORD;
>
>             targetidea.requestedAttributeTypes = attributes;
>
>             Paging paging = new Paging();
>
>             paging.numberResults=150;
>
>             targetidea.paging = paging;
>
>             TargetingIdeaPage page = service.get(targetidea);
>
> app config
>
> 
> 
>   
>     
> type="com.google.api.adwords.lib.ApplicationConfiguration,google-api-
> adwords-dotnet"/>
>   
>   
>     
>     
>     
>     
>     
>
>     
>     
>
>     
>     
>     
>     
>     
>     
>     
>     
>
>     
>              value="X"/> -->
>
>     
>     
>
>     
>     
>
>     
>     https://adwords-
> sandbox.google.com"/>
>   
>   
>     
>       
>         
>         
>       
>     
>   
>   
>     
>       
>     
>   
> 
>
> error i get on debug
>
> authToken is missing in SoapHeader. while invoking public abstract
> com.google.ads.api.services.targetingideas.v200909.jaxbgen.TargetingIdeaPag e
> com.google.ads.api.services.targetingideas.v200909.jaxbgen.TargetingIdeaSer 
> viceInterface.get(com.google.ads.api.services.targetingideas.v200909.jaxbge 
> n.TargetingIdeaSelector)
> throws
> com.google.ads.api.services.targetingideas.v200909.jaxbgen.ApiException_Exc 
> eption
> with params
> [com.g

Java Heap Space - CampaignSelector, AdGroupAdSelector, AdGroupSelector, AdGroupCriterionSelector

2010-05-28 Thread Inah from Brazil
Hello everybody!
We're trying to get all campaigns, adGroups, ads and keywords that
already exist in Adwords. But we are having problems with Java Heap
Space when we try to do communication with the the Google API.
We just do ONE request for a list returning the entities found, but we
could notice by VisualVM that memory is overloading every time in
these lines

CampaignPage = CampaignPage campaignService.get (selector);
AdGroupPage = AdGroupPage adGroupService.get (selector);
AdGroupCriterionPage = AdGroupCriterionPage
adGroupCriterionService.get (selector);
AdGroupAdPage = AdGroupAdPage adGroupAdService.get (selector);

Does anyone have any idea what we might be doing wrong?

Thank you!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Polygon Targeting Error

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

A PolygonTarget required at least 3 vertices (to form a triangle).  In
your code you are only specifying one vertice, which is a point.

Best,
- Eric Koleda, AdWords API Team

On May 28, 7:41 am, Remya Mohan  wrote:
> Hi Google Adwords Team
>
> While doing Polygon Targeting , i got an error like this.
>
>         *TargetError.POLYGON_TOO_FEW_VERTICES*
>
> I am defining a part of my code herewith
>
>       $campaignId = '8053';
>       $geoTargetList = new GeoTargetList();
>       $geoTargetList->campaignId = $campaignId;
>       $geoTargetList->targets =    new PolygonTarget();
>
>       $legeopoint= new GeoPoint();
>       $legeopoint->latitudeInMicroDegrees    ='39925066';
>       $legeopoint->longitudeInMicroDegrees    ='116409055';
>       $geoTargetList->targets->vertices = $legeopoint;
>       $geoTargetOperation = new CampaignTargetOperation();
>       $geoTargetOperation->operand = $geoTargetList;
>       $geoTargetOperation->operator = 'SET';
>       $operations = $geoTargetOperation;
>       $result = $campaignTargetService->mutate($operations);
>
> I hope the latitudeInMicroDegrees and longitudeInMicroDegrees which i have
> given here is correct as
>  i got this value from compiling Geolocation.php sample API code.
>
> Please help me out of this situation
>
> --
> Remya Mohan
> Software Engineerhttp://SparkSupport.com

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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  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::Animals>Pets. Each category is specified as an array of
> string, where each element is the name of component of the path
> e.g.category::Animals>Pets 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" 
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