Re: Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized

2016-09-28 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Alfredo,

When you generate the refresh token, you need to make sure that you paste 
the URL given while signed on to the account that you generated your OAuth 
credentials from. 

If that does not work, please try to create new OAuth credentials 

.

Regards,
Anthony
AdWords API Team

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

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


Re: invalid_grant and Bad Request

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

Did you follow this guide 

 
on how to create OAuth credentials and refresh token? Make sure you are 
generating the refresh token using the same login you used to create the 
credentials.

Thanks,
Anthony
AdWords API Team

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

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


Re: Field companyName from ManagedCustomer is empty for some new Accounts, any workarounds?

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

Just to make sure I understand your concern, do you want to fetch the legal 
entity name that you see against "*Who Pays*" in the billing section of 
your AdWords web interface for your AdWords client account? You can do so 
with CustomerService 
.
 
The Customer.CompanyName 

 can 
return you the legal entity name for that AdWords client account. If you 
are looking to get more information about billing accounts, I would 
recommend checking out the documentation for Budget Order Service 
. 
Please note that you would need to get your account white-listed for the 
same. Your Google Account Manager should be able to help you with that.

Regards,
Vishal, AdWords API Team   

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

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


Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized

2016-09-28 Thread Alfredo Rivera

I have a problem with the example of the API call, the following is what I 
get in eclipse:

Exception in thread "main" 
com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized

at com.google.api.client.auth.oauth2.TokenResponseException.from(
TokenResponseException.java:105)

at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(
TokenRequest.java:287)

at 
com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.execute(
GoogleAuthorizationCodeTokenRequest.java:158)

at adwords.axis.auth.GetRefreshToken.getOAuth2Credential(
GetRefreshToken.java:86)

at adwords.axis.auth.GetRefreshToken.main(GetRefreshToken.java:122)


I already refresh token (develop token Adwords) and nothing , refresh the 
client id and nothing

help me!

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

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


Re: Google Product Taxonomy vs Product Bidding Category

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

The taxonomy you are referring is more than a year old and is most likely 
deprecated. Please see this document 

 
for the current list of products and services category codes. You can 
retrieve the full set of bidding categories from the ConstantDataService 

 
method getProductBiddingCategoryData 
.
 


Regards,
Shwetha, AdWords API Team.

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

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


Re: Budget per Ad?

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

A budget can be set at the campaign level only i.e. you cannot set a budget 
for an ad group or an ad. Please refer to this guide 
 for getting 
started with setting budgets via AdWords API. Regarding ad creation, I 
would recommend this guide 
, which 
has details regarding types of the ads and the list of extensions 
available. I'm suggesting that because if you are planning to target a 
certain type of customer, some of the ad extensions might be helpful. 
Unfortunately, I do not have additional suggestions regarding 
optimizing/simplifying the current product hierarchy but you can go through 
our Best Practices guide 
 for 
general API optimizations. 

Regards,
Vishal Vinayak, AdWords API Team

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

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


Re: Creating default audiences (userlists) using API

2016-09-28 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Alexey,

My guess would be to have a rule that says pagetype equals cart AND 
pagetype not equals purchase. This would mean users that have things in 
their carts but did not purchase the items. To be sure, I would ask the AdWords 
Community Forum 
 
since 
they support product and UI related questions.

Although it is possible to create rule-based user lists through the API. 
Here is the section 

 
from the guide I provided earlier that details it. 

Regards,
Anthony
AdWords API Team

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

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


Re: ConversionTrackerId cannot be used in combination with ConvertedClicks in v201605?!

2016-09-28 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Greetings Zweitze,

It was a pleasure seeing you again at the AdWords API workshops! I hope 
you're doing well. I'm jumping in since you're getting into the nuances of 
conversion tracking. Let's see if I can get this sorted out for you. I'll 
start out with your related question, and if we need to backtrack on the 
other questions, I'll be happy to clarify.

Changing the *Count* setting of the conversion tracker will not affect 
reporting from the past. I was able to find a line in our About Moving from 
"Converted clicks" to "Conversions" Help Center article 
 that says "The changes 
