Re: Error UNKNOWN at CustomerService->get()

2016-04-15 Thread fischi
HI Umesh,

thank you for taking a look at that.
Unfortunately, the error still persists, (got the same error last week 
also, but do not have the RequestID anymore)
I will attach the Logs and SOAPs below. The RequestId 
is 00053086979d98800ac2ec48b6010010

Have a nice Weekend!

Cheers,

Thomas


[Apr 15 2016 14:11:51.00 - ERROR] effectiveUser= 
service=CustomerService method=get operators={} responseTime=203 
requestId=00053086979d98800ac2ec48b6010010 operations=0 units= 
server=adwords.google.com isFault=true faultMessage=[RequestError.UNKNOWN @ 
]



[Apr 15 2016 14:11:51.00 - ERROR] POST 
/api/adwords/mcm/v201509/CustomerService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.5.33-nmm1, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 322
Authorization: Bearer 
ya29..xQKMDwXdvobRPmG12Xaq9Al0LOoJtyeiLkRZuLkhDnMZahwwUgVecWBFkQKB_hBjx74


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

  X
  my.omp-tools.at:OMPTools:V0.1 (AwApi-PHP/7.0.0, 
Common-PHP/7.0.0, PHP/5.5.33-nmm1)

  
  

  


HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Fri, 15 Apr 2016 14:11:51 GMT
Expires: Fri, 15 Apr 2016 14:11:51 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201509"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201509";>
  
  
CustomerService
  get
  0
  203

  
  

  soap:Server
  [RequestError.UNKNOWN @ ]
  
https://adwords.google.com/api/adwords/mcm/v201509"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201509";>
  [RequestError.UNKNOWN @ ]
  
ApiException
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:RequestError">


RequestError.UNKNOWN
RequestError
UNKNOWN
  

  

  



Am Donnerstag, 14. April 2016 16:17:41 UTC+2 schrieb Umesh Dengale:
>
> Hello,
>
> Thanks for providing SOAP XML request and response logs. Most of the time 
> above type of error is transient. Could you please retry above API call? 
> Let us know the requestId if error occurs.
>
> Regards,
> 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/0a572acd-984f-4709-a573-976bd4eb81ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error UNKNOWN at CustomerService->get()

2016-04-14 Thread 'Umesh Dengale' via AdWords API Forum
Hello,

Thanks for providing SOAP XML request and response logs. Most of the time 
above type of error is transient. Could you please retry above API call? 
Let us know the requestId if error occurs.

Regards,
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/e4c4f96b-767b-4e55-ab76-710664d80dfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2016-03-21 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi Peter,

Are you still experiencing this issue, and if so, how frequently?

As suspected, this was due to retries within our services, but 
unfortunately I don't have a great solution on how to detect this 
particular scenario, so I'm curious to know if this is still having a large 
impact for you.

Thanks,
Josh, AdWords API Team

On Wednesday, December 9, 2015 at 4:51:15 PM UTC-5, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Peter,
>
> I still don't have an update, unfortunately. I've reached out to the 
> engineers again and will let you know when I get a response.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, December 9, 2015 at 5:00:49 AM UTC-5, 
> peter.rietz...@smarter-ecommerce.com wrote:
>>
>>
>> Sorry for bothering again - still no updates on this ?
>>
>> Thanks! 
>> Peter
>>
>> Am Mittwoch, 18. November 2015 16:11:08 UTC+1 schrieb Josh Radcliff 
>> (AdWords API Team):
>>>
>>> Hi Peter,
>>>
>>> No updates yet, but the engineers are looking into it. I'll get back to 
>>> you as soon as I hear anything.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, November 17, 2015 at 11:25:13 PM UTC-5, 
>>> peter.r...@smarter-ecommerce.com wrote:

 Hi Josh

 Any updates on this ?

 Thanks!
 Peter

 Am Mittwoch, 11. November 2015 20:55:04 UTC+1 schrieb Josh Radcliff 
 (AdWords API Team):
>
> Hi Peter,
>
> Using that request ID, I found some information on our side that 
> indicates that there may have been an unexpected duplication of this 
> request. I'm following up with the service owners to see what happened 
> here, and will let you know as soon as I hear back from them.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, November 10, 2015 at 10:09:09 AM UTC-5, peter... wrote:
>>
>> Hi 
>>
>> No, I can't see any logs in our system despite the fact that the 
>> request has failed - but those logs were logged a few minutes later 
>> because 
>> further request were logged aggregated by our application. 
>>
>> The first example (PRODUCT_PARTITION_ALREADY_EXISTS from 30.10.2015) 
>> that I've posted to this thread happened on  
>>
>> 29.10.2015 21:17:20,497
>>
>> requestId (taken from response) = 00052343fe9006900a0ddbd10203b361
>>
>>
>> I can definitely see from the SOAP logs (from the Adwords API) that a 
>> new group was created and the product partition add request was only 
>> sent 
>> once. Does this help ?
>>
>>
>>
>> Am Dienstag, 3. November 2015 17:42:00 UTC+1 schrieb Josh Radcliff 
>> (AdWords API Team):
>>>
>>> Hi,
>>>
>>> I took a look at the requests coming from your developer token, and 
>>> I see REMOVE mutate requests coming in for that ad group's criteria at 
>>> the 
>>> following times:
>>>
>>> ViennaTime : 2015-10-30 06:05:40
>>> Successful : True
>>>
>>> ViennaTime : 2015-10-30 06:06:04
>>> Successful : False
>>>
>>> In the user interface, I see the product groups were removed via the 
>>> API at 2015-10-30 06:06:07. I realize that is after the 2nd 
>>> request, but I'm theorizing that the first request may have taken 27 
>>> seconds to complete. Do you happen to have timestamps in your logs for 
>>> those requests?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:

 Hi Josh 

 These are really wild assumptions, but for me it looks like that I 
 can see the same problem with other requests regarding shopping ad 
 group 
 criterions too. 

 I've got another case that looks pretty similar to me (though I 
 cannot prove this since I do not have SOAP logs for this). But from 
 our 
 logs I can see that we've sent a deletion request for shopping ad 
 group 
 criterions (e.g.: item id = 333518-105, criterion id = 139771732115, 
 ad 
 group id = 23172885875, campaign id = 321117275). The product 
 partition was 
 successfully deleted - I can see this in the change logs in the 
 Adwords UI (30.10.2015 
 06:06:07). But my application logs tell me that the API returned 
 an error
 Errors while removing group item bids: Group 23172885875: Item 
 333518-105: 
 [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;];
  

 For me it looks like that someone duplicates the same request. I've 
 double checked our logs and they tell me that it's not our application 
 (as 
 stated above I unfortunately cannot see the SOAP request directly). 
 When looking at the SOAP logs that I've provided earlier I assume 
 the same could have happened here.


>>>

Re: Error deserializing message

2016-03-19 Thread phil
Hi Veer,

Thanks for the quick response.

Using v3.1.0 of the Perl Client which I only installed end of last month. 
Followed your link to googleads on GitHub and found version 4.3.0! After 
some playing with perlbrew to get a supported version of perl installed I 
have now installed v4.3.0 of the client and everything appears to be 
working ok. Thanks again for getting back to me.

Phil

On Thursday, 17 March 2016 09:55:13 UTC-7, Veer Arjun Busani(AdWords API 
Team) wrote:
>
> Hi Phil,
>
> Would you be able to confirm the version of the SDK 
>  that you are currently 
> using as well as the sample app 
> . 
> Please make sure that you are using the latest ones. Also do send us your 
> complete SOAP request along with the response.
>
> Thanks,
> Veer Busani
> 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/df7d1cd9-8f7a-4491-a3df-c3e62c455869%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error deserializing message

2016-03-19 Thread 'Veer Arjun Busani(AdWords API Team)' via AdWords API Forum
Hi Phil,

Would you be able to confirm the version of the SDK 
 that you are currently 
using as well as the sample app 
. 
Please make sure that you are using the latest ones. Also do send us your 
complete SOAP request along with the response.

Thanks,
Veer Busani
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/126e03a7-4288-43a7-bd09-98579c938d29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Fetching http body, No Content-Length, connection closed or chunked data

2016-03-15 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello Willy,

PHP 5.2 is unsupported in PHP Ads client lib since release v6.1 
.
And most developers have migrated to supported versions already.

So confirm there was some changes on the API right? 

Yes, this is because of important security reasons listed in this post 

 in 
mid 2014.
We have prolonged this change for more than one year and a half.

Is there any temporary solution for PHP 5.2 user?

The only solution is to migrate to PHP 5.3.
I apologize for your inconvenience but could you please migrate to a 
supported version?

Besides, API v201506 will be no longer supported very soon (11 April 2016 
).
We highly recommend you to migrate to use v201601 (client lib v8.1.0 
) or 
v201509 (client lib v7.0.0 
).

Cheers,
Thanet, AdWords API Team


On Tuesday, March 15, 2016 at 1:54:33 AM UTC+9, Willy D wrote:
>
> Hi Yin,
>
> Thanks for the reply.
>
> So confirm there was some changes on the API right? 
>
> Is there any temporary solution for PHP 5.2 user?
>
> Thanks again in advance.
>
> Best Regards,
> Willy
>
> On Monday, March 14, 2016 at 10:41:07 PM UTC+8, Yin Niu wrote:
>>
>> Hi Wily, 
>>
>> The PHP client library  
>> requires 
>> PHP 5.3 and higher. So you might need to upgrade PHP to at least 5.3 as 
>> suggested in the forum discussion you have found. 
>>
>> Thanks,
>> Yin, 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/5d1f15df-7c07-4959-8b14-61684946e15e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Fetching http body, No Content-Length, connection closed or chunked data

2016-03-14 Thread Willy D
Hi Yin,

Thanks for the reply.

So confirm there was some changes on the API right? 

Is there any temporary solution for PHP 5.2 user?

Thanks again in advance.

Best Regards,
Willy

On Monday, March 14, 2016 at 10:41:07 PM UTC+8, Yin Niu wrote:
>
> Hi Wily, 
>
> The PHP client library  
> requires 
> PHP 5.3 and higher. So you might need to upgrade PHP to at least 5.3 as 
> suggested in the forum discussion you have found. 
>
> Thanks,
> Yin, 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/401b717a-2bd4-4416-8e88-57d6fcf0de98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Fetching http body, No Content-Length, connection closed or chunked data

2016-03-14 Thread 'Yin Niu' via AdWords API Forum
Hi Wily, 

The PHP client library  
requires 
PHP 5.3 and higher. So you might need to upgrade PHP to at least 5.3 as 
suggested in the forum discussion you have found. 

Thanks,
Yin, 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/c3fdf8aa-1597-49c2-aa3c-8b0fd117ea51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error:"unauthorized_client", Description:"Unauthorized client or scope in request.", Uri:""

2016-03-11 Thread zhongyh
Hi Anthony,

i execute program Tasks.Simple OAuth2,and then solve the problem.


i think is refresh token.


thinks,

zhongyh


在 2016年3月11日星期五 UTC+8上午6:38:00,Anthony Madrigal写道:
>
> Hi Zhongyh,
>
> Yes, I replied. Here was my response
>
>> Just like Mike mentioned previously, you need to use an AdWords account. 
>> The Id 8170965 refers to a merchant center account. Once you do so, try to 
>> generate 
>> a refresh token 
>> 
>>  and 
>> see if your problem still exists.
>
>
> Cheers,
> Anthony
> 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/6cc46f11-e277-4c4a-8810-be9f4dfd8b51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error:"unauthorized_client", Description:"Unauthorized client or scope in request.", Uri:""

2016-03-10 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Zhongyh,

Yes, I replied. Here was my response

> Just like Mike mentioned previously, you need to use an AdWords account. 
> The Id 8170965 refers to a merchant center account. Once you do so, try to 
> generate 
> a refresh token 
> 
>  and 
> see if your problem still exists.


Cheers,
Anthony
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/fa135899-9ea4-498d-8391-80b8aba1b909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error:"unauthorized_client", Description:"Unauthorized client or scope in request.", Uri:""

2016-03-10 Thread zhongyh
Hi Anthony,

Did you get my info?

Thanks

在 2016年1月16日星期六 UTC+8上午5:59:39,Anthony Madrigal写道:
>
> Hi Zhongyh,
>
> Please try to generate a new refresh token and see if that solves your 
> issue. If you are still getting errors, please *reply privately to author 
> *your CID so that I can further investigate.
>
> Thanks,
> Anthony
> 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/174332f6-3574-4fee-bfdf-6dd5ccac6340%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when setting targetPartnerSearchNetwork to true

2016-02-17 Thread Stepanian
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/bd14622f-5ace-4906-9684-b6bf2cf8e886%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when setting targetPartnerSearchNetwork to true

2016-02-09 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Greetings!

If you set targetSearchNetwork 

 
to false in the API, this will uncheck the *Include search partners* box in 
the user interface. 

Cheers,
Nadine, AdWords API Team

On Monday, February 8, 2016 at 7:31:04 PM UTC-5, Stepanian wrote:
>
> Thank you for your quick reply Nadine. 
>
> In the AdWords site, when creating (or updating) a campaign, there is a 
> checkbox marked "Include search partners". How do I access that field 
> through the API to modify it? It seems like it is enabled by default for 
> every new campaign created through the API. Can I uncheck it through the 
> API? 
>
> Thanks again. 
>
> On Monday, February 8, 2016 at 12:42:02 PM UTC-8, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Hi Stepanian,
>>
>> The targetPartnerSearchNetwork 
>> 
>>  field 
>> is only available to select partners 
>> .
>>  
>> You're getting the error because you're not on that list of partners. In 
>> your case, you'll either have to keep that field as *null* or *false*.
>>
>> Best,
>> Nadine, AdWords API Team
>>
>> On Sunday, February 7, 2016 at 7:19:45 PM UTC-5, Stepanian wrote:
>>>
>>> When I'm creating a new campaign, I get a RequestError.UNKNOWN error if 
>>> I set the targetPartnerSearchNetwork value to true for the NetworkSetting 
>>> type. What could I be doing wrong? I don't get the error if I 
>>> set targetPartnerSearchNetwork to false and the campaign gets created 
>>> normally. Thanks.  
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ca2198ab-6d0c-4606-a697-e2ea632739ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when setting targetPartnerSearchNetwork to true

2016-02-08 Thread Stepanian
Thank you for your quick reply Nadine. 

In the AdWords site, when creating (or updating) a campaign, there is a 
checkbox marked "Include search partners". How do I access that field 
through the API to modify it? It seems like it is enabled by default for 
every new campaign created through the API. Can I uncheck it through the 
API? 

Thanks again. 

On Monday, February 8, 2016 at 12:42:02 PM UTC-8, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hi Stepanian,
>
> The targetPartnerSearchNetwork 
> 
>  field 
> is only available to select partners 
> .
>  
> You're getting the error because you're not on that list of partners. In 
> your case, you'll either have to keep that field as *null* or *false*.
>
> Best,
> Nadine, AdWords API Team
>
> On Sunday, February 7, 2016 at 7:19:45 PM UTC-5, Stepanian wrote:
>>
>> When I'm creating a new campaign, I get a RequestError.UNKNOWN error if I 
>> set the targetPartnerSearchNetwork value to true for the NetworkSetting 
>> type. What could I be doing wrong? I don't get the error if I 
>> set targetPartnerSearchNetwork to false and the campaign gets created 
>> normally. Thanks.  
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e1c174ff-9006-4f12-aaf1-1d84655578b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when setting targetPartnerSearchNetwork to true

2016-02-08 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hi Stepanian,

The targetPartnerSearchNetwork 

 field 
is only available to select partners 
.
 
You're getting the error because you're not on that list of partners. In 
your case, you'll either have to keep that field as *null* or *false*.

Best,
Nadine, AdWords API Team

On Sunday, February 7, 2016 at 7:19:45 PM UTC-5, Stepanian wrote:
>
> When I'm creating a new campaign, I get a RequestError.UNKNOWN error if I 
> set the targetPartnerSearchNetwork value to true for the NetworkSetting 
> type. What could I be doing wrong? I don't get the error if I 
> set targetPartnerSearchNetwork to false and the campaign gets created 
> normally. Thanks.  
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/17396816-fbb4-4515-be21-2fe24f1e0929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Creating Root Product Partition

2016-02-03 Thread Yin Niu
Hello, 


BiddingScheme or BiddingStrategyType 

 is 
not allowed to be set at the ad group or criterion level. If you remove the 
lines setting biddingStrategyType, it should work.

Thanks,
Yin, 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/a4afae7e-b1a0-4751-a897-b86493ea40f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error:"unauthorized_client", Description:"Unauthorized client or scope in request.", Uri:""

2016-01-15 Thread Anthony Madrigal
Hi Zhongyh,

Please try to generate a new refresh token and see if that solves your 
issue. If you are still getting errors, please *reply privately to author *your 
CID so that I can further investigate.

Thanks,
Anthony
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/c4ba1ff5-5f25-47ba-858e-3543f7773221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error: invalid_client after after GetRefreshToken.php

2016-01-15 Thread Yin Niu
Hi, 

When you paste the url to the browser to get authorization code, make sure 
you log in as the user that you want. So in the auth.ini file, you will 
have a new refresh token and new client id/secret. 

Thanks,
Yin, 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/f9afa6ad-6f82-4020-97f9-01244c810ecb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: error:0307A071:bignum routines:BN_rand_range:too many iterations

2015-12-21 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi Leonardo,

That seems *not* to be an error from PHP nor our client lib.
And it seems an elusive problem that occurs in many cases 

.

For now, I'm not sure how XAMPP sets up your system (including curl), so we 
may need to make sure first where the problem occurred (your curl, PHP, or 
XAMPP).
But from what you said, Eclipse can run the file well so it may be possible 
that XAMPP uses different version of curl from that of Eclipse.

>From what I've searched , 
it may worth trying 1) running the file without XAMPP 2) replacing curl in 
your system.
Another source  hints 
that it may be related to CPU kernel too.

Best,
Thanet, AdWords API Team

On Monday, December 21, 2015 at 11:47:32 PM UTC+9, Leonardo Mejia wrote:
>
> I am getting Error: error:0307A071:bignum routines:BN_rand_range:too many 
> iterations when trying to refresh token on a XAMPP install on my machine:
>
>
> 
>
> The error seems to be occuring here:
>
>
> 
> Error and Http Code results are as follows:
> Error: error:0307A071:bignum routines:BN_rand_range:too many iterations
> Httpcode: 0
>
> There is a twist however:  If I run the same codebase through the debugger 
> in Eclipse I don't get an error:
>
> It runs as expected I get:
> Httpcode: 200
>
> The only difference other than it working correctly through eclipse is 
> that the following line of code:
>
>  $ch = $this->curlUtils->CreateSession($url); (line 119 in the 
> MakeRequest() code) returns different values.
>
> It returns a value of ch: Resource id  #51 when I run it through eclipse 
> and  ch: Resource id #49 when I run it stand alone.
>
> I hope this is enough information:  Any help is appreciated. 
>
> 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/87b616d6-f4ee-4bfb-ba79-fdc5e56064eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2015-12-09 Thread Josh Radcliff (AdWords API Team)
Hi Peter,

I still don't have an update, unfortunately. I've reached out to the 
engineers again and will let you know when I get a response.

Thanks,
Josh, AdWords API Team

On Wednesday, December 9, 2015 at 5:00:49 AM UTC-5, 
peter.rietz...@smarter-ecommerce.com wrote:
>
>
> Sorry for bothering again - still no updates on this ?
>
> Thanks! 
> Peter
>
> Am Mittwoch, 18. November 2015 16:11:08 UTC+1 schrieb Josh Radcliff 
> (AdWords API Team):
>>
>> Hi Peter,
>>
>> No updates yet, but the engineers are looking into it. I'll get back to 
>> you as soon as I hear anything.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 17, 2015 at 11:25:13 PM UTC-5, 
>> peter.r...@smarter-ecommerce.com wrote:
>>>
>>> Hi Josh
>>>
>>> Any updates on this ?
>>>
>>> Thanks!
>>> Peter
>>>
>>> Am Mittwoch, 11. November 2015 20:55:04 UTC+1 schrieb Josh Radcliff 
>>> (AdWords API Team):

 Hi Peter,

 Using that request ID, I found some information on our side that 
 indicates that there may have been an unexpected duplication of this 
 request. I'm following up with the service owners to see what happened 
 here, and will let you know as soon as I hear back from them.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, November 10, 2015 at 10:09:09 AM UTC-5, peter... wrote:
