Authentication without user interaction (NODE.JS)

2017-05-31 Thread Che Siri
Hello, I am new to adwords api and I am not understanding very well the 
authorization process.
I am developing a console app on Node.js.
I want to know if there is a way to authenticate without the need of the 
approval of the user in the web of consent. I understand that this returns 
the "code" to then generate the credentials with the refresh_token.
I need these credentials for the node module I am using but also
I need a login without the interaction of the user or the browser.

Example of implementation:
Let user = new AdwordsUser ({
DeveloperToken: DEVELOPER_TOKEN2, // your adwords developerToken
UserAgent: 'Siri inc', // any company name
ClientCustomerId: CLIENT_CUSTOMER_ID2, // the Adwords Account id 
(e.g. 123-123-123)
Client_id: CLIENT_ID2, // this is the api console client_id
Client_secret: CLIENT_SECRET2,
Refresh_token: tokens.refresh_token, // <=== Here's the problem
Access_token: tokens.access_token // <=== Here is the problem
});


Thank you!

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

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


Re: where is Adwords API in Goole APIS?

2017-06-21 Thread Che Siri
Hi, i have the same problem.
Did you find any solution? 

El viernes, 4 de noviembre de 2016, 0:44:22 (UTC-3), yoonc...@naver.com 
escribió:
>
> Hi 
>
> I don't look for Adwords API in Google APIS
>
>
> 
>
> where is?
>
>
>
> also Explorer I can't find adwords API
>
>
> 
>
>
>
> Is adwords api don't exist  in 
> Explorer and google APIS?
>
> how can I develop Adwords API?
>
> plz 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/fbfc2889-357e-4afb-9d4f-be96b2183d1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: where is Adwords API in Goole APIS?

2017-06-22 Thread Che Siri
I did setting up my development environment.
I created a campaign in my console app in node.js. But a don't see the 
adwords api  in Google Api.
Any idea?

On Thursday, June 22, 2017 at 12:01:18 AM UTC-3, Peter Oliquino wrote:
>
> Hi Che,
>
> Could you confirm if you are initially setting up your development 
> environment using the AdWords API? If yes, then as I mentioned previously, 
> you may follow carefully this guide 
>  to 
> complete your setup. Should you encounter any issues and being that this is 
> already an old thread, could you create a new one and provide the complete 
> details of the issue? We can continue our discussion from there.
>
> Thanks and regards,
> Peter
> 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/bdfdcaf2-07cf-42af-9890-5882675ab3af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Api's Explorer dont show Adwords Api

2017-06-23 Thread Che Siri
Hi, i need test the calls in Api's Explorer but i can't see the adwords api.
I followed the guide to create Oauth token but i still do not see the 
adwords api.

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/d19f3db2-e5bd-49f9-bcad-14f5d53eac11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: where is Adwords API in Goole APIS?

2017-06-23 Thread Che Siri
thanks peter. I followed the guide for generate an Oauth token but still i 
do not see the adwords api in the Api's Explorer. I created a new thread 
here: 
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/adwords-api/uvQyH3s4GdU

El viernes, 23 de junio de 2017, 0:21:25 (UTC-3), Peter Oliquino escribió:
>
> Hi Che,
>
> If what you are trying to do is check the AdWords API in the "Library" 
> tab of the API Manager same as the screenshot sent in the original post in 
> this thread, then there isn't any mention in the AdWords API guide that 
> you need to do so. What you need to make sure when accessing the Google API 
> Console is you create the project and generate OAuth2 credentials as you 
> can see in this guide 
> .
>
> Additionally, if you choose not to use any of the client libraries, then 
> you may refer to this guide 
>  for 
> the call structure required to make successful requests. If you have any 
> further concerns, *please* create a new thread and we'll continue our 
> discussions from there.
>
> Best regards,
> Peter
> 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/c6a16f84-6ccf-4de7-8c86-a0dd1810eb47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


can i create campaign in others accounts?

2017-06-23 Thread Che Siri
Hi, the app that i am developed create campaigns in the clients account. 
I have a MCC accounts and clients in this.
how i can create a camp in other account?

for create a campaing previously  i do "login" with an account.

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/c10b0bdc-e221-4165-abdc-c964f3b1c92e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Batch Job (format xml Request body)

2017-09-07 Thread Che Siri
Hi, i am developing my app in node.js and  making the request to the 
services.
I can create a Batch Job service and get the uploadUrl. But i don´t know 
how to send the  xml body to the request  because i dont know the format of 
this xml.
I need send the Request body from my array of operations.

thanks! 

