Re: Problem with Adwords Api

2013-01-14 Thread FL
Perfect !

And now you can launch the example ? it works ?

For exemple if launch in a 
browser 
aw_api_php_lib_3.2.2/examples/v201209/AccountManagement/GetClientCustomerId.php 
you don't have errors ?

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





Test API : QuotaCheckError.INVALID_TOKEN_HEADER

2013-01-14 Thread FL
Hi,

I want to download a repport of google Adwords each day and save in it my 
database in php

So i decided to use google-api-adwords-php

I downloaded aw_api_php_lib_3.2.2
I put my information in auth.ini
and i try to 
launch 
aw_api_php_lib_3.2.2/examples/v201209/AccountManagement/GetClientCustomerId.php 
for example

And each time i have this error :
An error has occurred: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; 
trigger:'x...@.fr++EUR']

Why i have this error ?

Thanks,
FL

PS : i don't use sandbox because it doesn't work

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problem with Adwords Api

2013-01-14 Thread Sagar Bhandari
Figured out the issue was with openSSL which was disabled in php.ini


On Sunday, January 13, 2013 2:30:48 AM UTC+11, Sagar Bhandari wrote:
>
> Hi,
>
> I am getting the following error when using the api v201209
>
> An error has occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201206/CampaignService?wsdl' : 
> failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201206/CampaignService?wsdl";
>
> Could someone let me know what the issue is.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread chris h
Hi Stamatina,
If the client account is linked to your MCC account, then you can use your 
OAuth token to a) get a list of all accounts and b) query those accounts 
via the API. The customer has already granted you access via linking so you 
don't need to have them grant via OAuth.  They could still additionally do 
an OAuth grant (anybody correct me if that's not so). Either way you use 
OAuth 2.0. I don't believe there is a non-deprecated alternative to OAuth 
2.0.
 - Chris


On Monday, January 14, 2013 12:18:58 PM UTC-5, Stamatina Thomaidou wrote:
>
> Returning to my initial question:
>
> Let's say I am an MCC Account. 
> If one of my many different linked client customer accounts tries to log 
> in to my application and give me access to his data through OAuth 2.0 how 
> can I retrieve with the usage of the OAuth 2.0 *automatically* his 
> ClientCustomerId?
> Maybe I have not understand correctly the usefulness of the OAuth 2.0 
> protocol. 
> I thought that getting all these authorization tokens from the OAuth 2.0 I 
> would at the same time be able to retrieve the ClientCustomerId.
>
> In general, what information does the OAuth 2.0 provide you and why is it 
> better to use 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: adwords american card

2013-01-14 Thread David Torres (AdWords API Team)
Hi,

In this forum we only discuss technical questions regarding the AdWords 
API. I recommend you posting your question to the regular AdWords 
Supportchannels.

Best,

- David Torres - AdWords API Team

On Sunday, January 13, 2013 7:43:35 AM UTC-5, Apartmani Monika Nin wrote:
>
> Hi,
> I am from Croatia. When I opened adwords account, I put croatian kuna as 
> currency but I want to change it to euro so I can use american. I do not 
> have master or visa.
> Can anyone help me?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: RMF Reporting: Is it enough to offer fixed weekly intervals or is the date interval required to be customizable?

2013-01-14 Thread David Torres (AdWords API Team)
Hi,

Please send your consult to adwordsapi-tok...@google.com.

Best,

- David Torres - AdWords API Team

On Friday, January 11, 2013 9:44:55 AM UTC-5, Manuel Th wrote:
>
> I am offering the reports in fixed weekly intervals (Mo - Sun) to our 
> clients, since this is enough for them. Does this comply with the RMF list 
> or do I need to include custom timeframes as well? 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: Reporting: Get aggregated account statistics per day - DAY not supported as field?

2013-01-14 Thread David Torres (AdWords API Team)
Hi,

The name of the field you should use in your report query is the one 
defined in the first column of the 
documentation
 tables. 
I believe your problem is that you are using *day* when it should be *date.*
*
*
Best,

- David Torres - AdWords API Team

On Friday, January 11, 2013 9:42:17 AM UTC-5, Manuel Th wrote:
>
> I am trying to get account statistics aggregated by each day in the last 7 
> days. I thought this would be possible by adding Day, Month and Year as a 
> field in my awql query, but it gives me a 
> ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT error although the 
> fields are defined in the report document. How do I do this? Thanks
>
> I am using the following query:
>
> SELECT
> Clicks, Cost, Impressions, Conversions, Day, Month, Year
> FROM ACCOUNT_PERFORMANCE_REPORT
>  DURING LAST_7_DAYS
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 can I set AdServingOptimizationStatus.UNAVAILABLE for Ad Rotation in campaigns?

2013-01-14 Thread David Torres (AdWords API Team)
Hi,

Sorry, if I'm not quite understanding your question. But can you give me an 
example, the campaign id, for which you are getting the value of 
UNAVAILABLE?

Best,

- David Torres - AdWords API Team

On Thursday, January 10, 2013 10:38:19 PM UTC-5, Orangevn wrote:
>
>
> Hi,
>
> I was using AdServingOptimizationStatus  for get Ad Rotation from 
> CampaignService
>
> I don't set UNAVAILABLE  of Ad Rotation for campaigns with AdWord Editor 
> and AdWord Website.
>
> How can I get /set the value is UNAVAILABLE   of Ad Rotation  Campaign 
> itself?
>
>
> Thanks for any help
>

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

2013-01-14 Thread David Torres (AdWords API Team)
Hi Silvester,

>From quick glance, it seems you are posting your request against a wrong 
endpoint 
('https://adwords.google.com/api/adwords/reportdownload/*v201109*'),
 
I believe you want to use *v201209 *instead.

If that is not the use, please email me directly your clientCustomerId and 
I'll try to find you requests in our logs.

Best,

- David Torres - AdWords API Team

On Thursday, January 10, 2013 7:00:14 AM UTC-5, silv...@techwyseintl.com 
wrote:
>
> Iam trying to downlaod keyword performance report using the following php 
> script.
>
>   
> // Account login details
> $username = "";
> $password = ";
> $customerId = "";
> $developerToken = "";
>  
> // Get an access code for the user
> $url = "https://www.google.com/accounts/ClientLogin";;
> $params = array(
> "accountType" => "GOOGLE",
> "Email" => $username,
> "Passwd" => $password,
> "service" => "adwords",
> "source" => "adluge.com"
> );
>  
> $curl = curl_init();
> curl_setopt($curl, CURLOPT_URL, $url);
> curl_setopt($curl, CURLOPT_HEADER, false);
> curl_setopt($curl, CURLOPT_POST, true);
> curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
> curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
> curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
> $curlData = curl_exec($curl);
> curl_close($curl);
>
> // Parse the response
> $curlData = explode("\n", $curlData);
> $return = array();
> foreach ($curlData as $value) {
> $value = explode("=", $value, 2);
> if (count($value) > 1) {
> $return[$value[0]] = $value[1];
> }
> }
>
> // Extract the access token
>  $authToken = $return["Auth"];
>
> $httpHeaders = array(
> "Authorization: GoogleLogin auth=$authToken","developerToken: 
> $developerToken",
> "clientCustomerId: $customerId","returnMoneyInMicros: true");
> $reportDefinition ='https://adwords.google.com/api/adwords/cm/v201209";>';
> $reportDefinition .= "";
> $reportDefinition .= "Id";
> $reportDefinition .= "KeywordText";
> $reportDefinition .= "Impressions";
> $reportDefinition .= "Clicks";
> $reportDefinition .= "Ctr";
> $reportDefinition .= "Cost";
> $reportDefinition .= "AverageCpc";
> $reportDefinition .= "Conversions";
> $reportDefinition .= "ConversionValue";
> $reportDefinition .= "AveragePosition";
> $reportDefinition .= "CostPerConversionManyPerClick";
> $reportDefinition .= "";
> $reportDefinition .= "20121201";
> $reportDefinition .= "20121231";
> $reportDefinition .= "";
> $reportDefinition .= "";
> $reportDefinition .= "Keyword Performance Report";
> $reportDefinition .= 
> "KEYWORDS_PERFORMANCE_REPORT";
> $reportDefinition .= "CUSTOM_DATE";
> $reportDefinition .= "CSV";
> $reportDefinition .= "";
>  
> $params = array("__rdxml" => $reportDefinition);
>
> $url = 'https://adwords.google.com/api/adwords/reportdownload/v201109';
>  // 'https://adwords.google.com/api/adwords/reportdownload/v201109';
> $curl = curl_init();
> curl_setopt($curl, CURLOPT_URL, $url);
> curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
> curl_setopt($curl, CURLOPT_HEADER, false);
> curl_setopt($curl, CURLOPT_POST, true);
> curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
> curl_setopt($curl, CURLOPT_HTTPHEADER, $httpHeaders);
> curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 0);
> curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
> $response = curl_exec($curl);
> $code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
> curl_close($curl);
>
> /* Debugging */
> print 'Headers:';
> print_r($headers);
> print 'XML:';
> print htmlentities($xml);
> print '';
> print 'HTTP Code: ' . $code . '';
> print htmlentities($response);
> print 'Errors:';
> $errors = array( 'errno' => curl_errno($ch), 'error' => curl_error($ch)) ;
> print_r($errors);
>
> But after executing the code Iam getting error "ReportDefinitionError. 
> CUSTOMER_SERVING_TYPE_REPORT_MISMATCH selector"
> Iam  using a MCC account username and password and a customerId under that 
> account.
> Please help me to solve this issue.
>
> Thanks,
> Silvester
>
>
>
> ?>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: placement returned by value tracking does not always match with url in auto placement performance report