>
> Hi 
>
> No, I can't see any logs in our system despite the fact that the 
> request has failed - but those logs were logged a few minutes later 
> because 
> further request were logged aggregated by our application. 
>
> The first example (PRODUCT_PARTITION_ALREADY_EXISTS from 30.10.2015) 
> that I've posted to this thread happened on  
>
> 29.10.2015 21:17:20,497
>
> requestId (taken from response) = 00052343fe9006900a0ddbd10203b361
>
>
> I can definitely see from the SOAP logs (from the Adwords API) that a 
> new group was created and the product partition add request was only sent 
> once. Does this help ?
>
>
>
> Am Dienstag, 3. November 2015 17:42:00 UTC+1 schrieb Josh Radcliff 
> (AdWords API Team):
>>
>> Hi,
>>
>> I took a look at the requests coming from your developer token, and I 
>> see REMOVE mutate requests coming in for that ad group's criteria at the 
>> following times:
>>
>> ViennaTime : 2015-10-30 06:05:40
>> Successful : True
>>
>> ViennaTime : 2015-10-30 06:06:04
>> Successful : False
>>
>> In the user interface, I see the product groups were removed via the 
>> API at 2015-10-30 06:06:07. I realize that is after the 2nd request, 
>> but I'm theorizing that the first request may have taken 27 seconds to 
>> complete. Do you happen to have timestamps in your logs for those 
>> requests?
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:
>>>
>>> Hi Josh 
>>>
>>> These are really wild assumptions, but for me it looks like that I 
>>> can see the same problem with other requests regarding shopping ad 
>>> group 
>>> criterions too. 
>>>
>>> I've got another case that looks pretty similar to me (though I 
>>> cannot prove this since I do not have SOAP logs for this). But from our 
>>> logs I can see that we've sent a deletion request for shopping ad group 
>>> criterions (e.g.: item id = 333518-105, criterion id = 139771732115, ad 
>>> group id = 23172885875, campaign id = 321117275). The product partition 
>>> was 
>>> successfully deleted - I can see this in the change logs in the Adwords 
>>> UI (30.10.2015 
>>> 06:06:07). But my application logs tell me that the API returned an 
>>> error
>>> Errors while removing group item bids: Group 23172885875: Item 
>>> 333518-105: 
>>> [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;];
>>>  
>>>
>>> For me it looks like that someone duplicates the same request. I've 
>>> double checked our logs and they tell me that it's not our application 
>>> (as 
>>> stated above I unfortunately cannot see the SOAP request directly). 
>>> When looking at the SOAP logs that I've provided earlier I assume 
>>> the same could have happened here.
>>>
>>>
>>> Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff 
>>> (AdWords API Team):

 Hi Peter,

 Are you running multiple threads that are mutating the trees in 
 question? I ask because I looked at two of your requests from today 
 that 
 failed with PRODUCT_PARTITION_ALREADY_EXISTS followed 
 by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition 
 in 
 question *does* already exist in the ad group.

 The requests I checked were for ad group IDs 21637072081 
 and 21637229281, b

Re: Error in Client Libraries & Code Examples (.NET)

2015-12-09 Thread Anthony Madrigal
Hi,

Would you happen to have the SOAP request and response that caused this 
error? If so, could you please *reply privately to author *them to me?

Thanks,
Anthony
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/6ce93c3a-95d3-411e-be17-36c5b1103f49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2015-12-09 Thread peter . rietzler

Sorry for bothering again - still no updates on this ?

Thanks! 
Peter

Am Mittwoch, 18. November 2015 16:11:08 UTC+1 schrieb Josh Radcliff 
(AdWords API Team):
>
> Hi Peter,
>
> No updates yet, but the engineers are looking into it. I'll get back to 
> you as soon as I hear anything.
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, November 17, 2015 at 11:25:13 PM UTC-5, 
> peter.r...@smarter-ecommerce.com  wrote:
>>
>> Hi Josh
>>
>> Any updates on this ?
>>
>> Thanks!
>> Peter
>>
>> Am Mittwoch, 11. November 2015 20:55:04 UTC+1 schrieb Josh Radcliff 
>> (AdWords API Team):
>>>
>>> Hi Peter,
>>>
>>> Using that request ID, I found some information on our side that 
>>> indicates that there may have been an unexpected duplication of this 
>>> request. I'm following up with the service owners to see what happened 
>>> here, and will let you know as soon as I hear back from them.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, November 10, 2015 at 10:09:09 AM UTC-5, peter... wrote:

 Hi 

 No, I can't see any logs in our system despite the fact that the 
 request has failed - but those logs were logged a few minutes later 
 because 
 further request were logged aggregated by our application. 

 The first example (PRODUCT_PARTITION_ALREADY_EXISTS from 30.10.2015) 
 that I've posted to this thread happened on  

 29.10.2015 21:17:20,497

 requestId (taken from response) = 00052343fe9006900a0ddbd10203b361


 I can definitely see from the SOAP logs (from the Adwords API) that a 
 new group was created and the product partition add request was only sent 
 once. Does this help ?



 Am Dienstag, 3. November 2015 17:42:00 UTC+1 schrieb Josh Radcliff 
 (AdWords API Team):
>
> Hi,
>
> I took a look at the requests coming from your developer token, and I 
> see REMOVE mutate requests coming in for that ad group's criteria at the 
> following times:
>
> ViennaTime : 2015-10-30 06:05:40
> Successful : True
>
> ViennaTime : 2015-10-30 06:06:04
> Successful : False
>
> In the user interface, I see the product groups were removed via the 
> API at 2015-10-30 06:06:07. I realize that is after the 2nd request, 
> but I'm theorizing that the first request may have taken 27 seconds to 
> complete. Do you happen to have timestamps in your logs for those 
> requests?
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:
>>
>> Hi Josh 
>>
>> These are really wild assumptions, but for me it looks like that I 
>> can see the same problem with other requests regarding shopping ad group 
>> criterions too. 
>>
>> I've got another case that looks pretty similar to me (though I 
>> cannot prove this since I do not have SOAP logs for this). But from our 
>> logs I can see that we've sent a deletion request for shopping ad group 
>> criterions (e.g.: item id = 333518-105, criterion id = 139771732115, ad 
>> group id = 23172885875, campaign id = 321117275). The product partition 
>> was 
>> successfully deleted - I can see this in the change logs in the Adwords 
>> UI (30.10.2015 
>> 06:06:07). But my application logs tell me that the API returned an 
>> error
>> Errors while removing group item bids: Group 23172885875: Item 
>> 333518-105: 
>> [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;];
>>  
>>
>> For me it looks like that someone duplicates the same request. I've 
>> double checked our logs and they tell me that it's not our application 
>> (as 
>> stated above I unfortunately cannot see the SOAP request directly). 
>> When looking at the SOAP logs that I've provided earlier I assume the 
>> same could have happened here.
>>
>>
>> Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff 
>> (AdWords API Team):
>>>
>>> Hi Peter,
>>>
>>> Are you running multiple threads that are mutating the trees in 
>>> question? I ask because I looked at two of your requests from today 
>>> that 
>>> failed with PRODUCT_PARTITION_ALREADY_EXISTS followed 
>>> by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
>>> question *does* already exist in the ad group.
>>>
>>> The requests I checked were for ad group IDs 21637072081 
>>> and 21637229281, both under campaign ID 345581401.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:

 Hi Josh

 Could the usage of not using distinct temporary IDs cause this 
 problem ? As stated above, 99% of my requests succeed (and we've 
 actually 
 sent millions of them until now). 


Re: Error on .NET BatchJobUtilities instance creation

2015-11-30 Thread Rafael Machado
Nadine,
Thank you for your help! I'll wait for your answer then.

Thank you,
Rafael

Em Seg, 30 de nov de 2015 20:42, Nadine Sundquist (AdWords API Team) <
adwordsapiadvisor+nad...@google.com> escreveu:

> Hi Rafael,
>
> I'm having our .NET engineer take a look at this to see if he's seen this
> before. We'll get back to you soon.
>
> Cheers,
> Nadine, AdWords API Team
>
> On Monday, November 30, 2015 at 11:55:50 AM UTC-5, Rafael Machado wrote:
>>
>> Hello,
>>
>> I'm having troubles creating a BatchJobUtilities instance. I followed the
>> code on .NET examples (
>> https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201509/CampaignManagement/AddCompleteCampaignsUsingBatchJob.cs),
>> but when i call
>> BatchJobUtilities batchJobUploadHelper = new BatchJobUtilities(user)
>> I get a StackOverflowException (the AdWordsUser user object is already
>> instantiated and working - i used it on reporting before).
>>
>> Could you please help me?
>>
>> Thank you in advance,
>> Rafael
>>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/Xq5BA_s4SC0/unsubscribe.
> To unsubscribe from this group and all its topics, 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/43b0119f-f92e-4429-a24a-e2cede4205aa%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAFE1PQJZ-J%2Bw5gAhR0%3Dyua3B%2BQjcThTFu3ctt9he7TuYL45%2BfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error on .NET BatchJobUtilities instance creation

2015-11-30 Thread Nadine Sundquist (AdWords API Team)
Hi Rafael,

I'm having our .NET engineer take a look at this to see if he's seen this 
before. We'll get back to you soon.

Cheers,
Nadine, AdWords API Team

On Monday, November 30, 2015 at 11:55:50 AM UTC-5, Rafael Machado wrote:
>
> Hello,
>
> I'm having troubles creating a BatchJobUtilities instance. I followed the 
> code on .NET examples (
> https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201509/CampaignManagement/AddCompleteCampaignsUsingBatchJob.cs),
>  
> but when i call 
> BatchJobUtilities batchJobUploadHelper = new BatchJobUtilities(user)
> I get a StackOverflowException (the AdWordsUser user object is already 
> instantiated and working - i used it on reporting before).
>
> Could you please help me?
>
> Thank you in advance,
> Rafael
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/43b0119f-f92e-4429-a24a-e2cede4205aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2015-11-18 Thread Josh Radcliff (AdWords API Team)
Hi Peter,

No updates yet, but the engineers are looking into it. I'll get back to you 
as soon as I hear anything.

Cheers,
Josh, AdWords API Team

On Tuesday, November 17, 2015 at 11:25:13 PM UTC-5, 
peter.rietz...@smarter-ecommerce.com wrote:
>
> Hi Josh
>
> Any updates on this ?
>
> Thanks!
> Peter
>
> Am Mittwoch, 11. November 2015 20:55:04 UTC+1 schrieb Josh Radcliff 
> (AdWords API Team):
>>
>> Hi Peter,
>>
>> Using that request ID, I found some information on our side that 
>> indicates that there may have been an unexpected duplication of this 
>> request. I'm following up with the service owners to see what happened 
>> here, and will let you know as soon as I hear back from them.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 10, 2015 at 10:09:09 AM UTC-5, peter... wrote:
>>>
>>> Hi 
>>>
>>> No, I can't see any logs in our system despite the fact that the request 
>>> has failed - but those logs were logged a few minutes later because further 
>>> request were logged aggregated by our application. 
>>>
>>> The first example (PRODUCT_PARTITION_ALREADY_EXISTS from 30.10.2015) 
>>> that I've posted to this thread happened on  
>>>
>>> 29.10.2015 21:17:20,497
>>>
>>> requestId (taken from response) = 00052343fe9006900a0ddbd10203b361
>>>
>>>
>>> I can definitely see from the SOAP logs (from the Adwords API) that a 
>>> new group was created and the product partition add request was only sent 
>>> once. Does this help ?
>>>
>>>
>>>
>>> Am Dienstag, 3. November 2015 17:42:00 UTC+1 schrieb Josh Radcliff 
>>> (AdWords API Team):

 Hi,

 I took a look at the requests coming from your developer token, and I 
 see REMOVE mutate requests coming in for that ad group's criteria at the 
 following times:

 ViennaTime : 2015-10-30 06:05:40
 Successful : True

 ViennaTime : 2015-10-30 06:06:04
 Successful : False

 In the user interface, I see the product groups were removed via the 
 API at 2015-10-30 06:06:07. I realize that is after the 2nd request, 
 but I'm theorizing that the first request may have taken 27 seconds to 
 complete. Do you happen to have timestamps in your logs for those requests?

 Thanks,
 Josh, AdWords API Team

 On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:
>
> Hi Josh 
>
> These are really wild assumptions, but for me it looks like that I can 
> see the same problem with other requests regarding shopping ad group 
> criterions too. 
>
> I've got another case that looks pretty similar to me (though I cannot 
> prove this since I do not have SOAP logs for this). But from our logs I 
> can 
> see that we've sent a deletion request for shopping ad group criterions 
> (e.g.: item id = 333518-105, criterion id = 139771732115, ad group id = 
> 23172885875, campaign id = 321117275). The product partition was 
> successfully deleted - I can see this in the change logs in the Adwords 
> UI (30.10.2015 
> 06:06:07). But my application logs tell me that the API returned an 
> error
> Errors while removing group item bids: Group 23172885875: Item 
> 333518-105: 
> [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;]; 
>
> For me it looks like that someone duplicates the same request. I've 
> double checked our logs and they tell me that it's not our application 
> (as 
> stated above I unfortunately cannot see the SOAP request directly). 
> When looking at the SOAP logs that I've provided earlier I assume the 
> same could have happened here.
>
>
> Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff 
> (AdWords API Team):
>>
>> Hi Peter,
>>
>> Are you running multiple threads that are mutating the trees in 
>> question? I ask because I looked at two of your requests from today that 
>> failed with PRODUCT_PARTITION_ALREADY_EXISTS followed 
>> by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
>> question *does* already exist in the ad group.
>>
>> The requests I checked were for ad group IDs 21637072081 
>> and 21637229281, both under campaign ID 345581401.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:
>>>
>>> Hi Josh
>>>
>>> Could the usage of not using distinct temporary IDs cause this 
>>> problem ? As stated above, 99% of my requests succeed (and we've 
>>> actually 
>>> sent millions of them until now). 
>>>
>>> The tree is correct for our purposes. It will be changed by other 
>>> requests later on. The problem doesn't seem to be related to the actual 
>>> tree anyhow. We also see this error when we are trying to add child 
>>> partitions to already existing ones. This, however, is very hard to 
>>> reproduce for me

Re: Error during product partition creation

2015-11-17 Thread peter . rietzler
Hi Josh

Any updates on this ?

Thanks!
Peter

Am Mittwoch, 11. November 2015 20:55:04 UTC+1 schrieb Josh Radcliff 
(AdWords API Team):
>
> Hi Peter,
>
> Using that request ID, I found some information on our side that indicates 
> that there may have been an unexpected duplication of this request. I'm 
> following up with the service owners to see what happened here, and will 
> let you know as soon as I hear back from them.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, November 10, 2015 at 10:09:09 AM UTC-5, peter... wrote:
>>
>> Hi 
>>
>> No, I can't see any logs in our system despite the fact that the request 
>> has failed - but those logs were logged a few minutes later because further 
>> request were logged aggregated by our application. 
>>
>> The first example (PRODUCT_PARTITION_ALREADY_EXISTS from 30.10.2015) that 
>> I've posted to this thread happened on  
>>
>> 29.10.2015 21:17:20,497
>>
>> requestId (taken from response) = 00052343fe9006900a0ddbd10203b361
>>
>>
>> I can definitely see from the SOAP logs (from the Adwords API) that a new 
>> group was created and the product partition add request was only sent once. 
>> Does this help ?
>>
>>
>>
>> Am Dienstag, 3. November 2015 17:42:00 UTC+1 schrieb Josh Radcliff 
>> (AdWords API Team):
>>>
>>> Hi,
>>>
>>> I took a look at the requests coming from your developer token, and I 
>>> see REMOVE mutate requests coming in for that ad group's criteria at the 
>>> following times:
>>>
>>> ViennaTime : 2015-10-30 06:05:40
>>> Successful : True
>>>
>>> ViennaTime : 2015-10-30 06:06:04
>>> Successful : False
>>>
>>> In the user interface, I see the product groups were removed via the API 
>>> at 2015-10-30 06:06:07. I realize that is after the 2nd request, but 
>>> I'm theorizing that the first request may have taken 27 seconds to 
>>> complete. Do you happen to have timestamps in your logs for those requests?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:

 Hi Josh 

 These are really wild assumptions, but for me it looks like that I can 
 see the same problem with other requests regarding shopping ad group 
 criterions too. 

 I've got another case that looks pretty similar to me (though I cannot 
 prove this since I do not have SOAP logs for this). But from our logs I 
 can 
 see that we've sent a deletion request for shopping ad group criterions 
 (e.g.: item id = 333518-105, criterion id = 139771732115, ad group id = 
 23172885875, campaign id = 321117275). The product partition was 
 successfully deleted - I can see this in the change logs in the Adwords UI 
 (30.10.2015 
 06:06:07). But my application logs tell me that the API returned an 
 error
 Errors while removing group item bids: Group 23172885875: Item 
 333518-105: 
 [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;]; 

 For me it looks like that someone duplicates the same request. I've 
 double checked our logs and they tell me that it's not our application (as 
 stated above I unfortunately cannot see the SOAP request directly). 
 When looking at the SOAP logs that I've provided earlier I assume the 
 same could have happened here.


 Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff 
 (AdWords API Team):
>
> Hi Peter,
>
> Are you running multiple threads that are mutating the trees in 
> question? I ask because I looked at two of your requests from today that 
> failed with PRODUCT_PARTITION_ALREADY_EXISTS followed 
> by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
> question *does* already exist in the ad group.
>
> The requests I checked were for ad group IDs 21637072081 
> and 21637229281, both under campaign ID 345581401.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:
>>
>> Hi Josh
>>
>> Could the usage of not using distinct temporary IDs cause this 
>> problem ? As stated above, 99% of my requests succeed (and we've 
>> actually 
>> sent millions of them until now). 
>>
>> The tree is correct for our purposes. It will be changed by other 
>> requests later on. The problem doesn't seem to be related to the actual 
>> tree anyhow. We also see this error when we are trying to add child 
>> partitions to already existing ones. This, however, is very hard to 
>> reproduce for me since I cannot just add logs for every SOAP request to 
>> our 
>> live application and wait for a few days for this to happen. Even this 
>> simple case required hammering against the API with a local test script 
>> for 
>> a few hours. 
>>
>> Thanks! 
>> Peter
>>
>> Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff 
>> (

Re: Error trying to get all client customer id's for a manager account in java

2015-11-16 Thread martin
Thanks for the reply, Umesh. I ultimately solved the issue on my own by 
excluding any dependency which used guice 3.0, using mvn dependency:tree 
-Dverbose -Dincludes=com.google.inject to identify them.

On Wednesday, November 11, 2015 at 2:06:26 PM UTC-8, Umesh Dengale wrote:
>
> Hello,
>
> Could you provide the dependencies from pom.xml and library version you 
> are using (e.g. v201506 or v201509 etc.)? 
>
> 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/c98bfece-c9fd-4a16-9ab7-1bb00900c684%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error creating campaign when account limit reached

2015-11-16 Thread Josh Radcliff (AdWords API Team)
Hi Albert,

Do you have the customer ID of an account where you saw this behavior so I 
can look into the request?

Thanks,
Josh, AdWords API Team

On Thursday, November 12, 2015 at 12:43:39 PM UTC-5,  wrote:
>
> Hello Albert Morcillo I can confirm sometimes we can add more than 10.000 
> campaigns in a single account. Im working in a test account and sometimes I 
> was able to add around 50.000 campaigns into a single account whithout any 
> complains from the API side. Sometimes I receive account limit exceeded  at 
> 10.000 campaigns as it should be. Its seems adwords api does not check 
> account limits in real time. And I must notice that in all situations all 
> the campaigns did apperar in Adwords website. It seems its 2 different 
> problems with some common behaviours.
>
> On Wednesday, November 11, 2015 at 5:00:26 PM UTC-2, Albert Morcillo wrote:
>>
>> Hi,
>>
>> I detected when I create a new Campaign and I reached the account limit 
>> (10.000 campaigns), I receive a new campaign Id, and it seams the campaign 
>> is created (the mutate response is returning a new campaign object), but it 
>> didn't appear at Adwords website. 
>>
>> I think it should be better to return and error like 
>> "ACCOUNT_LIMIT_REACHED", because in some automatic processes where we don't 
>> check how many campaign exists for the given account it could produce some 
>> misunderstood.
>>
>> I don't know if this happens too in AdGroups, Keywords, etc. it's 
>> something interesting to fix.
>>
>> Regards,
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/423774f6-2cc8-4523-9e06-ed77e381a83e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error creating campaign when account limit reached

2015-11-12 Thread jefferson
Hello Albert Morcillo I can confirm sometimes we can add more than 10.000 
campaigns in a single account. Im working in a test account and sometimes I 
was able to add around 50.000 campaigns into a single account whithout any 
complains from the API side. Sometimes I receive account limit exceeded  at 
10.000 campaigns as it should be. Its seems adwords api does not check 
account limits in real time. And I must notice that in all situations all 
the campaigns did apperar in Adwords website. It seems its 2 different 
problems with some common behaviours.

On Wednesday, November 11, 2015 at 5:00:26 PM UTC-2, Albert Morcillo wrote:
>
> Hi,
>
> I detected when I create a new Campaign and I reached the account limit 
> (10.000 campaigns), I receive a new campaign Id, and it seams the campaign 
> is created (the mutate response is returning a new campaign object), but it 
> didn't appear at Adwords website. 
>
> I think it should be better to return and error like 
> "ACCOUNT_LIMIT_REACHED", because in some automatic processes where we don't 
> check how many campaign exists for the given account it could produce some 
> misunderstood.
>
> I don't know if this happens too in AdGroups, Keywords, etc. it's 
> something interesting to fix.
>
> Regards,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62362a97-93c4-443f-b3c0-e28487030443%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error creating campaign when account limit reached

2015-11-12 Thread Anthony Madrigal
Hi Albert,

That seems like odd behavior that you were able to create a campaign even 
though you reached your limit. Could you please *reply privately to author 
*your 
SOAP request and response that created this campaign?

Thanks,
Anthony
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/d09b2aed-12e2-43bd-a71e-a5957e57d1ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error "Array to string conversion.." with PHP

2015-11-12 Thread Anthony Madrigal
Hi,

Could also provide me with your inputs, so that I could see whether one of 
your array elements is malformed or the PHP library has a bug?

Thanks again,
Anthony
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/f5b55af5-579d-4d96-a02b-c107962574b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error "Array to string conversion.." with PHP

2015-11-12 Thread Anthony Madrigal
Hey,

Could you please provide me with code snippets, in particular, the parts 
with "array chunks" and line 216? Please do so using *reply privately to 
author*.

Thanks,
Anthony
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/92582ac9-6f1c-4b4d-8212-534bff4dc52a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error trying to get all client customer id's for a manager account in java

2015-11-11 Thread Umesh Dengale
Hello,

Could you provide the dependencies from pom.xml and library version you are 
using (e.g. v201506 or v201509 etc.)? 

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/9a78662b-6786-4999-873e-670d4df8d9d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2015-11-11 Thread Josh Radcliff (AdWords API Team)
Hi Peter,

Using that request ID, I found some information on our side that indicates 
that there may have been an unexpected duplication of this request. I'm 
following up with the service owners to see what happened here, and will 
let you know as soon as I hear back from them.

Thanks,
Josh, AdWords API Team

On Tuesday, November 10, 2015 at 10:09:09 AM UTC-5, peter... wrote:
>
> Hi 
>
> No, I can't see any logs in our system despite the fact that the request 
> has failed - but those logs were logged a few minutes later because further 
> request were logged aggregated by our application. 
>
> The first example (PRODUCT_PARTITION_ALREADY_EXISTS from 30.10.2015) that 
> I've posted to this thread happened on  
>
> 29.10.2015 21:17:20,497
>
> requestId (taken from response) = 00052343fe9006900a0ddbd10203b361
>
>
> I can definitely see from the SOAP logs (from the Adwords API) that a new 
> group was created and the product partition add request was only sent once. 
> Does this help ?
>
>
>
> Am Dienstag, 3. November 2015 17:42:00 UTC+1 schrieb Josh Radcliff 
> (AdWords API Team):
>>
>> Hi,
>>
>> I took a look at the requests coming from your developer token, and I see 
>> REMOVE mutate requests coming in for that ad group's criteria at the 
>> following times:
>>
>> ViennaTime : 2015-10-30 06:05:40
>> Successful : True
>>
>> ViennaTime : 2015-10-30 06:06:04
>> Successful : False
>>
>> In the user interface, I see the product groups were removed via the API 
>> at 2015-10-30 06:06:07. I realize that is after the 2nd request, but I'm 
>> theorizing that the first request may have taken 27 seconds to complete. Do 
>> you happen to have timestamps in your logs for those requests?
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:
>>>
>>> Hi Josh 
>>>
>>> These are really wild assumptions, but for me it looks like that I can 
>>> see the same problem with other requests regarding shopping ad group 
>>> criterions too. 
>>>
>>> I've got another case that looks pretty similar to me (though I cannot 
>>> prove this since I do not have SOAP logs for this). But from our logs I can 
>>> see that we've sent a deletion request for shopping ad group criterions 
>>> (e.g.: item id = 333518-105, criterion id = 139771732115, ad group id = 
>>> 23172885875, campaign id = 321117275). The product partition was 
>>> successfully deleted - I can see this in the change logs in the Adwords UI 
>>> (30.10.2015 
>>> 06:06:07). But my application logs tell me that the API returned an 
>>> error
>>> Errors while removing group item bids: Group 23172885875: Item 
>>> 333518-105: 
>>> [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;]; 
>>>
>>> For me it looks like that someone duplicates the same request. I've 
>>> double checked our logs and they tell me that it's not our application (as 
>>> stated above I unfortunately cannot see the SOAP request directly). 
>>> When looking at the SOAP logs that I've provided earlier I assume the 
>>> same could have happened here.
>>>
>>>
>>> Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff 
>>> (AdWords API Team):

 Hi Peter,

 Are you running multiple threads that are mutating the trees in 
 question? I ask because I looked at two of your requests from today that 
 failed with PRODUCT_PARTITION_ALREADY_EXISTS followed 
 by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
 question *does* already exist in the ad group.

 The requests I checked were for ad group IDs 21637072081 
 and 21637229281, both under campaign ID 345581401.

 Thanks,
 Josh, AdWords API Team

 On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:
>
> Hi Josh
>
> Could the usage of not using distinct temporary IDs cause this problem 
> ? As stated above, 99% of my requests succeed (and we've actually sent 
> millions of them until now). 
>
> The tree is correct for our purposes. It will be changed by other 
> requests later on. The problem doesn't seem to be related to the actual 
> tree anyhow. We also see this error when we are trying to add child 
> partitions to already existing ones. This, however, is very hard to 
> reproduce for me since I cannot just add logs for every SOAP request to 
> our 
> live application and wait for a few days for this to happen. Even this 
> simple case required hammering against the API with a local test script 
> for 
> a few hours. 
>
> Thanks! 
> Peter
>
> Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff 
> (AdWords API Team):
>>
>> Hi,
>>
>> I noticed that your request is operating on two ad groups but you are 
>> reusing the same temporary ID for both. I would recommend using distinct 
>> temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within 
>>>

Re: Error during product partition creation

2015-11-10 Thread peter . rietzler
Hi 

No, I can't see any logs in our system despite the fact that the request 
has failed - but those logs were logged a few minutes later because further 
request were logged aggregated by our application. 

The first example (PRODUCT_PARTITION_ALREADY_EXISTS from 30.10.2015) that 
I've posted to this thread happened on  

29.10.2015 21:17:20,497

requestId (taken from response) = 00052343fe9006900a0ddbd10203b361


I can definitely see from the SOAP logs (from the Adwords API) that a new 
group was created and the product partition add request was only sent once. 
Does this help ?



Am Dienstag, 3. November 2015 17:42:00 UTC+1 schrieb Josh Radcliff (AdWords 
API Team):
>
> Hi,
>
> I took a look at the requests coming from your developer token, and I see 
> REMOVE mutate requests coming in for that ad group's criteria at the 
> following times:
>
> ViennaTime : 2015-10-30 06:05:40
> Successful : True
>
> ViennaTime : 2015-10-30 06:06:04
> Successful : False
>
> In the user interface, I see the product groups were removed via the API 
> at 2015-10-30 06:06:07. I realize that is after the 2nd request, but I'm 
> theorizing that the first request may have taken 27 seconds to complete. Do 
> you happen to have timestamps in your logs for those requests?
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:
>>
>> Hi Josh 
>>
>> These are really wild assumptions, but for me it looks like that I can 
>> see the same problem with other requests regarding shopping ad group 
>> criterions too. 
>>
>> I've got another case that looks pretty similar to me (though I cannot 
>> prove this since I do not have SOAP logs for this). But from our logs I can 
>> see that we've sent a deletion request for shopping ad group criterions 
>> (e.g.: item id = 333518-105, criterion id = 139771732115, ad group id = 
>> 23172885875, campaign id = 321117275). The product partition was 
>> successfully deleted - I can see this in the change logs in the Adwords UI 
>> (30.10.2015 
>> 06:06:07). But my application logs tell me that the API returned an error
>> Errors while removing group item bids: Group 23172885875: Item 
>> 333518-105: 
>> [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;]; 
>>
>> For me it looks like that someone duplicates the same request. I've 
>> double checked our logs and they tell me that it's not our application (as 
>> stated above I unfortunately cannot see the SOAP request directly). 
>> When looking at the SOAP logs that I've provided earlier I assume the 
>> same could have happened here.
>>
>>
>> Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff (AdWords 
>> API Team):
>>>
>>> Hi Peter,
>>>
>>> Are you running multiple threads that are mutating the trees in 
>>> question? I ask because I looked at two of your requests from today that 
>>> failed with PRODUCT_PARTITION_ALREADY_EXISTS followed 
>>> by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
>>> question *does* already exist in the ad group.
>>>
>>> The requests I checked were for ad group IDs 21637072081 
>>> and 21637229281, both under campaign ID 345581401.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:

 Hi Josh

 Could the usage of not using distinct temporary IDs cause this problem 
 ? As stated above, 99% of my requests succeed (and we've actually sent 
 millions of them until now). 

 The tree is correct for our purposes. It will be changed by other 
 requests later on. The problem doesn't seem to be related to the actual 
 tree anyhow. We also see this error when we are trying to add child 
 partitions to already existing ones. This, however, is very hard to 
 reproduce for me since I cannot just add logs for every SOAP request to 
 our 
 live application and wait for a few days for this to happen. Even this 
 simple case required hammering against the API with a local test script 
 for 
 a few hours. 

 Thanks! 
 Peter

 Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff 
 (AdWords API Team):
>
> Hi,
>
> I noticed that your request is operating on two ad groups but you are 
> reusing the same temporary ID for both. I would recommend using distinct 
> temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within 
> a single request.
>
> Also, in each case you are constructing what looks like an invalid 
> product partition tree 
> ,
>  
> consisting of:
>
>  ROOT (-1 biddable SUBDIVISION)
> /
>   ProductOfferId (negative UNIT)
>
> It looks like you are trying to create a 2nd level of the tree that 
> excludes *everything*, since you don't have other UNIT nodes at that 
> level and th

Re: Error during product partition creation

2015-11-03 Thread Josh Radcliff (AdWords API Team)
Hi,

I took a look at the requests coming from your developer token, and I see 
REMOVE mutate requests coming in for that ad group's criteria at the 
following times:

ViennaTime : 2015-10-30 06:05:40
Successful : True

ViennaTime : 2015-10-30 06:06:04
Successful : False

In the user interface, I see the product groups were removed via the API at 
2015-10-30 
06:06:07. I realize that is after the 2nd request, but I'm theorizing that 
the first request may have taken 27 seconds to complete. Do you happen to 
have timestamps in your logs for those requests?

Thanks,
Josh, AdWords API Team

On Tuesday, November 3, 2015 at 8:41:56 AM UTC-5, peter... wrote:
>
> Hi Josh 
>
> These are really wild assumptions, but for me it looks like that I can see 
> the same problem with other requests regarding shopping ad group criterions 
> too. 
>
> I've got another case that looks pretty similar to me (though I cannot 
> prove this since I do not have SOAP logs for this). But from our logs I can 
> see that we've sent a deletion request for shopping ad group criterions 
> (e.g.: item id = 333518-105, criterion id = 139771732115, ad group id = 
> 23172885875, campaign id = 321117275). The product partition was 
> successfully deleted - I can see this in the change logs in the Adwords UI 
> (30.10.2015 
> 06:06:07). But my application logs tell me that the API returned an error
> Errors while removing group item bids: Group 23172885875: Item 333518-105: 
> [EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;]; 
>
> For me it looks like that someone duplicates the same request. I've double 
> checked our logs and they tell me that it's not our application (as stated 
> above I unfortunately cannot see the SOAP request directly). 
> When looking at the SOAP logs that I've provided earlier I assume the same 
> could have happened here.
>
>
> Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff (AdWords 
> API Team):
>>
>> Hi Peter,
>>
>> Are you running multiple threads that are mutating the trees in question? 
>> I ask because I looked at two of your requests from today that failed 
>> with PRODUCT_PARTITION_ALREADY_EXISTS followed 
>> by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
>> question *does* already exist in the ad group.
>>
>> The requests I checked were for ad group IDs 21637072081 and 21637229281, 
>> both under campaign ID 345581401.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:
>>>
>>> Hi Josh
>>>
>>> Could the usage of not using distinct temporary IDs cause this problem ? 
>>> As stated above, 99% of my requests succeed (and we've actually sent 
>>> millions of them until now). 
>>>
>>> The tree is correct for our purposes. It will be changed by other 
>>> requests later on. The problem doesn't seem to be related to the actual 
>>> tree anyhow. We also see this error when we are trying to add child 
>>> partitions to already existing ones. This, however, is very hard to 
>>> reproduce for me since I cannot just add logs for every SOAP request to our 
>>> live application and wait for a few days for this to happen. Even this 
>>> simple case required hammering against the API with a local test script for 
>>> a few hours. 
>>>
>>> Thanks! 
>>> Peter
>>>
>>> Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff 
>>> (AdWords API Team):

 Hi,

 I noticed that your request is operating on two ad groups but you are 
 reusing the same temporary ID for both. I would recommend using distinct 
 temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within 
 a single request.

 Also, in each case you are constructing what looks like an invalid 
 product partition tree 
 ,
  
 consisting of:

  ROOT (-1 biddable SUBDIVISION)
 /
   ProductOfferId (negative UNIT)

 It looks like you are trying to create a 2nd level of the tree that 
 excludes *everything*, since you don't have other UNIT nodes at that 
 level and the object is a *NegativeAdGroupCriterion*. If you subdivide 
 the tree by a dimension (offer ID in this case), you must have at least 
 *two* UNIT nodes: one for "Everything else" (*ProductOfferId* with a 
 null value) and at least one for a specific *ProductOfferId* with a 
 non-null value. Otherwise, the subdivision does not serve any purpose.

 Thanks,
 Josh, AdWords API Team

 On Friday, October 30, 2015 at 6:35:58 AM UTC-4, peter... wrote:
>
> It looks like that we have the same problem. 
>
> We create a brand new AdGroup, then send the following request:
>
> 
>https://adwords.google.com/api/adwords/cm/v201506";>
> 
>ADD
> https://adwords.google.com/api/adwords/cm/v201506"; 
>>

Re: Error during product partition creation

2015-11-03 Thread peter . rietzler
Hi Josh 

These are really wild assumptions, but for me it looks like that I can see 
the same problem with other requests regarding shopping ad group criterions 
too. 

I've got another case that looks pretty similar to me (though I cannot 
prove this since I do not have SOAP logs for this). But from our logs I can 
see that we've sent a deletion request for shopping ad group criterions 
(e.g.: item id = 333518-105, criterion id = 139771732115, ad group id = 
23172885875, campaign id = 321117275). The product partition was 
successfully deleted - I can see this in the change logs in the Adwords UI 
(30.10.2015 
06:06:07). But my application logs tell me that the API returned an error
Errors while removing group item bids: Group 23172885875: Item 333518-105: 
[EntityNotFound,CriterionId{id=139771732115},EntityNotFound.INVALID_ID;]; 

For me it looks like that someone duplicates the same request. I've double 
checked our logs and they tell me that it's not our application (as stated 
above I unfortunately cannot see the SOAP request directly). 
When looking at the SOAP logs that I've provided earlier I assume the same 
could have happened here.


Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff (AdWords 
API Team):
>
> Hi Peter,
>
> Are you running multiple threads that are mutating the trees in question? 
> I ask because I looked at two of your requests from today that failed 
> with PRODUCT_PARTITION_ALREADY_EXISTS followed 
> by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
> question *does* already exist in the ad group.
>
> The requests I checked were for ad group IDs 21637072081 and 21637229281, 
> both under campaign ID 345581401.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:
>>
>> Hi Josh
>>
>> Could the usage of not using distinct temporary IDs cause this problem ? 
>> As stated above, 99% of my requests succeed (and we've actually sent 
>> millions of them until now). 
>>
>> The tree is correct for our purposes. It will be changed by other 
>> requests later on. The problem doesn't seem to be related to the actual 
>> tree anyhow. We also see this error when we are trying to add child 
>> partitions to already existing ones. This, however, is very hard to 
>> reproduce for me since I cannot just add logs for every SOAP request to our 
>> live application and wait for a few days for this to happen. Even this 
>> simple case required hammering against the API with a local test script for 
>> a few hours. 
>>
>> Thanks! 
>> Peter
>>
>> Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff 
>> (AdWords API Team):
>>>
>>> Hi,
>>>
>>> I noticed that your request is operating on two ad groups but you are 
>>> reusing the same temporary ID for both. I would recommend using distinct 
>>> temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within a 
>>> single request.
>>>
>>> Also, in each case you are constructing what looks like an invalid 
>>> product partition tree 
>>> ,
>>>  
>>> consisting of:
>>>
>>>  ROOT (-1 biddable SUBDIVISION)
>>> /
>>>   ProductOfferId (negative UNIT)
>>>
>>> It looks like you are trying to create a 2nd level of the tree that 
>>> excludes *everything*, since you don't have other UNIT nodes at that 
>>> level and the object is a *NegativeAdGroupCriterion*. If you subdivide 
>>> the tree by a dimension (offer ID in this case), you must have at least 
>>> *two* UNIT nodes: one for "Everything else" (*ProductOfferId* with a 
>>> null value) and at least one for a specific *ProductOfferId* with a 
>>> non-null value. Otherwise, the subdivision does not serve any purpose.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, October 30, 2015 at 6:35:58 AM UTC-4, peter... wrote:

 It looks like that we have the same problem. 

 We create a brand new AdGroup, then send the following request:

 
https://adwords.google.com/api/adwords/cm/v201506
 ">
 
ADD
 https://adwords.google.com/api/adwords/cm/v201506"; 
 xsi:type="ns2:BiddableAdGroupCriterion">
22340202143

-1
   
  SUBDIVISION

  
 
 
ADD
 https://adwords.google.com/api/adwords/cm/v201506"; 
 xsi:type="ns3:NegativeAdGroupCriterion">
22340202143

UNIT
-1


 
 
 
ADD
 https://adwords.google.com/api/adwords/cm/v201506"; 
 xsi:type="ns4:BiddableAdGroupCriteri

Re: Error during product partition creation

2015-11-03 Thread peter . rietzler
 

i Josh 


Our app definitely mutates trees in parallel - but it never mutates trees 
in parallel belonging to the same campaigns. The requests that I sent 
before were reproduced in a single-threaded sandbox. The requests you 
mention are requests that our app tries to send once a day exactly because 
of this issue (it’s a follow up error on our side). The first occurrence 
(the one that should be this issue) must have been somewhere around 
2015-10-30 16:35:32 (+/- a few minutes) - maybe this helps. We currently 
resolve this on our side by reacting to the error - we will just query the 
external id of the existing partition. This is released on our system 
tomorrow - so it will definitely get harder for me to find the underlying 
requests since no special logging is done on our side due to the fact that 
this case gets business as usual … sorry.


Here is some additional info from our side: We've got other code that 
creates many product partitions - and we’ve never seen this before. The 
difference is that this code (the one working w/o any problems) never 
creates product partitions for more than one ad group at a time. The code 
where the issues arises sends stuff in batches to the API and mutates a 
maximum of 2 ad groups at a time (since this is the maximum allowed by the 
API).


Thanks!

Peter

Am Montag, 2. November 2015 19:56:56 UTC+1 schrieb Josh Radcliff (AdWords 
API Team):
>
> Hi Peter,
>
> Are you running multiple threads that are mutating the trees in question? 
> I ask because I looked at two of your requests from today that failed 
> with PRODUCT_PARTITION_ALREADY_EXISTS followed 
> by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
> question *does* already exist in the ad group.
>
> The requests I checked were for ad group IDs 21637072081 and 21637229281, 
> both under campaign ID 345581401.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:
>>
>> Hi Josh
>>
>> Could the usage of not using distinct temporary IDs cause this problem ? 
>> As stated above, 99% of my requests succeed (and we've actually sent 
>> millions of them until now). 
>>
>> The tree is correct for our purposes. It will be changed by other 
>> requests later on. The problem doesn't seem to be related to the actual 
>> tree anyhow. We also see this error when we are trying to add child 
>> partitions to already existing ones. This, however, is very hard to 
>> reproduce for me since I cannot just add logs for every SOAP request to our 
>> live application and wait for a few days for this to happen. Even this 
>> simple case required hammering against the API with a local test script for 
>> a few hours. 
>>
>> Thanks! 
>> Peter
>>
>> Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff 
>> (AdWords API Team):
>>>
>>> Hi,
>>>
>>> I noticed that your request is operating on two ad groups but you are 
>>> reusing the same temporary ID for both. I would recommend using distinct 
>>> temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within a 
>>> single request.
>>>
>>> Also, in each case you are constructing what looks like an invalid 
>>> product partition tree 
>>> ,
>>>  
>>> consisting of:
>>>
>>>  ROOT (-1 biddable SUBDIVISION)
>>> /
>>>   ProductOfferId (negative UNIT)
>>>
>>> It looks like you are trying to create a 2nd level of the tree that 
>>> excludes *everything*, since you don't have other UNIT nodes at that 
>>> level and the object is a *NegativeAdGroupCriterion*. If you subdivide 
>>> the tree by a dimension (offer ID in this case), you must have at least 
>>> *two* UNIT nodes: one for "Everything else" (*ProductOfferId* with a 
>>> null value) and at least one for a specific *ProductOfferId* with a 
>>> non-null value. Otherwise, the subdivision does not serve any purpose.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, October 30, 2015 at 6:35:58 AM UTC-4, peter... wrote:

 It looks like that we have the same problem. 

 We create a brand new AdGroup, then send the following request:

 
https://adwords.google.com/api/adwords/cm/v201506
 ">
 
ADD
 https://adwords.google.com/api/adwords/cm/v201506"; 
 xsi:type="ns2:BiddableAdGroupCriterion">
22340202143

-1
   
  SUBDIVISION

  
 
 
ADD
 https://adwords.google.com/api/adwords/cm/v201506"; 
 xsi:type="ns3:NegativeAdGroupCriterion">
22340202143

UNIT
-1


 
   

Re: Error during product partition creation

2015-11-02 Thread Josh Radcliff (AdWords API Team)
Hi Peter,

Are you running multiple threads that are mutating the trees in question? I 
ask because I looked at two of your requests from today that failed 
with PRODUCT_PARTITION_ALREADY_EXISTS followed 
by PRODUCT_PARTITION_DOES_NOT_EXIST, and in both cases the partition in 
question *does* already exist in the ad group.

The requests I checked were for ad group IDs 21637072081 and 21637229281, 
both under campaign ID 345581401.

Thanks,
Josh, AdWords API Team

