Re: ExperimentService UNEXPECTED_INTERNAL_API_ERROR

2011-01-26 Thread veseo
Hi Eric,

Thanks for your answer. However I noticed that today that problem is gone, 
without me changing the campaign budget - editing the experiment start/end 
dates work using both the interface and the API. I do not know what has been 
changed, but I can mark this problem as resolved.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: traffic estimator geotarget

2011-01-26 Thread Murali4044
Hi Eric,

I can get "GLOBAL MONTHLY SEARCH" from GetReleatedKeywords.php But i
have few question

How can we calculate "LOCAL MONTHLY SEARCH"?

Can we target the particular  location?

And can we pass multiple keywords in single request for getting "LOCAL
MONTHLY SEARCH"?

Thanks in advance
Murali M



On Jan 11, 5:30 pm, AdWords API Advisor 
wrote:
> Hi Murali,
>
> You can use the TargetingIdeaService in STATS mode to get
> AVERAGE_TARGETED_MONTHLY_SEARCHES.
>
> Best,
> - Eric
>
> On Jan 11, 1:26 am, Murali4044  wrote:
>
> > Hi Eric,
>
> > How can i get local monthly searches through API.
> > can i pass multiple keywords in single request. is it possible in
> > GetRelatedKeywords.php ?
>
> > Thanks in advance
> > Murali M
>
> > On Jan 7, 3:43 am, AdWords API Advisor 
> > wrote:
>
> > > Hi Murali,
>
> > > You are likely making this request against the sandbox environment,
> > > which returns dummy data for these requests.
>
> > > Best,
> > > - Eric
>
> > > On Jan 5, 6:05 am, Murali4044  wrote:
>
> > > > Hi Eric,
>
> > > > Thanks for your reply. through this API i am getting very high values 
> > > > for
> > > > example keyword "florist" location is New york,US-NY,US. the value is 
> > > > give
> > > > below.
>
> > > > Results for the keyword with text 'florist' and match type 'BROAD':
> > > > Estimated average CPC: -1765467296
> > > > Estimated ad position: 4.00
> > > > Estimated daily clicks: 35089
> > > > Estimated daily cost: 201250
>
> > > > But through Google Traffic Estimator the estimated daily clicks is 37.
>
> > > > Can you please explain where is the problem
>
> > > > Many Thanks
> > > > Murali

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ExperimentService UNEXPECTED_INTERNAL_API_ERROR

2011-01-26 Thread AdWords API Advisor
Hi Veseo,

It looks like the problem is due to having too small of a budget for
the campaign.  The error message isn't being reported well though, and
I'll work with the core engineering team to address it.

Best,
- Eric Koleda, AdWords API Team

On Jan 26, 7:04 am, veseo  wrote:
> Hi,
>
> I'm currently implementing ExperimentService in our application, but I
> noticed that whenever I try to include startDateTime and/or endDateTime in
> the format, specified by the examples (Ymd His, for example 20110203
> 00), I get UNEXPECTED_INTERNAL_API_ERROR. I double checked and the dates
> I entered are within the campaign's running period, so that's not the
> problem. I also noticed that if I try to set a date from the Adwords
> Interface, I also get "internal error", so I think there's a bigger problem
> than an API-related one?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: MediaService Questions

2011-01-26 Thread Pete Lavetsky (AdWords API Guru)
Bump.

On Jan 25, 10:04 am, "Pete Lavetsky (AdWords API Guru)"
 wrote:
> Good morning,
>
> Couple questions regarding the MediaService:
>
> 1) Is it upload and get only? ie. there's no SET for overwriting media
> like images?
> 2) Is it possible to set the name of a piece of Media? I'm
> implementing the setName method but it doesn't seem to be sticking
> 3) Same for creation time.  The getCreationTime doesn't seem to return
> anything
>
> Thanks
> Pete

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: making api calls from asp.net project

2011-01-26 Thread rocker
UP.

any ideas yet ?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: V13 AccountService error

2011-01-26 Thread AdWords API Advisor
Hi Rafal,

There are issue where the email addresses in AccountService aren't
updated immediately.  Let me know if this problem persists.

Best,
- Eric

