Re: MCC Test Account returning QuotaCheckError.ACCOUNT_INACTIVE on API Call

2013-08-29 Thread testmcc
Me too facing same issue. Generally ACCOUNT_INACTIVE comes when billing 
information is not set, but I've set billing info on both MCC test account 
and the child account. I've tried unlinking and linking them back again. My 
test mcc account is not yet approved.

here is my soap request.

[Aug 29 2013 11:07:37.00 - ERROR] POST 
/api/adwords/cm/v201306/CampaignService?access_token=ya29.*4Lf0d***RTegZRgjvz0rz
 
HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.4.14, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 521


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>
  

  511-***-6051
  tl7**sjZzY**s3iA
  thth sy***ms (AwApi-PHP/4.5.1, Common-PHP/5.0.0, 
PHP/5.4.14)

  
  

  
Id
Name
Impressions
Clicks
Cost
Ctr

  Impressions
  GREATER_THAN
  0


  20130822
  20130828


  0
  500

  

  



AND THE RESPONSE

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Thu, 29 Aug 2013 05:37:47 GMT
Expires: Thu, 29 Aug 2013 05:37:47 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 503
Server: GSE


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201306";>
  0004e50f818771500a42254131df
  CampaignService
  get
  0
  49

  
  

  soap:Server
  [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
trigger:'']
  
https://adwords.google.com/api/adwords/cm/v201306";>
  [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
trigger:'']
  
ApiException
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="QuotaCheckError">


QuotaCheckError.ACCOUNT_INACTIVE
QuotaCheckError
ACCOUNT_INACTIVE
  

  

  



On Tuesday, August 27, 2013 7:07:22 PM UTC+5:30, AdManager Reweb wrote:
>
> We have created a test account to begin the API tests. However, when we 
> try to get the campaigns, the message : QuotaCheckError.ACCOUNT_INACTIVE is 
> returned from SOAP.
> The DeveloperToken is still peding, but this should not be a problem, 
> right?
> Our DeveloperToken is b9ymIsVGVEYnOkHFx84WbA and our ClientID is 
> 750758403885.apps.googleusercontent.com .
>
> Thank you!
>
 

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

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Use test accounts since developer token is "pending approval" for 4 weeks

2013-08-29 Thread yfeng
Hi guys,

My API access in the MCC account is still in the status of "pending 
approval", due to this, can I just use the test account I applied to do 
authenticate via oauth2 and then write java code through adwords API?

Tell me if I didn't describe my situation clearly.

BTW, why can't I see the former questions posted in the forum? did those 
question had to be approved and then can be shown at the forum?

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


QuotaCheckError.INCOMPLETE_SIGNUP on test account, after accepting T&C and setting up billing

2013-08-29 Thread Dorin Rosenshine

Using the PHP library, running the GetTextAds.php example and getting:
Uncaught SoapFault exception: [soap:Server] 
[QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] in 
src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216 Stack trace: #0

MCC test account ID - 378-107-7132. Billing info is already set up.

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


QuotaCheckError.ACCOUNT_INACTIVE

2013-08-29 Thread Martin Samm
I've signed up for a Test MCC account (737-267-4583) and obtained all the 
requisite IDs for the 'auth.ini' and am using the latest Php library.

My developerToken is pending approval but as i understand in that shouldn't 
matter for test accounts. Is that correct? I ask as using some sample code 
i'm getting the above ACCOUNT_INACTIVE error.

I have supplied billing information etc so i'm not sure what i've missed. 
What have i not done?

Thanks

Martin

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


QuotaCheckError.ACCOUNT_INACTIVE

2013-08-29 Thread Martin Samm
i've create an MCC Test Account (737-267-4583) and found my developer token 
(pending approval) clientCustomerId, refreshToken etc etc. When i use the 
API I get:

An error has occurred: [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
trigger:''] 

Is there a delay before the account is activated?

Martin


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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: oauth2 mcc account vs adwords account

2013-08-29 Thread yfeng
Hi Anash,

Thanks for replying me, I checked the site u send me. that one looks like a 
.NET guide, the code I'm using is java. And I have other questions, can I 
just use my "test account"
 and the "client ID I create in API console" to authenticate via oauth2 and 
also create campaign, etc in the adwords API?

Thanks

On Tuesday, August 27, 2013 11:37:54 AM UTC-4, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Folks,
>
> You don't need to turn on AdWords API on Google API Console. Google API 
> Console hosts all our REST APIs (Drive, Apps, etc.), whereas for AdWords 
> API, you signup from your AdWords API MCC account as mentioned on 
> https://developers.google.com/adwords/api/docs/signingup. Once you have 
> an approved developer token, just create a new project in Google API 
> Console, create an OAuth2 token and then use it. You can refer to 
> https://code.google.com/p/google-api-adwords-dotnet/wiki/UsingOAuth for 
> some details. It's a bit specific for the AdWords API .NET library, but the 
> process is quite similar for other client libraries as well.
>
> Cheers,
> Anash P. Oommen
> AdWords API Advisor.
>
> On Monday, August 26, 2013 5:57:50 PM UTC+1, Michael Ni wrote:
>>
>> I got it to work,
>>
>> I did not need to turn on adwords as a service in console, it doesn't 
>> exist,  all you need to do is authenticate via oauth2
>>
>> I used web flow.  
>>
>> Also i authenticated/authorized as my mcc account and had access to the 
>> individual accounts joined to it.
>>
>>
>>
>> On Thursday, August 22, 2013 8:34:59 AM UTC-7, yf...@fxcm.com wrote:
>>>
>>> Hi Michael, 
>>>
>>> I am stuck in a similar issue, u mentioned u want to turn on the google 
>>> adsense api service in https://code.google.com/apis/console, I want to 
>>> turn on my google adwords api service, however, I search the page, this is 
>>> no such service for me to turn on. Do u have any clue on this?
>>>
>>> Thanks
>>>
>>> On Monday, August 19, 2013 8:41:17 PM UTC-4, Michael Ni wrote:

 Thanks Ewan,

 If it's just mcc then it saves me a bunch of pain.

 It seems wierd that I don't have to switch on google adwords api in the 
 https://code.google.com/apis/console
 under services.

 I use the adsense api, and I had to switch it on, but for adwords, I 
 guess I don't.



 On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:
>
> Hi Michael,
>
> Once you've authenticated an MCC account, you will have access to all 
> of the client accounts without needing additional tokens.
>
> Regards,
>
> Ewan 
>


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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: MCC Test Account returning QuotaCheckError.ACCOUNT_INACTIVE on API Call

2013-08-29 Thread PinYun Peng
I have the same problem.

Application Client ID: 
188261182067-vjueniqmj56m5630nggcurqv1crejahd.apps.googleusercontent.com 
Test Account MCM ID: 156-754-4053 

The attach file is soap_xml.log of failed API Call. 
( The access_token and developerToken are replaced by random text. If they 
are necessary, I can re-attach.)


On Wednesday, August 28, 2013 4:59:07 PM UTC+8, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi,
>
> Yes, that shouldn't happen as far as I can tell. A test account is closed 
> and hence should be inactive, but you shouldn't get that error message 
> back. Could you post a sanitized SOAP message so I can take a look?
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor
>

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

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


soap_xml.log
Description: Binary data


Re: oauth2 mcc account vs adwords account

2013-08-29 Thread yfeng
Got it!

However I didn't get the developer token approved, I'm just using Eclipse+ 
Maven to get authenticate via oauth2, the account that available to me 
right now is just a test account. 

The issue I'm stuck in right now is every time when I want to 
GetRefreshToken, Eclipse stopped me, notify the code like, "Exception in 
thread "main" javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target"

Did u ever saw this before? Thanks for replying me!

