AdWords API Re: ordering of results returned by the v2009 Java client library

2010-03-19 Thread Matthew McGinty
Might this be one way to get what I need: Pass 2 separate RelatedToKeywordSearchParameter objects to the selector. Both for the same keyword, but where 1 has the match type of EXACT and the other has the match type of BROAD ? Matt On Mar 20, 12:50 am, Matthew McGinty wrote: > Ok thanks. > > Ano

AdWords API Re: ordering of results returned by the v2009 Java client library

2010-03-19 Thread Matthew McGinty
Ok thanks. Another question please... Do you know if there is a way in v2009 to obtain the same information returned by the v13 getAdditionalToConsider() and getMoreSpecific() methods of the com.google.api.adwords.v13.KeywordVariations object? That's the object that is returned when calling the

AdWords API Re: v2009 CampaignService: no username/password?

2010-03-19 Thread Peer Jakobsen (AdWords API Guru)
You need to pass an authentication token in the request headers, instead of username/password. This is documented here: http://code.google.com/apis/adwords/v2009/docs/headers.html -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22,

AdWords API v2009 CampaignService: no username/password?

2010-03-19 Thread BeeGeez
I'm trying to use the CampaignSelector to loop through all my Campaigns but the example in the GetAllCampaigns.cs class doesn't use a username/password. How do I set up the credentials to use the right account for the Campaign Service? Is it set in the AdWordsUser somehow? If so, can I get an VB

AdWords API BiddableAdGroupCriterion bids - default bid vs. not updated

2010-03-19 Thread Peer Jakobsen (AdWords API Guru)
Hi, If bids are not set on the BiddableAdGroupCriterion does that mean that the mutation does not change the bid? E.g. if I only want to change a keyword URL during a mutation can I just leave the bids not set? If this is the case, then what is the method to remove bids so that the BiddableAdGrou

AdWords API Re: API via Perl — a few successes and an InternalApiError

2010-03-19 Thread Kris
Thanks for your reply. It seems that calling get_last_request_id() on the Google::AdWords::Client object fails to return a value. Any ideas what might be happening? (Unfortunately, I will not be able to investigate further for several days.) Thanks, Kris Arnold On Mar 19, 1:52 pm, AdWords

AdWords API Trouble getting reply from Sandbox

2010-03-19 Thread Andy
Hey everyone, I'm pretty new to the Adwords API in general. I didn't work with any of the previous versions and am trying to get an issue resolved. I am using the latest Java client library (adwords-api-7.1.0-loner.jar). I have been trying to implement the v2009 CampaignService calls to get campa

AdWords API Re: Perl API Support.

2010-03-19 Thread AdWords API Advisor
Hi John, Thanks for the great feedback, and for offering to help move this project forward. Having the Perl and AdWords communities working together would be great and we're open to the possibilities it can bring. We would appreciate it if you could get us in touch with the maintainers of SOAP::

AdWords API Re: Looking for the v2009 equivalent of LASTMONTHSEARCHVOLUME

2010-03-19 Thread Matthew McGinty
That's it! Thanks so much. Matt On Mar 19, 7:39 am, rick wrote: > The MonthlySearchVolumeAttribute contains an array of 12 months of > MonthlySearchVolume for the last year. If you pulled the last element > corresponding to the most recent month, I believe it would be similar > to v13 LASTMONTHS

AdWords API how to authenticate user?

2010-03-19 Thread spongman
we're building a service that uses a single account to manage campaigns for multiple users. one thing I don't understand is how we're supposed to authenticate a given client email address. for example: - user A signs up for our service - user A gives us access to their AdWords account 'a...@gmail

AdWords API Re: BidLandscapeService, can we use it in production?

2010-03-19 Thread AdWords API Advisor
Hi Peer, We're doing early testing for the BidLandscapeService right now. This version of the API is not yet ready for use by developers. As usual, we will announce on the blog and forum when this, and other new features become available for general use. We don't yet have a firm date, but it sh

AdWords API Re: ImageError.INVALID_IMAGE while publishing .SWF

2010-03-19 Thread spongman
yes, it works against production. but we don't want to develop/test against production. is there any documentation anywhere that lists the differences between the sandbox and production environments? can you explain why the sandbox doesn't allow uploading SWFs? On Mar 19, 11:41 am, AdWords API Adv

