Re: Distributing Applications & OAuth Authorisation Credentials

2016-01-22 Thread StewartR
Hi,

Thanks for your response. This is for a generic application where users 
would configure their own accounts.



On Friday, January 22, 2016 at 5:16:19 PM UTC, Yin Niu wrote:
>
> Hello, 
>
> Can you clarify what type of application you would like to publish? Are 
> you going to let your user to use the MCC account that you are using right 
> now, which means if they have the credentials, they will be able to access 
> all accounts under this MCC? Or is this going to be a generic application 
> so that the user can configure their own MCC and credentials? 
>
> Thanks,
> Yin, AdWords API Team. 
>

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

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


Distributing Applications & OAuth Authorisation Credentials

2016-01-22 Thread StewartR
Hi, 

We have used the API *internally* for a while and follow the the OAuth 
Application flow to do so. We have authorised our own MCC and securely 
store the refresh token which we pass to the API with our developer token 
with each request. This process is nice and easy because, right now, all 
the accounts we access are inside our MCC so we can just keep all the 
credentials locally.

My question relates how we could release an application *externally* for 
others to use and which credentials would need to be distributed with the 
application.

As I understand it there are 2 parts to the OAuth2 application flow:

1. Having the user authorise our application
2. Using credentials obtained from (1) in order to obtain data from the API 
for the user's adwords account.

For part 1 I understand that I need to direct the user to 
the https://accounts.google.com/o/oauth2/auth URL with a query parameter 
providing our application's *client-id*, yes? Assuming the user gives 
consent, the application would then capture the authorization code from the 
redirected page and make a new request to 
 https://accounts.google.com/o/oauth2/token passing along the authorisation 
code along with out *client-secret *in order to obtain a refresh token, yes?

The result of part 1 is a refresh token which could then be stored on the 
user's machine ready for use in part 2.

For part 2 I need to pass that locally stored refresh token and our 
*developer-token* along in order to authenticate the request (which would 
be handled inside a client library to ease the exchange of refresh token 
for authorisation token)

*Surely this means that our **client-Id,* *client-secret and developer 
token must all be distributed with the published application? Should they 
therefore be encrypted in some way or is it safe to store them 'in the 
clear' and/or just hard-code them? If encryption is required is there 
client library support for this part? (specifically the .NET client 
library?)*

Many Thanks

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

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


ACCOUNT level budgets

2015-06-24 Thread StewartR
Hi,

Is there a means to read ACCOUNT level budgets from the API?

