AdWords API Re: Truncated keyword structure report

2009-12-09 Thread timprepscius
You may try downloading the report via a zipped http stream, rather
than a zip.
I believe this gets around the size restrictions, and provides you
with transparent zipping.

on 2009-11-12 downloaded a report 770M .. so yah, size restrictions
don't seem to be enforced

-tim

On Nov 18, 5:23 pm, AdWords API Advisor 
wrote:
> Hi Hans,
>
> My understanding is that it will truncate the file without respect to
> the XML structure, resulting in an invalid XML file.
>
> Best,
> - Eric
>
> On Nov 18, 4:42 pm, HK  wrote:
>
>
>
> > Eric,
>
> > I appreciate you taking the time to look into this. I will let you
> > know if I see this again.
>
> > One question related to intentional truncation - if AdWords truncates
> > a report file at 250 MB, will it just omit records at the end so that
> > the report is still a valid XML file, or will it just chop the file
> > whenever it hits this limit, likely creating an invalid XML file? I
> > would prefer the latter so that this scenario will easily be detected
> > on the caller's side, otherwise it'd be difficult to determine if
> > records are missing or not. Just curious what the expected behavior
> > is. I suspect the file will still be valid.
>
> > Thanks
> > Hans
>
> > On Nov 17, 8:36 am, AdWords API Advisor 
> > wrote:
>
> > > Hi Hans,
>
> > > Thank you for the extra information.  The truncation does take place
> > > on the uncompressed size of the report, but a truncation down to 100
> > > MB doesn't make sense.  The server logs show that there were no errors
> > > generating the report, so it is unclear what happened.  Since we can't
> > > replicate the issue (the report re-ran successfully) then there is
> > > little we can do now.  Let me know if you see this behavior again.
>
> > > Best,
> > > - Eric
>
> > > On Nov 16, 8:16 pm, HK  wrote:
>
> > > > Hi, Eric
>
> > > > Our app calls getGzipReportDownloadUrl to get the URL and then
> > > > uses .NET's WebClient class and DownloadFile method to do the
> > > > download. It did not fail or error during the download. We run the
> > > > same report every day (has been for a year), and a few days later, the
> > > > same report succeeded and ended up being just over 200 MB. The data
> > > > downloaded in these two reports should be pretty much the same.
>
> > > > As a side note, I understand that AdWords will truncate files over 250
> > > > MB (uncompressed I assume). If this truncation occurs, which I don't
> > > > believe was the case here as it was cut short at just over 100 MB),
> > > > will AdWords truncate the report in a way so that the XML is still
> > > > valid, meaning, will it close out the XML elements?
>
> > > > On Nov 16, 3:44 pm, AdWords API Advisor 
> > > > wrote:
>
> > > > > Hi Hans,
>
> > > > > How does your application download the report?  Were there any errors
> > > > > logged by your application while the report was being downloaded?  How
> > > > > were you able to later verify the full size of the report?
>
> > > > > Best,
> > > > > - Eric Koleda, AdWords API Team
>
> > > > > On Nov 16, 5:56 pm, HK  wrote:
>
> > > > > > Hi,
>
> > > > > > Last week I received a truncated keyword structure report. It was
> > > > > > truncated at 109 MB while the full report, which now works fine,
> > > > > > should've been approximately 216 MB. The report id was 996485045
> > > > > > and .NET failed with:
>
> > > > > > System.Xml.XmlException:
> > > > > > Message: There is an unclosed literal string. Line 3, position
> > > > > > 114483161
>
> > > > > > This is the only only time I've seen this, but I'm a little 
> > > > > > concerned
> > > > > > this could happen again whenever the circumstances are right.
>
> > > > > > Would it be possible for someone in the AdWords group to take a 
> > > > > > closer
> > > > > > look at this?
>
> > > > > > Thanks in advance
> > > > > > Hans- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: SOAPpy and V200909

2009-12-09 Thread Ralph Heimburger
Eric,
this is a problem with py2exe, I am trying to build a standalone
executable.  The script runs fine from the command line but when I run
the compiled exe I get:
aw_api.Errors.ValidationError: The version 'v200909' is not compatible
with 'AdG
roupCriterionService'.

Does anyone have a recipe for py2exe and the V2009 api?

here is my current script:

from distutils.core import setup
import py2exe
import sys

setup(console = [{"script": "updbidamt.py",
"icon_resources": [(0, "python.ico")] } ],
  options={
   'py2exe': {
   "packages": ["ZSI"],
   "bundle_files": True,
   "ascii": True,
   "compressed": True}
 },
zipfile = None,
)

On Dec 8, 11:41 am, AdWords API Advisor 
wrote:
> Hi Ralph,
>
> It is recommended that you use ZSI with the python client library, as
> this is a newer SOAP toolkit and it works with the v2009 API.  As for
> the error with ZSI, it appears that you are making a request that
> results in a data set that is too large to return.  I would recommend
> you enable paging and try the request again.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Dec 7, 3:48 pm, Ralph Heimburger <1stpo...@gmail.com> wrote:
>
>
>
> > I am using the awapi python library to access V200909 and running the
> > examples provided
>
> > If I use SOAP, I get:
>
> > aw_api.Errors.ApiVersionNotSupportedError: The 'Get' request via
> > v200909 is currently not supported for use with SOAPpy toolkit.
>
> > If I use ZSI, I get:
> > aw_api.Errors.RequestError:
> > SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED @

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: setting network targets for campaign - python, v2009

2009-12-09 Thread david
This does NOT work:

operations = [
{
'operator': 'SET',
'operand': {
'type': 'NetworkTargetList',
'campaignId': cid,
'targets': [
 { 'type': 'NetworkCoverageType',
   'networkCoverage' : 'CONTENT_NETWORK'
 },
  ],
}
}
]

I get an error:
...

  File "/home/abc/mypython2.6/lib/python2.6/site-packages/aw_api/
zsi_toolkit/SanityCheck.py", line 1430, in ValidateOperation
targets.append(ValidateTarget(item, web_services))
  File "/home/abc/mypython2.6/lib/python2.6/site-packages/aw_api/
zsi_toolkit/SanityCheck.py", line 1007, in ValidateTarget
new_target.__dict__.__setitem__('_%s' % key, data)
AttributeError: 'dictproxy' object has no attribute '__setitem__'



On Dec 9, 7:43 am, david  wrote:
> Hi,
>
> How do you set the NetworkTargetList in python? In particular, I want
> to create a campaign which is shown only on selected placements.
>
> I've tried a bunch of things, which don't seem to work. I would really
> like to see a completed example.
>
> ALSO: is it possible to get better documentation with EXAMPLES for
> python? What appears to be lacking is a thorough description of
> operands and their formats (as in this case).
>
> Thanks!
>
> David

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: Problem with TargetingIdeaServiceInterface?

2009-12-09 Thread SEM
Hi Eric:

This had been working fine for the past couple of days but fails now
(without any code or lib changes) with the following error:

Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode:
 faultString: QuotaCheckError.INCOMPLETE_SIGNUP_APP_INFO_MISSING @
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/o/v200909}
ApiExceptionFault:QuotaCheckError.INCOMPLETE_SIGNUP_APP_INFO_MISSING
@ ApiExceptionhttp://www.w3.org/
2001/XMLSchema-instance" xsi:type="ns2:QuotaCheckError">QuotaCheckErrorINCOMPLETE_SIGNUP_APP_INFO_MISSING

QuotaCheckError.INCOMPLETE_SIGNUP_APP_INFO_MISSING @
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis.encoding.ser.BeanDeserializer.
(BeanDeserializer.java:104)
at org.apache.axis.encoding.ser.BeanDeserializer.
(BeanDeserializer.java:90)
at com.google.api.adwords.v200909.cm.ApiException.getDeserializer
(ApiException.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
(BaseDeserializerFactory.java:154)
at
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
(BaseDeserializerFactory.java:84)
at org.apache.axis.encoding.DeserializationContext.getDeserializer
(DeserializationContext.java:464)
at
org.apache.axis.encoding.DeserializationContext.getDeserializerForType
(DeserializationContext.java:547)
at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
(SOAPFaultDetailsBuilder.java:157)
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 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:1202)


Any ideas why?