On Monday, November 2, 2015 at 12:30:38 AM UTC-5, peter... wrote:
>
> Hi Josh
>
> Could the usage of not using distinct temporary IDs cause this problem ? 
> As stated above, 99% of my requests succeed (and we've actually sent 
> millions of them until now). 
>
> The tree is correct for our purposes. It will be changed by other requests 
> later on. The problem doesn't seem to be related to the actual tree anyhow. 
> We also see this error when we are trying to add child partitions to 
> already existing ones. This, however, is very hard to reproduce for me 
> since I cannot just add logs for every SOAP request to our live application 
> and wait for a few days for this to happen. Even this simple case required 
> hammering against the API with a local test script for a few hours. 
>
> Thanks! 
> Peter
>
> Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff (AdWords 
> API Team):
>>
>> Hi,
>>
>> I noticed that your request is operating on two ad groups but you are 
>> reusing the same temporary ID for both. I would recommend using distinct 
>> temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within a 
>> single request.
>>
>> Also, in each case you are constructing what looks like an invalid 
>> product partition tree 
>> ,
>>  
>> consisting of:
>>
>>  ROOT (-1 biddable SUBDIVISION)
>> /
>>   ProductOfferId (negative UNIT)
>>
>> It looks like you are trying to create a 2nd level of the tree that 
>> excludes *everything*, since you don't have other UNIT nodes at that 
>> level and the object is a *NegativeAdGroupCriterion*. If you subdivide 
>> the tree by a dimension (offer ID in this case), you must have at least 
>> *two* UNIT nodes: one for "Everything else" (*ProductOfferId* with a 
>> null value) and at least one for a specific *ProductOfferId* with a 
>> non-null value. Otherwise, the subdivision does not serve any purpose.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Friday, October 30, 2015 at 6:35:58 AM UTC-4, peter... wrote:
>>>
>>> It looks like that we have the same problem. 
>>>
>>> We create a brand new AdGroup, then send the following request:
>>>
>>> 
>>>https://adwords.google.com/api/adwords/cm/v201506
>>> ">
>>> 
>>>ADD
>>> https://adwords.google.com/api/adwords/cm/v201506"; 
>>> xsi:type="ns2:BiddableAdGroupCriterion">
>>>22340202143
>>>
>>>-1
>>>SUBDIVISION
>>>
>>>  
>>> 
>>> 
>>>ADD
>>> https://adwords.google.com/api/adwords/cm/v201506"; 
>>> xsi:type="ns3:NegativeAdGroupCriterion">
>>>22340202143
>>>
>>>UNIT
>>>-1
>>>
>>>
>>> 
>>> 
>>> 
>>>ADD
>>> https://adwords.google.com/api/adwords/cm/v201506"; 
>>> xsi:type="ns4:BiddableAdGroupCriterion">
>>>22340202263
>>>
>>>-1
>>>SUBDIVISION
>>>
>>> 
>>> 
>>> 
>>>ADD
>>> https://adwords.google.com/api/adwords/cm/v201506"; 
>>> xsi:type="ns5:NegativeAdGroupCriterion">
>>>22340202263
>>>
>>>UNIT
>>>-1
>>>
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>> and *sporadically* get back
>>>
>>> 
>>> 
>>>soap:Server
>>> 
>>> [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
>>> operations[2].operand.criterion, 
>>> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
>>> operations[3].operand.criterion.parentCriterionId; 
>>> trigger:'TempCriterionId{id=1}']
>>> 
>>>https://adwords.google.com/api/adwords/cm/v201506";>
>>> 
>>> [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
>>> operations[2].operand.criterion, 
>>> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
>>> operations[3].operand.criterion.parentCriterionId; 
>>> trigger:'TempCriterionId{id=1}']
>>>   
>>>  ApiException
>>>http://www.w3.org/2

Re: Error during product partition creation

2015-11-01 Thread peter . rietzler
Hi Josh

Could the usage of not using distinct temporary IDs cause this problem ? As 
stated above, 99% of my requests succeed (and we've actually sent millions 
of them until now). 

The tree is correct for our purposes. It will be changed by other requests 
later on. The problem doesn't seem to be related to the actual tree anyhow. 
We also see this error when we are trying to add child partitions to 
already existing ones. This, however, is very hard to reproduce for me 
since I cannot just add logs for every SOAP request to our live application 
and wait for a few days for this to happen. Even this simple case required 
hammering against the API with a local test script for a few hours. 

Thanks! 
Peter

Am Freitag, 30. Oktober 2015 20:43:58 UTC+1 schrieb Josh Radcliff (AdWords 
API Team):
>
> Hi,
>
> I noticed that your request is operating on two ad groups but you are 
> reusing the same temporary ID for both. I would recommend using distinct 
> temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within a 
> single request.
>
> Also, in each case you are constructing what looks like an invalid 
> product partition tree 
> ,
>  
> consisting of:
>
>  ROOT (-1 biddable SUBDIVISION)
> /
>   ProductOfferId (negative UNIT)
>
> It looks like you are trying to create a 2nd level of the tree that 
> excludes *everything*, since you don't have other UNIT nodes at that 
> level and the object is a *NegativeAdGroupCriterion*. If you subdivide 
> the tree by a dimension (offer ID in this case), you must have at least 
> *two* UNIT nodes: one for "Everything else" (*ProductOfferId* with a null 
> value) and at least one for a specific *ProductOfferId* with a non-null 
> value. Otherwise, the subdivision does not serve any purpose.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, October 30, 2015 at 6:35:58 AM UTC-4, peter... wrote:
>>
>> It looks like that we have the same problem. 
>>
>> We create a brand new AdGroup, then send the following request:
>>
>> 
>>https://adwords.google.com/api/adwords/cm/v201506";>
>> 
>>ADD
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> xsi:type="ns2:BiddableAdGroupCriterion">
>>22340202143
>>
>>-1
>>SUBDIVISION
>>
>>  
>> 
>> 
>>ADD
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> xsi:type="ns3:NegativeAdGroupCriterion">
>>22340202143
>>
>>UNIT
>>-1
>>
>>
>> 
>> 
>> 
>>ADD
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> xsi:type="ns4:BiddableAdGroupCriterion">
>>22340202263
>>
>>-1
>>SUBDIVISION
>>
>> 
>> 
>> 
>>ADD
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> xsi:type="ns5:NegativeAdGroupCriterion">
>>22340202263
>>
>>UNIT
>>-1
>>
>>
>> 
>> 
>> 
>> 
>>
>> and *sporadically* get back
>>
>> 
>> 
>>soap:Server
>> 
>> [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
>> operations[2].operand.criterion, 
>> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
>> operations[3].operand.criterion.parentCriterionId; 
>> trigger:'TempCriterionId{id=1}']
>> 
>>https://adwords.google.com/api/adwords/cm/v201506";>
>> 
>> [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
>> operations[2].operand.criterion, 
>> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
>> operations[3].operand.criterion.parentCriterionId; 
>> trigger:'TempCriterionId{id=1}']
>>   
>>  ApiException
>>http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="AdGroupCriterionError">
>>operations[2].operand.criterion
>>
>>   
>>  
>> AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS
>>AdGroupCriterionError
>>PRODUCT_PARTITION_ALREADY_EXISTS
>> 
>>http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="AdGroupCriterionError">
>>   
>>  operations[3].operand.criterion.parentCriterionId
>>TempCriterionId{id=1}
>>   
>>  
>> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST
>>AdGroupCrit

Re: Error during product partition creation

2015-10-30 Thread Josh Radcliff (AdWords API Team)
Hi,

I noticed that your request is operating on two ad groups but you are 
reusing the same temporary ID for both. I would recommend using distinct 
temporary IDs for distinct *Biddable/NegativeAdGroupCriterion* within a 
single request.

Also, in each case you are constructing what looks like an invalid product 
partition tree 
, 
consisting of:

 ROOT (-1 biddable SUBDIVISION)
/
  ProductOfferId (negative UNIT)

It looks like you are trying to create a 2nd level of the tree that 
excludes *everything*, since you don't have other UNIT nodes at that level 
and the object is a *NegativeAdGroupCriterion*. If you subdivide the tree 
by a dimension (offer ID in this case), you must have at least *two* UNIT 
nodes: one for "Everything else" (*ProductOfferId* with a null value) and 
at least one for a specific *ProductOfferId* with a non-null value. 
Otherwise, the subdivision does not serve any purpose.

Thanks,
Josh, AdWords API Team

On Friday, October 30, 2015 at 6:35:58 AM UTC-4, peter... wrote:
>
> It looks like that we have the same problem. 
>
> We create a brand new AdGroup, then send the following request:
>
> 
>https://adwords.google.com/api/adwords/cm/v201506";>
> 
>ADD
> https://adwords.google.com/api/adwords/cm/v201506"; 
> xsi:type="ns2:BiddableAdGroupCriterion">
>22340202143
>
>-1
>SUBDIVISION
>
>  
> 
> 
>ADD
> https://adwords.google.com/api/adwords/cm/v201506"; 
> xsi:type="ns3:NegativeAdGroupCriterion">
>22340202143
>
>UNIT
>-1
>
>
> 
> 
> 
>ADD
> https://adwords.google.com/api/adwords/cm/v201506"; 
> xsi:type="ns4:BiddableAdGroupCriterion">
>22340202263
>
>-1
>SUBDIVISION
>
> 
> 
> 
>ADD
> https://adwords.google.com/api/adwords/cm/v201506"; 
> xsi:type="ns5:NegativeAdGroupCriterion">
>22340202263
>
>UNIT
>-1
>
>
> 
> 
> 
> 
>
> and *sporadically* get back
>
> 
> 
>soap:Server
> 
> [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
> operations[2].operand.criterion, 
> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
> operations[3].operand.criterion.parentCriterionId; 
> trigger:'TempCriterionId{id=1}']
> 
>https://adwords.google.com/api/adwords/cm/v201506";>
> 
> [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
> operations[2].operand.criterion, 
> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
> operations[3].operand.criterion.parentCriterionId; 
> trigger:'TempCriterionId{id=1}']
>   
>  ApiException
>http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="AdGroupCriterionError">
>operations[2].operand.criterion
>
>   
>  
> AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS
>AdGroupCriterionError
>PRODUCT_PARTITION_ALREADY_EXISTS
> 
>http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="AdGroupCriterionError">
>   
>  operations[3].operand.criterion.parentCriterionId
>TempCriterionId{id=1}
>   
>  
> AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST
>AdGroupCriterionError
>PRODUCT_PARTITION_DOES_NOT_EXIST
> 
>
> 
> 
> 
>
> (request id of this particular response was 
> 00052343fe9006900a0ddbd10203b361 - if this helps).
>
> We also see this error when creating concrete product partitions with case 
> values. It succeeds in 99% of all cases, but we sporadically get back this 
> error. We've seen this only for product partitions so far. Our code is 
> single-threaded.
>
> Am Dienstag, 6. Oktober 2015 16:06:53 UTC+2 schrieb Anthony Madrigal:
>>
>> Hi, 
>>
>> Since you are using the AdGroupCriterionService, do you mean AdGroup 
>> instead of campaign? Could you please send me both your SOAP request and 
>> response for the successful and failed operations through *Reply 
>> privately to author*? This will help me see why it is working for one 
>> and not the other.
>>
>> Thanks,
>> Anthony
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~

Re: Error during product partition creation

2015-10-30 Thread peter . rietzler
It looks like that we have the same problem. 

We create a brand new AdGroup, then send the following request:


   https://adwords.google.com/api/adwords/cm/v201506";>

   ADD
https://adwords.google.com/api/adwords/cm/v201506"; 
xsi:type="ns2:BiddableAdGroupCriterion">
   22340202143
   
   -1
   SUBDIVISION
   
 


   ADD
https://adwords.google.com/api/adwords/cm/v201506"; 
xsi:type="ns3:NegativeAdGroupCriterion">
   22340202143
   
   UNIT
   -1
   
   



   ADD
https://adwords.google.com/api/adwords/cm/v201506"; 
xsi:type="ns4:BiddableAdGroupCriterion">
   22340202263
   
   -1
   SUBDIVISION
   



   ADD
https://adwords.google.com/api/adwords/cm/v201506"; 
xsi:type="ns5:NegativeAdGroupCriterion">
   22340202263
   
   UNIT
   -1
   
   





and *sporadically* get back



   soap:Server

[AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
operations[2].operand.criterion, 
AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
operations[3].operand.criterion.parentCriterionId; 
trigger:'TempCriterionId{id=1}']

   https://adwords.google.com/api/adwords/cm/v201506";>

[AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
operations[2].operand.criterion, 
AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
operations[3].operand.criterion.parentCriterionId; 
trigger:'TempCriterionId{id=1}']
  
 ApiException
   http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AdGroupCriterionError">
   operations[2].operand.criterion
   
  
 
AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS
   AdGroupCriterionError
   PRODUCT_PARTITION_ALREADY_EXISTS

   http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AdGroupCriterionError">
  
 operations[3].operand.criterion.parentCriterionId
   TempCriterionId{id=1}
  
 
AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST
   AdGroupCriterionError
   PRODUCT_PARTITION_DOES_NOT_EXIST

   




(request id of this particular response was 00052343fe9006900a0ddbd10203b361 
- if this helps).

We also see this error when creating concrete product partitions with case 
values. It succeeds in 99% of all cases, but we sporadically get back this 
error. We've seen this only for product partitions so far. Our code is 
single-threaded.

Am Dienstag, 6. Oktober 2015 16:06:53 UTC+2 schrieb Anthony Madrigal:
>
> Hi, 
>
> Since you are using the AdGroupCriterionService, do you mean AdGroup 
> instead of campaign? Could you please send me both your SOAP request and 
> response for the successful and failed operations through *Reply 
> privately to author*? This will help me see why it is working for one and 
> not the other.
>
> Thanks,
> Anthony
> 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/8b6b7634-583e-4708-ab92-6892f77c46f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2015-10-06 Thread Anthony Madrigal
Hi, 

Since you are using the AdGroupCriterionService, do you mean AdGroup 
instead of campaign? Could you please send me both your SOAP request and 
response for the successful and failed operations through *Reply privately 
to author*? This will help me see why it is working for one and not the 
other.

Thanks,
Anthony
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/9255a300-1f1c-44c6-84db-c2269482581f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2015-10-06 Thread pushpendra jaiswal
Thanks for your response .

If my account don't have any active/paused campaign, in the case the code 
works and if account already have a active/paused campaign then doesn't 
work .


On Tuesday, October 6, 2015 at 12:39:55 AM UTC+5:30, Anthony Madrigal wrote:
>
> Hi,
>
> You said that sometimes this code works for you. In what instances does it 
> work? Could you also provide me through *Reply privately to author *your 
> SOAP request and response where you are getting these errors?
>
> Thanks,
> Anthony
> 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/06155de6-2427-4bd9-8b8e-48c4f6218cb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during product partition creation

2015-10-05 Thread Anthony Madrigal
Hi,

You said that sometimes this code works for you. In what instances does it 
work? Could you also provide me through *Reply privately to author *your 
SOAP request and response where you are getting these errors?

Thanks,
Anthony
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/d9eabe47-b7c6-422b-945e-45a82da5bf56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error - Mutatejobservice

2015-09-24 Thread Umesh Dengale
Hi Sri,

I am glad that you are able to update the keywords in bulk. Let us know if 
you need help with any other issues.

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/783b325d-f756-4d96-943a-b1ff7438ada4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: Got 400 response in google-adwords npm (nodejs)

2015-09-24 Thread Anthony Madrigal
Hello,

Please disregard my last response. A colleague pointed out that since this 
is a report request, there is no SOAP request and response. Please instead 
look at your HTTP response for the 400 code. The text should contain more 
details on why this error is occurring. 

Regards,
Anthony
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/c942f6c1-bcdf-4d57-b080-ea5aa907bbc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: Got 400 response in google-adwords npm (nodejs)

2015-09-24 Thread Anthony Madrigal
Hi,

I could further investigate why you are getting this error. To do so, could 
you please *reply privately to author* your SOAP XML request and response?

Thanks,
Anthony
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/2c6ea29c-df90-46fe-b38b-a9113aff79bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error - Mutatejobservice

2015-09-24 Thread srkeshav
Thanks Umesh. I created a a job for every 1000 keywords i want to update 
and got the result for each job instead of creating a job for each keyword.

On Friday, September 18, 2015 at 3:56:18 PM UTC-5, Umesh Dengale wrote:
>
> Hi Sri,
>
> You are getting the *CAN_RETURN_RESULT_FOR_ONLY_ONE_JOB* error because 
> you are passing more than one job id. For the MutateJobService.getResult 
> ()
>  
> operation, it is recommended to submit only one job 
> 
>  id 
> at a time. Please check out our AddKeywordsInBulk 
> 
>  example 
> code from Java client library.
>
> 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/40e98bc4-edba-4c28-ba8d-450abab8b049%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error - Mutatejobservice

2015-09-18 Thread Umesh Dengale
Hi Sri,

You are getting the *CAN_RETURN_RESULT_FOR_ONLY_ONE_JOB* error because you 
are passing more than one job id. For the MutateJobService.getResult 
()
 
operation, it is recommended to submit only one job 

 id 
at a time. Please check out our AddKeywordsInBulk 

 example 
code from Java client library.

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/05ab1ccc-f9ec-4d4a-bf43-7276fbfa0f7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error in pulling adwords reports in a code that was working properly till Sep 03, 2015

2015-09-04 Thread Anthony Madrigal
Hello,

The issue seems to be resolved.

Please let me know if you are still facing any errors regarding this.

Regards,
Anthony
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/c8fa5375-68af-4fd7-a3cc-59928b10e889%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error in pulling adwords reports in a code that was working properly till Sep 03, 2015

2015-09-04 Thread Anthony Madrigal
Hi,

This is an issue with the AdWords API. We are currently in the process of 
getting a solution for this. Once this is resolved, I will let you know.

Regards,
Anthony
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/4eb7d0ff-e52f-4be2-8009-6fcc85920653%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error AuthorizationError.USER_PERMISSION_DENIED in get report

2015-08-05 Thread Umesh Dengale
Hello,

Could you provide SOAP request and response logs? 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/06167355-6e9d-44f8-8030-c383449da5fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during creation of ads - CANNOT_SET_FIELD - URL - V201502

2015-07-24 Thread Umesh Dengale
Hello,

The sunset date 
 for v201409 
is 07/28/2015. Above mentioned changes(Final URL) are applicable to 
V201409. Please check out the AdTextAds 

 example 
(v201409) in the Java client library.

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/da2d2820-bcb3-4d57-bda7-5b0a5c509631%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during creation of ads - CANNOT_SET_FIELD - URL - V201502

2015-07-24 Thread William Perrello
umesh - my info tells me that this change should not be necessary until the 
demise of the 201409 API which is supposed to be supported till next 
tuesday.  Did it get demised early?  

On Tuesday, July 14, 2015 at 2:11:26 PM UTC-4, Umesh Dengale wrote:
>
> Hello,
>
> Please use textAd.*setFinalUrls()* method instead of textAd.setUrl(). 
> Check out our AdTextAds 
> 
>  example 
> in the Java client library. 
>
> 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/082e4fe5-8a92-4c90-abc4-7dd4ad8aea48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error while trying to add a LogicalUserList

2015-07-20 Thread Damien
Hi Josh,

Thank you very much, this solved my problem and I've been able to 
successfully create my LogicalUserList.

Damien

On Monday, July 20, 2015 at 10:24:21 AM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Damien,
>
> I think the issue here is your ruleOperands 
> .
>  
> This attribute should be a list of LogicalUserListOperand 
> s,
>  
> each of which in turn has a *child* UserList element.
>
> So instead of:
>   
> ALL
> 
>   102489659
>
> your request should look like:
>   
> ALL
> 
>   
> 102489659
> 
> Please give that a try and let me know if you run into any other issues.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, July 17, 2015 at 2:36:37 PM UTC-4, Damien wrote:
>>
>> Hi Josh,
>>
>> Here is the Python logger output, you can find the XML request below (all 
>> sensitive information replaced by "[removed]"):
>>
>> DEBUG:suds.transport.http:opening (https://
>> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService?wsdl)
>> DEBUG:suds.transport.http:sending:
>> URL: https://
>> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService
>> HEADERS: {'Content-Type': 'text/xml; charset=utf-8', 'Authorization': 
>> 'Bearer 
>> [removed]', 'SOAPAction': b'""', 'Content-type': 'text/xml; 
>> charset=utf-8', 'Soapaction': b'""'}
>> MESSAGE:
>> b'> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:tns="
>> https://adwords.google.com/api/adwords/rm/v201502"; xmlns:ns2="
>> https://adwords.google.com/api/adwords/cm/v201502"; xmlns:ns0="
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
>> https://adwords.google.com/api/adwords/rm/v201502"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>>  
>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>[removed]>  
>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>[removed]>  
>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>[removed] 
>> (AwApi-Python, googleads/3.5.0, 
>> Python/3.4.3)https://adwords.google.com/api/adwords/cm/v201502";>false>  
>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>falseADD>  
>> xsi:type="ns1:LogicalUserList">[removed] list created at 20150717 
>> 14:18:00Users who visited list A but not B, C 
>> and 
>> DLogicalUserListALL>  
>> xsi:type="ns1:ExpressionRuleUserList">102489659falseList
>>  
>> A created at 20150717 14:17:57Users who visited 
>> a page where URL contains 
>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]NONE>  
>> xsi:type="ns1:ExpressionRuleUserList">102489779falseList
>>  
>> B created at 20150717 14:17:58Users who visited 
>> a page where URL contains 
>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]>  
>> xsi:type="ns1:ExpressionRuleUserList">102489899falseList
>>  
>> C created at 20150717 14:17:58Users who visited 
>> a page where URL contains 
>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]>  
>> xsi:type="ns1:ExpressionRuleUserList">102490019falseList
>>  
>> D created at 20150717 14:17:59Users who visited 
>> a page where URL contains 
>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]'
>> ERROR:suds.client:
>>
>> Thank you for your help,
>>
>> Damien
>>
>> On Friday, July 17, 2015 at 9:26:44 AM UTC-4, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi Damien,
>>>
>>> In the past, I've seen this error when the SOAP XML was malformed. Could 
>>> you post your request XML with sensitive information removed (such as your 
>>> developer token) so I can check it?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Thursday, July 16, 2015 at 8:56:54 AM UTC-4, Damien wrote:

 Hi,

 I am currently working on creating Remarketing lists. I am using the 
 Google AdWords API's Python libraries.

 I needed to create a LogicalUserList combining two 
 ExpressionRuleUserList. This is the error I got:
 suds.WebFault: Server raised fault: 'Cannot construct an instance of 
 com.google.ads.api.services.datax.userlists.LogicalUserListOperand because 
 it is abstract.  You are probably missing an @Uses annotation while 
 invoking public abstract 
 com.google.ads.api.services.datax.userlists.UserListReturnValue 
 com.google.ads.api.services.datax.adwordsuserlist.AdwordsUserListService.mutate(java.util.List)
  
 throws com.google.ads.api.services.common.error.ApiException with params 
 [[com.google.ads.api.services.datax.adwordsuserlist.v201502.jaxbgen.UserListOperation@16687106]].'

 My source code:
 #!/usr/bin/python
 #coding=UTF-8


