Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-04 Thread Marcel Zemp
The query now runs, but I'm not sure what I'm getting back. According to 
the documentation for SearchGoogleAdsResponse 
,
 
I should get a list of results back. Instead I get

AttributeError: 'GRPCIterator' object has no attribute 'results'

Also the total_results_count & field_mask do not seem to exist:

AttributeError: 'GRPCIterator' object has no attribute 'total_results_count'
AttributeError: 'GRPCIterator' object has no attribute 'field_mask'

For the next_page_token I get the value "None" - the only field I am not 
getting an error.

Not clear what is going wrong. How would I go about to see what I'm getting 
back in this rather opaque SearchGoogleAdsResponse object? It is certainly 
not as transparent as a simple JSON object where I can quickly check what 
I'm getting back.

Also, how does pagination with the Python library work? I could not find 
anything about this in the documentation or the examples so far.

If I try the "Get Keyword Stats 
"
 
example, I get an error in case the ID is of the root manager account (ok - 
understandable) but if I use a client account ID I get:

"User doesn't have permission to access customer.".

But with the old AdWords API I can pull data for this account. So is there 
some additional permission needed? What else could go wrong?

Also the various concepts are not very clear: All over you talk about 
customers, clients and/or accounts - which seem to me like they all are the 
same object. Are you just not very precise here or what is exactly the 
difference? Is this documented somewhere?


