Ids and mutating ads

2018-06-11 Thread GregT
Hi,

I saw that in the recent v201806 release of the API, there is now the 
ability to mutate ads. This would make some things simpler for us where 
we're currently doing removal and adds to accomplish the same thing, so 
it'd be nice to use it. However, I'm a little hesitant, because something 
seems wrong about it. According 
to 
https://developers.google.com/adwords/api/docs/guides/ad-features#mutating_ads_for_v201806_and_later,
 
you can mutate the Ad by using the new AdService, setting the id field of 
the Ad, setting whatever fields you want to change, and sending it with the 
SET operator. The part that worries me is that ad ids are not globally 
unique, even within a single account, but are unique only within an ad 
group 
(https://developers.google.com/adwords/api/docs/guides/objects-methods). 
So, it seems unsafe and error prone to be able to modify an ad by 
specifying just its id, as you could have more than one ad in your account 
with that id, leading to modifying the wrong ad or an error (if the AdWords 
API is checking for this and returning a SOAP fault for it)? Or am I 
missing something?

Thanks in advance,
Greg

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

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


Re: Google Adword API: How to get total spent amount for given account using CURL/SOAP

2018-06-11 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Panjak,

Ideally, you can generate an ACCOUNT_PERFORMANCE_REPORT 
.
 
This generates statistical reports at the account level. You can use the 
Cost 

 field 
to determine the total amount spent on your campaigns.

Let me know if you have further clarifications.

Regards,
Dannison
AdWords API Team

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

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


Re: OperatorError.OPERATOR_NOT_SUPPORTED in AdwordsUserListService v201806

2018-06-11 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Vilen,

Based on your logs, you did not specify a concrete type of UserListOperation 

 in 
your operand which might have caused the error. You may look up to this sample 
code 

 for 
your reference on how to add BasicUserList 
.
 
Also, you may refer to the sample SOAP request below. If the issue persist, 
could you provide the complete SOAP request and response logs together with 
your clientCustomerId so I could further investigate the issue. Please 
reply via *Reply privately to author*.

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/rm/v201806; 
soapenv:mustUnderstand="0">
https://adwords.google.com/api/adwords/cm/v201806;>xxx-xxx-xx
https://adwords.google.com/api/adwords/cm/v201806;>REDACTED
https://adwords.google.com/api/adwords/cm/v201806;>unknown
https://adwords.google.com/api/adwords/cm/v201806;>false
https://adwords.google.com/api/adwords/cm/v201806;>false



https://adwords.google.com/api/adwords/rm/v201806;>

https://adwords.google.com/api/adwords/cm/v201806;>ADD
https://adwords.google.com/api/adwords/rm/v201806; xsi:type="ns8:
BasicUserList">
1
June cruise customers 
#1528774489303
A list of june cruise customers in the 
last year
OPEN
365







Thanks and regards,
Luis
AdWords API Team

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

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


Wating for Google Ads API Beta Request Access

2018-06-11 Thread yhmin
Hi, 

I sent Google Ads API request form via 
https://developers.google.com/google-ads/api/signup-form about 2 weeks ago, 
but haven't responded yet.

I want to know how long it takes to get access to Google Ads API by signing 
up the request form.

Best Regards,


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

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


Re: I have two settings and I can't find the corresponding adword api service object. Here is my screenshot. Which of the two objects are used separately?

2018-06-11 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
HI Jia,

For the bidding option in your screenshot, you may set the 
biddingStrategyType 

 as 
MANUAL_CPC, and then in your ManualCpcBiddingScheme 

 object, 
you can set the enhancedCpcEnabled 

 field 
to true. You can check this Java example 

 on 
how to add campaigns which is also available to other languages that 
AdWords API supports. There is a campaign in the example with MANUAL_CPC 
and what you need to add in the code is the enhancedCpcEnabled field which 
is being set to true.

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team

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

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


Limits question

2018-06-11 Thread sa
Hi AdWords API Support team,

I have a question about how many keywords I can add to an Ad Group. 
According to this , 
the limitation is 20,000 in total for things like such as keywords, 
placements, and audience lists but from this AdWords community 

 it 
says 5,000. Which one is correct? Is it a combined limit of 20,000 and a 
maximum of keywords limit on 5,000 keywords? I am asking this on behalf for 
AdWords API because I will be adding keywords via API.

Thanks,
SA

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

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


Re: Credential could not be refreshed exception while trying to create a session

2018-06-11 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Mohan,

My apologies as we do not support third party client environment like 
postman. Much better if you could post your issue here 

 as 
the client library owners might help you with this concern.

Regards,
Luis
AdWords API Team

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

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


Re: I have two settings and I can't find the corresponding adword api service object. Here is my screenshot. Which of the two objects are used separately?

2018-06-11 Thread jia zheng

I would like to specify whether the Enable Enhanced CPC function can be 
enabled during manual cost-per-click bidding under Manual bidding using 
adword api
在 2018年6月11日星期一 UTC+8下午2:15:37,Vincent Racaza (AdWords API Team)写道:
>
> Hi Jia,
>
> Both of your screenshots regarding conservative targeting as well as about 
> marketing goals of display campaigns are not yet supported in the AdWords 
> API. There is currently no way to set up or retrieve them via the AdWords 
> API. Please follow our blog 
>  to 
> receive any future updates like new releases.
>
> You may use the AdWords UI instead if you want to set these fields.
>
> Thanks,
> Vincent
> AdWords API Team
>

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

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


Re: How do I use adword api to get a keyword list for an account, should I select that service object? I can't find it

2018-06-11 Thread jia zheng
OK,I understand.thank you very much!

在 2018年6月11日星期一 UTC+8下午3:01:08,Vincent Racaza (AdWords API Team)写道:
>
> Hi Jia,
>
> You can use the AdGroupCriterionService.get() 
> 
>  and 
> filter your query with CriteriaType 
> 
>  = 
> KEYWORD. You can refer to this Java example 
> 
>  on 
> how to get the keywords from your account which is also available to other 
> languages as you can see in the link. You may also retrieve the keywords 
> via Keywords Performance Report 
> 
>  if what you want are keywords and their statistics.
>
> Let me know if you have further clarifications.
>
> Thanks,
> Vincent
> AdWords API Team
>

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

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


Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread Alon Diamant
Hey there Caihua,

Mind sharing what you by "empty client customer ID"? I send in an empty 
string or a null in clientCustomerId and I still get the same 
AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED error.

Thanks,

Alon

On Monday, June 11, 2018 at 9:21:11 PM UTC+3, Caihua Du wrote:
>
> This issue happened to us too. Lots of client have the same errors and it 
> suddenly shows up from 6/8 and nothing has been changed from our side. 
>
> In our code, we will have to pass in an empty client customer id in order 
> to get back all the accounts under this customer. Not sure what has been 
> changed from API side. 
>
> Please help take a look, thanks!
> Caihua.
>
>
> On Monday, June 11, 2018 at 4:44:55 AM UTC-7, James Andrews wrote:
>>
>> I had left it alone over the weekend, to see if it fixed itself, and was 
>> just digging into why it was happening, I’ll look there as well and confirm 
>> that’s where the error is happening.
>>
>> Thanks
>> James
>>
>> On Jun 11, 2018, at 7:44 PM, Ondřej P  wrote:
>>
>> Hi James,
>>
>> it happens intermittently during the getCustomers API call.
>>
>> Ondrej
>>
>> Dne pondělí 11. června 2018 12:17:22 UTC+2 James Andrews napsal(a):
>>>
>>> Well glad it's not just me, not glad that either of us have to deal with 
>>> this.  I am still getting these errors intermittently.  Are they always 
>>> called?  or do they show up intermittently for you as well?
>>>
>>> James
>>>
>>> On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:

 Hi,

 I have the same issue since 8.6.2018.
 SOAP 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/v201802; 
 soapenv:mustUnderstand="0">
 https://adwords.google.com/api/adwords/cm/v201802;>REDACTED
 
 https://adwords.google.com/api/adwords/cm/v201802;>ROI-Hunter 
 (AwApi-Java, AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, 
 Java/1.8.0_91, maven)
 https://adwords.google.com/api/adwords/cm/v201802;>false
 
 https://adwords.google.com/api/adwords/cm/v201802;>false
 
 
 
 
 https://adwords.google.com/api/adwords/mcm/v201802"/>
 
 

 Response:
 
 http://schemas.xmlsoap.org/soap/envelope/;>
 
 https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
 https://adwords.google.com/api/adwords/cm/v201802;>
 00056e5a331a8a1b6f439c090121
 
 CustomerService
 getCustomers
 1
 225
 
 
 
 
 soap:Server
 
 [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
 @ ; trigger:'null']
 
 https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
 https://adwords.google.com/api/adwords/cm/v201802;>
 
 [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
 @ ; trigger:'null']
 ApiException
 
 http://www.w3.org/2001/XMLSchema-instance; xsi:type=
 "ns2:AuthenticationError">
 
 null
 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 AuthenticationError
 
 CLIENT_CUSTOMER_ID_IS_REQUIRED
 
 
 
 
 
 
 



 Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
>
> Our software has been working for months with no issues, tonight 
> suddenly all of our Adwords tokens throw this error.
>
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>
> Is something broken?  Is there a place we can go to see what the 
> status of an API is if there are problems?
>
> Thanks,
> James
>

>> -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog:
>> https://googleadsdeveloper.blogspot.com/
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API and Google Ads API Forum" group.
>> To post to this group, send email to 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 and Google Ads API Forum" group.
>> To unsubscribe from this topic, visit 
>> 

Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread Alon Diamant
I can confirm that we have also been affected by this bug.

On Tuesday, June 12, 2018 at 12:00:59 AM UTC+3, James Andrews wrote:
>
> Thank you Josh!
>
> James
>
>
>
> On Jun 12, 2018, at 5:51 AM, 'Josh Radcliff (AdWords API Team)' via 
> AdWords API and Google Ads API Forum  > wrote:
>
> Hi,
>
> Thanks for reporting this. I've raised it and will provide an update as 
> soon as I have more information.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, June 11, 2018 at 2:21:11 PM UTC-4, Caihua Du wrote:
>>
>> This issue happened to us too. Lots of client have the same errors and it 
>> suddenly shows up from 6/8 and nothing has been changed from our side. 
>>
>> In our code, we will have to pass in an empty client customer id in order 
>> to get back all the accounts under this customer. Not sure what has been 
>> changed from API side. 
>>
>> Please help take a look, thanks!
>> Caihua.
>>
>>
>> On Monday, June 11, 2018 at 4:44:55 AM UTC-7, James Andrews wrote:
>>>
>>> I had left it alone over the weekend, to see if it fixed itself, and was 
>>> just digging into why it was happening, I’ll look there as well and confirm 
>>> that’s where the error is happening.
>>>
>>> Thanks
>>> James
>>>
>>> On Jun 11, 2018, at 7:44 PM, Ondřej P  wrote:
>>>
>>> Hi James,
>>>
>>> it happens intermittently during the getCustomers API call.
>>>
>>> Ondrej
>>>
>>> Dne pondělí 11. června 2018 12:17:22 UTC+2 James Andrews napsal(a):

 Well glad it's not just me, not glad that either of us have to deal 
 with this.  I am still getting these errors intermittently.  Are they 
 always called?  or do they show up intermittently for you as well?

 James

 On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:
>
> Hi,
>
> I have the same issue since 8.6.2018.
> SOAP 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/v201802; 
> soapenv:mustUnderstand="0">
> https://adwords.google.com/api/adwords/cm/v201802;>REDACTED
> 
> https://adwords.google.com/api/adwords/cm/v201802;>ROI-Hunter 
> (AwApi-Java, AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, 
> Java/1.8.0_91, maven)
> https://adwords.google.com/api/adwords/cm/v201802;>false
> 
> https://adwords.google.com/api/adwords/cm/v201802;>false
> 
> 
> 
> 
> https://adwords.google.com/api/adwords/mcm/v201802"/>
> 
> 
>
> Response:
> 
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201802;>
> 00056e5a331a8a1b6f439c090121
> 
> CustomerService
> getCustomers
> 1
> 225
> 
> 
> 
> 
> soap:Server
> 
> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
> @ ; trigger:'null']
> 
> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201802;>
> 
> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
> @ ; trigger:'null']
> ApiException
> 
> http://www.w3.org/2001/XMLSchema-instance; xsi:type=
> "ns2:AuthenticationError">
> 
> null
> 
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
> AuthenticationError
> 
> CLIENT_CUSTOMER_ID_IS_REQUIRED
> 
> 
> 
> 
> 
> 
> 
>
>
>
> Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
>>
>> Our software has been working for months with no issues, tonight 
>> suddenly all of our Adwords tokens throw this error.
>>
>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>>
>> Is something broken?  Is there a place we can go to see what the 
>> status of an API is if there are problems?
>>
>> Thanks,
>> James
>>
>
>>> -- 
>>> -- 
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> Also find us on our blog:
>>> https://googleadsdeveloper.blogspot.com/
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>>  
>>> You received this message because you are subscribed to the Google
>>> Groups "AdWords API and Google Ads API Forum" group.
>>> To post to this group, send email to adwor...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> 

