Re: How to use Google Adword

2011-04-06 Thread Danial Klimkin
Hello Jude,


The easiest way to start using API is to download one of our client 
libraries, the PHP one is available here:
  http://code.google.com/p/google-api-adwords-php/

We have a lot of examples available, particularly for keyword statistics:
  
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201101/GetKeywordOpportunities.php


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


Re: Login failed

2011-04-06 Thread Danial Klimkin
Hello,


You need an MCC account in order to use API. Particularly in this case you 
should link your normal account with one of the MCC you have. Once this 
account is managed by an MCC you should be able to run reports against it.


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


Re: DatabaseError.CONCURRENT_MODIFICATION on large keyword bids update query

2011-04-06 Thread Danial Klimkin
Hello Rohit,


This issue was recently described in our blog:
  
http://adwordsapi.blogspot.com/2011/03/concurrency-management-in-adwords-api.html

The best practice would be to have a retry mechanism with limited number of 
retries in place.


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


Re: Google Adwords API still in pending status

2011-04-06 Thread Danial Klimkin
Hello Ross,


It usually takes 1-2 weeks for approval team to review an application. 
Please let us know if it takes any longer.


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


Re: Google Adwords API still in pending status

2011-04-06 Thread Ross Lavni
Thank you for the reply.
We are waiting for March 18.

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


API Token Pending Since 2 Weeks

2011-04-06 Thread mirio
Hi There,
Our API token is pending since 2 weeks. Is there any chance to get it
approved in the next few days? Our developer is impatiently waiting to
complete his work (and get paid).
Thank you,
Mirio

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Estimate Cost of API Units

2011-04-06 Thread mirio
I'd like to run an API query to download (in CSV format) the search volume 
data for many keywords.
 
Can anyone help to estimate what might be the cost of my query?
 
To help me understand how the US$0.25 per 1000 API units works, say I 
download one CSV file containing 50 keywords. Each keyword shows 12 columns 
of monthly search volume data (plus a few more columns with Competitiveness, 
Cost, etc., but forget this for a minute).
 
Is this file 50*12=600 API units large and the cost of the query is US$0.25 
* 0.6?
 
Thank you,
Mirio

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: JavaScript client library

2011-04-06 Thread David Torres
Hi T,

Javascript is one of the languages we are considering to support in our 
client libraries, please stay tuned to our communications via the Forum and 
Blog.

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


Php errors

2011-04-06 Thread Peter Stannett
Hi 

I have just moved my install of adwords api php onto our server after 
working flawlessly on my MAMP install and i have come across many errors!

This may be more appropriate for a php specific forum however I was hoping 
that more knowledgeable people here would be kind enough to help me fix 
this.

My errors are:

Warning: 
fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/logs/soap_xml.log): 
failed to open stream: Permission denied in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 
on line 203 Warning: fwrite() expects parameter 1 to be resource, boolean 
given in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 
on line 206 Warning: fclose() expects parameter 1 to be resource, boolean 
given in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 
on line 207 Warning: 
fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/logs/request_info.log): 
failed to open stream: Permission denied in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 
on line 203 Warning: fwrite() expects parameter 1 to be resource, boolean 
given in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 
on line 206 Warning: fclose() expects parameter 1 to be resource, boolean 
given in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 
on line 207 Report definition with name 'ADGROUP performance report 
#1302097991' and id '16405962' was added. Warning: 
fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/examples/v201101/data/tv_g_ppc_data.csv):
 
failed to open stream: Permission denied in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 
on line 85 Warning: curl_setopt(): supplied argument is not a valid 
File-Handle resource in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 
on line 87 

I understand a lot of these are permission denied errors but I have enabled 
write permissions on all the folders etc. Also I am not sure what it means 
by boolean as I haven't amended anything within the Logger.php

I would be most grateful if anyone could help me resolve this.

Best
Peter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 get all bulk mutate jobs?

2011-04-06 Thread Evgeniy Bogdanov
Hi.

I've problem with TOO_MANY_JOBS_IN_QUEUE error.
As I understand I've many jobs in PENDING or PROCESSING states.

I don't know their IDs and want to get all  jobs within current
Adwords account and terminate them with REMOVE operator.

Regarding your documentation
http://code.google.com/intl/ru-RU/apis/adwords/docs/reference/latest/BulkMutateJobService.BulkMutateJobSelector.html

