Re: Is it possible to download bulk of data?

2014-06-10 Thread miho . maeyama
Thank Josh for very clear answer. I will try with CustomerSyncService 

 
to see if it helps increasing speeds.

Hong 

On Monday, June 9, 2014 11:47:26 PM UTC+7, Josh Radcliff (AdWords API Team) 
wrote:
>
> Hi Hong,
>
> It depends on your use case. If you are simply trying to sync IDs of your 
> campaigns, ad groups, ads, etc. to your local database, then you can just 
> use reports. If instead you need every attribute of every object within all 
> of your campaigns, then reports alone won't help. However, you may still be 
> able to use reports to get the set of IDs you want to process later using 
> the API, e.g.,
>
> 1. Use CAMPAIGN_PERFORMANCE_REPORT 
>  
> to get all of the campaign IDs in your account.
> 2. Use CampaignService.get 
> 
>  
> to batch together requests for sets of campaign IDs into manageable request 
> and response sizes.
>
> Another option is to use CustomerSyncService 
> 
>  to 
> detect which campaigns, ad groups, feeds or criteria changed since your 
> last full sync, and only fetch the details of those objects through the API.
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, June 9, 2014 3:06:25 AM UTC-4, miho.m...@gmail.com wrote:
>>
>> Hi Josh,
>>
>> According to Structure Reports Guide, we can make use of report service 
>> to get basic data (attributes) of campaign/group/keywords/ad without 
>> performance data quickly. 
>> But then we have to use normal API service to get other detail data. So, 
>> in comparison with using API service to get all data of campaigns, then 
>> from get all data of groups behind all campaigns,.. (without using report 
>> service), how does this way improve processing speed? 
>>
>> Thanks
>> Hong
>>
>>
>> On Saturday, June 7, 2014 2:29:30 AM UTC+7, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi Hong,
>>>
>>> The fastest and most streamlined way to do this is to use reporting as 
>>> described in the Structure Reports Guide 
>>> 
>>> .
>>>
>>> If you decide to still use the SOAP services, keep in mind that you are 
>>> not limited to pulling data one campaign or one ad group at a time. For 
>>> example, when pulling ad groups from the AdGroupService 
>>> ,
>>>  
>>> you can create a predicate that uses the *IN *operator to select ad 
>>> groups for multiple campaign IDs at once.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Friday, June 6, 2014 5:37:57 AM UTC-4, miho.m...@gmail.com wrote:

 Hi All,

 Is there a way to download bulk data (e.g get multiple campaigns, 
 groups, keywords, ads at once?) with Google API? 
 Currently, we have download campaigns first, then for each campaigns, 
 we download its groups, then for each groups we download its 
 keywords,...Do 
 in this sequentially is quite slow in case we need to download alot of 
 campaigns.  

 Thanks
 Hong

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Is it possible to download bulk of data?

2014-06-09 Thread miho . maeyama
Hi Josh,

According to Structure Reports Guide, we can make use of report service to 
get basic data (attributes) of campaign/group/keywords/ad without 
performance data quickly. 
But then we have to use normal API service to get other detail data. So, in 
comparison with using API service to get all data of campaigns, then from 
get all data of groups behind all campaigns,.. (without using report 
service), how does this way improve processing speed? 

Thanks
Hong


On Saturday, June 7, 2014 2:29:30 AM UTC+7, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Hong,
>
> The fastest and most streamlined way to do this is to use reporting as 
> described in the Structure Reports Guide 
> .
>
> If you decide to still use the SOAP services, keep in mind that you are 
> not limited to pulling data one campaign or one ad group at a time. For 
> example, when pulling ad groups from the AdGroupService 
> ,
>  
> you can create a predicate that uses the *IN *operator to select ad 
> groups for multiple campaign IDs at once.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, June 6, 2014 5:37:57 AM UTC-4, miho.m...@gmail.com wrote:
>>
>> Hi All,
>>
>> Is there a way to download bulk data (e.g get multiple campaigns, groups, 
>> keywords, ads at once?) with Google API? 
>> Currently, we have download campaigns first, then for each campaigns, we 
>> download its groups, then for each groups we download its keywords,...Do in 
>> this sequentially is quite slow in case we need to download alot of 
>> campaigns.  
>>
>> Thanks
>> Hong
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Is it possible to download bulk of data?

2014-06-06 Thread miho . maeyama
Hi All,

Is there a way to download bulk data (e.g get multiple campaigns, groups, 
keywords, ads at once?) with Google API? 
Currently, we have download campaigns first, then for each campaigns, we 
download its groups, then for each groups we download its keywords,...Do in 
this sequentially is quite slow in case we need to download alot of 
campaigns.  

Thanks
Hong

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


In a weird situation when authenticate by OAuth2

2013-11-23 Thread miho . maeyama
I have 2 AdWords account: A and B.
1. I created an application in *account A*, and i got ClientID and 
ClientSecret.
2. I got the the AuthorizeUrl and i used it to go to the consent screen.
3. At the consent screen, i used email and password of *account B* to login.
4. The consent screen displayed and i can click "Accept" button to redirect 
back to my website and i got the authorize code.
5. I used the authorize code to get the RefreshToken and AccessToken. I can 
use them to access data (AdWrods) of *account B*.

I have a question that: Is that normal in *step 3* above? I can use *account 
B* for the application of *account A*?

Thanks and regards,
Miho Maeyama

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


Validating Client ID, Client Secret of a google OAuth2 Web Application

2013-11-11 Thread miho . maeyama
I have a requirement where I need the verify if the client ID, client 
Secret of an OAuth app registered with Google is valid (that is if such ID 
and secret are valid or not)before the info is put into the DB.I went 
through a lot of Google documentation but have not been able to find 
anything on this subject. Basically I need a way to be able to authenticate 
if the entered client ID and client secret are valid or not?

Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.