Re: Strange behavior when get SITELINK from API

2018-06-11 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Cesar, 

Thank you for sharing the details privately. It looks like there are more 
than 500 feed extensions in your account. Can you try increasing the index 
range and retry the API request? If you continue to have an issue with 
this, can you try the API request for a specific campaign by filtering for 
the ExtensionType as Sitelink? Please find the sample request below:

Selector selector = new SelectorBuilder() 
.fields(CampaignExtensionSettingField.CampaignId, 
CampaignExtensionSettingField.ExtensionType, 
CampaignExtensionSettingField.Extensions) 
.equals(CampaignExtensionSettingField.CampaignId, 
Long.toString(campaignId)) 
.equals(CampaignExtensionSettingField.ExtensionType, 
FeedType.SITELINK.getValue()) 
.build();

Can you give this a try and let me know how it goes?

Regards,
Bharani, AdWords API Team

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

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


OperatorError.OPERATOR_NOT_SUPPORTED in AdwordsUserListService v201806

2018-06-11 Thread Vilen Topchii
Hi.

I'm getting OperatorError.OPERATOR_NOT_SUPPORTED error while trying to add 
the user.
My request:
  http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ns="https://adwords.google.com/api/adwords/rm/v201806; 
xmlns:tns="https://adwords.google.com/api/adwords/rm/v201806; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
  
  https://adwords.google.com/api/adwords/rm/v201806; 
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">
  123-456-7890
  abc
  def
  false
  false
  
  
  
  https://adwords.google.com/api/adwords/rm/v201806;>
  https://adwords.google.com/api/adwords/rm/v201806;>
  ADD
  
  1
  will
  A list of mars cruise customers in the 