to your conversion action settings will only affect your reporting going 
forward, and won’t change historical reporting statistics." I've found that 
most people seem to be taking this particular route when migrating.

If you need any further help on this, please don't hesitate to reach out.

Best,
Nadine, AdWords API Team

On Wednesday, September 28, 2016 at 3:46:24 AM UTC-4, Zweitze wrote:
>
> I'm afraid this answer is not very helpful either. You say "Converted 
> clicks can't be segmented 
>  by conversion name, 
> conversion source, or conversion category, because a single click can lead 
> to multiple conversion actions".
> Believe it or not: That was exactly the case in the past 11 years. From v2 
> to v201603. Both AdWords web interface and AdWords API supported that 
> scenario.
>
> Thanks for the links, unfortunately none answer my question or are useful.
>
> Can I ask a related question? If I change the "Count" setting of a 
> conversiontracker, will that affect conversions from the past? Although I 
> did find documentation on the Count setting 
> , that documentation 
> lacks this information. I hope you can see how I intend to use that 
> setting, so I hope your answer covers all scenarios.
>
>
>
>
>
> On Tuesday, September 27, 2016 at 11:10:30 PM UTC+2, Shwetha Vastrad 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> ConvertedClicks field will no longer be available in v201607 version of 
>> the API. You need to use the Conversions 
>> 
>>  
>> field to measure conversion related data. The Conversions field is *not* the 
>> same as the ConvertedClicks field. More information about Conversions as 
>> compared to ConvertedClicks is available here 
>> . 
>>
>> Converted clicks can't be segmented 
>>  by conversion name, 
>> conversion source, or conversion category, because a single click can lead 
>> to multiple conversion actions. You can review the conversion tracking 
>> settings of your account to report similar numbers to the ConvertedClicks 
>> column. Here are some links which could be helpful:
>>
>>- Simplifying conversion measurement 
>>
>> 
>>- About moving from “Converted clicks” to “Conversions” 
>>
>>- Compare "Conversions" and "Converted clicks" 
>>
>>- Understand your conversion tracking data 
>>
>>
>> Regards,
>> Shwetha, AdWords API Team.
>>
>

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

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


invalid_grant and Bad Request

2016-09-28 Thread yada . bilal
Hi,

I have a error for adwords api but I didn't understand and I didn't solve. 
Error in the down. Please, Can you help me? Thanks.

(Note: My server is localhost and my acount is testing.)

*Fatal error*: Uncaught exception 'OAuth2Exception' with message '{ 
"error": "invalid_grant", "error_description": "Bad Request" } ' in 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php:118
 
Stack trace: #0 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php(92):
 
SimpleOAuth2Handler->MakeRequest('https://www.goo...', Array) #1 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\OAuth2Handler.php(105):
 
SimpleOAuth2Handler->RefreshAccessToken(Array) #2 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(452):
 
OAuth2Handler->GetOrRefreshAccessToken(Array) #3 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(199):
 
AdsSoapClient->GenerateHttpHeaders() #4 
C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src in
*C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php*
 on 
line *118*


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

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


Google Product Taxonomy vs Product Bidding Category

2016-09-28 Thread Joe Stedman
Hi All,

When automating the creation of shopping campaigns I noticed that the 
Google Product Categories returned by the API don't quite match up with the 
taxonomy found here:
https://www.google.com/basepages/producttype/taxonomy-with-ids.en-GB.txt
 
Causing my code to throw exceptions when it tries to create a product tree 
using the outdated taxonomy.

The exact error I receive is : "Bidding categories do not form a valid path 
in the Shopping bidding category taxonomy.."

Any help would be greatly appreciated.

Regards,
Joe

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

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


Re: Getting Keyword Status through the JAVA API

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

You can include the SystemServingStatus 

 field 
in the predicate to filter keywords based on serving status of the keyword. 
You can use the code below to add a predicate to filter keywords with low 
search volume in the Keywords Performance Report: 


