contextual tool via API?

2011-04-04 Thread Mike Rhodes
Hi,

can anyone tell me if it's possible to build a GDN campaign via API
using the info available in the contextual tool?
If so - any idea where the documentation is??

thanks in advance

mike

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


How to know when yesterdays performance stats are complete

2011-04-04 Thread Jesper Ellegaard
I'm using ReportDefinitionService to pull reports of yesterdays performance 
stats on ads and keywords. These stats are somewhat delayed. How do I ensure 
that I do not pull incomplete yesterdays stats? I am expected to deliver the 
stat as soon as they are available.

Thanks
Jesper

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


Special Characters in Ad copy

2011-04-04 Thread uby308
I am trying to get the pound (£) symbol to appear in my ads. When I
include the text

Bargain Widgets - £20

I get the error code saying that the SOAP request is not valid UTF-8,
however when I change the copy to

Bargain Widgets - pound;20

or

Bargain Widgets - #163;20

The ad copy renders exactly that - i.e. it doesn't change it back to
the £ symbol.

How can this be done?

Thanks

Mike

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


Login failed

2011-04-04 Thread javeed
Hi,

I try to request for a keyword report service, for my adwords Account
which is not an MCC account. it is just a normal account.

it is throwing exception as You must supply an MCC login to perform
the current operation.

I have few more accounts which are MCC accounts. and that does not
have any problem or issue. Only this account which is not an MCC
account is having the problem.
Can i able to use normal account to get the report service ? or do i
need to have MCC account for this service ?

And also please tell me why this exception is raised ?

Its urgent !

Thanks

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

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


JavaScript client library

2011-04-04 Thread tiagop
Hi,

Is there a JavaScript client library that one can use?

Thanks
T

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

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


Re: Special Characters in Ad copy

2011-04-04 Thread uby308
OK - figured it out.

$string = iconv('WINDOWS-1252', 'UTF-8', 'Bargain Widgets - £20');

Mike

On Apr 4, 2:19 pm, uby308 regnen...@gmail.com wrote:
 I am trying to get the pound (£) symbol to appear in my ads. When I
 include the text

 Bargain Widgets - £20

 I get the error code saying that the SOAP request is not valid UTF-8,
 however when I change the copy to

 Bargain Widgets - pound;20

 or

 Bargain Widgets - #163;20

 The ad copy renders exactly that - i.e. it doesn't change it back to
 the £ symbol.

 How can this be done?

 Thanks

 Mike

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


Can You Retrieve 'Other search terms' Via API?

2011-04-04 Thread dndco
I have searched around but cannot find a definitive answer to this
question.

In AdWords if you click the following:

Campaign Name  AdGroup Name  Keywords (tab)  See search terms (drop
down)  All (from drop down)

You get a report where a portion of the keywords that resulted in
impressions are visible then down bottom it says 'Other search terms'.

Can the 'Other search terms' be retrieved via API?

Thanks!

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

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


DatabaseError.CONCURRENT_MODIFICATION on large keyword bids update query

2011-04-04 Thread Rohit Dantas
Hi i was updating ~4552 keyword bids today and received the following error, 
even though no-one else was using our account to modify keywords, nor was 
any other API process try to do the same. The next attempt to do the same 
worked without a problem.

Do you know what could be the issue? Should I just acknowledge that this 
error can occur once in a while and build a retry mechanism? What would be 
the best practice here?

Caused by: DatabaseError.CONCURRENT_MODIFICATION @ 
[Ljava.lang.StackTraceElement;@1fd12ba   
  
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.init(BeanDeserializer.java:104) 
   
at 
org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:90) 

at 
com.google.api.adwords.v201008.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 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
 

 at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
 
 
 at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
 
  
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
 
 
 at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
 
  
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
 
  
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
 
  
at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) 

at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
 
   

Re: DatabaseError.CONCURRENT_MODIFICATION on large keyword bids update query

2011-04-04 Thread mm
I have a retry in place (I believe the limit is 5 tries before giving
up), and since the most recent api update we are seeing a significant
increase in these failures (those that exceed our retry limit) - both
for bid and url updates.

Guys, is this a known issue? Suggestions for how we should structure
our code to avoid this error? Is the database lock released before the
soap call returns? Can this be mitigated by batching the calls by
adgroup?

Thanks -
mm