2013-01-14 Thread David Torres (AdWords API Team)
Hi,

1] This is correct.

2] For most of the placements this true, but it is actually configurable at 
the publisher side so you can't assume that it will always return only the 
domain. As you might imagine there no static list we can give you since any 
publisher can configure sub-domains.

Best,

- David Torres - AdWords API Team

On Wednesday, January 9, 2013 7:07:32 AM UTC-5, ha...@sokrati.com wrote:
>
> Hi,
>
> We have observed that 
>  1] For Google Domains:
>- Same url is returned in auto placement performance report as well as 
> through value tracking.
>- For Eg: Both value tracking and performance report return sub domain 
> strings like 'mail.google.com', 'maps.google.com', 'finance.google.com' 
> etc.
>  2] For Other Domains:
>- The auto placement performance report attributes spends,clicks etc on 
> the domain where as value tracking returns the sub domain.
>- For Eg.: Url returned in performance report is 'blogspot.com', while 
> value tracking returns 'abc.blogspot.com', 'xyz.blogspot.com' etc.
>
> Can we assume that for all domains other than 'google.com', value 
> tracking will always return the sub domain while reports will show domain 
> level data. If not, can you provide us with a list of domains for which the 
> behavior will be similar to google.com (case 1).
>
>
> Thanks.
>
>
> Haiku Chandna
> SDE - Sokrati
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth - didn't see it mentioned so I thought I'd ask

2013-01-14 Thread David Torres (AdWords API Team)
Hi VijayRaj,

1) You can use the CustomerSyncService to find out changes that occurred 
within a DateRange. 

2) The currency is configured at the account level, you can use the 
CustomerService to find out what the currency code is for the account.

Best,

- David Torres - AdWords API Team