Quote:
The list of jobs, specified by IDs, to be selected. An empty list
indicates all jobs for the effective customer should be selected. This
field must contain distinct elements. This field must not contain null
elements.

But If I'm sending empty list - your server tell me that this field
not should be empty.
Where is error? In my code, your documentation, or your code?

If my idea about loading list of all Jobs is impossible - how I can
stop current jobs without knowledge of their IDs? Do they have some
lifetime?

This is query to your server:
?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/
v201101 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  SOAP-ENV:Header
ns1:RequestHeader xsi:type=ns1:RequestHeader
  ns1:authTokenZxrJIgbIx/ns1:authToken
  ns1:clientCustomerId**4590/ns1:clientCustomerId
  ns1:developerToken*0SQ-UA/ns1:developerToken
  ns1:userAgentAwApi-PHP-2.5.1-Car Ads script v.0.5/
ns1:userAgent
/ns1:RequestHeader
  /SOAP-ENV:Header
  SOAP-ENV:Body
ns1:get
ns1:selector xmlns:ns2=https://adwords.google.com/api/
adwords/cm/v201101 xsi:type=ns2:BulkMutateJobSelectorns1:jobIds/
/ns1:selector
/ns1:get
  /SOAP-ENV:Body
/SOAP-ENV:Envelope

And this is answer from your server (FYI: RequestID is
bab7cb286d8d8bbf97b03e7216acd6d1):

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:HeaderResponseHeader xmlns=https://
adwords.google.com/api/adwords/cm/
v201101requestIdbab7cb286d8d8bbf97b03e7216acd6d1/
requestIdoperations1/operationsresponseTime387/
responseTimeunits1/units/ResponseHeader/
soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstring[NotEmptyError.EMPTY_LIST @ selector.jobIds]/
faultstringdetailApiExceptionFault xmlns=https://
adwords.google.com/api/adwords/cm/
v201101message[NotEmptyError.EMPTY_LIST @ selector.jobIds]/
messageApplicationException.TypeApiException/
ApplicationException.Typeerrors xmlns:xsi=http://www.w3.org/2001/
XMLSchema-instance
xsi:type=NotEmptyErrorfieldPathselector.jobIds/
fieldPathtrigger/triggererrorStringNotEmptyError.EMPTY_LIST/
errorStringApiError.TypeNotEmptyError/
ApiError.TypereasonEMPTY_LIST/reason/errors/
ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope

I appreciate if you will give me answer ASAP, I'm in a time rush with
this project.

Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Php errors

2011-04-06 Thread Evgeniy Bogdanov
Hi Peter.

If you will comment such string $user-LogDefaults();

library will not use logging feature. This will help to solve your
problem. :)

If you're really need logs - try this:
1. Delete files:
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/logs/soap_xml.log
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/logs/
request_info.log

2. Check that all users have write permission to the folder /Library/
WebServer/Documents/aw_api_php_lib_2.5.1/logs/ if not - setup it
properly.

3. After that problem should be solved.

Regards,

On 6 апр, 18:10, Peter Stannett pstannet...@gmail.com wrote:
 Hi

 I have just moved my install of adwords api php onto our server after
 working flawlessly on my MAMP install and i have come across many errors!

 This may be more appropriate for a php specific forum however I was hoping
 that more knowledgeable people here would be kind enough to help me fix
 this.

 My errors are:

 Warning:
 fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/logs/soap_xml.log):
 failed to open stream: Permission denied in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 on line 203 Warning: fwrite() expects parameter 1 to be resource, boolean
 given in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 on line 206 Warning: fclose() expects parameter 1 to be resource, boolean
 given in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 on line 207 Warning:
 fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/logs/request_info.log):
 failed to open stream: Permission denied in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 on line 203 Warning: fwrite() expects parameter 1 to be resource, boolean
 given in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 on line 206 Warning: fclose() expects parameter 1 to be resource, boolean
 given in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/Common/Util/Logger.php
 on line 207 Report definition with name 'ADGROUP performance report
 #1302097991' and id '16405962' was added. Warning:
 fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/examples/v201101/data/tv_g_ppc_data.csv):
 failed to open stream: Permission denied in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 on line 85 Warning: curl_setopt(): supplied argument is not a valid
 File-Handle resource in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 on line 87

 I understand a lot of these are permission denied errors but I have enabled
 write permissions on all the folders etc. Also I am not sure what it means
 by boolean as I haven't amended anything within the Logger.php

 I would be most grateful if anyone could help me resolve this.

 Best
 Peter

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

