Re: AuthenticationError.CLIENT_EMAIL_INVALID

2010-09-07 Thread AdWords API Advisor
Hi,

Can you confirm if you are sending your request to the production
server (https://adwords.google.com) and not the sandbox server
(https://adwords-sandbox.google.com)?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 8, 11:06 am, aBsTrAcT  wrote:
> ?
>
> On Sep 6, 4:32 pm, aBsTrAcT  wrote:
>
>
>
> > Anyone available? Need urgent response.
>
> > Thanks.
>
> > On Sep 6, 1:06 pm, aBsTrAcT  wrote:
>
> > > Hi,
> > > I am using php lib. When I Add a Campaign on live, it gives me this
> > > error:
> > > AuthenticationError.CLIENT_EMAIL_INVALID
>
> > > If I enter client id xxx-xxx- in place of email, it gives this
> > > error:
> > > AuthenticationError.CUSTOMER_NOT_FOUND
>
> > > About this client Email address, I am able to login to adwords
> > > account.
>
> > > Request id for email invalid call is:
> > > 09985d637aba34dfc8a1fd4d7b66f2e3
>
> > > Any solution for this.
>
> > > I will be looking forward for a reponse.
>
> > > Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Sorry if this has been asked before, but...

2010-09-07 Thread AdWords API Advisor
Hi,

It looks like you are running into the policy check for excessive
punctuation. See 
http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=12392
for details. << and >> gets interpreted as excessive punctuation in
this case, and the server throws PolicyViolationError.

Editorial policy errors are exemptable, so you can upload these ads by
adding an ExemptionRequest. To add an exemption request,

- Check PolicyViolationError.isExemptable to see if the error is
exemptable or not.
- If yes, make an ExemptionRequest, and set its key to
PolicyViolationError.key.
- Set the exemptionRequest in AdGroupAdOperation.exemptionRequests and
make your call again.

See the following links for more details:

http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupAdService.AdGroupAdOperation.html#exemptionRequests
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupAdService.ExemptionRequest.html#key
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupAdService.PolicyViolationError.html#isExemptable
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupAdService.PolicyViolationError.html#key

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 8, 6:31 am, jhgd  wrote:
> Is it required that we submit URL encoded strings for the headline,
> description1, and description2? We're getting policy errors on simple
> input, e.g. <> & Immediate Service.
>
> Cheers!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 reports have incorrect conversion figures

2010-09-07 Thread AdWords API Advisor
Hi MT,

If you can post the request id for adding the report definitions, I
can check our server logs and see what went wrong with these reports.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 7, 1:11 pm, MT  wrote:
> I'm running reports for a client with no conversions during the time
> period, but the Ad Performance Report and Keyword Performance Report
> do show a number of conversions (more conversions than clicks
> actually). Adgroup Performance Report and Campaign Performance Report
> for the same time period are correct, with zero conversions.
>
> I can give you the full query information if you contact me by email.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Campaign service selector in v201003 using python library 12.1.0

2010-09-07 Thread AdWords API Advisor
Hi,

http://code.google.com/p/google-api-adwords-python-lib/source/browse/trunk/tests/campaign_service_unittest.py#340
and 
http://code.google.com/p/google-api-adwords-python-lib/source/browse/trunk/tests/campaign_service_unittest.py#361
shows how to use selectors with campaign service. Can you have a look
and see if you are constructing your selectors as shown in those test
cases?

Cheers,
Anash P Oommen,
AdWords API Advisor.

On Sep 7, 8:29 pm, mmrs151  wrote:
> I am trying the following code in the python terminal as you have
> stated in the get_all_campaigns.py using latest python library 12.1.0
> for v201003,
> import os
> import sys
> sys.path.append(os.path.join('..', '..', '..', '..'))
>
> from adspygoogle.adwords.AdWordsClient import AdWordsClient
> client = AdWordsClient(path=os.path.join('..', '..', '..', '..'))
> campaign_service = client.GetCampaignService('https://adwords-
> sandbox.google.com', 'v201003')
>
> selector = {}
> campaigns = campaign_service.Get(selector)[0]
>
> in this point it gives me the following error,
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
> lib/python2.6/site-packages/adspygoogle/adwords/CampaignService.py",
> line 83, in Get
>     'Campaign', self._loc, request)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
> lib/python2.6/site-packages/adspygoogle/adwords/AdWordsWebService.py",
> line 252, in CallMethod
>     self.__ManageSoap(buf, start_time, stop_time, error)
>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
> lib/python2.6/site-packages/adspygoogle/adwords/AdWordsWebService.py",
> line 130, in __ManageSoap
>     raise Error(e)
> adspygoogle.common.Errors.Error
>
> I think its something to do with selector but don't have a clue about
> the fix.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AuthenticationError.CLIENT_EMAIL_INVALID

2010-09-07 Thread aBsTrAcT
?

On Sep 6, 4:32 pm, aBsTrAcT  wrote:
> Anyone available? Need urgent response.
>
> Thanks.
>
> On Sep 6, 1:06 pm, aBsTrAcT  wrote:
>
> > Hi,
> > I am using php lib. When I Add a Campaign on live, it gives me this
> > error:
> > AuthenticationError.CLIENT_EMAIL_INVALID
>
> > If I enter client id xxx-xxx- in place of email, it gives this
> > error:
> > AuthenticationError.CUSTOMER_NOT_FOUND
>
> > About this client Email address, I am able to login to adwords
> > account.
>
> > Request id for email invalid call is:
> > 09985d637aba34dfc8a1fd4d7b66f2e3
>
> > Any solution for this.
>
> > I will be looking forward for a reponse.
>
> > Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 me, Why I got different results

2010-09-07 Thread AdWords API Advisor
Hi,

Currently the TargetingIdeaService in some cases may return different
monthly search volume information than the Keyword Tool UI.  We are
working to resolve this discrepancy and hope to have the work complete
soon.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 7, 10:58 am, "wenxue@cubead.com"  wrote:
>  I am the first time to use Google API in keyword search.
> The problem is 'the locale monthly searches' value I got form google
> backstage is different with the data I got through Google keywords API
> on keyword like "mba辅导", I urgently want to know how did this happen.
>
>the keyword 'mba辅导' values on  'the locale monthly searches'  I
> got through google backstage as follow:
> --- 
> --
> data source -   keyword  ---  local avg monthly searches
> (broad) --- local avg monthly searches  (phrase)    local avg
> monthly searches  (exact)  ---  country  language
>
> google backstage  mba辅导   6600 4400
> 1300   china simple-chinese
>
> google API   mba辅导   14800
> *** ***china  simple-chinese
>
> --- 
> --- 
> ---
>the code as follow:
> --- 
> --- 
> ---// Copyright 2010, Google Inc. All Rights Reserved.
> //
> // Licensed under the Apache License, Version 2.0 (the "License");
> // you may not use this file except in compliance with the License.
> // You may obtain a copy of the License at
> //
> //http://www.apache.org/licenses/LICENSE-2.0
> //
> // Unless required by applicable law or agreed to in writing, software
> // distributed under the License is distributed on an "AS IS" BASIS,
> // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
> // See the License for the specific language governing permissions and
> // limitations under the License.
>
> package v201003;
>
> import java.util.Map;
>
> import com.google.api.adwords.lib.AdWordsService;
> import com.google.api.adwords.lib.AdWordsServiceLogger;
> import com.google.api.adwords.lib.AdWordsUser;
> import com.google.api.adwords.lib.utils.MapUtils;
> import com.google.api.adwords.v201003.cm.CountryTarget;
> import com.google.api.adwords.v201003.cm.Keyword;
> import com.google.api.adwords.v201003.cm.KeywordMatchType;
> import com.google.api.adwords.v201003.cm.LanguageTarget;
> import com.google.api.adwords.v201003.cm.Paging;
> import com.google.api.adwords.v201003.o.Attribute;
> import com.google.api.adwords.v201003.o.AttributeType;
> import
> com.google.api.adwords.v201003.o.AverageTargetedMonthlySearchesSearchParame 
> ter;
> import com.google.api.adwords.v201003.o.CountryTargetSearchParameter;
> import com.google.api.adwords.v201003.o.DoubleAttribute;
> import com.google.api.adwords.v201003.o.IdeaType;
> import com.google.api.adwords.v201003.o.KeywordAttribute;
> import
> com.google.api.adwords.v201003.o.KeywordMatchTypeSearchParameter;
> import com.google.api.adwords.v201003.o.LanguageTargetSearchParameter;
> import com.google.api.adwords.v201003.o.LongAttribute;
> import com.google.api.adwords.v201003.o.MonthlySearchVolume;
> import com.google.api.adwords.v201003.o.MonthlySearchVolumeAttribute;
> import
> com.google.api.adwords.v201003.o.RelatedToKeywordSearchParameter;
> import com.google.api.adwords.v201003.o.RequestType;
> import com.google.api.adwords.v201003.o.SearchParameter;
> import com.google.api.adwords.v201003.o.TargetingIdea;
> import com.google.api.adwords.v201003.o.TargetingIdeaPage;
> import com.google.api.adwords.v201003.o.TargetingIdeaSelector;
> import com.google.api.adwords.v201003.o.TargetingIdeaServiceInterface;
>
> /**
>  * This example gets keywords related to a seed keyword.
>  *
>  * Tags: TargetingIdeaService.get
>  *
>  * @author api.aro...@gmail.com (Adam Rogal)
>  */
> public class GetRelatedKeywords {
>   public static void main(String[] args) throws Exception {
> // Log SOAP XML request and response.
> AdWordsServiceLogger.log();
>
> // Get AdWordsUser from "~/adwords.properties".
> AdWordsUser user = new AdWordsUser();
>
> // Get the TargetingIdeaService.
> TargetingIdeaServiceInterface targetingIdeaService
> =user.getService(AdWordsService.V201003.TARGETING_IDEA_SERVICE);
>
> // Create seed keyword.
> Keyword keyword = new Keyword();
> keyword.setText("mba辅导");
> keyword.setMatchType(KeywordMatchType.BROAD);
> // Create selector.
> TargetingIdeaSelector selector = new TargetingIdeaSelector();
> selector.setRequestType(RequestType.IDEAS);//RequestType.STATS 不联想
> selec

Re: If you're script just stops running or won't run

2010-09-07 Thread AdWords API Advisor
Hi,

Looks like this is a known issue, see
http://code.google.com/p/google-api-adwords-php/issues/detail?id=13.

For now, you can go for one of the following workarounds:

- The logging is turned on by calling $user->LogDefaults();, so you
could turn off logging on your production server.

- If you can modify the library code at your end, then another thing
you can do is to add a flag to log only when exceptions happen. The
place to look for is
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php#198.
You can add a check like:

if ($logOnlyErrors) {// your flag for controlling logging
behaviour.
if (isset($e)) {
  $this->LogSoapXml();
  $this->LogRequestInfo();
}
} else {
   $this->LogSoapXml();
   $this->LogRequestInfo();
}

Could you please open a bug at 
http://code.google.com/p/google-api-adwords-php/issues/list
requesting the ability to restrict logs only for errors?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 8, 1:01 am, phpguy  wrote:
> It seems like I've encountered this a few times now but I wanted to
> post this message for either development purposes, FAQ or just a heads
> up for anyone having similar problems.
>
> My script has been tested and works great.  Every now and then it
> stops running.  I try to start back up but no dice.  It gets to trying
> to connect to the API and completely stops or it'll be executing the
> script perfectly and stop in the middle.
>
> I then have to delete the API client library (PHP, in my case) and re-
> upload it.  Then it runs fine.
>
> I just figured out the problem today.  I decided to delete the log
> files and sure enough that was the block.  Not sure if this is
> personal server settings or a problem elsewhere but if my log file
> gets to big it stops the entire script and won't let me start it back
> up.
>
> So the resolution is either make some server-based changes (maybe) or
> delete the log file or stop the script from writing to it once you're
> script executes properly.  The problem is it's harder to diagnose
> issues but that's the point I'm at now.
>
> Let me know if anyone knows where a server setting/preference for this
> would be or if it's something on the AdWords API-side.
>
> Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: "Fault occurred while processing." when doing bidtransition test

2010-09-07 Thread AdWords API Advisor
Hi,

I've opened an issue with the Adwords team to investigate this issue.
I'll update this thread once I hear from them.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 7, 12:07 pm, "Peer Jakobsen (AdWords API Guru)"
 wrote:
> We test a campaign for conversion optimizer eligibility by doing a
> bidtransition test (validateOnly). On some of the campaigns we get a
> high level soap error. It seems to happen on campaigns that run ACE
> (Advanced Campaign Experiment)
>
> Soap response:
> http://schemas.xmlsoap.org/soap/envelope/";>
>         
>                  xmlns="https://adwords.google.com/api/adwords/cm/
> v200909">
>                         
> 983004778bdef086a1c12fa497eb720c
>                         1
>                         7932
>                         1
>                 
>         
>         
>                 
>                         soap:Server
>                         Fault occurred while 
> processing.
>                 
>         
> 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED.

2010-09-07 Thread AdWords API Advisor
Hi Ojak,

I checked with the AdWords team yesterday, I was told that
RESPONSE_SIZE_LIMIT_EXCEEDED applies only for get(), not
for mutate(). I've written to them asking if there are other factors
that limit the number of operations on a mutate(). I'll update this
thread once I hear from them.

Pitambari,

Can you confirm if you were doing a campaign mutate when you ran into
this issue? Will it be possible to post a requestid for
a failed request?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 4, 7:20 am, ojak  wrote:
> Anash,
>
> I share Pitambari's frustration here.  We also receive API errors
> based on undocumented, arbitrary system limits and it's quite painful
> to catch and correct for these sorts of exceptions (i.e. it kills our
> productivity since we often spend more time writing error-handling/
> retry code than deployment code).
>
> For example, how are we to know *how many* Ad Group ADD operations may
> be sent in a single AdGroup request (10, 100, 1000, 1)?  The
> results can't be paged on creation, since paging only works on
> selectors, so how are we set our operation array sizes?  Guess and
> check?  Use some other method?
>
> More to the point, are there any ways to remove undocumented,
> arbitrary limits from the API entirely?  Even if the limits are "low",
> it's really important for developers to have a predictable framework
> (i.e. it would make our lives much easier).  Any additional help here
> would be greatly appreciated.
>
> Thanks in advance for your help.
>
> On Aug 26, 4:45 am, AdWords API Advisor 
> wrote:
>
>
>
> > Hi Pitambari,
>
> > The AdWords API server sets a maximum size on the size of the SOAP
> > response xml. If you are running into this error, the workaround is to
> > process lesser number of items per request. If you are uploading
> > campaigns, then mutate a lesser number of campaigns per call. If you
> > are fetching campaigns, try using paging to retrieve a lesser number
> > of campaigns per request.
>
> > Seehttp://code.google.com/apis/adwords/v2009/docs/reference/CampaignServ...
> > for additional details.
>
> > Unfortunately, I cannot share a number for the upper limit on response
> > size.
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.
>
> > On Aug 25, 2:04 pm, Pitambari  wrote:
>
> > > I am gettingSizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED.
>
> > > Please can I know what is the reason and what is the maximum size
> > > limit ?
> > > Uploading campaigns gives me this error ...

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


Sorry if this has been asked before, but...

2010-09-07 Thread jhgd
Is it required that we submit URL encoded strings for the headline,
description1, and description2? We're getting policy errors on simple
input, e.g. <> & Immediate Service.

Cheers!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: discrepancy between API stats and keyword suggestion

2010-09-07 Thread AdWords API Advisor
Hi,

Currently the TargetingIdeaService in some cases may return different
monthly search volume information then the Keyword Tool UI.  We are
working to resolve this discrepancy and hope to have the work complete
soon.

Best,
- Eric Koleda, AdWords API Team

On Sep 4, 1:41 pm, moltar  wrote:
> I'm seeing some huge discrepancies between the results from the API
> and results from the keyword suggestion tool. For example keyword
> "yoga ottawa", doing EXACT match for Canada. Suggestion tool returns
> 720 local volume, while API returns 0 (zero). I have many keywords
> that do that. How come? What values should I trust?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Ad Type in the V201003 Report Service

2010-09-07 Thread AdWords API Advisor
Hi Ewan,

Unfortunately the ad type field currently isn't available in the
v201003 AD_PERFORMANCE_REPORT.  The core engineering team is aware of
this information gap, but at this time I don't have any further
information.

Best,
- Eric Koleda, AdWords API Team

On Sep 4, 1:09 pm, ewan  wrote:
> Hi,
>
> Does anyone know what the name of the "Ad type" field is on the Ad
> performance report in the new report service?
>
> Thanks,
>
> Ewan

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Ad Performance Report in v201003 Beta

2010-09-07 Thread AdWords API Advisor
Hi Trevor,

This feature request hasn't been forgotten, but there are some
internal dependencies holding it up.  Unfortunately I still don't have
an estimate for when it will be available, but feel free to check in
on this thread periodically.

Best,
- Eric

On Sep 3, 3:56 pm, Trevor  wrote:
> Just wondering if there any updates on when this is going to be
> available.
>
> Cheers,
>
> Trevor
>
> On Jul 28, 6:01 pm, AdWords API Advisor 
> wrote:
>
>
>
> > Hi,
>
> > The fields available for areportcan change in-between API releases,
> > but at this time I don't have an estimate of when those fields will be
> > available.
>
> > Best,
> > - Eric
>
> > On Jul 28, 6:33 pm, SEM  wrote:
>
> > > Thanks Eric. When you said you are going to expose related keyword
> > > fields in ad performancereportin future, does that mean they will be
> > > available when v201003 API release is out or is it going to be beyond
> > > that?
>
> > > Thanks.
>
> > > On Jul 27, 11:05 am, AdWords API Advisor
>
> > >  wrote:
> > > > Hi,
>
> > > > There are plans to expose this type of breakdown in the future, but
> > > > there are some technical challenges that need to be sorted out first.
> > > > Thank you for your feedback regarding the importance of this feature,
> > > > and please let us know about any other features that are required for
> > > > you to migrate to this service.
>
> > > > Best,
> > > > - Eric Koleda, AdWords API Team
>
> > > > On Jul 26, 4:48 pm, SEM  wrote:
>
> > > > > Hi,
>
> > > > > We are in the process of evaluating the new ReportDefinitionService in
> > > > > AdWords API v201003 Beta.
>
> > > > > When comparing thereportdefinition fields for Ad PerformanceReport
> > > > > between v201003 and v13, we notice that the following fields relating
> > > > > to the corresponding keyword which triggered the ad are missing from
> > > > > v201003report:
>
> > > > > 1. KEYWORD_ID
> > > > > 2. KEYWORD_TEXT
> > > > > 3. KEYWORD_TYPE
> > > > > 4. KEYWORD_DESTINATION_URL
>
> > > > > That is, we do not see any fields in the Ad PerformanceReportwhich
> > > > > leads to the corresponding keyword which triggered this Ad record.
>
> > > > > Can you please let us know as to why this has changed? Will these
> > > > > fields be added later on to thisreport? If not, how do we link the ad
> > > > > records to corresponding keywords info?
>
> > > > > Thanks.- 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: How to get CPC for "Exact" Keywords with the Adwords API

2010-09-07 Thread AdWords API Advisor
Hi,

I'm able to get different Broad and Exact traffic estimates using that
service.  Can you post the sanitized SOAP XML request and response
that demonstrates the problem?

Best,
- Eric Koleda, AdWords API Team

On Sep 3, 8:17 am, jabychan  wrote:
> is there a chance to get CPCs especially for Keywords with the
> KeywordType Exact from the Adwords API. We tried to use as advised the
> TrafficEstimatorInterface but we noticed that the results dont match
> with the Excat Keyword but instead with the Broad Keyword. Futher
> doesn't it change the results if the KeywordType of the KeywordRequest
> is changed from Broad to Excat. Both result were alike.
>
> Thanks for your 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


If you're script just stops running or won't run

2010-09-07 Thread phpguy
It seems like I've encountered this a few times now but I wanted to
post this message for either development purposes, FAQ or just a heads
up for anyone having similar problems.

My script has been tested and works great.  Every now and then it
stops running.  I try to start back up but no dice.  It gets to trying
to connect to the API and completely stops or it'll be executing the
script perfectly and stop in the middle.

I then have to delete the API client library (PHP, in my case) and re-
upload it.  Then it runs fine.

I just figured out the problem today.  I decided to delete the log
files and sure enough that was the block.  Not sure if this is
personal server settings or a problem elsewhere but if my log file
gets to big it stops the entire script and won't let me start it back
up.

So the resolution is either make some server-based changes (maybe) or
delete the log file or stop the script from writing to it once you're
script executes properly.  The problem is it's harder to diagnose
issues but that's the point I'm at now.

Let me know if anyone knows where a server setting/preference for this
would be or if it's something on the AdWords API-side.

Thanks!

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


Targeting idea service returning all match types

2010-09-07 Thread chella
hi all,

i am using the TargetingIdeaService service to get the related
keywords with exact matches.

i have specified the keyword matchtype as below.

keyword.matchTypeSpecified = true;
keyword.matchType = KeywordMatchType.EXACT;

still its returning the keywords with all the match types
(EXACT,PHRASE,BROAD).

thanks in advance
chella k

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 me, Why I got different results

2010-09-07 Thread wenxue....@cubead.com
 I am the first time to use Google API in keyword search.
The problem is 'the locale monthly searches' value I got form google
backstage is different with the data I got through Google keywords API
on keyword like "mba辅导", I urgently want to know how did this happen.

   the keyword 'mba辅导' values on  'the locale monthly searches'  I
got through google backstage as follow:
-
data source -   keyword  ---  local avg monthly searches
(broad) --- local avg monthly searches  (phrase)    local avg
monthly searches  (exact)  ---  country  language

google backstage  mba辅导   6600 4400
1300   china simple-chinese

google API   mba辅导   14800
*** ***china  simple-chinese

-
   the code as follow:
-
// Copyright 2010, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package v201003;

import java.util.Map;

import com.google.api.adwords.lib.AdWordsService;
import com.google.api.adwords.lib.AdWordsServiceLogger;
import com.google.api.adwords.lib.AdWordsUser;
import com.google.api.adwords.lib.utils.MapUtils;
import com.google.api.adwords.v201003.cm.CountryTarget;
import com.google.api.adwords.v201003.cm.Keyword;
import com.google.api.adwords.v201003.cm.KeywordMatchType;
import com.google.api.adwords.v201003.cm.LanguageTarget;
import com.google.api.adwords.v201003.cm.Paging;
import com.google.api.adwords.v201003.o.Attribute;
import com.google.api.adwords.v201003.o.AttributeType;
import
com.google.api.adwords.v201003.o.AverageTargetedMonthlySearchesSearchParameter;
import com.google.api.adwords.v201003.o.CountryTargetSearchParameter;
import com.google.api.adwords.v201003.o.DoubleAttribute;
import com.google.api.adwords.v201003.o.IdeaType;
import com.google.api.adwords.v201003.o.KeywordAttribute;
import
com.google.api.adwords.v201003.o.KeywordMatchTypeSearchParameter;
import com.google.api.adwords.v201003.o.LanguageTargetSearchParameter;
import com.google.api.adwords.v201003.o.LongAttribute;
import com.google.api.adwords.v201003.o.MonthlySearchVolume;
import com.google.api.adwords.v201003.o.MonthlySearchVolumeAttribute;
import
com.google.api.adwords.v201003.o.RelatedToKeywordSearchParameter;
import com.google.api.adwords.v201003.o.RequestType;
import com.google.api.adwords.v201003.o.SearchParameter;
import com.google.api.adwords.v201003.o.TargetingIdea;
import com.google.api.adwords.v201003.o.TargetingIdeaPage;
import com.google.api.adwords.v201003.o.TargetingIdeaSelector;
import com.google.api.adwords.v201003.o.TargetingIdeaServiceInterface;

/**
 * This example gets keywords related to a seed keyword.
 *
 * Tags: TargetingIdeaService.get
 *
 * @author api.aro...@gmail.com (Adam Rogal)
 */
public class GetRelatedKeywords {
  public static void main(String[] args) throws Exception {
// Log SOAP XML request and response.
AdWordsServiceLogger.log();

// Get AdWordsUser from "~/adwords.properties".
AdWordsUser user = new AdWordsUser();

// Get the TargetingIdeaService.
TargetingIdeaServiceInterface targetingIdeaService
=user.getService(AdWordsService.V201003.TARGETING_IDEA_SERVICE);

// Create seed keyword.
Keyword keyword = new Keyword();
keyword.setText("mba辅导");
keyword.setMatchType(KeywordMatchType.BROAD);
// Create selector.
TargetingIdeaSelector selector = new TargetingIdeaSelector();
selector.setRequestType(RequestType.IDEAS);//RequestType.STATS 不联想
selector.setIdeaType(IdeaType.KEYWORD);
selector.setRequestedAttributeTypes(new AttributeType[] {
AttributeType.KEYWORD,
AttributeType.AVERAGE_TARGETED_MONTHLY_SEARCHES,
AttributeType.GLOBAL_MONTHLY_SEARCHES,
AttributeType.TARGETED_MONTHLY_SEARCHES,
AttributeType.COMPETITION
});

// Set selector paging (required for targeting idea serivce).
Paging paging = new Paging();
paging.setStartIndex(0);
paging.setNumberRe

Re: Ad Parameters Update Lag

2010-09-07 Thread AdWords API Advisor
Hi Jon,

In this case it looks like the problem is that another keyword, "cheap
flight Madrid" (criteriaID 136958298) is a better match for the query
and is being used but doesn't have any associated ad parameters.  In
this scenario it may make sense to assign ad parameters to all
keywords in the ad group.

Best,
- Eric

On Sep 3, 5:40 pm, AdWords API Advisor 
wrote:
> Hi Jon,
>
> Ad parameter changes should go into effect within minutes.  Let me dig
> into this case and see if I can get more information about why they
> aren't being inserted.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Sep 2, 11:51 am, jonbarber  wrote:
>
>
>
> > Can you advise on the lag for updating ad parameters please ? How long
> > should it take for the update to appear ? For the keyword text "cheap
> > flight madrid" we've performed an update that seemed to work :
>
> > [02 Sep 2010 16:33:47,080 - DEBUG]
> >  > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> > soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
> > adwords/cm/v200909">** > ns1:authToken>***-***-4796 > ns1:clientCustomerId> > ns1:developerToken>AdWords API Java Client Library -
> > v8.1.0 - DMC Digitalfalse > ns1:validateOnly> > soapenv:Header>https://adwords.google.com/
> > api/adwords/cm/v200909">SET > operator>1390826934 > adGroupId>17223091£59 > insertionText>1 > mutate>
> > [02 Sep 2010 16:33:47,093 - DEBUG]
> >  > xmlns:soap="http://schemas.xmlsoap.org/soap/
> > envelope/">4701e5d548c548810b187f1fc48a8241 > requestId>11106 > responseTime>1 > soap:Header>139082693417223091 > criterionId>£591 > paramIndex>
>
> > This should replace the default of £56 with £59. If we then query the
> > ad parameter programmatically it seems to have worked :
>
> > [02 Sep 2010 16:47:58,918 - DEBUG]
> >  > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> > soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
> > adwords/cm/v200909">** > ns1:authToken>***-***-4796 > ns1:clientCustomerId>*** > ns1:developerToken>AdWords API Java Client Library -
> > v8.1.0 - DMC Digitalfalse > ns1:validateOnly> > soapenv:Header>https://adwords.google.com/
> > api/adwords/cm/v200909">1390826934 > selector>
> > [02 Sep 2010 16:47:58,941 - DEBUG]
> >  > xmlns:soap="http://schemas.xmlsoap.org/soap/
> > envelope/">fdf1a6c18019bb9eef27571bde7f998a > requestId>1445 > responseTime>1 > soap:Header>https://adwords.google.com/
> > api/adwords/cm/v200909">1390826934 > adGroupId>17223091£59 > insertionText>1... > getResponse>
>
> > But we never actually see that change in the ad itself.

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


Campaign service selector in v201003 using python library 12.1.0

2010-09-07 Thread mmrs151
I am trying the following code in the python terminal as you have
stated in the get_all_campaigns.py using latest python library 12.1.0
for v201003,
import os
import sys
sys.path.append(os.path.join('..', '..', '..', '..'))

from adspygoogle.adwords.AdWordsClient import AdWordsClient
client = AdWordsClient(path=os.path.join('..', '..', '..', '..'))
campaign_service = client.GetCampaignService('https://adwords-
sandbox.google.com', 'v201003')

selector = {}
campaigns = campaign_service.Get(selector)[0]

in this point it gives me the following error,
Traceback (most recent call last):
  File "", line 1, in 
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/adspygoogle/adwords/CampaignService.py",
line 83, in Get
'Campaign', self._loc, request)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/adspygoogle/adwords/AdWordsWebService.py",
line 252, in CallMethod
self.__ManageSoap(buf, start_time, stop_time, error)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/adspygoogle/adwords/AdWordsWebService.py",
line 130, in __ManageSoap
raise Error(e)
adspygoogle.common.Errors.Error

I think its something to do with selector but don't have a clue about
the fix.

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


v201003 reports have incorrect conversion figures

2010-09-07 Thread MT
I'm running reports for a client with no conversions during the time
period, but the Ad Performance Report and Keyword Performance Report
do show a number of conversions (more conversions than clicks
actually). Adgroup Performance Report and Campaign Performance Report
for the same time period are correct, with zero conversions.

I can give you the full query information if you contact me by email.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Where can I see API usage costs accrued?

2010-09-07 Thread jabychan
In Java is the option to get the esitmated cost for a run.

// Total Quota unit cost for this run
ServiceAccountantManager.getInstance().getTotalUnitCount()

there should exist equivalents also in other programming languages

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


"Fault occurred while processing." when doing bidtransition test

2010-09-07 Thread Peer Jakobsen (AdWords API Guru)
We test a campaign for conversion optimizer eligibility by doing a
bidtransition test (validateOnly). On some of the campaigns we get a
high level soap error. It seems to happen on campaigns that run ACE
(Advanced Campaign Experiment)

Soap response:
http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/
v200909">
983004778bdef086a1c12fa497eb720c
1
7932
1




soap:Server
Fault occurred while 
processing.




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