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

2010-03-19 Thread Matthew McGinty
I used to use v13 KeywordToolService to call getKeywordsFromSite()
which gave me an *ordered* list of keyword groups.

Now I'm migrating to v2009 Java client library.

I have found that using the v2009 NGRAM_GROUP tells me the name of the
group a given keyword belongs to. So I could perhaps loop over all the
keywords returned and collect all the NGRAM_GROUPs into a list (to try
to mimick what the v13 was giving me).

But what is the ordering? Are v2009 keyword results given in the same
order as the v13
results (with v13 The groups are ordered by decreasing relevance to
the
site) ?

Thanks in advance for any help.

Matt

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 = (float)$foo;

if someone know better fix, let me know.

Regards Mike








On 18 Mrz., 19:38, Mike i...@webtraffics.de wrote:
 I experience the same problem in Sandbox with php lib.
  My code is based on examples/AddAds.php.
 Basicly I just changes  $adGroupId='3121652289'.
  SoapFault Object ( [message:protected] = [EntityNotFound.INVALID_ID
 @ operations[0].operand.adGroupId; trigger:'AdGroupId: 2147483647']

 I can create campains and groups, but not ads.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 via the BulkJobs.

with 100 succesful updates that would be: (100 * 40)*0.5 , with 50%
bulk rebate though, right?

is that correct?

now with adparams via bulkJob, how would that be?
(100 * 0,5) * 0.5 ?

which would be cheaper.
did i get that right?

thanx in advance
ivo

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 a different
AdWordsUser each time i need to switch credentials?

I saw that one can create an AdWordsUser with supplied header-values,
which will then be used for the ServiceFactories to create correctly
set up services.
The point is that i need to make calls to several different accounts
(using MCC), which would mean that the service-factories get set up
again for each account (which might be an expensive operation?) where
i'd just need the RequestHeader to be changed.

I figured that i can create a service-factory myself, using the public
constructor, duplicating the code to create the RequestHeader, setting
it accordingly via the public property and then retrieving a Service:
Problem is just that createService also demands me to supply an
AdWordsUser, which would leave me again with creating a user for each
account.

I think this scenario is not really so uncommon, how do you guys solve
this if you use the libraries?

cheers,

--qu

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 different
campaigns or adgroups.
Note that our code is also used for other accounts and we don't have
any issue, it just appears on one account.

Could you help us to find what is wrong with that ?
Thanks in advance,

Find below the SOAP informations (request/response)
--
Request :
--
?xml version=1.0 encoding=UTF-8?
soapenv:Envelope 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:Header
ns1:RequestHeader soapenv:actor=http://schemas.xmlsoap.org/
soap/actor/next soapenv:mustUnderstand=0 xmlns:ns1=https://
adwords.google.com/api/adwords/cm/v200909
ns1:authToken xmlns:ns1=https://adwords.google.com/api/
adwords/cm/v200909**/ns1:authTokenns1:clientEmailgb-aw-
bestoftheb...@shopping-engine.com/
ns1:clientEmailns1:developerTokenmyDevToken/
ns1:developerTokenns1:userAgentAdWords API Java Client Library -
v7.1.0 - myUserAgent/ns1:userAgentns1:validateOnlyfalse/
ns1:validateOnly
/ns1:RequestHeader
/soapenv:Header
soapenv:Body
get xmlns=https://adwords.google.com/api/adwords/cm/
v200909
selector
adGroupIds329941153/adGroupIds
/selector
/get
/soapenv:Body
/soapenv:Envelope
--
Response :
--
?xml version=1.0 encoding=UTF-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader xmlns=https://adwords.google.com/api/adwords/
cm/v200909
requestId2f53bc5eb69660a5636dfb67acfa9e0a/
requestIdoperations0/operationsresponseTime149/
responseTimeunits0/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/
faultcodefaultstringAuthenticationError.CLIENT_EMAIL_INVALID @ ;
trigger:'gb-aw-bestoftheb...@shopping-engine.com'/faultstring
detail
ApiExceptionFault xmlns=https://adwords.google.com/
api/adwords/cm/v200909
messageAuthenticationError.CLIENT_EMAIL_INVALID
@ ; trigger:'gb-aw-bestoftheb...@shopping-engine.com'/
messageApplicationException.TypeApiException/
ApplicationException.Type
errors xsi:type=AuthenticationError
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
fieldPath/triggergb-aw-
bestoftheb...@shopping-engine.com/
triggerApiError.TypeAuthenticationError/
ApiError.TypereasonCLIENT_EMAIL_INVALID/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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.

Now, im wondering even more: There is no possibilty to change header-
values for an AdWordsUser once it is created, how is the majority
of users of the .net client lib solving this prob?
I guess its no big deal to modify the sources myself to be able to
change the clientEmail of an existing AdWordsUser - but id rather not
touch external
libs unless absolutely necessary.

How do you guys get around this issue?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 j.e.fr...@gmail.com 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 web
 UI), but once there was a video, I could use the API to create video
 ads that referenced that video.

 Looking through the v2009 docs, it is not immediately apparent how to
 do this anymore.  I don't see an equivalent to the old
 AdService.getMyVideos() call.  I also am not sure how I would actually
 create a video ad using v2009, if I did have a way to get the existing
 videos.  I believe I would create a TemplateAd, and set its template
 ID to a magic number representing click-to-play, and figure out which
 TemplateElements were needed, etc.  I haven't found an example of
 doing this.  I am certainly willing to start experimenting, but before
 I dive in, I wanted to check if it is possible to do this (create
 click-to-play video ads) using the v2009 API.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 mcgin...@gmail.com wrote:
 Can anyone point me to the 2009 Java client library equivalent of the
 v13 LASTMONTHSEARCHVOLUME web service response field to a
 getKeywordsFromSite() call?

 I've already found the equivalents to AVGSEARCHVOLUME, TEXT, and (I
 think) ADVERTISERCOMPETITIONSCALE.

 Thanks for any input.

 Matt

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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://schemas.xmlsoap.org/soap/envelope/}
Server.userException
 faultSubcode:
 faultString: org.xml.sax.SAXException: Invalid element in