Re: Error while trying to add a LogicalUserList

2015-07-20 Thread Josh Radcliff (AdWords API Team)
Hi Damien,

I think the issue here is your ruleOperands 
.
 
This attribute should be a list of LogicalUserListOperand 
s,
 
each of which in turn has a *child* UserList element.

So instead of:
  
ALL

  102489659

your request should look like:
  
ALL

  
102489659

Please give that a try and let me know if you run into any other issues.

Thanks,
Josh, AdWords API Team

On Friday, July 17, 2015 at 2:36:37 PM UTC-4, Damien wrote:
>
> Hi Josh,
>
> Here is the Python logger output, you can find the XML request below (all 
> sensitive information replaced by "[removed]"):
>
> DEBUG:suds.transport.http:opening (https://
> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService?wsdl)
> DEBUG:suds.transport.http:sending:
> URL: https://
> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService
> HEADERS: {'Content-Type': 'text/xml; charset=utf-8', 'Authorization': 'Bearer 
> [removed]', 'SOAPAction': b'""', 'Content-type': 'text/xml; charset=utf-8'
> , 'Soapaction': b'""'}
> MESSAGE:
> b' xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:tns="
> https://adwords.google.com/api/adwords/rm/v201502"; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201502"; xmlns:ns0="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/rm/v201502"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>  
> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>[removed]  
> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>[removed]  
> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>[removed] 
> (AwApi-Python, googleads/3.5.0, 
> Python/3.4.3)https://adwords.google.com/api/adwords/cm/v201502";>false  
> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502";>falseADD  
> xsi:type="ns1:LogicalUserList">[removed] list created at 20150717 
> 14:18:00Users who visited list A but not B, C 
> and 
> DLogicalUserListALL  
> xsi:type="ns1:ExpressionRuleUserList">102489659falseList
>  
> A created at 20150717 14:17:57Users who visited 
> a page where URL contains 
> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]NONE  
> xsi:type="ns1:ExpressionRuleUserList">102489779falseList
>  
> B created at 20150717 14:17:58Users who visited 
> a page where URL contains 
> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]  
> xsi:type="ns1:ExpressionRuleUserList">102489899falseList
>  
> C created at 20150717 14:17:58Users who visited 
> a page where URL contains 
> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]  
> xsi:type="ns1:ExpressionRuleUserList">102490019falseList
>  
> D created at 20150717 14:17:59Users who visited 
> a page where URL contains 
> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]'
> ERROR:suds.client:
>
> Thank you for your help,
>
> Damien
>
> On Friday, July 17, 2015 at 9:26:44 AM UTC-4, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Damien,
>>
>> In the past, I've seen this error when the SOAP XML was malformed. Could 
>> you post your request XML with sensitive information removed (such as your 
>> developer token) so I can check it?
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Thursday, July 16, 2015 at 8:56:54 AM UTC-4, Damien wrote:
>>>
>>> Hi,
>>>
>>> I am currently working on creating Remarketing lists. I am using the 
>>> Google AdWords API's Python libraries.
>>>
>>> I needed to create a LogicalUserList combining two 
>>> ExpressionRuleUserList. This is the error I got:
>>> suds.WebFault: Server raised fault: 'Cannot construct an instance of 
>>> com.google.ads.api.services.datax.userlists.LogicalUserListOperand because 
>>> it is abstract.  You are probably missing an @Uses annotation while 
>>> invoking public abstract 
>>> com.google.ads.api.services.datax.userlists.UserListReturnValue 
>>> com.google.ads.api.services.datax.adwordsuserlist.AdwordsUserListService.mutate(java.util.List)
>>>  
>>> throws com.google.ads.api.services.common.error.ApiException with params 
>>> [[com.google.ads.api.services.datax.adwordsuserlist.v201502.jaxbgen.UserListOperation@16687106]].'
>>>
>>> My source code:
>>> #!/usr/bin/python
>>> #coding=UTF-8
>>>
>>> from datetime import date
>>> from datetime import datetime
>>> from datetime import timedelta
>>> from googleads import adwords
>>>
>>> (...)
>>>
>>> def createNewList(client, list_a, list_b):
>>>   # Initialize appropriate service.
>>>   adwords_user_list_service = client.GetService(
>>>   'AdwordsUserListService', version='v201502')
>>>
>>>
>>>   rules = [
>>>  

Re: Error while trying to add a LogicalUserList

2015-07-17 Thread Damien
Hi Josh,

Here is the Python logger output, you can find the XML request below (all 
sensitive information replaced by "[removed]"):

DEBUG:suds.transport.http:opening (https:
//adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService?wsdl)
DEBUG:suds.transport.http:sending:
URL: https:
//adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService
HEADERS: {'Content-Type': 'text/xml; charset=utf-8', 'Authorization': 'Bearer 
[removed]', 'SOAPAction': b'""', 'Content-type': 'text/xml; charset=utf-8', 
'Soapaction': b'""'}
MESSAGE:
b'http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:tns="https://adwords.google.com/api/adwords/rm/v201502"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201502"; 
xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/rm/v201502"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>https://adwords.google.com/api/adwords/cm/v201502";>[removed]https://adwords.google.com/api/adwords/cm/v201502";>[removed]https://adwords.google.com/api/adwords/cm/v201502";>[removed] 
(AwApi-Python, googleads/3.5.0, 
Python/3.4.3)https://adwords.google.com/api/adwords/cm/v201502";>falsehttps://adwords.google.com/api/adwords/cm/v201502";>falseADD[removed] list created at 20150717 
14:18:00Users who visited list A but not B, C 
and 
DLogicalUserListALL102489659falseList
 
A created at 20150717 14:17:57Users who visited 
a page where URL contains 
[removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]NONE102489779falseList
 
B created at 20150717 14:17:58Users who visited 
a page where URL contains 
[removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]102489899falseList
 
C created at 20150717 14:17:58Users who visited 
a page where URL contains 
[removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]102490019falseList
 
D created at 20150717 14:17:59Users who visited 
a page where URL contains 
[removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]'
ERROR:suds.client:

Thank you for your help,

Damien

On Friday, July 17, 2015 at 9:26:44 AM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Damien,
>
> In the past, I've seen this error when the SOAP XML was malformed. Could 
> you post your request XML with sensitive information removed (such as your 
> developer token) so I can check it?
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, July 16, 2015 at 8:56:54 AM UTC-4, Damien wrote:
>>
>> Hi,
>>
>> I am currently working on creating Remarketing lists. I am using the 
>> Google AdWords API's Python libraries.
>>
>> I needed to create a LogicalUserList combining two 
>> ExpressionRuleUserList. This is the error I got:
>> suds.WebFault: Server raised fault: 'Cannot construct an instance of 
>> com.google.ads.api.services.datax.userlists.LogicalUserListOperand because 
>> it is abstract.  You are probably missing an @Uses annotation while 
>> invoking public abstract 
>> com.google.ads.api.services.datax.userlists.UserListReturnValue 
>> com.google.ads.api.services.datax.adwordsuserlist.AdwordsUserListService.mutate(java.util.List)
>>  
>> throws com.google.ads.api.services.common.error.ApiException with params 
>> [[com.google.ads.api.services.datax.adwordsuserlist.v201502.jaxbgen.UserListOperation@16687106]].'
>>
>> My source code:
>> #!/usr/bin/python
>> #coding=UTF-8
>>
>> from datetime import date
>> from datetime import datetime
>> from datetime import timedelta
>> from googleads import adwords
>>
>> (...)
>>
>> def createNewList(client, list_a, list_b):
>>   # Initialize appropriate service.
>>   adwords_user_list_service = client.GetService(
>>   'AdwordsUserListService', version='v201502')
>>
>>
>>   rules = [
>>   {
>>   'ruleOperands': [list_a],
>>   'operator': 'ALL'
>>   },
>>   {
>>   'ruleOperands': [list_b],
>>   'operator': 'NONE'
>>   }
>>   ]
>>
>>
>>   # Create the user list with no restrictions on site visit date.
>>   combination_user_list = {
>>   'xsi_type': 'LogicalUserList',
>>   'name': 'Bouncers list created at %s'
>>   % datetime.today().strftime('%Y%m%d %H:%M:%S'),
>>   'description': 'Users who visited list A but not B',
>>   'rules': rules
>>   #'startDate': today.strftime('%Y%m%d'),
>>   #'endDate': end_date.strftime('%Y%m%d')
>>   }
>>
>>
>>   # Create operations to add the user lists.
>>   operations = [
>>   {
>>   'operand': user_list,
>>   'operator': 'ADD',
>>   } for user_list in [combination_user_list]
>>   ]
>>
>>
>>   # Submit the operations.
>>   user_lists = adwords_user_list_service.mutate(operations)
>>
>>
>>   # Display results.
>>   for user_list in user_lists['value']:
>> print (('User list added with ID %d, name "%s", status "%s", list 
>> type'
>> ' "%s", accountUserListStatus "%s", description "%s".') %
>>(user_list['id'], user

Re: Error while trying to add a LogicalUserList

2015-07-17 Thread Josh Radcliff (AdWords API Team)
Hi Damien,

In the past, I've seen this error when the SOAP XML was malformed. Could 
you post your request XML with sensitive information removed (such as your 
developer token) so I can check it?

Thanks,
Josh, AdWords API Team

On Thursday, July 16, 2015 at 8:56:54 AM UTC-4, Damien wrote:
>
> Hi,
>
> I am currently working on creating Remarketing lists. I am using the 
> Google AdWords API's Python libraries.
>
> I needed to create a LogicalUserList combining two ExpressionRuleUserList. 
> This is the error I got:
> suds.WebFault: Server raised fault: 'Cannot construct an instance of 
> com.google.ads.api.services.datax.userlists.LogicalUserListOperand because 
> it is abstract.  You are probably missing an @Uses annotation while 
> invoking public abstract 
> com.google.ads.api.services.datax.userlists.UserListReturnValue 
> com.google.ads.api.services.datax.adwordsuserlist.AdwordsUserListService.mutate(java.util.List)
>  
> throws com.google.ads.api.services.common.error.ApiException with params 
> [[com.google.ads.api.services.datax.adwordsuserlist.v201502.jaxbgen.UserListOperation@16687106]].'
>
> My source code:
> #!/usr/bin/python
> #coding=UTF-8
>
> from datetime import date
> from datetime import datetime
> from datetime import timedelta
> from googleads import adwords
>
> (...)
>
> def createNewList(client, list_a, list_b):
>   # Initialize appropriate service.
>   adwords_user_list_service = client.GetService(
>   'AdwordsUserListService', version='v201502')
>
>
>   rules = [
>   {
>   'ruleOperands': [list_a],
>   'operator': 'ALL'
>   },
>   {
>   'ruleOperands': [list_b],
>   'operator': 'NONE'
>   }
>   ]
>
>
>   # Create the user list with no restrictions on site visit date.
>   combination_user_list = {
>   'xsi_type': 'LogicalUserList',
>   'name': 'Bouncers list created at %s'
>   % datetime.today().strftime('%Y%m%d %H:%M:%S'),
>   'description': 'Users who visited list A but not B',
>   'rules': rules
>   #'startDate': today.strftime('%Y%m%d'),
>   #'endDate': end_date.strftime('%Y%m%d')
>   }
>
>
>   # Create operations to add the user lists.
>   operations = [
>   {
>   'operand': user_list,
>   'operator': 'ADD',
>   } for user_list in [combination_user_list]
>   ]
>
>
>   # Submit the operations.
>   user_lists = adwords_user_list_service.mutate(operations)
>
>
>   # Display results.
>   for user_list in user_lists['value']:
> print (('User list added with ID %d, name "%s", status "%s", list 
> type'
> ' "%s", accountUserListStatus "%s", description "%s".') %
>(user_list['id'], user_list['name'],
> user_list['status'], user_list['listType'],
> user_list['accountUserListStatus'], user_list['description']))
>
>
>
> adwords_client = adwords.AdWordsClient.LoadFromStorage()
>
> createNewList(adwords_client, list_a, list_b)
>
> With list_a and list_b being lists I previously created.
>
> Can anybody tell me what's wrong?
>
> Alternatively, how is it possible to reproduce the "Visitors of a page 
> who did not visit another page" behaviour with the API? The only way 
> seemed to used combination lists but even is failing (see the error 
> above)...
>
>
> Thanks for your help,
>
> Damien
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e3172f1a-7b61-425e-8e10-54b67065dfe6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling set credentials from sample Rails App

2015-07-15 Thread Jeffrey Lee
Hi, I finally got everything working. Thanks Danial to pointing me to the 
right path.

On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>
> So I downloaded the sample rails app here: 
> https://developers.google.com/adwords/api/docs/clientlibraries
>
> I got it running, but when I click on the List Accounts link I get this 
> stack trace:
>
>
> NoMethodError - undefined method `[]=' for nil:NilClass:
>
>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
> `set_credential'
>
>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>
>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>
>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>
>   app/controllers/account_controller.rb:5:in `index'
>
>
> I have my developer_token, client_customer_id, oauth2_client_id, 
> and oauth2_client_secret. I don't know why I am getting this issue. Does 
> anyone have any ideas? Everything in my token had a value except the 
> id_token key.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9c4e9ac0-c457-41f7-becf-4eac94a16ef9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling set credentials from sample Rails App

2015-07-15 Thread Jeffrey Lee
You can ignore my previous posts. I think what I got mixed up in was that 
MCC and my Adwords Advertising account were the same thing. I realize that 
my client_customer_id probably should be the id in my Adwords Advertising 
account. I am able to generate "Keyword Performance" reports sometimes. 
When I am able to create the report, the report is empty. Other times, 
depending on what field I inputed, it seems to load on forever and then, I 
get a 502 error. 

On Wednesday, July 15, 2015 at 4:18:07 AM UTC-7, Danial Klimkin wrote:
>
> Hello Jeffrey,
>
>
> Let's go over every error you've encountered:
>
> AuthenticationError.NOT_ADS_USER means you've authorized with a 
> non-AdWords account. E.g. your private gmail account that don't have 
> AdWords account created.
> ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH means you are 
> trying to run a report against an MCC account. Reports can only be executed 
> against advertiser (non-MCC) accounts.
> AuthorizationError.USER_PERMISSION_DENIED means your OAuth credentials 
> don't match clientCustomerId you specify. Basically, login you are using 
> doesn't have access to the account you are trying to touch.
>
> BTW, this is covered here:
>
>   https://developers.google.com/adwords/api/docs/common-errors
>
> So, for your case you need to re-do the OAuth flow (generate new refresh 
> token) making sure you are logged in under a proper account. This should be 
> either you production MCC login (for prod) or test MCC login (for test). 
> Next, set clientCustomerId to the target non-MCC account. This account 
> needs to be either under prod or test MCC (make sure it matches to what 
> you've authorized with).
>
>
> -Danial, AdWords API Team.
>
>
>
> On Wednesday, July 15, 2015 at 2:54:46 AM UTC+2, Jeffrey Lee wrote:
>>
>> I realize that for this sample Rails app, when I click "Proceed" at the 
>> home page, it asks me to login with my Gmail account. I know this will 
>> sound silly, but I thought the account doesn't matter. It turns out when 
>> I logged in with a Gmail account that has a production MCC account, the 
>> error goes away, although I get a different error now instead. I get:
>>
>> ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH
>>
>> I then read that the account I selected can't be a production MCC ID, 
>> which makes sense because the link says "Enter Test Account ID". However 
>> after I created my MCC Test Account, using an email that isn't tied to the 
>> production MCC account, I try to retrieve a report again and I get this 
>> now: 
>>
>> AuthorizationError.USER_PERMISSION_DENIED
>>
>> Can anyone help me out and tell me what I am doing wrong. To reiterate, 
>> with this sample rails app, I am logged in using the gmail account 
>> associated with the production MCC account. The account ID I entered in 
>> after clicking the "Enter Test Account ID" is the ID from the test MCC 
>> account. My oauth2_client_id, oauth2_client_secret, and developer_token are 
>> created by the gmail account associated with the production MCC account and 
>> assigned in the adwords_api.yml file as so. The client_customer_id in the 
>> adwords_api.yml file is assigned to the customer id of the production MCC 
>> account. I have also bumped the google-adwords-api gem's version to 0.15.2. 
>>
>> Is there something wrong with my set up? I just want to generate a 
>> report. I don't need it automated. I just want to generate it this one time 
>> only.
>>
>> On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>>>
>>> So I downloaded the sample rails app here: 
>>> https://developers.google.com/adwords/api/docs/clientlibraries
>>>
>>> I got it running, but when I click on the List Accounts link I get this 
>>> stack trace:
>>>
>>>
>>> NoMethodError - undefined method `[]=' for nil:NilClass:
>>>
>>>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
>>> `set_credential'
>>>
>>>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>>>
>>>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>>>
>>>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>>>
>>>   app/controllers/account_controller.rb:5:in `index'
>>>
>>>
>>> I have my developer_token, client_customer_id, oauth2_client_id, 
>>> and oauth2_client_secret. I don't know why I am getting this issue. Does 
>>> anyone have any ideas? Everything in my token had a value except the 
>>> id_token key.
>>>
>>

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

Re: Error when calling set credentials from sample Rails App

2015-07-15 Thread Jeffrey Lee
Also thank you for verifying the errors. I saw the common errors page, but 
I wasn't completely sure. But still, knowing this, what is wrong with the 
set up I specified above? The last error I had was the 
USER_PERMISSION_DENIED. You are saying my OAuth credentials don't match my 
client_customer_id, but I created the OAuth client_id and client_secret 
using the production MCC account and the client_customer_id is the customer 
ID of that MCC account. All this is stored in my yml file.

So my yml file for this sample app has my production MCC credentials such 
as client_customer_id, oauth2_client_id, oauth2_client_secret and 
developer_token. In the app, I logged in with the gmail account associated 
with the that production MCC account. I clicked on the "Enter Test Account 
ID" link to get to a page to put in a test account ID. So I created a test 
MCC account and use the client_customer_id there. Not sure why I need this 
step, but it seems like this sample app needs an active account. I could be 
wrong, let me know if I am.

On Wednesday, July 15, 2015 at 4:18:07 AM UTC-7, Danial Klimkin wrote:
>
> Hello Jeffrey,
>
>
> Let's go over every error you've encountered:
>
> AuthenticationError.NOT_ADS_USER means you've authorized with a 
> non-AdWords account. E.g. your private gmail account that don't have 
> AdWords account created.
> ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH means you are 
> trying to run a report against an MCC account. Reports can only be executed 
> against advertiser (non-MCC) accounts.
> AuthorizationError.USER_PERMISSION_DENIED means your OAuth credentials 
> don't match clientCustomerId you specify. Basically, login you are using 
> doesn't have access to the account you are trying to touch.
>
> BTW, this is covered here:
>
>   https://developers.google.com/adwords/api/docs/common-errors
>
> So, for your case you need to re-do the OAuth flow (generate new refresh 
> token) making sure you are logged in under a proper account. This should be 
> either you production MCC login (for prod) or test MCC login (for test). 
> Next, set clientCustomerId to the target non-MCC account. This account 
> needs to be either under prod or test MCC (make sure it matches to what 
> you've authorized with).
>
>
> -Danial, AdWords API Team.
>
>
>
> On Wednesday, July 15, 2015 at 2:54:46 AM UTC+2, Jeffrey Lee wrote:
>>
>> I realize that for this sample Rails app, when I click "Proceed" at the 
>> home page, it asks me to login with my Gmail account. I know this will 
>> sound silly, but I thought the account doesn't matter. It turns out when 
>> I logged in with a Gmail account that has a production MCC account, the 
>> error goes away, although I get a different error now instead. I get:
>>
>> ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH
>>
>> I then read that the account I selected can't be a production MCC ID, 
>> which makes sense because the link says "Enter Test Account ID". However 
>> after I created my MCC Test Account, using an email that isn't tied to the 
>> production MCC account, I try to retrieve a report again and I get this 
>> now: 
>>
>> AuthorizationError.USER_PERMISSION_DENIED
>>
>> Can anyone help me out and tell me what I am doing wrong. To reiterate, 
>> with this sample rails app, I am logged in using the gmail account 
>> associated with the production MCC account. The account ID I entered in 
>> after clicking the "Enter Test Account ID" is the ID from the test MCC 
>> account. My oauth2_client_id, oauth2_client_secret, and developer_token are 
>> created by the gmail account associated with the production MCC account and 
>> assigned in the adwords_api.yml file as so. The client_customer_id in the 
>> adwords_api.yml file is assigned to the customer id of the production MCC 
>> account. I have also bumped the google-adwords-api gem's version to 0.15.2. 
>>
>> Is there something wrong with my set up? I just want to generate a 
>> report. I don't need it automated. I just want to generate it this one time 
>> only.
>>
>> On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>>>
>>> So I downloaded the sample rails app here: 
>>> https://developers.google.com/adwords/api/docs/clientlibraries
>>>
>>> I got it running, but when I click on the List Accounts link I get this 
>>> stack trace:
>>>
>>>
>>> NoMethodError - undefined method `[]=' for nil:NilClass:
>>>
>>>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
>>> `set_credential'
>>>
>>>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>>>
>>>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>>>
>>>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>>>
>>>   app/controllers/account_controller.rb:5:in `index'
>>>
>>>
>>> I have my developer_token, client_customer_id, oauth2_client_id, 
>>> and oauth2_client_secret. I don't know why I am getting this issue. Does 
>>> anyone have any ideas? Everything in 

Re: Error when calling set credentials from sample Rails App

2015-07-15 Thread Jeffrey Lee
I am confused as to your last line where you said "Next, set 
clientCustomerId to the target non-MCC account. This account needs to be 
either under prod or test MCC (make sure it matches to what you've 
authorized with)." You said to set the client_customer_id to a non-MCC 
account, but that account needs to be a prod/test MCC account?

On Wednesday, July 15, 2015 at 4:18:07 AM UTC-7, Danial Klimkin wrote:
>
> Hello Jeffrey,
>
>
> Let's go over every error you've encountered:
>
> AuthenticationError.NOT_ADS_USER means you've authorized with a 
> non-AdWords account. E.g. your private gmail account that don't have 
> AdWords account created.
> ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH means you are 
> trying to run a report against an MCC account. Reports can only be executed 
> against advertiser (non-MCC) accounts.
> AuthorizationError.USER_PERMISSION_DENIED means your OAuth credentials 
> don't match clientCustomerId you specify. Basically, login you are using 
> doesn't have access to the account you are trying to touch.
>
> BTW, this is covered here:
>
>   https://developers.google.com/adwords/api/docs/common-errors
>
> So, for your case you need to re-do the OAuth flow (generate new refresh 
> token) making sure you are logged in under a proper account. This should be 
> either you production MCC login (for prod) or test MCC login (for test). 
> Next, set clientCustomerId to the target non-MCC account. This account 
> needs to be either under prod or test MCC (make sure it matches to what 
> you've authorized with).
>
>
> -Danial, AdWords API Team.
>
>
>
> On Wednesday, July 15, 2015 at 2:54:46 AM UTC+2, Jeffrey Lee wrote:
>>
>> I realize that for this sample Rails app, when I click "Proceed" at the 
>> home page, it asks me to login with my Gmail account. I know this will 
>> sound silly, but I thought the account doesn't matter. It turns out when 
>> I logged in with a Gmail account that has a production MCC account, the 
>> error goes away, although I get a different error now instead. I get:
>>
>> ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH
>>
>> I then read that the account I selected can't be a production MCC ID, 
>> which makes sense because the link says "Enter Test Account ID". However 
>> after I created my MCC Test Account, using an email that isn't tied to the 
>> production MCC account, I try to retrieve a report again and I get this 
>> now: 
>>
>> AuthorizationError.USER_PERMISSION_DENIED
>>
>> Can anyone help me out and tell me what I am doing wrong. To reiterate, 
>> with this sample rails app, I am logged in using the gmail account 
>> associated with the production MCC account. The account ID I entered in 
>> after clicking the "Enter Test Account ID" is the ID from the test MCC 
>> account. My oauth2_client_id, oauth2_client_secret, and developer_token are 
>> created by the gmail account associated with the production MCC account and 
>> assigned in the adwords_api.yml file as so. The client_customer_id in the 
>> adwords_api.yml file is assigned to the customer id of the production MCC 
>> account. I have also bumped the google-adwords-api gem's version to 0.15.2. 
>>
>> Is there something wrong with my set up? I just want to generate a 
>> report. I don't need it automated. I just want to generate it this one time 
>> only.
>>
>> On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>>>
>>> So I downloaded the sample rails app here: 
>>> https://developers.google.com/adwords/api/docs/clientlibraries
>>>
>>> I got it running, but when I click on the List Accounts link I get this 
>>> stack trace:
>>>
>>>
>>> NoMethodError - undefined method `[]=' for nil:NilClass:
>>>
>>>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
>>> `set_credential'
>>>
>>>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>>>
>>>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>>>
>>>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>>>
>>>   app/controllers/account_controller.rb:5:in `index'
>>>
>>>
>>> I have my developer_token, client_customer_id, oauth2_client_id, 
>>> and oauth2_client_secret. I don't know why I am getting this issue. Does 
>>> anyone have any ideas? Everything in my token had a value except the 
>>> id_token key.
>>>
>>

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

Re: Error when applying for an API token

2015-07-15 Thread Anthony Madrigal
Hey Stelios,

You could contact the AdWords API Compliance Team 
 in regards to this issue.

Cheers,
Anthony
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/e8558f0e-d8d3-416d-8712-067b38afef58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling set credentials from sample Rails App

2015-07-15 Thread Danial Klimkin
Hello Jeffrey,


Let's go over every error you've encountered:

AuthenticationError.NOT_ADS_USER means you've authorized with a non-AdWords 
account. E.g. your private gmail account that don't have AdWords account 
created.
ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH means you are 
trying to run a report against an MCC account. Reports can only be executed 
against advertiser (non-MCC) accounts.
AuthorizationError.USER_PERMISSION_DENIED means your OAuth credentials 
don't match clientCustomerId you specify. Basically, login you are using 
doesn't have access to the account you are trying to touch.

BTW, this is covered here:

  https://developers.google.com/adwords/api/docs/common-errors

So, for your case you need to re-do the OAuth flow (generate new refresh 
token) making sure you are logged in under a proper account. This should be 
either you production MCC login (for prod) or test MCC login (for test). 
Next, set clientCustomerId to the target non-MCC account. This account 
needs to be either under prod or test MCC (make sure it matches to what 
you've authorized with).


-Danial, AdWords API Team.



On Wednesday, July 15, 2015 at 2:54:46 AM UTC+2, Jeffrey Lee wrote:
>
> I realize that for this sample Rails app, when I click "Proceed" at the 
> home page, it asks me to login with my Gmail account. I know this will 
> sound silly, but I thought the account doesn't matter. It turns out when 
> I logged in with a Gmail account that has a production MCC account, the 
> error goes away, although I get a different error now instead. I get:
>
> ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH
>
> I then read that the account I selected can't be a production MCC ID, 
> which makes sense because the link says "Enter Test Account ID". However 
> after I created my MCC Test Account, using an email that isn't tied to the 
> production MCC account, I try to retrieve a report again and I get this 
> now: 
>
> AuthorizationError.USER_PERMISSION_DENIED
>
> Can anyone help me out and tell me what I am doing wrong. To reiterate, 
> with this sample rails app, I am logged in using the gmail account 
> associated with the production MCC account. The account ID I entered in 
> after clicking the "Enter Test Account ID" is the ID from the test MCC 
> account. My oauth2_client_id, oauth2_client_secret, and developer_token are 
> created by the gmail account associated with the production MCC account and 
> assigned in the adwords_api.yml file as so. The client_customer_id in the 
> adwords_api.yml file is assigned to the customer id of the production MCC 
> account. I have also bumped the google-adwords-api gem's version to 0.15.2. 
>
> Is there something wrong with my set up? I just want to generate a report. 
> I don't need it automated. I just want to generate it this one time only.
>
> On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>>
>> So I downloaded the sample rails app here: 
>> https://developers.google.com/adwords/api/docs/clientlibraries
>>
>> I got it running, but when I click on the List Accounts link I get this 
>> stack trace:
>>
>>
>> NoMethodError - undefined method `[]=' for nil:NilClass:
>>
>>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
>> `set_credential'
>>
>>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>>
>>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>>
>>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>>
>>   app/controllers/account_controller.rb:5:in `index'
>>
>>
>> I have my developer_token, client_customer_id, oauth2_client_id, 
>> and oauth2_client_secret. I don't know why I am getting this issue. Does 
>> anyone have any ideas? Everything in my token had a value except the 
>> id_token key.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2eac19bb-d9a2-48a1-9849-f7393fa09524%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling set credentials from sample Rails App

2015-07-14 Thread Jeffrey Lee
I realize that for this sample Rails app, when I click "Proceed" at the 
home page, it asks me to login with my Gmail account. I know this will 
sound silly, but I thought the account doesn't matter. It turns out when I 
logged in with a Gmail account that has a production MCC account, the error 
goes away, although I get a different error now instead. I get:

ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH

I then read that the account I selected can't be a production MCC ID, which 
makes sense because the link says "Enter Test Account ID". However after I 
created my MCC Test Account, using an email that isn't tied to the 
production MCC account, I try to retrieve a report again and I get this 
now: 

AuthorizationError.USER_PERMISSION_DENIED

Can anyone help me out and tell me what I am doing wrong. To reiterate, 
with this sample rails app, I am logged in using the gmail account 
associated with the production MCC account. The account ID I entered in 
after clicking the "Enter Test Account ID" is the ID from the test MCC 
account. My oauth2_client_id, oauth2_client_secret, and developer_token are 
created by the gmail account associated with the production MCC account and 
assigned in the adwords_api.yml file as so. The client_customer_id in the 
adwords_api.yml file is assigned to the customer id of the production MCC 
account. I have also bumped the google-adwords-api gem's version to 0.15.2. 

Is there something wrong with my set up? I just want to generate a report. 
I don't need it automated. I just want to generate it this one time only.

On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>
> So I downloaded the sample rails app here: 
> https://developers.google.com/adwords/api/docs/clientlibraries
>
> I got it running, but when I click on the List Accounts link I get this 
> stack trace:
>
>
> NoMethodError - undefined method `[]=' for nil:NilClass:
>
>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
> `set_credential'
>
>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>
>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>
>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>
>   app/controllers/account_controller.rb:5:in `index'
>
>
> I have my developer_token, client_customer_id, oauth2_client_id, 
> and oauth2_client_secret. I don't know why I am getting this issue. Does 
> anyone have any ideas? Everything in my token had a value except the 
> id_token key.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3d53eead-781f-4556-9630-43109aed5d97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling set credentials from sample Rails App

2015-07-14 Thread Jeffrey Lee
As an update, it turns out that maybe what I want isn't in the List 
Accounts link. I am trying to get the Retrieve a Report page to work. When 
I click the "get report" button, I get this error now:

"An error occurred during report retrieval:
HTTP code: 400, error type: 'AuthenticationError.NOT_ADS_USER', trigger: 
'', field path: ''

At first I thought it was because I was using an account that wasn't tied 
to an adwords account, but the error still appeared when I set up the 
credentials with a gmail account that tied to an adwords account.


On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>
> So I downloaded the sample rails app here: 
> https://developers.google.com/adwords/api/docs/clientlibraries
>
> I got it running, but when I click on the List Accounts link I get this 
> stack trace:
>
>
> NoMethodError - undefined method `[]=' for nil:NilClass:
>
>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
> `set_credential'
>
>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>
>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>
>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>
>   app/controllers/account_controller.rb:5:in `index'
>
>
> I have my developer_token, client_customer_id, oauth2_client_id, 
> and oauth2_client_secret. I don't know why I am getting this issue. Does 
> anyone have any ideas? Everything in my token had a value except the 
> id_token key.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fb07dd0d-bbf9-4078-b4c2-d9cfd5f13c18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling set credentials from sample Rails App

2015-07-14 Thread Jeffrey Lee
Ignore my last post, I got that figured out. But I am still running into my 
initial problem with the List Account link

On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>
> So I downloaded the sample rails app here: 
> https://developers.google.com/adwords/api/docs/clientlibraries
>
> I got it running, but when I click on the List Accounts link I get this 
> stack trace:
>
>
> NoMethodError - undefined method `[]=' for nil:NilClass:
>
>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
> `set_credential'
>
>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>
>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>
>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>
>   app/controllers/account_controller.rb:5:in `index'
>
>
> I have my developer_token, client_customer_id, oauth2_client_id, 
> and oauth2_client_secret. I don't know why I am getting this issue. Does 
> anyone have any ideas? Everything in my token had a value except the 
> id_token key.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/68d13c6a-e60d-4cab-a7a6-c25307da08ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling set credentials from sample Rails App

2015-07-14 Thread Jeffrey Lee
Update: I try to play around with the API again this morning. I have no 
idea what has changed, but I can't even start up the server now. While 
trying to fix my initial bug, I wanted to do a fresh start. So I logged out 
on the app and now I get a 

NoMethodError - undefined method `[]=' for nil:NilClass:

  google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
`set_credential'

  google-ads-common (0.9.9) lib/ads_common/api.rb:102:in `block in 
authorize'

  google-ads-common (0.9.9) lib/ads_common/api.rb:101:in `authorize'

  app/controllers/login_controller.rb:15:in `prompt'


The difference this time is that it is coming from the login_controller. It 
seems that "token = api.authorize({:oauth2_callback => 
login_callback_url})" is failing on me and I don't know why. The 
credentials on the adwords_api.yml file didn't change. I did refresh the 
credentials afterwards on the developer console and try to put the updated 
keys in the yml file, but that didn't solve the issue either. How the app 
is just simply broken for me.

On Tuesday, July 14, 2015 at 3:07:36 AM UTC-7, Jeffrey Lee wrote:
>
> So I downloaded the sample rails app here: 
> https://developers.google.com/adwords/api/docs/clientlibraries
>
> I got it running, but when I click on the List Accounts link I get this 
> stack trace:
>
>
> NoMethodError - undefined method `[]=' for nil:NilClass:
>
>   google-ads-common (0.9.9) lib/ads_common/credential_handler.rb:65:in 
> `set_credential'
>
>   app/controllers/application_controller.rb:50:in `create_adwords_api'
>
>   app/controllers/application_controller.rb:36:in `get_adwords_api'
>
>   app/controllers/account_controller.rb:18:in `get_accounts_graph'
>
>   app/controllers/account_controller.rb:5:in `index'
>
>
> I have my developer_token, client_customer_id, oauth2_client_id, 
> and oauth2_client_secret. I don't know why I am getting this issue. Does 
> anyone have any ideas? Everything in my token had a value except the 
> id_token key.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/19bb74a6-5bd9-4eb6-8cba-0f2968b5486c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error during creation of ads - CANNOT_SET_FIELD - URL - V201502

2015-07-14 Thread Umesh Dengale
Hello,

Please use textAd.*setFinalUrls()* method instead of textAd.setUrl(). Check 
out our AdTextAds 

 example 
in the Java client library. 

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/713c23cf-8f79-429f-98d3-641e6edd52ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: "Processing instructions are not allowed within SOAP messages"

2015-07-06 Thread Josh Radcliff (AdWords API Team)
Hi,

Do you have any further details from the error, such as the raw SOAP 
messages that lead to this error? The exception means that parsing of the 
response failed, which is rather odd.

Thanks,
Josh, 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/70a2e691-2b20-4ff3-97e3-facda51ca724%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: "Processing instructions are not allowed within SOAP messages"

2015-07-02 Thread peter . rietzler
Hi Josh

We do follow the threading guidelines.

I've just checked that we had 44 occurrences of this error within the last 
7 days. 
The error is not account specific.
If the error occurs, then a retry typically succeeds (there is some time 
between retries on our side - usually up to 20 minutes).

Am Montag, 29. Juni 2015 15:11:50 UTC+2 schrieb Josh Radcliff (AdWords API 
Team):

> Hi,
>
> Are you following the guidelines mentioned in the Thread safety page for 
> the Java client library? 
>  In 
> particular, please make sure that you are not reusing instances of 
> *AdWordsSession* across threads.
>
> Thanks,
> Josh, 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/23711409-45c2-48ef-a33d-6b24eb961f1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: "Processing instructions are not allowed within SOAP messages"

2015-06-29 Thread Josh Radcliff (AdWords API Team)
Hi,

Are you following the guidelines mentioned in the Thread safety page for 
the Java client library? 
 In 
particular, please make sure that you are not reusing instances of 
*AdWordsSession* across threads.

Thanks,
Josh, 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/0718f1b3-2447-4c29-9e49-f42ed22bc20a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error "unauthorized_client" when trying to get the campaign data with Google Adwords v201502

2015-06-18 Thread Umesh Dengale
Hi Susan,

Please go through these steps 
 and run any 
of the examples using the refresh token. If you get any exceptions, please 
provide me the SOAP request and response. Just click *Reply privately to 
author* in the forum when responding.

Regards,
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/c83b62c2-8a74-4097-90d6-ef0a5614f586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error creating accounts in sub manager accounts

2015-06-03 Thread Emiliano Martinez
Danial,

Thank you very much! We were mixing ids from production and test!
Next time im going to be checking everything before posting :(

Regards
Emiliano

2015-06-03 12:53 GMT-03:00 Danial Klimkin <
adwordsapiadvisor+dan...@google.com>:

> Hello Emiliano,
>
>
> The account 5435475134 is not a sub-account of account 1893844881, so if
> you are using the same credentials, the request is expected to fail.
>
> Please make sure the login you are authorized with has administrative
> access to the MCC you specify in clientCustomerId field.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, June 3, 2015 at 5:31:36 PM UTC+2, Emiliano Martinez wrote:
>>
>> Hi, Forum:
>>
>> Im having problems creating accounts in sub manager accounts.
>> If i create an account with an MCC account all works perfectly, here is
>> the request:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/mcm/v201409";>
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">1893844881
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">XX
>> https://adwords.google.com/api/adwords/cm/v201409";>XX (AwApi-Java,
>> AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4, Java/1.7.0_17,
>> maven)
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">false
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/mcm/v201409";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201409";>ADD
>> 
>> Test account from MCC
>> USD
>> America/Chicago
>> 
>> 
>> 
>> 
>> 
>>
>> And the response:
>>
>> http://schemas.xmlsoap.org/soap/envelope/";>
>> 
>> https://adwords.google.com/api/adwords/mcm/v201409"; xmlns="
>> https://adwords.google.com/api/adwords/cm/v201409";>
>> 0005179e8655fc580ac4f6e99b00cd0b
>> ManagedCustomerService
>> mutate
>> 0
>> 698
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/cm/v201409"; xmlns:ns2="
>> https://adwords.google.com/api/adwords/mcm/v201409";>
>> 
>> 
>> Test account from MCC
>> 4117105163
>> false
>> USD
>> America/Chicago
>> 
>> 
>> 
>> 
>> 
>>
>> But if i use the sub mcc account, sending this:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/mcm/v201409";>
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">5435475134
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">
>> https://adwords.google.com/api/adwords/cm/v201409";>X
>> (AwApi-Java, AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4,
>> Java/1.7.0_17, maven)
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">false
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/mcm/v201409";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201409";>ADD
>> 
>> Test account from Sub MCC
>> USD
>> America/Chicago
>> 
>> 
>> 
>> 
>> 
>>
>> I get the following error:
>>
>> http://schemas.xmlsoap.org/soap/envelope/";>
>> 
>> https://adwords.google.com/api/adwords/mcm/v201409"; xmlns="
>> https://adwords.google.com/api/adwords/cm/v201409";>
>> 0005179ea5cfa6110ac44509070071d7
>> ManagedCustomerService
>> mutate
>> 0
>> 51
>> 
>> 
>> 
>> 
>> soap:Server
>> [AuthorizationError.USER_PERMISSION_DENIED @ ;
>> trigger:'']
>> 
>> https://adwords.google.com/api/adwords/cm/v201409"; xmlns:ns2="
>> https://adwords.google.com/api/adwords/mcm/v201409";>
>> [AuthorizationError.USER_PERMISSION_DENIED @ ;
>> trigger:'']
>> ApiException
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> 
>> AuthorizationError.USER_PERMISSION_DENIED
>> AuthorizationError
>> USER_PERMISSION_DENIED
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> Im not really sure if this happened all the time, or it is something
>> related to an API change, the thing is that in the Adwords UI i have no
>> problems, and with the API yes.
>>
>> Any help is going to be very welcome!
>> Thanks and regards
>> Emiliano
>>
>>
>>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/I

Re: Error creating accounts in sub manager accounts

2015-06-03 Thread Danial Klimkin
Hello Emiliano,


The account 5435475134 is not a sub-account of account 1893844881, so if 
you are using the same credentials, the request is expected to fail.

Please make sure the login you are authorized with has administrative 
access to the MCC you specify in clientCustomerId field.


-Danial, AdWords API Team.


On Wednesday, June 3, 2015 at 5:31:36 PM UTC+2, Emiliano Martinez wrote:
>
> Hi, Forum:
>
> Im having problems creating accounts in sub manager accounts.
> If i create an account with an MCC account all works perfectly, here is 
> the request:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/mcm/v201409";>
> https://adwords.google.com/api/adwords/cm/v201409
> ">1893844881
> https://adwords.google.com/api/adwords/cm/v201409
> ">XX
> https://adwords.google.com/api/adwords/cm/v201409";>XX (AwApi-Java, 
> AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4, Java/1.7.0_17, 
> maven)
> https://adwords.google.com/api/adwords/cm/v201409
> ">false
> https://adwords.google.com/api/adwords/cm/v201409
> ">false
> 
> 
> 
> https://adwords.google.com/api/adwords/mcm/v201409";>
> 
> https://adwords.google.com/api/adwords/cm/v201409
> ">ADD
> 
> Test account from MCC
> USD
> America/Chicago
> 
> 
> 
> 
> 
>
> And the response:
>
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/mcm/v201409"; xmlns="
> https://adwords.google.com/api/adwords/cm/v201409";>
> 0005179e8655fc580ac4f6e99b00cd0b
> ManagedCustomerService
> mutate
> 0
> 698
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201409"; xmlns:ns2="
> https://adwords.google.com/api/adwords/mcm/v201409";>
> 
> 
> Test account from MCC
> 4117105163
> false
> USD
> America/Chicago
> 
> 
> 
> 
> 
>
> But if i use the sub mcc account, sending this:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/mcm/v201409";>
> https://adwords.google.com/api/adwords/cm/v201409
> ">5435475134
> https://adwords.google.com/api/adwords/cm/v201409
> ">
> https://adwords.google.com/api/adwords/cm/v201409";>X (AwApi-Java, 
> AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4, Java/1.7.0_17, 
> maven)
> https://adwords.google.com/api/adwords/cm/v201409
> ">false
> https://adwords.google.com/api/adwords/cm/v201409
> ">false
> 
> 
> 
> https://adwords.google.com/api/adwords/mcm/v201409";>
> 
> https://adwords.google.com/api/adwords/cm/v201409
> ">ADD
> 
> Test account from Sub MCC
> USD
> America/Chicago
> 
> 
> 
> 
> 
>
> I get the following error:
>
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/mcm/v201409"; xmlns="
> https://adwords.google.com/api/adwords/cm/v201409";>
> 0005179ea5cfa6110ac44509070071d7
> ManagedCustomerService
> mutate
> 0
> 51
> 
> 
> 
> 
> soap:Server
> [AuthorizationError.USER_PERMISSION_DENIED @ ; 
> trigger:'']
> 
> https://adwords.google.com/api/adwords/cm/v201409"; xmlns:ns2="
> https://adwords.google.com/api/adwords/mcm/v201409";>
> [AuthorizationError.USER_PERMISSION_DENIED @ ; 
> trigger:'']
> ApiException
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> 
> AuthorizationError.USER_PERMISSION_DENIED
> AuthorizationError
> USER_PERMISSION_DENIED
> 
> 
> 
> 
> 
> 
>
> Im not really sure if this happened all the time, or it is something 
> related to an API change, the thing is that in the Adwords UI i have no 
> problems, and with the API yes.
>
> Any help is going to be very welcome!
> Thanks and regards
> Emiliano
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a6655f4b-a8fe-4ade-a1d3-2263831af72b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Bad Gateway (and others) most of time since this morning

2015-05-29 Thread Nadine Sundquist (AdWords API Team)
Hi Pierre,

If you are not getting back a request ID, this means that the failed 
requests are not making it to our servers. In that case, I can't 
troubleshoot from our side. You may need to sit down with a network 
administrator to trace the failed requests. 

Best,
Nadine, AdWords API Team 

On Friday, May 29, 2015 at 2:19:02 AM UTC-7, Pierre Augereau wrote:
>
> Good morning Nadine.
>
> Once again, thank you a lot for your answers !!
> Today, it seems to work fine again. But, I turned off all access from the 
> API yesterday all day long. I do not know if it is a coincidence or the 
> good thing to do...
>
> Some requests succeed if I try again. But, the number of errors are 
> increasing (eg : 1 error on 5 requests without trying again ; 3 errors on 5 
> requests with trying again) 
>
> About the request ID, I checked all logs (request_info.log - soap_xml.log 
> - report_download.log). There is no request ID for each error. 
> So, it seems to have a problem while sending requests... I also checked 
> all logs on my side and, all request have been correctly send from my 
> server.
> I will still investigate with my network administrator to, maybe, find 
> something. But, I still do not know why that kind of errors appears 
> suddently without any change on my side...
>
> Thank you again,
> Have a good day,
> Best regards.
>
>
> Le jeudi 7 mai 2015 17:33:02 UTC+2, Pierre Augereau a écrit :
>>
>> Good afternoon,
>>
>> Since this morning (May 7th 2015), I have got many errors : 
>> - "Bad Gateway"
>> - "Failed to load response into DOM: DOMDocument::loadXML(): Empty string 
>> supplied as input in 
>> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on 
>> line 268"
>> - "[WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '
>> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
>>  
>> : failed to load external entity "
>> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl
>> "
>>  in 
>> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:172"
>> - Uncaught exception 'ReportDownloadException' with message 'Report 
>> download failed.' in 
>> **/Google/src/Google/Api/Ads/AdWords/Util/ReportUtils.php:211
>>
>> I'm currently using the PHP librairy v201502.
>> I already have asked to my network administrators if there were any 
>> update on the network. All requests sent through the API are correctly 
>> transmitted
>> Moreover, I did not have updated any source code from those past few days
>>
>> It seems to that most of request to get data from Adwords accounts have 
>> this problem...
>> However, some requests to put data (such as new amount on a spécific key 
>> words) works fine 2/3 call
>>
>>
>> So, I really do not understand what is happening since this morning
>>
>>
>> Best regards.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/37c70282-ab3b-4f0d-b5e1-1ad015ac1fec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Bad Gateway (and others) most of time since this morning

2015-05-29 Thread Pierre Augereau
Good morning Nadine.

Once again, thank you a lot for your answers !!
Today, it seems to work fine again. But, I turned off all access from the 
API yesterday all day long. I do not know if it is a coincidence or the 
good thing to do...

Some requests succeed if I try again. But, the number of errors are 
increasing (eg : 1 error on 5 requests without trying again ; 3 errors on 5 
requests with trying again) 

About the request ID, I checked all logs (request_info.log - soap_xml.log - 
report_download.log). There is no request ID for each error. 
So, it seems to have a problem while sending requests... I also checked all 
logs on my side and, all request have been correctly send from my server.
I will still investigate with my network administrator to, maybe, find 
something. But, I still do not know why that kind of errors appears 
suddently without any change on my side...

Thank you again,
Have a good day,
Best regards.


Le jeudi 7 mai 2015 17:33:02 UTC+2, Pierre Augereau a écrit :
>
> Good afternoon,
>
> Since this morning (May 7th 2015), I have got many errors : 
> - "Bad Gateway"
> - "Failed to load response into DOM: DOMDocument::loadXML(): Empty string 
> supplied as input in 
> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on 
> line 268"
> - "[WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
>  
> : failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl
> "
>  in 
> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:172"
> - Uncaught exception 'ReportDownloadException' with message 'Report 
> download failed.' in 
> **/Google/src/Google/Api/Ads/AdWords/Util/ReportUtils.php:211
>
> I'm currently using the PHP librairy v201502.
> I already have asked to my network administrators if there were any update 
> on the network. All requests sent through the API are correctly transmitted
> Moreover, I did not have updated any source code from those past few days
>
> It seems to that most of request to get data from Adwords accounts have 
> this problem...
> However, some requests to put data (such as new amount on a spécific key 
> words) works fine 2/3 call
>
>
> So, I really do not understand what is happening since this morning
>
>
> Best regards.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fc13e94b-cc3a-47ef-8365-2c3a1a7c7f28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Bad Gateway (and others) most of time since this morning

2015-05-27 Thread Nadine Sundquist (AdWords API Team)
Hi Pierre,

I don't believe that you are having rate limit 
 issues 
because you would be getting an error if you had hit the rate limit. Does 
the request succeed if you try again? If you're getting back a request ID 
in your error, I can try to trace it down further. If you do not have a 
request ID coming back, then it's highly likely that the request is not 
even making it to our servers.

Regards,
Nadine, AdWords API Team

On Wednesday, May 27, 2015 at 9:58:31 AM UTC-7, Pierre Augereau wrote:
>
> Little Update !! 
>
> I get a new error : 
> - Error finding "uri" property (I did not find anything about this one in 
> this forum)
>
> If I follow the calls, usually, it starts with :
> 1 -- SOAP-ERROR: Parsing WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
>  
> : failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl
> "
> 2 - All kind of "Failed to load response into DOM: DOMDocument::loadXML(): 
> Empty string supplied as input" or "Failed to load request into DOM: 
> DOMDocument::loadXML(): Empty string supplied as input"
> 3 - "Bad gateway" or "Error finding "uri" property" errors
>
> Hope this help...
> Have a good day,
> Best regards,
>
> Le jeudi 7 mai 2015 17:33:02 UTC+2, Pierre Augereau a écrit :
>>
>> Good afternoon,
>>
>> Since this morning (May 7th 2015), I have got many errors : 
>> - "Bad Gateway"
>> - "Failed to load response into DOM: DOMDocument::loadXML(): Empty string 
>> supplied as input in 
>> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on 
>> line 268"
>> - "[WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '
>> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
>>  
>> : failed to load external entity "
>> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl
>> "
>>  in 
>> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:172"
>> - Uncaught exception 'ReportDownloadException' with message 'Report 
>> download failed.' in 
>> **/Google/src/Google/Api/Ads/AdWords/Util/ReportUtils.php:211
>>
>> I'm currently using the PHP librairy v201502.
>> I already have asked to my network administrators if there were any 
>> update on the network. All requests sent through the API are correctly 
>> transmitted
>> Moreover, I did not have updated any source code from those past few days
>>
>> It seems to that most of request to get data from Adwords accounts have 
>> this problem...
>> However, some requests to put data (such as new amount on a spécific key 
>> words) works fine 2/3 call
>>
>>
>> So, I really do not understand what is happening since this morning
>>
>>
>> Best regards.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c01660b9-1c67-4085-a848-456047eaf4f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Bad Gateway (and others) most of time since this morning

2015-05-27 Thread Pierre Augereau
Little Update !! 

I get a new error : 
- Error finding "uri" property (I did not find anything about this one in 
this forum)

If I follow the calls, usually, it starts with :
1 -- SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
 
: failed to load external entity 
"https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl";
2 - All kind of "Failed to load response into DOM: DOMDocument::loadXML(): 
Empty string supplied as input" or "Failed to load request into DOM: 
DOMDocument::loadXML(): Empty string supplied as input"
3 - "Bad gateway" or "Error finding "uri" property" errors

Hope this help...
Have a good day,
Best regards,

Le jeudi 7 mai 2015 17:33:02 UTC+2, Pierre Augereau a écrit :
>
> Good afternoon,
>
> Since this morning (May 7th 2015), I have got many errors : 
> - "Bad Gateway"
> - "Failed to load response into DOM: DOMDocument::loadXML(): Empty string 
> supplied as input in 
> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on 
> line 268"
> - "[WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
>  
> : failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl
> "
>  in 
> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:172"
> - Uncaught exception 'ReportDownloadException' with message 'Report 
> download failed.' in 
> **/Google/src/Google/Api/Ads/AdWords/Util/ReportUtils.php:211
>
> I'm currently using the PHP librairy v201502.
> I already have asked to my network administrators if there were any update 
> on the network. All requests sent through the API are correctly transmitted
> Moreover, I did not have updated any source code from those past few days
>
> It seems to that most of request to get data from Adwords accounts have 
> this problem...
> However, some requests to put data (such as new amount on a spécific key 
> words) works fine 2/3 call
>
>
> So, I really do not understand what is happening since this morning
>
>
> Best regards.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/86267d5c-1469-4509-9df9-d092f8580677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Bad Gateway (and others) most of time since this morning

2015-05-27 Thread Pierre Augereau
Good morning Nadine and everyone !!!

Since Yesterday, I get the same issues as previously wrote.
I still do not understand what is happening. I did not have change anything 
in the code, server or network.
I have tried to update my code as in the post gave by Nadine. 
Unfortunately, that did not resolved my issues.

This morning, the issues seem to be stabilised a little bit... But I still 
get random errors from time to time : 
- PHP Notice:  Failed to load response into DOM: DOMDocument::loadXML(): 
Empty string supplied as input in 
//Google/Api/Ads/Common/Lib/AdsSoapClient.php
 
on line 305
- PHP Notice:  Failed to load response into DOM: DOMDocument::loadXML(): 
Empty string supplied as input in 
//Google/Api/Ads/Common/Lib/AdsSoapClient.php
 
on line 404
- PHP Notice:  Failed to load response into DOM: DOMDocument::loadXML(): 
Empty string supplied as input in 
//Google/Api/Ads/Common/Lib/AdsSoapClient.php
 
on line 422
- Exception : Bad Gateway
- SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
 
: failed to load external entity 
"https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl";

Moreover, It does not happen every time on the same sevice 
(CampaignCriterionService, CampaignService, AdGroupService, 
AdGroupCriterionService, ReportDefinitionService, etc)

Does it have a restriction about the call number to the API maybe  ? Or 
anything else ?
By the way, I precise that we use an AdWords API token for Standard Access. 
 


Thank you in advance,
Have a good day,
Best regards,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ee1e2336-f6af-40f3-b772-09c204ffcf67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Bad Gateway (and others) most of time since this morning

2015-05-08 Thread Pierre Augereau
Good morning Nadine !!!

Thank you a lot for your answer.
I did not have try those solutions from the post because, every thing seems 
to work fine again this morning o_O 
But, I will keep this post preciously !!

My network administrator has found out that Google has changed some DNS... 
Maybe, that was the cause of "Bad gateway error" and others.
I will come back if this problem happen again.

One more time, Thank you a lot,
Have good day,
Best regards.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/41dadd12-0547-4c5a-80ec-2fe58e3a753a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Bad Gateway (and others) most of time since this morning

2015-05-07 Thread Nadine Sundquist (AdWords API Team)
Hello Pierre,

Check out this post 

 to 
see if the solutions provided there will fix you problem.

Thanks,
Nadine, AdWords API Team

On Thursday, May 7, 2015 at 11:33:02 AM UTC-4, Pierre Augereau wrote:
>
> Good afternoon,
>
> Since this morning (May 7th 2015), I have got many errors : 
> - "Bad Gateway"
> - "Failed to load response into DOM: DOMDocument::loadXML(): Empty string 
> supplied as input in 
> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on 
> line 268"
> - "[WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl'
>  
> : failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201502/AdGroupCriterionService?wsdl
> "
>  in 
> **/Google/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:172"
> - Uncaught exception 'ReportDownloadException' with message 'Report 
> download failed.' in 
> **/Google/src/Google/Api/Ads/AdWords/Util/ReportUtils.php:211
>
> I'm currently using the PHP librairy v201502.
> I already have asked to my network administrators if there were any update 
> on the network. All requests sent through the API are correctly transmitted
> Moreover, I did not have updated any source code from those past few days
>
> It seems to that most of request to get data from Adwords accounts have 
> this problem...
> However, some requests to put data (such as new amount on a spécific key 
> words) works fine 2/3 call
>
>
> So, I really do not understand what is happening since this morning
>
>
> Best regards.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/43ab476a-229a-4d2e-8090-ab8b35e78147%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: { "error" : "invalid_request", "error_description" : "Missing required parameter: code"}

2015-05-01 Thread Josh Radcliff (AdWords API Team)
Hi,

All examples in the PHP libraries (including the *GetRefreshToken.php* example) 
should be run from the command line. In particular, the *GetRefreshToken* 
example 
writes a URL for you to follow to stdout, and then *reads* the 
authorization code you type in from stdin.

Please try running the example from the command line and let me know if you 
still encounter issues.

Thanks,
Josh, AdWords API Team

On Friday, May 1, 2015 at 4:58:23 PM UTC-4, Keyur Eragon wrote:
>
> Hello
>
> i am follow 
> https://developers.google.com/adwords/api/docs/guides/authentication step
> but i am getting below error 
>
> Log in to your AdWords account and open the following URL: 
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=1064417969718-shu697uugo1nvnc281ffd3tc3kg7c3t2.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords&access_type=offline
>  
> After approving the token enter the authorization code here: Your OAuth2 
> Credentials are incorrect. Please see the GetRefreshToken.php example. { 
> "error" : "invalid_request", "error_description" : "Missing required 
> parameter: code" } 
>
> i am set the  client_id  and client_secret in auth.ini
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/064841de-7345-4f7a-b9bc-1d7ba96d7a14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: error when i create image ad on group

2015-03-30 Thread Josh Radcliff (AdWords API Team)
Hi,

Are you still having trouble with this request? If so, could you post your 
SOAP request with sensitive information removed?

Thanks,
Josh, AdWords API Team

On Friday, March 27, 2015 at 2:50:40 PM UTC-4, dian...@everstring.com wrote:
>
> the errer:
>
> suds.WebFault: Server raised fault: 'Unmarshalling Error: 
> cvc-complex-type.2.4.a: Invalid content was found starting with element 
> 'ns0:adGroupId'. One of '{"
> https://adwords.google.com/api/adwords/cm/v201409":ad, "
> https://adwords.google.com/api/adwords/cm/v201409":experimentData, "
> https://adwords.google.com/api/adwords/cm/v201409":status, "
> https://adwords.google.com/api/adwords/cm/v201409":approvalStatus, "
> https://adwords.google.com/api/adwords/cm/v201409":disapprovalReasons, "
> https://adwords.google.com/api/adwords/cm/v201409":trademarkDisapproved, "
> https://adwords.google.com/api/adwords/cm/v201409":labels, "
> https://adwords.google.com/api/adwords/cm/v201409":forwardCompatibilityMap}' 
> is expected. '
>
> mycode:
>
> operations = [
> {
> 'operator': 'ADD',
> 'operand': {
> 'xsi_type': 'AdGroupAd',
> 'adGroupId': ad_group_id,
> 'ad': {
> 'xsi_type': 'ImageAd',
> 'displayUrl': display_url,
> 'url': url,
> # 'description1': desc1,
> # 'description2': desc2,
> # 'headline': headline
> 'image': {
> 'xsi_type': 'Image',
> 'data': image_data
> #'type': 'IMAGE'
> },
> 'name': image_name
> },
> # Optional fields.
> 'status': 'ENABLED'
> }
> }
> ]
> text_ads = self.ad_group_ad_service.mutate(operations)
>
>
>
> If you can help me, thank you very much.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4c1369c8-fad8-46f9-983b-f4346d912b0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: redirect_uri_mismatch and Error: invalid_grant

2015-03-30 Thread Doubt Dolson
Hi then the issue lies on the client creation specially in setting
of redirect_url

On Mon, Mar 30, 2015 at 1:01 PM, Akhmad Bayquni 
wrote:

> Hi, thanks for the response. I've done what you mean, but the same problem
> comes even as the first step.
>
> I've been checking the "Use your own OAuth credentials", i was provide
> "OAuth Client ID" and "OAuth Client Secret" where i have.
>
> I was fill the input box (the box with the watermark text 'Input your own
> scopes' with "https://adwords.google.com/api/adwords/"; and when I click
> "Authorize APIs" I redirected to the page with the error the same. 400.
>
> That's an error.
>
> Error: redirect_uri_mismatch
>
> The redirect URI in the request:
> https://developers.google.com/oauthplayground did not match a registered
> redirect URI.
>
> Just for info, i installed this on my localhost with xampp and phph 5.4.
>
> In the dashboard API I set JavaScript origins at: http://localhost:8700
> and Redirect URIs with http://localhost:8700/ads (this is the folder
> where I put all the files adwords-examples-and-lib-5.8.2.tar.gz)
>
> Pada Senin, 30 Maret 2015 14.01.40 UTC+7, Doubt Dolson menulis:
>>
>> It seems there is problem with GetRefreshToken.php (at least with the
>> version we were using). So,
>>
>> Forget about execution of GetRefreshToken.php
>> Instead, go to this URL : https://developers.google.com/oauthplayground/
>> Click on the SETTINGS icon on top right
>> CHECK mark Use your own OAuth credentials
>> Provide "OAuth Client ID" and "OAuth Client Secret" you have
>> Click on close
>> Next, on
>> Step 1Select & authorize APIs
>>
>> Fill the input box(the box with watermark text '*Input your own scopes*'
>> with "https://adwords.google.com/api/adwords/";
>>
>> Then, click on Authorize APIs
>>
>> Now,
>> Step 2Exchange authorization code for tokens
>>
>>
>> The above step will be populated with Authorization Code
>>
>> Again click on Exchange authorization code for tokens in the same step
>>
>> The required Refresh Token and Access Token gets populated
>>
>>
>> The same can be used on your client applications to consume ADWORDS APIs
>>
>>
>> Hope this works. If not, let me know with specifications, I will be glad
>> to have a look.
>>
>>
>>
>> On Sat, Mar 28, 2015 at 11:21 PM, Akhmad Bayquni 
>> wrote:
>>
>>> Can i know what you do in case 1? I have same problem. And it my first
>>> time for using Adwords API. I need help. :)
>>>
>>>
>>> Pada Jumat, 10 Januari 2014 19.54.53 UTC+7, Doubt Dolson menulis:

 Hi,

 As we were trying to get API access, we did follow the following
 procedure but with only failure.

 We got error messages at two places while



 *1. Trying to get Authorization Code 'Error: redirect_uri_mismatch' 2.
 Trying to get Refresh Token 'Error: invalid_grant'   *
 CASE # 1 :
We have an active MCC account
We are using Adwords PHP Client Library v201309
We have valid and approved developer token
We have generated client_id and client_secret using  URL :
 https://code.google.com/apis/console#access for Web Application
We went to command line and executed GetRefreshToken.php
We got URL to execute
We  executed ,we got error #1*'Error: redirect_uri_mismatch'*

 CASE # 2 :
From case # 1, We got URL to execute
We replaced redirect_uri manually by replacing with one of the urls
 defined as redirect urls during client id/secret generation
We executed the modified URL
We got an interface where it asked if we want to allow access to the
 application we defined
We allowed *Clicked on allow button*
We got an authorization code
We supplied the same to the GetRefreshToken.php file as $code
Again, we got an error *'Error: invalid_grant' *

 We are not able to move ahead from this point. So, any help would be
 appreciated.

 Note:
 With the same developer token, we are able to fetch data from a
 test MCC Account.

 Thanks,
 Deepak

>>>  --
>>> --
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> 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 adwor...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> adwords-api...@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 a topic in the
>>> Google Groups "AdWords API Forum" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/adwords-api/pv9y3nTI89s/unsubscribe.
>>> To unsub

Re: Error: redirect_uri_mismatch and Error: invalid_grant

2015-03-30 Thread Akhmad Bayquni
Hi, thanks for the response. I've done what you mean, but the same problem 
comes even as the first step.

I've been checking the "Use your own OAuth credentials", i was provide 
"OAuth Client ID" and "OAuth Client Secret" where i have.

I was fill the input box (the box with the watermark text 'Input your own 
scopes' with "https://adwords.google.com/api/adwords/"; and when I click 
"Authorize APIs" I redirected to the page with the error the same. 400.

That's an error.

Error: redirect_uri_mismatch

The redirect URI in the request: 
https://developers.google.com/oauthplayground did not match a registered 
redirect URI.

Just for info, i installed this on my localhost with xampp and phph 5.4.

In the dashboard API I set JavaScript origins at: http://localhost:8700 and 
Redirect URIs with http://localhost:8700/ads (this is the folder where I 
put all the files adwords-examples-and-lib-5.8.2.tar.gz)

Pada Senin, 30 Maret 2015 14.01.40 UTC+7, Doubt Dolson menulis:
>
> It seems there is problem with GetRefreshToken.php (at least with the 
> version we were using). So,
>
> Forget about execution of GetRefreshToken.php
> Instead, go to this URL : https://developers.google.com/oauthplayground/
> Click on the SETTINGS icon on top right
> CHECK mark Use your own OAuth credentials
> Provide "OAuth Client ID" and "OAuth Client Secret" you have 
> Click on close
> Next, on 
> Step 1Select & authorize APIs
>
> Fill the input box(the box with watermark text '*Input your own scopes*' 
> with "https://adwords.google.com/api/adwords/";
>
> Then, click on Authorize APIs
>
> Now, 
> Step 2Exchange authorization code for tokens 
>
>
> The above step will be populated with Authorization Code
>
> Again click on Exchange authorization code for tokens in the same step
>
> The required Refresh Token and Access Token gets populated
>
>
> The same can be used on your client applications to consume ADWORDS APIs
>
>
> Hope this works. If not, let me know with specifications, I will be glad 
> to have a look.
>
>
>
> On Sat, Mar 28, 2015 at 11:21 PM, Akhmad Bayquni  > wrote:
>
>> Can i know what you do in case 1? I have same problem. And it my first 
>> time for using Adwords API. I need help. :)
>>
>>
>> Pada Jumat, 10 Januari 2014 19.54.53 UTC+7, Doubt Dolson menulis:
>>>
>>> Hi,
>>>
>>> As we were trying to get API access, we did follow the following 
>>> procedure but with only failure. 
>>>
>>> We got error messages at two places while 
>>>
>>>
>>>
>>> *1. Trying to get Authorization Code 'Error: redirect_uri_mismatch' 2. 
>>> Trying to get Refresh Token 'Error: invalid_grant'   *
>>> CASE # 1 :
>>>We have an active MCC account
>>>We are using Adwords PHP Client Library v201309
>>>We have valid and approved developer token
>>>We have generated client_id and client_secret using  URL : 
>>> https://code.google.com/apis/console#access for Web Application
>>>We went to command line and executed GetRefreshToken.php
>>>We got URL to execute
>>>We  executed ,we got error #1*'Error: redirect_uri_mismatch'* 
>>>
>>> CASE # 2 :
>>>From case # 1, We got URL to execute 
>>>We replaced redirect_uri manually by replacing with one of the urls 
>>> defined as redirect urls during client id/secret generation
>>>We executed the modified URL
>>>We got an interface where it asked if we want to allow access to the 
>>> application we defined
>>>We allowed *Clicked on allow button*
>>>We got an authorization code
>>>We supplied the same to the GetRefreshToken.php file as $code
>>>Again, we got an error *'Error: invalid_grant' *
>>>
>>> We are not able to move ahead from this point. So, any help would be 
>>> appreciated.
>>>
>>> Note:
>>> With the same developer token, we are able to fetch data from a test 
>>> MCC Account.
>>>
>>> Thanks,
>>> Deepak
>>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 adwor...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> adwords-api...@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 a topic in the 
>> Google Groups "AdWords API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/pv9y3nTI89s/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> adwords-api...@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/0ae

Re: Error: redirect_uri_mismatch and Error: invalid_grant

2015-03-30 Thread Doubt Dolson
It seems there is problem with GetRefreshToken.php (at least with the
version we were using). So,

Forget about execution of GetRefreshToken.php
Instead, go to this URL : https://developers.google.com/oauthplayground/
Click on the SETTINGS icon on top right
CHECK mark Use your own OAuth credentials
Provide "OAuth Client ID" and "OAuth Client Secret" you have
Click on close
Next, on
Step 1Select & authorize APIs

Fill the input box(the box with watermark text '*Input your own scopes*'
with "https://adwords.google.com/api/adwords/";

Then, click on Authorize APIs

Now,
Step 2Exchange authorization code for tokens


The above step will be populated with Authorization Code

Again click on Exchange authorization code for tokens in the same step

The required Refresh Token and Access Token gets populated


The same can be used on your client applications to consume ADWORDS APIs


Hope this works. If not, let me know with specifications, I will be glad to
have a look.



On Sat, Mar 28, 2015 at 11:21 PM, Akhmad Bayquni 
wrote:

> Can i know what you do in case 1? I have same problem. And it my first
> time for using Adwords API. I need help. :)
>
>
> Pada Jumat, 10 Januari 2014 19.54.53 UTC+7, Doubt Dolson menulis:
>>
>> Hi,
>>
>> As we were trying to get API access, we did follow the following
>> procedure but with only failure.
>>
>> We got error messages at two places while
>>
>>
>>
>> *1. Trying to get Authorization Code 'Error: redirect_uri_mismatch' 2.
>> Trying to get Refresh Token 'Error: invalid_grant'   *
>> CASE # 1 :
>>We have an active MCC account
>>We are using Adwords PHP Client Library v201309
>>We have valid and approved developer token
>>We have generated client_id and client_secret using  URL :
>> https://code.google.com/apis/console#access for Web Application
>>We went to command line and executed GetRefreshToken.php
>>We got URL to execute
>>We  executed ,we got error #1*'Error: redirect_uri_mismatch'*
>>
>> CASE # 2 :
>>From case # 1, We got URL to execute
>>We replaced redirect_uri manually by replacing with one of the urls
>> defined as redirect urls during client id/secret generation
>>We executed the modified URL
>>We got an interface where it asked if we want to allow access to the
>> application we defined
>>We allowed *Clicked on allow button*
>>We got an authorization code
>>We supplied the same to the GetRefreshToken.php file as $code
>>Again, we got an error *'Error: invalid_grant' *
>>
>> We are not able to move ahead from this point. So, any help would be
>> appreciated.
>>
>> Note:
>> With the same developer token, we are able to fetch data from a test
>> MCC Account.
>>
>> Thanks,
>> Deepak
>>
>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/pv9y3nTI89s/unsubscribe.
> To unsubscribe from this group and all its topics, 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/0ae076d5-8bb0-49f3-a0a5-905f712f08b3%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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

Re: Error: redirect_uri_mismatch and Error: invalid_grant

2015-03-28 Thread Akhmad Bayquni
Can i know what you do in case 1? I have same problem. And it my first time 
for using Adwords API. I need help. :)

Pada Jumat, 10 Januari 2014 19.54.53 UTC+7, Doubt Dolson menulis:
>
> Hi,
>
> As we were trying to get API access, we did follow the following procedure 
> but with only failure. 
>
> We got error messages at two places while 
>
>
>
> *1. Trying to get Authorization Code 'Error: redirect_uri_mismatch' 2. 
> Trying to get Refresh Token 'Error: invalid_grant'   *
> CASE # 1 :
>We have an active MCC account
>We are using Adwords PHP Client Library v201309
>We have valid and approved developer token
>We have generated client_id and client_secret using  URL : 
> https://code.google.com/apis/console#access for Web Application
>We went to command line and executed GetRefreshToken.php
>We got URL to execute
>We  executed ,we got error #1*'Error: redirect_uri_mismatch'* 
>
> CASE # 2 :
>From case # 1, We got URL to execute 
>We replaced redirect_uri manually by replacing with one of the urls 
> defined as redirect urls during client id/secret generation
>We executed the modified URL
>We got an interface where it asked if we want to allow access to the 
> application we defined
>We allowed *Clicked on allow button*
>We got an authorization code
>We supplied the same to the GetRefreshToken.php file as $code
>Again, we got an error *'Error: invalid_grant' *
>
> We are not able to move ahead from this point. So, any help would be 
> appreciated.
>
> Note:
> With the same developer token, we are able to fetch data from a test 
> MCC Account.
>
> Thanks,
> Deepak
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0ae076d5-8bb0-49f3-a0a5-905f712f08b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error on creating CPA campaign

2015-02-17 Thread Michael Cloonan (AdWords API Team)
Hello,

This bidding scheme requires that you're recording conversions into your 
AdWords account before use.

For more information on CPA, please see our help center articles on CPA 
bidding  and setting 
up your conversion optimizer 
, which contain more 
information on how many conversions you need before these features will 
become available.

Regards,
Mike, AdWords API Team

On Tuesday, February 17, 2015 at 4:12:23 AM UTC-5, Jayaprakash P wrote:
>
> HI,
>
> I would like to promote our Android App using CPA method. But i am getting 
> an error when i create an CPA ad campaign. i am getting the "To use the 
> selected bid strategy, you'll need more conversions." error when  trying 
> to save the campaign. Any help will be appreciated.
>
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/246859a8-5f0d-427b-9a7d-480a0b8be681%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Georg Döhring
Thank you for the anwser!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f416d1d8-723e-48a3-8263-85931a7cad20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Georg,

The BudgetOptimizer bidding strategy was deprecated in v201402 
. Sorry 
I didn't mention this before -- I forgot about this change.

In place of the BudgetOptimizer strategy, use the shared TargetSpend 
strategy.

Good point on the API docs -- I'll look into having those updated to 
reflect these changes.

Cheers,
Josh, AdWords API Team

On Tuesday, December 2, 2014 3:12:15 AM UTC-5, Georg Döhring wrote:
>
> Hi Josh,
>
> thank you for your reply. This does clarify some thinks, thanks. Seems as 
> if we missed about that deprecation. Maybe you should update the API doc 
> https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.ManualCpcBiddingScheme
>  
> as there is the enhancedCpc Option still mentioned.
>
> For the problem with BudgetOtimizer what's the solution here? Seems as if 
> my fellow Dominic Hofilena has the same problem here: 
> https://groups.google.com/forum/#!topic/adwords-api/Ai0Mkq03Egw 
> According to the Bidding guide, a budget optimizer is non-shared so the 
> request above should work?
>
> Thank you,
> Georg
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c07d31ff-ebf6-407a-9064-2dae8f08aadd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-02 Thread Georg Döhring
Hi Josh,

thank you for your reply. This does clarify some thinks, thanks. Seems as 
if we missed about that deprecation. Maybe you should update the API 
doc 
https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.ManualCpcBiddingScheme
 
as there is the enhancedCpc Option still mentioned.

For the problem with BudgetOtimizer what's the solution here? Seems as if 
my fellow Dominic Hofilena has the same problem 
here: https://groups.google.com/forum/#!topic/adwords-api/Ai0Mkq03Egw 
According to the Bidding guide, a budget optimizer is non-shared so the 
request above should work?

Thank you,
Georg

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/73d84c06-60e0-4756-975a-8eb3cc06c6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-01 Thread Josh Radcliff (AdWords API Team)
Hi Georg,

There are two separate issues related to your question.

1. Starting with v201402, you can no longer enable enhanced CPC for the 
manual CPC bidding strategy (see the *Deprecated* section in the v201402 
release notes 
).

2. In place of #1, you should use a bidding strategy of type ENHANCED_CPC. 
However, as mentioned in our Bidding Guide 
, you can 
only use ENHANCED_CPC when creating a *shared* bidding strategy, so you'll 
have to first create the shared strategy via BiddingStrategyService 
,
 
and then use the returned SharedBiddingStrategy.id 

 to 
populate the campaign's biddingStrategyConfiguration.biddingStrategyId 

.

Cheers,
Josh, AdWords API Team

On Monday, December 1, 2014 12:02:07 PM UTC-5, Georg Döhring wrote:
>
> Here is a request for ManualCpc-Campaign with enhancedCpc enabled. Running 
> the exact same request with enhancedCpc=false works fine.
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";
>
> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201406";
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> 
> x
> xx
> x
> 
> 
> 
> 
> 
> 
> ADD
> 
> SHELL Testkampagne 547c9e162cb8e
> ENABLED
> 20141201
> 20371230
> 
> 183661294
> 
> 
> ROTATE
> 
> 
> true
> 
> 
> intelliad.com
> en
> 
> 
> SEARCH
> 
> true
> 
> true
> 
> false
> 
> false
> 
> 
> 
> MANUAL_CPC
>  xsi:type="ns1:ManualCpcBiddingScheme">
> 
> true
> 
> 
> 
> 
> 
> 
> 
>
>
> The response is:
>
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
>  xmlns="https://adwords.google.com/api/adwords/cm/v201406";>
> 0005092a8696f2090ac4b8ea42002c42
> CampaignService
> mutate
> 0
> 98
> 
> 
> 
> 
> soap:Server
> 
> [BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @
> 
> operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
>  trigger:'true']
> 
> 
>  xmlns="https://adwords.google.com/api/adwords/cm/v201406";>
> 
> [BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @
> 
> operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
> trigger:'true']
> 
> 
> ApiException
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="BiddingErrors">
> 
> operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled
> 
> true
> 
> BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
> BiddingErrors
> 
> CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
> 
> 
> 
> 
> 
> 
>
>

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

Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-01 Thread Georg Döhring
Here is a request for ManualCpc-Campaign with enhancedCpc enabled. Running 
the exact same request with enhancedCpc=false works fine.


http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201406";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>


x
xx
x






ADD

SHELL Testkampagne 547c9e162cb8e
ENABLED
20141201
20371230

183661294


ROTATE


true


intelliad.com
en


SEARCH

true
true

false

false



MANUAL_CPC


true









The response is:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201406";>
0005092a8696f2090ac4b8ea42002c42
CampaignService
mutate
0
98




soap:Server

[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
 trigger:'true']


https://adwords.google.com/api/adwords/cm/v201406";>

[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
trigger:'true']


ApiException
http://www.w3.org/2001/XMLSchema-instance"; xsi:type="BiddingErrors">

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled

true

BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
BiddingErrors

CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/60c78411-bfc3-4c54-9d02-575635345089%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error CANNOT_ATTACH_BIDDING_STRATEGY_TO_ADGROUP /_CAMPAIGN

2014-12-01 Thread Georg Döhring
Here is a request for ManualCpc-Campaign with enhancedCpc enabled. Running 
the exact same request with enhancedCpc=false works fine.


http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201406";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>


7467495078
SH1qQ1E55OR4LCvmHetowg
intelliAd-2013-php-4.6.1 (AwApi-PHP/5.4.0, 
Common-PHP/5.4.0, PHP/5.4.9-4ubuntu2.4)






ADD

SHELL Testkampagne 547c9e162cb8e
ENABLED
20141201
20371230

183661294


ROTATE


true


intelliad.com
en


SEARCH

true
true

false

false



MANUAL_CPC


true









The response is:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201406";>
0005092a8696f2090ac4b8ea42002c42
CampaignService
mutate
0
98




soap:Server

[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
 trigger:'true']


https://adwords.google.com/api/adwords/cm/v201406";>

[BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled;
trigger:'true']


ApiException
http://www.w3.org/2001/XMLSchema-instance"; xsi:type="BiddingErrors">

operations[0].operand.biddingStrategyConfiguration.biddingScheme.enhancedCpcEnabled

true

BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN
BiddingErrors

CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/acf68f4f-a862-4553-8266-a2d8b27d9e12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Uncaught SoapFault exception: [soap:Server] [SelectorError.INVALID_PREDICATE_ENUM_VALUE @ serviceSelector; trigger:'DELETED']

2014-11-27 Thread Danial Klimkin
Hello,


'DELETED' is now known as 'REMOVED'. Please see the migration guide:

  https://developers.google.com/adwords/api/docs/guides/migration/v201406


-Danial, AdWords API Team.


On Thursday, November 27, 2014 12:31:28 PM UTC+3, mcc.cit...@gmail.com 
wrote:
>
> 2014/11/26 15:49:42 [error] 9220#0: *734808 FastCGI sent in stderr: "PHP 
> message: PHP Fatal error: Uncaught SoapFault exception: [soap:Server] 
> [SelectorError.INVALID_PREDICATE_ENUM_VALUE @ serviceSelector; 
> trigger:'DELETED'] in /Google/Api/Ads/Common/Lib/AdsSoapClient.php:232
>
> Stack trace:
> #0 /Google/Api/Ads/Common/Lib/AdsSoapClient.php(232): 
> SoapClient->__soapCall('get', Array, NULL, Array, Array)
> #1 Google/Api/Ads/AdWords/v201409/CampaignService.php(7849): 
> AdsSoapClient->__soapCall('get', Array)
> #2 /library/addwords/index.php(114): CampaignService->get(Object(Selector))
> #3 library/addwords/index.php(89): GetCampaigns(Object(AdWordsUser), 
> 'v201409')
> #4 {main}
>   thrown in /library/addwords/Google/Api/Ads/Common/Lib/AdsSoapClient.php 
> on line 232" while reading response header from upstream, client: 
> 92.60.176.169, server: citrus_dzyubenko.r.citrus.ua, request: "GET 
> /library/addwords/ HTTP/1.0", upstream: 
> "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "
> citrus_dzyubenko.r.citrus.ua"
>
>
> *I had such a mistake. What could it be?*
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8e425949-5b04-45e7-9fbb-2422c46fe02b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

2014-11-21 Thread eric haberman
Thanks Mike!  

I actually resolved the issue, the access_token header was not being sent - 
when I updated the library one of the files was locked and not overwritten, 
so it was using an older version file to send the request.

On Friday, November 21, 2014 8:51:41 AM UTC-6, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello Eric,
>
> Are you able to make successful calls to client accounts of that MCC? You 
> could try generating a new refresh token for the MCC you're trying to use, 
> ensuring that you're logged in as that MCC, which may resolve the issue. 
> Maybe the refresh token you're using is from some other account.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, November 20, 2014 3:06:05 PM UTC-5, eric haberman wrote:
>>
>> Mike it appears that my MCC account cannot access my MCC account :)
>>
>> Or am I missing a step where I need to authorize my MCC client ID with 
>> the same accounts developer and refresh tokens?
>>
>> If so, any idea how to go about doing that?
>>
>> Thanks!
>>
>> On Thursday, November 20, 2014 1:25:16 PM UTC-6, Michael Cloonan (AdWords 
>> API Team) wrote:
>>>
>>> Hello,
>>>
>>> You shouldn't need to generate a new refresh token to upgrade to a new 
>>> version of the API. Your existing refresh token should continue to work.
>>>
>>> As seen on our common errors page 
>>> ,
>>>  
>>> this error message means that the MCC you're authenticating as isn't linked 
>>> to the client account against which you're trying to operate, meaning that 
>>> you don't have permissions to act on that account. Please make sure that 
>>> your refresh token is linked to the correct MCC account, and that that MCC 
>>> account is linked to the account you're trying to use.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Thursday, November 20, 2014 2:09:33 PM UTC-5, eric haberman wrote:

 Hello,

 I *thought* that I was all ready for the new API sunset, but apparently 
 not.

 Using my MCC account, a new refresh token, and the clientID for my MCC 
 account I'm getting this error when instantiating the user object (PHP 
 library)

 Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

 Why would my MCC account be denied from accessing the API?

 Thanks for any help you can provide!

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69a1d6f9-3157-4112-8b15-1d141b51316b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

2014-11-21 Thread Michael Cloonan (AdWords API Team)
Hello Eric,

Are you able to make successful calls to client accounts of that MCC? You 
could try generating a new refresh token for the MCC you're trying to use, 
ensuring that you're logged in as that MCC, which may resolve the issue. 
Maybe the refresh token you're using is from some other account.

Regards,
Mike, AdWords API Team

On Thursday, November 20, 2014 3:06:05 PM UTC-5, eric haberman wrote:
>
> Mike it appears that my MCC account cannot access my MCC account :)
>
> Or am I missing a step where I need to authorize my MCC client ID with the 
> same accounts developer and refresh tokens?
>
> If so, any idea how to go about doing that?
>
> Thanks!
>
> On Thursday, November 20, 2014 1:25:16 PM UTC-6, Michael Cloonan (AdWords 
> API Team) wrote:
>>
>> Hello,
>>
>> You shouldn't need to generate a new refresh token to upgrade to a new 
>> version of the API. Your existing refresh token should continue to work.
>>
>> As seen on our common errors page 
>> ,
>>  
>> this error message means that the MCC you're authenticating as isn't linked 
>> to the client account against which you're trying to operate, meaning that 
>> you don't have permissions to act on that account. Please make sure that 
>> your refresh token is linked to the correct MCC account, and that that MCC 
>> account is linked to the account you're trying to use.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Thursday, November 20, 2014 2:09:33 PM UTC-5, eric haberman wrote:
>>>
>>> Hello,
>>>
>>> I *thought* that I was all ready for the new API sunset, but apparently 
>>> not.
>>>
>>> Using my MCC account, a new refresh token, and the clientID for my MCC 
>>> account I'm getting this error when instantiating the user object (PHP 
>>> library)
>>>
>>> Error: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']
>>>
>>> Why would my MCC account be denied from accessing the API?
>>>
>>> Thanks for any help you can provide!
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9d6d8b84-cb44-4ca9-983f-c9cd45f0f07b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error thrown while using Adwords API using Test MCC account and developer token generated from production MCC account

2014-11-20 Thread Josh Radcliff (AdWords API Team)
Hi,

You may want to check out the discussion on the related closed issue 
 for the Java 
client library. That NullPointerException means that your request is 
failing, probably due to missing parameters in your ~/ads.properties file.

Are you using the latest version of the client library? I ask because the 
issue was fixed recently by the release of google-oauth-client 
 
19.0.

Thanks,
Josh, AdWords API Team

On Thursday, November 20, 2014 1:59:34 AM UTC-5, ravindra naik wrote:
>
>
> Hi,
>
> I am trying to use keyword planner api. I have generated a developer token 
> from Production MCC account and I am using a test MCC account for testing. 
> I have created Client Id and client secret key using test account 
> credentials.
>
> But I have been getting this exception:
>
> Exception in thread "main" java.lang.NullPointerException
> at 
> com.google.api.client.repackaged.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
> at 
> com.google.api.client.util.Preconditions.checkNotNull(Preconditions.java:127)
> at 
> com.google.api.client.json.jackson2.JacksonFactory.createJsonParser(JacksonFactory.java:92)
> at 
> com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:85)
> at 
> com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:81)
> at 
> com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:88)
> at 
> com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:287)
> at 
> com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
> at 
> com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:570)
> at 
> com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:362)
> at 
> com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)
> at 
> com.google.api.ads.common.lib.auth.OAuth2Helper.callRefreshToken(OAuth2Helper.java:70)
> at 
> com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:144)
>
>
> Can anyone suggest me as to what to do. I have been trying to fix this 
> since last two days. Please revert back to this as soon as possible
>
> Thanks in advance
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aa6edf64-54e2-4736-b8b0-f18b37124f06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


<    3   4   5   6   7   8   9   10   11   12   >