Re: UNEXPECTED_INTERNAL_API_ERROR error when trying to push call conversions

2016-12-09 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Emily,

Could you please provide me (using *reply privately to author*) with any 
SOAP request and response logs where you are getting this error so that I 
can take a further look?

If you don't have logging enabled, you can do so by following these 
instructions 

.

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/b50297f2-3280-4d15-9260-9b362f2f76a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue with automatic text Ad policy verification

2016-12-09 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Sylvain,

When you encounter policy violation errors, you need to check the failed 
operation to determine if this violation is exemptable 
.
 
If it is exemptable, you need to submit the operation by including the 
exemption requests as described here 

 and 
the operation will be successful and this ad will be pending review. The 
HandlePolicyViolationError 

 Java 
example demonstrates how to work with policy violation errors. Example code 
in other languages is available here 
. 

Regards,
Shwetha, AdWords API Team.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed13263a-ef5e-4a72-a37d-2e915017a04b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UNEXPECTED_INTERNAL_API_ERROR error when trying to push call conversions

2016-12-09 Thread emily
We're trying to push call conversions to our Adwords account and when I 
execute the python script, I get this error after which the script 
terminates. 

No handlers could be found for logger "suds.client"
Traceback (most recent call last):
  File "SF_Adwords_API.py", line 158, in 
main(adwords_client)
  File "SF_Adwords_API.py", line 141, in main
occ_response = occ_feed_service.mutate(occ_operations)
  File "build\bdist.win32\egg\googleads\common.py", line 696, in 
MakeSoapRequest
suds.WebFault: Server raised fault: 
'[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]'

I've been getting the error all day,and I was wondering if this is an 
actual internal issue or if there's something wrong with my actual script. 
Any help on this is greatly appreciated, thank you!

Emily

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7828a460-18a6-40d5-b8f1-30ef4fbc4674%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python client got warning on CentOS 6.5: "PowmInsecureWarning: Not using mpz_powm_sec."

2016-12-09 Thread Jay Zou
Thanks for pointing me to the right place, Shwetha. 

I posted it at https://github.com/googleads/googleads-python-lib/issues/167 

On Friday, December 9, 2016 at 3:50:25 PM UTC-5, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Jay,
>
> Thanks for bringing this to our notice. Since this is a Python specific 
> issue, please create a new issue in the Python client library repository 
>  so that this 
> issue can be addressed there.
>
> Regards,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6c4b21dd-dbf3-437f-9618-81adfd55c3a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python client got warning on CentOS 6.5: "PowmInsecureWarning: Not using mpz_powm_sec."

2016-12-09 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Jay,

Thanks for bringing this to our notice. Since this is a Python specific 
issue, please create a new issue in the Python client library repository 
 so that this 
issue can be addressed there.

Regards,
Shwetha, AdWords API Team.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0a3c3346-a827-4d94-9803-4e080a704e81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Issue with automatic text Ad policy verification

2016-12-09 Thread Sylvain Beauregard
Hi!

I just got a Policy Violation error when creating a text ad for a campaign 
of ours, but it's not founded... any way to circumvent it?

I got the policy violation error regarding pharma, saying that only US 
based pharmacies are to be registered with the National Association Boards 
of pharmacy and only them can run ads, and target people in certain 
locations, and so on.

The violating word: RX

Here's the content of my ad:

[headlinePart1] => 1 2010 Lexus RX 450h
[headlinePart2] => Starting at 21990$
[description] => Find your next RX 450h today!


It's about a CAR!  RX is the name of the model of the car, as you can see 
on Lexus' Web site:
http://www.lexus.com/models/RX

So, any way to work around this?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/add3d194-57db-4520-89bf-f74a4c241f0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: An existing connection was forcibly closed by the remote host

2016-12-09 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API Forum
Hi Caihua,

Could you try increasing the timeout in the .NET client library using the 
Timeout setting in App.config? 
See 
https://github.com/googleads/googleads-dotnet-lib/wiki/Understanding-App.config#general-library-behavior
 
for details.