On Wednesday, January 9, 2013 2:16:35 AM UTC-5, VijayRaj Chauhan wrote:
>
> Hi,
>
> I have been using Google Adwords API for sometime now but couldn't find 
> any solution for the couple of questions ...
>
> 1) Is it possible to get the list of modified campaigns after a given date 
> (without using download API) ?  I searched in forums but was not able   
>   
> to find any solution and also tried setting DateRange selector but 
> that didn't help either
>
> 2) How to get the currency of the Cost and Average CPC. Right now I am 
> using 
>   *campaign.getCampaignStats().getAverageCpc().getMicroAmount()*
> Dividing this value to 100 gives the actual value, but the 
> currency is still unknown ...
>
> Any help or pointers will be grateful:)
>
> TIA,
> VijayRaj
>
> On Monday, 13 August 2012 21:17:24 UTC+5:30, Kevin Winter wrote:
>>
>> Hi VijayRaj,
>>   I'm glad its working for you.  If you are using reports, you'll want to 
>> make sure you're using 1.7.1 - 1.7.0 had a bug with report downloads that 
>> 1.7.1 fixes.
>>
>> Regarding account info, you can use the CustomerService to obtain the 
>> information for the targeted account - in your scenario, it should return a 
>> single record for MCC.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Monday, August 13, 2012 7:44:52 AM UTC-4, VijayRaj Chauhan wrote:
>>>
>>> Hi Kevin,
>>>
>>> OAuth2 authentication is now working fine for javaWIth that token 
>>> how do I get the current users account information ??. I referred to the 
>>> GetAccountHierarchy.java example but it returns all the client emails as 
>>> well as mcc account emails. For e.g, if MCC_1 account is linked to MCC 
>>> account, running GetAccountHierarchy.java on MCC account will give the 
>>> result for MCC as well as MCC_1 account...How do I know which is the 
>>> current account details  (in this case MCC) ??
>>>
>>> TIA,
>>> VijayRaj
>>>
>>> On Monday, 30 July 2012 21:40:53 UTC+5:30, Kevin Winter wrote:

 Hi VijayRaj,
   I think that at this point this is a client-library-specific issue - 
 could you please file an issue on the project issue tracker with your 
 stacktrace and a quick description of your environemnt?  We're still 
 looking into this, but having it on the issue tracker will keep the 
 library-specific information where it belongs.

 - Kevin Winter
 AdWords API Team

 On Thursday, July 26, 2012 1:53:07 AM UTC-4, VijayRaj Chauhan wrote:
>
> Hi Kevin,
>
> Kindly update this thread once you get any clue about this issue.
>
> TIA,
> VijayRaj
>
> On Wednesday, 25 July 2012 20:31:48 UTC+5:30, Kevin Winter wrote:
>>
>> Hi VijayRaj,
>>   We suspect that the reflections library we're using may have issues 
>> with certain classpath setups 
>> (JBossin 
>> particular).  We're looking into this.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Wednesday, July 25, 2012 3:59:49 AM UTC-4, VijayRaj Chauhan wrote:
>>>
>>> Hi Kevin,
>>>
>>> It works fine when I used in IDE...I get this error when I bundled 
>>> these jars in our web application inside the lib folder...Other than 
>>> these 
>>> jars we have only tomcat jars...
>>>
>>> TIA,
>>> VijayRaj
>>>
>>> On Friday, 20 July 2012 19:40:23 UTC+5:30, Kevin Winter wrote:

 Hi VijayRaj,
   I just set up a new eclipse project that only had the jars from 
 adwords-axis-examples-1.5.0-dependencies and added the source of the 
 examples.  I then ran GetCampaigns (which used my homedir 
 ads.properties 
 file) successfully.  What's different about your environment?  Are you 
 using an IDE?  What else is on the classpath besides these jars?

 - Kevin Winter
 AdWords API Team

 On Tuesday, July 17, 2012 3:43:20 AM UTC-4, VijayRaj Chauhan wrote:
>
> Hi Kevin,
>
> I have included all the dependency jars from 
> *adwords-axis-examples-1.5.0-dependencies.tar 
> *in my projectWhile trying to get Campaigns I get the 
> following error
>
> java.net.URISyntaxException: Illegal character in opaque part at 
>> index 7
>> at java.net.URI$Parser.fail(URI.java:2809)
>> at java.net.URI$Parser.checkChars(URI.java:2982)
>> at java.net.URI$Parser.parse(URI.java:3019)
>> at java.net.URI.(URI.java:578)
>> at java.net.URL.toURI(URL.java:918)
>> at org.reflections.vfs.Vfs.normalizePath(Vf

First Test : QuotaCheckError.INVALID_TOKEN_HEADER

2013-01-14 Thread FL
Hello,

I try to use the google-api-adwords-php

I download the librairie aw_api_php_lib_3.2.2

And when i launch 
: examples/v201209/AccountManagement/GetClientCustomerId.php I have this 
error :

An error has occurred: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; 
trigger:'x...@x.com++USD']

Why i have this error ?

Thanks

PS : i put DEFAULT_SERVER = "https://adwords.google.com"; because with 
sandbox it doesn't work


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





Oauth2 jwt ruby issue

2013-01-14 Thread teammailsync


Hello everyone, 

We’ve recently started to use adwords api and now we are trying to automate 
few tasks. We’re using OAuth2 authentication and ruby. 

We’ve followed the example here 
https://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2_jwt.rbto
 authenticate, the only difference is how we initialize the adwords api:

adwords = AdwordsApi::Api.new({

:library => {

  :log_level => "DEBUG"

}}) 

# option 1 and option 2 not modified from the example

campaign_srv = adwords.service(:CampaignService, API_VERSION)


We’ve downloaded the private key file and the path is set correctly and 
we’ve tried both options. This is the error we get: 

/path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/credential_handler.rb:65:in
 
`set_credential': undefined method `[]=' for nil:NilClass (NoMethodError)

from 
/path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:103:in
 
`block in authorize'

from 
/path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in
 
`each_pair'

from 
/path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in
 