On Nov 30, 3:02 pm, AdWords API Advisor 
wrote:
> Hi SEMDEV,
>
> To address your questions:
>
> a) The RelatedToKeywordSearchParameter has a limit of 100 keywords, as
> stated in the documentation:
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
>
> b) The number of results returned can be very large, and must be
> retrieved in pages.  The page size can be a maximum of 800 for get()
> and 500 getBulkKeywordIdeas():
>
>  http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
>
> c) The API has various systems to protect against malicious users, but
> the details of these systems aren't made public.
>
> Best,
> - Eric
>
> On Nov 30, 4:51 pm, SEM  wrote:
>
>
>
> > Hi Eric:
>
> > Thanks ... explicitly specifying additional attribute types worked!
> > On a related note, I have a few questions re: throttling / bandwidth
> > restrictions...
>
> > a] What is the max number of keywords

AdWords API Re: v200909 api AuthenticationError problems

2009-12-09 Thread shaselton
sorry to bother...problem fixed!

On Dec 9, 8:06 am, shaselton  wrote:
> Hi,
>
> I've been running into this problem for the last couple of days and
> now am trying my luck here.  I seem to be having problems fetching my
> authentication token.
>
> I tried my log-in info for v13 to verify that I was sending the
> correct data in the headers, and everything ran smoothly.
>
> I didn't really change anything in the sample code for 'add campaign',
> so I'm not quite sure what the hang up is.
>
> add_campaign.php as follows
>
> $email = 'xx...@gmail.com';
> $password = 'x';
> $client_email = 'xx...@gmail.com';
> $user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
> 1.9.1.5) Gecko/20091102 Firefox/3.5.5';
> $developer_token = 'xx';
> $application_token = 'xx';
> $account_type = 'GOOGLE';
> $service = 'adwords';
> $namespace = 'https://adwords.google.com/api/adwords/cm/v200906';
> $auth = new AuthToken($email, $password, $account_type, $service);
>
> AuthToken.php as follows:
>
> $this->email = urlencode($email);
> $this->passwd = urlencode($passwd);
> $this->account_type = $account_type;
> $this->service = $service;
> $this->source = 'Google-AWAPI PhpSamples-v4.0.0';
>
> $post_vars = 'accountType=' . $this->account_type . '&Email=' .
>               $this->email . '&Passwd=' . $this->passwd .
> '&service=' .
>               $this->service . '&source=' . $this->source;;
>
> $ch = curl_init($post_url);
> curl_setopt($ch, CURLOPT_POST, 1);
> curl_setopt($ch, CURLOPT_POSTFIELDS, $post_vars);
> curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
> curl_setopt($ch, CURLOPT_HEADER, 0);
> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
> $this->res = curl_exec($ch);
>
> error:
>
> AuthenticationError.USER_ID_INVALID @ ; trigger:'Invalid ads user id
> in loginCookie. User id: -1'
>
> $this->res isn't being set.
>
> XML headers being sent after the fact:
>
> 
> http://schemas.xmlsoap.org/soap/
> envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
> ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns6613="http://
> tempuri.org">
>     
>           https://adwords.google.com/api/adwords/
> cm/v200906">
>               
>               x...@gmail.com
>               x
>               Mozilla/5.0 (Windows; U; Windows NT 5.1; en-
> US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
>               x
>               x
>            
>        
>     
>         https://adwords.google.com/api/adwords/cm/
> v200906">
>             
>                 ADD
>                 
>                     20101001
>                     Test Campaign - 1260373797
>                     PAUSED
>                     
>                     
>                         DAILY
>                         
>                             USD
>                             10
>                         
>                         STANDARD
>                     
>                 
>             
>         
>     
> 
>
> have any ideas?  thanks!

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API v200909 api AuthenticationError problems

2009-12-09 Thread shaselton
Hi,

I've been running into this problem for the last couple of days and
now am trying my luck here.  I seem to be having problems fetching my
authentication token.

I tried my log-in info for v13 to verify that I was sending the
correct data in the headers, and everything ran smoothly.

I didn't really change anything in the sample code for 'add campaign',
so I'm not quite sure what the hang up is.

add_campaign.php as follows

$email = 'xx...@gmail.com';
$password = 'x';
$client_email = 'xx...@gmail.com';
$user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.5) Gecko/20091102 Firefox/3.5.5';
$developer_token = 'xx';
$application_token = 'xx';
$account_type = 'GOOGLE';
$service = 'adwords';
$namespace = 'https://adwords.google.com/api/adwords/cm/v200906';
$auth = new AuthToken($email, $password, $account_type, $service);