AdWords API Re: Is it possible to create a clck-to-play video ad through the v2009 API?

2010-03-19 Thread AdWords API Advisor
Hi, Let me gather some more information about this and I will get back to you. Best, - Eric Koleda, AdWords API Team On Mar 19, 9:17 am, "j.e.frank" wrote: > I'm hoping someone can shed some light on this. > > On Mar 17, 11:55 am, "j.e.frank" wrote: > > > > > I have been working on migrating c

AdWords API Re: Unable to get Adgroup/Campaign informations : CLIENT_EMAIL_INVALID

2010-03-19 Thread AdWords API Advisor
Hi, Can you confirm that this client account exists and that the MCC account that the authToken was generated for has access to the account? Best, - Eric Koleda, AdWords API Team On Mar 19, 8:41 am, TompiT wrote: > Hi, > > While trying to get an adgroup informations by id adgroup using > v20090

AdWords API Re: Question with CaptchaRequired error code with ClientLogin authentication API

2010-03-19 Thread AdWords API Advisor
Hi, I followed up with our authentication team, and they said that if you wait for about 10 minutes the CAPTCHA challenges should be resolved on their own. Let us know if you have any problems. Best, - Eric Koleda, AdWords API Team On Mar 18, 5:36 pm, SEM wrote: > Eric: > > We aren't assuming

AdWords API Re: Get All Keywords

2010-03-19 Thread AdWords API Advisor
Hi Mike, If you use an empty AdGroupCriterionSelector you can get all criteria in the account. If you want to limit the results to only certain campaigns you need to add an AdGroupCriterionIdFilter to the selector and set the campaignId field. Best, - Eric Koleda, AdWords API Team On Mar 19, 7:

AdWords API Re: Rates best/cheapest method

2010-03-19 Thread AdWords API Advisor
Hi Ivo, A few points: - Ad parameter values are set on keywords, not the ads themselves. Keep this in mind when doing your calculations. - The BulkMutateJobService currently doesn't support the AdParamOperation. To make changes to ad parameters you need to use the synchronous AdParamService. Be

AdWords API Re: v2009 setting status/paused for a BiddableAdGroupCriterion

2010-03-19 Thread BeeGeez
It looks like the language targeting isn't part of the AdGroupCriterion. How can I set the Language target for each Keyword/ Placement? On Mar 19, 10:23 am, "Pete Lavetsky (AdWords API Guru)" wrote: > http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...http://code.google.com/

AdWords API Re: ordering of results returned by the v2009 Java client library

2010-03-19 Thread AdWords API Advisor
Hi, The v13 KeywordToolService and v2009 TargetingIdeaService are based off of different backends, and they are not expected to return the same data or return it in the same order. Best, - Eric Koleda, AdWords API Team On Mar 19, 2:01 am, Matthew McGinty wrote: > I used to use v13 KeywordToolSe

AdWords API Re: v200909 client library has Keyword class but no Website class?

2010-03-19 Thread AdWords API Advisor
Hi Brian, There isn't always a direct mapping from v13 object to v200909 object. The ClientUsageRecord object has no parallel, as the InfoService has changed substantially in v2009. http://code.google.com/apis/adwords/v2009/docs/reference/InfoService.InfoSelector.html Best, - Eric Koleda, Ad

AdWords API Re: BulkMutateService - Associate input operation index with output operation index

2010-03-19 Thread AdWords API Advisor
Hi Shriny, We don't have any examples right now, but the logic is: inputIndex = failureResultIndex + operationIndexInFieldPath So if the FailureResult is at index 100 in the OperationStreamResults, and the ApiError has a field path of "operations[5].operand.id" then the index of the original o

Re: AdWords API Re: aw_api.Errors.ValidationError: Invalid headers for targeting_idea_service

2010-03-19 Thread Joshua J. Kugler
On Friday 19 March 2010, AdWords API Advisor elucidated thus: > Hi, > > Since this problem is local to the Python client library, please > create an issue on the project's issue tracker: > > http://code.google.com/p/google-api-adwords-python-lib/issues/list > > Best, > - Eric Koleda, AdWords API

AdWords API Re: ImageError.INVALID_IMAGE while publishing .SWF

