Re: Getting campaigns for ALL clients

2010-09-24 Thread AdWords API Advisor
Hi Dave,

You can retrieve the child accounts using AccountService, see
http://code.google.com/apis/adwords/docs/developer/AccountService.html
for details. Also, could you post a requestId for an API call that
returned the random campaign id? I could look up the logs and
investigate for further details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 23, 1:53 am, Dave  wrote:
> Hi Anash,
>
> Thanks for helping clear this up for me. Do you have any idea why I
> still receive 1 random campaign when querying the CampaignService with
> no clientEmail specified?
>
> Also, is there any API service which allows you to query for a list of
> client accounts? This would make it much more scaleable rather then
> having to read the list from a configuration file or something.
>
> Thanks again for your time,
>
> Dave Roda
>
> On Sep 22, 5:10 am, AdWords API Advisor 
> wrote:
>
>
>
> > Hi Dave,
>
> > When making calls to AdWords API, you generally have to make calls
> > against one account at a time. But since you are trying to retrieve
> > stats alone, you could try the ReportService instead. You can generate
> > a report with crossClient = true to pull the stats for all the client
> > accounts in a single call. See the following links for more details:
>
> >http://code.google.com/apis/adwords/docs/developer/ReportService.html..
>
> > Let me know if you have more questions.
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.
>
> > On Sep 22, 4:57 pm, Dave  wrote:
>
> > > Can anyone shed any light on this issue? I could really use some help.
>
> > > To simplify it a bit, the question I really need answered is, can you
> > > make requests against the Campaign and AdGroupAd services for ALL
> > > client accounts, or is it necessary to do each one individually.
>
> > > On Sep 21, 8:25 am, "adwords.d...@4walls.us" 
> > > wrote:
>
> > > > Hi Everyone,
>
> > > > I am using the latest PHP api code.
>
> > > > In our MCC we have around 10 accounts linked together, with various
> > > > campaigns and ad groups.
>
> > > > I am trying to get stats for ALL of them. I am able to login to the MCC
> > > > with my developer account and view all of the various clients and
> > > > campaigns view the web interface. But when I make an API call to list
> > > > all campaigns with only my developer account (not specifying a clientId
> > > > or clientEmail because there are multiple), I am only receiving 1
> > > > campaign, from 1 account, and 2 ads.
>
> > > > If I place one of the account owners emails in the clientId line of
> > > > auth.ini, I am able to get a full list of their campaigns.
>
> > > > My basic question is, is it possible to get campaign and adgroupad data
> > > > from all of the connected accounts instead of doing 1 client email at a
> > > > time? I can't find any service described which lists the current
> > > > clients either which makes me think that I should be able to get all of
> > > > the stats by purposefully NOT specifying a clientId.
>
> > > > Thanks for any help!
>
> > > > Dave Roda

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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


Re: Getting campaigns for ALL clients

2010-09-22 Thread Dave
Hi Anash,

Thanks for helping clear this up for me. Do you have any idea why I
still receive 1 random campaign when querying the CampaignService with
no clientEmail specified?

Also, is there any API service which allows you to query for a list of
client accounts? This would make it much more scaleable rather then
having to read the list from a configuration file or something.

Thanks again for your time,

Dave Roda

On Sep 22, 5:10 am, AdWords API Advisor 
wrote:
> Hi Dave,
>
> When making calls to AdWords API, you generally have to make calls
> against one account at a time. But since you are trying to retrieve
> stats alone, you could try the ReportService instead. You can generate
> a report with crossClient = true to pull the stats for all the client
> accounts in a single call. See the following links for more details:
>
> http://code.google.com/apis/adwords/docs/developer/ReportService.html...http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.h...http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.h...http://code.google.com/apis/adwords/docs/developer/adwords_api_report...
>
> Let me know if you have more questions.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Sep 22, 4:57 pm, Dave  wrote:
>
> > Can anyone shed any light on this issue? I could really use some help.
>
> > To simplify it a bit, the question I really need answered is, can you
> > make requests against the Campaign and AdGroupAd services for ALL
> > client accounts, or is it necessary to do each one individually.
>
> > On Sep 21, 8:25 am, "adwords.d...@4walls.us" 
> > wrote:
>
> > > Hi Everyone,
>
> > > I am using the latest PHP api code.
>
> > > In our MCC we have around 10 accounts linked together, with various
> > > campaigns and ad groups.
>
> > > I am trying to get stats for ALL of them. I am able to login to the MCC
> > > with my developer account and view all of the various clients and
> > > campaigns view the web interface. But when I make an API call to list
> > > all campaigns with only my developer account (not specifying a clientId
> > > or clientEmail because there are multiple), I am only receiving 1
> > > campaign, from 1 account, and 2 ads.
>
> > > If I place one of the account owners emails in the clientId line of
> > > auth.ini, I am able to get a full list of their campaigns.
>
> > > My basic question is, is it possible to get campaign and adgroupad data
> > > from all of the connected accounts instead of doing 1 client email at a
> > > time? I can't find any service described which lists the current
> > > clients either which makes me think that I should be able to get all of
> > > the stats by purposefully NOT specifying a clientId.
>
> > > Thanks for any help!
>
> > > Dave Roda

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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