On Jan 26, 6:06 am, rafal  wrote:
> Hi Eric,
>
> Thanks for your response.
> Here is what I found out.
>
> Both methods: getClientAccountInfos and getClientAccounts returns
> email_address_1 as identified of my client mcc account.
> When I specify this email address the error I mentioned occures.
>
> However, I logged in via AdWords interface, and found out that for that
> client mcc account apart from email_address_1 there is also email_address_2
> under 'Users with account access' in Account Access section
> Funny thing is that using email_address_2 in the header request I am able to
> get account info and client list of that mcc account.
>
> So there is a question, why API returns me the email address that I cannot
> use in the header later on?
> Do you have any ideas?
>
> Best
> Rafal

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: No results for December

2011-01-26 Thread AdWords API Advisor
Hi Calford,

They hope to have the December stats fully available within the next
day or two.

Best,
- Eric

On Jan 26, 11:20 am, AdWords API Advisor
 wrote:
> Hi Calford,
>
> I'm seeing December stats returned for STATS requests but not IDEAS
> requests, are you seeing the same?  I'll follow up with the core
> engineering team for more information.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jan 25, 3:15 am, calford  wrote:
>
>
>
>
>
>
>
> > Hi
> > Today is January 25, No traffic results for December.
>
> > 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


Having problems to get a development token. Please Help !!

2011-01-26 Thread vit
I am having problems to get a development token.

Please do not answer me just giving me some link with Q/A or so.
I already spent a lot of time with that and did not get anything.

I have a AdWords account which I want to use for AdWords API.
From
https://adwords.google.com/support/aw/adwordsapi/bin/answer.py?hl=en&answer=15104
/*
To sign up for the AdWords API, you'll need a My Client Center (MCC)
account. Read our FAQ to learn more about MCC. If you already have an
MCC account, you can sign up for the AdWords API directly from the My
Account tab. Click on "API Center" and follow the instructions to
apply for AdWords API access.
*/
From
http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=22531
I click : www.google.com/adwords/MyClientCenter,
And get to:
http://www.google.com/intl/en/adwords/myclientcenter/

1) Assuming I already have MCC I follow
“Already have an MCC account? Sign in here”
And get to my https://adwords.google.com/select/snapshot
Which is my AdWords service and I do not see how to get AdWords API
from here

2) Assuming I do not have MCC I do “Sign up now”
Then I have
Hello, and welcome to Google AdWords. We're glad to have you on board!
We need just a few details from you in order to set up your account.
To begin creating your AdWords account, choose the user name and
password you'd like to use with AdWords.
Which best describes you?
 I have an email address and password I already use with Google
services like AdSense, Gmail, Orkut, or iGoogle.
 I do not use these other services.

I choose I have …. and get :
The login xx...@x.com is already an AdWords account.

So this is a vicious cycle. WHAT SHOULD I DO ??

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: No results for December

2011-01-26 Thread AdWords API Advisor
Hi Calford,

I'm seeing December stats returned for STATS requests but not IDEAS
requests, are you seeing the same?  I'll follow up with the core
engineering team for more information.

Best,
- Eric Koleda, AdWords API Team

On Jan 25, 3:15 am, calford  wrote:
> Hi
> Today is January 25, No traffic results for December.
>
> 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: Google AdWords API -Account Service

2011-01-26 Thread AdWords API Advisor
Hi Remya,

The v13 ReportService has the behavior that a column won't be
supported if the target account doesn't use that feature.  So for
instance, if you aren't using an conversion tracking in that account
then the column will be rejected.

Best,
- Eric Koleda, AdWords API Team