[image: Uploading the Operations (Cont.) ● The next step is to send 
operations to the uploadUrl ● uploadUrl is valid for one week ...][image: 
Uploading the Operations (Cont.) ● All libraries have utilities to help 
building the request! ● BatchJobHelper for Java cl...][image: Polling the 
Job Status ● After uploading operations, the BatchJob status will move to 
ACTIVE. AWAITING_FILE ACTIVE CANCELE...][image: Polling the Job Status 
(Cont.) ● Check the job status int pollAttempts = 0; boolean isPending = 
true; Selector selector = ...][image: Polling the Job Status (Cont.) ● Poll 
for completion of the batch job with an exponential back off ● Check the 
job's statu...][image: Downloading Results ● At this stage the job status 
can be DONE or CANCELED ● Let's check out the details...][image: 
Downloading Results - DONE ● Status: DONE ● Description: BatchJobService 
successfully parsed and attempted each of the upl...][image: Downloading 
Results - CANCELED ● Status: CANCELED ● Description: An unexpected error 
occurred, or BatchJobService could no...][image: Downloading Results - 
CANCELED ● Some operations may still have been attempted ● Always check the 
downloadUrl for the resu...][image: Downloading Results (Cont.) ● 
downloadUrl returns mutateResults ● There is another utility to help! if 
(batchJob.getDownlo...][image: Downloading Results (Cont.) ● A mutateResult 
will have either a result or an errorList, but not both ○ result - The 
result...][image: Errors BatchJob.processingErrors (per job) ● Errors 
encountered while parsing uploaded operations - FILE_FORMAT_ERROR ● 
Un...][image: 
Temporary IDs][image: Temporary IDs ● Did you ever want to create a 
complete campaign in a single batch job? ● New feature introduced with 
Batch...][image: Common Use Case Create a Campaign in a single BatchJob: 
Campaign ● id = -1 AdGroup ● id = -2 ● campaignId = -1 CampaignLab...][image: 
Important Notes ● The order of operations is very important! ● Keep this in 
mind when using temp IDs ● Create the parent o...][image: Incremental 
Uploads][image: Introduction ● Allows multiple operation upload requests to 
the same BatchJob ● Job will start after last set of operation...][image: 
Incremental Upload Use Cases ● You build your BatchJob operations in phases 
or separate processes, so sending all operatio...][image: Range of bytes in 
the request, followed by total bytes. Total bytes will be * for the first 
and intermediate requests. The...][image: More on the Request Body... ● 
BatchJobService will concatenate all the requests ● You just need to send 
the first and last...][image: More on the Request Body (Cont.) ● All 
requests will be parsed as a single document ● The concatenation of all 
requests ha...][image: Request 1 Content-Range: 0-262143/*  https://adwords.google.c...][image: Request 3 Content-Range: 
524288-524304/524305 rations> ● Content length without padding of 
17 bytes, where the cl...][image: Request 2 Content-Range: 262144-524287/* 
ions>  https://goo.gl/J35rCm ● Client libraries ○ https://goo.gl/Ck7qK4 ● 
BatchJobOps...]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c1af8323-794b-4b59-926e-3de2e6ef18e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can i create campaign in others accounts?

2017-10-20 Thread Che Siri
I will set an example to develop my question.
I have an account that handles other accounts.
When I started my application I was authenticated with my main account. When 
I create (for example) a campaign I do it like this:
  CampaignService campaignService = (CampaignService) user.GetService (
AdWordsService.v201708.CampaignService);
The "user" object is the one in charge to tell which account I will create 
my campaign.
How do I tell the CampaignService to create a campaign in another account 
associated with mine?

Thank you very much.

El lunes, 26 de junio de 2017, 14:21:27 (UTC-3), Sreelakshmi Sasidharan 
(AdWords API Team) escribió:
>
> Hi, 
>
> To create a campaign via the API, you can use the CampaignService 
> .
>  
> Pleas check this 
> 
>  sample 
> to understand how to do that in Java. Samples in other languages can also 
> be found here 
> . To 
> access a specific client account via the API, the request should be 
> authenticated by a user who has access to that client account (user on that 
> client account or user on the linked manager account). If you are looking 
> for instructions to add a user to an account, please check this 
>  document. 
>
> If your question was different, could you please elaborate?
>
> Thanks,
> Sreelakshmi, 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/bf086d9e-b5d6-4587-a66f-fb375bd941e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Set startTime in campaign creation.

2017-11-14 Thread Che Siri
hi, i need set the startTime and endTime in the creation of campaign just 
like the startDate and endDate.

any suggestion? 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/19ea22c7-4b53-4277-9e41-b3a90601c3a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Download heavy reports

2017-12-12 Thread Che Siri
hi, i need the way to get an heavy report for download and put in a csv 
file.
My implementation is in .net (c#). I am using 
Google.Apis.Analytics.v3.AnalyticsService
any suggestion?
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/cebdb35f--4603-8526-a3b6e0a5fb09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.