On Monday, August 26, 2013 12:57:50 PM UTC-4, Michael Ni wrote:
>
> I got it to work,
>
> I did not need to turn on adwords as a service in console, it doesn't 
> exist,  all you need to do is authenticate via oauth2
>
> I used web flow.  
>
> Also i authenticated/authorized as my mcc account and had access to the 
> individual accounts joined to it.
>
>
>
> On Thursday, August 22, 2013 8:34:59 AM UTC-7, yf...@fxcm.com wrote:
>>
>> Hi Michael, 
>>
>> I am stuck in a similar issue, u mentioned u want to turn on the google 
>> adsense api service in https://code.google.com/apis/console, I want to 
>> turn on my google adwords api service, however, I search the page, this is 
>> no such service for me to turn on. Do u have any clue on this?
>>
>> Thanks
>>
>> On Monday, August 19, 2013 8:41:17 PM UTC-4, Michael Ni wrote:
>>>
>>> Thanks Ewan,
>>>
>>> If it's just mcc then it saves me a bunch of pain.
>>>
>>> It seems wierd that I don't have to switch on google adwords api in the 
>>> https://code.google.com/apis/console
>>> under services.
>>>
>>> I use the adsense api, and I had to switch it on, but for adwords, I 
>>> guess I don't.
>>>
>>>
>>>
>>> On Monday, August 19, 2013 4:32:34 PM UTC-7, Ewan Heming wrote:

 Hi Michael,

 Once you've authenticated an MCC account, you will have access to all 
 of the client accounts without needing additional tokens.

 Regards,

 Ewan 

>>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


QuotaCheckError.INCOMPLETE_SIGNUP on test account, after accepting T&C and setting up billing

2013-08-29 Thread Dorin Rosenshine
Using PHP library, running GetTextAds example and getting:
Uncaught SoapFault exception: [soap:Server] 
[QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] in 
/home/content/17/11290817/html/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216
 
Stack trace: #0 

MCC test account ID - 378-107-7132
Billing has been setup, T&C accepted.

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


adwords-api@googlegroups.com

2013-08-29 Thread testmcc
Hi, 

I've set the billing information and agreed to T&C on my test MCC account 
and also on one of my test account under this MCC account.

Still when i'm trying to using API to access the campaigns, i'm getting 
QuotaCheckError.ACCOUNT_INACTIVE error, which is generally received when 
the billing information is not set.

I'd set this billing information yesterday, yet the API is giving me such 
error. Could you please verify whether the billing information is properly 
set or not? Or could you tell my any other possible reason for such error 
message? My developer token is not yet approved.

MCC Test Account: 252-703-3816
Test Adwords Acc: 511-454-6051


below is the soap request and response

[Aug 29 2013 11:07:37.00 - ERROR] POST 
/api/adwords/cm/v201306/CampaignService?access_token=ya29.AqNtNzWZRgjvz0rz
 
HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.4.14, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 521


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>
  

  511-6051
  tl7Yr3-Hs3iA
  th-th sy-s (AwApi-PHP/4.5.1, Common-PHP/5.0.0, 
PHP/5.4.14)

  
  

  
Id
Name
Impressions
Clicks
Cost
Ctr

  Impressions
  GREATER_THAN
  0


  20130822
  20130828


  0
  500

  

  


HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Thu, 29 Aug 2013 05:37:47 GMT
Expires: Thu, 29 Aug 2013 05:37:47 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 503
Server: GSE


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201306";>
  0004e-254131df
  CampaignService
  get
  0
  49

  
  

  soap:Server
  [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
trigger:'']
  
https://adwords.google.com/api/adwords/cm/v201306";>
  [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
trigger:'']
  
ApiException
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="QuotaCheckError">


QuotaCheckError.ACCOUNT_INACTIVE
QuotaCheckError
ACCOUNT_INACTIVE
  

  

  





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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: MCC Test Account returning QuotaCheckError.ACCOUNT_INACTIVE on API Call

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

Looks like the error happens because your developer token is in a test MCC 
account, we don't support that configuration. Test MCCs are meant to test 
ManagedCustomerService related calls or to manage a hierarchy of test 
Adverttiser accounts. 

Please use your production developer token and test MCC credentials to make 
calls to test account. If you don't have a production developer token, you 
should sign up for one from a non-test MCC account.

We will update the documentation to make this more clear.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, August 29, 2013 7:47:11 AM UTC+1, PinYun Peng wrote:
>
> I have the same problem.
>
> Application Client ID: 
> 188261182067-vjueniqmj56m5630nggcurqv1crejahd.apps.googleusercontent.comTest 
> Account MCM ID: 
> 156-754-4053 
>
> The attach file is soap_xml.log of failed API Call. 
> ( The access_token and developerToken are replaced by random text. If they 
> are necessary, I can re-attach.)
>
>
> On Wednesday, August 28, 2013 4:59:07 PM UTC+8, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Yes, that shouldn't happen as far as I can tell. A test account is closed 
>> and hence should be inactive, but you shouldn't get that error message 
>> back. Could you post a sanitized SOAP message so I can take a look?
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor
>>
>

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

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


adwords-api@googlegroups.com

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

Could you post the request id from the SOAP response? I need that to find 
out the cause of the error, but I suspect that the error comes because the 
developer token sits under a test MCC account. We don't support that 
configuration yet.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, August 29, 2013 7:20:20 AM UTC+1, tes...@nirandas.com wrote:
>
> Hi, 
>
> I've set the billing information and agreed to T&C on my test MCC account 
> and also on one of my test account under this MCC account.
>
> Still when i'm trying to using API to access the campaigns, i'm getting 
> QuotaCheckError.ACCOUNT_INACTIVE error, which is generally received when 
> the billing information is not set.
>
> I'd set this billing information yesterday, yet the API is giving me such 
> error. Could you please verify whether the billing information is properly 
> set or not? Or could you tell my any other possible reason for such error 
> message? My developer token is not yet approved.
>
> MCC Test Account: 252-703-3816
> Test Adwords Acc: 511-454-6051
>
>
> below is the soap request and response
>
> [Aug 29 2013 11:07:37.00 - ERROR] POST 
> /api/adwords/cm/v201306/CampaignService?access_token=ya29.AqNtNzWZRgjvz0rz
>  
> HTTP/1.1
> Host: adwords.google.com
> Connection: Keep-Alive
> User-Agent: PHP-SOAP/5.4.14, gzip
> Accept-Encoding: gzip, deflate
> Content-Encoding: gzip
> Content-Type: text/xml; charset=utf-8
> SOAPAction: ""
> Content-Length: 521
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201306";>
>   
> 
>   511-6051
>   tl7Yr3-Hs3iA
>   th-th sy-s (AwApi-PHP/4.5.1, 
> Common-PHP/5.0.0, PHP/5.4.14)
> 
>   
>   
> 
>   
> Id
> Name
> Impressions
> Clicks
> Cost
> Ctr
> 
>   Impressions
>   GREATER_THAN
>   0
> 
> 
>   20130822
>   20130828
> 
> 
>   0
>   500
> 
>   
> 
>   
> 
>
> HTTP/1.1 500 Internal Server Error
> Content-Type: text/xml; charset=UTF-8
> Content-Encoding: gzip
> Date: Thu, 29 Aug 2013 05:37:47 GMT
> Expires: Thu, 29 Aug 2013 05:37:47 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 503
> Server: GSE
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201306";>
>   0004e-254131df
>   CampaignService
>   get
>   0
>   49
> 
>   
>   
> 
>   soap:Server
>   [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
> trigger:'']
>   
> https://adwords.google.com/api/adwords/cm/v201306";>
>   [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
> trigger:'']
>   
> ApiException
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="QuotaCheckError">
> 
> 
> QuotaCheckError.ACCOUNT_INACTIVE
> QuotaCheckError
> ACCOUNT_INACTIVE
>   
> 
>   
> 
>   
> 
>
>
>
>
> 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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.INCOMPLETE_SIGNUP on test account, after accepting T&C and setting up billing

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi Dorin,

You shouldn't create a developer token under a test MCC account. You should 
rather create a developer token in a non-test account, and use the MCC 
account only for testing MCC related API calls.

Cheers,
Anash P. Oommen
AdWords API Advisor.