last year
  OPEN
  365
  
  
  
  
  


URL: 
https://adwords.google.com/api/adwords/rm/v201806/AdwordsUserListService

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

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


Re: Can You Use The AdWords API To Access The Ad Preview & Diagnosis Tool?

2018-06-11 Thread Brian Leonard


Anash,

I think the better feature is not the preview tool, but the diagnosis 
portion, like below.  Is this diagnosis data available through the API?




Thanks!
Brain

On Friday, March 23, 2018 at 1:48:47 PM UTC-6, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Syam,
>
> No, this feature is still not supported in AdWords API. Most developers 
> end up building their own preview tool as a workaround, so we've kept this 
> feature as lower priority.
>
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, March 22, 2018 at 1:54:20 AM UTC-4, syam...@synchroweb.com 
>  wrote:
>>
>> it's 2018 now...
>> Google still not support ad preview??
>>
>>
>>
>> On Thursday, September 25, 2014 at 4:36:25 AM UTC+8, Robert O'Kruk wrote:
>>>
>>> Hello,
>>>
>>> I am wondering if you can use the AdWords API to access the data that is 
>>> provided from the AdWords Ad Preview & Diagnosis Tool?
>>>
>>> Any input is greatly appreciated.
>>>
>>> Thanks.
>>>
>>

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

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


Google Adword API: How to get total spent amount for given account using CURL/SOAP

2018-06-11 Thread Pankaj K


*As I want how much amount have spent on that account for ads by using the 
google adword api*. 

I need to integrate that code in PHP.

If any one has any idea, please share with me. I have already search a lot 
but not get the what I have expected.

My question is to get the total spent on given account by using the *adword 
api.*

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

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


Google Adword API: How to get total spent amount for given account using CURL/SOAP

2018-06-11 Thread Pankaj K


*As I want how much amount have spent on that account for ads by using the 
google adword api*. 

I need to integrate that code in PHP.

If any one has any idea, please share with me. I have already search a lot 
but not get the what I have expected.

My question is to get the total spent on given account by using the *adword 
api.*

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

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


Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread James Andrews
Thank you Josh!

James



> On Jun 12, 2018, at 5:51 AM, 'Josh Radcliff (AdWords API Team)' via AdWords 
> API and Google Ads API Forum  wrote:
> 
> Hi,
> 
> Thanks for reporting this. I've raised it and will provide an update as soon 
> as I have more information.
> 
> Thanks,
> Josh, AdWords API Team
> 
> On Monday, June 11, 2018 at 2:21:11 PM UTC-4, Caihua Du wrote:
> This issue happened to us too. Lots of client have the same errors and it 
> suddenly shows up from 6/8 and nothing has been changed from our side. 
> 
> In our code, we will have to pass in an empty client customer id in order to 
> get back all the accounts under this customer. Not sure what has been changed 
> from API side. 
> 
> Please help take a look, thanks!
> Caihua.
> 
> 
> On Monday, June 11, 2018 at 4:44:55 AM UTC-7, James Andrews wrote:
> I had left it alone over the weekend, to see if it fixed itself, and was just 
> digging into why it was happening, I’ll look there as well and confirm that’s 
> where the error is happening.
> 
> Thanks
> James
> 
>> On Jun 11, 2018, at 7:44 PM, Ondřej P > wrote:
>> 
>> Hi James,
>> 
>> it happens intermittently during the getCustomers API call.
>> 
>> Ondrej
>> 
>> Dne pondělí 11. června 2018 12:17:22 UTC+2 James Andrews napsal(a):
>> Well glad it's not just me, not glad that either of us have to deal with 
>> this.  I am still getting these errors intermittently.  Are they always 
>> called?  or do they show up intermittently for you as well?
>> 
>> James
>> 
>> On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:
>> Hi,
>> 
>> I have the same issue since 8.6.2018.
>> SOAP request:
>> 
>> http://schemas.xmlsoap.org/soap/envelope/ 
>> " 
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema 
>> " 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
>> ">
>> 
>> > xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201802 
>> " 
>> soapenv:mustUnderstand="0">
>> > xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201802 
>> ">REDACTED
>> > xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201802 
>> ">ROI-Hunter (AwApi-Java, 
>> AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, Java/1.8.0_91, 
>> maven)
>> > xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201802 
>> ">false
>> > xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201802 
>> ">false
>> 
>> 
>> 
>> > xmlns="https://adwords.google.com/api/adwords/mcm/v201802 
>> "/>
>> 
>> 
>> 
>> Response:
>> 
>> http://schemas.xmlsoap.org/soap/envelope/ 
>> ">
>> 
>> > xmlns="https://adwords.google.com/api/adwords/mcm/v201802 
>> " 
>> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201802 
>> ">
>> 00056e5a331a8a1b6f439c090121
>> CustomerService
>> getCustomers
>> 1
>> 225
>> 
>> 
>> 
>> 
>> soap:Server
>> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
>> @ ; trigger:'null']
>> 
>> > xmlns="https://adwords.google.com/api/adwords/mcm/v201802 
>> " 
>> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201802 
>> ">
>> 
>> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; 
>> trigger:'null']
>> 
>> ApiException
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
>> " 
>> xsi:type="ns2:AuthenticationError">
>> 
>> null
>> 
>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>> 
>> AuthenticationError
>> 
>> CLIENT_CUSTOMER_ID_IS_REQUIRED
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
>> Our software has been working for months with no issues, tonight suddenly 
>> all of our Adwords tokens throw this error.
>> 
>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>> 
>> Is something broken?  Is there a place we can go to see what the status of 
>> an API is if there are problems?
>> 
>> Thanks,
>> James
>> 
>> -- 
>> -- 
>> 

Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

Thanks for reporting this. I've raised it and will provide an update as 
soon as I have more information.

Thanks,
Josh, AdWords API Team