com.google.api.adwords.v200909.cm.ApiError - reason
 faultActor:
 faultNode:
 faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
Invalid element in com.google.api.adwords.v200909.cm.ApiError - reason
at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:
258)
at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:
1035)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:
227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:
62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.google.api.adwords.v200909.o.TargetingIdeaServiceSoapBindingStub.get(TargetingIdeaServiceSoapBindingStub.java:
1230)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 those would bring back All data. Wrong. Now I
have just left that parameter blank, and so I will get all.

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

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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:

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/
cm/v200909
applicationTokenappToken/applicationToken
authTokenauthToken/authToken
clientEmailclientemail+liuda...@adform.com/clientEmail
developerTokendevToken/developerToken
/RequestHeader
/soap:Header
soap:Body
get xmlns=https://adwords.google.com/api/adwords/cm/
v200909
selector
campaignStatusesACTIVE/campaignStatuses
campaignStatusesDELETED/campaignStatuses
statsSelector
dateRange
min20100120/min
max20100120/max
/dateRange
/statsSelector
paging
numberResults1/numberResults
/paging
/selector
/get
/soap:Body
/soap:Envelope

Response:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
 
faultstringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ /
faultstring
detail
ApiExceptionFault xmlns=https://adwords.google.com/
api/adwords/cm/v200909
 
messageInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ /message
ApplicationException.TypeApiException/
ApplicationException.Type
errors xmlns:xsi=http://www.w3.org/2001/
XMLSchema-instance xsi:type=InternalApiError
fieldPath/fieldPath
trigger/trigger
ApiError.TypeInternalApiError/
ApiError.Type
reasonUNEXPECTED_INTERNAL_API_ERROR/reason
/errors
/ApiExceptionFault
/detail
/soap:Fault
/soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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
adwordsapiadvi...@google.com wrote:
 Hi Raj,

 You also need to create the statsSelector object.

 $selector = new AdGroupSelector();
 $selector-statsSelector = new StatsSelector();
 $selector-statsSelector-dateRange = new
 DateRange('20100101','20100131');

 Best,
 - Eric Koleda, AdWords API Team

 On Mar 17, 1:19 pm, Raj rajanikant...@gmail.com wrote:

  Hi team,

    I am trying to get aall AdGroups criterion information for a given
  campaign ID or adGroupID for selected period.

  I am getting results but they are alltime results rather than selected
  date range.

  I am using the following lines of code for date range.

   $daterange=new DateRange();
    $daterange-min='2010-01-01';
    $daterange-max='2010-01-31';

  $selector = new AdGroupSelector();
  $selector-statsSelector=$daterange;

  $adGroupService = $user-GetAdGroupService('v200909');
  $page = $adGroupService-get($selector);

  I tired
  $selector-statsSelector-dateRange=new
  DateRange('2010-01-01','2010-01-31');
  and
  $selector-statsSelector-dateRange=new
  DateRange('20100101','20100131');

  then I got error as
  Creating default object from empty value in C:\AppServ\www
  \aw_api_php_lib_1.2.1\examples\v200909\GetAllAdGroups.php on line 61

  Please give me guidance.

  Thanks,
  Raj

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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-numberResults = 21;
$selector-paging = $paging;

$relatedToKeywordSearchParameter = new RelatedToUrlSearchParameter();
$relatedToKeywordSearchParameter-urls = array($url);
$selector-searchParameters = array($relatedToKeywordSearchParameter);

This returns 7 keywords of each matching type (exact, broad, and
phrase)   ( 7 [keywords] * 3 [types] = 21 results)
I am wanting only a single type (such as 'exact') of keyword returned
on searching the url, so I will have 21 keywords of one type rather
than 7.  Not quite sure how to do this on the
RelatedToUrlSearchParameter.  I know it can be done with
RelatedToKeywordSearchParameter, but that isn't my parameter.  Any
ideas?  Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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
.status
.statusSpecified


These don't exist in the class.  How can I set these properties?

Thank you

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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/CampaignTargetService.LanguageTarget.html
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.NegativeAdGroupCriterion.html
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCriterionService.UserStatus.html