On Apr 4, 10:43 am, Rohit Dantas rohit.dan...@visual-meta.com wrote:
 Hi i was updating ~4552 keyword bids today and received the following error,
 even though no-one else was using our account to modify keywords, nor was
 any other API process try to do the same. The next attempt to do the same
 worked without a problem.

 Do you know what could be the issue? Should I just acknowledge that this
 error can occur once in a while and build a retry mechanism? What would be
 the best practice here?

 Caused by: DatabaseError.CONCURRENT_MODIFICATION @
 [Ljava.lang.StackTraceElement;@1fd12ba                                      

         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.init(BeanDeserializer.java:104)

         at
 org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:90)

         at
 com.google.api.adwords.v201008.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
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)

          at
 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)

          at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
         at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)

         at
 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)

          at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

         at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)

         at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)

         at
 com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)

         at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)

          at
 com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)

         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)  

Re: API usage costs

2011-04-04 Thread Danial Klimkin
Hello Chris,


1. API units spend is charged according to the rate card.

2. With the ReportDefinitionService report downloads are free.

You can find more details about the rates on the AdWords API site:
  http://code.google.com/apis/adwords/docs/ratesheet.html


Best regards,
  Danial Klimkin, AdWords API Team.

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


Google Adwords API still in pending status

2011-04-04 Thread Ross Lavni
We’ve applied for API one week ago and are still awaiting a response.
We’ve called several times to Google Adwords and no one seems to know
where to forward our call. We also used your online form and all we
get is an automatic email stating that we will be contacted, but so
far no responses from your end.
Our account is listed as pending. How much longer must we wait until
someone gets back to us?

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

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


Re: BulkMutateJobService::get Id Error

2011-04-04 Thread Evgeniy Bogdanov
I'm expecting the same problem

PHP versions: 5.3.5 (Linux), 5.2.6 (Windows).

Logs:

?xml version=1.0?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Header
ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/
v201008
  requestIdf354873850c0a3541968608fbc504e9e/requestId
  operations1/operations
  responseTime3230/responseTime
  units1/units
/ResponseHeader
  /soap:Header
  soap:Body
mutateResponse xmlns=https://adwords.google.com/api/adwords/cm/
v201008
  rval
context
  authenticatedUserEmail***@mail.ru/authenticatedUserEmail
  effectiveCustomerId**4590/effectiveCustomerId
/context
Job.TypeBulkMutateJob/Job.Type
id8634521513827766215/id
policy/
statusPENDING/status
numRequestParts1/numRequestParts
numRequestPartsReceived1/numRequestPartsReceived
  /rval
/mutateResponse
  /soap:Body
/soap:Envelope


Answer:

?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/
envelope/ xmlns:ns1=https://adwords.google.com/api/adwords/cm/
v201008 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  SOAP-ENV:Header
ns1:RequestHeader xsi:type=ns1:RequestHeader
  ns1:authToken*/ns1:authToken
  ns1:clientCustomerId***/ns1:clientCustomerId
  ns1:developerToken***/ns1:developerToken
  ns1:userAgentAwApi-PHP-2.4.1-Car Ads script v.0.5/
ns1:userAgent
/ns1:RequestHeader
  /SOAP-ENV:Header
  SOAP-ENV:Body
ns1:get
  ns1:selector xmlns:ns1=https://adwords.google.com/api/adwords/
cm/v201008 xsi:type=ns1:BulkMutateJobSelector
ns1:jobIds8634521513827766272/ns1:jobIds
  /ns1:selector
/ns1:get
  /SOAP-ENV:Body
/SOAP-ENV:Envelope

Advice the direction to solve this problem, please.