2010-03-19 Thread AdWords API Advisor
Hi, Certain image ad formats aren't accepted in the sandbox, and I believe flash is one of them. Have you tried using this same code against a production account? Best, - Eric Koleda, AdWords API Team On Mar 18, 6:07 pm, spongman wrote: > I'm trying to publish a SWF to sandbox, but I'm getting

Re: AdWords API Cannot access client library in python

2010-03-19 Thread Joshua J. Kugler
On Friday 19 March 2010, dsay elucidated thus: > I am not sure if someone is able to use client library for python as > I continue to get the following error > > Traceback (most recent call last): > File "get_related_keywords.py", line 53, in > page = targeting_idea_service.Get(selector)[0]

AdWords API Re: RelatedToUrlSearchParameter--TargetingIdeaSelector (PHP)

2010-03-19 Thread AdWords API Advisor
Hi, This can be accomplished by using the KeywordMatchTypeSearchParameter: http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.KeywordMatchTypeSearchParameter.html Best, - Eric Koleda, AdWords API Team On Mar 18, 4:41 pm, shaselton wrote: > Hello All, > > Right to

AdWords API Re: Enhanced XML validation enabled in the sandbox

2010-03-19 Thread AdWords API Advisor
Hi, This change should have no impact on that library, but you can open an issue on the issue tracker of the project: http://code.google.com/p/google-api-adwords-dotnet/issues/list Best, - Eric On Mar 18, 3:54 pm, spongman wrote: > does this break the .NET client library? i've just started s

AdWords API Re: aw_api.Errors.ValidationError: Invalid headers for targeting_idea_service

2010-03-19 Thread AdWords API Advisor
Hi, Since this problem is local to the Python client library, please create an issue on the project's issue tracker: http://code.google.com/p/google-api-adwords-python-lib/issues/list Best, - Eric Koleda, AdWords API Team On Mar 18, 2:52 pm, dsay wrote: > Hi, > > I am getting following error

AdWords API Re: TargetingIdeaService using CountryTarget UK

2010-03-19 Thread rick
I traced through the Axis debug and found an INVALID_REGION_CODE hidden in the malformed response. It turns out that UK is not supported, but GB works fine. Is there a table of valid language and country codes somewhere? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v2

AdWords API Re:

2010-03-19 Thread AdWords API Advisor
Hi, It looks like you are making the request against the URL of the WSDL: POST /api/adwords/o/v200909/TargetingIdeaService?wsdl HTTP/1.0 If you remove the "?wsdl" from the URL the request should work. Best, - Eric Koleda, AdWords API Team On Mar 18, 2:48 pm, dsay wrote: > I get the above er

AdWords API Cannot access client library in python

2010-03-19 Thread dsay
I am not sure if someone is able to use client library for python as I continue to get the following error Traceback (most recent call last): File "get_related_keywords.py", line 53, in page = targeting_idea_service.Get(selector)[0] File "../../aw_api/TargetingIdeaService.py", line 105, i

AdWords API Re: Disapproved and Zero Impression Ad's

2010-03-19 Thread AdWords API Advisor
Hi, My apologies, you are correct, the includeZeroImpression field only works for keyword reports. I don't believe it is possible to return ads with zero impressions in a performance report. Best, - Eric On Mar 18, 2:14 pm, "tsmthi...@gmail.com" wrote: > Thanks for reply! > > Unfortunately, th

Re: AdWords API Clientlogin frequency?

2010-03-19 Thread Joshua J. Kugler
On Friday 19 March 2010, Rick elucidated thus: > And speaking of the captcha, why is it there at all for the Adwords > api? I've wondered this too. An API, by definition, usually, is non-interactive. So, even if my scripts get back a response indicating I need to answer a captcha (because maybe

AdWords API Clientlogin frequency?

2010-03-19 Thread Rick
What frequency can I call ClientLogin before I start getting captchas? We have a number of processes running on multiple servers. I can easily cache the clientlogin token within the application, but caching it across applications and servers is much more work. How many times can I login before I'

Re: AdWords API Getting Campaign statistics with the 200909 API

2010-03-19 Thread AdWords API Advisor
Hi Joshua, The behavior you are noticing is as it was designed. Selectors in v2009 filter the result set, and passing in an invalid id will not return an error. Best, - Eric On Mar 18, 1:49 pm, "Joshua J. Kugler" wrote: > On Thursday 18 March 2010, AdWords API Advisor elucidated thus: > > > Hi