On Mar 19, 12:41 pm, BeeGeez brianpgra...@gmail.com wrote:
 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
                 .status
                 .statusSpecified

 These don't exist in the class.  How can I set these properties?

 Thank you

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 qme...@gmail.com wrote:
 Nobody can help me ?
 All suggestions are welcome!

 On Mar 18, 3:25 pm, Qmeapi qme...@gmail.com wrote:



  I can add that this case doesn't happen with the non-validation
  service (sandbox and production environments). Is there any problem
  with the validation service ?

  On Mar 18, 2:16 pm, Qmeapi qme...@gmail.com wrote:

   Hi,

   I've written some code to validate campaigns before submitting them to
   the google platform. That was working but this morning the mutate
   function still return null. Here's the code:

   -

   try {
           [...]
           //Campaign VALIDATION service
           CampaignServiceInterface campaignServiceInterface =
   (CampaignServiceInterface)user.getValidationService(AdWordsService.V200909.
­­CAMPAIGN_SERVICE);

           Campaign campaign = new Campaign();
           campaign.setName(...);

           [...]

           CampaignOperation operation = new CampaignOperation();
           operation.setOperand(campaign);
           operation.setOperator(Operator.ADD);

           //The return value here is always null
           CampaignReturnValue result = campaignServiceInterface.mutate(new
   CampaignOperation[] {operation});

           campaignId = result.getValue()[0].getId();

           // No policy violations found, finishing without exception.

   } catch (ApiException e) {

           [...]

   -

   Hope someone could help.

   Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 alexander.vinnit...@gmail.com wrote:
 Hello

 When I call AdGroupService.mutate. I get the following error:
 Unexpected end of file has occurred. The following elements are not
 closed: ApiError.Type, errors, ApiExceptionFault, detail, soap:Fault,
 soap:Body, soap:Envelope. Line 1, position 65537.

 It rises from time to time, depending on data that I pass.
 Unfortunately I cannot detect which group names raise this error.
 Please, help.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 brianpgra...@gmail.com 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 these types?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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_EXPIRED is only applicable when OAuth
authentication is used, which isn't fully fleshed out yet in the API.

Best,
- Eric

On Mar 18, 10:22 am, SEM sem...@gmail.com wrote:
 Eric:

 You're right in that the error reason for an expired auth token being
 LOGIN_COOKIE_INVALID isn't obvious.
 That said, in what situation would the error OAUTH_TOKEN_EXPIRED be
 returned?

 Lastly, which of the above erros would be returned if the user changes
 his password and we attempt to reuse the authtoken for the invalidated
 login?

 Let me know.

 Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 k...@shutterstock.com wrote:
 Hello,

 We installed yesterday's updated Perl API client library and it seems
 to be working so far with our limited testing in the sandbox.

 Specifically, the example script add_all.pl and
 delete_all_campaigns.pl scripts run without problems in the sandbox.
 Also, a few simple scripts we wrote also run.

 However, when we run the display_stats.pl script, also included as an
 example, it fails with this error:

 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @

 Any ideas about this?

 Thanks,
    Kris Arnold

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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

On Mar 18, 1:04 pm, btaz msund...@gmail.com wrote:
 I've read that an atomic batch size currently is set to 50.

 I setup a test that performs 150 AdGroup Criterion operations in
 total. The first 50 operations were rigged to fail, the following 50
 operations to be successful, and the last 50 operations to fail.
 For each operation (in this case pause keywords) I had to provide an
 AdGroup ID and a Criterion ID).

 The result from the AdWords bulk mutate job service was:

 One FailureResult object containing an EntityNotFound exception and
 the AdGroupID's (50 of them) that caused the failure with a batch
 relative index.

 49 BatchFailureResult objects that doesn't contain any AdGroup
 Critetion identifying information.

 One FailureResult object containing an EntityNotFound exception and
 the AdGroupID's (50 of them) that caused the failure with a batch
 relative index.

 49 BatchFailureResult objects that doesn't contain any AdGroup
 Critetion identifying information.

 50 ReturnValueResult objects containing the AdGroup ID, Criterion ID
 and status for all pause keyword operations that were successful

 Since the results comes back in a different order (batches that failed
 due to errors are returned first) how do you suggest that we identify
 which input data caused the failures? Yes, I realize that using a bit
 of detective work you can figure this out in most cases, but I'd
 prefer to build a programmatic solution that isn't too complex.

 Unless I missed something the current implementation makes it
 difficult to identify which operations that were successful and which
 operations that failed when an atomic batch failed, especially when
 multiple batches fails within the same OperationStream.

 If you for example would have provided both the AdGroup ID and the
 Criterion ID in the EntityNotFound exception it would have been a
 fairly trivial exercise to map the failures against the input
 operations, something that the current implementation makes
 unnecessarily difficult.

 What is the Google AdWords teams recommended solution for how to
 properly identify the operations that failed in cases like this?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 jos...@eeinternet.com wrote:
 On Thursday 18 March 2010, AdWords API Advisor elucidated thus:

  Hi Joshua,

  It seems you've found answers to many of your questions.  Which ones
  are outstanding?

 Thanks for replying.  The one outstanding is the response I'm getting
 when I don't have access to the queried campaign.  With the v13 API, if
 I queried a campaign I didn't have access to (maybe because I didn't
 supply the correct account e-mail), I got:

 'This campaign is accessible to the user, but does not belong to the
 current customer.  If you wish to access this campaign, you must set
 the clientEmail header to an appropriate login.'

 With 200909, I simply get:

 (CampaignPage){
    totalNumEntries = 0
    Page.Type = CampaignPage
    totalBudget =
       (Budget){
          period = DAILY
           amount =
              (Money){
                 ComparableValue.Type = Money
                 microAmount = 0
             }
          deliveryMethod = STANDARD
       }

 }

 with no indication if it is a valid campaign ID, or whether or not I
 have access to the ID I queried.  The distinction between not
 existing and insufficient permissions seems to have been removed
 with no way (I can see) to tell the difference.

 Thanks!

 j







  Best,
  - Eric Koleda, AdWords API Team

  On Mar 17, 10:13 pm, Joshua J. Kugler jos...@eeinternet.com wrote:
   On Wednesday 17 March 2010, Joshua J. Kugler elucidated thus:
All I get from the campaign_service.Get(selector) call (this is
using suds in Python):

(CampaignPage){
totalNumEntries = 0
Page.Type = CampaignPage
totalBudget =
(Budget){
period = DAILY
amount =
(Money){
ComparableValue.Type = Money
microAmount = 0
}
deliveryMethod = STANDARD
}
}

   OK, I from a v13 API call that I don't have any campaigns available
   to me...so, that answers part of my question, BUT when I specify an
   id in getCampaign (v13) it tells me I can't access that campaign.
   When I do that for v200909, it just returns zero records and
   doesn't tell me why. Not very friendly. :)

I see that the CampaignService has an object named Stats which
has all the aforementioned fields, but there is no indication on
how to retrieve that object for a campaign. How do I do a call
that will retrieve a Stats object, and thus the information I
need?

   OK, so I understand now that if results are returned, they'll
   include a Stats object...got it.

In fact, in the wsdl file, on line 3352 (CampaignService.wsdl for
200909), the operation is defined as:

wsdl:operation name=get

(lower case 'G'). Same for 'mutate.' It would seem the
documentation is incorrect in this case.

   Sigh...I could have sworn the docs were saying Get, but I guess
   not. They are saying GetSomething for the old calls when the
   correct call is getSomething, though. :)

   So, a couple of questions answered, one still outstanding. :)

   j

   --
   Joshua Kugler
   Part-Time System Admin/Programmerhttp://www.eeinternet.com
   PGP Key:http://pgp.mit.edu/ID0x73B13B6A

 --
 Joshua Kugler
 Part-Time System Admin/Programmerhttp://www.eeinternet.com
 PGP Key:http://pgp.mit.edu/ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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'm going to get a captcha?

And speaking of the captcha, why is it there at all for the Adwords
api? I'm paying to use this api, and I'm logging in with valid
credentials, not randomly hacking at it trying to guess logins. I
can't understand why you'd prevent yourself from charging me money.