On Monday, June 11, 2018 at 2:21:11 PM UTC-4, Caihua Du wrote:
>
> This issue happened to us too. Lots of client have the same errors and it 
> suddenly shows up from 6/8 and nothing has been changed from our side. 
>
> In our code, we will have to pass in an empty client customer id in order 
> to get back all the accounts under this customer. Not sure what has been 
> changed from API side. 
>
> Please help take a look, thanks!
> Caihua.
>
>
> On Monday, June 11, 2018 at 4:44:55 AM UTC-7, James Andrews wrote:
>>
>> I had left it alone over the weekend, to see if it fixed itself, and was 
>> just digging into why it was happening, I’ll look there as well and confirm 
>> that’s where the error is happening.
>>
>> Thanks
>> James
>>
>> On Jun 11, 2018, at 7:44 PM, Ondřej P  wrote:
>>
>> Hi James,
>>
>> it happens intermittently during the getCustomers API call.
>>
>> Ondrej
>>
>> Dne pondělí 11. června 2018 12:17:22 UTC+2 James Andrews napsal(a):
>>>
>>> Well glad it's not just me, not glad that either of us have to deal with 
>>> this.  I am still getting these errors intermittently.  Are they always 
>>> called?  or do they show up intermittently for you as well?
>>>
>>> James
>>>
>>> On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:

 Hi,

 I have the same issue since 8.6.2018.
 SOAP 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/v201802; 
 soapenv:mustUnderstand="0">
 https://adwords.google.com/api/adwords/cm/v201802;>REDACTED
 
 https://adwords.google.com/api/adwords/cm/v201802;>ROI-Hunter 
 (AwApi-Java, AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, 
 Java/1.8.0_91, maven)
 https://adwords.google.com/api/adwords/cm/v201802;>false
 
 https://adwords.google.com/api/adwords/cm/v201802;>false
 
 
 
 
 https://adwords.google.com/api/adwords/mcm/v201802"/>
 
 

 Response:
 
 http://schemas.xmlsoap.org/soap/envelope/;>
 
 https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
 https://adwords.google.com/api/adwords/cm/v201802;>
 00056e5a331a8a1b6f439c090121
 
 CustomerService
 getCustomers
 1
 225
 
 
 
 
 soap:Server
 
 [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
 @ ; trigger:'null']
 
 https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
 https://adwords.google.com/api/adwords/cm/v201802;>
 
 [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
 @ ; trigger:'null']
 ApiException
 
 http://www.w3.org/2001/XMLSchema-instance; xsi:type=
 "ns2:AuthenticationError">
 
 null
 
 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 AuthenticationError
 
 CLIENT_CUSTOMER_ID_IS_REQUIRED
 
 
 
 
 
 
 



 Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
>
> Our software has been working for months with no issues, tonight 
> suddenly all of our Adwords tokens throw this error.
>
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>
> Is something broken?  Is there a place we can go to see what the 
> status of an API is if there are problems?
>
> Thanks,
> James
>

>> -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog:
>> https://googleadsdeveloper.blogspot.com/
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API and Google Ads API Forum" group.
>> To post to this group, send email to 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 and Google Ads API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/4-ZyhkTQDnI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an 

Re: INVALID_OPERAND_TYPE, IncomeOperand when setting Location bid modifiers (v201802)

2018-06-11 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Charlie, 

Thank you for sharing the details privately. I see that you're receiving 
the INVALID_CRITERION_ID error which indicates that the location ID used in 
the request is not valid. Currently AdWords API supports the location IDs 
available in the GeoTargets table 
. It 
looks like you're using the reports results(location bid modifier report 
not available in AdWords API) generated from another source. It could be 
the reason as to why these locations are not available in the Geo targets 
table and hence receiving this error. Can you try the API request with one 
of the location IDs from here 

 and 
let me know if you still have any issues?

If you're looking to pull location metrics through the API, you could use 
the Geo Performance Report 

 and 
use the location IDs from this report to set the location criteria. 

Regards,
Bharani, AdWords API Team

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

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


Re: Credential could not be refreshed exception while trying to create a session

2018-06-11 Thread Mohan Upadhyay
Aso is it possible to set a proxy server so that all http(s) calls are made 
through the proxy server

On Sunday, June 10, 2018 at 5:24:12 PM UTC-7, Mohan Upadhyay wrote:
>
> Hi, 
> I am trying to download reports using adword api. I am able to do that on 
> my local machine but when I try to establish a session on my remote unix 
> box, I get the following exception,
>
> 2018-06-10 13:24:02,326 ERROR [main] com.lendingclub.edh.restful.adaptor.
> AdwordsRestClient: Failed to create OAuth credentials. Check OAuth 
> settings in the file. Exception: {}
> shaded.com.lendingclub.edh.google.api.ads.common.lib.exception.
> OAuthException: Credential could not be refreshed.
>  at shaded.com.lendingclub.edh.google.api.ads.common.lib.auth.
> OfflineCredentials.generateCredential(OfflineCredentials.java:240)
>  at com.lendingclub.edh.restful.adaptor.AdwordsRestClient.connect(
> AdwordsRestClient.java:98)
>  at com.lendingclub.edh.restful.adaptor.AdwordsLoadAction.run(
> AdwordsLoadAction.java:91)
>  at com.lendingclub.edh.restful.adaptor.AdwordsLoadAction.main(
> AdwordsLoadAction.java:48)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:56)
>  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
>  at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:35)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:
> 241)
>  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
>  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
>  at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
>  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.Subject.doAs(Subject.java:422)
>  at org.apache.hadoop.security.UserGroupInformation.doAs(
> UserGroupInformation.java:1657)
>  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
> Caused by: java.net.SocketTimeoutException: connect timed out
>  at java.net.PlainSocketImpl.socketConnect(Native Method)
>  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.
> java:350)
>  at java.net.AbstractPlainSocketImpl.connectToAddress(
> AbstractPlainSocketImpl.java:206)
>  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:
> 188)
>  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>  at java.net.Socket.connect(Socket.java:589)
>  at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
>  at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
>  at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
>  at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
>  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.
> getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
>  at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(
> HttpURLConnection.java:1138)
>  at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.
> java:1022)
>  at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.
> java:1020)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.security.AccessController.doPrivilegedWithCombiner(
> AccessController.java:782)
>  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(
> HttpURLConnection.java:1019)
>  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
> AbstractDelegateHttpsURLConnection.java:177)
>  at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(
> HttpURLConnection.java:1316)
>  at sun.net.www.protocol.http.HttpURLConnection.access$100(
> HttpURLConnection.java:91)
>  at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.
> java:1283)
>  at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.
> java:1281)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.security.AccessController.doPrivilegedWithCombiner(
> AccessController.java:782)
>  at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(
> HttpURLConnection.java:1280)
>  at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(
> HttpsURLConnectionImpl.java:250)
>  at 

Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread Caihua Du
This issue happened to us too. Lots of client have the same errors and it 
suddenly shows up from 6/8 and nothing has been changed from our side. 

In our code, we will have to pass in an empty client customer id in order 
to get back all the accounts under this customer. Not sure what has been 
changed from API side. 

Please help take a look, thanks!
Caihua.


