RE: Adwords API error with CustomerService started recently

2022-03-01 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Paul,


I'm Kevin from the Google Ads API Team.


Can you provide the complete SOAP request and response logs so we can take a 
closer look at the issue? Please send the requested details via the Reply 
privately to author option. If this option is not available, you may send the 
details directly to our googleadsapi-supp...@google.com alias instead and 
reference this thread.


Regards,

Kevin Gil
Google Ads API Team
ref:_00D1U1174p._5004Q2XkHnA:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/n54pC0R83W8200gVOjiBi_Ql-rnnAggHF0Zw%40sfdc.net.


Adwords API error with CustomerService started recently

2022-03-01 Thread Paul Newbury
Hi,

We've been using the adwords api for a few years, and very recently saw 
this error when a client was going through the ouath2 process:

 {'faultMessage': '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]',
 
'requestId': '0005d926fb6a786c0a1b66952a0a1c47', 'serviceName': 
'CustomerService', 'methodName': 'getCustomers', 'operations': '1', 
'responseTime': '342'}

Im not sure where to look to debug this further, if anyone has any ideas.

We're in the process of migrating over to the new ads api, but currently 
still running on the old one. 
We're using googleads=14.0.1 from pypi.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/06f6500a-e5f5-4bba-a7dc-1ee176715008n%40googlegroups.com.


Re: Adwords API Error parse_ini_file(/reporting/adsapi_php.ini): failed to open stream: Too many open files

2018-08-07 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ronak,

The issue you just described and currently encountering appears to be more 
specific to the PHP client library. That said, I would recommend that you 
contact the PHP library owners via this link 
 for further 
assistance.

Thanks and regards,
Peter
AdWords API Team

On Tuesday, August 7, 2018 at 1:39:45 PM UTC+8, Ronak Shah wrote:
>
> Hello,
>
> We are using the Adwords API v201802 PHP Client Library  for our reporting 
> application and our automated process loads the data from adwords API every 
> hour, but we are facing a strange issue in middle of data updates "*Error 
> Occured parse_ini_file(/var/www/html/production/reporting/adsapi_php.ini): 
> failed to open stream: Too many open files, on 
> **/var/www/html/production**/reporting/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/ConfigurationLoader.php
>  
> line number 87*" 
>
> When we restart the server and re-enabled the data updates again it will 
> work for few hours and then again API will start throwing errors again.
>
> Please check
>
> Regards,
> Ronak
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2974968-9d4c-4e6c-9314-3a1ae40a00bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords API Error parse_ini_file(/reporting/adsapi_php.ini): failed to open stream: Too many open files

2018-08-06 Thread Ronak Shah
Hello,

We are using the Adwords API v201802 PHP Client Library  for our reporting 
application and our automated process loads the data from adwords API every 
hour, but we are facing a strange issue in middle of data updates "*Error 
Occured parse_ini_file(/var/www/html/production/reporting/adsapi_php.ini): 
failed to open stream: Too many open files, on 
**/var/www/html/production**/reporting/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/ConfigurationLoader.php
 
line number 87*" 

When we restart the server and re-enabled the data updates again it will 
work for few hours and then again API will start throwing errors again.

Please check

Regards,
Ronak

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/93597a76-2c4b-4d2a-93a0-62e276d4e05a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API Error: [OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.adgroup.MutateAction]

2017-12-28 Thread ramdan
Hi Bharani,

Thanks for your help. This issue has been resolved.

The mcc connect to several emails. Authorization token updated by email 
that have read-only access. To solve this, I reconnect with email that has 
administrative 
access.


Thanks,

On Friday, December 29, 2017 at 2:34:14 AM UTC+7, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello, 
>
> Based on the logs, OperationAccessDenied.ACTION_NOT_PERMITTED 
> 
>  error 
> is encountered when you don't have an authorization to invoke the mutate 
> method. It is possible that you're using the credentials with read-only 
> access to create ad groups. You will need to have either a standard or 
> administrative access level 
>  to make changes to 
> your account. 
>
> If you continue to have an issue with this, could you provide us the email 
> address associated to the refresh token via *Reply privately to author 
> *option, 
> so we can take a look.
>
> Regards,
> Bharani, AdWords API Team.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eed9be09-a071-4b11-afd9-ece09ad8ab29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API Error: [OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.adgroup.MutateAction]

2017-12-28 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello, 

Based on the logs, OperationAccessDenied.ACTION_NOT_PERMITTED 

 error 
is encountered when you don't have an authorization to invoke the mutate 
method. It is possible that you're using the credentials with read-only 
access to create ad groups. You will need to have either a standard or 
administrative access level 
 to make changes to your 
account. 

If you continue to have an issue with this, could you provide us the email 
address associated to the refresh token via *Reply privately to author *option, 
so we can take a look.

Regards,
Bharani, AdWords API Team.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/25c82b39-38ce-4cbf-be60-748226cef1d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords API Error: [OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.adgroup.MutateAction]

2017-12-28 Thread ramdan

Hi,

Its OK when I get list of adgroup.

*I got error when I tried to create or update adgroup.*

Thanks,

Below is my request. I use ruby.

W, [2017-12-28T22:03:47.018791 #24821]  WARN -- : ID: 3169325051, URL: 
https://adwords.google.com/api/adwords/cm/v201708/AdGroupService, Service: 
AdGroupService, Action: mutate, Response time: 120ms, Request ID: 
00056167d2a045b00a621611a508b40c, Operations: 1, Is fault: true, Fault 
message: [OperationAccessDenied.ACTION_NOT_PERMITTED @ class 
com.google.ads.api.serviceimpls.campaignmgmt.adgroup.MutateAction]
I, [2017-12-28T22:03:47.018884 #24821]  INFO -- : Outgoing request: 
SOAPAction: "mutate", User-Agent: BiddingDoctor (AwApi-Ruby/0.25.1, 
Common-Ruby/0.14.1, GoogleAdsSavon/1.0.2, ruby/2.3.1, HTTPI/2.4.2, 
httpclient), Authorization: REDACTED, Content-Type: text/xml;charset=UTF-8, 
Content-Length: 1023 http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201708; 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201708;>BiddingDoctor
 
(AwApi-Ruby/0.25.1, Common-Ruby/0.14.1, GoogleAdsSavon/1.0.2, ruby/2.3.1, 
HTTPI/2.4.2, 
httpclient)REDACTED3169325051https://adwords.google.com/api/adwords/cm/v201708;>ADD945892219Test
 
2ENABLED1000
I, [2017-12-28T22:03:47.018960 #24821]  INFO -- : Incoming response: 
Content-Type: text/xml; charset=UTF-8, Date: Thu, 28 Dec 2017 15:03:46 GMT, 
Expires: Thu, 28 Dec 2017 15:03:46 GMT, Cache-Control: private, max-age=0, 
X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN, 
X-XSS-Protection: 1; mode=block, Server: GSE, Alt-Svc: hq=":443"; 
ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; 
quic=51303335,quic=":443"; ma=2592000; v="41,39,38,37,35", Accept-Ranges: 
none, Vary: Accept-Encoding, Transfer-Encoding: chunked http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201708;>00056167d2a045b00a621611a508b40cAdGroupServicemutate1120soap:Client[OperationAccessDenied.ACTION_NOT_PERMITTED
 
@ class 
com.google.ads.api.serviceimpls.campaignmgmt.adgroup.MutateAction]https://adwords.google.com/api/adwords/cm/v201708;>[OperationAccessDenied.ACTION_NOT_PERMITTED
 
@ class 
com.google.ads.api.serviceimpls.campaignmgmt.adgroup.MutateAction]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="OperationAccessDenied">OperationAccessDenied.ACTION_NOT_PERMITTEDOperationAccessDeniedACTION_NOT_PERMITTED

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bbc2c5bb-7b5f-4b7a-af9e-209f05ad53b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google AdWords API: Error when execute campaignService.get(selector)

2017-02-07 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

Have you enabled logging in your application? If so, could you provide the 
SOAP request and response logs generated? In the stack trace, I see that 
you encountered "java.lang.NoSuchMethodError: 
com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V".
 
If the source of the issue is due to the usage of guava, I suggest that you 
post your query in the guava repository . 
If the error is origination form AdWords API, once I have the logs, I'll be 
able to troubleshoot. Please use *Reply privately to author* when 
responding. 

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/56d88bbd-f155-4014-8ee3-f63cd5ce4263%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google AdWords API: Error when execute campaignService.get(selector)

2017-02-07 Thread demo . wonder . marketing
 

Hi at all,

I'm integrating the Google AdWords API for retrieve the AdWords' Campaign 
in Oracle Web Center Sites 12C (with Web Logic).


When the web application execute this:


// Get all campaigns

CampaignPage page = campaignService.get(selector);


I have this *ERROR*:


Error code:GENERIC SERVER ERROR

at 
COM.FutureTense.Common.ContentServer.evalController(ContentServer.java:3882)

at 
COM.FutureTense.Common.ContentServer.processController(ContentServer.java:1470)

at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1322)

at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:512)

at COM.FutureTense.Common.ContentServer.runManager(ContentServer.java:3789)

at COM.FutureTense.Common.CS.getPage(CS.java:1364)

at COM.FutureTense.Common.CS.ReadPage(CS.java:1310)

at 
com.openmarket.Satellite.CoResidentContentServerEh._handlePage(CoResidentContentServerEh.java:223)

at 
com.openmarket.Satellite.CoResidentContentServerEh.fetchCacheObject(CoResidentContentServerEh.java:150)

at 
com.openmarket.Satellite.AbstractContentServer$CacheObjectFetchFunction.doWork(AbstractContentServer.java:436)

at 
com.openmarket.Satellite.AbstractContentServer.getCacheObjectByThrottle(AbstractContentServer.java:235)

at 
com.openmarket.Satellite.AbstractContentServerEh.getCacheObject(AbstractContentServerEh.java:178)

at 
com.openmarket.Satellite.CoResidentContentServerEh.getCacheObject(CoResidentContentServerEh.java:34)

at 
com.openmarket.Satellite.SatelliteServer.execute(SatelliteServer.java:152)

at com.openmarket.Satellite.servlet.BaseServlet.doGet(BaseServlet.java:134)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)

at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)

at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)

at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at 
COM.FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:98)

at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at 
com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:254)

at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:295)

at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at 
COM.FutureTense.Security.Common.ContentSecurityFilter.doFilter(ContentSecurityFilter.java:112)

at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)

at java.security.AccessController.doPrivileged(Native Method)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

at 
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)

at 
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:124)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:232)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)

at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:248)

at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3683)