AdWords API Re: Questions about processing bulk mutate job results

2010-03-19 Thread AdWords API Advisor
Hi, I believe we discussed this problem offline. The short answer is that the behavior listed is expected, except that the batches should remain in the same order. Also, we encourage developers to not depend on any defined batch size, as this may change over time. Best, - Eric Koleda, AdWords A

AdWords API Re: API via Perl — a few successes and an InternalApiError

2010-03-19 Thread AdWords API Advisor
Hi Kris, It's good to hear that the Perl client library is working well for you so far. As for the UNEXPECTED_INTERNAL_API_ERROR, do you have the requestId that was returned in the header of the response? Best, - Eric Koleda, AdWords API Team On Mar 18, 12:29 pm, Kris wrote: > Hello, > > We in

AdWords API Re: Clarifications needed on ClientLogin API and AuthenticationError for v200909

2010-03-19 Thread AdWords API Advisor
Hi, My apologies, I actually referenced the wrong error in my last response. For expired authTokens the reason is: GOOGLE_ACCOUNT_COOKIE_INVALID This reason will be returned for any invalid authToken, including those that were invalidated due to a password change. The reason OAUTH_TOKEN_EXPI

AdWords API Re: AdGroupCriterion.Type

2010-03-19 Thread Pete Lavetsky (AdWords API Guru)
"NegativeAdGroupCriterion" "BiddableAdGroupCriterion" Yes it can be cast. Pete On Mar 19, 1:36 pm, BeeGeez wrote: > What string values does this contain?  Does it indicate if > BiddableAdGroupCriterion or NegativeAdGroupCriterion is used?  If so, > can the AdGroupCriterion be cast as one of the

AdWords API AdGroupCriterion.Type

2010-03-19 Thread BeeGeez
What string values does this contain? Does it indicate if BiddableAdGroupCriterion or NegativeAdGroupCriterion is used? If so, can the AdGroupCriterion be cast as one of these types? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April

AdWords API Re: Response is not well-formed XML.

2010-03-19 Thread AdWords API Advisor
Hi Allvin, It sounds like perhaps your request is being truncated. Does this error return with a request ID header? Best, - Eric Koleda, AdWords API Team On Mar 18, 8:45 am, allvin wrote: > Hello > > When I call AdGroupService.mutate. I get the following error: > "Unexpected end of file has oc

AdWords API Re: validation code on campaign still returns null

2010-03-19 Thread AdWords API Advisor
Hi, When using the validateOnly header the results will be null if there are no errors in the request. Best, - Eric Koleda, AdWords API Team On Mar 18, 8:25 pm, Qmeapi wrote: > Nobody can help me ? > All suggestions are welcome! > > On Mar 18, 3:25 pm, Qmeapi wrote: > > > > > I can add that th

AdWords API Re: v2009 setting status/paused for a BiddableAdGroupCriterion

2010-03-19 Thread Pete Lavetsky (AdWords API Guru)
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.BiddableAdGroupCriterion.html#destinationUrl http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.ExemptionRequest.html http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTarge

AdWords API TargetList

2010-03-19 Thread dunia
Hi, I am using the java adwords-api library. Looking at all the sub-types of TargetList I noticed that all of them have the 'targets' property and therefore the method 'getTargets'. Why does not the TargetList provide the same method? Thank you Dunia -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

AdWords API v2009 setting status/paused for a BiddableAdGroupCriterion

2010-03-19 Thread BeeGeez
I am migrating from v13 to v2009. I am trying to find the following properties while creating a BiddableAdGroupCriterion: .destinationUrl .exemptionRequest .language .negative .paused .pausedSpecified

AdWords API RelatedToUrlSearchParameter--TargetingIdeaSelector (PHP)

2010-03-19 Thread shaselton
Hello All, Right to the situation on hand... $url = 'www.example.com'; $selector = new TargetingIdeaSelector(); $selector->requestType = 'IDEAS'; $selector->ideaType = 'KEYWORD'; $selector->requestedAttributeTypes = array('KEYWORD'); $paging = new Paging(); $paging->startIndex = 0; $paging->num