Rick

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 somebody *else* was hacking 
my account), I will have no way to fill in and return this captcha 
because because this is a script running on a server in a cron 
job...not interactively in any way to display graphical output.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 tsmthi...@gmail.com wrote:
 Thanks for reply!

 Unfortunately, the includeZeroImpression field only has an effect if i
 work with the keywords according 
 tohttp://code.google.com/intl/en/apis/adwords/docs/developer/DefinedRep...

 ..this field's value only has an effect if you set
 selectedReportType  to Keyword.

 Regards,
 Thiago.

 On 18 mar, 13:19, AdWords API Advisor adwordsapiadvi...@google.com
 wrote:



  Hi,

  You're correct, currently the only way to get all disapproved ads is
  to iterate over all of them.  An example of this is included in the
  Java client library:

   http://code.google.com/p/google-api-adwords-java/source/browse/trunk/...

  To get back results with zero impressions you need to ensure that
  DefinedReportJob.includeZeroImpression is set to true.

   http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.h...

  Unfortunately the change history is not exposed via the API, so it
  isn't possible to tell when an ad was created.

  Best,
  - Eric Koleda, AdWords API Team.

  On Mar 17, 5:23 pm, tsmthi...@gmail.com tsmthi...@gmail.com wrote:

   Still about the ad's..

   How can i know how long ago the ad was created?

   regards,
   Thiago.

   On 17 mar, 18:10, tsmthi...@gmail.com tsmthi...@gmail.com wrote:

Hello,

Is there any way to get the disapproved Ad's through api (v13 report
or v200906)?

The only way that i see, is returning all of the ads, and check one by
one if one of them is disapproved, but with this way, i will pay a lot
of API units.

Another question is: Can i get the ad's with zero impression through
api report?

regards,
Thiago.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 module
page = targeting_idea_service.Get(selector)[0]
  File ../../aw_api/TargetingIdeaService.py, line 105, in Get
'TargetingIdea', self.__loc, request)
  File ../../aw_api/WebService.py, line 350, in CallMethod
raise ValidationError(error['data'])
aw_api.Errors.ValidationError: Invalid headers for 'https://adwords-
sandbox.google.com', see 
http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html#requestheaders.


I have tried to run in python 2.5 and 2.6 and on ubuntu and fedora.
Its giving same error everywhere.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Error : expected `SOAP-ENV:Envelope', gto `wsdl:definitions'

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 dhavalsha...@gmail.com wrote:
 I get the above error when I try to obtain the keywords using
 TargetingIdeaService. Heres the stack trace.

 *** Outgoing HTTP headers
 **
 POST /api/adwords/o/v200909/TargetingIdeaService?wsdl HTTP/1.0
 Host: adwords-sandbox.google.com
 User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
 Content-type: text/xml; charset=UTF-8
 Content-length: 2187
 SOAPAction: get
 
 *** Outgoing SOAP
 **
 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope
   SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
   xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
   xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
   xmlns:xsd3=http://www.w3.org/2001/XMLSchema;
   xmlns:xsi3=http://www.w3.org/2001/XMLSchema-instance;

 SOAP-ENV:Header
 authToken xsi3:type=xsd3:stringTHE TOKEN HERE/authToken
 developerToken xsi3:type=xsd3:stringTHE TOKEN HERE/
 developerToken
 clientCustomerId xsi3:type=xsd3:stringEMAIL ID HERE/
 clientCustomerId
 applicationToken xsi3:type=xsd3:stringTHE TOKEN HERE/
 applicationToken
 useragent xsi3:type=xsd3:stringUA HERE/useragent
 /SOAP-ENV:Header
 SOAP-ENV:Body
 ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/cm/
 v200909
 xsd3:v1
 TargetingIdeaSelector
 searchParameters SOAP-ENC:arrayType=ns2:SOAPStruct[3]
 xsi3:type=SOAP-ENC:Array xmlns:ns2=http://soapinterop.org/xsd;
 item
 keywords SOAP-ENC:arrayType=ns2:SOAPStruct[1] xsi3:type=SOAP-
 ENC:Array
 item
 texthouse/text
 matchTypeBROAD/matchType
 /item
 /keywords
 type xsi3:type=xsd3:stringRelatedToKeywordSearchParameter/type
 /item
 item
 type xsi3:type=xsd3:stringLanguageTargetSearchParameter/type
 languageTargets SOAP-ENC:arrayType=ns2:SOAPStruct[1]
 xsi3:type=SOAP-ENC:Array
 item
 languageCode xsi3:type=xsd3:stringen/languageCode
 /item
 /languageTargets
 /item
 item
 type xsi3:type=xsd3:stringCountryTargetSearchParameter/type
 countryTargets SOAP-ENC:arrayType=ns2:SOAPStruct[1] xsi3:type=SOAP-
 ENC:Array
 item
 countryCode xsi3:type=xsd3:stringUS/countryCode
 /item
 /countryTargets
 /item
 /searchParameters
 ideaTypeKEYWORD/ideaType
 paging
 startIndex0/startIndex
 numberResults100/numberResults
 /paging
 requestTypeIDEAS/requestType
 /TargetingIdeaSelector
 /xsd3:v1
 /ns1:get
 /SOAP-ENV:Body
 /SOAP-ENV:Envelope
 
 code= 200
 msg= OK
 headers= Content-Type: text/xml

 Date: Thu, 18 Mar 2010 18:33:23 GMT

 Expires: Thu, 18 Mar 2010 18:33:23 GMT

 Cache-Control: private, max-age=0

 X-Content-Type-Options: nosniff

 X-Frame-Options: SAMEORIGIN

 Server: GSE

 X-XSS-Protection: 0

 content-type= text/xml
 data= ?xml version=1.0 encoding=UTF-8?
 !-- Generated file, do not edit --
 !-- Copyright 2008 Google Inc. All Rights Reserved --
 wsdl:definitions
   targetNamespace=https://adwords.google.com/api/adwords/o/v200909;
   xmlns:tns=https://adwords.google.com/api/adwords/o/v200909;
   xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
   xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   wsdl:types

 THEN COMPLETE WSDL DEFINTION FILE FOLLOWED BY

   /wsdl:binding
   wsdl:service name=TargetingIdeaService
     wsdl:port binding=tns:TargetingIdeaServiceSoapBinding
 name=TargetingIdeaServiceInterfacePort
       wsdlsoap:address location=http://0.optimization-webapi-sandbox-
 canary.optimization-webapi.ads-optimization-
 frontend.cg.borg.google.com.:4024/api/adwords/o/v200909/
 TargetingIdeaService/
     /wsdl:port
   /wsdl:service
 /wsdl:definitions
 
 [class 'SOAPpy.Errors.Error', Error : expected `SOAP-ENV:Envelope',
 gto `wsdl:definitions', traceback object at 0x945916c]
 class 'SOAPpy.Errors.Error'
 Error : expected `SOAP-ENV:Envelope', gto `wsdl:definitions'
 traceback object at 0x945916c
 Traceback (most recent call last):
   File testSample.py, line 85, in module
     page = soapProxy.get(in0)
   File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
 Client.py, line 471, in __call__
     return self.__r_call(*args, **kw)
   File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
 Client.py, line 493, in __r_call
     self.__hd, self.__ma)
   File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
 Client.py, line 396, in __call
     p, attrs = parseSOAPRPC(r, attrs = 1)
   File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
 Parser.py, line 1049, in parseSOAPRPC
     t = _parseSOAP(xml_str, rules = rules)
   File 

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 v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 pie...@gmail.com wrote:
 does this break the .NET client library? i've just started seeing some
 authentication errors when working against the sandbox, and I'm
 wondering f this might be the cause?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 shasel...@gmail.com wrote:
 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-numberResults = 21;
 $selector-paging = $paging;

 $relatedToKeywordSearchParameter = new RelatedToUrlSearchParameter();
 $relatedToKeywordSearchParameter-urls = array($url);
 $selector-searchParameters = array($relatedToKeywordSearchParameter);

 This returns 7 keywords of each matching type (exact, broad, and
 phrase)   ( 7 [keywords] * 3 [types] = 21 results)
 I am wanting only a single type (such as 'exact') of keyword returned
 on searching the url, so I will have 21 keywords of one type rather
 than 7.  Not quite sure how to do this on the
 RelatedToUrlSearchParameter.  I know it can be done with
 RelatedToKeywordSearchParameter, but that isn't my parameter.  Any
 ideas?  Thanks!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 module
 page = targeting_idea_service.Get(selector)[0]
   File ../../aw_api/TargetingIdeaService.py, line 105, in Get
 'TargetingIdea', self.__loc, request)
   File ../../aw_api/WebService.py, line 350, in CallMethod
 raise ValidationError(error['data'])
 aw_api.Errors.ValidationError: Invalid headers for 'https://adwords-
 sandbox.google.com', see
 http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo
x.html#requestheaders.


 I have tried to run in python 2.5 and 2.6 and on ubuntu and fedora.
 Its giving same error everywhere.

What code are you using to set your headers?

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 pie...@gmail.com wrote:
 I'm trying to publish a SWF to sandbox, but I'm getting an
 ImageError.INVALID_IMAGE error. what am I doing wrong?

 here's my request:

 ?xml version=1.0 encoding=utf-8?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
         soap:Header
                 RequestHeader 
 xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
                         authToken{my token{/authToken
                         clientEmailclient_1+{my email}/clientEmail
                         developerToken{my email}++USD/developerToken
                         userAgentAWAPI DotNetLib 7.1 - {my 
 company}/userAgent
                 /RequestHeader
         /soap:Header
         soap:Body
                 mutate 
 xmlns=https://adwords.google.com/api/adwords/cm/v200909;
                         operations
                                 operatorADD/operator
                                 operand
                                         adGroupId3121619235/adGroupId
                                         ad xsi:type=ImageAd
                                                 url{click URL}/url
                                                 displayUrl{click 
 URL}/displayUrl
                                                 image
                                                         
 mimeTypeFLASH/mimeType
                                                         data{base-64 
 encoded SWF}/data
                                                 /image
                                                 
 nameNew_Campaign_300x250_0/name
                                         /ad
                                 /operand
                         /operations
                 /mutate
         /soap:Body
 /soap:Envelope

 and here's the response:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
         soap:Header
                 ResponseHeader 
 xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
                         
 requestIde038a885b90ce2a4b607d3dbb86c5df2/requestId
                         operations1/operations
                         responseTime322/responseTime
                         units40/units
                 /ResponseHeader
         /soap:Header
         soap:Body
                 soap:Fault
                         faultcodesoap:Server/faultcode
                         faultstring[ImageError.INVALID_IMAGE @
 operations[0].operand.ad.image.data]/faultstring
                         detail
                                 ApiExceptionFault 
 xmlns=https://adwords.google.com/api/adwords/
 cm/v200909
                                         message[ImageError.INVALID_IMAGE @
 operations[0].operand.ad.image.data]/message
                                         
 ApplicationException.TypeApiException/
 ApplicationException.Type
                                         errors 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:type=ImageError
                                                 
 fieldPathoperations[0].operand.ad.image.data/fieldPath
                                                 trigger/trigger
                                                 
 ApiError.TypeImageError/ApiError.Type
                                                 reasonINVALID_IMAGE/reason
                                         /errors
                                 /ApiExceptionFault
                         /detail
                 /soap:Fault
         /soap:Body
 /soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 operation is 105.

Best,
- Eric Koleda, AdWords API Team

On Mar 18, 6:38 pm, shriny shr...@gmail.com wrote:
 Hi,

 Is there any way to associate failure results with input result.

 In an operationStream if there are many operations (eg 1000)
 how to associate the failed operation index to input operation index.

 Can API gurus post an sample in Java.

 the sample in client library doesn't address this issue, it just
 prints the failure result.

 Thanks
 Shriny

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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, AdWords API Team

On Mar 19, 12:32 am, Brian Graves brianpgra...@gmail.com wrote:
 Thanks.  Any way to access the ClientUsageRecord?  Or is that called
 something else too?

 On Mar 18, 6:32 pm, Peer Jakobsen (AdWords API Guru)



 peer.jakob...@gmail.com wrote:
  It's called Placement in 
  V2009.http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...

  Cheers

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 mcgin...@gmail.com wrote:
 I used to use v13 KeywordToolService to call getKeywordsFromSite()
 which gave me an *ordered* list of keyword groups.

 Now I'm migrating to v2009 Java client library.

 I have found that using the v2009 NGRAM_GROUP tells me the name of the
 group a given keyword belongs to. So I could perhaps loop over all the
 keywords returned and collect all the NGRAM_GROUPs into a list (to try
 to mimick what the v13 was giving me).

 But what is the ordering? Are v2009 keyword results given in the same
 order as the v13
 results (with v13 The groups are ordered by decreasing relevance to
 the
 site) ?

 Thanks in advance for any help.

 Matt

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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)
pete.lavet...@gmail.com wrote:
 http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...http://code.google.com/apis/adwords/v2009/docs/reference/CampaignTarg...http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupCrite...

 On Mar 19, 12:41 pm, BeeGeez brianpgra...@gmail.com wrote:



  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
                  .status
                  .statusSpecified

  These don't exist in the class.  How can I set these properties?

  Thank you- Hide quoted text -

 - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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.

Best,
- Eric Koleda, AdWords API Team

On Mar 19, 6:29 am, Ivo.bathke ivo.bat...@googlemail.com wrote:
 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 via the BulkJobs.

 with 100 succesful updates that would be: (100 * 40)*0.5 , with 50%
 bulk rebate though, right?

 is that correct?

 now with adparams via bulkJob, how would that be?
 (100 * 0,5) * 0.5 ?

 which would be cheaper.
 did i get that right?

 thanx in advance
 ivo

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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:38 am, Mike i...@webtraffics.de wrote:
 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://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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 sem...@gmail.com wrote:
 Eric:

 We aren't assuming that 403/CAPTCHA errors will resolve themselves
 automatically.
 Also, we understand that 403/CAPTCHA errors could occur for a variety
 of reasons.

 Our situation is as follows:
 We rolled out a production update to v200909 without ClientLogin /
 authtoken caching resulting in a lot of 403/CAPTCHA locks for our
 customer base of several hundred customers (due to excessive logins).
 We would prefer not to subject our customers to this inconvenience due
 to this architectural change in authentication and unlock their
 accounts on their behalf.
 That said, if these specific 403/CAPTCHA errors unlock themselves
 after a period of a few hours (by which time our caching code goes
 in), we can hold off on unlocking these errors manually.
 Could you let us know what the duration is for these CAPTCHA errors
 (for this specific reason - i.e. due to throttling restrictions) to
 unlock automatically (if at all)?

 Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 thomas.pit...@gmail.com wrote:
 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 different
 campaigns or adgroups.
 Note that our code is also used for other accounts and we don't have
 any issue, it just appears on one account.

 Could you help us to find what is wrong with that ?
 Thanks in advance,

 Find below the SOAP informations (request/response)
 --
 Request :
 --
 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope 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:Header
         ns1:RequestHeader soapenv:actor=http://schemas.xmlsoap.org/
 soap/actor/next soapenv:mustUnderstand=0 xmlns:ns1=https://
 adwords.google.com/api/adwords/cm/v200909
             ns1:authToken xmlns:ns1=https://adwords.google.com/api/
 adwords/cm/v200909**/ns1:authTokenns1:clientEmailgb-aw-
 bestoftheb...@shopping-engine.com/
 ns1:clientEmailns1:developerTokenmyDevToken/
 ns1:developerTokenns1:userAgentAdWords API Java Client Library -
 v7.1.0 - myUserAgent/ns1:userAgentns1:validateOnlyfalse/
 ns1:validateOnly
         /ns1:RequestHeader
     /soapenv:Header
     soapenv:Body
         get xmlns=https://adwords.google.com/api/adwords/cm/
 v200909
             selector
                 adGroupIds329941153/adGroupIds
             /selector
         /get
     /soapenv:Body
 /soapenv:Envelope
 --
 Response :
 --
 ?xml version=1.0 encoding=UTF-8?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
     soap:Header
         ResponseHeader xmlns=https://adwords.google.com/api/adwords/
 cm/v200909
             requestId2f53bc5eb69660a5636dfb67acfa9e0a/
 requestIdoperations0/operationsresponseTime149/
 responseTimeunits0/units
         /ResponseHeader
     /soap:Header
     soap:Body
         soap:Fault
             faultcodesoap:Server/
 faultcodefaultstringAuthenticationError.CLIENT_EMAIL_INVALID @ ;
 trigger:'gb-aw-bestoftheb...@shopping-engine.com'/faultstring
             detail
                 ApiExceptionFault xmlns=https://adwords.google.com/
 api/adwords/cm/v200909
                     messageAuthenticationError.CLIENT_EMAIL_INVALID
 @ ; trigger:'gb-aw-bestoftheb...@shopping-engine.com'/
 messageApplicationException.TypeApiException/
 ApplicationException.Type
                     errors xsi:type=AuthenticationError
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
                         fieldPath/triggergb-aw-
 bestoftheb...@shopping-engine.com/
 triggerApiError.TypeAuthenticationError/
 ApiError.TypereasonCLIENT_EMAIL_INVALID/reason
                     /errors
                 /ApiExceptionFault
             /detail
         /soap:Fault
     /soap:Body
 /soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 j.e.fr...@gmail.com wrote:
 I'm hoping someone can shed some light on this.

 On Mar 17, 11:55 am, j.e.frank j.e.fr...@gmail.com 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 web
  UI), but once there was a video, I could use the API to create video
  ads that referenced that video.

  Looking through the v2009 docs, it is not immediately apparent how to
  do this anymore.  I don't see an equivalent to the old
  AdService.getMyVideos() call.  I also am not sure how I would actually
  create a video ad using v2009, if I did have a way to get the existing
  videos.  I believe I would create a TemplateAd, and set its template
  ID to a magic number representing click-to-play, and figure out which
  TemplateElements were needed, etc.  I haven't found an example of
  doing this.  I am certainly willing to start experimenting, but before
  I dive in, I wanted to check if it is possible to do this (create
  click-to-play video ads) using the v2009 API.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 Advisor