On Jan 24, 11:27 pm, Remya  wrote:
> Hello Google Adwords Team
>
> Conversion value problem on Keyword Report:
>
> Here is the list of conversion related fields from Placement / Keyword
> performance report documentaion [ URL 
> :http://code.google.com/apis/adwords/docs/developer/adwords_api_report...].
>
> ConversionCategory1 Action Category (attribute) conversioncategory
>
> > ConversionDescription1 Action Description (attribute)
> > conversiondescription  ConversionName1 Action Name (attribute)
> > conversionname  ConversionRate2 Conv. Rate (1-per-click) (measure)
> > convRate  Conversions2 Conversions (1-per-click) (measure) conv
>
> If i include any one of this field in report's selectedColumns values, it
> will return an error, which shows below.  I have verified the report, by MCC
> level and  customerId level. On MCC level it contain conv="0" and in
> customeId level its giving an error.
>
> [fault] => Array
>                 (
>                     [code] => 30
>                     [message] => One or more report job parameters is
> invalid.
>                     [trigger] =>  The following columns are not supported by
> the Report Type Keyword : [Conversions]
>                 )
>
> Can you please help me to solve the issue ASAP?
>
> --
> Remya Mohan
> Software Engineer
>
> http://SparkSupport.com
>  |http://migrate2cloud.com
> phone: +1 408-335-0493, 0484 2559756

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: QuotaCheckError.INCOMPLETE_SIGNUP_USER_INFO_REJECTED/PENDING

2011-01-26 Thread AdWords API Advisor
Hi Dinesh,

Every time you edit your developer details your token is re-reviewed,
and it may be that upon re-review the application was rejected.  You
should have received an email with more information, and once your
current review is complete you should receive another with more
information.

Best,
- Eric Koleda, AdWords API Team

On Jan 24, 8:44 pm, Dinesh Ram  wrote:
> We have been using AdWords API for more than a year and suddenly started
> getting "QuotaCheckError.INCOMPLETE_SIGNUP_USER_INFO_REJECTED" and noticed
> developer token is in 'Rejected' state. I am not sure why this happened
> after several months of usage. We, then reapplied and is in 'Pending' state,
> getting "QuotaCheckError.INCOMPLETE_SIGNUP_USER_INFO_PENDING" error.
>
> Please help us.
>
> 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: What is typical turn time to approve API Developer Token

2011-01-26 Thread AdWords API Advisor
Hi,

The review process may take up to two weeks, although it is normally
much sooner.  If you're token has previously been approved in the past
then it will be lower priority.

Best,
- Eric Koleda, AdWords API Team

On Jan 24, 6:19 pm, "ryaningilb...@yahoo.com"
 wrote:
> Just just Pending Approval for several days.  Not sure what to expect.  
> Anxious to get this completed.  Time is money.
>
> Thanks for your help in advance.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 can negative keywords be added at ad group level ?

2011-01-26 Thread AdWords API Advisor
Hi,

You can use the AdGroupCriterionService to add a
NegativeAdGroupCriterion:

  
http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCriterionService.NegativeAdGroupCriterion.html

Best,
- Eric Koleda, AdWords API Team

On Jan 24, 2:45 pm, zadgora  wrote:
> hi,
>
> i would like to add negative keywords at ad group level.
>
> is that possible and how ?
> i am using API v201008 in PHP.
>
> i looked around in the forum and in the articles but the similar topics i
> found did not have exact answer for me.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AdGroupAdService.get empty result for ads with {Keyword: ...} (keyword insertion tool)

2011-01-26 Thread AdWords API Advisor
Hi Marcin,

I'm not aware of any problems with fetching ads that use keyword
insertion.  Please note that DISABLED ads aren't returned by default,
and you need to include the DISABLED status in your AdGroupAdSelector
to return them.

Best,
- Eric Koleda, AdWords API Team

On Jan 24, 9:56 am, Marcin Czepinski 
wrote:
> Hi
>
> I call "get" from AdGroupAdService.
> It seems to me that it returns empty list for every ad group where there are
> ads with "{Keyword: ...}" in a headline.
>
> Does anyone know anything about such a problem?
>
> Thanks,
> Marcin

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Is there any limit on the number of function calls that can be made per unit time using the api

2011-01-26 Thread AdWords API Advisor
Hi Nikhil,

This error is caused by making too many requests to the ClientLogin
API in a short period of time.  If you are using a client library this
could be caused by creating a new AdWordsUser for every request.
Instead you should reuse your authTokens or AdWordsUser objects, and
they are valid for up to two weeks.

Best,
- Eric Koleda, AdWords API Team

On Jan 24, 8:35 am, Nikhil Jadhav 
wrote:
>     I am trying to store the keywords in my database.I also need to
> calculate the relevance of each keyword. For that i m fetching content
> from the url and applying my own simple algo to decide the
> relevance.In doing so, i am fetching the ads for that adGroup and then
> setting the url for that keyword.Then using multi-threading, I fetch
> the data for each respective keyword. When the size of the data is
> small,there is on problem,the code runs fine for some 30-40
> keywords.But then i tried it for 400 keywords.For which it showed me
> some error like : "authentication token not available -- captcha
> required"
>
>    Can someone plz let me know wht i can do?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: How can i get the currency of payment.

2011-01-26 Thread AdWords API Advisor
Hi Nikhil,

The v13 AccountService provides this information:

  http://code.google.com/apis/adwords/docs/developer/AccountService.html

We hope to add this service to the v2010 family of APIs in the next
version.

Best,
- Eric Koleda, AdWords API Team

On Jan 24, 5:17 am, Nikhil Jadhav 
wrote:
>       Is it possible to get the currency of payment of a particular
> user? I used to manage accounts of clients making payment in US$.
> But now i need to do the same for many clients who are using Rupee as
> the payment currency. I have searched through all the sample codes
> given but to no avail. I am not able to find any method to get access
> to the user's payment currency.
>
>       If anyone knows how to do this, please let me know.

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


GeoLocation -> some addresses works, some not (PHP)

2011-01-26 Thread MMV Limburg
Hello,

first of all i want to apologize for my bad english.

I've got a problem. When i try to locate a campaing to a
proximityTarget it sometimes works and sometimes not.
The tests only differs in the address itself.

For example to addresses:

This one don't work:
  $address = new Address();
  $address->streetAddress = 'Großneumarkt 10';
  $address->cityName = 'Hamburg';
  $address->provinceCode ='DE-HH';
  $address->postalCode = '20249';
  $address->countryCode = 'DE';

but this one works (and its really not that known as Hamburg):
  $address = new Address();
  $address->streetAddress = 'Im Dachsstück 9';
  $address->cityName = 'Limburg';
  $address->provinceCode ='DE-HE';
  $address->postalCode = '65549';
  $address->countryCode = 'DE';

And if i leave $address->provinceCode out it also works, but only with
the second address.

The error I get is allways: INVALID_REGIONCODE_LENGTH
But how can this be possible? I checked the provinceCode several times
and as allready said it also works without this variable in some
cases.

i don't know wheter this helps you, but i post the rest of the
dependent code:
  // Get the GeoLocationService.
  $geoLocationService = $user->GetGeoLocationService('v201008');

  // Create geo location selector.
  $selector = new GeoLocationSelector();
  $selector->addresses = array($address);

  // Get geo location.
  $result = $geoLocationService->get($selector);
  $geoLocation = $result[0];


//City Target
$cityTarget = new ProximityTarget();
$cityTarget->geoPoint = $geoLocation->geoPoint;
$cityTarget->radiusDistanceUnits = 'KILOMETERS';
$cityTarget->radiusInUnits = $termin->umkreis;
$cityTarget->address = $geoLocation->address;

//$cityTarget = new CityTarget();
//$cityTarget->cityName = 'Limburg';
//$cityTarget->countryCode = 'DE';

  // Create geo targets.
  $geoTargetList = new GeoTargetList();
  $geoTargetList->campaignId = $campaignId;
  $geoTargetList->targets =
  array($cityTarget);

  // Create network targets.
  $networkTargetList = new NetworkTargetList();
  $networkTargetList->campaignId = $campaignId;
  // Specifying GOOGLE_SEARCH is necessary if you want to target
SEARCH_NETWORK.
  $networkTargetList->targets = array(
  new NetworkTarget('GOOGLE_SEARCH'));

  // Create operations.
  $langTargetOperation = new CampaignTargetOperation();
  $langTargetOperation->operand = $langTargetList;
  $langTargetOperation->operator = 'SET';

  $geoTargetOperation = new CampaignTargetOperation();
  $geoTargetOperation->operand = $geoTargetList;
  $geoTargetOperation->operator = 'SET';

  $networkTargetOperation = new CampaignTargetOperation();
  $networkTargetOperation->operand = $networkTargetList;
  $networkTargetOperation->operator = 'SET';

  $operations = array($langTargetOperation, $geoTargetOperation,
  $networkTargetOperation);

  // Set campaign targets.
  $result = $campaignTargetService->mutate($operations);

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


ExperimentService UNEXPECTED_INTERNAL_API_ERROR

2011-01-26 Thread veseo
Hi,

I'm currently implementing ExperimentService in our application, but I 
noticed that whenever I try to include startDateTime and/or endDateTime in 
the format, specified by the examples (Ymd His, for example 20110203 
00), I get UNEXPECTED_INTERNAL_API_ERROR. I double checked and the dates 
I entered are within the campaign's running period, so that's not the 
problem. I also noticed that if I try to set a date from the Adwords 
Interface, I also get "internal error", so I think there's a bigger problem 
than an API-related one?

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


adwords keyword performance Report for the particular account

2011-01-26 Thread Suresh
Hello All,

I have created the program to generate the adword keyword performance 
report.Now i need to get the keyword report for the particular account.

For example:

I need the adwords keyword performance data for this account via the API

account id =4229314711

How can i pass account id as the the parameter to the API

How will i do this?

Pease help

Thanks,
Regards,
Suresh EP

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ReportDefinitionService SET operation (Update existing report) InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

2011-01-26 Thread Rohit Dantas
Yep,

That worked for me, thanks!

I had to supply all the fields I used to create the ReportDefinition
in order to update it (including the Columns/Fields & reportType).

Cheers,
Rohit

On Jan 25, 9:36 pm, AdWords API Advisor 
wrote:
> Hi Rohit,
>
> It looks like there is an issue where the update will fail if the
> reportType field isn't included in the request.  In this case it would
> be best if you sent the entire ReportDefinition in the request instead
> of just the fields you want to change.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jan 24, 6:14 am, Rohit Dantas  wrote:
>
>
>
>
>
>
>
> > NOTE: potentially private information is replaced by "-REPLACED-" in
> > the following text.
>
> > The SOAP request was:
>
> > 
> > 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/v201008";>
> >                          > xmlns:ns1="https://adwords.google.com/api/adwords/cm/
> > v201008">-REPLACED-
> >                         
> > -REPLACED-
> >                         -REPLACED-
> >                         -REPLACED-
> >                         false
> >                         false
> >                 
> >         
> >         
> >                  > xmlns="https://adwords.google.com/api/adwords/cm/v201008";>
> >                         
> >                                 SET
> >                                 
> >                                         -REPLACED-
> >                                         
> >                                                 
> >                                                         20110117
> >                                                         20110117
> >                                                 
> >                                         
> >                                         
> > CUSTOM_DATE
> >                                 
> >                         
> >                 
> >         
> > 
>
> > The SOAP response was:
>
> > 
> > http://schemas.xmlsoap.org/soap/envelope/";>
> >         
> >                  > xmlns="https://adwords.google.com/api/adwords/cm/
> > v201008">
> >                         
> > c562d7aa18653e9b89a674d656a97567
> >                         1
> >                         583
> >                         400
> >                 
> >         
> >         
> >                 
> >                         soap:Server
> >                         
> > [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> >                                 
> > [Ljava.lang.StackTraceElement;@197f74d]
> >                         
> >                                  >                                         
> > xmlns="https://adwords.google.com/api/adwords/cm/v201008";>
> >                                         
> > [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
> >                                                 
> > [Ljava.lang.StackTraceElement;@197f74d]
> >                                         
> > ApiException > ApplicationException.Type>
> >                                          > xmlns:xsi="http://www.w3.org/
> > 2001/XMLSchema-instance">
> >                                                 
> >                                                 
> >                                                 
> > InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > errorString>
> >                                                 
> > InternalApiError
> >                                                 
> > UNEXPECTED_INTERNAL_API_ERROR
> >                                         
> >                                 
> >                         
> >                 
> >         
> > 
>
> > In case that helps speed up the error & solution discovery.
>
> > On Jan 21, 5:12 pm, Rohit Dantas  wrote:
>
> > > Hi,
>
> > > I'm working on the adwords api and have encountered the infamous
> > > "InternalApiError.UNEXPECTED_INTERNAL_API_ERROR" whilst trying to
> > > update an existing ReportDefinition.
>
> > > The report is of type
> > > [ReportDefinitionReportType.AD_PERFORMANCE_REPORT] with a date-range-
> > > type set to [ReportDefinitionDateRangeType.CUSTOM_DATE]. The report
> > > was created successfully and a GetAllReportDefinitions call returns it
> > > as a valid result.
>
> > > My update request sets/changes the following:
> > > - ReportDefinition.id (set)
> > > - ReportDefinition.dateRangeType (set/change)
> > > - DateRange parameter in the ReportDefinition.selector (to a new date
> > > range value). (change)
>
> > > On the "reportDefinitionService.mutate(operations)" call I receive an
> > > [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR] error. Has anyone
> > > encountered a similar problem 

Re: V13 AccountService error

2011-01-26 Thread rafal
Hi Eric,

Thanks for your response.
Here is what I found out.

Both methods: getClientAccountInfos and getClientAccounts returns 
email_address_1 as identified of my client mcc account.
When I specify this email address the error I mentioned occures.

However, I logged in via AdWords interface, and found out that for that 
client mcc account apart from email_address_1 there is also email_address_2 
under 'Users with account access' in Account Access section
Funny thing is that using email_address_2 in the header request I am able to 
get account info and client list of that mcc account.

So there is a question, why API returns me the email address that I cannot 
use in the header later on?
Do you have any ideas?

Best
Rafal

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