2011-04-06 Thread Evgeniy Bogdanov
You can solve your problem by editing file: src/Google/Api/Ads/Common/
Utils/CurlUtils.php

Add to the method CreateSession 2 strings:

curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

It will look like this:

 public static function CreateSession($url) {
$ch = curl_init($url);

// Default options.
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

// Proxy options.
if (defined('HTTP_PROXY_HOST')  HTTP_PROXY_HOST != '') {
  curl_setopt($ch, CURLOPT_PROXY, HTTP_PROXY_HOST);
}
if (defined('HTTP_PROXY_PORT')  HTTP_PROXY_PORT != '') {
  curl_setopt($ch, CURLOPT_PROXYPORT, HTTP_PROXY_PORT);
}
if (defined('HTTP_PROXY_USER')  defined('HTTP_PROXY_PASSWORD')
 HTTP_PROXY_USER != ''  HTTP_PROXY_PASSWORD != '') {
  curl_setopt($ch, CURLOPT_PROXYUSERPWD, HTTP_PROXY_USER . ':'
  . HTTP_PROXY_PASSWORD);
}

// SSL options.
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

if (defined('SSL_VERIFY_PEER')  SSL_VERIFY_PEER != '') {
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, SSL_VERIFY_PEER);
}
if (defined('SSL_CA_PATH')  SSL_CA_PATH != '') {
  curl_setopt($ch, CURLOPT_CAPATH, SSL_CA_PATH);
}
if (defined('SSL_CA_FILE')  SSL_CA_FILE != '') {
  curl_setopt($ch, CURLOPT_CAINFO, SSL_CA_FILE);
}

return $ch;
  }

On 2 апр, 01:51, kush kushva...@outofboundscommunications.com wrote:
 hi,
 i tried to download reports using cURL.
 my code looks something like this
 
 $authToken =
     new AuthToken($email, $password, 'adwords', 'PHP Sample Code',
 'GOOGLE');

 // Create download URL.
 $url = sprintf('https://adwords.google.com/api/adwords/reportdownload?
 __rd=%d',
     $reportDefinitionId);

 // Create headers.
 $headers = array();
 $headers[]= 'Authorization: GoogleLogin auth='. $authToken-GetAuthToken();

 $headers[]= 'clientEmail: ' . $clientEmail;
 .
 $ch = curl_init($url);
 curl_setopt($ch, CURLOPT_FILE, $file);
 curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
 curl_setopt($ch, CURLOPT_HEADER, 0);
 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
 curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
 curl_exec($ch);
 
 I've set the email and password. But the problem is i get an exception
 that looks like this:

 'AuthTokenException' with message 'Failed to get authToken. Reason:
 SSL certificate problem, verify that the CA cert is OK. Details: error:
 14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:

 please help me how to resolve it?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can You Retrieve 'Other search terms' Via API?

2011-04-06 Thread David Torres
Hi,

Unfortunately the 'other search terms' row is not available in the API 
reports.

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: Php errors

2011-04-06 Thread Peter Stannett
Hi Evgeniy

Thank you very much for taking the time to help me. 

I have rebooted the server and the permissions change seems to have come 
into effect. However I have a new set of errors! Why can't this be simple?! 
Haha!

I appreciate your help!

Report definition with name 'ADGROUP performance report #1302102046' and id 
'16413042' was added. Warning: 
fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/examples/v201101/data/tv_g_ppc_data.csv):
 
failed to open stream: Permission denied in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 
on line 85 Warning: curl_setopt(): supplied argument is not a valid 
File-Handle resource in 
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 
on line 87 ADGROUP performance report #1302102046


Also I do'nt understand as it is trying to retrieve data form all time, 
despite my code stating only yesterday:


?php

ini_set('display_errors', true); # Display error in browser (set this to 
false in production envoirment)

error_reporting (E_ALL ^ E_NOTICE); # what kind of errors do you want to 
display (almost all)

date_default_timezone_set('America/Los_Angeles');