adwordsapiadvi...@google.com wrote:
 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 pie...@gmail.com wrote:



  I'm trying to publish a SWF to sandbox, but I'm getting an
  ImageError.INVALID_IMAGE error. what am I doing wrong?

  here's my request:

  ?xml version=1.0 encoding=utf-8?
  soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
          soap:Header
                  RequestHeader 
  xmlns=https://adwords.google.com/api/adwords/cm/
  v200909
                          authToken{my token{/authToken
                          clientEmailclient_1+{my email}/clientEmail
                          developerToken{my email}++USD/developerToken
                          userAgentAWAPI DotNetLib 7.1 - {my 
  company}/userAgent
                  /RequestHeader
          /soap:Header
          soap:Body
                  mutate 
  xmlns=https://adwords.google.com/api/adwords/cm/v200909;
                          operations
                                  operatorADD/operator
                                  operand
                                          adGroupId3121619235/adGroupId
                                          ad xsi:type=ImageAd
                                                  url{click URL}/url
                                                  displayUrl{click 
  URL}/displayUrl
                                                  image
                                                          
  mimeTypeFLASH/mimeType
                                                          data{base-64 
  encoded SWF}/data
                                                  /image
                                                  
  nameNew_Campaign_300x250_0/name
                                          /ad
                                  /operand
                          /operations
                  /mutate
          /soap:Body
  /soap:Envelope

  and here's the response:

  soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
          soap:Header
                  ResponseHeader 
  xmlns=https://adwords.google.com/api/adwords/cm/
  v200909
                          
  requestIde038a885b90ce2a4b607d3dbb86c5df2/requestId
                          operations1/operations
                          responseTime322/responseTime
                          units40/units
                  /ResponseHeader
          /soap:Header
          soap:Body
                  soap:Fault
                          faultcodesoap:Server/faultcode
                          faultstring[ImageError.INVALID_IMAGE @
  operations[0].operand.ad.image.data]/faultstring
                          detail
                                  ApiExceptionFault 
  xmlns=https://adwords.google.com/api/adwords/
  cm/v200909
                                          message[ImageError.INVALID_IMAGE @
  operations[0].operand.ad.image.data]/message
                                          
  ApplicationException.TypeApiException/
  ApplicationException.Type
                                          errors 
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:type=ImageError
                                                  
  fieldPathoperations[0].operand.ad.image.data/fieldPath
                                                  trigger/trigger
                                                  
  ApiError.TypeImageError/ApiError.Type
                                                  
  reasonINVALID_IMAGE/reason
                                          /errors
                                  /ApiExceptionFault
                          /detail
                  /soap:Fault
          /soap:Body
  /soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 

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 should be sometime in Q2.

Best,
- Eric Koleda, AdWords API Team

On Mar 18, 7:32 pm, Peer Jakobsen (AdWords API Guru)
peer.jakob...@gmail.com wrote:
 Is it OK if we start using the V201002 BidLandScapeService? I don't
 see it documented anywhere, but usage looks pretty straightforward.

 Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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.com'
- user A enters 'a...@gmail.com' into our system so we can make API calls
on their behalf

- user Z signs up for our service
- user Z enters 'a...@gmail.com' into our system and uses A's budget for
publishing campaigns.


How do we verify that user Z actually has access to the 'a...@gmail.com'
account ?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 rick.kra...@gmail.com 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 LASTMONTHSEARCHVOLUME.

 On Mar 19, 1:57 am, Matthew McGinty mcgin...@gmail.com wrote:

  Can anyone point me to the 2009 Java client library equivalent of the
  v13 LASTMONTHSEARCHVOLUME web service response field to a
  getKeywordsFromSite() call?

  I've already found the equivalents to AVGSEARCHVOLUME, TEXT, and (I
  think) ADVERTISERCOMPETITIONSCALE.

  Thanks for any input.

  Matt

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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::WSDL module.  It would be great to talk in detail
about the patches and how those changes can be worked into the core
library.

In regards to the AdWords library on CPAN, we agree that the old
library is deprecated and should be marked as such.  Putting the new
library on CPAN would be great for developers, but what's held us back
from doing that in the past is that the installation is currently very
manual, involving the SOAP::WSDL patches, etc.  We can work on
eliminating these steps so that distribution of the library is
simpler.

Thanks again for the interest and excitement.  We look forward to
working with you and other Perl developers.

Best,
- Eric Koleda, AdWords API Team

On Mar 18, 9:57 am, john napiorkowski jjn1...@gmail.com wrote:
 On Mar 17, 3:25 pm, AdWords API Advisor adwordsapiadvi...@google.com
 wrote:





  Hi All,

  To help you get started using and updating the client library, we've
  made sure that the current code is up to date with most of the
  services from v200909 of the API.

  The only services that are missing from this build are InfoService,
  BulkMutateJobService, and TargetingIdeaService.  These services
  require further patches to the SOAP module in order to support
  multiple namespaces.  For example, some of the obejcts in the
  InfoService are shared with cm/ and thus defined 
  withhttps://adwords.google.com/api/adwords/cm/namespace, others are
  unique to this service and are defined 
  underhttps://adwords.google.com/api/adwords/info/
  namespace.  We hope to implement these patches with your help.  The
  latest version of the code can be found at:

   http://code.google.com/p/google-api-adwords-perl/.

  Note that the client library requires patched version of the
  SOAP::WSDL module, thus make sure to follow instructions in the README
  file:

   http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/...

  Best,
  - Eric Koleda, AdWords API Team

 This is a great start.  I want to say I appreciate your timely
 response to this issue.  We are going to try building this code today
 and see how it goes; I'll post feedback later today.  I will also be
 posting a followup on the previously mentioned blog regarding your
 efforts here.

 I think some things I'd like to help work out would include:

 1) SOAP::WSDL patches, if these are good patches I will contact the
 cpan author and see if we can get them integrated and released on
 CPAN.  CPAN is the standard toolchain for perl developers and is the
 community approved method for contributing code.  So if these changes
 are needed I'd like to get them on CPAN.  Please consider if this can
 work with your legal team and terms.  We' d be happy to add a note to
 the author section saying something like, some code contributed by
 Google or similar.  Let me know what you think

 2) Ideally this code in google-api-adwords would also get released to
 CPAN in a regular way.  obviously the developer repo and related tools
 like bugtracking and discussion can reside anywhere, but again any
 Perl developer would look to CPAN first for code.  If the existing
 Google::Adwords module is going be be considered deprecated I need to
 get the author to mark a new release as such, and ideally we'd cut a
 working version of the code in the repository over here onto CPAN,
 like under Google::API::Adwords or similar.  Is there someone on the
 Google end that wants to own this CPAN module?   If you need help
 getting this together I would gladly assist.

 Myself I am not a SOAP expert.  In general SOAP is not preferred by
 any dynamic language, it is a better fit for strongly typed languages
 such as Java.  So I can't assist very much on that side.  However I
 can act to help facilitate communication between our communities and
 with other bookekeeping tasks, like CPAN access, etc.  Some developers
 on our side may be willing to put some additional time into getting
 all this working.

 Thanks!

 John Napiorkowski



  On Mar 17, 10:48 am, john napiorkowski jjn1...@gmail.com wrote:

   On Mar 16, 6:24 pm, AdWords API Advisor adwordsapiadvi...@google.com
   wrote:

Hi Rick

We are aware that the Perl client library is out of date, and we are
actively working on updating it to take full advantage of the v200909
version of the API.  We encourage AdWords API Perl developers to
contribute to the open source project and help to accelerate the
process, but we want you to understand that this work will not be
completed prior to the April 22 sunset of most v13 services.  We
recommend that developers either migrate their applications to another
language and client library (such as PHP, Python, etc.) or 

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
campaign data. I have it working when I don't use sandbox, however,
because I have more work to do and need to use the Sandbox for obvious
reasons. When I set the AdwordsUser to use sandbox, I get an error:
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

Here is the code that creates the User:

Map params = new HashMap();
params.put(version, v200909);
params.put(email, account.getUserName());
params.put(password, account.getPassword());
params.put(developerToken, account.getDeveloperToken());
params.put(applicationToken, account.getApplicationToken());
params.put(useragent, account.getUserAgent());
params.put(clientId, account.getClientEmail());
if (account.isSandbox()) {
//params.put(alternateUrl,
GoogleAdwordsAccount.SANDBOX_URL);
params.put(useSandbox, true);
}

AdWordsUser user = new AdWordsUser(params);

Here are some of the debug soap replies:

?xml version=1.0 encoding=UTF-8?soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://
www.w3.org/2001/XMLSchema-instancesoapenv:Headerns1:RequestHeader
soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
soapenv:mustUnderstand=0 xmlns:ns1=https://adwords.google.com/api/
adwords/cm/v200909ns1:applicationToken[myAppToken]/
ns1:applicationTokenns1:authToken xmlns:ns1=https://
adwords.google.com/api/adwords/cm/v200909**/
ns1:authTokenns1:clientEmailclient_1+[myEmail]/
ns1:clientEmailns1:developerToken[myDevToken]/
ns1:developerTokenns1:userAgentAdWords API Java Client Library - v
- Pythia 1.1/ns1:userAgentns1:validateOnlyfalse/
ns1:validateOnly/ns1:RequestHeader/
soapenv:Headersoapenv:Bodyget xmlns=https://adwords.google.com/
api/adwords/cm/v200909selectorcampaignStatusesACTIVE/
campaignStatusesstatsSelectordateRangemin20100318/
minmax20100318/max/dateRange/statsSelector/selector/get/
soapenv:Body/soapenv:Envelope

