Re: Distributing Applications & OAuth Authorisation Credentials

2016-01-25 Thread Prabhat Jha
love raj music


On Friday, January 22, 2016 at 5:47:19 AM UTC-8, StewartR wrote:
>
> 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/325cd5ad-9a39-48bb-be0a-56e1a62d3f79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API returns me 0 results for keyword 'sport' (with Italian parameters)

2016-01-25 Thread Prabhat Jha
love raj music

On Friday, January 22, 2016 at 6:03:41 AM UTC-8, Sergio Montagna wrote:
>
> Hi,
> I have the same problem.. 
> Thanks in advance for reply 
>
> Il giorno martedì 19 gennaio 2016 18:49:43 UTC+1, Yin Niu ha scritto:
>>
>> Hi Biagio, 
>>
>> Could you please send the SOAP log for the requests that you got 0 
>> results? Please also include your ClientCustomerID. Please click *Reply 
>> privately to author* in the forum when responding.
>>
>> 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/ac1dd8ff-a186-4592-8817-366dca23f291%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [1-2560000010334] Distributing Applications & OAuth Authorisation Credentials

2016-01-25 Thread Prabhat Jha
love raj music

On Saturday, January 23, 2016 at 8:55:25 AM UTC-8, StewartR wrote:
>
>
>
> Hi,
>
> That doesn't seem right at all. I guess I must not have managed to explain 
> my situation properly? 
>
> Users of the third party tool we are developing should surely be able to 
> use it without having to register an application with the Google console 
> app, sign up for a developer token, etc?
>
> There are many 3rd party applications out there where users just sign in 
> to their own account using the application itself. We want to use that 
> authorization flow.
>
>
> --
> *From:* adwordsap...@google.com   >
> *Sent:* 22 January 2016 22:16
> *To:* Stewart Robertson
> *Cc:* AdWords API Forum
> *Subject:* RE: [1-256010334] Distributing Applications & OAuth 
> Authorisation Credentials 
>  mr. suraj
> Hi, 
>
> In that case, I would say that you don't need to give out your credentials 
> or tokens. You let user configure the application. 
>
> Thanks,
> Yin Niu, AdWords API Team. 
>
>
>
>
> This email and any attachments to it may be confidential and are intended 
> solely for the use of the individual to whom it is addressed. Any views or 
> opinions expressed are solely those of the author and do not necessarily 
> represent those of Search Laboratory Ltd. If you are not the intended 
> recipient of this email, you must neither take any action based upon its 
> contents, nor copy or show it to anyone. Please contact the sender if you 
> believe you have received this email in error. 
>
> Search Laboratory is registered in England, no. 5608449. Registered 
> address: The Blokhaus, West Park Ring Road, Leeds, LS16 6QG, UK. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4904900b-ebde-4f29-a554-a39d51eb7741%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Operation limit for adgroupcriterions on shopping adgroups

2016-01-25 Thread Prabhat Jha
love raj music


On Wednesday, January 20, 2016 at 3:09:02 PM UTC-8, Michael Buetow wrote:
>
> Hello Danial,
>
> We currently have many clients with a large numbers of Product Groups and 
> we were evaluating methods to increase our systems performance while 
> modifying them. One of the most common structures among our clients is for 
> every 1 Ad Group they have only 3 Product Groups within that Ad Group and 
> this is repeated for thousands of Ad Groups. This limit 
>  
> of only being able to modify Product Groups within 2 Ad Groups at a time is 
> extremely restraining when faced with clients that choose to structure 
> their accounts in the previously mentioned layout. Is there any plan to 
> increase this limit or remove it altogether? If not i'd like to request 
> that it be evaluated as a feature request.
>
> Thanks,
> Michael
>
> On Wednesday, December 24, 2014 at 3:18:33 AM UTC-8, Danial Klimkin wrote:
>>
>> Hello Bas,
>>
>>
>> There is no way to avoid this restriction at the moment.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, December 23, 2014 3:05:46 PM UTC+3, Bas Hilbers wrote:
>>>
>>> Hi Josh,
>>>
>>> Thanks for the quick response. Any way of increasing the performance 
>>> during product partitioning?
>>>
>>> Thanks in advance,
>>>
>>> Bas
>>>
>>> On Monday, December 22, 2014 7:58:25 PM UTC+1, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi,

 A given *AdGroupCriterionService.mutate* request can modify at most 2 
 shopping ad groups. See the *Ad groups* section of the Limits guide 
 
 .

 Also, when breaking up operations into batches, you'll want to make 
 sure that the set of operations submitted for each mutate call leaves the 
 partition tree in a valid state 
 
 .

 Cheers,
 Josh, AdWords API Team

 On Monday, December 22, 2014 9:45:58 AM UTC-5, Bas Hilbers wrote:
>
> After reading that the mutatejobservice is not available for shopping 
> (see links below)
>
>
> https://www.google.nl/?gws_rd=cr&ei=ryyYVPC2Bc7HPeiCgUg#q=CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE
> https://developers.google.com/adwords/api/docs/guides/shopping
>
> I instantiated the AdGroupCriterionService and started regular 
> synchronous batching with 400, 250 or even 200 operations, resulting in a 
> AdGroupCriterionError.OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS
>
> The API documentation on 
> https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.AdGroupCriterionError
>  
> does not specifiy a valid operation limit.. any suggestions?
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b85c57b7-bfe9-4764-af74-f97c0966ac71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.