/**

 * This example adds a keywords performance report. To get ad groups, run

 * GetAllAdGroups.php. To get report fields, run GetReportFields.php.

 *

 * Tags: ReportDefinitionService.mutate

 *

 * PHP version 5

 *

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

 *

 * @packageGoogleApiAdsAdWords

 * @subpackage v201101

 * @category   WebServices

 * @copyright  2011, Google Inc. All Rights Reserved.

 * @licensehttp://www.apache.org/licenses/LICENSE-2.0 Apache License, 
Version 2.0

 * @author Eric Koleda api.ekol...@gmail.com

 */


error_reporting(E_STRICT | E_ALL);


// You can set the include path to src directory or reference

// AdWordsUser.php directly via require_once.

// $path = '/path/to/aw_api_php_lib/src';

$path = dirname(__FILE__) . '/../../src';

set_include_path(get_include_path() . PATH_SEPARATOR . $path);




require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';

require_once 'Google/Api/Ads/AdWords/Util/ReportUtils.php';



try {

  // Get AdWordsUser from credentials in ../auth.ini

  // relative to the AdWordsUser.php file's directory.

  $user = new AdWordsUser();


  // Log SOAP XML request and response.

  $user-LogDefaults();


  // Get the GetReportDefinitionService.

  $reportDefinitionService = $user-GetReportDefinitionService('v201101');


  

//  $adGroupId = (float) '';

$startDate = '20110504';

$endDate = '20110504';


  // Create selector.

  $selector = new Selector();

  $selector-fields = array('Date','CampaignName', 'CampaignStatus', 
'AdGroupName', 'Status',  'Impressions', 'Clicks', 'Cost', 
'AveragePosition','ConversionsManyPerClick');

 // $selector-dateRange = new DateRange($startDate, $endDate);


  // Create predicates.

  //$adGroupIdPredicate = new Predicate('AdGroupId', 'EQUALS', 
array($adGroupId));

  //$selector-predicates = array($adGroupIdPredicate);


  // Create report definition.

  $reportDefinition = new ReportDefinition();

  $reportDefinition-reportName = 'ADGROUP performance report #' . time();

  $reportDefinition-dateRangeType = 'CUSTOM_DATE';

  $reportDefinition-reportType = 'ADGROUP_PERFORMANCE_REPORT';

  $reportDefinition-downloadFormat = 'CSV';

  $reportDefinition-selector = $selector;



  // Create operations.

  $operation = new ReportDefinitionOperation();

  $operation-operand = $reportDefinition;

  $operation-operator = 'ADD';


  $operations = array($operation);


  // Add report definition.

  $result = $reportDefinitionService-mutate($operations);


  // Display report definitions.

  if ($result != null) {

foreach ($result as $reportDefinition) {

  printf(Report definition with name '%s' and id '%s' was added.\n,

   $reportDefinition-reportName, $reportDefinition-id);   

   

$reportDefinitionId = $reportDefinition-id;

   $fileName = 'tv_g_ppc_data.csv';

$path = dirname(__FILE__) . '/data/' . $fileName;


  // Download report.

  ReportUtils::DownloadReport($reportDefinitionId, $path, $user);


  printf(Report with definition id '%s' was downloaded to '%s'.\n,

  $reportDefinitionId, $path, $fileName);



 } 

 

} 

  

 

 else {

print No report definitions were added.\n;



  }

} catch 

Re: How to know when yesterdays performance stats are complete

2011-04-06 Thread David Torres
Hi Jesper,

There is no hard rule, our recommendations is to download 5 hrs after, on 
which you'll have most of the clicks/impressions data already collected.

Best,

-David Torres

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ServicedAccountService account currency and timezone

2011-04-06 Thread David Torres
Hi Rob,

I talked with team and the work to support these fields is in place, but I 
can't give you any specific date.

Best,

-David Torres

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Php errors

2011-04-06 Thread Evgeniy Bogdanov
Hi Peter.

First problem: Check your permissions for this file/folder
/Library/WebServer/Documents/aw_api_php_lib_2.5.1/examples/v201101/
data/tv_g_ppc_data.csv

and make your magic again :)

Second problem: Your date range selection is commented out:

// $selector-dateRange = new DateRange($startDate, $endDate);

change it to
$selector-dateRange = new DateRange($startDate, $endDate);

Regards,