Predicate predicate = new Predicate();
predicate.setField("SystemServingStatus");
predicate.setOperator(PredicateOperator.EQUALS);
predicate.getValues().addAll(Lists.newArrayList("RARELY_SERVED"));
selector.getPredicates().add(predicate);

Regards,
Shwetha, AdWords API Team.

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

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


Re: How to validate user credentials for a user account after ClientLogin is sunset?

2016-09-28 Thread Bartosz Ferenc
Hi,
It's works. Another instace /singleton AdwordsUser uses auth.ini in my test
code. My test object doesn't use it but had access to this variable. THX

2016-09-28 17:03 GMT+02:00 'Josh Radcliff (AdWords API Team)' via AdWords
API Forum :

> Hi,
>
> In step 3, are you clearing the client customer ID? If not, then that
> attribute may be left over from your previous request or set via the 
> clientCustomerId
> in your auth.ini
> 
>  file,
> and the access token probably doesn't have access to that customer ID.
>
> Thanks,
> Josh, AdWords API Team
>
>
> On Wednesday, September 28, 2016 at 9:20:54 AM UTC-4, Bartosz Ferenc wrote:
>>
>> Hi Josh,
>> I have a problem.
>>
>> 1. Customer agrees by Oauth2 on campaign management and application
>> receives ACCESS_TOKEN and refresh_token. Everything is OK.
>> 2. To be able to manage user account I need to know his clientcustomer_id.
>> 3. I want to get them through CustomerService.get using customer
>> refresh_token.
>> 4. API returns permission_denied.
>> 5. If i enter manually $user-> SetClientCustomerId ($client_customer_id)
>> everything works properly.
>>
>> I would like to receive via CustomerService.get client_customer_id which
>> seems possible - the documentation shows that this method does not require
>> client_customer_id and should be return it, using only refresh_token. Am I
>> right? Why it did not work?
>>
>>
>> W dniu poniedziałek, 17 marca 2014 17:12:41 UTC+1 użytkownik Josh
>> Radcliff (AdWords API Team) napisał:
>>>
>>> Hi Chris,
>>>
>>> One way you could deal with the issue you described would be to go
>>> through a small OAuth flow for account A1 at this step:
>>>
>>> *Someone logs into our web application and configures a new application
>>> account B1, intended to display data for account A1*
>>>
>>> If the person entering in the account at that point only has access to
>>> A1, then you could:
>>>
>>>1. Take the user through the OAuth2 *Web Application *flow. He would
>>>presumably log in at that point as a user who only has access to A1 (you
>>>could just request the *online *access_type instead of the offline
>>>access_type
>>>
>>>for this, since you're going to use the *access token* immediately).
>>>2. When your website or app gets the authorization code from the
>>>OAuth2 flow, exchange it for an *access token*.
>>>3. Use the *access token* and the account ID the user entered to
>>>perform a basic API request such as CampaignService.get
>>>
>>> 
>>>  for
>>>the account ID he entered. If that fails, then chances are the user 
>>> entered
>>>the wrong account ID.  In the example you gave, you would have an access
>>>token for A1 but an account ID for A2, so the request would fail.
>>>
>>> Does that sound feasible for your use case?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Monday, March 17, 2014 11:34:58 AM UTC-4, Chris wrote:

 Hi Josh,

 The use case is as follows:

 We have MCC M1 and AdWords accounts A1 and A2
 Both A1 and A2 are already linked to M1
 We have a web application that has the necessary information to pull
 data from accounts in M1
 Someone logs into our web application and configures a new application
 account B1, intended to display data for account A1
 During the configuration process, the client id for A2 is entered in
 error
 B1 is now pulling and displaying data for A2

 It is easier to arrive at this situation when only a client id is
 required. If a user has to also provide a valid login for the corresponding
 account, then this kind of error would be less likely, as the mistake
 should be clearer e.g. in the example above, if we see the credentials for
 us...@account2.com provided in B1 then this looks like an error has
 been made

 On Friday, 14 March 2014 16:13:36 UTC-3, Josh Radcliff (AdWords API
 Team) wrote:
>
> Hi Chris,
>
> Put another way, is your use case as follows?
>
>1. You have MCC M1 and AdWords account A1.
>2. A1 is linked to M1.
>3. Someone on your team creates AdWords account A2.
>4. That same person goes to the MCC UI (or uses your app) to send
>an invitation to A2 to be linked to M1, but accidentally enters the ID 
> for
>A1 instead.
>
> In this scenario, if your app then attempts to issue an API request
> against A2 using OAuth2 credentials from M1, the API request will fail
> because the link between M1 and A2 was never created or accepted.
>
> I'm not sure if that's actually the use case you described.  If not,
> could you provide some more details?
>

Budget per Ad?

2016-09-28 Thread rentcafedev1
Hi,
I'm building a tool that I'm hoping to simplify creating Ads for our 
clients, similar to Adwords Express.

I've been instructed to just create a single campaign and adgroup for each 
client, which all ads would be under.  

Can I set a budget for each single Ad in this case?  Or does a budget have 
to be at campaign level and apply to all ads within?

Is there a recommended pattern to follow when simplifying Ad creation and 
hiding campaigns/adgroups?

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

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


Re: LanguageSearchParameter

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

Unfortunately, this looks like an issue in the third-party node.js library 
and I would not be able to help you with debugging the issue completely. 
However, I can see that there are namespace conflicts in the SOAP request 
XML generated by your code. If you compare the XML in your previous 
response with the XML below, you would see the namespace conflicts, 
specifically near the ** line. I would recommend fixing the 
namespace issues and trying again. If that doesn't work, I would recommend 
opening an issue in the Github repository of the node.js client library.

*Sample SOAP request XML for Targeting Idea Service (generated with the 
AdWords API Java client library)*:

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/o/v201607; 
soapenv:mustUnderstand="0">
https://adwords.google.com/api/adwords/cm/v201607;>XX
https://adwords.google.com/api/adwords/cm/v201607;>REDACTED
https://adwords.google.com/api/adwords/cm/v201607;>TestCompany 
(AwApi-Java, AdWords-Axis/2.19.0, Common-Java/2.19.0, Axis/1.4, 
Java/1.8.0-google-v7, maven)
https://adwords.google.com/api/adwords/cm/v201607;>false
https://adwords.google.com/api/adwords/cm/v201607;>false



https://adwords.google.com/api/adwords/o/v201607;>

https://adwords.google.com/api/adwords/o/v201607; 
xsi:type="ns7:RelatedToQuerySearchParameter">
some keyword

https://adwords.google.com/api/adwords/o/v201607; 
xsi:type="ns8:LanguageSearchParameter">

https://adwords.google.com/api/adwords/cm/v201607;>1000


https://adwords.google.com/api/adwords/o/v201607; 
xsi:type="ns10:NetworkSearchParameter">

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


KEYWORD
IDEAS

KEYWORD_TEXT

SEARCH_VOLUME

CATEGORY_PRODUCTS_AND_SERVICES

https://adwords.google.com/api/adwords/cm/v201607;>0
https://adwords.google.com/api/adwords/cm/v201607;>10




 

Regards,
Vishal, AdWords API Team

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

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


Re: How to validate user credentials for a user account after ClientLogin is sunset?

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

In step 3, are you clearing the client customer ID? If not, then that 
attribute may be left over from your previous request or set via the 
clientCustomerId 
in your auth.ini 

 file, 
and the access token probably doesn't have access to that customer ID.

Thanks,
Josh, AdWords API Team

On Wednesday, September 28, 2016 at 9:20:54 AM UTC-4, Bartosz Ferenc wrote:
>
> Hi Josh,
> I have a problem.
>
> 1. Customer agrees by Oauth2 on campaign management and application 
> receives ACCESS_TOKEN and refresh_token. Everything is OK.
> 2. To be able to manage user account I need to know his clientcustomer_id.
> 3. I want to get them through CustomerService.get using customer 
> refresh_token.
> 4. API returns permission_denied.
> 5. If i enter manually $user-> SetClientCustomerId ($client_customer_id) 
> everything works properly.
>
> I would like to receive via CustomerService.get client_customer_id which 
> seems possible - the documentation shows that this method does not require 
> client_customer_id and should be return it, using only refresh_token. Am I 
> right? Why it did not work?
>
>
> W dniu poniedziałek, 17 marca 2014 17:12:41 UTC+1 użytkownik Josh Radcliff 
> (AdWords API Team) napisał:
>>
>> Hi Chris,
>>
>> One way you could deal with the issue you described would be to go 
>> through a small OAuth flow for account A1 at this step:
>>
>> *Someone logs into our web application and configures a new application 
>> account B1, intended to display data for account A1*
>>
>> If the person entering in the account at that point only has access to 
>> A1, then you could:
>>
>>1. Take the user through the OAuth2 *Web Application *flow. He would 
>>presumably log in at that point as a user who only has access to A1 (you 
>>could just request the *online *access_type instead of the offline 
>>access_type 
>> 
>>for this, since you're going to use the *access token* immediately).
>>2. When your website or app gets the authorization code from the 
>>OAuth2 flow, exchange it for an *access token*.
>>3. Use the *access token* and the account ID the user entered to 
>>perform a basic API request such as CampaignService.get 
>>
>> 
>>  for 
>>the account ID he entered. If that fails, then chances are the user 
>> entered 
>>the wrong account ID.  In the example you gave, you would have an access 
>>token for A1 but an account ID for A2, so the request would fail.
>>
>> Does that sound feasible for your use case?
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, March 17, 2014 11:34:58 AM UTC-4, Chris wrote:
>>>
>>> Hi Josh,
>>>
>>> The use case is as follows:
>>>
>>> We have MCC M1 and AdWords accounts A1 and A2
>>> Both A1 and A2 are already linked to M1
>>> We have a web application that has the necessary information to pull 
>>> data from accounts in M1
>>> Someone logs into our web application and configures a new application 
>>> account B1, intended to display data for account A1
>>> During the configuration process, the client id for A2 is entered in 
>>> error
>>> B1 is now pulling and displaying data for A2
>>>
>>> It is easier to arrive at this situation when only a client id is 
>>> required. If a user has to also provide a valid login for the corresponding 
>>> account, then this kind of error would be less likely, as the mistake 
>>> should be clearer e.g. in the example above, if we see the credentials for 
>>> us...@account2.com provided in B1 then this looks like an error has 
>>> been made
>>>
>>> On Friday, 14 March 2014 16:13:36 UTC-3, Josh Radcliff (AdWords API 
>>> Team) wrote:

 Hi Chris,

 Put another way, is your use case as follows?

1. You have MCC M1 and AdWords account A1.
2. A1 is linked to M1.
3. Someone on your team creates AdWords account A2.
4. That same person goes to the MCC UI (or uses your app) to send 
an invitation to A2 to be linked to M1, but accidentally enters the ID 
 for 
A1 instead.

 In this scenario, if your app then attempts to issue an API request 
 against A2 using OAuth2 credentials from M1, the API request will fail 
 because the link between M1 and A2 was never created or accepted.

 I'm not sure if that's actually the use case you described.  If not, 
 could you provide some more details?

 Thanks,
 Josh, AdWords API Team

 On Friday, March 14, 2014 11:27:30 AM UTC-4, Chris wrote:
>
> Hi Josh,
>
> Thanks for your reply! The situation I am concerned with however is 
> where we already have clients linked to our MCC. Let's say that one of 
> the 
> people on our team is setting up a new account in one 

Getting Keyword Status through the JAVA API

2016-09-28 Thread Aba
Hi all,

I am trying to get the list of all keywords with a specific status per 
account.

For instance, I would like to retrieve all keywords that are flagged as 
"Low search volume".

I checked the KeyPerformance Report, and fetching the Keyword objects, but 
I can't seem to find a way to get to the status.

I am using the JAVA api.

Any ideas ? 

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

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


Re: Batch job service is not efficient, stucked

2016-09-28 Thread Stefano Fontana
See this issue https://github.com/googleads/googleads-python-lib/issues/118

On Tuesday, September 27, 2016 at 8:10:05 PM UTC+2, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Mike,
>
> The advantage of batch jobs is in the fact that you can group many 
> operations of various kinds into a single request and the API would 
> automatically handle retrying and rate limiting logic for you. It may, 
> however, take some time to complete the batch job if there are hundreds of 
> thousands of operations in a single request. If you follow the best 
> practices guide (which I shared in my previous response), you should be 
> able to achieve optimum performance. Since AdWords API uses SOAP protocol 
> in the back-end, unfortunately I cannot think of a workaround to the way 
> the jobs are sent via a SOAP XML. If you have more questions related to the 
> Python client library in general, I would recommend opening an issue here 
> . 
>
> Regards,
> Vishal, AdWords API Team
>

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

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


Re: How to validate user credentials for a user account after ClientLogin is sunset?

2016-09-28 Thread Bartosz Ferenc
Hi Josh,
I have a problem.

1. Customer agrees by Oauth2 on campaign management and application 
receives ACCESS_TOKEN and refresh_token. Everything is OK.
2. To be able to manage user account I need to know his clientcustomer_id.
3. I want to get them through CustomerService.get using customer 
refresh_token.
4. API returns permission_denied.
5. If i enter manually $user-> SetClientCustomerId ($client_customer_id) 
everything works properly.

I would like to receive via CustomerService.get client_customer_id which 
seems possible - the documentation shows that this method does not require 
client_customer_id and should be return it, using only refresh_token. Am I 
right? Why it did not work?


W dniu poniedziałek, 17 marca 2014 17:12:41 UTC+1 użytkownik Josh Radcliff 
(AdWords API Team) napisał:
>
> Hi Chris,
>
> One way you could deal with the issue you described would be to go through 
> a small OAuth flow for account A1 at this step:
>
> *Someone logs into our web application and configures a new application 
> account B1, intended to display data for account A1*
>
> If the person entering in the account at that point only has access to A1, 
> then you could:
>
>1. Take the user through the OAuth2 *Web Application *flow. He would 
>presumably log in at that point as a user who only has access to A1 (you 
>could just request the *online *access_type instead of the offline 
>access_type 
> 
>for this, since you're going to use the *access token* immediately).
>2. When your website or app gets the authorization code from the 
>OAuth2 flow, exchange it for an *access token*.
>3. Use the *access token* and the account ID the user entered to 
>perform a basic API request such as CampaignService.get 
>
> 
>  for 
>the account ID he entered. If that fails, then chances are the user 
> entered 
>the wrong account ID.  In the example you gave, you would have an access 
>token for A1 but an account ID for A2, so the request would fail.
>
> Does that sound feasible for your use case?
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, March 17, 2014 11:34:58 AM UTC-4, Chris wrote:
>>
>> Hi Josh,
>>
>> The use case is as follows:
>>
>> We have MCC M1 and AdWords accounts A1 and A2
>> Both A1 and A2 are already linked to M1
>> We have a web application that has the necessary information to pull data 
>> from accounts in M1
>> Someone logs into our web application and configures a new application 
>> account B1, intended to display data for account A1
>> During the configuration process, the client id for A2 is entered in error
>> B1 is now pulling and displaying data for A2
>>
>> It is easier to arrive at this situation when only a client id is 
>> required. If a user has to also provide a valid login for the corresponding 
>> account, then this kind of error would be less likely, as the mistake 
>> should be clearer e.g. in the example above, if we see the credentials for 
>> us...@account2.com provided in B1 then this looks like an error has been 
>> made
>>
>> On Friday, 14 March 2014 16:13:36 UTC-3, Josh Radcliff (AdWords API Team) 
>> wrote:
>>>
>>> Hi Chris,
>>>
>>> Put another way, is your use case as follows?
>>>
>>>1. You have MCC M1 and AdWords account A1.
>>>2. A1 is linked to M1.
>>>3. Someone on your team creates AdWords account A2.
>>>4. That same person goes to the MCC UI (or uses your app) to send an 
>>>invitation to A2 to be linked to M1, but accidentally enters the ID for 
>>> A1 
>>>instead.
>>>
>>> In this scenario, if your app then attempts to issue an API request 
>>> against A2 using OAuth2 credentials from M1, the API request will fail 
>>> because the link between M1 and A2 was never created or accepted.
>>>
>>> I'm not sure if that's actually the use case you described.  If not, 
>>> could you provide some more details?
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, March 14, 2014 11:27:30 AM UTC-4, Chris wrote:

 Hi Josh,

 Thanks for your reply! The situation I am concerned with however is 
 where we already have clients linked to our MCC. Let's say that one of the 
 people on our team is setting up a new account in one of applications that 
 uses the AdWords API, and by mistake enters the client id for client X 
 from 
 the MCC rather than for client Y. This is still a valid account, linked to 
 the MCC, but due to a simple mistake is not the client id that we want. If 
 I could also validate this client id against client-specific login 
 credentials then that would be a useful extra step for validating that we 
 infact have the client id that we want to use. A user is less likely to 
 enter incorrect login credentials such as u...@clientx.com for the client 
 Y 
 account.


Field companyName from ManagedCustomer obtained by ManagedCustomerService

2016-09-28 Thread marcin . czepinski
Hi,

there is a problem lately - field 'companyName' is empty (for some new 
accounts, not for all) in results of get() call from 
ManagedCustomerService. I was informed lately that this is a known bug with 
very low priority and is not to be fixed.

Values of the field were useful to determine who pays for costs generated 
by campaigns from given account.

Does anyone know if there is any other way of getting information about who 
(which company) pays for costs generated by account via API?

Thanks,
mc

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

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


Field companyName from ManagedCustomer is empty for some new Accounts, any workarounds?

2016-09-28 Thread marcin . czepinski
Hi,

Objects of clas ManagedCustomer are returned from get() calls of the 
ManagedCustomerService. There is a field companyName which is empty for 
some newly created accounds. I have information that this is know bug which 
is not to be fixed. 

The field companyName was usefull to determine who was to pay for costs 
generated by given account.

Do'es anyone know how to get that information from AdwordsAPI i.e. which 
company pays for costs generated by campaigns from given account?

Thanks,
mc

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

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


LanguageSearchParameter

2016-09-28 Thread qsd QDS
Hi,

I'm trying to implement the TargetingIdeaService, since I'm using NodeJS 
and there is no official client I went with node-adwords 
.
I can't seems to figure out how to properly add a LanguageSearchParameter, 
it always return this error:

Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found 
starting with element \'language\'. One of 
\'{"https://adwords.google.com/api/adwords/cm/v201607":id, 
"https://adwords.google.com/api/adwords/cm/v201607":type, 
"https://adwords.google.com/api/adwords/cm/v201607":Criterion.Type, 
"https://adwords.google.com/api/adwords/cm/v201607":code, 
"https://adwords.google.com/api/adwords/cm/v201607":name}\' is expected. 

My selector looks like this:

let selector = {
  searchParameters: [
{
  attributes: {'xsi:type': 'RelatedToQuerySearchParameter'},
  queries: ['test']
},
{
  attributes: {'xsi:type': 'LanguageSearchParameter'},
  languages: [{id: 1000}]
}
  ],
  ideaType: 'KEYWORD',
  requestType: 'IDEAS',
  requestedAttributeTypes: ['KEYWORD_TEXT'],
  paging: {startIndex: 0, numberResults: 
AdwordsConstants.RECOMMENDED_PAGE_SIZE},
}


And the full request sent:

http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:tns="https://adwords.google.com/api/adwords/o/v201607; 
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201607;>

https://adwords.google.com/api/adwords/o/v201607; 
xmlns="https://adwords.google.com/api/adwords/o/v201607;>
***
node-adwords
false
***



https://adwords.google.com/api/adwords/o/v201607;>


test



1000


KEYWORD
IDEAS

KEYWORD_TEXT

https://adwords.google.com/api/adwords/cm/v201607;>0
https://adwords.google.com/api/adwords/cm/v201607;>500






I try sending the same request with both the official PHP and Python client 
and the requests are identical. What am I missing?

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

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


Re: INVALID_BILLING_ACCOUNT_ID_FORMAT

2016-09-28 Thread cpelegrin
Thanks, Now is working

El martes, 27 de septiembre de 2016, 13:50:55 (UTC+2), cpel...@qdqmedia.com 
escribió:
>
> Hello, I am migrating from v201603 to v201607
>
> I have a main MCC and under this I have 60 SubMcc with account under each 
> SubMCC.
>
> I am using BudgetOrderService like in v201603, but I obtain next error:
>
>
> BudgetOrderError.INVALID_BILLING_ACCOUNT_ID_FORMAT, when I call the API to 
> create a new budget for a account, I dont pass the billingAccountId I pass 
> the OrderId because I have a very particular organization.
>
> Documentation saids that I have to use getBillingAccounts, but I use 
> order_id
>
> Any idea?
>
>
>

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

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


Re: ConversionTrackerId cannot be used in combination with ConvertedClicks in v201605?!

2016-09-28 Thread Zweitze
I'm afraid this answer is not very helpful either. You say "Converted 
clicks can't be segmented 
 by conversion name, 
conversion source, or conversion category, because a single click can lead 
to multiple conversion actions".
Believe it or not: That was exactly the case in the past 11 years. From v2 
to v201603. Both AdWords web interface and AdWords API supported that 
scenario.

Thanks for the links, unfortunately none answer my question or are useful.

Can I ask a related question? If I change the "Count" setting of a 
conversiontracker, will that affect conversions from the past? Although I 
did find documentation on the Count setting 
, that documentation 
lacks this information. I hope you can see how I intend to use that 
setting, so I hope your answer covers all scenarios.





On Tuesday, September 27, 2016 at 11:10:30 PM UTC+2, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi,
>
> ConvertedClicks field will no longer be available in v201607 version of 
> the API. You need to use the Conversions 
> 
>  
> field to measure conversion related data. The Conversions field is *not* the 
> same as the ConvertedClicks field. More information about Conversions as 
> compared to ConvertedClicks is available here 
> . 
>
> Converted clicks can't be segmented 
>  by conversion name, 
> conversion source, or conversion category, because a single click can lead 
> to multiple conversion actions. You can review the conversion tracking 
> settings of your account to report similar numbers to the ConvertedClicks 
> column. Here are some links which could be helpful:
>
>- Simplifying conversion measurement 
>
> 
>- About moving from “Converted clicks” to “Conversions” 
>
>- Compare "Conversions" and "Converted clicks" 
>
>- Understand your conversion tracking data 
>
>
> Regards,
> Shwetha, AdWords API Team.
>

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

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


Re: Creating default audiences (userlists) using API

2016-09-28 Thread Alexey Terekhov
Thanks for the links, Anthony.

But still our primary purpose is to create standard audiences using API. 
I've mentioned dynamic ads configuration in UI only because it triggered 
creating these audiences (or at least it seemed so).

Now we have come up with an idea to create these audiences manually as 
rule-based userlists (as apparently there is no way to have them created 
automatically via API). Now the problem is that it's not clear what rules 
to specify for 'Conversion abandoners' audience - user must send 
'ecomm_pagetype = cart' but not send 'ecomm_pagetype = purchase' later. 
Rule allows to specify conditions for some particular event - not for 
sequence of events in time.

Please comment on our guess - whether this is a right approach to simulate 
standard audiences.

Regards, Alexey.

On Tuesday, September 27, 2016 at 11:22:33 PM UTC+3, Anthony Madrigal wrote:
>
> Hi Alexey,
>
> Unfortunately, there is no way to create custom parameters for your 
> remarketing tag via the API. You will need to create them through the UI 
> . You can find your 
> remarketing tag from the RemarketingSettings 
> 
>  by 
> calling getCustomers 
> 
>  in 
> CustomerService.
>
> You can, however, create dynamic remarketing ads using the API. Here is 
> our guide 
>  
> that 
> describes how to and the different types 
> 
>  of 
> dynamic remarketing available.  
>
> Regards,
> Anthony
> AdWords API Team
>

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

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