On Monday, June 11, 2018 at 4:44:55 AM UTC-7, James Andrews wrote:
>
> I had left it alone over the weekend, to see if it fixed itself, and was 
> just digging into why it was happening, I’ll look there as well and confirm 
> that’s where the error is happening.
>
> Thanks
> James
>
> On Jun 11, 2018, at 7:44 PM, Ondřej P > 
> wrote:
>
> Hi James,
>
> it happens intermittently during the getCustomers API call.
>
> Ondrej
>
> Dne pondělí 11. června 2018 12:17:22 UTC+2 James Andrews napsal(a):
>>
>> Well glad it's not just me, not glad that either of us have to deal with 
>> this.  I am still getting these errors intermittently.  Are they always 
>> called?  or do they show up intermittently for you as well?
>>
>> James
>>
>> On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:
>>>
>>> Hi,
>>>
>>> I have the same issue since 8.6.2018.
>>> SOAP 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/v201802; 
>>> soapenv:mustUnderstand="0">
>>> https://adwords.google.com/api/adwords/cm/v201802;>REDACTED
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201802;>ROI-Hunter 
>>> (AwApi-Java, AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, 
>>> Java/1.8.0_91, maven)
>>> https://adwords.google.com/api/adwords/cm/v201802;>false
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201802;>false
>>> 
>>> 
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/mcm/v201802"/>
>>> 
>>> 
>>>
>>> Response:
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/;>
>>> 
>>> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
>>> https://adwords.google.com/api/adwords/cm/v201802;>
>>> 00056e5a331a8a1b6f439c090121
>>> 
>>> CustomerService
>>> getCustomers
>>> 1
>>> 225
>>> 
>>> 
>>> 
>>> 
>>> soap:Server
>>> 
>>> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
>>> @ ; trigger:'null']
>>> 
>>> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
>>> https://adwords.google.com/api/adwords/cm/v201802;>
>>> 
>>> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
>>> @ ; trigger:'null']
>>> ApiException
>>> 
>>> http://www.w3.org/2001/XMLSchema-instance; xsi:type=
>>> "ns2:AuthenticationError">
>>> 
>>> null
>>> 
>>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>>> AuthenticationError
>>> 
>>> CLIENT_CUSTOMER_ID_IS_REQUIRED
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>> Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):

 Our software has been working for months with no issues, tonight 
 suddenly all of our Adwords tokens throw this error.

 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

 Is something broken?  Is there a place we can go to see what the status 
 of an API is if there are problems?

 Thanks,
 James

>>>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads API Forum" group.
> To post to this group, send email to 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 and Google Ads API Forum" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/adwords-api/4-ZyhkTQDnI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> adwords-api...@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/fdf42b82-2e63-408c-8087-d5023bc0aaac%40googlegroups.com
>  
> 

Re: Credential could not be refreshed exception while trying to create a session

2018-06-11 Thread Mohan Upadhyay
For debugging purposes, is there a way to download these reports and make 
oauth calls using http clients like postman.

On Sunday, June 10, 2018 at 5:24:12 PM UTC-7, Mohan Upadhyay wrote:
>
> Hi, 
> I am trying to download reports using adword api. I am able to do that on 
> my local machine but when I try to establish a session on my remote unix 
> box, I get the following exception,
>
> 2018-06-10 13:24:02,326 ERROR [main] com.lendingclub.edh.restful.adaptor.
> AdwordsRestClient: Failed to create OAuth credentials. Check OAuth 
> settings in the file. Exception: {}
> shaded.com.lendingclub.edh.google.api.ads.common.lib.exception.
> OAuthException: Credential could not be refreshed.
>  at shaded.com.lendingclub.edh.google.api.ads.common.lib.auth.
> OfflineCredentials.generateCredential(OfflineCredentials.java:240)
>  at com.lendingclub.edh.restful.adaptor.AdwordsRestClient.connect(
> AdwordsRestClient.java:98)
>  at com.lendingclub.edh.restful.adaptor.AdwordsLoadAction.run(
> AdwordsLoadAction.java:91)
>  at com.lendingclub.edh.restful.adaptor.AdwordsLoadAction.main(
> AdwordsLoadAction.java:48)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:56)
>  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
>  at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:35)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:
> 241)
>  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
>  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
>  at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
>  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.Subject.doAs(Subject.java:422)
>  at org.apache.hadoop.security.UserGroupInformation.doAs(
> UserGroupInformation.java:1657)
>  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
> Caused by: java.net.SocketTimeoutException: connect timed out
>  at java.net.PlainSocketImpl.socketConnect(Native Method)
>  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.
> java:350)
>  at java.net.AbstractPlainSocketImpl.connectToAddress(
> AbstractPlainSocketImpl.java:206)
>  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:
> 188)
>  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>  at java.net.Socket.connect(Socket.java:589)
>  at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
>  at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
>  at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
>  at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
>  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.
> getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
>  at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(
> HttpURLConnection.java:1138)
>  at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.
> java:1022)
>  at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.
> java:1020)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.security.AccessController.doPrivilegedWithCombiner(
> AccessController.java:782)
>  at sun.net.www.protocol.http.HttpURLConnection.plainConnect(
> HttpURLConnection.java:1019)
>  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
> AbstractDelegateHttpsURLConnection.java:177)
>  at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(
> HttpURLConnection.java:1316)
>  at sun.net.www.protocol.http.HttpURLConnection.access$100(
> HttpURLConnection.java:91)
>  at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.
> java:1283)
>  at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.
> java:1281)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.security.AccessController.doPrivilegedWithCombiner(
> AccessController.java:782)
>  at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(
> HttpURLConnection.java:1280)
>  at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(
> HttpsURLConnectionImpl.java:250)
>  at 

Re: Can I use Adwords API for Keywords classification ?

2018-06-11 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Simo,

Are you looking to use AdWords API to get keyword IDEAS? Then, you could 
use TargettingIdeaService 

 to 
generate new keyword ideas based on the parameters specified in the 
selector. Please see the TargetingIdeaSelector 

 documentation 
for more details. You could use Languages field of the 
LanguageSearchParameter 

 to 
target multiple languages to fetch keyword IDEAS for the set targeting 
options. If your question was different, could you please elaborate more? 
if it is related to the AdWords product in general, then I would recommend 
you to post the question in the advertiser's community forum 

.

Regards,
Sai Teja, AdWords API Team.

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

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


Re: CustomerService CUSTOMER_NOT_FOUND error

2018-06-11 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

I've contacted the engineers who are working on this. I'll provide an 
update once I hear back from them.

Thanks,
Josh, AdWords API Team

On Friday, June 8, 2018 at 4:21:43 AM UTC-4, Oksana Sulyma wrote:
>
> Hi guys, 
> Just wanted to let you know that we are still affected by this problem and 
> also await for solution. 
> Thanks!
>
> On Tuesday, June 5, 2018 at 4:06:28 PM UTC+3, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Tiana,
>>
>> Please follow the post that Timm mentioned 
>> . 
>> To avoid duplicating information, my colleague will be providing updates on 
>> the issue there.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, June 4, 2018 at 12:14:44 PM UTC-4, Timm Janssen wrote:
>>>
>>> Hi,
>>>
>>> I had the same issue using v201710, with v201802 it's a 
>>> CUSTOMER_NOT_ACTIVE error, see 
>>> https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/adwords-api/uSomm1x4nKw/YhjSkLMbAQAJ
>>>
>>> Moreover the Java library doesn't seem to be affected.
>>>
>>> Thanks,
>>> Timm
>>>
>>> On Monday, June 4, 2018 at 5:59:53 PM UTC+2, Tiana S. wrote:

 Hi Josh,

 I'm having the same issue. Please let me know if you have an update. I 
 can of course also provide more info on our requests privately.

 Kind regards,

 Tiana

 On Thursday, 5 April 2018 15:15:58 UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:
>
> Hi Oksana,
>
> We're still trying to track this one down. Do you happen to have an 
> example of a request where you encountered this error within the last 5 
> days? If so, could you *Reply privately to author* on this post and 
> provide me with the following?
>
>1. The date and time of the request, including timezone
>2. The user whose OAuth credentials were used for the request
>3. The client customer IDs you expected to receive for that user
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, March 13, 2018 at 9:53:29 AM UTC-4, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> The engineering team is looking into this in more detail, and I hope 
>> to have an update soon. I'll post back here once that happens.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, March 12, 2018 at 8:17:14 AM UTC-4, Oksana Sulyma wrote:
>>>
>>> Hi guys, bumping this thread as mentioned issue still exist. We had 
>>> correspondence in private mode, please let me know if there are any 
>>> ideas 
>>> why we might get this error.. Thanks!
>>>
>>> On Friday, January 19, 2018 at 6:46:58 PM UTC+2, Bharani Cherukuri 
>>> (AdWords API Team) wrote:

 Hello Okasana, 

 The CUSTOMER_NOT_FOUND 
 
  error 
 is received when the ID specified in the request header does not 
 exist. I 
 see that you're using the CustomerService.getCustomers() 
 ,
  
 which will return all the customers directly accessible by the user 
 authenticating the call. If the account specified is a new account, it 
 is 
 recommended that you wait a few minutes after the account is created 
 before 
 issuing requests against it. Could you please recheck the credentials 
 used 
 if they belong to the valid AdWords account user and try the request 
 again? 
 If you continue to have an issue with this, could you share us the 
 email 
 address used to authenticate the API call? Please use *Reply 
 privately to author* option to provide the details. 

 Regards,
 Bharani, AdWords API Team

>>>

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

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

Re: Java API - PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE

2018-06-11 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello, 

Thank you for sharing the logs. The 
PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE 

 error 
indicates that the subdivided product partitions must have an "others" 
case. Each subdivision must always be completely partitioned and should 
have an "Others" category. Please note that each subdivision must contain 
an "empty" caseValue of the correct type, representing "all other values". 
Please check this guide 
 
for 
more information. You may see this in the AdWords UI as the "Everything 
else in" entry. 

Can you refer to our code sample 

 and 
add the Others category and let me know if you run into any issues?

Regards,
Bharani, AdWords API Team

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

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


Re: Migration version API error cannot use a string pattern on a bytes-like object

2018-06-11 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Fabrice, 

The "cannot use a string pattern on a bytes-like object" could be a warning 
thrown by the client library where the byte conversion is not taking place 
correctly. You may refer to this Stack Overflow post 

 which 
might be helpful for you. If you continue to have an issue with this, you 
can post your concern on the Python Github issue tracker 

 and 
the library owners will be able to take a look.

Thanks,
Bharani, AdWords API Team

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

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


Re: Configuring the adsapi_php.ini file / Error type : All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.

2018-06-11 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Peter, 

That's right. You will have to set the developer token, clientId, client 
Secret and refreshToken in the adsapi.ini file. Please note that while 
making API calls against test accounts, the developer token can have a Test 
account access. You will also need to make sure that the root path 
specified in the fromFile() points to the adsapi.ini file. Can you give 
this a try and let me know if you run into any issues?

Thanks,
Bharani, AdWords API Team

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

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


Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread James Andrews
I had left it alone over the weekend, to see if it fixed itself, and was just 
digging into why it was happening, I’ll look there as well and confirm that’s 
where the error is happening.

Thanks
James

> On Jun 11, 2018, at 7:44 PM, Ondřej P  wrote:
> 
> Hi James,
> 
> it happens intermittently during the getCustomers API call.
> 
> Ondrej
> 
> Dne pondělí 11. června 2018 12:17:22 UTC+2 James Andrews napsal(a):
> Well glad it's not just me, not glad that either of us have to deal with 
> this.  I am still getting these errors intermittently.  Are they always 
> called?  or do they show up intermittently for you as well?
> 
> James
> 
> On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:
> Hi,
> 
> I have the same issue since 8.6.2018.
> SOAP request:
> 
> http://schemas.xmlsoap.org/soap/envelope/ 
> " 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema 
> " 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> ">
> 
>  xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201802 
> " 
> soapenv:mustUnderstand="0">
>  xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201802 
> ">REDACTED
>  xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201802 
> ">ROI-Hunter (AwApi-Java, 
> AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, Java/1.8.0_91, 
> maven)
>  xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201802 
> ">false
>  xmlns:ns5="https://adwords.google.com/api/adwords/cm/v201802 
> ">false
> 
> 
> 
>  xmlns="https://adwords.google.com/api/adwords/mcm/v201802 
> "/>
> 
> 
> 
> Response:
> 
> http://schemas.xmlsoap.org/soap/envelope/ 
> ">
> 
>  xmlns="https://adwords.google.com/api/adwords/mcm/v201802 
> " 
> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201802 
> ">
> 00056e5a331a8a1b6f439c090121
> CustomerService
> getCustomers
> 1
> 225
> 
> 
> 
> 
> soap:Server
> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
> @ ; trigger:'null']
> 
>  xmlns="https://adwords.google.com/api/adwords/mcm/v201802 
> " 
> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201802 
> ">
> 
> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; 
> trigger:'null']
> 
> ApiException
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> " 
> xsi:type="ns2:AuthenticationError">
> 
> null
> 
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
> 
> AuthenticationError
> 
> CLIENT_CUSTOMER_ID_IS_REQUIRED
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
> Our software has been working for months with no issues, tonight suddenly all 
> of our Adwords tokens throw this error.
> 
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
> 
> Is something broken?  Is there a place we can go to see what the status of an 
> API is if there are problems?
> 
> Thanks,
> James
> 
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/ 
> 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads API Forum" group.
> To post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en 
> 
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/adwords-api/4-ZyhkTQDnI/unsubscribe 
> .
> To unsubscribe 

Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread Ondřej P
Hi James,

it happens intermittently during the getCustomers API call.

Ondrej

Dne pondělí 11. června 2018 12:17:22 UTC+2 James Andrews napsal(a):
>
> Well glad it's not just me, not glad that either of us have to deal with 
> this.  I am still getting these errors intermittently.  Are they always 
> called?  or do they show up intermittently for you as well?
>
> James
>
> On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:
>>
>> Hi,
>>
>> I have the same issue since 8.6.2018.
>> SOAP 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/v201802; 
>> soapenv:mustUnderstand="0">
>> https://adwords.google.com/api/adwords/cm/v201802;>REDACTED
>> 
>> https://adwords.google.com/api/adwords/cm/v201802;>ROI-Hunter 
>> (AwApi-Java, AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, 
>> Java/1.8.0_91, maven)
>> https://adwords.google.com/api/adwords/cm/v201802;>false
>> 
>> https://adwords.google.com/api/adwords/cm/v201802;>false
>> 
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/mcm/v201802"/>
>> 
>> 
>>
>> Response:
>> 
>> http://schemas.xmlsoap.org/soap/envelope/;>
>> 
>> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
>> https://adwords.google.com/api/adwords/cm/v201802;>
>> 00056e5a331a8a1b6f439c090121
>> 
>> CustomerService
>> getCustomers
>> 1
>> 225
>> 
>> 
>> 
>> 
>> soap:Server
>> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
>> @ ; trigger:'null']
>> 
>> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
>> https://adwords.google.com/api/adwords/cm/v201802;>
>> 
>> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
>> @ ; trigger:'null']
>> ApiException
>> 
>> http://www.w3.org/2001/XMLSchema-instance; xsi:type=
>> "ns2:AuthenticationError">
>> 
>> null
>> 
>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>> AuthenticationError
>> 
>> CLIENT_CUSTOMER_ID_IS_REQUIRED
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>
>>
>> Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
>>>
>>> Our software has been working for months with no issues, tonight 
>>> suddenly all of our Adwords tokens throw this error.
>>>
>>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>>>
>>> Is something broken?  Is there a place we can go to see what the status 
>>> of an API is if there are problems?
>>>
>>> Thanks,
>>> James
>>>
>>

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

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


Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread James Andrews
Well glad it's not just me, not glad that either of us have to deal with 
this.  I am still getting these errors intermittently.  Are they always 
called?  or do they show up intermittently for you as well?