The error you get could be due to a server somewhere up the chain (e.g. 
ISP) closing the connection midway, so trying out the same report download 
with a different machine / ISP is one way to troubleshoot the issue.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, December 8, 2016 at 11:15:40 PM UTC-5, Caihua Du wrote:
>
> Hi Anthony,
>
> Do you have any update? We saw new failures today in which the IO 
> connection get terminated after 5 mins while we are downloading report 
> file. Please let us know if this is expected or not. Thank you!
>
> Caihua.
>
> On Wednesday, December 7, 2016 at 10:19:32 PM UTC-8, Caihua Du wrote:
>>
>> Hi Anthony,
>>
>> No, we didn't make changes to the deployment environment. This issue is 
>> not 100% repro, and if the download time is more than 5 min, the connection 
>> seems get force closed. Is this expected?
>>
>> Thank you!
>> Caihua.
>>
>> On Wednesday, December 7, 2016 at 2:42:36 PM UTC-8, Anthony Madrigal 
>> wrote:
>>>
>>> Hi Caihua,
>>>
>>> This may be a network related issue on your side. Have you made any 
>>> changes to the hosts where your app is deployed such as upgrading the .NET 
>>> runtime recently or changing some values in your App.config/Web.config file?
>>>
>>> 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aadc0c2d-736f-4c23-b07d-366906dec8bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: unable get why this error is coming

2016-12-09 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Bhanu,

I deleted your most recent post because it violated our forum policy 
. 
Please ensure you click on *Reply privately to author *when your post 
contains sensitive/private information. 

Regarding your issue, are you trying to use CustomerService 

 to 
fetch account information? If that's the case, you can refer to this example 

 in 
our Java client library  for 
details on how to go about it. Same example is available in other client 
libraries  as 
well. Our Managing Accounts 
 guide 
has more information on this topic. 

Regards,
Vishal, 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/be743b9b-c166-4778-9975-111711d43b0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP - Invalid Request Error in "GetAccessToken"

2016-12-09 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Burak,

Could you provide the steps you followed to create your OAuth2 credentials 
and generate the refresh token? Could you also let me know if you are using 
Installed application type credentials or web app type credentials? The 
invalid_request error usually occurs if a required parameter is missing 
from the OAuth2 request. 

Could you also try creating a new set of credentials by following the 
instructions provided here 

 and 
let me know if it works? 

Thanks,
Shwetha, AdWords API Team.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7d41051c-c9ab-4e19-9986-7249b2603344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Encountered errror when calling CampaignCriterionService: RateExceededError

2016-12-09 Thread Caihua Du
Thank you Sreelakshmi! Yes, we applied the suggestion yesterday by retrying 
after 1 min or more, but still the same issue happened for some customers. 
I will share the SOAP request and the customerid with you privately. This 
is currently affecting your customer and it would be great it can be 
figured our shortly. Thank you and really appreciate your help!!!

Caihua.