AuthToken.php as follows:

$this->email = urlencode($email);
$this->passwd = urlencode($passwd);
$this->account_type = $account_type;
$this->service = $service;
$this->source = 'Google-AWAPI PhpSamples-v4.0.0';

$post_vars = 'accountType=' . $this->account_type . '&Email=' .
  $this->email . '&Passwd=' . $this->passwd .
'&service=' .
  $this->service . '&source=' . $this->source;;

$ch = curl_init($post_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_vars);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$this->res = curl_exec($ch);


error:

AuthenticationError.USER_ID_INVALID @ ; trigger:'Invalid ads user id
in loginCookie. User id: -1'

$this->res isn't being set.

XML headers being sent after the fact:



http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns6613="http://
tempuri.org">

  https://adwords.google.com/api/adwords/
cm/v200906">
  
  x...@gmail.com
  x
  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-
US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
  x
  x
   
   

https://adwords.google.com/api/adwords/cm/
v200906">

ADD

20101001
Test Campaign - 1260373797
PAUSED


DAILY

USD
10

STANDARD








have any ideas?  thanks!

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: How is a "customer" defined for BulkMutateJobs

2009-12-09 Thread AdWords API Advisor
Hi Joel,

In this context "customer" means AdWords account.  At this time bulk
mutate jobs cannot be run across multiple accounts, so the queue in
question belongs to the AdWords account that the job is operating
against.

Best,
- Eric Koleda, AdWords API Team

On Dec 9, 11:04 am, joel  wrote:
> http://code.google.com/apis/adwords/v2009/docs/bulkjobs.html
>
> It says a "customer" has a queue that can hold up to 10 jobs. Is a
> "customer" defined by the MCC account, by the individual client id, by
> developer token? Thanks!
>
> Joel

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: TrafficEstimatorService estimateCampaignList: Must specify a client in order to do traffic estimates.

2009-12-09 Thread AdWords API Advisor
Hi,

Please check the SOAP XML logs and ensure that the clientEmail or
clientCustomerId header is being sent correctly.

Thanks,
- Eric Koleda, AdWords API Team

On Dec 9, 10:18 am, "marc...@productengine.com"
 wrote:
> Unable to request campaign estimates. API returns error:
>
> "Must specify a client in order to do traffic estimates."
>
> Code listing (java):
>
> AdWordsUser user = new AdWordsUser(email, password, clientId,
> userAgent, developerToken, applicationToken, useSandbox);
> user.getService
> (AdWordsService.V13.TRAFFIC_ESTIMATOR_SERVICE).estimateCampaignList
> (campaignRequests);
>
> Where all request related data is valid (email, password, clientId,
> userAgent, developerToken, applicationToken, useSandbox). I've tried
> with and without clientId specified, with clientEmail specified -
> still having same error.
>
> Note: sandbox enabled test request properties are works fine, but
> production properties doesn't work.
>
> What I do wrong?

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: Local DB Sync

2009-12-09 Thread AdWords API Advisor
Hi,

I just ran the latest version of the project and was able to sync my
account successfully.  Please double check that your authentication
information was entered correctly and perhaps see if there is any
information in the logs to indicate why the script wasn't successful.

Best,
- Eric Koleda, AdWords API Team

On Dec 9, 6:29 am, tm  wrote:
> Hi,
>
> I try to pull all inforamtion into a local database from google
> adwords using local db sync project.
> Followed the instructions as in README file.But it is returning blank
> tables for Ads,AdGroup,
> Keyword and Campaigns.How to get the complete data into a local
> database.
> Any Help.
>
> Thanks

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: Java Client Library has terrible package names

2009-12-09 Thread AdWords API Advisor
Hi Joel,

Thanks for the feedback, and you make some good points.  I believe one
of the reasons for the current package name structure is around the
migration from v13 to v2009.  We wanted to allow users to run both API
versions side-by-side, so that they didn't have to migrate all their
code at once.  The issue was that the different versions of the API
used the same names for certain classes (Keyword, Campaign, etc) but
the definitions were not compatible.  Using the version in the package
name allowed for these classes to coexist.  Going forward new versions
of the API will continue to be released and old ones deprecated, so
there may be a use for this structure beyond the v13-v2009 migration.