On Thursday, August 29, 2013 12:42:38 AM UTC+1, Dorin Rosenshine wrote:
>
> Using PHP library, running GetTextAds example and getting:
> Uncaught SoapFault exception: [soap:Server] 
> [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] in 
> /home/content/17/11290817/html/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216
>  
> Stack trace: #0 
>
> MCC test account ID - 378-107-7132
> Billing has been setup, T&C accepted.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamic price in ads

2013-08-29 Thread Valerii Buzivskyi
UP

пятница, 23 августа 2013 г., 12:24:01 UTC+3 пользователь Valerii Buzivskyi 
написал:
>
> Hi Paul,
>
> thank you for your reply!
>
> We just try to send one request for few times.
>
> Also get some errors, like this.
>
> 2013-08-23 12:01:44 | DEBUG | Updating prices for group 8788017099 [] | 
> 16.5 MB
> 2013-08-23 12:01:48 | DEBUG | Updating prices for group 8788015899 [] | 
> 16.5 MB
> 2013-08-23 12:01:52 | DEBUG | Updating prices for group 8788016139 [] | 
> 16.5 MB
> 2013-08-23 12:01:56 | DEBUG | Updating prices for group 8788016019 [] | 
> 16.5 MB
> 2013-08-23 12:02:00 | CRITICAL | 
> [AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[0].operand; 
> trigger:'AdGroupId = 8788016019, CriterionId = 63973714299'] [] | 16.5 MB
> 2013-08-23 12:02:00 | DEBUG | Updating prices for group 8788011939 [] | 
> 16.5 MB
> 2013-08-23 12:02:04 | CRITICAL | 
> [AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[0].operand; 
> trigger:'AdGroupId = 8788011939, CriterionId = 171333082'] [] | 16.5 MB
> 2013-08-23 12:02:04 | DEBUG | Updating prices for group 8788018659 [] | 
> 16.5 MB
> 2013-08-23 12:02:08 | DEBUG | Updating prices for group 8788019259 [] | 
> 16.5 MB
> 2013-08-23 12:02:13 | CRITICAL | 
> [AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[0].operand; 
> trigger:'AdGroupId = 8788019259, CriterionId = 1270341033'] [] | 16.5 MB
> 2013-08-23 12:02:13 | DEBUG | Updating prices for group 8788017819 [] | 
> 16.5 MB
>
>
>
> четверг, 22 августа 2013 г., 23:12:56 UTC+3 пользователь Paul Matthews 
> (AdWords API Team) написал:
>>
>> Hi Valeril,
>>
>> Danial is out of the office at the moment, so I'm going to look into this 
>> case for you. It does indeed sound strange.
>>
>> Have you tried sending just one request, to see if you get the same 
>> response? I see you're sending many hundreds.
>>
>> I'm looking further into this, as soon as I have any more information, 
>> I'll update this thread.
>>
>> Regards,
>>
>> - Paul, AdWords API Team.
>>
>> On Wednesday, 21 August 2013 09:18:58 UTC-4, Valerii Buzivskyi wrote:
>>>
>>> Hello Danial,
>>>
>>> 0004e473326475380ae53b8924f5
>>>
>>> Hope, that's it.
>>>
>>> среда, 21 августа 2013 г., 15:27:58 UTC+3 пользователь Danial Klimkin 
>>> написал:

 Hello Valerii,


 Please let me know the requestID for the errors below. It can be found 
 in the SOAP response header.


 -Danial, AdWords API Team.


 On Wednesday, August 21, 2013 3:44:38 PM UTC+4, Valerii Buzivskyi wrote:
>
> Here few errors:
>
>  AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1508].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165396539', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1509].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165396659', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1510].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165396779', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1511].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165396899', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1512].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165397019', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1513].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165397139', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1514].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165397259', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1515].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165397379', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ 
> operations[1516].operand; trigger:'AdGroupId = 8788019259, CriterionId = 
> 64165397499']
>
> среда, 21 августа 2013 г., 12:29:32 UTC+3 пользователь Valerii 
> Buzivskyi написал:
>>
>> Hello Danial,
>>
>> thank you for your reply!
>>
>> We tryed to use  {param1:}  to associate price to each keyword.
>> We get ads with correct keywords and prices.
>>
>> But there are some bugs.
>>
>> Almost 80% of keywords couldn't be associated with price because of 
>> criterion id error.
>>
>> We make 2 scanning of database.
>> 1-st scanning gives us keywords (each keyword have its own id)
>> 2-nd scanning gives us prices (with ids for keywords)
>>
>> Then system try to associate keywords and prices via IDs.
>>
>> Some keywords and prices associated, and some - not/ Appears 
>> criterion id error - wrong criterion id. But when we try to compare ids 
>> manualy - we see, that everything is ok, all ids correct. And the last - 
>> we 
>> get this error randomly for different groups and keywords. It means that 
>> sometimes it works, so

Re: Unique of creative id on Tracking values

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi Shay,

Creative ID is not the same as Ad ID. We don't expose Creative ID through 
AdWords API.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, August 28, 2013 1:41:28 PM UTC+1, Shay BarChen wrote:
>
> Hi ,
> So how can it be that i am using it today without getting duplicates ? 
> over than 1.5 Tousend Ads per day ?
> ( Search only Ads ).
>
> Thanks,
> Shay.
>
> On Tuesday, August 27, 2013 6:38:49 PM UTC+3, Anash P. Oommen (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> Ad Id is unique in an ad group. Ad group id is globally unique.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Monday, August 26, 2013 5:42:19 PM UTC+1, Shay BarChen wrote:
>>>
>>> Hi ,
>>> Today i'm using {Creative} in my destination URL
>>> Now i wonder if AD ID is unique per Google account or only Ad group ?
>>>
>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.INCOMPLETE_SIGNUP on test account, after accepting T&C and setting up billing

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

I responded on the other thread.

Cheers,
Anash P. Oommen
AdWords API Advisor.

On Thursday, August 29, 2013 12:28:53 AM UTC+1, Dorin Rosenshine wrote:
>
>
> Using the PHP library, running the GetTextAds.php example and getting:
> Uncaught SoapFault exception: [soap:Server] 
> [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] in 
> src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216 Stack trace: #0
>
> MCC test account ID - 378-107-7132. Billing info is already set up.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.ACCOUNT_INACTIVE

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi Martin,

Could you sign up for a developer token in a non-test MCC account? We don't 
support developer tokens in test MCC accounts.

Cheers,
Anash P. Oommen,
AdWords API Advisor.


On Wednesday, August 28, 2013 9:50:34 PM UTC+1, Martin Samm wrote:
>
> i've create an MCC Test Account (737-267-4583) and found my developer 
> token (pending approval) clientCustomerId, refreshToken etc etc. When i use 
> the API I get:
>
> An error has occurred: [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
> trigger:''] 
>
> Is there a delay before the account is activated?
>
> Martin
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Use test accounts since developer token is "pending approval" for 4 weeks

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

Yes, you can. You just need to create a test Advertiser account under your 
API MCC and make sure that you restrict your calls to the test account. The 
calls will succeed as long as they are not made to a production account.

About the email: Yes, we have moderation turned on for new users.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, August 28, 2013 4:05:34 PM UTC+1, yf...@fxcm.com wrote:
>
> Hi guys,
>
> My API access in the MCC account is still in the status of "pending 
> approval", due to this, can I just use the test account I applied to do 
> authenticate via oauth2 and then write java code through adwords API?
>
> Tell me if I didn't describe my situation clearly.
>
> BTW, why can't I see the former questions posted in the forum? did those 
> question had to be approved and then can be shown at the forum?
>
> 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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.ACCOUNT_INACTIVE

2013-08-29 Thread Martin Samm
Anash,

i think there's an account i can use.

i have to say, this is not described in the docs at all.

Martin


On Wednesday, August 28, 2013 9:50:34 PM UTC+1, Martin Samm wrote:
>
> i've create an MCC Test Account (737-267-4583) and found my developer 
> token (pending approval) clientCustomerId, refreshToken etc etc. When i use 
> the API I get:
>
> An error has occurred: [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
> trigger:''] 
>
> Is there a delay before the account is activated?
>
> Martin
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.ACCOUNT_INACTIVE

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi Martin,

Your developer token cannot be in a test MCC account. You should use the 
test MCC account to test MCC API features of AdWords API. Your developer 
token should be in a non-test MCC.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, August 28, 2013 10:08:58 PM UTC+1, Martin Samm wrote:
>
> I've signed up for a Test MCC account (737-267-4583) and obtained all the 
> requisite IDs for the 'auth.ini' and am using the latest Php library.
>
> My developerToken is pending approval but as i understand in that 
> shouldn't matter for test accounts. Is that correct? I ask as using some 
> sample code i'm getting the above ACCOUNT_INACTIVE error.
>
> I have supplied billing information etc so i'm not sure what i've missed. 
> What have i not done?
>
> Thanks
>
> Martin
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Getting 'ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND' error on fetching Destination Url report

2013-08-29 Thread shobha . procentris
Hi,

I am trying to fetch columns 'CampaignId', 'EffectiveDestinationUrl', 
'Impressions'

of Destination Url report for a duration of 2013-08-01 to 2013-08-15 and I 
am getting the following error:

 Underlying errors are Type = 
'ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND', Trigger = 
'Unable to read report data', FieldPath = ''.

Can you please let me know how to fix this error?

Thanks,
Shobha


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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: .NET AdWords Client lib Download Report Error bug.

2013-08-29 Thread Gerhard van Deventer
HI Anash, 

I am having a similar issue with trying to download adwords reports using 
the C# Api. Specifically, I am attempting to use OAuth 2.0 to act as a 
service account and receive errors similar to the text below: 

Report download errors occurred, see errors field for more details.
   
at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
 
downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
outputStream)
   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
 