at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3649)

at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)

at 
weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)

at 
weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)

at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)

at 
weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2433)

at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)

at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2259)

at 
weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1686)

at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1646)

at 
weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)

at 

Re: AdWords API :[!] Error: [QuotaCheckError.ACCOUNT INACTIVE @ ; trigger:'']

2016-03-25 Thread 'Umesh Dengale' via AdWords API Forum
Hello,

Could you provide me *privately* the account CID? Just click *Reply 
privately to author* in the forum when responding.

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/462c4c70-ab7d-455e-a24e-6b7597f22c77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdWords API :[!] Error: [QuotaCheckError.ACCOUNT INACTIVE @ ; trigger:'']

2016-03-25 Thread sweetspotintelligence

Hi,

I have an application with an AdWords API connection established. I was 
working with it properly until yesterday (24th March) and suddenly started 
to get an error ([!] Error: [QuotaCheckError.ACCOUNT INACTIVE @ ; 
trigger:'']) with any API request trough my application. I didn't change 
anything related with the tokens, account configuration, etc., I just 
started to make calls to the v201601 instead v201509 a couple of days ago. 
Could you please help me to solve this error?

In case it helps my project id is: ID: learned-raceway-818 (#689818457513)

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ad7a896b-5a0e-4424-b22d-c381ae36ff77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API error: HTTP 502 Bad Gateway when using AdWords API v201502 & v201506

2015-10-06 Thread Chirag
Hello Umesh,

I am also facing same since yesterday and Yes, it is frequently while 
downloading reports, even after waiting for 30 seconds still got the same 
error.

 Error 502 (Server Error)!!1  The server encountered a temporary error and 
could not complete your request.


Thanks,


On Monday, 5 October 2015 23:41:39 UTC+5:30, Umesh Dengale wrote:
>
> Hello,
>
> Could you retry above API request? If 502 bad gateway error is consistent 
> then please provide the SOAP XML request and response logs to me 
> privately. Just click *Reply privately to author* in the forum when 
> responding. Don't forget to remove the developer token in the output.
>
> Thanks,
> Umesh, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/daf1e41b-f486-4f7c-bc45-69afd2d6acac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API error: HTTP 502 Bad Gateway when using AdWords API v201502 & v201506

2015-10-06 Thread Umesh Dengale
Hello,

Could you please provide the report request logs privately to me? Just 
click *Reply privately to author* in the forum when responding. Don't 
forget to remove the developer token in the output.

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3cd317f1-b589-4d64-af0a-b16940699db8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API error: HTTP 502 Bad Gateway when using AdWords API v201502 & v201506

2015-10-05 Thread Umesh Dengale
Hello,

Could you retry above API request? If 502 bad gateway error is consistent 
then please provide the SOAP XML request and response logs to me 
privately. Just click *Reply privately to author* in the forum when 
responding. Don't forget to remove the developer token in the output.

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1b8f793d-5b66-49c2-b37b-2214197b7323%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords API error: HTTP 502 Bad Gateway when using AdWords API v201502 & v201506

2015-10-05 Thread Mandar Patil
Adwords API Team, 
I am getting error while retrieving campaigns schedule : 
 HTTP 502 Bad Gateway when using AdWords API v201502 & v201506 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4e8be155-2299-43d4-a8c4-7158ecbe2696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords Api Error

2014-07-21 Thread sathik jack

java.lang.NoSuchMethodError: 
org.apache.commons.lang.ArrayUtils.contains([CC)Z
at 
org.apache.commons.configuration.PropertiesConfiguration$PropertiesReader.doParseProperty(PropertiesConfiguration.java:889)
at 
org.apache.commons.configuration.PropertiesConfiguration$PropertiesReader.parseProperty(PropertiesConfiguration.java:795)
at 
org.apache.commons.configuration.PropertiesConfiguration$PropertiesReader.nextProperty(PropertiesConfiguration.java:728)
at 
org.apache.commons.configuration.PropertiesConfigurationLayout.load(PropertiesConfigurationLayout.java:484)
at 
org.apache.commons.configuration.PropertiesConfiguration.load(PropertiesConfiguration.java:473)
at 
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:383)
at 
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:349)
at 
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:312)
at 
org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:225)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Adwords Api Error

2014-07-21 Thread Josh Radcliff (AdWords API Team)
Hi,

Are you using maven or setting up your classpath manually? If using maven, 
then org.apache.commons.lang.ArrayUtils (from v2.5) should be on your 
classpath and should have the contains(char[], char) method 
https://commons.apache.org/proper/commons-lang/javadocs/api-2.5/org/apache/commons/lang/ArrayUtils.html#contains(char[],
 
char).

If you are setting up your classpath manually, please check which version 
of Apache Commons Lang you are using.

Thanks,
Josh, AdWords API Team

On Thursday, July 17, 2014 10:53:56 AM UTC-4, sathik jack wrote:


 java.lang.NoSuchMethodError: 
 org.apache.commons.lang.ArrayUtils.contains([CC)Z
 at 
 org.apache.commons.configuration.PropertiesConfiguration$PropertiesReader.doParseProperty(PropertiesConfiguration.java:889)
 at 
 org.apache.commons.configuration.PropertiesConfiguration$PropertiesReader.parseProperty(PropertiesConfiguration.java:795)
 at 
 org.apache.commons.configuration.PropertiesConfiguration$PropertiesReader.nextProperty(PropertiesConfiguration.java:728)
 at 
 org.apache.commons.configuration.PropertiesConfigurationLayout.load(PropertiesConfigurationLayout.java:484)
 at 
 org.apache.commons.configuration.PropertiesConfiguration.load(PropertiesConfiguration.java:473)
 at 
 org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:383)
 at 
 org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:349)
 at 
 org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:312)
 at 
 org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:225)


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/d/optout.


Re: Adwords API Error (in Python)

2014-01-14 Thread Ray Tsang (AdWords API Team)
Jimmy,

The error doesn't sound like it's authentication related.  Do you have logs 
turned on?  Could I trouble you to use the Reply to Author function and 
send me a sanitized log file (full XML request/response without sensitive 
information).

Thanks,

--
Ray Tsang (AdWords API Advisor)

On Thursday, January 9, 2014 3:04:49 PM UTC-5, Jimmy Xie wrote:

 Hello,

 I have my everything set up as specified below. I confirmed that oauth2 is 
 working but I am getting an error when trying to access the 
 client.GetCampaignService() method. I get an xml error, mismatched tag: 
 line 7 column 2. I assume this is because it is outputting an error message 
 that is not in xml format.

 I created an MCC account to link to my production account. I set up 
 billing and and agreed to the API terms and conditions on the MCC account 
 screen. I then created a test account, created some dummy adwords account 
 inside the test account, and went to the api console to create the client 
 id and client secret.

 In my config.py script I use the following:

 Client ID: test account client ID
 client secret: test account client secret
 refresh token: test account refresh token associated with above (i did the 
 handshake with the test account when requesting access).
 login client customer ID: test account adwords client ID (one of the ones 
 I created)
 user agent: I just used my program name
 developer token: production account developer token (which is pending)

 Is the error I get related to authorization? I've read a bunch of posts 
 now and I think I have my setup correct. Any help would be much 
 appreciated. Thanks!

 Here is the full error message: 

 I ran the standard script in examples:
 get_campaigns.py

 Traceback (most recent call last):
   File get_campaigns.py, line 85, in module
 main(client)
   File get_campaigns.py, line 47, in main
 campaign_service = client.GetCampaignService(version='v201309')
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/adwords/AdWordsClient.py,
  
 line 966, in GetCampaignService
 self.__logger, 'CampaignService')
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/adwords/GenericAdWordsService.py,
  
 line 89, in __init__
 namespace, namespace_extractor)
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/common/GenericApiService.py,
  
 line 116, in __init__
 config=self._GetSoapConfig())
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/SOAPpy/WSDL.py,
  
 line 62, in __init__
 self.wsdl = reader.loadFromStream(stream, wsdlsource)
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/SOAPpy/wstools/WSDLTools.py,
  
 line 28, in loadFromStream
 document = DOM.loadDocument(stream)
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/SOAPpy/wstools/Utility.py,
  
 line 602, in loadDocument
 return xml.dom.minidom.parse(data)
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/_xmlplus/dom/minidom.py,
  
 line 1915, in parse
 return expatbuilder.parse(file)
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py,
  
 line 930, in parse
 result = builder.parseFile(file)
   File 
 /prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py,
  
 line 207, in parseFile
 parser.Parse(buffer, 0)
 xml.parsers.expat.ExpatError: mismatched tag: line 7, column 2





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 Error (in Python)

2014-01-10 Thread Jimmy Xie
Hello,

I have my everything set up as specified below. I confirmed that oauth2 is 
working but I am getting an error when trying to access the 
client.GetCampaignService() method. I get an xml error, mismatched tag: 
line 7 column 2. I assume this is because it is outputting an error message 
that is not in xml format.

I created an MCC account to link to my production account. I set up billing 
and and agreed to the API terms and conditions on the MCC account screen. I 
then created a test account, created some dummy adwords account inside the 
test account, and went to the api console to create the client id and 
client secret.

In my config.py script I use the following:

Client ID: test account client ID
client secret: test account client secret
refresh token: test account refresh token associated with above (i did the 
handshake with the test account when requesting access).
login client customer ID: test account adwords client ID (one of the ones I 
created)
user agent: I just used my program name
developer token: production account developer token (which is pending)

Is the error I get related to authorization? I've read a bunch of posts now 
and I think I have my setup correct. Any help would be much appreciated. 
Thanks!

Here is the full error message: 

I ran the standard script in examples:
get_campaigns.py

Traceback (most recent call last):
  File get_campaigns.py, line 85, in module
main(client)
  File get_campaigns.py, line 47, in main
campaign_service = client.GetCampaignService(version='v201309')
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/adwords/AdWordsClient.py,
 
line 966, in GetCampaignService
self.__logger, 'CampaignService')
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/adwords/GenericAdWordsService.py,
 
line 89, in __init__
namespace, namespace_extractor)
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/common/GenericApiService.py,
 
line 116, in __init__
config=self._GetSoapConfig())
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/SOAPpy/WSDL.py,
 
line 62, in __init__
self.wsdl = reader.loadFromStream(stream, wsdlsource)
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/SOAPpy/wstools/WSDLTools.py,
 
line 28, in loadFromStream
document = DOM.loadDocument(stream)
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/adspygoogle-1.1.6-py2.5.egg/adspygoogle/SOAPpy/wstools/Utility.py,
 