On Wednesday, 3 April 2019 22:26:36 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> You can try using the GoogleAdsService 
> 
>  and 
> set the query to the one that I provided earlier. You can find a similar 
> API call here 
> 
> .
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/03/19 12:21:39 marce...@d1-solutions.com  wrote:
>
> Hi Anthony
>
> Thanks for getting back. I've tried the CustomerClientService with Python
>
> service = client.get_service('CustomerClientService')
> query = ('SELECT customer_client.resource_name,'
> 'customer_client.client_customer,'
> 'customer_client.level, customer_client.hidden,'
> 'customer_client.level'
> 'FROM customer_client');
> response = service.search(root_account_id, query=query, page_size=100)
>
> Where root_account_id is the ID of the root level MCC account. But I get
>
> AttributeError: 'CustomerClientServiceClient' object has no attribute 
> 'search'
>
> Is this the right service? If not, what service should be used?
>
> Regards Marcel
>
> On Monday, 1 April 2019 23:24:05 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> To get the account hierarchy via Google Ads API, you could use the 
> customer_client 
>  
> resource. 
> Through which you can get only the resource name, level, Boolean value of 
> hidden status and Client_customer details of the accounts under your 
> manager account. To get these details the OAuth credentials used to make 
> the API call should be of manager account and the ClientCustomerId passing 
> in the header should be of manager account. Below is the sample query for 
> your reference. 
>
> Please note that, you have to iterate through all the customers to get the 
> descriptive_name.
>
> query = ('SELECT customer_client.resource_name,
> customer_client.client_customer,
> customer_client.level, customer_client.hidden,
> customer_client.level
> FROM customer_client');
>
> Please let me know if you have any further questions.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/01/19 10:55:22 marce...@d1-solutions.com wrote:
>
> Hi
>
> We're in the process of migrating from AdWords API to the new Google Ads 
> API. Our Python tool currently loops over all accounts under the 

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-03 Thread Marcel Zemp
Hi Anthony

Thanks for getting back. I've tried the CustomerClientService with Python

service = client.get_service('CustomerClientService')
query = ('SELECT customer_client.resource_name,'
'customer_client.client_customer,'
'customer_client.level, customer_client.hidden,'
'customer_client.level'
'FROM customer_client');
response = service.search(root_account_id, query=query, page_size=100)

Where root_account_id is the ID of the root level MCC account. But I get

AttributeError: 'CustomerClientServiceClient' object has no attribute 
'search'

Is this the right service? If not, what service should be used?

Regards Marcel

On Monday, 1 April 2019 23:24:05 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> To get the account hierarchy via Google Ads API, you could use the 
> customer_client 
>  
> resource. 
> Through which you can get only the resource name, level, Boolean value of 
> hidden status and Client_customer details of the accounts under your 
> manager account. To get these details the OAuth credentials used to make 
> the API call should be of manager account and the ClientCustomerId passing 
> in the header should be of manager account. Below is the sample query for 
> your reference. 
>
> Please note that, you have to iterate through all the customers to get the 
> descriptive_name.
>
> query = ('SELECT customer_client.resource_name,
> customer_client.client_customer,
> customer_client.level, customer_client.hidden,
> customer_client.level
> FROM customer_client');
>
> Please let me know if you have any further questions.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/01/19 10:55:22 marce...@d1-solutions.com  wrote:
>
> Hi
>
> We're in the process of migrating from AdWords API to the new Google Ads 
> API. Our Python tool currently loops over all accounts under the MCC root 
> account and downloads various reports for all accounts on a daily basis.
>
> From what I understand, we also have to place calls for each account again 
> with the Google Ads API. Therefore, we also need to know all accounts under 
> the root level MCC account, but I'm already struggling with this.
>
> In the AdWords API we would do something like this: I would use 
> ManagedCustomerService.get(selector) with an appropriate selector and then 
> loop over the pages (see also here 
> )
>  
> to get all accounts under the root MCC.
>
> How would I do this with the new Google Ads API? The Python examples 
>  do not (yet) show how 
> to do this. Or is there a better way to pull reports over all accounts, 
> which are not managed accounts?
>
> FYI: Credentials & token are working (we're using the same tokens as 
> before for AdWords [see here 
> ]) 
> and I can successfully pull the accessible customers 
> via customer_service.list_accessible_customers().
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads 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 and Google Ads 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/0d7a3c7e-4fc9-47d0-8628-7fca4889dcde%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the 

Migration to Google Ads API - Get list of all accounts under MCC

2019-04-01 Thread Marcel Zemp
Hi

We're in the process of migrating from AdWords API to the new Google Ads 
API. Our Python tool currently loops over all accounts under the MCC root 
account and downloads various reports for all accounts on a daily basis.

>From what I understand, we also have to place calls for each account again 
with the Google Ads API. Therefore, we also need to know all accounts under 
the root level MCC account, but I'm already struggling with this.

In the AdWords API we would do something like this: I would use 
ManagedCustomerService.get(selector) with an appropriate selector and then 
loop over the pages (see also here 
)
 
to get all accounts under the root MCC.

How would I do this with the new Google Ads API? The Python examples 
 do not (yet) show how to 
do this. Or is there a better way to pull reports over all accounts, which 
are not managed accounts?

FYI: Credentials & token are working (we're using the same tokens as before 
for AdWords [see here 
]) 
and I can successfully pull the accessible customers 
via customer_service.list_accessible_customers().

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/0d7a3c7e-4fc9-47d0-8628-7fca4889dcde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Feature Request: New DateRange Types THIS_YEAR & LAST_YEAR

2018-11-09 Thread Marcel Zemp
Hi

It would be very convenient to also have THIS_YEAR & LAST_YEAR as valid 
date range types available. This would be analogue to THIS_MONTH & 
LAST_MONTH.

Thanks for considering!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/2fdb9343-bf13-4f1d-9e51-88618d95c5ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignGroup ID scope of uniqueness

2018-04-24 Thread Marcel Zemp
Hi Vincent

Thanks for your feedback. What is then the reason why you do not 
provide the ExternalCustomerId in the Campaign Group Performance Report? 
Having this field available directly in the report would be much easier and 
convenient than enriching the data in a post-processing step. In other 
reports, the ExternalCustomerId is also available. So I don't see a reason 
why this should not be possible.

Please consider making the ExternalCustomerId available in the Campaign 
Group Performance Report. Thanks!

Ciao Marcel

On Tuesday, 24 April 2018 06:13:33 UTC+2, Vincent Racaza (AdWords API Team) 
wrote:
>
> Hi Marcel,
>
> The CampaignGroupId is only unique at the account level. For the Campaign 
> Group Performance Report 
> 
> , even though the ExternalCustomerId field is not available in this 
> report type, you can always assume that the reporting data is bound to 
> your account which is set in the properties file as you can only generate 
> report on the client account level.
>
> On your end, you can do a post-processing to add an ExternalCustomerid in 
> this report if you want to distinguish it between the same report from 
> other client accounts.
>
> Also, my apologies if the terminologies that I am using confused you. The 
> terms ExternalCustomerId, CustomerId and AccountId are the same, so you can 
> also use it interchangeably, and we can still understand that you mean the 
> same thing.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/9ca08408-4b49-48e2-a44c-256e19c7104d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignGroup ID scope of uniqueness

2018-04-23 Thread Marcel Zemp
Hi Vincent

I was thinking about this again. In the Campaign Group Performance Report 
,
 
the account ID (or ExternalCustomerId in API nomenclature *) is currently 
not available. I would interpret this that the campaign group ID is 
globally unique and not just within an account as you've stated earlier. If 
not, you should quickly make the account ID in that report available as 
well. Else there is no way to distinguish campaign groups between different 
accounts.

Ciao Marcel

* Your nomenclature is quite confusing sometimes: You talk of accounts in 
the GUI (e.g. account ID), in the API it is called ExternalCustomerId and 
the header of the report file says "Customer ID". What is that object 
called now? Account, external customer or customer?

On Monday, 12 March 2018 10:09:39 UTC+1, Vincent Racaza (AdWords API Team) 
wrote:
>
> Hi Marcel,
>
> I am a teammate of Bharani and will provide support to you as she is OOO.
>
> Account ID is globally unique (as any AdWords account with a 
> clientCustomerId is unique) but CampaignGroup ID is only unique at the 
> account level. So when you have the pair (Account ID, CampaignGroup ID), then 
> this pair is also considered globally unique, similar to your Account ID 
> being globally unique.
>
> Thanks,
> Vincent
> 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/3654d857-8e25-4c48-a73e-a7c2af89ada0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Average Position 0.0

2018-03-19 Thread Marcel Zemp
Indeed it looks like an inconsistent handling of the case "not applicable". 
Excerpt from the AdWords forum thread 

:

"For the Shopping case I agree and this is what I assumed as well. But in 
such a situation the report (pulled via API) should return "not 
applicable", i.e. n/a, NULL, or "--" (two dashes 
) 
as for other fields in the report. This is not a proper handling the "not 
applicable" case.

I also see Average Position = 0.0 for Search and Display campaigns. In 
those cases it always seems that the impressions = 0 but clicks > 0. So are 
these "just" data inconsistencies? Having clicks but no impressions and no 
average position in Search does not sound very reasonable to me."

I think 0.0 for average position is just the default value for the case 
"not applicable" for a numeric value on your side. Can you confirm this? 
Because then I can handle it properly again on our side in the database and 
convert the 0.0 values to NULL.

Are there other fields that have such a special "not applicable" case 
handling? Because for string fields it seems the reports always return "--" 
(two dashes) as per documentation 
. 
If this is the case, the documentation should probably expanded in order to 
cover this case as well.

On Friday, 16 March 2018 21:12:51 UTC+1, Dhanya Sundararaju (AdWords API 
Team) wrote:
>
> Hi Marcel,
>
> Thanks for posting in the advertiser community forum. With an answer from 
> the product expert, we will be able to troubleshoot API side better, for 
> this case. Incase you opt to come back to this thread, please reply with 
> your client customer id and report definition. Please let me know if you 
> have further questions.
>
> Regards,
> Dhanya, 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/da4616d4-bd9c-4332-b914-b99647c1df74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Average Position 0.0

2018-03-16 Thread Marcel Zemp
Hi all

I see this in various types of campaigns: Search, Display and Shopping 
(Advertising Channel Type). But the main effect I see for Shopping 
campaigns.

If it would not make sense for a certain type (e.g. Shopping) should the 
API then not rather give back a NULL or "not applicable" value, i.e. "--" 
as it does for other fields?

Though, because it appears in all types of campaigns, it looks to me like a 
data quality issue plus a wrong "not applicable" data handling.

In addition, I've also posted this in the AdWords Forum (see here 

).