downloadUrl, String postBody, Boolean returnMoneyInMicros, String path)
   at 
  
The resulting CSV files are empty and do not contain any further 
information. Here is a brief snippet of my code: 

//Add the user we're going to use as well as the Report 
Definition. 
  AdWordsUser m_User = new AdWordsUser();
  ReportDefinition m_ReportDefinition = new ReportDefinition();

//Specify OAut-specific values: 
config.AuthorizationMethod = AdWordsAuthorizationMethod.OAuth2;
//config.OAuth2ClientId = "##.apps.googleusercontent.com";
//config.OAuth2ClientSecret = "notasecret";
config.OAuth2Scope = "https://adwords.google.com/api/adwords";; 

//Specify OAuth-specific config values for service accounts: 
config.OAuth2Mode = 
Google.Api.Ads.Common.Lib.OAuth2Flow.SERVICE_ACCOUNT;

config.OAuth2ServiceAccountEmail = 
"###@developer.gserviceaccount.com";
config.OAuth2PrnEmail = "#@frstia.co.za";
config.OAuth2CertificatePath = @"C:\keys\###-privatekey.p12";
config.OAuth2CertificatePassword = "notasecret"; 

m_ReportDefinition.reportName = m_ReportName;
//m_ReportDefinition.reportName = "Test Report"; 

//Search for appropriate enum of report type and assign it. 
ReportDefinitionReportType rtype = 
(ReportDefinitionReportType)System.Enum.Parse(typeof(ReportDefinitionReportType),
 
m_ReportType);
m_ReportDefinition.reportType = (ReportDefinitionReportType)rtype;

   m_ReportDefinition.downloadFormat = DownloadFormat.CSV;

m_ReportDefinition.selector = selector;
m_ReportDefinition.includeZeroImpressions = true;


 #region Invoke Report
//try
//{
string reportName = "unspecified name";
string fullReportPath = "";

if 
(!String.IsNullOrEmpty(Variables.FileDownloadLocation.ToString()))
{
fullReportPath = Variables.FileDownloadLocation.ToString();
}
else
{
ComponentMetaData.FireError(10, "Component Variables", 
"TheFileDownloadLocation variable is NULL or empty", "", 0, out cancel);
}

if (!string.IsNullOrEmpty(m_ReportName))
{
reportName = m_ReportName;
}
fullReportPath += "\\" + m_ReportName + ".csv";
ReportUtilities utilities = new ReportUtilities(m_User);
utilities.ReportVersion  = "v201306";

   utilities.DownloadClientReport(m_ReportDefinition, fullReportPath);


Any help would be greatly appreciated. 

Thanks, 
Gerhard 


On Wednesday, August 14, 2013 11:11:53 AM UTC+2, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi Chris,
>
> Is the issue resolved? Could you post a code snippet that shows the issue?
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Saturday, August 3, 2013 12:20:44 AM UTC+5:30, Chris Jenkins wrote:
>>
>> I'm just starting to dig into the api and I'm having an issue when I'm 
>> calling reports. I've tried various reports, but they all fail. I'm sure it 
>> has something to do with the way I'm setting it up, but the exception it 
>> throws never has anything in the error. It just says this: 
>>
>> Google.Api.Ads.AdWords.Util.Reports.ReportsException was caught
>>   HResult=-2146233088
>>   Message=Report download errors occurred, see errors field for more 
>> details.
>>   Source=Google.AdWords
>>   StackTrace:
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>>  
>> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
>> outputStream) in c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 301
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReportInternal(String
>>  
>> downloadUrl, String postBody, Boolean returnMoneyInMicros) in 
>> c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 231
>>at 
>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReport[T](T 
>> reportDefinition, Boolean returnMoneyInMicros) in 
>> c:\src\MyProjects\now\Common library 
>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 153
>>at GoogleAPI.Reports.Campaign_Daily.Get(AdWordsUser user) in 
>> c:\Users\ChrisJ\Documents\Visual Studio 
>> 2012\Projects\Googl

Keywords [:first_page_cpc]

2013-08-29 Thread Alex
Hello,

I am using the adwords api to poll the keywords from a campaing. In my 
model initializer I have this line of code

   @firstPageCpc = api_keyword[:first_page_cpc][:amount][:micro_amount] / 
100

My problem is that for few campaign or adgroups I can poll the data without 
any problem, but I have an campaign which gives me this error message:

undefined method `[]' for nil:NilClass

And it points me to that line, and if I remove it everything is working 
fine.
Can someone help me please.

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-29 Thread Alan Coleman
Hi Mark,

I'm currently working through the same situation myself. Frustrating isn't 
the word!

Are your *client_id* and *client_secret* pair from your MCC Account? I 
think this is important, although it's hidden away in the documentation.

I'd be interested to know how you get on with this, I'll keep you posted 
with my developments.

Thanks 



On Thursday, August 22, 2013 9:07:54 AM UTC+1, Mark wrote:
>
> Having used the adwords API for some years and upgraded various versions 
> of the PHP client library including the apility days, we are having major 
> problems with a migration from v201209 to v201306
>
> Our use is solely to run our own adwords account by automatically changing 
> adverts prices,  adding new adgroups and keyword for new products.
>
> Currently we maintain some 13K + adgroups.
>
> We use the PHP client library as the base of our development for 
> authentication, updating and communication included from within our own 
> scripts which communicate directly with our database servers.
>
> As you can imagine as we have been offline since the sunset of v201209 
> this is now critical.
>
>
> Currently,  we have downloaded the v201306 php client library and uploaded 
> it to a test area on our server.
>
> We have followed the instructions about getting an OAuth 2.0 refresh_token 
> and that is where we have hit a brick wall.
>
> We have the client_id, client_secret both of which have been placed into 
> the src/Google/Api/Ads/Adword/auth.ini file.
>
> The next step was to run GetRefreshToken.php
>
> We have ran this from  [url]/examples/AdWords/Auth/GetRefreshToken.phpand 
> initially ended up with a blank page.
>
> Some debug later and we found that the command:
>
> if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
>  
>   return;
> }
>
>
> the realpath command is returning false and therefore the two values did 
> not match and consequently the script was just stopping without any message 
> hence the white screen.
>
> So we commented out these commands and tried again.   This time we got a 
> little further but still received an error.
>
> Log in to your AdWords account and open the following URL:
>
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=[REMOVED].apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offline
>
> After approving the token enter the authorization code here: 
> Your OAuth2 Credentials are incorrect.
> Please see the GetRefreshToken.php example.
> {
>   "error" : "invalid_request"
> }
>
>
> Even with the error, we tried to use the url by manually posting it in a 
> browser but that give us an error that the url was incorrect.
>
> Having trolled through many forum and web posts we are still no further 
> forward as to what could be the problem.
>
>
> Any assistance to just get past this first step of getting a refresh_token 
> would be appreciated
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-29 Thread Ewan Heming
Hi Alan,

You shouldn't need a new developer token as you can use any token with any 
authorized AdWords account. You can also use any client_id and 
client_secret to generate the OAuth tokens. 

Quite a few of the people I've worked with have had problems generating 
tokens when they just want to authorize a single account. I've found that 
using Google's OAuth 
playgroundwas the simplest way 
to grab some tokens. I've already put together some 
instructions, so I'll publish them and post the link here.

Regards,

Ewan

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-29 Thread Alan Coleman
Thanks Ewan! Look at me, giving out bad advice on the forum!

On Thursday, August 29, 2013 12:20:49 PM UTC+1, Ewan Heming wrote:
>
> Hi Alan,
>
> You shouldn't need a new developer token as you can use any token with any 
> authorized AdWords account. You can also use any client_id and 
> client_secret to generate the OAuth tokens. 
>
> Quite a few of the people I've worked with have had problems generating 
> tokens when they just want to authorize a single account. I've found that 
> using Google's OAuth 
> playgroundwas the simplest 
> way to grab some tokens. I've already put together some 
> instructions, so I'll publish them and post the link here.
>
> Regards,
>
> Ewan
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: .NET AdWords Client lib Download Report Error bug.

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi Gerhard,

Did you set user.Config.ClientCustomerId at any point? AdWords API reports 
need that to pull the relevant data even if you set prn email correctly to 
that of your advertiser account.

Cheers,
Anash

On Thursday, August 29, 2013 11:07:03 AM UTC+1, Gerhard van Deventer wrote:
>
> HI Anash, 
>
> I am having a similar issue with trying to download adwords reports using 
> the C# Api. Specifically, I am attempting to use OAuth 2.0 to act as a 
> service account and receive errors similar to the text below: 
>
> Report download errors occurred, see errors field for more details.
>
> at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>  
> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
> outputStream)
>at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
>  
> downloadUrl, String postBody, Boolean returnMoneyInMicros, String path)
>at 
>   
> The resulting CSV files are empty and do not contain any further 
> information. Here is a brief snippet of my code: 
>
> //Add the user we're going to use as well as the Report 
> Definition. 
>   AdWordsUser m_User = new AdWordsUser();
>   ReportDefinition m_ReportDefinition = new ReportDefinition();
>
> //Specify OAut-specific values: 
> config.AuthorizationMethod = AdWordsAuthorizationMethod.OAuth2;
> //config.OAuth2ClientId = "##.apps.googleusercontent.com";
> //config.OAuth2ClientSecret = "notasecret";
> config.OAuth2Scope = "https://adwords.google.com/api/adwords";; 
> 
> //Specify OAuth-specific config values for service accounts: 
> config.OAuth2Mode = 
> Google.Api.Ads.Common.Lib.OAuth2Flow.SERVICE_ACCOUNT;
> 
> config.OAuth2ServiceAccountEmail = "###@
> developer.gserviceaccount.com";
> config.OAuth2PrnEmail = "#@frstia.co.za";
> config.OAuth2CertificatePath = @"C:\keys\###-privatekey.p12";
> config.OAuth2CertificatePassword = "notasecret"; 
>
> m_ReportDefinition.reportName = m_ReportName;
> //m_ReportDefinition.reportName = "Test Report"; 
>
> //Search for appropriate enum of report type and assign it. 
> ReportDefinitionReportType rtype = 
> (ReportDefinitionReportType)System.Enum.Parse(typeof(ReportDefinitionReportType),
>  
> m_ReportType);
> m_ReportDefinition.reportType = (ReportDefinitionReportType)rtype;
>
>m_ReportDefinition.downloadFormat = DownloadFormat.CSV;
>
> m_ReportDefinition.selector = selector;
> m_ReportDefinition.includeZeroImpressions = true;
>
>
>  #region Invoke Report
> //try
> //{
> string reportName = "unspecified name";
> string fullReportPath = "";
>
> if 
> (!String.IsNullOrEmpty(Variables.FileDownloadLocation.ToString()))
> {
> fullReportPath = Variables.FileDownloadLocation.ToString();
> }
> else
> {
> ComponentMetaData.FireError(10, "Component Variables", 
> "TheFileDownloadLocation variable is NULL or empty", "", 0, out cancel);
> }
>
> if (!string.IsNullOrEmpty(m_ReportName))
> {
> reportName = m_ReportName;
> }
> fullReportPath += "\\" + m_ReportName + ".csv";
> ReportUtilities utilities = new ReportUtilities(m_User);
> utilities.ReportVersion  = "v201306";
>
>utilities.DownloadClientReport(m_ReportDefinition, fullReportPath);
>
>
> Any help would be greatly appreciated. 
>
> Thanks, 
> Gerhard 
>
>
> On Wednesday, August 14, 2013 11:11:53 AM UTC+2, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi Chris,
>>
>> Is the issue resolved? Could you post a code snippet that shows the issue?
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Saturday, August 3, 2013 12:20:44 AM UTC+5:30, Chris Jenkins wrote:
>>>
>>> I'm just starting to dig into the api and I'm having an issue when I'm 
>>> calling reports. I've tried various reports, but they all fail. I'm sure it 
>>> has something to do with the way I'm setting it up, but the exception it 
>>> throws never has anything in the error. It just says this: 
>>>
>>> Google.Api.Ads.AdWords.Util.Reports.ReportsException was caught
>>>   HResult=-2146233088
>>>   Message=Report download errors occurred, see errors field for more 
>>> details.
>>>   Source=Google.AdWords
>>>   StackTrace:
>>>at 
>>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>>>  
>>> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
>>> outputStream) in c:\src\MyProjects\now\Common library 
>>> base\adwords\compile\Util\Reports\ReportUtilities.cs:line 301
>>>at 
>>> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReportInternal(String
>>>  
>>> downloadUrl, String postBody, Boolean returnMoneyInMicros) in 

Re: Getting 'ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND' error on fetching Destination Url report

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi Shobha,

This error message could be temporary, could you try the call once more and 
see if the data comes through?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, August 29, 2013 11:04:46 AM UTC+1, shobha.p...@gmail.com wrote:
>
> Hi,
>
> I am trying to fetch columns 'CampaignId', 'EffectiveDestinationUrl', 
> 'Impressions'
>
> of Destination Url report for a duration of 2013-08-01 to 2013-08-15 and I 
> am getting the following error:
>
>  Underlying errors are Type = 
> 'ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND', Trigger = 
> 'Unable to read report data', FieldPath = ''.
>
> Can you please let me know how to fix this error?
>
> Thanks,
> Shobha
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.ACCOUNT_INACTIVE

2013-08-29 Thread Anash P. Oommen (AdWords API Team)
Hi Martin,

Yes, we are aware of that, we are working with our tech writers to make 
this clear. There are several other users who had the same issue.

Cheers,
Anash

On Thursday, August 29, 2013 10:19:21 AM UTC+1, Martin Samm wrote:
>
> Anash,
>
> i think there's an account i can use.
>
> i have to say, this is not described in the docs at all.
>
> Martin
>
>
> On Wednesday, August 28, 2013 9:50:34 PM UTC+1, Martin Samm wrote:
>>
>> i've create an MCC Test Account (737-267-4583) and found my developer 
>> token (pending approval) clientCustomerId, refreshToken etc etc. When i use 
>> the API I get:
>>
>> An error has occurred: [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
>> trigger:''] 
>>
>> Is there a delay before the account is activated?
>>
>> Martin
>>
>>
>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Total number of campaigns saved into DB

2013-08-29 Thread Alex


**

I am currently testing some code from google adwords ruby api.

class CampaignController < ApplicationController

  PAGE_SIZE = 50

  def index()
@selected_account = selected_account

if @selected_account
  response = request_campaigns_list()
  if response
@campaigns = Campaign.get_campaigns_list(response)
@campaign_count = response[:total_num_entries]
  end
end
  end

  private

  def request_campaigns_list()
api = get_adwords_api()
service = api.service(:CampaignService, get_api_version())
selector = {
  :fields => ['Id', 'Name', 'Status'],
  :ordering => [{:field => 'Id', :sort_order => 'ASCENDING'}],
  :paging => {:start_index => 0, :number_results => PAGE_SIZE}
}
result = nil
begin
  result = service.get(selector)
rescue AdwordsApi::Errors::ApiException => e
  logger.fatal("Exception occurred: %s\n%s" % [e.to_s, e.message])
  flash.now[:alert] =
  'API request failed with an error, see logs for details'
end
return result
  endend

class Campaign
  attr_reader :id
  attr_reader :name
  attr_reader :status

  def initialize(api_campaign)
@id = api_campaign[:id]
@name = api_campaign[:name]
@status = api_campaign[:status]
  end

  def self.get_campaigns_list(response)
result = {}
if response[:entries]
  response[:entries].each do |api_campaign|
campaign = Campaign.new(api_campaign)
result[campaign.id] = campaign
  end
end
return result
  endend

What I want to do is take the value of @campaign_count (from the 
controller) and save it in a db. I tried adding the code for inserting the 
value in the db, but it says that I'm missing few parameters. I want to 
save this value because I want to display it in application.html.erb, or 
otherwise I will have to request data from the api every time I load a page.

Campaign.create(:total_campaigns => 2)

Thank you.

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

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: social settings

2013-08-29 Thread Takeshi Hagikura
Hi Aaron, 

That is not supported via the API.

Best,
- Takeshi, 

On Wednesday, August 21, 2013 5:38:28 PM UTC+1, Aaron wrote:
>
> Following up with the same question; we know turning off the Social 
> Settings: +1 option for Display Network campaigns is available in the 
> AdWords UI, but is it available to turn off via the API as well (for 
> enhanced campaigns)?
>
> Thanks,
> Aaron
>
> On Monday, December 5, 2011 2:50:25 AM UTC-8, Danial Klimkin wrote:
>>
>> Hi Eric,
>>
>>
>> This question is out of AdWords API team scope. Please try asking it on 
>> the general AdWords support forum:
>>
>>   
>> http://www.google.com/support/forum/p/AdWords?hl=en&utm_source=HC&utm_medium=leftnav&utm_campaign=adwords
>>
>>
>> -Danial, 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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Strange SelectorError.START_INDEX_IS_TOO_HIGH

2013-08-29 Thread Dorian Kind
Hi all,
since yesterday, we started to see SelectorError.START_INDEX_IS_TOO_HIGH 
errors when fetching all AdParams for a given campaign, even though there 
are more AdParams existing. These errors usually start appearing at an 
offset of around 12. The campaign in question currently has 148124 
AdParams set as indicated by the "totalNumEntries" of the returned pages 
that are working; entries beyond a specifc offset however just throw 
a START_INDEX_IS_TOO_HIGH error.
I'd be grateful for any hints as we have currently no way at all to 
retrieve a complete list of AdParams for that specific campaign.
Best regards,
Dorian


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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamic Search Ads missing in Ad Performance Report

2013-08-29 Thread Takeshi Hagikura (AdWords API Team)
There are two reports that pull stats about Dynamic Search Ads. Keywordless 
category 
reportand
 Keywordless 
query 
report
.
Can you please try them if there are what you want?
It's available with the versions currently alive (v201302 and v201306). But 
I recommend to use v201306. 

Best,
- Takeshi, AdWords API Team

On Monday, August 26, 2013 11:06:57 PM UTC+9, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Kevin,
>
> Are your account already enabled as a beta? 
>
> Best,
> - Takeshi, 
>
> On Friday, August 23, 2013 2:17:19 AM UTC+9, kevin wrote:
>>
>> I am not seeing Dynamic Search Ad data in v201302 Ad Performance 
>> Reports.. do I need to use a more recent version of the API? Is there some 
>> other report type that has this data? Thanks!
>>
>> Kevin
>>
>> On Wednesday, July 18, 2012 1:16:59 PM UTC-7, Kevin Winter wrote:
>>>
>>> Hi ,
>>>   Please consult the AdWords API Terms and 
>>> Conditionsbefore 
>>> using another developer token (section II.1 is relevant to token 
>>> use).
>>>
>>> I recommend you speak with your 
>>> CSRregarding
>>>  getting into the Beta program.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Tuesday, July 17, 2012 2:58:12 PM UTC-4, valeriy wrote:

 But we have clients with Dynamic Search Ads and they are asking for 
 that data. Should we use their developer tokens then? They actually have 
 campaigns with dynamic search ads and some perf data,

 Valeriy

 On Tuesday, July 17, 2012 11:36:49 AM UTC-7, Kevin Winter wrote:
>
> Hi Valeriy,
>   Yes, DSA will be filtered out of responses for developer not 
> participating in the Beta program.  This is an invite-only program for 
> the 
> moment.  If your developer tokens belongs to CID ending 6628, then you 
> are 
> not currently in the Beta program.
>
> - Kevin Winter
> AdWords API Team
>
> On Tuesday, July 17, 2012 1:54:01 PM UTC-4, valeriy wrote:
>>
>> Yes, and they are in v201206 API and report docs mention Dynamic 
>> Search Ads in adType column description, but v201206 API does not return 
>> any performance data. I assume they are still being filtered out in 
>> results 
>> for some reason.
>>
>> Valeriy
>>
>> On Tuesday, July 17, 2012 9:15:49 AM UTC-7, Kevin Winter wrote:
>>>
>>> Hi Valeriy,
>>>   Dynamic Search Ads are currently available as a Beta feature 
>>> (program introduced in 
>>> v201109_1
>>> ).
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Monday, July 16, 2012 7:51:37 PM UTC-4, valeriy wrote:

 We upgraded to v201206 reporting API and still no Dynamic Search 
 Ads in results.

 Valeriy

 On Monday, March 26, 2012 1:42:54 PM UTC-7, Kevin Winter wrote:
>
> Hi Richard,
>   Unfortunately, at this time I don't have any information about 
> when this feature will be available in the API.  In the meantime, 
> these Ads 
> are created via the UI and can still be reported on via the UI.
>
> - Kevin Winter
> AdWords API Team
>
> On Monday, March 26, 2012 11:01:36 AM UTC-4, Richard wrote:
>>
>> Thanks for the quick response.
>>
>> This raises 2 important questions:
>>  
>> - When will support for Dynamic Search Ads, especially at the 
>> report level be added to the API?
>>
>> - What are our options until official support is added?
>>
>> Advertisers spend large amounts of money on Dynamic Search Ads 
>> and use tools to track their campaigns and justify their expenses. 
>> Not 
>> having access to this data is bad for business.
>>
>> Richard
>>
>>
>> On Monday, March 26, 2012 10:11:00 AM UTC-4, Kevin Winter wrote:
>>>
>>> Hi,
>>>   This is an intentional change.  Dynamic Search Ads were never 
>>> officially supported in the AdWords API - you could never create 
>>> them via 
>>> the API.  We recently fixed a bug that allowed these Ads to show up 
>>> in 
>>> results for AdGroupAdService calls as well as the Ad Performance 
>>> report. 
>>>  This is the same behavior for other features not supported by the 
>>> AdWords 
>>> API (such as Video Campaigns).
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Wednesday, March 21, 2012 2:03:3

Re: Use test accounts since developer token is "pending approval" for 4 weeks

2013-08-29 Thread yfeng
Thanks Anash,

I already have 2 accounts under my MCC, one is an existing site which is 
currently running and advertising through adwords user interface. The other 
one is the Test Account I recently applied, for this account, I want to 
advertising through adwords API. Writing java code and then create 
adgroups, campaign, etc, directly, rather than through the adwords UI. 

But I don't know why, I failed in authenticate via oauth2. Currently I was 
using Eclipse + Maven, I downloaded one of the examples 
(adwords-axis-examples-1.18.1), import it in Maven, Eclipse, insert my 
client_id and client_secret in the "ads.properties" file. And after that I 
run "GetRefreshToken.java". However, every time, I "paste the url" and 
"type the code I get from the browser" I got these errors "Exception in 
thread "main" javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown 
Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown 
Source)
at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown 
Source)
at 
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:964)
at 
com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283)
at 
com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.execute(GoogleAuthorizationCodeTokenRequest.java:158)
at 
adwords.axis.auth.GetRefreshToken.getOAuth2Credential(GetRefreshToken.java:78)
at adwords.axis.auth.GetRefreshToken.main(GetRefreshToken.java:114)
Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 18 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown 
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 24 more"

Did I miss something? Thanks so much for help! I'm stuck on this for a long 
time.



On Thursday, August 29, 2013 5:17:59 AM UTC-4, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi,
>
> Yes, you can. You just need to create a test Advertiser account under your 
> API MCC and make sure that you restrict your calls to the test account. The 
> calls will succeed as long as they are not made to a production account.
>
> About the email: Yes, we have moderation turned on for new users.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Wednesday, August 28, 2013 4:05:34 PM UTC+1, yf...@fxcm.com wrote:
>>
>> Hi guys,
>>
>> My API access in the MCC account is still in the status of "pending 
>> approval", due to this, can I just use the test account I applied to do 
>> authenticate via oauth2 and then write java code through adwords API?
>>
>> Tell me if I didn't describe my situation clearly.
>>
>> BTW, why can't I see the former questions posted in the forum? did those 
>> question had to be approved and then can be shown at the forum?
>>
>> 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 th

Re: Inconsistency between SOAP service and ad-hoc reporting

2013-08-29 Thread Dorian Kind
If anyone else stumbles upon this, the described behavior is still in 
effect. Any attributes that start with a hyphen are prepended with a space 
character in CSV reports. Workaround is to simply trim the values, as (to 
the best of my knowledge) attributes cannot start with a space.


On Wednesday, July 17, 2013 3:30:08 PM UTC+2, Dorian Kind wrote:
>
> I just realized that this might be connected to the way that the "Total" 
> row is formatted (which is not available in XML reports). There, values 
> that cannot be aggregated are indicated with the string ' --', two hyphens 
> preceded by a space. Maybe the logic that inserts the spaces in the "Total" 
> row is inadvertently also being applied to every result row...
>
>
> On Tuesday, July 2, 2013 10:32:54 AM UTC+2, Anash P. Oommen (AdWords API 
> Team) wrote:
>>
>> Hi Dorian,
>>
>> I'll investigate this at my end. The CSV reports shouldn't be different 
>> from xml reports.
>>
>> Cheers,
>> Anash P. Oommen
>> AdWords API Advisor
>>
>> On Friday, June 28, 2013 5:38:29 PM UTC+5:30, Dorian Kind wrote:
>>>
>>> Update: I fiddled around some more, and it turns out this has nothing to 
>>> do with the trimming. The issue is that in CSV reports, fields that start 
>>> with a hyphen are prepended with a space. For example: I created an ad in 
>>> the Web UI, starting the text lines with different interpunctuation symbols 
>>> but without whitespace in front. This is the resulting Ad Performace Report:
>>>
>>> Ad ID,Ad type,Ad,Description line 1,Description line 2,Campaign,Ad 
>>> group,Ad state,Campaign state,Ad group state
>>>
>>> 21734783092,Text ad, - Test this,: Also this,— And that,Test Hyphen In 
>>> Front,Ad Group #1,enabled,paused,enabled
>>>
>>> Total, --, --, --, --, --, --, --, --, --
>>>
>>> The headline, which starts with a hyphen, is preceded by a space 
>>> character, while description lines 1 and 2 start with a colon and an 
>>> en-dash and are left alone. XML reports do not exhibit this peculiarity, by 
>>> the way.
>>>
>>> Under the assumption that a metric/attribute can never start with 
>>> whitespace (as indicated by the automatic stripping of ad headlines / 
>>> description lines done by the API) I guess the workaround would be to trim 
>>> all values in CSV reports. But is this assumption correct?
>>>
>>> Thanks and best regards,
>>> Dorian
>>>
>>> On Friday, June 28, 2013 11:30:41 AM UTC+2, Dorian Kind wrote:

 Hi all,

 I noticed that newly created ads containing a headline or a description 
 line starting with whitespace will be trimmed automatically, e.g. when 
 creating a TextAd like so:

 {'ad': {
   'headline': '  My headline',
   'description1': 'A description',
   'description2': 'More description',
   'displayUrl': 'example.com',
   'url': 'http://www.example.com/'
   }
 }

 the return value from AdGroupAdService will look like this (this is 
 also how the ad appears in the Web UI):

 {'ad': {
   'Ad_Type': 'TextAd',
   'id': '123456789',
   'headline': 'My headline',
   'description1': ''A description',
   'description2': 'More description',
   'displayUrl': 'example.com',
   'url': 'http://www.example.com/'
   }
 }

 This is no problem per se, but when downloading an 
 ad-hoc AD_PERFORMANCE_REPORT containing the specific ad, it will appear 
 with the headline as originally sent (i.e., with the whitespace in front), 
 which makes reconciliation difficult.

 An example of this behavior can be found if you take a look at ad 
 ID 21729807532 in ad group ID 7463768572 within the account 
 464-903-6457.

 Is this behavior intended? And if not, what are recommended practices 
 to handle this discrepancy?

 Many thanks and best regards,
 Dorian

>>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Service account via Java client getting "access_denied"

2013-08-29 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

First, does your application needs impersonation? 
If all you want to do is having access to client accounts under an MCC, 
then how about using other authentication (installed application or web 
flow)?
Either way, once you store a refresh token, there'll be no human 
interactions like service accounts. 
That makes it much simpler. 

Best,
- Takeshi, 

On Tuesday, August 13, 2013 4:35:03 AM UTC+9, sfein...@rmn.com wrote:
>
> I'm using the v201306 API, trying to succeed at auth and call AdWords APIs.
>
> We've created a service account and I downloaded the private key.  I'm 
> attempting to create a credential via:
>
> GoogleCredential credential = new 
> GoogleCredential.Builder().setTransport(HTTP_TRANSPORT)
> .setJsonFactory(JSON_FACTORY)
> .setServiceAccountId("x...@developer.gserviceaccount.com 
> ")
> .setServiceAccountScopes(Collections.singleton("
> https://adwords.google.com/api/adwords";))
> .setServiceAccountPrivateKeyFromP12File(new 
> File("C:\\downloads\\rmnadwords\\-privatekey.p12"))
> .setServiceAccountUser("m...@x.com")
> .build();
>
> On calling credential.refreshToken(), I get an "access_denied" response. 
>  I do *NOT* get the error response if I do not attempt to impersonate the 
> MCC account (i.e. removing the setServiceAccountUser line)...however, then 
> upon calling an AdWords API such as to get campaigns I receive the SOAP 
> fault "NOT_ADS_USER" response.
>
> We did follow the "Steps to granting a service account impersonation 
> abilities" from 
> https://developers.google.com/adwords/api/docs/guides/service-accounts. 
>  However this did not seem to work.  I have two questions / theories and am 
> open to any other suggestion to getting this interaction working via a 
> service account:
>
>
>1. Is it a problem that our MCC account has one domain...let's call it 
>Xfor legacy reasons, but the domain has changed to Y and so we manage 
>it via https://www.google.com/a/cpanel/Y/ManageOauthClients?  In 
>AdWords, do we need to create a new user linked to the MCC account, but 
>with the Y domain, and impersonate it in the API code rather than the MCC 
>account directly?
>2. Does the service account email address (
>...@developer.gserviceaccount.com  in the code above) 
>need to be invited to and linked with the MCC account through the AdWords 
>console?
>
> Thanks for any assistance.
>
> This e-mail, including attachments, contains confidential and/or 
> proprietary information, and may be used only by the person or entity to 
> which it is addressed. The reader is hereby notified that any 
> dissemination, distribution or copying of this e-mail is prohibited. If you 
> have received this e-mail in error, please notify the sender by replying to 
> this message and delete this e-mail immediately.

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.ACCOUNT_INACTIVE

2013-08-29 Thread Martin Samm
Anash - thats working now with all the Test MCC credentials but with a 
Production MCC developerToken.

Thanks

Martin

On Wednesday, August 28, 2013 9:50:34 PM UTC+1, Martin Samm wrote:
>
> i've create an MCC Test Account (737-267-4583) and found my developer 
> token (pending approval) clientCustomerId, refreshToken etc etc. When i use 
> the API I get:
>
> An error has occurred: [QuotaCheckError.ACCOUNT_INACTIVE @ ; 
> trigger:''] 
>
> Is there a delay before the account is activated?
>
> Martin
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Account herachy

2013-08-29 Thread Alex
The fallowing script is taking getting all the client from a MCC account, 
what I should add in order to get the client children?


class Account < ActiveRecord::Base
  attr_reader :customer_id, :login, :company_name, :child_accounts
  attr_accessor :parent

def initialize(api_account)
@customer_id = api_account[:customer_id]
@login = api_account[:login]
@company_name = api_account[:company_name]
@child_accounts = []
end
def self.get_accounts_map(graph)
accounts = {}
if graph and graph[:entries]
accounts = graph[:entries].inject({}) do |result, account|
result[account[:customer_id]] = Account.new(account)
result
end
if graph[:links]
graph[:links].each do |link|
parent_account = accounts[link[:manager_customer_id]]
child_account = accounts[link[:client_customer_id]]
child_account.parent = parent_account
parent_account.add_child(child_account) if parent_account
end
end
accounts.reject! {|id, account| !account.parent.nil?}
end
return accounts
end

def add_child(child)
@child_accounts << child
end
end

Thank you

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

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Account hierarchy

2013-08-29 Thread Alex
The fallowing script is getting all the client from a MCC account, what I 
should add in order to get the clients children's?


class Account < ActiveRecord::Base
  attr_reader :customer_id, :login, :company_name, :child_accounts
  attr_accessor :parent

def initialize(api_account)
@customer_id = api_account[:customer_id]
@login = api_account[:login]
@company_name = api_account[:company_name]
@child_accounts = []
end
def self.get_accounts_map(graph)
accounts = {}
if graph and graph[:entries]
accounts = graph[:entries].inject({}) do |result, account|
result[account[:customer_id]] = Account.new(account)
result
end
if graph[:links]
graph[:links].each do |link|
parent_account = accounts[link[:manager_customer_id]]
child_account = accounts[link[:client_customer_id]]
child_account.parent = parent_account
parent_account.add_child(child_account) if parent_account
end
end
accounts.reject! {|id, account| !account.parent.nil?}
end
return accounts
end

def add_child(child)
@child_accounts << child
end
end

Thank you

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

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


When will AttributeValues in PLACEHOLDER_FEED_ITEM_REPORT be fixed?

2013-08-29 Thread HK
Hi,

David Torres mentioned in this 
thread
 
with regards to the PLACEHOLDER_FEED_ITEM_REPORT that...

"please do not rely on this AttributeValues and its format at the moment"

...as well as...

"There is currently a bug about properly escaping this separator, I 
recommend you using the FeedItemService instead to the feed item structural 
data at this moment."

We really need this report to avoid the extremely cumbersome new services 
to obtain a copy of all sitelinks for several hundred accounts. Is it 
possible to get a timeline for when the above will be addressed?

Thanks in advance
Hans

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.INCOMPLETE_SIGNUP on test account, after accepting T&C and setting up billing

2013-08-29 Thread Dorin Rosenshine
Thanks for the reply, can you clarify what kind of calls qualify as 
MCC-related? Also, I thought I could use test accounts while my real 
account's token is being approved, per 
https://developers.google.com/adwords/api/docs/test-accounts

On Thursday, August 29, 2013 4:33:41 AM UTC-4, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Dorin,
>
> You shouldn't create a developer token under a test MCC account. You 
> should rather create a developer token in a non-test account, and use the 
> MCC account only for testing MCC related API calls.
>
> Cheers,
> Anash P. Oommen
> AdWords API Advisor.
>
> On Thursday, August 29, 2013 12:42:38 AM UTC+1, Dorin Rosenshine wrote:
>>
>> Using PHP library, running GetTextAds example and getting:
>> Uncaught SoapFault exception: [soap:Server] 
>> [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] in 
>> /home/content/17/11290817/html/adwords/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216
>>  
>> Stack trace: #0 
>>
>> MCC test account ID - 378-107-7132
>> Billing has been setup, T&C accepted.
>>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Cross account conversion tracking

2013-08-29 Thread GregT
Hi,

With the recent announcement of the support of cross account conversion 
tracking, I have a couple questions:


   1. If an account is set up to use a parent MCC's conversion tracking 
   rather than its own, when ConversionTrackerService is called for that 
   account, will it list those conversion trackers of the MCC account that it 
   is using, its own account's conversion trackers (even though they are not 
   being used), or both [or something else]?
   2. What is the scope of uniqueness of ids for ConversionTrackers?  I 
   haven't seen it documented anywhere or on this forum.  Previously, I was 
   making what I thought was a reasonable assumption and held true across all 
   our clients - that they were unique at least within an account.  However, 
   now that we might be getting ids of ConversionTrackers (either through 
   ConversionTrackerService or through a few of the reports that support the 
   conversion tracker id) from both the account and a parent MCC, the exact 
   scope of their uniqueness is more important to know.


Thanks in advance,
Greg

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Unable to get OAuth 2.0 refresh_token with GetRefreshToken.php

2013-08-29 Thread yuhao feng
Hi Ewan,

I did try using OAuth playground to generate token, however it didn't work 
so well. I use the token I got from the Playground in my java code, it 
didn't response.

My situation is very strange, I'm using Eclipse+Maven to code for adwords 
API, but until now i couldn't get a OAuth token from the example 
(adwords-axis-examples) code-GetRefreshToken. I got bugs in the editor, 
like "Exception in thread "main" javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target" 

I just want to using google adwords API to replace the adwords 
user-interface one! Is it this hard??

Thanks!

On Thursday, August 29, 2013 7:20:49 AM UTC-4, Ewan Heming wrote:
>
> Hi Alan,
>
> You shouldn't need a new developer token as you can use any token with any 
> authorized AdWords account. You can also use any client_id and 
> client_secret to generate the OAuth tokens. 
>
> Quite a few of the people I've worked with have had problems generating 
> tokens when they just want to authorize a single account. I've found that 
> using Google's OAuth 
> playgroundwas the simplest 
> way to grab some tokens. I've already put together some 
> instructions, so I'll publish them and post the link here.
>
> Regards,
>
> Ewan
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Quality Score more closely to its three key sub factors

2013-08-29 Thread Anil Vadhavane
Hi,

Using Keyword Performance Report we get Quality Score for each keyword 
through API.
 
Quality Score more closely to its three key sub factors -- expected 
clickthrough rate , ad 
relevance , and landing 
page experience . Is it 
possible to get these sub factors information through API too? In Keywords 
Performance Report we are not able to find any field for this.

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.