On Friday, December 9, 2016 at 9:25:10 AM UTC-8, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Caihua, 
>  
> As you have noticed, the limit that is being exceeded in your case is '
> RequestsPerMinute'. Given that the limits enforced are based on various 
> factors and could fluctuate, it is hard to comment about the number. But 
> since you are hitting the error, the best way to go would be either 
> combining the requests if that is a possible option for you or 
> implementing a throttling mechanism to handle these errors. Here are the 
> links to the best practices 
>  
> and 
> the batch processing guide 
> .
>
> If you still see issues after implementing our suggestions and with fewer 
> requests, please write back using 'Reply privately to author' option with 
> your customer Id.
>
> Thanks,
> Sreelakshmi Sasidharan, AdWords API Team
>
> On Thursday, December 8, 2016 at 1:17:13 PM UTC-5, Caihua Du wrote:
>>
>> Hi AdWords team,
>>
>> We encountered several errors around 12/8 2am UTC - 12/8 3am UTC time 
>> when calling CampaignCriterionService. It reported that RateExceededError. 
>> I checked the existing posts before and seems like the request is associate 
>> with my "dev token". However, we don't have many request compared with 
>> before, so I am wondering if we changed the limitation some how? Can you 
>> please take a look, thanks!
>>
>> Pasted call stack below for reference:
>>
>> System.Web.Services.Protocols.SoapException: [RateExceededError 
>> 

Re: Encountered errror when calling CampaignCriterionService: RateExceededError

2016-12-09 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Caihua, 
 
As you have noticed, the limit that is being exceeded in your case is '
RequestsPerMinute'. Given that the limits enforced are based on various 
factors and could fluctuate, it is hard to comment about the number. But 
since you are hitting the error, the best way to go would be either 
combining the requests if that is a possible option for you or implementing 
a throttling mechanism to handle these errors. Here are the links to the best 
practices 
 and 
the batch processing guide 
.

If you still see issues after implementing our suggestions and with fewer 
requests, please write back using 'Reply privately to author' option with 
your customer Id.

Thanks,
Sreelakshmi Sasidharan, AdWords API Team

On Thursday, December 8, 2016 at 1:17:13 PM UTC-5, Caihua Du wrote:
>
> Hi AdWords team,
>
> We encountered several errors around 12/8 2am UTC - 12/8 3am UTC time when 
> calling CampaignCriterionService. It reported that RateExceededError. I 
> checked the existing posts before and seems like the request is associate 
> with my "dev token". However, we don't have many request compared with 
> before, so I am wondering if we changed the limitation some how? Can you 
> please take a look, thanks!
>
> Pasted call stack below for reference:
>
> System.Web.Services.Protocols.SoapException: [RateExceededError 
> 

Python client got warning on CentOS 6.5: "PowmInsecureWarning: Not using mpz_powm_sec."

2016-12-09 Thread Jay Zou
Using Python 2.7, I got this warning after "from googleads import adwords":

/usr/local/lib/python2.7/site-packages/Crypto/Util/number.py:57: 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using libgmp 
>= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid 
timing attack vulnerability.", PowmInsecureWarning)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e71b510e-728a-45e5-b9a7-a059fa1eb144%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get image(s) of a html5 ad?

2016-12-09 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Oliver,

Unfortunately, it is not currently possible to get template elements such 
as its image URL through the Ad Performance Report.

You will need to use the AdGroupAdService to get the templateElements 

 of 
the TemplateAd. The value for the image URL will come as the sourceUrl 

 of 
the IMAGE.

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/641a7a55-90cb-4c9e-a4c2-c9e661c6ab83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ConversionCategoryName not compatible with field Conversions?

2016-12-09 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

I'm still waiting for a response from our reporting team on this question:

Why is it that the ConversionCategoryName is incompatible with Conversions 
> metric for the Shopping Performance Report?


I'll ask them again for an update and post back here when I have more 
information.

Thanks,
Josh, AdWords API Team

On Thursday, December 8, 2016 at 4:32:06 PM UTC-5, Sam Shmeil wrote:
>
> Hi, any update?
>
> On Tuesday, September 27, 2016 at 8:59:34 AM UTC-4, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Please see my responses below.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Monday, September 26, 2016 at 12:10:14 PM UTC-4, Joe Rosenwald wrote:
>>>
>>> Why is it that the ConversionCategoryName is incompatible with 
>>> Conversions metric for the Shopping Performance Report?
>>>
>>
>> Good question -- I'm looking into this one and will get back to you.
>>  
>>
>>>
>>> I want to be able to only get Conversions that are from Purchase/Sale
>>>
>>
>> Which *ConversionType*s are included in the *Conversion* metric is 
>> determined by the ConversionTracker.excludeFromBidding attribute 
>> .
>>  
>> A value of *false* means that conversions from the tracker will be 
>> included in *Conversions*.
>>  
>>
>>>
>>> Are PLAs/Shopping only purchase sale?
>>>
>>
>> This depends on which *ConversionType*s (and their categories) you 
>> choose to trigger from your shopping ads.
>>
>>  
>>
>>>
>>> Also, what is the difference between ConversionCategoryName and  
>>> ConversionTypeName?
>>>
>>
>> * ConversionCategoryName* is one of the predefined values listed for the 
>> ConversionTracker.category 
>> enum 
>> ,
>>  
>> so you could, for example, have multiple *ConversionTracker* objects 
>> with the same category. In contrast, *ConversionTypeName* is the *unique* 
>> name 
>> of the individual *ConversionTracker*.
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/40648bff-adef-4e4a-b91f-d5488e37f492%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Campaign performance report not showing values

2016-12-09 Thread Lucas Ertola
Thanks Anthony! I wasn't aware of it! I've already posted my question on 
the other forum.
Regards

On Friday, December 9, 2016 at 2:52:39 PM UTC+1, Anthony Madrigal wrote:
>
> Hi Lucas,
>
> Since this question is related to AdWords Scripts, instead of AdWords API, 
> I recommend posting your question on their forum 
> 
>  
> so that they could help you out.
>
> 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/318c550f-9396-41e2-a365-6147f8b715c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Campaign performance report not showing values

2016-12-09 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Lucas,

Since this question is related to AdWords Scripts, instead of AdWords API, 
I recommend posting your question on their forum 

 
so that they could help you out.

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/40b9276e-dc11-46d6-ac21-bb6d6bad14b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PHP - Invalid Request Error in "GetAccessToken"

2016-12-09 Thread Burak Karakan

Hello.

We have been using the AdWords API for months, and implemented an OAuth 
login feature months ago. We were using it until 2 days ago, but suddenly 
we started getting the "invalid request" error, which is as follows:


OAuth2Exception in 
googleads-php-lib/src/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php 
line 119:{
"error" : "invalid_request"
}


I tried with different client ID and secret couples, but got the same 
error. I also tried the example codes which are called *GetRefreshToken.php 
*and *GetRefreshTokenWithoutIniFile.php* from the 
*googleads\googleads-php-lib\examples\AdWords\Auth\* path. I tried 
different things but unable to authenticate myself as the API client.

I am using the following piece of code, where I get the error in the last 
line:

$user = new AdWordsUser();
$user->SetDeveloperToken(env('DEVELOPER_TOKEN'));
$user->SetUserAgent(env("USER_AGENT"));

$OAuth2Handler = $user->GetOAuth2Handler();
$credentials = $OAuth2Handler->GetAccessToken($this->clientCredentials, 
$authCode, $this->callbackUrl);


The variable "clientCredentials" contains my client ID and client Secret, 
"authCode" is the authentication code that came as the parameter to the 
callback URL, and callback URL is my callback URL. I have been using this 
setup for more than 3 months, but for the last 2 days it constantly gives 
me the "invalid request" error.

Thanks for any help. I can provide more details if you want.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/023a2402-edcd-461c-a2d6-04c560edaecb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: unable get why this error is coming

2016-12-09 Thread Bhanu Prakash Rao



Hi Vishal,
I got above response and  error while callling the 
 com.google.api.ads.common.lib.factory.BaseServices  public  T get(S 
session, Class interfaceClass) method.
 List result = new ArrayList();

AdWordsSession session = getSession(null, userId);

CustomerServiceInterface customerService = 
adWordsServices.get(session, CustomerServiceInterface.class);
 

Thanks,
Bhanu.


On Thursday, December 8, 2016 at 10:41:33 PM UTC+5:30, Vishal Vinayak 
(Adwords API Team) wrote:
>
> Hi Bhanu,
>
> Could you please provide more details on how you got this error? Are you 
> trying to run one of the examples in our Java client library 
> ? If you happen to have 
> the SOAP XML request and response logs for this API call, that can help me 
> debug this issue. Please click on *Reply privately to author *when 
> responding. 
>
> Regards,
> Vishal, 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/c7fa0714-af5a-43e1-aa08-217cff07bcf2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fatal Error: invalid_request

2016-12-09 Thread Burak Karakan
Thanks Nadine, starting the thread now.

On Friday, December 9, 2016 at 12:27:51 AM UTC+3, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hello Burak,
>
> That error can come up for a number of reasons. It doesn't look like the 
> same issue from September. Could you please start a new thread with your 
> issue, so we can look at it separately? I believe it may have a different 
> root cause.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Thursday, December 8, 2016 at 1:20:06 PM UTC-5, Burak Karakan wrote:
>>
>> Hello. I am having the same problem today. For like more than 8 hours, I 
>> am getting the "invalid_request" error from every request. I am trying to 
>> authenticate new users but keep getting the same error. I also tried 2 
>> different web app client credentials, and in order to check if I something 
>> has changed since the last time I updated the code, I also ran the example 
>> files *GetRefreshToken.php* and *GetRefreshTokenWithoutIniFile.php *with 
>> a native client*, *but when I give the authorization code, I get the 
>> same error. I did not change anything in my code for at least 5 days, 
>> everything was working well, but when I tried this morning, I got this 
>> error. Anything to check on your side, or is this completely my mistake?
>>
>> Thanks a lot.
>>
>> 2 Eylül 2016 Cuma 14:19:39 UTC+3 tarihinde Nadine Sundquist (AdWords API 
>> Team) yazdı:
>>>
>>> Hello Everyone,
>>>
>>> Thanks for the feedback. It's such a relief to hear that the errors 
>>> disappeared! Now that we've identified where in our code the issue popped 
>>> up, we're putting measures in place to make sure this doesn't pop up again. 
>>> Thank you all for being SO helpful and patient. If anyone sees this 
>>> happening again within the next day, please contact me immediately.
>>>
>>> Take care,
>>> Nadine, AdWords API Team
>>>
>>> On Friday, September 2, 2016 at 1:14:44 AM UTC-4, AdWordsAPI-Gnr wrote:

 Hello,
 201 605 and 201 607 versions were tested. We did not encounter the 
 error. We continue to test. We're glad to be resolved. 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/d53f4a4d-ad2e-4b34-8087-fcfc332f969a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get image(s) of a html5 ad?

2016-12-09 Thread Oliver
In the Adwords web interface, we see the html5 ad as shown in the attached 
screenshot.  When we click on the html5 ad, we can see all the images in an 
ad.

How can we get these images via the API?

With other type of image ads (uploaded image ads), we get an Image URL in 
the *Ad Performance Report*.  However, with html5 ads, there is no URL in 
the report?

Oliver


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f30d3cdd-f097-4ec4-be1b-c72365a35508%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Campaign performance report not showing values

2016-12-09 Thread Lucas Ertola
Hi
Any idea why this code that is taken from the Code Snippets or Example's 

 
section is not showing me any report on the Log section when I run the 
script?

Code:
function main() {
function runReport() {


  var report = AdWordsApp.report(
  'SELECT CampaignName, Clicks, Impressions, Cost ' +
  'FROM   CAMPAIGN_PERFORMANCE_REPORT ' +
  'DURING LAST_30_DAYS');


  var rows = report.rows();
  while (rows.hasNext()) {
var row = rows.next();
var campaignName = row['CampaignName'];
var clicks = row['Clicks'];
var impressions = row['Impressions'];
var cost = row['Cost'];
Logger.log(campaignName + ',' + clicks + ',' + impressions + ',' + cost
);
  }
}


}

Result:






-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/770fef8b-f038-4768-8b98-f5099c00b708%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AD_PERFORMANCE_REPORT dimensions and metrics

2016-12-09 Thread 'Joyce Lava' via AdWords API Forum
Hi Subhash,

The fields AdvertisingChannelType 

 and AdvertisingChannelSubType 

 indicate 
the campaign type, but these are not available in the Ad Performance 
Report. You may use Campaign Performance Report to get these columns. 
Regarding the ConvertedClicks field, this was already removed from all 
reports 
. 
You may use Conversions 

 field 
instead in both report type (Ad Performance Report 

 and Campaign Performance Report 

). 

Regards,
Joyce, 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/af90adb2-2667-46c1-ae4c-bea5b0656e1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.