`authorize'


Let me know if you need further information, i would like to find out the 
possible reason for that error or if there is any error in our 
configuration or code?

 

Thank you in advance for your time,

Georgi

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





Any way to reduce RateExceededError 24 hours retry period, using a test account?

2013-01-14 Thread hmortensen2907


Hi,

We are developing an automatic AdGenerator and Updater, and are now 
starting getting RateExceededError errors, which is ok as we at times can 
have multiple threads making multiple calls at about the same times, but a 
24 hours retry period!? Makes the development process grind to a holt :(

Are there any way, with a test account, to get this retry period reduced to 
a more develop friendly period? 30 secounds as in production would be 
optimal. 

Thanks in advance.

Henning Mortensen
Software Developer
Marketing Lion ApS

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





EnhancedCpcEnabledSpecified, enhancedCpcEnabled propeties of ManualCPC bidding strategy of a Campaign are alway return false.

2013-01-14 Thread Lã Anh Tú
Hi, 

Today I test .Net Adword API library and debug on Campaign Service to get 
our Campaigns, For Campaigns with BiddingStrategy is ManualCPC, 
properties EnhancedCpcEnabledSpecified is alway return to False 
so enhancedCpcEnabled returns False too.


On the Google Adword web site, Bidding option section with Enhanced CPC 
option for CPC Campaigns with is alway checked. 

Is there any special things when using APIs with BiddingStrategy property 
of Campaign object.

Please help.


Thanks.
Anh Tu.

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





adwords american card

2013-01-14 Thread Apartmani Monika Nin
Hi,
I am from Croatia. When I opened adwords account, I put croatian kuna as 
currency but I want to change it to euro so I can use american. I do not 
have master or visa.
Can anyone help me?

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





Problem with Adwords Api

2013-01-14 Thread Sagar Bhandari
Hi,

I am getting the following error when using the api v201209

An error has occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adwords.google.com/api/adwords/cm/v201206/CampaignService?wsdl' : 
failed to load external entity 
"https://adwords.google.com/api/adwords/cm/v201206/CampaignService?wsdl";

Could someone let me know what the issue is.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 anyone say whether this is a ClientLogin error or something else??

2013-01-14 Thread Sagar Bhandari
Hi Paul,

I too get similar error when I try to use an example script.

An error has occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adwords.google.com/api/adwords/cm/v201209/CampaignService?wsdl' : 
failed to load external entity 
"https://adwords.google.com/api/adwords/cm/v201209/CampaignService?wsdl";

I am using the latest client library v201209.



On Wednesday, November 28, 2012 1:03:03 AM UTC+11, Paul Matthews wrote:
>
> Hi Ryan,
>
> As per our October 
> announcement,
>  
> the v201109 has been sunset on October 26th 2012. The error you are 
> receiving is due to a missing WSDL. The WSDL is missing because the service 
> no longer exists.
>
> Please migrate to 
> v201209or 
> v201206to 
> fix these issues. For information on migrating to v201206, please see 
> the migration 
> guide
> .
>
> Regards,
>
> - Paul, AdWords API Team.
>
> On Monday, 26 November 2012 21:50:50 UTC, Ryan Applegate wrote:
>>
>> Hello Group, We are running an app interface to AdWords (version 201109) 
>> using ClientLogin. We have had no issues for some time; however recently we 
>> started receiving  a SOAP error:
>>
>> SOAP-ERROR: Parsing WSDL: Couldn't load from '
>> https://adwords.google.com/api/adwords/o/v201109/TargetingIdeaService?wsdl' 
>> : failed to load external entity "
>> https://adwords.google.com/api/adwords/o/v201109/TargetingIdeaService?wsdl"; 
>> .
>>
>>
>> Can anyone say whether this is a ClientLogin error or something else?? 
>> Any ideas very much appreciated! 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: Trying to migrate .NET/C# application to OAuth 2.0, Service Account, keep getting "access_denied"

2013-01-14 Thread Christopher Jennings
I'm having this same issue. I don't have the  OAuth2ClientId and 
OAuth2ClientSecret defined in the config and I get the following error over 
and over until I stop the console app:

Failed to get access token for service account.
{
  "error" : "access_denied"
}

I'm sure this is just me not configuring the service account correctly or 
something, but I can't figure out what I might have done wrong. Any 
suggestions?

On Thursday, January 10, 2013 4:15:15 AM UTC-5, Danial Klimkin wrote:
>
> Hello,
>
>
> The error you are receiving is not an AdWords API error but OAuth2.0 error.
>
> First of all, you don't want to provide OAuth2ClientId and 
> OAuth2ClientSecret for JWT auth, try removing it. If you still get the same 
> error, send me a screenshot of the Console with this project / key over 
> *email* (not to the group).
>
>
> -Danial, AdWords API Team.
>
>
>
> On Saturday, January 5, 2013 4:56:38 AM UTC+4, sandm...@gmail.com wrote:
>>
>> I work for a company that uses Google AdWords, and we have a .NET 
>> application (written in C#) that makes use of the Google AdWords API. We 
>> are using the latest version (201209) of the Google API client assemblies 
>> for .NET. The application currently uses the ClientLogin protocol for 
>> authenticating, but we are trying to migrate to OAuth 2.0.
>>
>> I am fairly confident that I have gone through all of the required steps 
>> to be able to successfully negotiate a request for an authentication token. 
>> I am using the sample code solution that comes with the Google API client 
>> assemblies in order to test this, using the “Service Account” workflow. So 
>> far I have not succeeded. Within the code we call the 
>> GenerateAccessTokenForServiceAccount() method of the OAuth2Provider object 
>> that is the OAuthProvider property of an AdWordsUser object. The result is 
>> that a Google.Api.Ads.Common.Lib.AdsOAuthException is thrown with the 
>> message “Failed to get access to token for service account” that also 
>> includes a JSON object with one key-value pair:
>>
>> “error” : “access_denied”
>>
>> When examining the traffic using Fiddler2, I see what looks like a 
>> properly-formed request going out, according to the relevant documentation (
>> *https://developers.google.com/accounts/docs/OAuth2ServiceAccount*)
>>  
>> …
>>
>> POST https://accounts.google.com/o/oauth2/token HTTP/1.1
>>
>> Content-Type: application/x-www-form-urlencoded
>>
>> Host: accounts.google.com
>>
>> Content-Length: 583
>>
>> Expect: 100-continue
>>
>> Connection: Keep-Alive
>>
>>  
>>
>>
>> grant_type=urn%3aietf%3aparams%3aoauth%3agrant-type%3ajwt-bearer&assertion=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIzNDgzMjEzMjIyNDlAZGV2ZWxvcGVyLmdzZXJ2aWNlYWNjb3VudC5jb20iLCAic2NvcGUiOiJodHRwczovL2Fkd29yZHMuZ29vZ2xlLmNvbS9hcGkvYWR3b3Jkcy8iLCAiYXVkIjoiaHR0cHM6Ly9hY2NvdW50cy5nb29nbGUuY29tL28vb2F1dGgyL3Rva2VuIiwgImV4cCI6MTM1NzMzMTIxNSwgImlhdCI6MTM1NzMyNzYxNSwgInBybiI6IkluZm9zcGFjZUNvcnBAZ21haWwuY29tIn0.BnD3-oPozaUInI9LexIF_wqNnIOLeGLBfv1oJOjzpHjc9q5p_-Q7A7i_V3QkqCKgV2EmWT3wU8BNUKj7YrpKThWgzKNT661uA4HiF2ZPQNYduKxouJrB7OON9BXoWBdgkSjyWb5frEzTmzklM476SEQAJvWP2djxBSGaha3Qwww
>>
>> … and a HTTP 400 response coming back that contains no meaningful header 
>> information, and the aforementioned JSON object in the body.
>>
>> HTTP/1.1 400 Bad Request
>>
>> Cache-Control: no-cache, no-store, max-age=0, must-revalidate
>>
>> Pragma: no-cache
>>
>> Expires: Fri, 01 Jan 1990 00:00:00 GMT
>>
>> Date: Fri, 04 Jan 2013 19:26:54 GMT
>>
>> Content-Type: application/json
>>
>> X-Content-Type-Options: nosniff
>>
>> X-Frame-Options: SAMEORIGIN
>>
>> X-XSS-Protection: 1; mode=block
>>
>> Server: GSE
>>
>> Content-Length: 31
>>
>>  
>>
>> {
>>
>>   "error" : "access_denied"
>>
>> }
>>
>> I am not sure what that response means. From what I’ve seen of other 
>> failed attempts described here and on other forums, I am assuming that the 
>> request is correctly formed and would normally succeed, but there is 
>> something in how the client access credentials are set up on the API 
>> console that is wrong enough to prevent an authentication token from being 
>> granted.
>>
>> What follows is a step-by-step description of every step taken, from 
>> requesting the developer token to “access_denied”. It is my expectation 
>> that others who have gone before and succeeded will be able to identify 
>> whatever missteps I have made and offer sufficient information to get me 
>> past “access_denied”. 
>>
>> 1.   Using a Google AdWords MCC account, requested a developer token 
>> at the AdWords API Center. This request has been approved, and a developer 
>> token supplied.
>>
>> 2.   For the same MCC account, logged in to the Google API Console (*
>> https://code.google.com/apis/console*) 
>> and created a project (“API Project”). We did not register for a Project ID.
>>
>> 3.   On the Services tab, we did not s

RMF Reporting: Is it enough to offer fixed weekly intervals or is the date interval required to be customizable?

2013-01-14 Thread Manuel Th
I am offering the reports in fixed weekly intervals (Mo - Sun) to our 
clients, since this is enough for them. Does this comply with the RMF list 
or do I need to include custom timeframes as well? 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





Reporting: Get aggregated account statistics per day - DAY not supported as field?

2013-01-14 Thread Manuel Th
I am trying to get account statistics aggregated by each day in the last 7 
days. I thought this would be possible by adding Day, Month and Year as a 
field in my awql query, but it gives me a 
ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT error although the 
fields are defined in the report document. How do I do this? Thanks

I am using the following query:

SELECT
Clicks, Cost, Impressions, Conversions, Day, Month, Year
FROM ACCOUNT_PERFORMANCE_REPORT
 DURING LAST_7_DAYS


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: API not pulling in sub-MCC

2013-01-14 Thread Andrew Tchabovsky
Great, thanks Kevin.  Would we have to obtain a different Developer Token 
if we do separate requests or can we use the one we have been using?

I will ask our database manager about switching to AdHoc Reporting.

Thanks,
Andrew


On Monday, January 14, 2013 8:13:03 AM UTC-8, Kevin Winter (AdWords API 
Team) wrote:
>
> Hi Andrew,
>   Sorry for replying directly earlier, it's better to keep this on the 
> forum for future reference by others.
>
>   Requests made to the AdWords API can only target one account at a time. 
>  For example, if you set your clientCustomerId to one of your client 
> accounts and invoke CampaignService.get, you'll only see campaigns for that 
> specific customerId.  The only time it makes sense to use the 
> clientCustomerId of an MCC account is when obtaining a list of accounts - 
> using the ManagedCustomerService.  When making ManagedCustomerService 
> calls, it should return the entire account hierarchy rooted at the 
> effective MCC (either the one you authenticate as or the one specified as 
> clientCustomerId).  If you want to pull data from individual accounts, 
> you'll have to set the clientCustomerId to each individual client account 
> (i.e. non-MCC) in your hierarchy and make API requests to pull data from 
> these accounts.
>
> As an aside, if you're pulling a lot of data from these accounts, I 
> strongly recommend you look into AdHoc 
> reporting if 
> you haven't already.
>
> - Kevin Winter
> AdWords API Team
>
> On Friday, December 14, 2012 12:13:56 PM UTC-5, Andrew Tchabovsky wrote:
>>
>> I apologize for my ignorance here, I have limited knowledge of the API 
>> workings.  I have pasted below the API command I got from our database 
>> vendor.  Where in the command do you add the clientCustomerId header?
>>
>> AdWordsUser user = new AdWordsUser();
>> ReportDefinition definition = new ReportDefinition();
>> definition.reportName = "Custom DESTINATION_URL_REPORT";
>> definition.reportType = 
>> ReportDefinitionReportType.DESTINATION_URL_REPORT; ;
>> definition.downloadFormat = DownloadFormat.XML;
>> definition.dateRangeType = ReportDefinitionDateRangeType.LAST_MONTH;
>> Selector selector = new Selector();
>> selector.fields = new string[] { "AccountDescriptiveName", "CampaignId", 
>> "CampaignName", "AdGroupId", "AdGroupName", "CampaignStatus", 
>> "EffectiveDestinationUrl", "Impressions", "Clicks", "Ctr", "AverageCpc", 
>> "Cost", "AveragePosition", "Date", "AdGroupStatus" };
>> definition.selector = selector;
>> definition.includeZeroImpressions = true;
>> string[] clientid ={ List of Adwords ClientID as a String}
>>
>> Thanks,
>> Andrew
>>
>>
>> On Monday, May 21, 2012 9:41:30 AM UTC-7, David Torres wrote:
>>>
>>> Hi Andrew,
>>>
>>> This is most likely because you are not specifying the clientCustomerId 
>>> header as part of your request, check the documentation about it in this 
>>> page https://developers.google.com/adwords/api/docs/headers
>>>
>>> Please let me know if you are still having problems.
>>>
>>> Best,
>>>
>>> -David Torres - AdWords API Team
>>>
>>> On Thursday, May 17, 2012 12:33:28 PM UTC-4, Andrew Tchabovsky wrote:

 We are setting up a new API connection and it is only pulling in 
 account data from our main MCC, it is not pulling data from the sub-MCCs 
 within the main MCC.  Has anyone encountered this before?  Any ideas on 
 how 
 we can pull the data from the sub-MCCs in the same API?
>>>
>>>

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





Adword API change keyword Bidding

2013-01-14 Thread Yun Ling
Hey, i would like to know what is the proper way or what API call i should 
use to change the adwords keyword bidding, 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: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread Stamatina Thomaidou
Returning to my initial question:

Let's say I am an MCC Account. 
If one of my many different linked client customer accounts tries to log in 
to my application and give me access to his data through OAuth 2.0 how can 
I retrieve with the usage of the OAuth 2.0 *automatically* his 
ClientCustomerId?
Maybe I have not understand correctly the usefulness of the OAuth 2.0 
protocol. 
I thought that getting all these authorization tokens from the OAuth 2.0 I 
would at the same time be able to retrieve the ClientCustomerId.

In general, what information does the OAuth 2.0 provide you and why is it 
better to use 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: API not pulling in sub-MCC

2013-01-14 Thread Kevin Winter (AdWords API Team)
Hi Andrew,
  Sorry for replying directly earlier, it's better to keep this on the 
forum for future reference by others.

  Requests made to the AdWords API can only target one account at a time. 
 For example, if you set your clientCustomerId to one of your client 
accounts and invoke CampaignService.get, you'll only see campaigns for that 
specific customerId.  The only time it makes sense to use the 
clientCustomerId of an MCC account is when obtaining a list of accounts - 
using the ManagedCustomerService.  When making ManagedCustomerService 
calls, it should return the entire account hierarchy rooted at the 
effective MCC (either the one you authenticate as or the one specified as 
clientCustomerId).  If you want to pull data from individual accounts, 
you'll have to set the clientCustomerId to each individual client account 
(i.e. non-MCC) in your hierarchy and make API requests to pull data from 
these accounts.

As an aside, if you're pulling a lot of data from these accounts, I 
strongly recommend you look into AdHoc 
reporting if 
you haven't already.

- Kevin Winter
AdWords API Team

On Friday, December 14, 2012 12:13:56 PM UTC-5, Andrew Tchabovsky wrote:
>
> I apologize for my ignorance here, I have limited knowledge of the API 
> workings.  I have pasted below the API command I got from our database 
> vendor.  Where in the command do you add the clientCustomerId header?
>
> AdWordsUser user = new AdWordsUser();
> ReportDefinition definition = new ReportDefinition();
> definition.reportName = "Custom DESTINATION_URL_REPORT";
> definition.reportType = ReportDefinitionReportType.DESTINATION_URL_REPORT; 
> ;
> definition.downloadFormat = DownloadFormat.XML;
> definition.dateRangeType = ReportDefinitionDateRangeType.LAST_MONTH;
> Selector selector = new Selector();
> selector.fields = new string[] { "AccountDescriptiveName", "CampaignId", 
> "CampaignName", "AdGroupId", "AdGroupName", "CampaignStatus", 
> "EffectiveDestinationUrl", "Impressions", "Clicks", "Ctr", "AverageCpc", 
> "Cost", "AveragePosition", "Date", "AdGroupStatus" };
> definition.selector = selector;
> definition.includeZeroImpressions = true;
> string[] clientid ={ List of Adwords ClientID as a String}
>
> Thanks,
> Andrew
>
>
> On Monday, May 21, 2012 9:41:30 AM UTC-7, David Torres wrote:
>>
>> Hi Andrew,
>>
>> This is most likely because you are not specifying the clientCustomerId 
>> header as part of your request, check the documentation about it in this 
>> page https://developers.google.com/adwords/api/docs/headers
>>
>> Please let me know if you are still having problems.
>>
>> Best,
>>
>> -David Torres - AdWords API Team
>>
>> On Thursday, May 17, 2012 12:33:28 PM UTC-4, Andrew Tchabovsky wrote:
>>>
>>> We are setting up a new API connection and it is only pulling in account 
>>> data from our main MCC, it is not pulling data from the sub-MCCs within the 
>>> main MCC.  Has anyone encountered this before?  Any ideas on how we can 
>>> pull the data from the sub-MCCs in the same API?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 there a way to get the object status with no dependency on their performance?

2013-01-14 Thread Paul Matthews
Hi,

John is correct, simply don't filter them in the query.

For more information on this answer, see this 
post, 
where you originally asked it.

Regards,

- Paul, AdWords API Team.

On Sunday, 13 January 2013 14:10:36 UTC, nf7588 wrote:
>
> hi,
>
> is there a way to get via report the object status (ad/campaign/adgroup 
> id and status - active/pause/deleted) 
> with no dependency on their performance? whether or not they received 
> impressions..
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: zero impressions are only available in Keyword performance, not on Ad Performance

2013-01-14 Thread Paul Matthews
Hi,

The performance reports contain data to do with their report type. If the 
reports contain the information you need (such as status) then you can 
query them but without adding a condition on the performance columns. This 
will return all the data on each item.

For example, you can still query the KEYWORD_PERFORMANCE_REPORT for keyword 
statuses, simply don't add a criteria for the performance metrics (such as 
AverageCPC).

Additionally, to ensure you return all results (rather than just results 
with non-zero impression data), ensure you don't exclude zero impression 
rows by including segmentation behaving results.

Cheers,

- Paul, AdWords API Team.

On Thursday, 10 January 2013 18:05:37 UTC, nf7588 wrote:
>
> Thanks for the help, i have another question related to that, is there a 
> way to get the object status (ad/campaign/adgroup id and status - 
> active/pause/deleted) with no dependency on their performance? whether or 
> not they received impressions?
>
> On Wednesday, January 9, 2013 4:45:38 PM UTC+2, Paul Matthews wrote:
>>
>> Hi,
>>
>> Any fields you include that have a behavior of Segment will prevent the 
>> report from including zero impressions. For more information on this, 
>> please see this 
>> article
>> .
>> Additionally, please check the notes column as some non-segments affect 
>> inclusion of zero impression values.
>>
>> Finally, if you're using the 
>> ReportDefintionService,
>>  
>> please ensure you're not sending through the value "includeZeroImpressions 
>> = false".
>>
>> Regards,
>>
>> - Paul, 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: Question about testing account...

2013-01-14 Thread Jeremy Aube
The sandbox has been shut down. You should use test accounts instead:

https://developers.google.com/adwords/api/docs/test-accounts

On Thursday, January 10, 2013 11:55:59 PM UTC-5, googl...@iautos.cn wrote:
>
>
> Hi,
> I am new for Adwords API. Our company is going to develop a small 
> application based on google Adwords. We have already applied an account. We 
> got the 'customer Id', but the developer token is still 'on processing'. 
> 
> I saw some existing codes mentioned that we can use the testing 
> account (sandbox?). I have tried that by using the testing develper token ("
> i...@gmail.com ++USD"), but it always gives an error like 
> this "[QuotaCheckError.INVALID_TOKEN_HEADER @ ; 
> trigge...@gmail.com
> ++USD']".
>
> My question is: How can I run some testing cases when the developer 
> token is still 'on processing'?
>
>Cheers,
>
> Ian
> 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A

2013-01-14 Thread Jeremy Aube
Hi Danial,

The relevant logs are several gigabytes large, so I haven't found a good 
way to send them yet. It looks like the errors are being triggered by 
memory issues. They tend to only happen when all of the available RAM has 
been used up. I've been working on ways to reduce memory usage and that 
seems to have calmed down the errors significantly. 

I did try changing the adapter, but still had SSL errors:

Curl::Err::SSLConnectError: Curl::Err::SSLConnectError

Anyways, I think we can consider the issue closed and I can just continue 
to work on being more efficient with memory.

Thanks for all of your help!

Jeremy 

On Thursday, January 3, 2013 2:59:06 AM UTC-5, Danial Klimkin wrote:
>
> Hello Jeremy,
>
>
> It sounds like a local configuration issue rather than a library issue to 
> me, but let's keep investigating.
>
> Can you please send full logs for the error to me over email?
>
> Also, I suggest trying the curb backend as well. It is a native backend 
> and may work better in mac env. To try it, install curb gem and set the 
> configuration file as follows:
>
> :service:
>  [...]
> [:authentication]
>  [...]
> :connection:
>   :adapter: :curb
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, December 27, 2012 5:21:48 PM UTC+4, Jeremy Aube wrote:
>>
>> It looks like updating OpenSSL didn't work. We had SSL errors on the 25th 
>> as well as this morning (the 27th). 
>>
>> I had left a few posts, but it looks like those were deleted for some 
>> reason, possibly because I posted the backtrace for the latest error. 
>> Rather than doing that again, I'll just point out the main differences:
>>
>> 1. The error is now 'read server hello A' instead of 'read server session 
>> ticket A'.
>> 2. The error now occurs in session.rb, line 302, in 'connect', which is a 
>> file in the httpclient gem.
>> 3. The next several lines are all from httpclient instead of net/http.
>> 4. The google-ads-common lines are from 0.8.2 instead of 0.8.0.
>> 5. The google-adwords-api lines are from 0.7.2 instead of 0.7.1.
>>
>> I'm not sure what else to try at this point. The adwords_xml.log file 
>> contains a large gap while these are occurring, so either no SOAP 
>> requests/responses are being made when the errors occur or they're not 
>> being recorded.
>>
>> Jeremy
>>
>>
>> On Monday, December 24, 2012 8:17:36 AM UTC-5, Jeremy Aube wrote:
>>>
>>> Just to follow up on this, updating to the latest version of OpenSSL 
>>> seems to have fixed the issue. We haven't had any SSL errors for 2 days now.
>>>
>>> On Monday, December 17, 2012 8:54:21 AM UTC-5, Jeremy Aube wrote:

 Right now we're wrapping the calls with code to keep retrying the calls 
 until they succeed, or fail too many times. 

  
 On Tuesday, December 11, 2012 5:34:56 AM UTC-5, Nilesh Avhad wrote:
>
> Hi Jeremy,
>
> I am facing a similar issue. How did you resolve this?
>
> Regards,
> Nilesh
>
> On Friday, 7 December 2012 18:47:20 UTC+5:30, Jeremy Aube wrote:
>>
>> Hi Danial,
>>
>> We checked the logs and it looks like no requests are being made 
>> during the time when the errors occur. We had a 2 hour gap this morning 
>> where no requests or responses were recorded, which happened at the time 
>> time as all the errors. The errors also seem to be coinciding with 
>> increased network activity on our side, so it seems very likely at this 
>> point that it's an issue on our side rather than with the AdWords API or 
>> the ruby client library.
>>
>> Thanks for your help!
>>
>> On Wednesday, December 5, 2012 4:16:23 AM UTC-5, AdWords API Advisor 
>> wrote:
>>>
>>> Hello Jeremy, 
>>>
>>>
>>> Can you please send me full debug output logs for such a request 
>>> over 
>>> email (please make sure not to share it with the whole group as it 
>>> may 
>>> contain sensitive information). 
>>>
>>>
>>> -Danial, AdWords API Team. 
>>>
>>>
>>> Original Message Follows: 
>>>  
>>> From: Jeremy Aube  
>>> Subject: Re: OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 
>>> errno=0 
>>> state=SSLv3 read server session ticket A 
>>> Date: Mon, 3 Dec 2012 05:05:36 -0800 (PST) 
>>>
>>> > Hi Danial, 
>>> > 
>>> > We installed the httpclient gem, but the SSL error still pops up 
>>> now and 
>>>
>>> > then. 
>>> > 
>>> > 
>>> > On Monday, November 19, 2012 3:12:55 AM UTC-5, Danial Klimkin 
>>> wrote: 
>>> > > 
>>> > > Hello Jeremy, 
>>> > > 
>>> > > 
>>> > > It appears you are getting network timeouts. From the stack I 
>>> can see 
>>> you 
>>> > > are using the Ruby library with net_http adapter. I recommend 
>>> trying 
>>> > > httpclient instead. 
>>> > > 
>>> > > All you need to do it to install httpclient gem like: 
>>> > >   gem install ht

Re: Is the 'Low Search Volume' label available via the API?

2013-01-14 Thread Tomer Peled
Thanks!

On Monday, January 14, 2013 1:06:19 PM UTC+2, Oliver wrote:
>
> I found the answer while looking at the various keyword fields. The 
> *systemServingStatus 
> *is what you're looking for.  When its value is *RARELY_SERVED *that 
> means the keyword is Low Search Volume:
>
>
> https://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService.BiddableAdGroupCriterion
>
> Oliver
>
> On Monday, January 14, 2013 9:47:07 AM UTC, Tomer Peled wrote:
>>
>> Hi,
>>
>> Is there any updates on this?
>> Can we get the "low search volume" status for a keyword via the API?
>>
>> Thanks,
>> Tomer
>>
>> On Tuesday, September 4, 2012 4:26:56 PM UTC+3, Oliver wrote:
>>>
>>> Some keywords have a 'low search volume' label (see attached image).
>>>
>>> Is this info available through the API anywhere?
>>>
>>> Oliver
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Test Account Approval

2013-01-14 Thread Danial Klimkin
Hello Dave,


The tokens review team only handles tokens request. Please email your cid 
to the support alias, or to me directly via "Reply to Author" on the right.


-Danial, AdWords API Team.


On Friday, January 11, 2013 8:02:54 PM UTC+4, google+g...@leadkarma.com 
wrote:
>
> Danial,
>
> I emailed this address: adwordsa...@google.com . Is that the 
> correct one? We want to make sure we have a test account so we can feel 
> comfortable upgrading our API by the deadline.
>
> Appreciate the help!
>
> Dave
>
> On Wednesday, January 9, 2013 7:03:31 AM UTC-5, Danial Klimkin wrote:
>>
>> Hello Dave,
>>
>>
>> Please send us your MCC and Test Account CIDs over email.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, January 7, 2013 6:30:56 PM UTC+4, google+g...@leadkarma.comwrote:
>>>
>>> Hello,
>>>
>>> I requested an API Test account on 12/18/12 and have not heard anything 
>>> back regarding this. I believe it said we would hear back within 10 days 
>>> but it has obviously been longer than that. Is there any update on this?
>>>
>>> Thanks,
>>>
>>> Dave
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 the 'Low Search Volume' label available via the API?

2013-01-14 Thread Oliver
I found the answer while looking at the various keyword fields. The 
*systemServingStatus 
*is what you're looking for.  When its value is *RARELY_SERVED *that means 
the keyword is Low Search Volume:

https://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService.BiddableAdGroupCriterion

Oliver

On Monday, January 14, 2013 9:47:07 AM UTC, Tomer Peled wrote:
>
> Hi,
>
> Is there any updates on this?
> Can we get the "low search volume" status for a keyword via the API?
>
> Thanks,
> Tomer
>
> On Tuesday, September 4, 2012 4:26:56 PM UTC+3, Oliver wrote:
>>
>> Some keywords have a 'low search volume' label (see attached image).
>>
>> Is this info available through the API anywhere?
>>
>> Oliver
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 there a way to get the object status with no dependency on their performance?

2013-01-14 Thread John Lister
Pretty sure the reports will return all objects, unless you add something 
like "Impressions > 0' to the query (or a similar predicate)

John

On Sunday, 13 January 2013 14:10:36 UTC, nf7588 wrote:
>
> hi,
>
> is there a way to get via report the object status (ad/campaign/adgroup 
> id and status - active/pause/deleted) 
> with no dependency on their performance? whether or not they received 
> impressions..
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 the 'Low Search Volume' label available via the API?

2013-01-14 Thread Tomer Peled
Hi,

Is there any updates on this?
Can we get the "low search volume" status for a keyword via the API?

Thanks,
Tomer

On Tuesday, September 4, 2012 4:26:56 PM UTC+3, Oliver wrote:
>
> Some keywords have a 'low search volume' label (see attached image).
>
> Is this info available through the API anywhere?
>
> Oliver
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread Stamatina Thomaidou
Thank you both for your replies :) We will try some of the tips and we will 
get back with updates if we continue to have problems.

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