Re: Getting campaigns for ALL clients

2010-09-22 Thread AdWords API Advisor
Hi Dave,

When making calls to AdWords API, you generally have to make calls
against one account at a time. But since you are trying to retrieve
stats alone, you could try the ReportService instead. You can generate
a report with crossClient = true to pull the stats for all the client
accounts in a single call. See the following links for more details:

http://code.google.com/apis/adwords/docs/developer/ReportService.html#scheduleReportJob
http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.html#crossClient
http://code.google.com/apis/adwords/docs/developer/DefinedReportJob.html#clientEmails
http://code.google.com/apis/adwords/docs/developer/adwords_api_reports.html

Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 22, 4:57 pm, Dave  wrote:
> Can anyone shed any light on this issue? I could really use some help.
>
> To simplify it a bit, the question I really need answered is, can you
> make requests against the Campaign and AdGroupAd services for ALL
> client accounts, or is it necessary to do each one individually.
>
> On Sep 21, 8:25 am, "adwords.d...@4walls.us" 
> wrote:
>
>
>
> > Hi Everyone,
>
> > I am using the latest PHP api code.
>
> > In our MCC we have around 10 accounts linked together, with various
> > campaigns and ad groups.
>
> > I am trying to get stats for ALL of them. I am able to login to the MCC
> > with my developer account and view all of the various clients and
> > campaigns view the web interface. But when I make an API call to list
> > all campaigns with only my developer account (not specifying a clientId
> > or clientEmail because there are multiple), I am only receiving 1
> > campaign, from 1 account, and 2 ads.
>
> > If I place one of the account owners emails in the clientId line of
> > auth.ini, I am able to get a full list of their campaigns.
>
> > My basic question is, is it possible to get campaign and adgroupad data
> > from all of the connected accounts instead of doing 1 client email at a
> > time? I can't find any service described which lists the current
> > clients either which makes me think that I should be able to get all of
> > the stats by purposefully NOT specifying a clientId.
>
> > Thanks for any help!
>
> > Dave Roda

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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


Re: Getting campaigns for ALL clients

2010-09-22 Thread Dave
Can anyone shed any light on this issue? I could really use some help.

To simplify it a bit, the question I really need answered is, can you
make requests against the Campaign and AdGroupAd services for ALL
client accounts, or is it necessary to do each one individually.

On Sep 21, 8:25 am, "adwords.d...@4walls.us" 
wrote:
> Hi Everyone,
>
> I am using the latest PHP api code.
>
> In our MCC we have around 10 accounts linked together, with various
> campaigns and ad groups.
>
> I am trying to get stats for ALL of them. I am able to login to the MCC
> with my developer account and view all of the various clients and
> campaigns view the web interface. But when I make an API call to list
> all campaigns with only my developer account (not specifying a clientId
> or clientEmail because there are multiple), I am only receiving 1
> campaign, from 1 account, and 2 ads.
>
> If I place one of the account owners emails in the clientId line of
> auth.ini, I am able to get a full list of their campaigns.
>
> My basic question is, is it possible to get campaign and adgroupad data
> from all of the connected accounts instead of doing 1 client email at a
> time? I can't find any service described which lists the current
> clients either which makes me think that I should be able to get all of
> the stats by purposefully NOT specifying a clientId.
>
> Thanks for any help!
>
> Dave Roda

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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


Getting campaigns for ALL clients

2010-09-21 Thread adwords.d...@4walls.us
Hi Everyone,


I am using the latest PHP api code.


In our MCC we have around 10 accounts linked together, with various
campaigns and ad groups.


I am trying to get stats for ALL of them. I am able to login to the MCC
with my developer account and view all of the various clients and
campaigns view the web interface. But when I make an API call to list
all campaigns with only my developer account (not specifying a clientId
or clientEmail because there are multiple), I am only receiving 1
campaign, from 1 account, and 2 ads.


If I place one of the account owners emails in the clientId line of
auth.ini, I am able to get a full list of their campaigns.


My basic question is, is it possible to get campaign and adgroupad data
from all of the connected accounts instead of doing 1 client email at a
time? I can't find any service described which lists the current
clients either which makes me think that I should be able to get all of
the stats by purposefully NOT specifying a clientId.


Thanks for any help!

Dave Roda

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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