On 2 мар, 14:08, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi,

 Just noticed something - the id you are sending to the server for the
 last get() is not the same as what you got back in the previous
 mutate(). Did you paste the wrong logs by any chance?

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Mar 1, 3:47 pm, drbioget-...@konstruktor.hu

 drbioget-...@konstruktor.hu wrote:
  Hi! I am using v201008 of adwords API with PHP 5.3.2-1ubuntu4.7 with
  Suhosin-Patch. I would like to use
  BulkMutateJobService.

  I use this code:

  class myBMJS
  {

      private $version = 'v201008';
      private $user;
      private $service;
      private static $campaignId;
      private static $adGroupId1;

      public function __construct()
      {
          self::$campaignId = (float) '56395';
          self::$adGroupId1 = (float) '3000182751';

          $ext = '-sandbox';
          $this-user = new AdWordsUser(
                          dirname(__FILE__) . /config/auth$ext.ini,
                          null, null, null, null, null, null,
                          dirname(__FILE__) . /config/settings$ext.ini
          );
          $this-user-LogDefaults();
          $this-service = $this-user-GetBulkMutateJobService($this-

  version);

      }//end __construct()

      public function SinglePartSingleStreamMultipleOperations()
      {
          $scopingEntityId =
                  new EntityId('CAMPAIGN_ID', self::$campaignId);

          $operations = $this-CreateKeywordOperations(100);
          $operationStream = new OperationStream($scopingEntityId,
  $operations);
          $request = new BulkMutateRequest(0, $operationStream);

          $job = new BulkMutateJob();
          $job-request = $request;
          $job-numRequestParts = 1;

          $job = $this-service-mutate(new JobOperation($job, 'ADD'));

          do {
              $jobs = $this-service-get(
                              new BulkMutateJobSelector(array($job-id)));

              $job = $jobs[0];
              sleep(5);
          } while ($job-status == 'PENDING' || $job-status ==
  'PROCESSING');

          $jobs = $this-service-get(
                          new BulkMutateJobSelector(array($job-id),
  NULL, 0));
          $job = $jobs[0];

          $operationResults =
                  $job-result-operationStreamResults[0]-

  operationResults;

          for ($i = 0; $i  sizeof($operationResults); $i++) {
              $requestKeyword = $operations[$i]-operand-criterion;
              $resultKeyword =
                      
  $operationResults[0]-returnValue-AdGroupCriterion-criterion;

          }
          echo 'Done...'.PHP_EOL;
          return true;
      }//end SinglePartSingleStreamMultipleOperations()

      private function CreateKeywordOperations($num)
      {
          $operations = array();
          for ($i = 0; $i  $num; $i++) {
              $keyword = new Keyword('mars cruise ' . time(), 'BROAD');
              $adGroupCriterion = new BiddableAdGroupCriterion();
              $adGroupCriterion-adGroupId = self::$adGroupId1;
              $adGroupCriterion-criterion = $keyword;
              

Re: V201101 AdGroupCriterionService not honoring partialFailure=true

2011-04-04 Thread David Torres
Hi mm,

I couldn't reproduce the problem on my side, do you mind re-trying and 
letting me know if this is still a problem?

Best,

-David Torres - AdWords API Team

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

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


Re: Conversion Metrics

2011-04-04 Thread David Torres
Hi Suraj,

You need to add ConversionCategoryName field to your report definition, 
that will effectively segment your report into Lead, Sales, etc.

Best,

-David Torres - AdWords API Team

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

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


Re: Cross-Client Reports Status

2011-04-04 Thread David Torres
Hi David,

We are working as fast as possible to have this feature publicly available 
and we should be announcing it soon, but as right now we don't have a 
concrete date.

Best,

-David Torres - AdWords API Team


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


How do I get the campaign costs for some date interval?

2011-04-04 Thread Dymytry
Hello everyone!

Gentlemen, could you please explain me how can I get the costs of the 
advertising campaigns via the API?

As far as I understand I should get a Campaign object for all the campaigns 
related to some client, and then get a CampaignStats from it, then use 
getCosts method. A problem is that I do not understand how can I restrict 
that data only to some date interval?

And second question: is this way is the best from the point of the API cost? 
May be, this can be done in a cheaper way?

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

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


Re: Using adwords API how can I get a keywords competition, local search volume for a particular country

2011-04-04 Thread David Torres
Hi Bikram,

Perhaps an example in Perl works for you, it shouldn't be difficult to adapt 
this PHP code 
examplehttp://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201101/GetRelatedKeywords.phpfrom
 the Perl code.

Best,

-David Torres - AdWords API Team

-

#!/usr/bin/perl -w
#
# Copyright 2011, Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This example gets keywords related to a seed keyword.
#
# Tags: TargetingIdeaService.get
# Author: David Torres api.davidtor...@gmail.com

use strict;
use lib ../../lib;

use Google::Ads::AdWords::Client;
use Google::Ads::AdWords::Logging;
use Google::Ads::AdWords::v201101::CountryTarget;
use Google::Ads::AdWords::v201101::CountryTargetSearchParameter;
use Google::Ads::AdWords::v201101::Keyword;
use Google::Ads::AdWords::v201101::KeywordMatchTypeSearchParameter;
use Google::Ads::AdWords::v201101::Paging;
use Google::Ads::AdWords::v201101::RelatedToKeywordSearchParameter;
use Google::Ads::AdWords::v201101::TargetingIdeaSelector;
use Google::Ads::Common::MapUtils;

# Log SOAP XML request and response.
Google::Ads::AdWords::Logging::enable_soap_logging();

# Get AdWords Client, credentials will be read from ~/adwords.properties.
my $client = Google::Ads::AdWords::Client-new({version = v201101});

# By default examples are set to die on any server returned fault.
$client-set_die_on_faults(1);

# Create seed keyword.
my $seed_keyword = Google::Ads::AdWords::v201101::Keyword-new({
  text = mars cruise,
  matchType = BROAD
});

# Create country target.
my $country = Google::Ads::AdWords::v201101::CountryTarget-new({
  countryCode = 'US'
});

# Create selector.
my $selector = Google::Ads::AdWords::v201101::TargetingIdeaSelector-new({
  requestType = IDEAS,
  ideaType = KEYWORD,
  requestedAttributeTypes = [CRITERION,
  AVERAGE_TARGETED_MONTHLY_SEARCHES,
  COMPETITION,
  GLOBAL_MONTHLY_SEARCHES],
});

# Set selector paging (required for targeting idea service).
my $paging = Google::Ads::AdWords::v201101::Paging-new({
  startIndex = 0,
  numberResults = 10
});
$selector-set_paging($paging);

# Create related to keyword search parameter.
my $keyword_search_parameter =
Google::Ads::AdWords::v201101::RelatedToKeywordSearchParameter-new({
  keywords = [$seed_keyword]
});

# Country target search parameter.
my $country_target_search_parameter =
Google::Ads::AdWords::v201101::CountryTargetSearchParameter-new({
  countryTargets = [$country]
});

# Create keyword match type search parameter to ensure unique results.
my $keyword_match_type =
Google::Ads::AdWords::v201101::KeywordMatchTypeSearchParameter-new({
  keywordMatchTypes = [BROAD]
});
$selector-set_searchParameters([$keyword_search_parameter,
 $keyword_match_type,
 $country_target_search_parameter
 ]);

# Get related keywords.
my $page = $client-TargetingIdeaService()-get({selector = $selector});

# Display related keywords.
if ($page-get_entries()) {
  foreach my $targeting_idea (@{$page-get_entries()}) {
my $data =
Google::Ads::Common::MapUtils::get_map($targeting_idea-get_data());
my $keyword = $data-{CRITERION}-get_value();
my $average_monthly_searches =
$data-{AVERAGE_TARGETED_MONTHLY_SEARCHES}-get_value()?
$data-{AVERAGE_TARGETED_MONTHLY_SEARCHES}-get_value():0;
my $competition =
$data-{COMPETITION}-get_value()?
$data-{COMPETITION}-get_value():0;
my $global_monthly_searches =
$data-{GLOBAL_MONTHLY_SEARCHES}-get_value()?
$data-{GLOBAL_MONTHLY_SEARCHES}-get_value():0;
printf Keyword with text \%s\, match type \%s\, and average monthly 
 .
   search volume \%s\, competition \%s\ was found.\n, 
$keyword-get_text(),
   $keyword-get_matchType(), $average_monthly_searches, 
$competition;
  }
} else {
  print No related keywords were found.\n;
}

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

Error in AdGroup report

2011-04-04 Thread steven66062
I am downloading AdGroup performance data in the AdGroup report.  The
PercentCpa field in the XML file has an attribute of maxCPA%=' '.
This gives me an error when I try to use the XML file in my code.  I
am using C# to open the XML file.  The error I get is '%' is an
unexpected token. The expected token is '='. Line 1, position 2157.

Any ideas on how to handle this.

Thanks.
Steve

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

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


Re: Increase in ConcurrentModification Exceptions?

2011-04-04 Thread mm
Hi Anash -

I just received this error for a couple of requests:
[04 Apr 2011 15:31:19,219 - DEBUG] email=
effectiveUser= service=AdGroupCriterionService method=mutate
operators={SET: 1000} responseTime=78581 operations=0 units=1
requestId=aa60417709fd3ec5cef99fc937494cc7 server=https://
adwords.google.com isFault=true
faultMessage=DatabaseError.CONCURRENT_MODIFICATION @
[Ljava.lang.StackTraceElement;@e56488

[04 Apr 2011 15:32:09,221 - DEBUG] email=
effectiveUser= service=AdGroupCriterionService method=mutate
operators={SET: 1000} responseTime=46696 operations=0 units=1
requestId=3183186e64d32915f556cce3f12dcb69 server=https://
adwords.google.com isFault=true
faultMessage=DatabaseError.CONCURRENT_MODIFICATION @
[Ljava.lang.StackTraceElement;@19fa97b

Let me know if I can help further -
Thanks!
mm

On Mar 15, 8:25 am, AdWords API Advisor adwordsapiadvi...@google.com
wrote:
 Hi Margaret,

 If you can share the response ids for such requests online, then that would
 be most helpful.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

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

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


Re: V201101 AdGroupCriterionService not honoring partialFailure=true

2011-04-04 Thread mm
Hi David -
I just re-ran my test case and am seeing the same results. I am
submitting a batch of 3 updates, 2 are bad, one good. I am not getting
a partialFailure response at all. The request id:
88c516923f5ba0e33349cf424c7e4329

Holler if you need anything more from me!

Thanks -
Margaret

On Apr 4, 2:30 pm, David Torres davi...@google.com wrote:
 Hi mm,

 I couldn't reproduce the problem on my side, do you mind re-trying and
 letting me know if this is still a problem?

 Best,

 -David Torres - AdWords API Team

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


The new UI 2 Layer security feature effects the API

2011-04-04 Thread API2Go
When invoked the new 2 layer security feature to the Google UI - it
blocked the API access, when we removed the 2 Layer feature, the API
began to work again.  Is there a way to use the 2 layer security and
still allow API access to the account?

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

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


Re: Cross Client DownloadReport.php example ?

2011-04-04 Thread David Torres
Hi Jan,

We are still working on this feature as you noticed changing the format to 
XML instead of JSON which is more aligned to SOAP and underlined XML parser 
already included in your dependencies. More details will be posted soon.

Best,

-David Torres - AdWords API Team 

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

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


Re: AuthenticationError.NOT_ADS_USER???

2011-04-04 Thread David Torres
Hi Suraj,

When downloading a report you need to specify an auth token of the user who 
created the report definition in your HTTP headers, please 
see http://code.google.com/apis/adwords/docs/reportingtopics.html#downloading

Best,

-David Torres - AdWords API Team

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

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


Re: IS CROSS CLIENT REPORTING IS WORKING ... ?

2011-04-04 Thread David Torres
Hi Surajk,

It is not yet please refer to 
http://adwordsapi.blogspot.com/2011/03/update-to-reporting-service-in-adwords.html,
 
we are working as fast as possible to enable it. We will be announcing it 
soon.

Best,

-David Torres - AdWords API Team

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

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


Re: Token usage

2011-04-04 Thread EP
Does anyone have a quick idea on this? Much appreciated in advance.

On Apr 1, 2:54 pm, EP erinpa...@gmail.com wrote:
 I'm trying to get an idea of how much my API usage will cost and am
 hoping that someone out there can help.

 On the rate sheet, getReportFields' per-item cost is listed as 1 per
 ReportDefinitionField. So, let's say I run a keyword report with 9
 fields. I need the data both aggregated and separated by keyword for
 the report period. Let's assume that the report generates 9 rows of
 keyword-level data and one row of aggregate data.

 In this example, would I be charged 90 units for this one report (9
 fields times 10 rows of data)? Or just 9 units? Additionally, am I
 charged every time this report runs?

 Thank you!

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

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


Re: Token usage

2011-04-04 Thread David Torres
Hi,

Defining a report costs 400 per definition and then subsequent downloads of 
that definition are free. The getReportFields cost of 1 unit is 
to dynamically fetch the fields associated to a report using 
ReportDefinition.getReportFields of you already know the fields you want to 
include in your report you don't need to call this operation.

Best,

-David Torres - AdWords API Team



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


v201101: Need ApprovalStatus field for keyword report

2011-04-04 Thread Kevin
Hi, ApprovalStatus is missing from the Keyword Performance Report.
Similar field (CreativeApprovalStatus) is available in Ad Performance
Report. It would be useful for us to have it for Keyword report as
well.

Many thanks,
Kevin

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