Regards Marcel

On Monday, 12 March 2018 20:04:18 UTC+1, Dhanya Sundararaju (AdWords API 
Team) wrote:
>
> Hi all,
>
> The AveragePosition 
> 
>  field 
> gives the ad's position relative to other advertisers. The highest number 
> is 1. Please refer this section 
>  of help center 
> for better clarity. However, if you are getting 0.0 position in your 
> reports via the API as well as via the UI 
> , I 
> would suggest you to post your question in the advertiser community forum 
> 
>  as 
> the product experts there are better equipped to answer product related 
> questions. Else, please reply back with your client customer id and report 
> definition so that I will be able to troubleshoot the discrepancy between 
> UI and API.
>
> Regards,
> Dhanya, 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/b609809b-186f-4373-8549-a5098ac4614e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Average Position 0.0

2018-03-12 Thread Marcel Zemp
What is the correct interpretation of having an average position of 0.0 
even though Impressions > 0? Such records show up in 
an AD_PERFORMANCE_REPORT in my case.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d36ee914-9c88-491a-b427-6071cbb9fed7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignGroup ID scope of uniqueness

2018-03-12 Thread Marcel Zemp
Hi Vincent

Thanks, this makes things clear.

Regards Marcel

On Monday, 12 March 2018 10:09:39 UTC+1, Vincent Racaza (AdWords API Team) 
wrote:
>
> Hi Marcel,
>
> I am a teammate of Bharani and will provide support to you as she is OOO.
>
> Account ID is globally unique (as any AdWords account with a 
> clientCustomerId is unique) but CampaignGroup ID is only unique at the 
> account level. So when you have the pair (Account ID, CampaignGroup ID), then 
> this pair is also considered globally unique, similar to your Account ID 
> being globally unique.
>
> Thanks,
> Vincent
> 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/1858aec2-bc20-433f-acb1-5b103fb7b06a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignGroup ID scope of uniqueness