James

On Monday, June 11, 2018 at 7:14:10 PM UTC+9, Ondřej P wrote:
>
> Hi,
>
> I have the same issue since 8.6.2018.
> SOAP 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/v201802; soapenv:mustUnderstand
> ="0">
> https://adwords.google.com/api/adwords/cm/v201802;>REDACTED
> 
> https://adwords.google.com/api/adwords/cm/v201802;>ROI-Hunter 
> (AwApi-Java, AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, 
> Java/1.8.0_91, maven)
> https://adwords.google.com/api/adwords/cm/v201802;>false
> 
> https://adwords.google.com/api/adwords/cm/v201802;>false
> 
> 
> 
> 
> https://adwords.google.com/api/adwords/mcm/v201802"/>
> 
> 
>
> Response:
> 
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201802;>
> 00056e5a331a8a1b6f439c090121
> 
> CustomerService
> getCustomers
> 1
> 225
> 
> 
> 
> 
> soap:Server
> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
> @ ; trigger:'null']
> 
> https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201802;>
> 
> [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
> @ ; trigger:'null']
> ApiException
> 
> http://www.w3.org/2001/XMLSchema-instance; xsi:type=
> "ns2:AuthenticationError">
> 
> null
> 
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
> AuthenticationError
> 
> CLIENT_CUSTOMER_ID_IS_REQUIRED
> 
> 
> 
> 
> 
> 
> 
>
>
>
> Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
>>
>> Our software has been working for months with no issues, tonight suddenly 
>> all of our Adwords tokens throw this error.
>>
>> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>>
>> Is something broken?  Is there a place we can go to see what the status 
>> of an API is if there are problems?
>>
>> Thanks,
>> James
>>
>

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

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


Re: Suddenly getting AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED

2018-06-11 Thread Ondřej P
Hi,

I have the same issue since 8.6.2018.
SOAP 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/v201802; soapenv:mustUnderstand=
"0">
https://adwords.google.com/api/adwords/cm/v201802;>REDACTED

https://adwords.google.com/api/adwords/cm/v201802;>ROI-Hunter (AwApi-Java, 
AdWords-Axis/3.12.0, Common-Java/3.12.0, Axis/1.4, Java/1.8.0_91, maven)

https://adwords.google.com/api/adwords/cm/v201802;>false
https://adwords.google.com/api/adwords/cm/v201802;>false




https://adwords.google.com/api/adwords/mcm/v201802"/>



Response:

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

https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201802;>
00056e5a331a8a1b6f439c090121
CustomerService
getCustomers
1
225




soap:Server
[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
@ ; trigger:'null']

https://adwords.google.com/api/adwords/mcm/v201802; xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201802;>

[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED 
@ ; trigger:'null']
ApiException

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

null

AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
AuthenticationError

CLIENT_CUSTOMER_ID_IS_REQUIRED










Dne pátek 8. června 2018 19:43:41 UTC+2 James Andrews napsal(a):
>
> Our software has been working for months with no issues, tonight suddenly 
> all of our Adwords tokens throw this error.
>
> AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
>
> Is something broken?  Is there a place we can go to see what the status of 
> an API is if there are problems?
>
> Thanks,
> James
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/425e14e2-520b-456e-83c1-bebfae877226%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I have two settings and I can't find the corresponding adword api service object. Here is my screenshot. Which of the two objects are used separately?

2018-06-11 Thread jia zheng




OK, I understand. Thank you very much. I also have a question about bid 
settings. As shown in the screenshot. When I only select Manual 
cost-per-click bidding under Manual bidding option instead of Enable 
Enhanced CPC. Which bid type should I use? MANUAL_CPC or ENHANCED_CPC? And 
when I also select Manual cost-per-click bidding and Enable Enhanced CPC 
for the Manual bidding option, should I select MANUAL_CPC or ENHANCED_CPC? 
I use the Adword API to check if Enable Enhanced CPC is checked and return 
to the settings of campaign. I can't observe the difference between them.
在 2018年6月11日星期一 UTC+8下午2:15:37,Vincent Racaza (AdWords API Team)写道:
>
> Hi Jia,
>
> Both of your screenshots regarding conservative targeting as well as about 
> marketing goals of display campaigns are not yet supported in the AdWords 
> API. There is currently no way to set up or retrieve them via the AdWords 
> API. Please follow our blog 
>  to 
> receive any future updates like new releases.
>
> You may use the AdWords UI instead if you want to set these fields.
>
> Thanks,
> Vincent
> AdWords API Team
>

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

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


Can I use Adwords API for Keywords classification ?

2018-06-11 Thread Simo Abdou
 

I want to find a reliable way to classify words that are directly related 
without having to reinvent the wheel, so I am looking for a public API or a 
comprehensive maintained Database to do so.


Here's an example of the expected outcome:

   - write, writes (he/she/it), writing, wrote, written, writer, unwritten, 
   rewrite
   - analysis, analyse, analyses (he/she/it or plural noun), analysing, 
   analysed
   - appendix, appendices, appendixes
   - child, children
   - criterion, criteria, criterions
   - wife, wives

I am targeting English and French languages.

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

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


Java API - PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE

2018-06-11 Thread Константин Латыпов
Hello,

I have empty AdGroup and following code:
ProductPartitionTree partitionTree =
ProductPartitionTree.createAdGroupTree(adWordsServices, 
session, data.getAdGroupId());

ProductPartitionNode partitionNode = partitionTree.getRoot();
ProductOfferId emptyDimensionType = new ProductOfferId();
ProductOfferId dimensionType = ProductDimensions.createOfferId(data.
getProductId());

partitionNode
   .asSubdivision()
   .addChild(emptyDimensionType);

partitionNode
   .asSubdivision()
   .addChild(dimensionType)
   .setBid(partition.getBid());

AdGroupCriterionServiceInterface adGroupCriterionService =
adWordsServices.get(session, 
AdGroupCriterionServiceInterface.class);
List operations = partitionTree.
getMutateOperations();