I'll pass your comments on to the maintainers of the library, and if
you'd like to open a conversation with them on this issue you can file
a feature request against the library's issue tracker:

  http://code.google.com/p/google-api-adwords-java/issues/list

Best,
- Eric Koleda, AdWords API Team

On Dec 9, 8:59 am, joel  wrote:
> Hi, I wanted to point out that there's a very bad naming convention
> used in the Java Client Library for AdWords package names. The
> packages are named like "com.google.api.adwords.v200906.cm" and
> "com.google.api.adwords.v200909.cm" and include the version numbers.
> This means every time we upgrade we need to update every single one of
> our files that imports these classes just so that we can change the
> package statement. This is not standard for Java and means that I'll
> continue using our own WSDL-generated Java files and not the Client
> Library, but if you can change this I would consider using the
> library. My suggestion for fixing it is to use separate jars, 1 for
> the v200909-specific classes, and 1 for the v200906-specific classes.
> That way we could add/drop the jar dependencies without modifying our
> own source code. Thanks!
>
> Joel

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: Keyword for content Targeting in report service.

2009-12-09 Thread AdWords API Advisor
Hi Rohit,

Please see the following AdWords Help Center article for more
information:

  http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=14709

Best,
- Eric Koleda, AdWords API Team

On Dec 9, 8:18 am, rohit a  wrote:
> Hi,
>
> I have added many keywords in Content only Targeting campaign. When i
> use the report service i get the following for all the ads in the
> content targeting campaign.
>
> Snippet shown :
>                 keywordid="300" kwSite="Total - content targeting"
>
> Is there any association of keywords with ads in content targeting?
>
> Please guide me in the right direction.
>
> Thanks & regards
> Rohit A

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API How is a "customer" defined for BulkMutateJobs

2009-12-09 Thread joel
http://code.google.com/apis/adwords/v2009/docs/bulkjobs.html

It says a "customer" has a queue that can hold up to 10 jobs. Is a
"customer" defined by the MCC account, by the individual client id, by
developer token? Thanks!

Joel

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API TrafficEstimatorService estimateCampaignList: Must specify a client in order to do traffic estimates.

2009-12-09 Thread marc...@productengine.com
Unable to request campaign estimates. API returns error:

"Must specify a client in order to do traffic estimates."

Code listing (java):

AdWordsUser user = new AdWordsUser(email, password, clientId,
userAgent, developerToken, applicationToken, useSandbox);
user.getService
(AdWordsService.V13.TRAFFIC_ESTIMATOR_SERVICE).estimateCampaignList
(campaignRequests);

Where all request related data is valid (email, password, clientId,
userAgent, developerToken, applicationToken, useSandbox). I've tried
with and without clientId specified, with clientEmail specified -
still having same error.

Note: sandbox enabled test request properties are works fine, but
production properties doesn't work.

What I do wrong?

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: Sandbox problems

2009-12-09 Thread AdWords API Advisor
Hi Egor,

Your account may have become locked due to excessive login attempts.
Please fill out the CAPTCHA on the following page to unlock your
account:

  https://www.google.com/accounts/displayunlockcaptcha

Best,
- Eric Koleda, AdWords API Team

On Dec 8, 1:08 pm, Egor Nechiporenko
 wrote:
> Hello.
> I have problem with adwords sandbox. version 13. I am using
> ApilityLibrary. And now it's impossible to me to login to adwords. I
> am always get error "Login with this username/password failed."
>
> This is headers sended to your sandbox.
>
> POST /api/adwords/v13/AccountService HTTP/1.0
> Host: sandbox.google.com
> User-Agent: NuSOAP/0.7.3 (1.114)
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: ""
> Content-Length: 807
>
> contextured.sand...@googlemail.com
>               <>
>
>               contextured.sand...@googlemail.com++gbp
>               .
>               Google APIlity PHP Library for AdWords"
>   ["response"]=>
>   string(991) "HTTP/1.1 500 Internal Server Error
> Content-Type: text/xml; charset=utf-8
> Date: Tue, 08 Dec 2009 17:47:30 GMT
> Expires: Tue, 08 Dec 2009 17:47:30 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-XSS-Protection: 0
> X-Frame-Options: SAMEORIGIN
> Server: GFE/2.0
> Transfer-Encoding: chunked
>
>    soapenv:Server.userException
>    Login with this username/password failed.
>
>      9
>      Login with this username/password failed.
>      contextured.sand...@googlemail.com

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: C# + http 403 : Serious problem with authentification ...