AdWords API Re: dateRange in AdGroupService

2010-03-19 Thread Raj
Thank you Eric. It is working. On Mar 18, 10:36 am, AdWords API Advisor wrote: > Hi Raj, > > You also need to create the statsSelector object. > > $selector = new AdGroupSelector(); > $selector->statsSelector = new StatsSelector(); > $selector->statsSelector->dateRange = new > DateRange('20100101

AdWords API Sandbox error fpr campaign get call

2010-03-19 Thread dzin dzintaras
Suddenly such requests that include "statsSelector" began to return unexpected results. What has happend? Request: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> https://adwords.google

AdWords API CampaignStats have more campaignStatuses values

2010-03-19 Thread Swithin
How come your "enum CampaignStats" documentation only refers to "ACTIVE", "PAUSED" and "DELETED" as possible values for the "campaignStatuses" parameter, of the "statsSelector", when there are others? This caused me some hardship, as I was specifying those three in my API calls, thinking that thos

AdWords API TargetingIdeaService using CountryTarget UK

2010-03-19 Thread rick
I'm using the Java 200909 client library. I'm making a call to the TargetingIdeaService to get ideas with LanguageTarget en and CountryTarget UK and I get the following exception. If I change my country target to US, everything works fine. Any ideas? Cheers, -rick AxisFault faultCode: {http://

AdWords API Re: Looking for the v2009 equivalent of LASTMONTHSEARCHVOLUME

2010-03-19 Thread rick
The MonthlySearchVolumeAttribute contains an array of 12 months of MonthlySearchVolume for the last year. If you pulled the last element corresponding to the most recent month, I believe it would be similar to v13 LASTMONTHSEARCHVOLUME. On Mar 19, 1:57 am, Matthew McGinty wrote: > Can anyone poin

AdWords API Re: Is it possible to create a clck-to-play video ad through the v2009 API?

2010-03-19 Thread j.e.frank
I'm hoping someone can shed some light on this. On Mar 17, 11:55 am, "j.e.frank" wrote: > I have been working on migrating code from v13 to v2009.  One of the > things that I did with v13 was create Video Ads.  The code couldn't > actually upload a video (this had to be done through the AdWords w

AdWords API Re: .NET Client API, Re-Usability of AdWordsUser

2010-03-19 Thread quaylar
Answering part of it myself: It seems that re-using the AdWordsUser-object is essential when making many subsequential requests to the API, since creating a new user would also create a new token each time - which would count as a separate login each time, and lead to the account being locked. No

AdWords API Unable to get Adgroup/Campaign informations : CLIENT_EMAIL_INVALID

2010-03-19 Thread TompiT
Hi, While trying to get an adgroup informations by id adgroup using v200909 AdGroupServiceInterface we get the following exception from API : AuthenticationError.CLIENT_EMAIL_INVALID @ ; trigger:'gb-aw- bestoftheb...@shopping-engine.com' We have the same problem by trying to get data from differen

AdWords API .NET Client API, Re-Usability of AdWordsUser

2010-03-19 Thread quaylar
Hi all! I am currently porting my adwords-app from v13 to v2009 and started to use the client-libs for the first time. In my application i have to make multiple calls to the same service, but each time with different authentication headers, so i was wondering if it is really the correct way to use

AdWords API Get All Keywords

2010-03-19 Thread Mike
How is the best way to get all keywords and keyword_id in Campaign. Someone on PHP example for me? Regards Mike -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. Also find us on our blog and discussion group: http://adword

AdWords API Rates best/cheapest method

2010-03-19 Thread Ivo.bathke
hi i just discovered the AdParamServices, wow! now im wondering what would be best / cheapest practice for keeping ones ads in sync with daily price and stock updates. and im little bit confused by the rate-sheet by now. my first way would have been to update (mutate->set) our ads when changed vi

AdWords API Re: EntityNotFound.INVALID_ID

2010-03-19 Thread Mike
ok. i have done: Original Code in PHP lib: // Get the AdGroupAdService. $adGroupAdService = $user->GetAdGroupAdService('v200909'); $adGroupId = '3121652289'; Fix: // Get the AdGroupAdService. $adGroupAdService = $user->GetAdGroupAdService('v200909'); $foo = '3121652289'; $adGroupId