if (operations.isEmpty()) {
log.info("Skipping the mutate call because the original tree 
and the current tree "
+ "are logically identical.");
} else {
adGroupCriterionService.mutate(
operations.toArray(new AdGroupCriterionOperation[
operations.size()]));
}

It generates this 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/cm/v201802; 
soapenv:mustUnderstand="0">
295-001-9695
REDACTED
backend (AwApi-Java, AdWords-Axis/3.15.0, 
Common-Java/3.15.0, Axis/1.4, Java/1.8.0_171, maven, 
ProductPartitionTree)
false
false



https://adwords.google.com/api/adwords/cm/v201802;>

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

-1
SUBDIVISION




ADD
https://adwords.google.com/api/adwords/cm/v201802; 
xsi:type="ns3:BiddableAdGroupCriterion">
12345

-2
UNIT
-1

testAd2





3

CRITERION



true




ADD
https://adwords.google.com/api/adwords/cm/v201802; 
xsi:type="ns4:BiddableAdGroupCriterion">
12345

-3
UNIT
-1



true







And this responce error:


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

https://adwords.google.com/api/adwords/cm/v201802;>
00056e3107c457110a371215e70a3b8b
AdGroupCriterionService
mutate
3
188




soap:Client
[RequiredError.REQUIRED @ 
operations[2].operand.biddingStrategyConfiguration, 
AdGroupCriterionError.PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE @ 
operations; trigger:'ProductPartition{id=TempCriterionId{id=1}, 
bidSimulatorStatus=null, partitionType=SUBDIVISION, parentCriterionId=null, 
productGroup=null, productGroupObsoleteStatus=null, caseValue=null, 
decisionPath=[], salesCountry=null, merchantId=null, 
hasPromotedSuggestion=null}']

https://adwords.google.com/api/adwords/cm/v201802;>
[RequiredError.REQUIRED @ 
operations[2].operand.biddingStrategyConfiguration, 
AdGroupCriterionError.PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE @ 
operations; trigger:'ProductPartition{id=TempCriterionId{id=1}, 
bidSimulatorStatus=null, partitionType=SUBDIVISION, parentCriterionId=null, 
productGroup=null, productGroupObsoleteStatus=null, caseValue=null, 
decisionPath=[], salesCountry=null, merchantId=null, 
hasPromotedSuggestion=null}']

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

operations[2].operand.biddingStrategyConfiguration

operations
2


operand


  

Migration version API error cannot use a string pattern on a bytes-like object

2018-06-11 Thread fabrice . boccaccini
Bonjour,

Nous utilisons la version v201710 de l'api Adwords.

Nous souhaitons passer à la version v201802 mais nous rencontrons un 
problème bloquant.

*Nous faisons :*

*service = client.GetService('**CustomerService**', version='v201802')*


*Puis nous faison:*

*accounts = service.getCustomers()*


*Et la nous avons cette erreur:*

*cannot use a string pattern on a bytes-like object'*


Cela fait plusieurs jours que je suis sur ce problème et je n'ai toujours pas 
trouvé de solution.


Dans l'attente de votre retour.


Cordialement.



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

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


Re: Configuring the adsapi_php.ini file / Error type : All of 'clientId', 'clientSecret', and 'refreshToken' must be set when using installed/web application flow.

2018-06-11 Thread Peter Bowen
Unless I'm mistaken you have to have a developer token, even if you're 
using test accounts.

On Friday, 8 June 2018 14:54:20 UTC+1, SnowYou wrote:
>
> Hi,
>
> I'm trying to use the adWords API in a web application, but it seems that 
> my authentification file is incorrect.
> Here it is :
>
> [ADWORDS]
> ; Required AdWords API properties. Details can be found at:
> ; 
> https://developers.google.com/adwords/api/docs/guides/basic-concepts#soap_and_xml
> developerToken = "" ;Nothing here because I'm using a test account ?
> clientCustomerId = "XXX-XXX-"
>
> ; Optional. Set a friendly application name identifier.
> ; userAgent = "INSERT_USER_AGENT_HERE"
>
> ; Optional additional AdWords API settings.
> ; endpoint = "https://adwords.google.com/;
> ; isPartialFailure = false
>
> ; Optional setting for utility usage tracking in the user agent in 
> requests.
> ; Defaults to true.
> ; includeUtilitiesInUserAgent = true
>
> [ADWORDS_REPORTING]
> ; Optional reporting settings.
> ; isSkipReportHeader = false
> ; isSkipColumnHeader = false
> ; isSkipReportSummary = false
> ; isUseRawEnumValues = false
>
> [OAUTH2]
> ; Required OAuth2 credentials. Uncomment and fill in the values for the
> ; appropriate flow based on your use case. See the README for guidance:
> ; 
> https://github.com/googleads/googleads-php-lib/blob/master/README.md#getting-started
>
> ; For installed application or web application flow.
> clientId = "
> 1291XXq61.apps.googleusercontent.com"
> clientSecret = "M6XXXDr"
> refresh_token = 
> "1/FzXv4y8yZhAP"
>
> ; For service account flow.
> ; jsonKeyFilePath = "INSERT_ABSOLUTE_PATH_TO_OAUTH2_JSON_KEY_FILE_HERE"
> ; scopes = "https://www.googleapis.com/auth/adwords;
> ; impersonatedEmail = "INSERT_EMAIL_OF_ACCOUNT_TO_IMPERSONATE_HERE"
>
> [SOAP]
> ; Optional SOAP settings. See SoapSettingsBuilder.php for more information.
> ; compressionLevel = 
>
> [CONNECTION]
> ; Optional proxy settings to be used by requests.
> ; If you don't have username and password, just specify host and port.
> ; proxy = "protocol://user:pass@host:port"
> ; Enable transparent HTTP gzip compression for all reporting requests.
> ; enableReportingGzip = false
>
> [LOGGING]
> ; Optional logging settings.
> ; soapLogFilePath = "path/to/your/soap.log"
> ; soapLogLevel = "INFO"
> ; reportDownloaderLogFilePath = "path/to/your/report-downloader.log"
> ; reportDownloaderLogLevel = "INFO"
> ; batchJobsUtilLogFilePath = "path/to/your/bjutil.log"
> ; batchJobsUtilLogLevel = "INFO"
>
> Is something wrong ? Or is this error coming from something else ?
>

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

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


Re: How do I use adword api to get a keyword list for an account, should I select that service object? I can't find it

2018-06-11 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Jia,

You can use the AdGroupCriterionService.get() 

 and 
filter your query with CriteriaType 

 = 
KEYWORD. You can refer to this Java example 

 on 
how to get the keywords from your account which is also available to other 
languages as you can see in the link. You may also retrieve the keywords 
via Keywords Performance Report 

 if what you want are keywords and their statistics.

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team

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

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


Re: I have two settings and I can't find the corresponding adword api service object. Here is my screenshot. Which of the two objects are used separately?

2018-06-11 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Jia,

Both of your screenshots regarding conservative targeting as well as about 
marketing goals of display campaigns are not yet supported in the AdWords 
API. There is currently no way to set up or retrieve them via the AdWords 
API. Please follow our blog 
 to receive 
any future updates like new releases.

You may use the AdWords UI instead if you want to set these fields.

Thanks,
Vincent
AdWords API Team

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

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