[19 Mar 2010 14:45:36,951 - DEBUG]
?xml version=1.0 encoding=UTF-8?soap:Envelope
xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR
@ /faultstringdetailApiExceptionFault xmlns=https://
adwords.google.com/api/adwords/cm/
v200909messageInternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ /
messageApplicationException.TypeApiException/
ApplicationException.Typeerrors xsi:type=InternalApiError
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;fieldPath/
trigger/ApiError.TypeInternalApiError/
ApiError.TypereasonUNEXPECTED_INTERNAL_API_ERROR/reason/errors/
ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope

The request info debug:
[19 Mar 2010 14:45:36,951 - DEBUG] email=[myEmail]
effectiveUser=client_1+[myEmail[ service=CampaignService method=get
operators={} responseTime=0 operations=0 units=0 requestId=
server=https://adwords-sandbox.google.com isFault=true
faultMessage=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @

Any help would be much appreciated. It's been very frustrating trying
to figure this out for Sandbox as I can already get results from live
with the exact code minus the useSandbox set.

Thanks,
Andy

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 API Advisor adwordsapiadvi...@google.com
wrote:
 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 k...@shutterstock.com wrote:

  Hello,

  We installed yesterday's updated Perl API client library and it seems
  to be working so far with our limited testing in the sandbox.

  Specifically, the example script add_all.pl and
  delete_all_campaigns.pl scripts run without problems in the sandbox.
  Also, a few simple scripts we wrote also run.

  However, when we run the display_stats.pl script, also included as an
  example, it fails with this error:

  InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @

  Any ideas about this?

  Thanks,
     Kris Arnold

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 BiddableAdGroupCriterion uses the adgroups default bids?

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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.NET (or C#) code example how to do
this?

I also looked at the examples in the client libraries but I it seems
like username/password is only used in v13.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


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 v13
KeywordToolService.getKeywordVariations() method.
I'm trying to figure out if there is an AttributeType I can pass in
the selector that will get me what I need to extract the
additionalToConsider and the moreSpecific values.

Thanks.

Matt

On Mar 19, 2:59 pm, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 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 mcgin...@gmail.com wrote:

  I used to use v13 KeywordToolService to call getKeywordsFromSite()
  which gave me an *ordered* list of keyword groups.

  Now I'm migrating to v2009 Java client library.

  I have found that using the v2009 NGRAM_GROUP tells me the name of the
  group a given keyword belongs to. So I could perhaps loop over all the
  keywords returned and collect all the NGRAM_GROUPs into a list (to try
  to mimick what the v13 was giving me).

  But what is the ordering? Are v2009 keyword results given in the same
  order as the v13
  results (with v13 The groups are ordered by decreasing relevance to
  the
  site) ?

  Thanks in advance for any help.

  Matt

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.