2009-12-09 Thread AdWords API Advisor
Hi Arnaud,

The primary way to resolve this issue is to limit the amount of
traffic sent to Google's servers.  As the other thread mentions, all
traffic to Google servers contributes to these 403 errors, so you may
need to look at other applications in your network as well.  As far as
AdWords API traffic is concerned, one way to reduce the amount of
traffic is to batch operations together into single calls whenever
possible.  For example, instead of fetching and updating entities one
at a time, fetch and update them all at once.  Another approach is to
slow down the rate of your requests, perhaps with a small delay
between each one.  Also, if you are using multiple threads to access
the API you may need to lower the number of threads to ensure there
isn't too much simultaneous traffic.

Best,
- Eric

On Dec 8, 2:26 pm, xpander  wrote:
> Hello Eric,
>
> We manange around 30 customers spending 500 000$ / month ...
> we have several consultant working on adwords campgin : we need
> multiple api call at the same  time without 403 error ...
> Any solution ?
>
> Thks
>
> Arnaud
>
> On Dec 8, 5:52 pm, AdWords API Advisor 
> wrote:
>
>
>
> > Hi Arnaud,
>
> > Please see the the following thread for more information:
>
> >  http://groups.google.com/group/adwords-api/browse_thread/thread/25346...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Dec 8, 10:49 am, xpander  wrote:
>
> > > hello,
>
> > > I have alternatively http 403 (forbidden) and OK with the same login &
> > > password with no reasons.
> > > The new authentification dont' work correcty ... is there any
> > > workaround with dotnet ?
>
> > > Thks
>
> > > Arnaud- Hide quoted text -
>
> > - Show quoted text -

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Local DB Sync

2009-12-09 Thread tm
Hi,

I try to pull all inforamtion into a local database from google
adwords using local db sync project.
Followed the instructions as in README file.But it is returning blank
tables for Ads,AdGroup,
Keyword and Campaigns.How to get the complete data into a local
database.
Any Help.


Thanks

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Java Client Library has terrible package names

2009-12-09 Thread joel
Hi, I wanted to point out that there's a very bad naming convention
used in the Java Client Library for AdWords package names. The
packages are named like "com.google.api.adwords.v200906.cm" and
"com.google.api.adwords.v200909.cm" and include the version numbers.
This means every time we upgrade we need to update every single one of
our files that imports these classes just so that we can change the
package statement. This is not standard for Java and means that I'll
continue using our own WSDL-generated Java files and not the Client
Library, but if you can change this I would consider using the
library. My suggestion for fixing it is to use separate jars, 1 for
the v200909-specific classes, and 1 for the v200906-specific classes.
That way we could add/drop the jar dependencies without modifying our
own source code. Thanks!

Joel

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Keyword for content Targeting in report service.

2009-12-09 Thread rohit a
Hi,

I have added many keywords in Content only Targeting campaign. When i
use the report service i get the following for all the ads in the
content targeting campaign.

Snippet shown :
keywordid="300" kwSite="Total - content targeting"

Is there any association of keywords with ads in content targeting?

Please guide me in the right direction.

Thanks & regards
Rohit A

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Re: Keyword status change not getting reflected.

2009-12-09 Thread rohit a
It was silly of me to miss the setPaused attribute.

Thank You.

Regards
Rohit A

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API setting network targets for campaign - python, v2009

2009-12-09 Thread david
Hi,

How do you set the NetworkTargetList in python? In particular, I want
to create a campaign which is shown only on selected placements.

I've tried a bunch of things, which don't seem to work. I would really
like to see a completed example.

ALSO: is it possible to get better documentation with EXAMPLES for
python? What appears to be lacking is a thorough description of
operands and their formats (as in this case).

Thanks!

David

--

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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.




AdWords API Authentifaction token still available for how many time ?

2009-12-09 Thread xpander
Hello,

>From http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html
"The token remains valid for a set length of time, which is defined by
whichever Google service you're working with." => how many time token
still available for adwords ?

Thx

Arnaud

--

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