On 6 апр, 19:08, Peter Stannett pstannet...@gmail.com wrote:
 Hi Evgeniy

 Thank you very much for taking the time to help me.

 I have rebooted the server and the permissions change seems to have come
 into effect. However I have a new set of errors! Why can't this be simple?!
 Haha!

 I appreciate your help!

 Report definition with name 'ADGROUP performance report #1302102046' and id
 '16413042' was added. Warning:
 fopen(/Library/WebServer/Documents/aw_api_php_lib_2.5.1/examples/v201101/data/tv_g_ppc_data.csv):
 failed to open stream: Permission denied in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 on line 85 Warning: curl_setopt(): supplied argument is not a valid
 File-Handle resource in
 /Library/WebServer/Documents/aw_api_php_lib_2.5.1/src/Google/Api/Ads/AdWords/Util/ReportUtils.php
 on line 87 ADGROUP performance report #1302102046

 Also I do'nt understand as it is trying to retrieve data form all time,
 despite my code stating only yesterday:

 ?php

 ini_set('display_errors', true); # Display error in browser (set this to
 false in production envoirment)

 error_reporting (E_ALL ^ E_NOTICE); # what kind of errors do you want to
 display (almost all)

 date_default_timezone_set('America/Los_Angeles');

 /**

  * This example adds a keywords performance report. To get ad groups, run

  * GetAllAdGroups.php. To get report fields, run GetReportFields.php.

  *

  * Tags: ReportDefinitionService.mutate

  *

  * PHP version 5

  *

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

  *

  * @package    GoogleApiAdsAdWords

  * @subpackage v201101

  * @category   WebServices

  * @copyright  2011, Google Inc. All Rights Reserved.

  * @license    http://www.apache.org/licenses/LICENSE-2.0Apache License,
 Version 2.0

  * @author     Eric Koleda api.ekol...@gmail.com

  */

 error_reporting(E_STRICT | E_ALL);

 // You can set the include path to src directory or reference

 // AdWordsUser.php directly via require_once.

 // $path = '/path/to/aw_api_php_lib/src';

 $path = dirname(__FILE__) . '/../../src';

 set_include_path(get_include_path() . PATH_SEPARATOR . $path);

 require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';

 require_once 'Google/Api/Ads/AdWords/Util/ReportUtils.php';

 try {

   // Get AdWordsUser from credentials in ../auth.ini

   // relative to the AdWordsUser.php file's directory.

   $user = new AdWordsUser();

   // Log SOAP XML request and response.

   $user-LogDefaults();

   // Get the GetReportDefinitionService.

   $reportDefinitionService = $user-GetReportDefinitionService('v201101');

 //  $adGroupId = (float) '';

 $startDate = '20110504';

 $endDate = '20110504';

   // Create selector.

   $selector = new Selector();

   $selector-fields = array('Date','CampaignName', 'CampaignStatus',
 'AdGroupName', 'Status',  'Impressions', 'Clicks', 'Cost',
 'AveragePosition','ConversionsManyPerClick');

  // $selector-dateRange = new DateRange($startDate, $endDate);

   // Create predicates.

   //$adGroupIdPredicate = new Predicate('AdGroupId', 'EQUALS',
 array($adGroupId));

   //$selector-predicates = array($adGroupIdPredicate);

   // Create report definition.

   $reportDefinition = new ReportDefinition();

   $reportDefinition-reportName = 'ADGROUP performance report #' . time();

   $reportDefinition-dateRangeType = 'CUSTOM_DATE';

   $reportDefinition-reportType = 'ADGROUP_PERFORMANCE_REPORT';

   $reportDefinition-downloadFormat = 'CSV';

   $reportDefinition-selector = $selector;

   // Create operations.

   $operation = new ReportDefinitionOperation();

   $operation-operand = $reportDefinition;

   $operation-operator = 'ADD';

   $operations = array($operation);

   // Add report definition.

   $result = $reportDefinitionService-mutate($operations);

   // Display report definitions.

   if ($result != null) {

     foreach ($result as $reportDefinition) {

       printf(Report definition with name '%s' and id '%s' was added.\n,

        

Re: Php errors

2011-04-06 Thread Peter Stannett
Genius!

You are a gentleman and a scholar with a legendary first name!

Thank you very much for your help. If only I knew where you were, I would 
happily buy you a drink!

Thanks again!

Kind regards
Peter

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

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


Re: How to use Google Adword

2011-04-06 Thread Evgeniy Bogdanov
Hi Jude.

First of all check rates for this at 
http://code.google.com/intl/ru-RU/apis/adwords/docs/ratesheet.html

I'll try you to explain it.
You need TargetingIdeaService rates:

For every call you will be billed for API units: 5 (for every call) +
round(count of returned keywords * 0.1). I've get max 700 keywords. So
for 700 keywords you will be billed for 75 API units. In $ this mean:
0,01875 $

If you still have your idea about loading data:
1. Register MCC account (not usual! only MCC accounts have ability to
get API access)
2. Sign as developer
3. Wait approval of your API key (1-2 weeks usually)
4. Download this library: 
http://www.google.com/url?sa=Dq=http://code.google.com/p/google-api-adwords-php/
5. Enter your auth details in path to your library/src/Google/
Adwords/Api/Ads/Adwords/*.ini files
6. Run example from path to your library/examples/v201101/
GetKeywordOpportunities.php

Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Keyword Ideas

2011-04-06 Thread Evgeniy Bogdanov
Hi.

In PHP:

?
$user = new AdWordsUser();

// Log SOAP XML request and response.
$user-LogDefaults();

// Get the TargetingIdeaService.
$targetingIdeaService = $user-GetTargetingIdeaService('v201008');

$countryTarget = new CountryTarget('US', false);
$countryTargetSearchParameter = new
CountryTargetSearchParameter();
$countryTargetSearchParameter-countryTargets =
array($countryTarget);

// Take look here !
$monthSearchVolume = new GlobalMonthlySearchesSearchParameter(new
LongComparisonOperation('1000'));

// Create seed keyword.
$keyword = new Keyword();
$keyword-text = 'mars cruise';
$keyword-matchType = 'BROAD';

// Create selector.
$selector = new TargetingIdeaSelector();
$selector-requestType = 'IDEAS';
$selector-ideaType = 'KEYWORD';
$selector-requestedAttributeTypes =
array('KEYWORD', 'AVERAGE_TARGETED_MONTHLY_SEARCHES');

// Set selector paging (required for targeting idea service).
$paging = new Paging();
$paging-startIndex = 0;
$paging-numberResults = 10;
$selector-paging = $paging;

// Create related to keyword search parameter.
$relatedToKeywordSearchParameter = new
RelatedToKeywordSearchParameter();
$relatedToKeywordSearchParameter-keywords = array($keyword);

// Create keyword match type search parameter to ensure unique
results.
$keywordMatchTypeSearchParameter = new
KeywordMatchTypeSearchParameter();
$keywordMatchTypeSearchParameter-keywordMatchTypes =
array('BROAD');

// And here !
$selector-searchParameters =
array($relatedToKeywordSearchParameter,
$keywordMatchTypeSearchParameter, $countryTargetSearchParameter,
$monthSearchVolume);

// Get related keywords.
$page = $targetingIdeaService-get($selector);

?

If your language is not PHP - research this link
http://code.google.com/intl/ru-RU/apis/adwords/docs/reference/v201008/TargetingIdeaService.TargetingIdeaSelector.html

Regards,

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-06 Thread Evgeniy Bogdanov
Hi.

This should help you:

$user = new AdWordsUser();

// Log SOAP XML request and response.
$user-LogDefaults();

// Get the TargetingIdeaService.
$targetingIdeaService = $user-GetTargetingIdeaService('v201008');

$countryTarget = new CountryTarget('US', false);
$countryTargetSearchParameter = new
CountryTargetSearchParameter();
$countryTargetSearchParameter-countryTargets =
array($countryTarget);

// Create seed keyword.
$keyword = new Keyword();
$keyword-text = 'mars cruise';
$keyword-matchType = 'BROAD';

// Create selector.
$selector = new TargetingIdeaSelector();
$selector-requestType = 'IDEAS';
$selector-ideaType = 'KEYWORD';
$selector-requestedAttributeTypes =
array('KEYWORD', 'AVERAGE_TARGETED_MONTHLY_SEARCHES',
'GLOBAL_MONTHLY_SEARCHES', 'COMPETITION');

// Set selector paging (required for targeting idea service).
$paging = new Paging();
$paging-startIndex = 0;
$paging-numberResults = 10;
$selector-paging = $paging;

// Create related to keyword search parameter.
$relatedToKeywordSearchParameter = new
RelatedToKeywordSearchParameter();
$relatedToKeywordSearchParameter-keywords = array($keyword);

// Create keyword match type search parameter to ensure unique
results.
$keywordMatchTypeSearchParameter = new
KeywordMatchTypeSearchParameter();
$keywordMatchTypeSearchParameter-keywordMatchTypes =
array('BROAD');

$selector-searchParameters =
array($relatedToKeywordSearchParameter,
$keywordMatchTypeSearchParameter, $countryTargetSearchParameter);

// Get related keywords.
$page = $targetingIdeaService-get($selector);

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


Reporting within MCC account via 201101

2011-04-06 Thread Aladdin
I am trying to generate reports (let's say keyword performance report) for 
all clients within my MCC account using v201101 API. I understand that even 
though v201101 supports cross-client reports, but the feature has not gone 
to live yet for all.

In this situation, I would like to know how could I achieve my goal (which 
is to generate report for all clients under the umbrella of my MCC account) 
using v201101 ONLY. I do not want to use v13 for this as it is going to be 
deprecated. I would appreciate any code sample for this. I am suing Client 
Libraray for C#.Net. So far all the code samples that I have been getting on 
internet are for single client report. Please help as it seems to me that I 
am stuck...

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


What is a google API?

2011-04-06 Thread Brando
What exactly is an API unit? and the actual costs for this? is it
charged everytime you pull the data, someone really give me a detail
dummy version of this?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Automated Rules In Adwords API

2011-04-06 Thread J
are we allowed to +1 here, or is there a feature request tracker
somewhere we can vote this up?

On Feb 25, 7:58 am, Reed r...@powellgenealogy.com wrote:
 I think that there is real value in having an API interface to the
 Rules feature in AdWords.  Although the existing API allows for
 automation, and we make extensive use of that capability, many of the
 more commonly automated tasks (bid changes based on time or
 performance criteria, ad status changes, etc) can be done more
 efficiently and at a lower cost when performed by AdWords rules. The
 numbers that we were given from a Google rep were along the lines of
 turning tens of thousands of ads on or off in a matter of seconds.

 Without an API interface to the Rules feature, all of the work must be
 done manually, and there is no way to integrate the Rules capabilities
 into a broader account management infrastructure that many of us have
 developed.  Being able to swap out an exsiting module that handles
 massive enabling/disabling of ads, for instance, with one that just
 does a call to the Rule API would be a big, big, feature.

 If you're looking for votes, count me in.
 Thanks,
 Reed

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


why can a campaign not be named the same as a a deleted campaign?

2011-04-06 Thread thisisvlad
I added a campaign using the api, and then deleted it.  Later, i tried
to add this campaign again, but got a duplicate campaign name error.
Shouldn't i be able to add a new campaign with this name if the old
one has been deleted?  Down the line, if i have many deleted
campaigns, how will i be able to tell find which campaign names i can
use and which ones i cannot?

thanks!

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

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


Re: What is a google API?

2011-04-06 Thread Evgeniy Bogdanov
Hi Brando.

I'll try. :)

API unit is the currency. As every currency it have exchange rate for
US dollars.

I.e. somewhere in the world (Europe for example), you came to the shop
and buy T-shirt. You've paid for it sum in EUROs.
After that you've rent a car. You've paid other sum in EUROs.

But then you come back to US you've interested how many US Dollars
you've spend - and you can count this with exchange rate.

So API units is the sum for service/good in other country. Different
service/good costs different money.
But 1000 API units costs 0.25$. Charging for using usually happens in
the end of period (month) (may be changed, but I'm not sure).

Regards,

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

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


Re: How to Estimate Cost of API Units

2011-04-06 Thread Evgeniy Bogdanov
Hi.

Based on http://code.google.com/intl/ru-RU/apis/adwords/docs/ratesheet.html
the cheapest way for you will be using TargetingIdeaService.

For 50 keywords it will cost:

5 units for creating report + (0.1 * 50) = 10 API Units. Or 0.01 * US
$0.25

But you should know that TargetingIdeaService doesn't return all data
that you may need. You may need to call TrafficEstimatorService (15
units for every keyword) or v13 TrafficEstimatorService
(checkKeywordTraffic - 1 for every keyword, estimateKeywordList - 20
or every keyword)

Regards,

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