2018-03-12 Thread Marcel Zemp
Hi Bharani

Now I'm a bit confused. If the pair (Account ID, CampaignGroup ID) "may or 
may not be globally unique" but "the CampaignGroupId is unique at the 
account level", this would imply that the Account ID is not globally 
unique. How could that be? Can you be a bit more precise here?

Thanks for adding and clarifying this in the documentation as soon as 
possible as well. This is very important and should certainly part of a 
good documentation.

Regards Marcel

On Tuesday, 6 March 2018 21:51:10 UTC+1, Bharani Cherukuri (AdWords API 
Team) wrote:
>
> Hi Marcel, 
>
> The (Account ID, CampaignGroup ID) pair may or may not be globally 
> unique. But the CampaignGroupId is unique at the account level. However, I 
> have shared your feedback with the team. Let me know if you have any other 
> questions.
>
> Regards,
> Bharani, AdWords API Team
>
> On Monday, March 5, 2018 at 4:20:26 AM UTC-5, Marcel Zemp wrote:
>>
>> What is the scope of uniqueness of the CampaignGroup ID? Is the scope 
>> also global, i.e. the CampaignGroup ID is globally unique?
>>
>> The documentation here 
>> <https://developers.google.com/adwords/api/docs/guides/objects-methods#object_hierarchy_and_scope>
>>  
>> does unfortunately not specify it. This should probably be updated.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a7bf1658-020f-41f8-a47c-21413d261a20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignGroup ID scope of uniqueness

2018-03-06 Thread Marcel Zemp
Hi Bharani

Thanks for your answer. Just to be clear: you say that the (Account ID, 
CampaignGroup ID) pair is globally unique?

It would be good if you guys can update the documentation accordingly.

Regards Marcel

On Monday, 5 March 2018 19:18:51 UTC+1, Bharani Cherukuri (AdWords API 
Team) wrote:
>
> Hello Marcel, 
>
> Some IDs are unique on a global level across all AdWords accounts while 
> others are unique within the confined scope. CampaignGroupId 
> 
>  is 
> unique to the account and is not globally available. 
>
> Regards,
> Bharani, 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/86caa6af-5499-4869-95aa-d1a10c3fb3d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CampaignGroup ID scope of uniqueness

2018-03-05 Thread Marcel Zemp
What is the scope of uniqueness of the CampaignGroup ID? Is the scope also 
global, i.e. the CampaignGroup ID is globally unique?

The documentation here 

 
does unfortunately not specify it. This should probably be updated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/83006135-98ac-4cb0-aca8-0376ed615ff0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Report data from multiple accounts

2017-12-19 Thread Marcel Zemp
Hi Bharani

Thanks for your input. Parallel download is certainly useful. But this 
still leaves me with 1 file per customer_id which I have to join together 
since I don't wanna deal with dozens or hundreds of files.

Other platforms (e.g. DoubleClick) have the functionality to run reports 
for several accounts in one report out-of-the-box and it would certainly 
come in handy for many of us if AdWords would provide this functionality as 
well.

Anyway, I'll try to use the parallel download for my implementation.

Reagards Marcel

On Monday, 18 December 2017 18:13:05 UTC+1, Bharani Cherukuri (AdWords API 
Team) wrote:
>
> Hello Marcel, 
>
> You could use Parallel report downloading which downloads reports for all 
> accounts that are directly under a manager account. The reports will be 
> downloaded in multiple parallel threads, in a single request. You may refer 
> to this code sample 
> 
>  as 
> a reference.
>
> If you're trying to download reports for specific client accounts, then 
> a given report request can only include data from a single AdWords account. 
> If you need to gather reporting data for multiple accounts, you will have 
> to submit a separate report requests for each account by setting the 
> clientCustomerId header as mentioned here 
> .
>  
> You may refer to this guide 
> 
>  for 
> more information.
>
> Regards, 
> Bharani Cherukuri 
> 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/c71d8835-6a79-436b-9f41-a08ddb07e3a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Report data from multiple accounts

2017-12-18 Thread Marcel Zemp
Hi

Is it still not possible to report data from multiple AdWords accounts at 
once (i.e with one single API call)? I've seen several older posts where it 
is recommended to loop over all account/customer IDs and then join the 
individual reports locally on my machine.

Thanks for your input (before I invest a lot of time constructing such a 
solution).

Regards Marcel

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8b1f91b9-8b6e-443b-9fe1-639655e72857%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.