line 602, in loadDocument
return xml.dom.minidom.parse(data)
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/_xmlplus/dom/minidom.py,
 
line 1915, in parse
return expatbuilder.parse(file)
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py,
 
line 930, in parse
result = builder.parseFile(file)
  File 
/prod/user/sam/can/card/canada/pri/non_npi/iDIBS/PYTHON/python/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py,
 
line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: mismatched tag: line 7, column 2



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 Error: OperationAccessDenied.ACTION_NOT_PERMITTED @

2013-10-01 Thread Adeel Ahmed
I am using custom made PHP script (nolibrary) for AdWords API. I am able to 
fetch Campaign's data and AdGroup's Data and as per some calculation, I 
want to change CpcBid of specific AdGroups (Top Level - not ads/keywords 
within AdGroup).

$adgroupidx=1122334455;
$bid=0.12 * 100;

$bid1_soap=new SoapVar(NULL, NULL, 'money',ADWORDS_API_NAMESPACE);
$bid1_soap-microAmount=$bid;

$bid2=array(bid=$bid1_soap);
$bid2_soap=new SoapVar(NULL, NULL, 'CpcBid',ADWORDS_API_NAMESPACE);
$bid2_soap-bid=$bid1_soap;


$BiddingStrategyConfiguration=new SoapVar(NULL, NULL, 
'BiddingStrategyConfiguration',ADWORDS_API_NAMESPACE);

$BiddingStrategyConfiguration-bids=array($bid2_soap);



$request = array(
mutate = array(
operations = array(

array(operator=SET,operand=array(id=$adgroupidx,biddingStrategyConfiguration=array(bids=array($bid2_soap)))
)
)
//--operations
)
//---mutate
);
//---request

Now after running SOAP CALL... I get error...

[message:protected] = [OperationAccessDenied.ACTION_NOT_PERMITTED @ ]

Some part of error... shows request variable as...


   [1] = Array

(

[mutate] = Array

(

[operations] = Array

(

[0] = Array

(

[operator] = SET

[operand] = Array

(

[id] = 
1122334455


[biddingStrategyConfiguration] = Array

(

[bids] 
= Array

(


[0] = SoapVar Object


(


[enc_type] = 98


[enc_stype] = CpcBid


[enc_ns] = https://adwords.google.com/api/adwords/cm/v201306


[bid] = SoapVar Object


(


[enc_type] = 98


[enc_stype] = money


[enc_ns] = 
https://adwords.google.com/api/adwords/cm/v201306


[microAmount] = 12


)



)


)


)


)


)


)


)


)


---

Error part:

[faultstring] = [OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
[faultcode] = soap:Server
[detail] = stdClass Object
(
[ApiExceptionFault] = stdClass Object
(
[message] = [OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
[ApplicationException.Type] = ApiException
[errors] = SoapVar Object
(
[enc_type] = 0
[enc_value] = stdClass Object
(
[fieldPath] = 
[trigger] = 
[errorString] = 
OperationAccessDenied.ACTION_NOT_PERMITTED
[ApiError.Type] = OperationAccessDenied
[reason] = ACTION_NOT_PERMITTED
)

[enc_stype] = OperationAccessDenied
[enc_ns] = 

Re: Adwords API Error: OperationAccessDenied.ACTION_NOT_PERMITTED @

2013-10-01 Thread Anash P. Oommen (AdWords API Team)
Hi Adeel,

The error you mention can come only if you don't have UPDATE access to the 
client account. Can you confirm if the login email you are using to 
generate your OAuth2/ClientLogin tokens have permission to update the 
account you are making calls to?

Cheers,
Anash P. Oommen,
AdWords API Advisor

On Monday, September 30, 2013 4:25:05 AM UTC+5:30, Adeel Ahmed wrote:

 I am using custom made PHP script (nolibrary) for AdWords API. I am able 
 to fetch Campaign's data and AdGroup's Data and as per some calculation, I 
 want to change CpcBid of specific AdGroups (Top Level - not ads/keywords 
 within AdGroup).

 $adgroupidx=1122334455;
 $bid=0.12 * 100;

 $bid1_soap=new SoapVar(NULL, NULL, 'money',ADWORDS_API_NAMESPACE);
 $bid1_soap-microAmount=$bid;

 $bid2=array(bid=$bid1_soap);
 $bid2_soap=new SoapVar(NULL, NULL, 'CpcBid',ADWORDS_API_NAMESPACE);
 $bid2_soap-bid=$bid1_soap;


 $BiddingStrategyConfiguration=new SoapVar(NULL, NULL, 
 'BiddingStrategyConfiguration',ADWORDS_API_NAMESPACE);

 $BiddingStrategyConfiguration-bids=array($bid2_soap);



 $request = array(
 mutate = array(
 operations = array(
 
 array(operator=SET,operand=array(id=$adgroupidx,biddingStrategyConfiguration=array(bids=array($bid2_soap)))
 )
 )
 //--operations
 )
 //---mutate
 );
 //---request

 Now after running SOAP CALL... I get error...

 [message:protected] = [OperationAccessDenied.ACTION_NOT_PERMITTED @ ]

 Some part of error... shows request variable as...


[1] = Array

 (

 [mutate] = Array

 (

 [operations] = Array

 (

 [0] = Array

 (

 [operator] = SET

 [operand] = Array

 (

 [id] = 
 1122334455

 
 [biddingStrategyConfiguration] = Array

 (

 [bids] 
 = Array

 (

   
   [0] = SoapVar Object

   
   (

   
   [enc_type] = 98

   
   [enc_stype] = CpcBid

   
   [enc_ns] = https://adwords.google.com/api/adwords/cm/v201306

   
   [bid] = SoapVar Object

   
   (

   
   [enc_type] = 98

   
   [enc_stype] = money

   
   [enc_ns] = 
 https://adwords.google.com/api/adwords/cm/v201306

   
   [microAmount] = 12

   
   )


   
   )


 )


 )


 )


 )


 )


 )


 )


 ---

 Error part:

 [faultstring] = [OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
 [faultcode] = soap:Server
 [detail] = stdClass Object
 (
 [ApiExceptionFault] = stdClass Object
 (
 [message] = [OperationAccessDenied.ACTION_NOT_PERMITTED 
 @ ]
 [ApplicationException.Type] = ApiException
 [errors] = SoapVar Object
 (
 [enc_type] = 0
 [enc_value] = stdClass Object
 (

Re: Adwords API Error: OperationAccessDenied.ACTION_NOT_PERMITTED @

2013-10-01 Thread Adeel Ahmed
Hello Anash

First of all thank you for replying on all of my posts. I am just replying 
here only now :)
Well, I am making GUI for a client and they didn't give full access to the 
email which I am using for manipulation of CpcBid and now they have given 
the access. 
After running script again and by giving CpcBid Amount in MicroAmount for 
example: 5

The REAL problem is it didn't change the bid from 0.12 to 0.05 

Response returned contained BiddingStrategySource: CAMPAIGN

[biddingStrategyConfiguration] = stdClass Object
(
[biddingStrategyType] = MANUAL_CPC
[biddingStrategySource] = CAMPAIGN
[biddingScheme] = stdClass Object
(
[BiddingScheme.Type] = 
ManualCpcBiddingScheme
[enhancedCpcEnabled] = 
)
[bids] = Array
(
[0] = stdClass Object
(
[Bids.Type] = CpcBid
[bid] = stdClass Object
(
[ComparableValue.Type] = 
Money
[microAmount] = 12
)

[cpcBidSource] = ADGROUP
)
[1] = stdClass Object
(
[Bids.Type] = CpaBid
[bid] = stdClass Object
(
[ComparableValue.Type] = 
Money
[microAmount] = 1
)
)
[2] = stdClass Object
(
[Bids.Type] = CpmBid
[bid] = stdClass Object
(
[ComparableValue.Type] = 
Money
[microAmount] = 25
)
[cpmBidSource] = ADGROUP
)
)
)




and after looking to docs of AdService it says 

This is a beta feature. This field is read only and should not be set. If 
this field is sent to the API, it will be ignored.

I need to change it from CAMPAIGN to ADGROUP but how? and will it effect 
cpm and cpa too?
Waiting for response.

Regards,
Adeel


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Adwords API Error: OperationAccessDenied.ACTION_NOT_PERMITTED @

2013-10-01 Thread Adeel Ahmed
Hi again,
I tested with Client Library and it updated CpcBid but my script response 
shows no change in CpcBid. For my script, I am not using Library (please 
note that). It is custom made PHP script and I am able to get all campaigns 
and adgroups data using SOAP requests.
As per nolibrary documentation (
https://code.google.com/p/google-api-adwords-php/wiki/NoClientLibrary) it 
says we have to convert some variables into SoapVar.

so for changing bid, here is some piece of code for your understand through 
which I need help.

//Store AdGroupID(s) and new Bids in variable
$changeBid=array();

//---for 1122334455, original bid is 0.12
$changeBid['1122334455']=0.05;

//---create operations array with operation of each AdGroup---
$operations=array();
foreach($changeBid as $id=$adBid)
{
// $id is ID of AdGroupID
//--- $adBid is bid amount in FLOAT 


//---create Money type variable with microAmount---
$bid1_soap=new SoapVar(NULL, NULL, 'Money',ADWORDS_API_NAMESPACE);
$bid1_soap-microAmount=($adBid * 100);

//---create CpcBid Type variable and set bid to previous SoapVar
$bid2_soap=new SoapVar(NULL, NULL, 'CpcBid',ADWORDS_API_NAMESPACE);
$bid2_soap-bid=$bid1_soap;

//---create BiddingStrategyConfiguration variable and set bids as an 
array---
$BiddingStrategyConfiguration=new SoapVar(NULL, NULL, 
'BiddingStrategyConfiguration',ADWORDS_API_NAMESPACE);
$BiddingStrategyConfiguration-bids=array($bid2_soap);


//---add operation to operations array for this adgroup
$operations[]=array(operator=SET,operand=array(id=$id,biddingStrategyConfiguration=array(bids=array($bid2_soap;

}


//---create Request array

$request = array(
mutate = array(
operations = $operations
)
);


After doing *print_r($request)* 

Array
(
[mutate] = Array
(
[operations] = Array
(
[0] = Array
(
[operator] = SET
[operand] = Array
(
[id] = 1122334455
[biddingStrategyConfiguration] = Array
(
[bids] = Array
(
[0] = SoapVar Object
(
[enc_type] = 98
[enc_stype] = 
CpcBid
[enc_ns] = 
https://adwords.google.com/api/adwords/cm/v201306
[bid] = SoapVar 
Object
(
[enc_type] 
= 98
[enc_stype] 
= Money
[enc_ns] = 
https://adwords.google.com/api/adwords/cm/v201306

[microAmount] = 5
)

)

)

)

)

)

)

)

)




Output result show no change ...


 [bids] = Array
 (
 [0] = stdClass Object
 (
 [Bids.Type] = CpcBid
 [bid] = stdClass Object
 (
 [ComparableValue.Type] = Money
 [microAmount] = 12
 )

 [cpcBidSource] = ADGROUP
 )

 [1] = stdClass Object
 (
 [Bids.Type] = CpaBid
 [bid] = stdClass Object
 (
 [ComparableValue.Type] = Money
 [microAmount] = 1
 )

 )

 [2] = stdClass Object
 (
 [Bids.Type] = CpmBid
 [bid] = stdClass Object
 (
 [ComparableValue.Type] = Money
 [microAmount] = 25
 )

 [cpmBidSource] = ADGROUP
 )

 )


Please let me know what is wrong. I am not using Client Library because I 
started this work without library and already done with work except changing 
bids.

NEED HELP :(

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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post 

Re: Adwords API error

2013-03-26 Thread Kevin Winter (AdWords API Team)
Hi,
  Please contact the token review team at adwordsapi-tok...@google.com if 
you haven't already.

- Kevin Winter
AdWords API Team

On Wednesday, March 20, 2013 9:29:21 AM UTC-4, Developer wrote:

 Hi, 

 Since recently we're getting this error 

 2013-03-18 20:04:41656 google_awords_api 
 [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null'] 

 We're using Adwords API for more than 5 years and everything was fine 
 until March 18th. 

 The posts by Kevin Winter (AdWords API Team) in Google groups for API 
 discussion state that there was some issue on your side. Can someone from 
 Google Team please advise? 

 Our Customer ID is 373-305-1758 

 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: Google Adwords Api Error [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'']

2012-11-18 Thread Takeshi Hagikura
Hello Saurav,

Currently, we introduced how to use test environments as mentioned in this 
blog post.
http://googleadsdeveloper.blogspot.jp/2012/11/introducing-test-accounts.html

Please follow the steps in that blog.
If you have further questions, feel free to ask us again.

Also this forum can be seen anyone please avoid exposing your login and 
password here.

Best,
- Takeshi, AdWords API Team

2012年11月17日土曜日 18時30分19秒 UTC+9 Saurav Sharma:

 Hello Team,

 I am using the Google adwords api to get the Clicks and Impressions count 
 and I am facing the Error QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:' 
 during the get
 the clients using Adwords soap service  AdWordsService.v201209


  CustomerService service =
 
 (CustomerService)user.GetService(AdWordsService.v201209.CustomerService);

 Customer page = service.get();   =
 ExecptionQuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:


 during this get function I am getting the error 
 QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'

 and in this i am passing the parameters that are required ,Auth Token, 
 Developer token, userAgent=Webpresence

 And my account is sandbox account for google adwords account.Please help 
 me how to resolve this problem..


 Login: moh...@smartdatainc.net javascript:

 Password:mohitr2012



 Thanks,
 Saurav Pandora



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

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





Google Adwords Api Error [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'']

2012-11-17 Thread Saurav Sharma
Hello Team,

I am using the Google adwords api to get the Clicks and Impressions count 
and I am facing the Error QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:' 
during the get
the clients using Adwords soap service  AdWordsService.v201209


 CustomerService service =

(CustomerService)user.GetService(AdWordsService.v201209.CustomerService);

Customer page = service.get();   =
ExecptionQuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:


during this get function I am getting the error 
QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'

and in this i am passing the parameters that are required ,Auth Token, 
Developer token, userAgent=Webpresence

And my account is sandbox account for google adwords account.Please help me 
how to resolve this problem..


Login: moh...@smartdatainc.net

Password:mohitr2012



Thanks,
Saurav Pandora

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

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





Re: Google's AdWords API Error

2012-03-29 Thread Anash P. Oommen
Hi Konstantin,

AdWords API has xml validation turned on, and order of elements matter. It 
should be like this in your xml:

authToken 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;/authToken
developerToken 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;/developerToken
clientCustomerId 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;/clientCustomerId
userAgent 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;/userAgent

Here's a SOAP xml I captured from the .NET library for AddCampaign code 
example.

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/v201109;
authToken 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;/authToken
developerToken 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;/developerToken
clientCustomerId 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;/clientCustomerId
userAgent 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;*/userAgent
/RequestHeader
/soap:Header
soap:Body
mutate xmlns=https://adwords.google.com/api/adwords/cm/v201109;
operations
operatorADD/operator
operand
nameInterplanetary Cruise #2012-3-29 16-53-12.725639/name
statusPAUSED/status
startDate20120330/startDate
endDate20130329/endDate
budget
periodDAILY/period
amount
microAmount5000/microAmount
/amount
deliveryMethodSTANDARD/deliveryMethod
/budget
biddingStrategy xsi:type=ManualCPC/
adServingOptimizationStatusROTATE/adServingOptimizationStatus
frequencyCap
impressions5/impressions
timeUnitDAY/timeUnit
levelADGROUP/level
/frequencyCap
networkSetting
targetGoogleSearchtrue/targetGoogleSearch
targetSearchNetworktrue/targetSearchNetwork
targetContentNetworkfalse/targetContentNetwork
targetContentContextualfalse/targetContentContextual
targetPartnerSearchNetworkfalse/targetPartnerSearchNetwork
/networkSetting
/operand
/operations
/mutate
/soap:Body
/soap:Envelope

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, 29 March 2012 16:48:08 UTC+5:30, Konstantin Khatkovskiy wrote:

 I am trying to access the Google AdWords API using the soap protocol and 
 curl. I get information from 
 http://code.google.com/intl/en-EN/apis/adwords/docs/
 ang get the authtoken. Then i put hello.xml 

 ?xml version=1.0 encoding=UTF-8?
 soap:Envelope
   xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   xmlns=https://adwords.google.com/api/adwords/cm/v201109;
   soap:Header
 RequestHeader
   authTokenmy_token/authToken
   userAgenthhh/userAgent
   developerTokenmylo...@gmail.com++USD/developerToken
   clientEmailclient_1+mylo...@gmail.com/clientEmail
 /RequestHeader
   /soap:Header
   soap:Body
 mutate
   operations
 operatorADD/operator

 operand
   nameHello World! with cURL/name
   budget
 periodDAILY/period
 amount
   microAmount10/microAmount
 /amount
 deliveryMethodSTANDARD/deliveryMethod
   /budget
   biddingStrategy
 xmlns:cm=https://adwords.google.com/api/adwords/cm/v201109;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:type=cm:ManualCPC/
 /operand
   /operations
 /mutate
   /soap:Body
 /soap:Envelope



 then i send this file (curl --header Content-Type: application/soap+xml 
 --data @hello.xml  
 https://adwords-sandbox.google.com/api/adwords/cm/v201109/CampaignService-k).
 its answer:

 soap:Envelope xmlns:soap=*http://schemas.xmlsoap.org/soap/envelope/*;
  - #3712401.517.1333019888244.JavaMail.geo-discussion-forums@vbtf26_ 
 soap:Body
  - #3712401.517.1333019888244.JavaMail.geo-discussion-forums@vbtf26_ 
 soap:Fault
faultcodesoap:Server/faultcode 
faultstringUnmarshalling Error: unexpected element (uri:
 https://adwords.google.com/api/adwords/cm/v201109;, local:clientEmail). 
 Expected elements are {
 https://adwords.google.com/api/adwords/cm/v201109}partialFailure,{
 https://adwords.google.com/api/adwords/cm/v201109}userAgent,{
 https://adwords.google.com/api/adwords/cm/v201109}validateOnly,{
 https://adwords.google.com/api/adwords/cm/v201109}developerToken,{
 https://adwords.google.com/api/adwords/cm/v201109}clientCustomerId,{
 https://adwords.google.com/api/adwords/cm/v201109}authToken/faultstring 
   /soap:Fault
   /soap:Body
   /soap:Envelope

 where did I go wrong?
 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 

AdWords API Error handling in adwords4r?

2010-04-15 Thread adwo...@cargurus.com
Any idea when error handling will be implemented in v2009 of
adwords4r? Right now it always returns a googleInternalError object.
It does not cast errors into the correct error classes. I have talked
to other developers who use the client and their workaround is to
parse the returned faultstring and do the best they can with it. Not
exactly the best scenario. Also it makes policy violations difficult
to handle. Since v13 is going away next week, I have no choice but to
switch, but it would be nice to something other than dump out an error
string when we switch our production code over. Is there a fix in the
works, or should I plan on implementing my own error classes?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using remove me as the subject.


AdWords API Error when creating new keyword: CONCRETE_TYPE_REQUIRED

2010-04-07 Thread Reed
Moving along in the V13V2009 process, the following SOAP request
gives the above error, but I cannot figure out which element is
causing the problem.  Have tried variations of just about everything,
always get that error.  Must be something simple, but I don't see it.
thanks!
-reed

Here is the SOAP request:

?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
envelope/ xmlns:v20=https://adwords.google.com/api/adwords/cm/
v200909 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
soapenv:Header
v20:RequestHeader
v20:authTokenxxx
/v20:authToken
v20:developerTokenxxx
/v20:developerToken
v20:userAgentV2009 Create Keyword
/v20:userAgent
/v20:RequestHeader
/soapenv:Header
soapenv:Body
v20:mutate
v20:operations
v20:operatorADD
/v20:operator
v20:operand xsi:type=BiddableAdGroupCriterion
v20:adGroupId1245051285
/v20:adGroupId
v20:criterion xsi:type=v20:Keyword
v20:textxyzzy
/v20:text
v20:matchTypeEXACT
/v20:matchType
/v20:criterion
v20:destinationUrlhttp://www.36bits.com
/v20:destinationUrl
v20:bids xsi:type=ManualCPCAdGroupCriterionBids
v20:maxCpc
v20:amount
v20:microAmount100
/v20:microAmount
/v20:amount
/v20:maxCpc
/v20:bids
v20:userStatusPAUSED
/v20:userStatus
/v20:operand
/v20:operations
/v20:mutate
/soapenv:Body
/soapenv:Envelope

Here is the response:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:HeaderResponseHeader xmlns=https://
adwords.google.com/api/adwords/cm/
v200909requestId4e15f082af21b373d724e5f4dab3883d/
requestIdoperations1/operationsresponseTime1236/
responseTimeunits15/units/ResponseHeader/
soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstring[AdGroupCriterionError.CONCRETE_TYPE_REQUIRED @
operations[0].operand]/faultstringdetailApiExceptionFault
xmlns=https://adwords.google.com/api/adwords/cm/
v200909message[AdGroupCriterionError.CONCRETE_TYPE_REQUIRED @
operations[0].operand]/
messageApplicationException.TypeApiException/
ApplicationException.Typeerrors xmlns:xsi=http://www.w3.org/2001/
XMLSchema-instance
xsi:type=AdGroupCriterionErrorfieldPathoperations[0].operand/
fieldPathtrigger/triggerApiError.TypeAdGroupCriterionError/
ApiError.TypereasonCONCRETE_TYPE_REQUIRED/reason/errors/
ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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


AdWords API Error Setting Campaign Level CPC's using Campaign: biddingTransition

2010-04-05 Thread andrei
Hi Adwords Forum,

I'd like to set the keywordMaxCPC for all adgroups under a campaign to
a single value.
According to the specs, this can be accomplished  by setting the
explicitAdGroupBids field:

http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.ConversionOptimizerBiddingTransition.html

However, my XML request gives me a type error :

Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'v20:biddingTransition'. One of '{https://
adwords.google.com/api/adwords/cm/v200909:BiddingTransition.Type,
https://adwords.google.com/api/adwords/cm/v200909:useSavedBids}' is
expected


The error might be due to the new tighter validation in sandbox, but I
can't figure  out what could be causing my problem. I am passing a
type ConversionOptimizerBiddingTransition for the biddingTransition
field.   I appreciate any suggestions/ help/xml samples for setting  a
biddingTransition!


Request:
==

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
envelope/ xmlns:v20=https://adwords.google.com/api/adwords/cm/
v200909
   soapenv:Header
  v20:RequestHeader
 !--Optional:--
 v20:applicationToken/
 !--Optional:--
 v20:authTokenxx/v20:authToken
 !--Optional:--
 v20:clientEmail/
 v20:clientCustomerId6869045530/v20:clientCustomerId
 !--Optional:--
 v20:developerTokenxx/v20:developerToken
 !--Optional:--
 v20:userAgent/v20:userAgent
 !--Optional:--
  /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:mutate xmlns:v20=https://adwords.google.com/api/adwords/cm/
v200909
 !--Zero or more repetitions:--
 v20:operations xmlns:v20=https://adwords.google.com/api/
adwords/cm/v200909 
!--Optional:--


v20:biddingTransition
xsi:type=v20:ConversionOptimizerBiddingTransition xmlns:xsi=http://
www.w3.org/2001/XMLSchema-instance  

v20:targetBiddingStrategy xsi:type=v20:ManualCPC
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
/v20:targetBiddingStrategy

v20:explicitAdGroupBids xsi:type=v20:ManualCPCAdGroupBids
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
v20:keywordMaxCpc
v20:amount

v20:microAmount24/v20:microAmount
/v20:amount
/v20:keywordMaxCpc
/v20:explicitAdGroupBids

v20:biddingTransition

  v20:operatorSET/v20:operator
  v20:operand
   !--Optional:--
v20:id152064/v20:id
   !--Optional:--

   !--Optional:--
   v20:statusACTIVE/v20:status



   !--Optional:--
   v20:endDate20101231/v20:endDate
   !--Optional:--
   v20:budget
  !--Optional:--
  v20:periodDAILY/v20:period
  !--Optional:--
  v20:amount
 !--Optional:--
 v20:ComparableValue.TypeMoney/
v20:ComparableValue.Type
 !--Optional:--
 v20:microAmount3/v20:microAmount
  /v20:amount
  !--Optional:--
  v20:deliveryMethodSTANDARD/v20:deliveryMethod
   /v20:budget
   !--Optional:--

   !--Optional:--
   v20:autoKeywordMatchingStatusOPT_IN/
v20:autoKeywordMatchingStatus
   !--Optional:--

   !--Optional:--

   !--Optional:--
   v20:frequencyCap
  !--Optional:--
  v20:impressions20/v20:impressions
  !--Optional:--
  v20:timeUnitDAY/v20:timeUnit
  !--Optional:--
  v20:levelADGROUP/v20:level
   /v20:frequencyCap
/v20:operand
 /v20:operations
  /v20:mutate
   /soapenv:Body
/soapenv:Envelope


Reply:


soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Body
  soap:Fault
 faultcodesoap:Server/faultcode
 faultstringUnmarshalling Error: cvc-complex-type.2.4.a:
Invalid content was found starting with element
'v20:biddingTransition'. One of '{https://adwords.google.com/api/
adwords/cm/v200909:BiddingTransition.Type, https://
adwords.google.com/api/adwords/cm/v200909:useSavedBids}' is
expected./faultstring
  /soap:Fault
   /soap:Body
/soap:Envelope

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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 

AdWords API Error when trying to use sandbox

2010-03-31 Thread Roman
Hi,

I am using Perl API v1.3.2.
When setting the adwords.properties file to use sandbox:

alternateUrl=https://adwords-sandbox.google.com
(along with other settings)

and running the API-supplied sample script display-stats.pl I get the
following error:

Error deserializing message: Unmarshalling Error: UndeclaredPrefix:
Cannot resolve 'xs:anyType' as a QName: the prefix 'xs' is not
declared.
.
Message was:
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstringUnmarshalling Error: UndeclaredPrefix: Cannot
resolve 'xs:anyType' as a QName: the prefix 'xs' is not declared. /
faultstring/soap:Fault/soap:Body/soap:Envelope at ../lib/Google/
AdWords/Deserializer.pm line 65.

When using the real environment the script works.
Same happens with my own scripts (I am porting v13 to v2009)
Please advise, as the sunset is approaching.

R.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using remove me as the subject.


AdWords API Error : expected `SOAP-ENV:Envelope', gto `wsdl:definitions'

2010-03-18 Thread dsay
I get the above error when I try to obtain the keywords using
TargetingIdeaService. Heres the stack trace.

*** Outgoing HTTP headers
**
POST /api/adwords/o/v200909/TargetingIdeaService?wsdl HTTP/1.0
Host: adwords-sandbox.google.com
User-agent: SOAPpy 0.12.0 (http://pywebsvcs.sf.net)
Content-type: text/xml; charset=UTF-8
Content-length: 2187
SOAPAction: get

*** Outgoing SOAP
**
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope
  SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:xsd3=http://www.w3.org/2001/XMLSchema;
  xmlns:xsi3=http://www.w3.org/2001/XMLSchema-instance;

SOAP-ENV:Header
authToken xsi3:type=xsd3:stringTHE TOKEN HERE/authToken
developerToken xsi3:type=xsd3:stringTHE TOKEN HERE/
developerToken
clientCustomerId xsi3:type=xsd3:stringEMAIL ID HERE/
clientCustomerId
applicationToken xsi3:type=xsd3:stringTHE TOKEN HERE/
applicationToken
useragent xsi3:type=xsd3:stringUA HERE/useragent
/SOAP-ENV:Header
SOAP-ENV:Body
ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/cm/
v200909
xsd3:v1
TargetingIdeaSelector
searchParameters SOAP-ENC:arrayType=ns2:SOAPStruct[3]
xsi3:type=SOAP-ENC:Array xmlns:ns2=http://soapinterop.org/xsd;
item
keywords SOAP-ENC:arrayType=ns2:SOAPStruct[1] xsi3:type=SOAP-
ENC:Array
item
texthouse/text
matchTypeBROAD/matchType
/item
/keywords
type xsi3:type=xsd3:stringRelatedToKeywordSearchParameter/type
/item
item
type xsi3:type=xsd3:stringLanguageTargetSearchParameter/type
languageTargets SOAP-ENC:arrayType=ns2:SOAPStruct[1]
xsi3:type=SOAP-ENC:Array
item
languageCode xsi3:type=xsd3:stringen/languageCode
/item
/languageTargets
/item
item
type xsi3:type=xsd3:stringCountryTargetSearchParameter/type
countryTargets SOAP-ENC:arrayType=ns2:SOAPStruct[1] xsi3:type=SOAP-
ENC:Array
item
countryCode xsi3:type=xsd3:stringUS/countryCode
/item
/countryTargets
/item
/searchParameters
ideaTypeKEYWORD/ideaType
paging
startIndex0/startIndex
numberResults100/numberResults
/paging
requestTypeIDEAS/requestType
/TargetingIdeaSelector
/xsd3:v1
/ns1:get
/SOAP-ENV:Body
/SOAP-ENV:Envelope

code= 200
msg= OK
headers= Content-Type: text/xml

Date: Thu, 18 Mar 2010 18:33:23 GMT

Expires: Thu, 18 Mar 2010 18:33:23 GMT

Cache-Control: private, max-age=0

X-Content-Type-Options: nosniff

X-Frame-Options: SAMEORIGIN

Server: GSE

X-XSS-Protection: 0


content-type= text/xml
data= ?xml version=1.0 encoding=UTF-8?
!-- Generated file, do not edit --
!-- Copyright 2008 Google Inc. All Rights Reserved --
wsdl:definitions
  targetNamespace=https://adwords.google.com/api/adwords/o/v200909;
  xmlns:tns=https://adwords.google.com/api/adwords/o/v200909;
  xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
  xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  wsdl:types

THEN COMPLETE WSDL DEFINTION FILE FOLLOWED BY

  /wsdl:binding
  wsdl:service name=TargetingIdeaService
wsdl:port binding=tns:TargetingIdeaServiceSoapBinding
name=TargetingIdeaServiceInterfacePort
  wsdlsoap:address location=http://0.optimization-webapi-sandbox-
canary.optimization-webapi.ads-optimization-
frontend.cg.borg.google.com.:4024/api/adwords/o/v200909/
TargetingIdeaService/
/wsdl:port
  /wsdl:service
/wsdl:definitions

[class 'SOAPpy.Errors.Error', Error : expected `SOAP-ENV:Envelope',
gto `wsdl:definitions', traceback object at 0x945916c]
class 'SOAPpy.Errors.Error'
Error : expected `SOAP-ENV:Envelope', gto `wsdl:definitions'
traceback object at 0x945916c
Traceback (most recent call last):
  File testSample.py, line 85, in module
page = soapProxy.get(in0)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Client.py, line 471, in __call__
return self.__r_call(*args, **kw)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Client.py, line 493, in __r_call
self.__hd, self.__ma)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Client.py, line 396, in __call
p, attrs = parseSOAPRPC(r, attrs = 1)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Parser.py, line 1049, in parseSOAPRPC
t = _parseSOAP(xml_str, rules = rules)
  File /media/Work/working/freelance/odesk/ranksense/SOAPpy/
Parser.py, line 1029, in _parseSOAP
parser.parse(inpsrc)
  File /usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux-
i686.egg/_xmlplus/sax/expatreader.py, line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
  File /usr/local/lib/python2.6/dist-packages/PyXML-0.8.4-py2.6-linux-
i686.egg/_xmlplus/sax/xmlreader.py, line 123, in parse
self.feed(buffer)
  File 

AdWords API Error while trying to get Api usage information

2010-02-14 Thread RAGHAVENDRA SUDHA
Hi,
 i am getting an error for which i am not able to understand.
 For some reason when i am trying to connect to API, for infoservice i am
receiving the following error.

--
ERROR Occured while using -- SOAP UTIL
*   soapenv:Body
  soapenv:Fault
 faultcodesoapenv:Server.userException/faultcode
 faultstringOne or more input elements failed
validation./faultstring
 detail
ns1:fault xmlns:ns1=https://adwords.google.com/api/adwords/v13

   ns1:code122/ns1:code
   ns1:messageOne or more input elements failed
validation./ns1:message
   ns1:errors
  ns1:index0/ns1:index
  ns1:fieldclientEmail/ns1:field
  ns1:triggerxx...@xyz.com/ns1:trigger
  ns1:code4/ns1:code
  ns1:isExemptablefalse/ns1:isExemptable
  ns1:detailEither this object does not exist, or this
user does not have permission to access it./ns1:detail
   /ns1:errors
/ns1:fault
 /detail
  /soapenv:Fault
   /soapenv:Body
/soapenv:Envelope
*
---
THROUGH MY JAVA APP:
faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
   ns1:code122/ns1:code
   ns1:messageOne or more input elements failed
validation./ns1:message

  ns1:errors
ns1:index0/ns1:index

ns1:fieldclientEmail/ns1:field

ns1:triggerxx...@xyz.com/ns1:trigger

ns1:code4/ns1:code

ns1:isExemptablefalse/ns1:isExemptable

ns1:detailEither this object does not exist, or this user does not
have permission to access it./ns1:detail

 /ns1:errors

One or more input elements failed validation.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:104)
at
org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:90)
at
com.google.api.adwords.v13.ApiException.getDeserializer(ApiException.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at

AdWords API Error response from CampaignTargetService (200909)

2010-02-10 Thread Athos
I get the following error when trying to get campaignTargets using the
200909 version of CampaignTargetService through the Java Client
Library (v6.4.0):

?xml version=1.0 encoding=UTF-8?soap:Envelope
xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:HeaderResponseHeader xmlns=https://
adwords.google.com/api/adwords/cm/
v200909requestId91eab249e2fd5f5320ed042bc0303c30/
requestIdoperations770/operationsresponseTime17625/
responseTimeunits770/units/ResponseHeader/
soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstringCannot construct an instance of
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.TargetList
because it is abstract.  You are probably missing an @Uses annotation
while invoking public abstract
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetPage
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetSelector)
throws
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.ApiException_Exception
with params
[com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.campaigntargetselec...@9abd99]./
faultstring/soap:Fault/soap:Body/soap:Envelope

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



AdWords API Error - Not agreed to latest AdWords Api terms and conditions

2010-02-04 Thread Pedro
I'm trying to develop a small app using the API but when I try to run
it I always come across the following error:
Not agreed to latest AdWords Api terms and conditions.

I've logged in with my MCC account to check if there was any alert on
the new Terms  Conditions but there's nothing. I've also checked the
same on all the clients and I see now option to agree with the TS.

Has anybody had the same problem and was able to solve it? I'd
appreciate any insight on the problem.

Thanks in advance

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



AdWords API Error XML_STREAM_EXC while get campaigns

2010-02-02 Thread Dave L
Hi, I received following error when try to get campaigns:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Client/
faultcodefaultstringXML_STREAM_EXC/faultstring/soap:Fault/
soap:Body/soap:Envelope

Here is my request string:

---
?xml version=1.0 encoding=UTF-8?SOAP-ENV:Envelope xmlns:SOAP-
ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://
www.w3.org/2001/XMLSchema xmlns:xsi=http://www.w3.org/2001/XMLSchema-
instance xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
authTokenDQAAAIgAAACGxds-vcXArSDyIQLCtp2BOPPcnSDU7S78Zg6qt74IjV/
authToken
useragentxx/useragent
developerTokenxxx/developerToken
applicationTokenxxx/applicationToken
/RequestHeader
/soap:Header
SOAP-ENV:Body
get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
selector/
/get
/SOAP-ENV:Body
/SOAP-ENV:Envelope
-

Could you please let me know what I am doing wrong? and what does
XML_STREAM_EXC mean?

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



AdWords API Error for XML_STREAM_EXC

2010-02-02 Thread Dave L
Hi,

I received following error when try to get campaigns:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/
envelope/soap:Bodysoap:Faultfaultcodesoap:Client/
faultcodefaultstringXML_STREAM_EXC/faultstring/soap:Fault/
soap:Body/soap:Envelope

Here is my Request String:


?xml version=1.0 encoding=UTF-8?SOAP-ENV:Envelope xmlns:SOAP-
ENV=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://
www.w3.org/2001/XMLSchema xmlns:xsi=http://www.w3.org/2001/XMLSchema-
instance xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
soap:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/
v200909
authTokenDQAAAIoAAACCylUSRlkTgSFuhCx6zSAwWhGIt3rBs_kOMIOpvkD8S_VARjB-
cMqUHvmdk7lpCcZY23rgNaW07ckXPsRqnIl2RQj863nyClJqm5YnuOvjImYEXM6htGy11Vr/
authToken
userAgentcc/userAgent
developerToken/developerToken
/RequestHeader
/soap:Header
SOAP-ENV:Body
get xmlns=https://adwords.google.com/api/adwords/cm/v200909;
selector/
/get
/SOAP-ENV:Body
/SOAP-ENV:Envelope
==

I cannot figure out what's wrong. Can any one help to let me know what
I am doing wrong.

Thanks.

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



AdWords API error : SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED

2010-01-04 Thread phpoo
Because returns this error:

[faultstring] = SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED @
[faultcode] = soap:Server [detail] = stdClass Object
( [ApiExceptionFault] = stdClass Object ( [message] =
SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED @
[ApplicationException.Type] = ApiException [errors] = SoapVar Object
( [enc_type] = 0 [enc_value] = SizeLimitError Object ( [reason] =
RESPONSE_SIZE_LIMIT_EXCEEDED [fieldPath] = [trigger] =
[ApiErrorType] = SizeLimitError [_parameterMap:private] = Array
( [ApiError.Type] = ApiErrorType ) ) [enc_stype] = SizeLimitError
[enc_ns] = https://adwords.google.com/api/adwords/cm/v200909 ) ) ) )
?

Thanks
P.W

--

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




AdWords API error 500 when calling getAllCriteria

2009-12-11 Thread Melissa
We're currently using the v13 of the API and running a synchronization
process on a campaign.  For each adgroup of the campaigns we're
calling getAllCriteria.  Everything works fine (as it always does)
except for a particular adgroup.  When we call the function on this
adgroup we're getting a (500)Internal Server Error.  We waited a few
days to see if the problem would go away on it's own (as they always
do), but no luck this time, we consistently get the Internal Server
Error.  The same call works normally for all other adgroups (and for
all other adgroups of other campaigns as well).  The adgroup happens
to be deleted, but so are some of the other adgroups of the campaign.

Where do we go from here? What else should I post to get some help.

--

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




AdWords API error : Not agreed to latest AdWords terms and conditions

2009-12-03 Thread Simon FEBVRE
Hi,

I am getting all my client information and at the 153rd client I have
this error :
#SOAP::Mapping::Object:0x1859d40: Not agreed to latest AdWords terms
and conditions. (SOAP::FaultError)

I am using ruby and sopa4r


Thanks
Simon

--

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




AdWords API error in php sample code ()

2009-11-30 Thread Bertina
hi
there is and error in php sample code AuthToken.php.
when it try to connect to https://www.google.com/accounts/ClientLogin
it returns a certificate error
you  must change a small part of the AuthToken.php and replcae it with
the following code:
line 47:
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_vars);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); // you must add this
line

--

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




AdWords API Error: Use XML attributes to specify a unique XML name and/or namespace for the type

2009-11-25 Thread Susan
 I have a issue when I am trying to consume theV2009 AdwordCampaign
Service API in my dot NET application.
 I am using production URLs of campaign service in my Application
 Production:https://adwords.google.com/api/adwords/cm/v200906/
CampaignService?wsdl
 I  have added the web reference to my application and named as
GoogleCampaignServiceV2009
 and tried to create object for the campaign service as below

GoogleCampaignServiceV2009.CampaignService CampService = new
GoogleCampaignServiceV2009.CampaignService();

I am getting an error which i am mentioning below while trying the
same

Types 'System.Web.Services.Protocols.SoapHeader' and
'GoogleCampaignServiceV2009.SoapHeader' both use the XML type name,
'SoapHeader', from namespace 'https://adwords.google.com/api/adwords/
cm/v200909'. Use XML attributes to specify a unique XML name and/or
namespace for the type.

Please look  into it and let me know if I am missing anything.

Thanks and regards,
Susan

--

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




AdWords API Error reading reports using PHP APIlity 1.13.1 library

2009-11-09 Thread v
My APIlity 1.13.1 PHP scripts were working fine last month, and now
when I try to read the Content Network Report, it gives me this error:

Warning: APIlity PHP library = Warning: Cache file for:
https://adwords.google.com/api/adwords/v13/ReportService?wsdl has an
invalid file size in /usr/www/virtual/vge/lib/WsdlCache.php on line
156

Here is the PHP script I am using to get the report:

$apilityUser = new APIlityUser();
$apilityUser-setClientEmail($client_email);
get_content_network_report();
function get_content_network_report() {
   $res=getContentPlacementXmlReport(
  Content Network Report,
  2009-01-01,
  2019-12-31,
  array
(Campaign,AdGroup,PlacementDomain,SiteTargeted,Clicks,Cost,Conversions),
  array(AdGroup,Domain,Summary),
  array(),
  array(),
  array(),
  array(),
  array(),
  array(),
  ContentOnly,
  ,
  false,
  array(),
  true, # includeZeroImpression
  30,
  false,
  false
   );
   print $res;
}

When I change the Sleep Time from 30 to 300, then it gives me a 30
millisecond timeout error, with only 276 bytes received. What could be
wrong?

Victor

--

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




AdWords API Error: function Split() is deprecated in PHP api

2009-10-31 Thread rwhite35
Hello,

I'm migrating from APIlity v13 to v200909 and tried to run examples/
v200909/GetAllCampaignsExample.php with mixed results.  It seems that
the WSDL is returning an authToken, however, non of my campaign info
returns.  I'm making the request on our production account and not the
sandbox either. Also, I get two errors:

First error: Deprecated: Function split() is deprecated in /path/to/
adwords/src/Google/Api/Ads/Common/Util/AuthToken.php on line 70

Second error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://
adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl' :
Extra content at the end of the document

The following (in addition to functions and methods) is returned:
...
[2] = AdWordsUser Object
(
[email:AdWordsUser:private] =
myem...@mydomain.com
[password:AdWordsUser:private] =
1234567890
 
[requestHeaderElements:AdsUser:private] = Array
(
[userAgent] = AdWords API
PHP Client LIbrary - v1.1.0 - 123-123-1234
[clientEmail] =
em...@domain.com
[developerToken] =
112233445566778899
[applicationToken] =
1234567890
[authToken] = 1234567890-
long string of alphnumerics
)

[defaultServer:AdsUser:private] =
https://adwords.google.com
[defaultVersion:AdsUser:private]
= v200909
[logsDirectory:AdsUser:private]
= /path/to/adwords/logs
)

[3] = CampaignService
)

)
...

My development server is a personal webserver running Mac OSX 10.6,
Apache 2, PHP 5.3 with SOAP enabled.

Any thoughts would be appreciated.  Thanks in advance!
rwhite35

--

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




AdWords API Error: One or more input elements failed validation.

2009-10-29 Thread icv_adwords

Hi,

I got that message when try to import proximityTargets to one adword
account. Please see my xml post string:

--
  ?xml version=1.0 encoding=utf-8 ?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:Header
  applicationToken xmlns=https://adwords.google.com/api/adwords/
v13xxx/applicationToken
  clientEmail xmlns=https://adwords.google.com/api/adwords/v13;xxx/
clientEmail
  developerToken xmlns=https://adwords.google.com/api/adwords/
v13xxx/developerToken
  email xmlns=https://adwords.google.com/api/adwords/v13;xxx/
email
  password xmlns=https://adwords.google.com/api/adwords/v13;x/
password
  useragent xmlns=https://adwords.google.com/api/adwords/v13;AWAPI
DotNetLib 4.1.0 -/useragent
  /soap:Header
soap:Body
updateCampaignList xmlns=https://adwords.google.com/api/adwords/
v13
campaigns
  budgetAmount8400/budgetAmount
budgetOptimizerSettings
  enabledfalse/enabled
  /budgetOptimizerSettings
  budgetPeriodDaily/budgetPeriod
  contentTargetingAllPlacements/contentTargeting
conversionOptimizerSettings
  enabledfalse/enabled
  /conversionOptimizerSettings
  endDay2037-12-30/endDay
geoTargeting
  cityTargets /
  countryTargets /
  metroTargets /
proximityTargets
circles
  latitudeMicroDegrees33716650/latitudeMicroDegrees
  longitudeMicroDegrees-117944594/longitudeMicroDegrees
  radiusMeters14484/radiusMeters
  /circles
  /proximityTargets
  regionTargets /
  targetAllfalse/targetAll
  /geoTargeting
  id42046690/id
languageTargeting
  languagesen/languages
  /languageTargeting
  nameMessaging Testing/name
networkTargeting
  networkTypesSearchNetwork/networkTypes
  networkTypesContentNetwork/networkTypes
  /networkTargeting
schedule
  statusDisabled/status
  /schedule
  startDay2009-05-28/startDay
  statusPaused/status
  /campaigns
  /updateCampaignList
  /soap:Body
  /soap:Envelope
-

I got that message on production site but everything is ok on
developer site. That is strange, right?

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



AdWords API Error EstimateKeyword.java using sandbox

2009-10-28 Thread i...@larseggert.de

I Just tried the example from EstimateKeyword.java, set the
properties:
email,passwort,clientEmail,useragent,developerToken and
applicationToken
But still get an error. For namespace i choose:
  private static final String namespace =
  https://sandbox.google.com/api/adwords/v13;;

I am using the current adwords-api 6.0.0.

The error is:

log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
 faultSubcode:
 faultString: The request did not contain a header named 'email'.
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
 ns1:code1/ns1:code
 ns1:messageThe request did not contain a header named 'email'./
ns1:message


The request did not contain a header named 'email'.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis.encoding.ser.BeanDeserializer.init
(BeanDeserializer.java:104)
at org.apache.axis.encoding.ser.BeanDeserializer.init
(BeanDeserializer.java:90)
at com.google.api.adwords.v13.ApiException.getDeserializer
(ApiException.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized
(BaseDeserializerFactory.java:154)
at
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs
(BaseDeserializerFactory.java:84)
at org.apache.axis.encoding.DeserializationContext.getDeserializer
(DeserializationContext.java:464)
at
org.apache.axis.encoding.DeserializationContext.getDeserializerForType
(DeserializationContext.java:547)
at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild
(SOAPFaultDetailsBuilder.java:157)
at org.apache.axis.encoding.DeserializationContext.startElement
(DeserializationContext.java:1035)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement
(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse
(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke
(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.google.api.adwords.v13.TrafficEstimatorServiceSoapBindingStub.estimateKeywordList
(TrafficEstimatorServiceSoapBindingStub.java:563)
at EstimateKeyword.main(EstimateKeyword.java:52)

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



AdWords API Error accessing account with different API tokens after Saturday maintenance

2009-08-10 Thread tozor

After the Adwords maintenance on Saturday, I started noticing an error
on any API operation to a couple of accounts that our application
manages:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
 faultSubcode:
 faultString: The specified account is inactive.
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
 ns1:code119/ns1:code
 ns1:messageThe specified account is inactive./ns1:message


Our application manages multiple Adwords accounts for several
clients.  The accounts I am getting an error on are a specific case
where we have been using the clients API and developer tokens.  We use
our own API and developer tokens for all other accounts.  However this
client had their own API and developer tokens and told us we could use
these tokens when managing their accounts (which was attractive to us
because it saves us money).  So even though the client's API and
developer tokens were not issued to our MCC we have been using these
(for the past several months) through our MCC login for API
operations.  After the maintenance on Saturday we get the above error
when we try to use the clients API and developer tokens.  If we use
our own tokens we can access these same accounts without error.  The
error itself is kind of misleading because these accounts are
definitely not inactive.

So my question is whether or not this is a bug, or whether we should
have been able to use a different set of tokens through our MCC login
in the first place.

Thanks in advance.

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



AdWords API Error uploading animated GIF

2009-08-07 Thread DavidR

I'm trying to upload animated GIFs as an image ad using a PERL script.
The script works fine when I upload static gifs and jpegs but fails on
animated gifs. The message I receive is This image could not be
recognized. I can upload the same animated GIF using the AdWords web
interface without a problem.

I'm using the PERL MIME::Base64 module to encode my images (same as in
the Adwords sample code for adding an image ad).

Is there a known problem with animated GIFs and the API? Or maybe I'm
doing something wrong?

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



AdWords API Error: Not agreed to latest AdWords Api terms and conditions

2009-07-28 Thread LS Reporting

Hi,

I am getting this error while trying to get data relevant to some
adwords account of mine. the complete error is something like Fault
soapenv:Server.userException: Not agreed to latest AdWords Api terms
and conditions.: SOAPpy.Types.structType detail at -1213149012.

I have agreed to all terms and condition and all tokens of API. The
language i am using is PYTHON and the SOAP package is SOAPpy.

Please suggest what went wrong here

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



AdWords API Error while calling getAllAdWordsCampaigns

2009-05-20 Thread Heisenbug

Hello all,
I've this error when I try to call the getAllAdWordsCampaigns method
someones know what is the problem?
thanks

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
 faultSubcode:
 faultString: Either this object does not exist, or this user does not
have perm
ission to access it.
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
 ns1:code4/ns1:code
 ns1:messageEither this object does not exist, or this user does
not have
permission to access it./ns1:message
 ns1:trigger842-310-1923/ns1:trigger

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



AdWords API Error retrieving local business ads

2009-04-27 Thread dq

All of a sudden last week I started seeing these errors retrieving
local business ads:

org.xml.sax.SAXException: Invalid element in
com.google.adwords.api.adwords.v13.LocalBusinessAd - fullBusinessName
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild
(BeanDeserializer.java:258)
at org.apache.axis.encoding.DeserializationContext.startElement
(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:
236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.google.adwords.api.adwords.v13.AdServiceSoapBindingStub.getAllAds
(AdServiceSoapBindingStub.java:870)

I checked the WSDL that I built my library from and it's
https://adwords.google.com/api/adwords/v13, but sure enough
fullBusinessName isn't in there.

I checked https://adwords.google.com/api/adwords/v13/AdService?wsdl
and sure enough there's a fullBusinessName in there.  Did I miss a
notification of the change?

(I'll be re-building with the current wsdl now... :-) )
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---



AdWords API Error while requesting data for the 24th of April 2009

2009-04-27 Thread SEM

Hi There,

We seem to be getting the following API error when we try to retrieve
the daily creative report for 2 of our accounts. This seems to fail
only for the 24th of April 2009.
--
xception in thread main AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
 faultSubcode:
 faultString: The day is in an unrecognized format.  It must match the
form -MM-DD with an optional timezone offset.
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
   ns1:code70/ns1:code

   ns1:messageThe day is in an unrecognized format.  It must
match the form -MM-DD with an optional timezone offset./
ns1:message

   ns1:trigger2009-04-24/ns1:trigger
--

I have also pasted the request and response below. Any help is greatly
appreciated.

===
= Elapsed: 4469 milliseconds
= In message: ?xml version=1.0 encoding=UTF-8?soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://
www.w3.org/2001/XMLSchema-instancesoapenv:Headerns1:email
soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
soapenv:mustUnderstand=0 xmlns:ns1=https://adwords.google.com/api/
adwords/v13x...@xx.com/ns1:emailns2:password soapenv:actor=http://
schemas.xmlsoap.org/soap/actor/next soapenv:mustUnderstand=0
xmlns:ns2=https://adwords.google.com/api/adwords/v13;xx/
ns2:passwordns3:useragent soapenv:actor=http://schemas.xmlsoap.org/
soap/actor/next soapenv:mustUnderstand=0 xmlns:ns3=https://
adwords.google.com/api/adwords/v13xx/
ns3:useragentns4:applicationToken soapenv:actor=http://
schemas.xmlsoap.org/soap/actor/next soapenv:mustUnderstand=0
xmlns:ns4=https://adwords.google.com/api/adwords/
v13gDZ7WLMPARyNmO2Iu7Oc6w/ns4:applicationTokenns5:developerToken
soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
soapenv:mustUnderstand=0 xmlns:ns5=https://adwords.google.com/api/
adwords/v13xx/ns5:developerToken/
soapenv:Headersoapenv:BodyscheduleReportJob xmlns=https://
adwords.google.com/api/adwords/v13job
xsi:type=ns6:DefinedReportJob xmlns:ns6=https://adwords.google.com/
api/adwords/v13endDay xsi:type=xsd:date2009-04-24/endDayname
xsi:type=xsd:stringCMReportDetail-New {AID=-1}/namestartDay
xsi:type=xsd:date2009-04-24/startDayaggregationTypes
xsi:type=xsd:stringDaily/aggregationTypesselectedColumns
xsi:type=xsd:stringCampaignId/selectedColumnsselectedColumns
xsi:type=xsd:stringCampaign/selectedColumnsselectedColumns
xsi:type=xsd:stringAdGroupId/selectedColumnsselectedColumns
xsi:type=xsd:stringAdGroup/selectedColumnsselectedColumns
xsi:type=xsd:stringMaxContentCPC/selectedColumnsselectedColumns
xsi:type=xsd:stringKeywordId/selectedColumnsselectedColumns
xsi:type=xsd:stringKeyword/selectedColumnsselectedColumns
xsi:type=xsd:stringKeywordTypeDisplay/
selectedColumnsselectedColumns xsi:type=xsd:stringKeywordStatus/
selectedColumnsselectedColumns xsi:type=xsd:stringKeywordMinCPC/
selectedColumnsselectedColumns
xsi:type=xsd:stringDescriptionLine1/
selectedColumnsselectedColumns
xsi:type=xsd:stringDescriptionLine2/
selectedColumnsselectedColumns
xsi:type=xsd:stringDescriptionLine3/
selectedColumnsselectedColumns xsi:type=xsd:stringVisibleUrl/
selectedColumnsselectedColumns xsi:type=xsd:stringDestinationURL/
selectedColumnsselectedColumns xsi:type=xsd:stringCreativeId/
selectedColumnsselectedColumns xsi:type=xsd:stringCreativeType/
selectedColumnsselectedColumns xsi:type=xsd:stringAdStatus/
selectedColumnsselectedColumns xsi:type=xsd:stringAdWordsType/
selectedColumnsselectedColumns xsi:type=xsd:stringDailyBudget/
selectedColumnsselectedColumns xsi:type=xsd:stringMaximumCPC/
selectedColumnsselectedColumns
xsi:type=xsd:stringKeywordDestUrlDisplay/
selectedColumnsselectedColumns xsi:type=xsd:stringAdGroupStatus/
selectedColumnsselectedColumns
xsi:type=xsd:stringCreativeDestUrl/
selectedColumnsselectedColumns xsi:type=xsd:stringCampaignStatus/
selectedColumnsselectedColumns xsi:type=xsd:stringImpressions/
selectedColumnsselectedColumns xsi:type=xsd:stringClicks/
selectedColumnsselectedColumns xsi:type=xsd:stringCTR/
selectedColumnsselectedColumns xsi:type=xsd:stringCPC/
selectedColumnsselectedColumns xsi:type=xsd:stringCost/
selectedColumnsselectedColumns
xsi:type=xsd:stringAveragePosition/
selectedColumnsselectedColumns xsi:type=xsd:stringTopPosition/
selectedColumnsselectedColumns xsi:type=xsd:stringBottomPosition/
selectedColumnsselectedColumns xsi:type=xsd:stringFirstPageCpc/
selectedColumnsselectedColumns xsi:type=xsd:stringQualityScore/
selectedColumnsselectedReportType xsi:type=xsd:stringCreative/
selectedReportType/job/scheduleReportJob/soapenv:Body/
soapenv:Envelope
= Out message: soapenv:Envelope xmlns:soapenv=http://
schemas.xmlsoap.org/soap/envelope/ xmlns:xsd=http://www.w3.org/2001/
XMLSchema xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
  responseTime soapenv:actor=http://schemas.xmlsoap.org/soap/actor/

AdWords API Error in validating report with real mcc account.

2009-04-22 Thread PPL

Hi,
I'm testing with real developer token and application token to
schedule and download the report of the MCC account.
The following are my codes.

String email=;
String password=;
String useragent=JST;
String developerToken=;
String applicationToken=;

AdWordsUser user = new AdWordsUser
(email,password,useragent,developerToken,applicationToken);
ReportInterface service =
(ReportInterface) user.getService
(AdWordsUser.REPORT_SERVICE);

DefinedReportJob job = new DefinedReportJob();
job.setSelectedReportType(Keyword);
job.setAggregationTypes(new String[] {Daily});

job.setStartDay(new ReportDate(2008, 1, 1).toDate());
job.setEndDay(new ReportDate(2008, 2, 28).toDate());
job.setName(Demo Keyword Daily Report);
job.setSelectedColumns(new String[] {
All possible columns of Daily aggregation of Keyword report
type except  the mutually exclusive columns});
job.setCrossClient(true);

// Validate report job.
service.validateReportJob(job);

//Schedule report job.
long jobId = service.scheduleReportJob(job);
System.out.println(report id is = +jobId);
//Wait for report to finish.
ReportJobStatus status = service.getReportJobStatus(jobId);
while (status != ReportJobStatus.Completed 
status != ReportJobStatus.Failed) {
try {
Thread.sleep(3);
} catch (InterruptedException e) {}

status = service.getReportJobStatus(jobId);
System.out.println(Report job status is  + status.toString());
 }
   if (status == ReportJobStatus.Failed) {
   System.out.println(Job failed!);
   } else {
System.out.println(The report is ready!);

 // Get report download url.
 String url = service.getGzipReportDownloadUrl(jobId);
 System.out.println(Report url is  + url);
}

It's showing the following error when validating the report.

Exception in thread main AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
 faultSubcode:
 faultString: Application information rejected.
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/v13}fault:
 ns1:code129/ns1:code
 ns1:messageApplication information rejected./ns1:message

Application information rejected.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.axis.encoding.ser.BeanDeserializer.init
(BeanDeserializer.java:104)
at org.apache.axis.encoding.ser.BeanDeserializer.init
(BeanDeserializer.java:90)
at com.google.api.adwords.v13.ApiException.getDeserializer
(ApiException.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Although it was fine with sandbox with the same codes except the user.

AdWordsUser user= new AdWordsUser(email, password,
useragent,developerToken,
applicationToken, version,new 
URL(alternateUrl));

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



AdWords API Error while creating a Campaign with ContentTargeting in Sandbox environment

2009-04-21 Thread rAm

Hi All,

API Versio Used: V13.

We are trying to create a Campaign with
contentTargeting set to : SelectedPlacements
networkTargeting set to all the three NetworkTypes*  GoogleSearch,
* SearchNetwork, * ContentNetwork.

I can save the campaign without any issue using the addCampaign
method.  When I check the returned campaign object, I find that the
contentTargeting is set to All Placements and, the networkTargeting
becomes SearchNetwork and ContentNetwork.

As an offshoot of this, I am unable to create an Adgroup of placement
type.

I searched on net and also on the archives of this group, but did not
find a solution that works, or a satisfatory answer.

Can you help me?

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



AdWords API Error in Getting Keyword/Placement Performance Report - V13

2009-01-02 Thread Apar

Hi Adwords Team,

This is for V13.
I am getting the following fault while validating the Report Job for a
Keyword/Placement performance report.

I specified all the columns in the Specify column attribute of the
Defined report job.
I also checked that it had an MCC account and that the account had
Conversion tracking enabled.

ns1:fault xmlns:ns1=https://adwords.google.com/api/adwords/v13;
   ns1:code30/ns1:code
   ns1:messageOne or more report job parameters is invalid./
ns1:message
   ns1:triggerThe following columns are mutually exclusive :
   [SalesCount2, SignupCount2, AveragePosition, CTR,
DefaultValue2, SalesValue2,
SignupValue2, PageViewCount2, CPC, LeadValue2, CPM,
Impressions, PageViewValue,
DefaultCount, Clicks, Cost, LeadCount]
   /ns1:trigger
/ns1:fault

Please help me understand the reason for this soap exception and the
solution.

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



AdWords API Error Message : Either this object does not exist, or this user does not have permission to access it

2008-11-12 Thread Joseph

Hi,
I  tried to test the GetAccountInfo funciton, but why I always get
the exception like the mai subject said, Could anybody tell me why? Of
course I have replace the input information by my own data

Thank you so much!

Joseph

// Copyright 2008, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an AS IS BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/**
 * This code sample retrieves information about the AdWords account
that
 * belongs to the customer issuing the request.
 */

//using SampleCode.com.google.sandbox.v12.AccountService;

using System;


public class GetAccountInfo {
  // Provide AdWords login information.
  private static String email = INSERT_LOGIN_EMAIL_HERE;
  private static String password = INSERT_PASSWORD_HERE;
  private static String clientEmail =
INSERT_CLIENT_LOGIN_EMAIL_HERE;
  private static String useragent =
  INSERT_COMPANY_NAME: AdWords API DotNet Sample Code;
  private static String developerToken =
INSERT_DEVELOPER_TOKEN_HERE;
  private static String applicationToken =
  INSERT_APPLICATION_TOKEN_HERE;

  public static void Main() {
try {
  // Set up service connection.
  AccountService service = new AccountService();

  // Define SOAP headers.
  service.emailValue = new email();
  service.emailValue.Text = new String[] {email};
  service.passwordValue = new password();
  service.passwordValue.Text = new String[] {password};
  service.clientEmailValue = new clientEmail();
  service.clientEmailValue.Text = new String[] {clientEmail};
  service.useragentValue = new useragent();
  service.useragentValue.Text = new String[] {useragent};
  service.developerTokenValue = new developerToken();
  service.developerTokenValue.Text = new String[]
{developerToken};
  service.applicationTokenValue = new applicationToken();
  service.applicationTokenValue.Text = new String[]
{applicationToken};

  // Get account info.
  AccountInfo accountInfo = service.getAccountInfo();

  // Display account info.
  Console.WriteLine(Account name is \
  + accountInfo.descriptiveName + \, id is \
  + accountInfo.customerId + \, and currency code is \
  + accountInfo.currencyCode + \.);
} catch (Exception e) {
  Console.WriteLine(e);
}
  }
}

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~--~~~~--~~--~--~---