I cannot find a report on the Report Types 
https://developers.google.com/adwords/api/docs/appendix/reports list that 
seems to have this value (I can only find support for campaign/shared 
campaign budgets which isn't what I need). 

I also found this thread 
https://groups.google.com/forum/#!searchin/adwords-api/manage$20account$20budgets%7Csort:relevance/adwords-api/YvEwdGfeSwI/GWQpObst3FcJ
 which 
gives some hope but it seems to be outdated and implies we would need to be 
white-listed to access this? Is that still correct?

Stewart

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

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


Re: AWQL PRODUCT_PARTITION_REPORT ProductGroup invalid field name

2015-01-23 Thread StewartR
Hi Josh,

Thanks for taking the time to reply.

No - I don't believe I am using V201406. 

I am certainly using the most up-to-date version of the client library and 
certainly have no mention of the string 201406 anywhere in my code so 
unless the current client library defaults to an older version for some 
reason I should be using V201409. 

Is there a straightforward way I can double check?





On Thursday, January 22, 2015 at 7:38:34 PM UTC, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 The report types page lists the fields available in the *latest* version 
 of the API (v201409). The *ProductGroup* field is not available in 
 v201406 -- are you using v201406, by any chance?

 Thanks,
 Josh, AdWords API Team

 On Thursday, January 22, 2015 at 12:07:39 PM UTC-5, StewartR wrote:


 I am trying to download a PRODUCT_PARTITION_REPORT using an AWQL report 
 using the .NET Client Library.

 The Query:

 SELECT Id FROM PRODUCT_PARTITION_REPORT DURING TODAY

 works as expected returning a list of Ids of the product partitions.

 However, when I add the ProductGroup field (or indeed PartitionType) to 
 the query and instead attempt, say:

 SELECT Id,ProductGroup FROM PRODUCT_PARTITION_REPORT DURING TODAY

 The API returns the following error:

 ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT, Trigger: , 
 FieldPath: ProductGroup

 These fields are valid as they are listed here 
 https://developers.google.com/adwords/api/docs/appendix/reports#product-partition
  for 
 this report type. Any idea what's wrong here?



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

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


AWQL PRODUCT_PARTITION_REPORT ProductGroup invalid field name

2015-01-22 Thread StewartR

I am trying to download a PRODUCT_PARTITION_REPORT using an AWQL report 
using the .NET Client Library.

The Query:

SELECT Id FROM PRODUCT_PARTITION_REPORT DURING TODAY

works as expected returning a list of Ids of the product partitions.

However, when I add the ProductGroup field (or indeed PartitionType) to the 
query and instead attempt, say:

SELECT Id,ProductGroup FROM PRODUCT_PARTITION_REPORT DURING TODAY

The API returns the following error:

ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT, Trigger: , FieldPath: 
ProductGroup

These fields are valid as they are listed here 
https://developers.google.com/adwords/api/docs/appendix/reports#product-partition
 for 
this report type. Any idea what's wrong here?

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

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


KEYWORD_HAS_INVALID_CHARS: List of invalid characters for keywords

2014-09-05 Thread StewartR
Is there a list of the characters that will trigger the 
KEYWORD_HAS_INVALID_CHARS Criterion error? 

I tried searching for adwords invalid keyword characters and came up 
blank.

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

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


Re: AGE_PERFORMANCE_REPORT - why are there multiple 'Undetermined' rows?

2014-07-31 Thread StewartR
Hi Ray,

Any idea how long it usually takes to get a response for this sort of thing?

I originally thought I was just asking a (relatively) straightforward 
question about what the data represented - is this a bug? 

Stewart

On Tuesday, July 15, 2014 9:08:42 PM UTC+1, Ray Tsang (AdWords API Team) 
wrote:

 Stewart,

 The issue was  logged but I don't have an update on this yet.

 Thanks,

 Ray

 On Tuesday, July 15, 2014 5:20:46 AM UTC-4, StewartR wrote:

 Any progress on this?

 On Wednesday, July 2, 2014 11:03:37 PM UTC+1, Ray Tsang (AdWords API 
 Team) wrote:

 Stewart,

 Thanks for sending in the information.  I'll take a look.

 Cheers,

 Ray

 On Tuesday, July 1, 2014 3:58:32 PM UTC-4, Ray Tsang (AdWords API Team) 
 wrote:

 Stewart,

 Please send me a sample request and output and I can take a look.

 Thanks,

 Ray

 On Tuesday, July 1, 2014 10:30:34 AM UTC-4, StewartR wrote:

 I'm not sure I understand your point? 

 I am aware of the segmentation options. 

 My question is why there are lots of 'undetermined' age ranges rather 
 than just one when there are no other segments included in the report?

 I might be missing your point

 On Tuesday, July 1, 2014 1:12:26 PM UTC+1, Jason Stedman wrote:

 Please see the segmentation link in the description in the report 
 types entry for more information.


 https://developers.google.com/adwords/api/docs/appendix/reports#age-range



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

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


Re: AGE_PERFORMANCE_REPORT - why are there multiple 'Undetermined' rows?

2014-07-15 Thread StewartR
Any progress on this?

On Wednesday, July 2, 2014 11:03:37 PM UTC+1, Ray Tsang (AdWords API Team) 
wrote:

 Stewart,

 Thanks for sending in the information.  I'll take a look.

 Cheers,

 Ray

 On Tuesday, July 1, 2014 3:58:32 PM UTC-4, Ray Tsang (AdWords API Team) 
 wrote:

 Stewart,

 Please send me a sample request and output and I can take a look.

 Thanks,

 Ray

 On Tuesday, July 1, 2014 10:30:34 AM UTC-4, StewartR wrote:

 I'm not sure I understand your point? 

 I am aware of the segmentation options. 

 My question is why there are lots of 'undetermined' age ranges rather 
 than just one when there are no other segments included in the report?

 I might be missing your point

 On Tuesday, July 1, 2014 1:12:26 PM UTC+1, Jason Stedman wrote:

 Please see the segmentation link in the description in the report types 
 entry for more information.


 https://developers.google.com/adwords/api/docs/appendix/reports#age-range



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

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


AGE_PERFORMANCE_REPORT - why are there multiple 'Undetermined' rows?

2014-07-01 Thread StewartR
Hi Folks,

Just as the title says really: If I run an AGE_PERFORMANCE_REPORT with no 
other segments I still get lots of rows showing as undetermined. 

I understand that we may not always know the age range but would have just 
expected a single row with the stats for those users - why the multiple 
different rows? What do they represent?

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

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


Re: AGE_PERFORMANCE_REPORT - why are there multiple 'Undetermined' rows?

2014-07-01 Thread StewartR
I'm not sure I understand your point? 

I am aware of the segmentation options. 

My question is why there are lots of 'undetermined' age ranges rather than 
just one when there are no other segments included in the report?

I might be missing your point

On Tuesday, July 1, 2014 1:12:26 PM UTC+1, Jason Stedman wrote:

 Please see the segmentation link in the description in the report types 
 entry for more information.

 https://developers.google.com/adwords/api/docs/appendix/reports#age-range


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

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