Re: How can I get account status?

2018-10-17 Thread tom . wagstaff
Thanks Luis,

That's a shame. What about the ManagedCustomerService? When I query my 
accounts through e.g. your account hierarchy script (
https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/account_management/get_account_hierarchy.py)
 
it seems that all inactive accounts are left out. Could that be a way of 
discovering this, or is it only excluding accounts in certain circumstances?

Cheers,
Tom

On Tuesday, 16 October 2018 23:52:09 UTC+1, Luis Xander Talag (AdWords API 
Team) wrote:
>
> Hi Tom,
>
> Unfortunately, there is no available service in AdWords API that could 
> retrieve the status of your account. Currently, your account status could 
> only be seen through your Google Ads UI. If you tried to create a request 
> against an inactive account, you would get the CUSTOMER_NOT_ACTIVE error.
>
> Thanks and regards,
> Luis
> AdWords API Team
>
> On Wednesday, October 17, 2018 at 1:26:44 AM UTC+8, tom.wagstaff wrote:
>>
>> Further to my own question: how does the Keywords Performance Report 
>> treat suspended accounts?
>>
>> In my experience it sometimes throws a CUSTOMER_NOT_ACTIVE error - but 
>> sometimes accepts the query - and comes back reporting 0 impressions etc. 
>> for all campaigns/ad groups/keywords...
>>
>> On Tuesday, 16 October 2018 18:23:24 UTC+1, tom.wa...@raisingit.com 
>> wrote:
>>>
>>> Hi everyone,
>>>
>>> I want to get account status from the API i.e. is it active, or has it 
>>> been suspended, cancelled etc.
>>>
>>> It seems that CustomerService or ManagedCustomerService only return 
>>> active accounts - can anyone confirm if that's the case?
>>>
>>> Cheers,
>>> Tom
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3ec5e9e4-72fe-4019-9c6f-5ab4c54f338b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get paused campaigns (php lib)

2018-10-17 Thread matthieu
Hi Luis,

Do you happen to have a status on the issue? 
We've tried the following today, all with the same 0 results response;

- Trying different accounts with different tokens, both test and 
production, same results.
- Using a plain SOAP request (outside of the SKD).
- Tried the last 3 versions of the API

Op donderdag 4 oktober 2018 19:53:32 UTC+2 schreef Luis Xander Talag 
(AdWords API Team):
>
> Hi Matthieu,
>
> To further investigate this, could you provide the complete SOAP request 
> and response logs when you encountered the issue? Please reply via *Reply 
> privately to author*.
>
> Thanks and regards,
> Luis
> AdWords API Team
>
> On Friday, October 5, 2018 at 12:02:05 AM UTC+8, matthieu wrote:
>>
>> Hi,
>>
>> I'm trying to get PAUSED campaigns using the php lib.
>> Using the example provided in v201809/BasicOperations/GetCampaigns.php I 
>> get 'Number of results found: 0'
>>
>> Even when trying to add a predicate to the selector, targeting PAUSED 
>> status, nothing happens.
>>
>> Any help would be much appreciated!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/073fbf64-5606-4123-b0a2-505e42daa402%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdGroupCriterionService returns different results using the same selector

2018-10-17 Thread wesley
To whom it may concern:

As of October 16, 2018 at around 18.00, we've been experiencing some issues 
when using the python API. I have spent today looking into the issue, but I 
found something strange. I made a small example so that I could share the 
problem with you.

I have the following code:

service = client.GetService('AdGroupCriterionService', version='v201809')

adgroup_adwords_id = 41434232302

selector = {
'fields': [
'Id',
'CpcBid',
'BaseAdGroupId',
'CriteriaType',
'PartitionType',
'CaseValue'
],
'predicates': [
{
'field': 'AdGroupId',
'operator': 'IN',
'values': [adgroup_adwords_id]
},
{
'field': 'CriteriaType',
'operator': 'EQUALS',
'values': 'PRODUCT_PARTITION'
},
{
'field': 'Status',
'operator': 'NOT_EQUALS',
'values': 'REMOVED'
}
]
}

result = service.get(selector)



I am trying to query Google Ads to find all the Adgroup Criterions for a 
Shopping Campaign. When I run the above code, it results in different 
responses when I call it multiple times, i.e.

# First run
{
'adgroup_id': 41434232302,
'criterion_use': 'BIDDABLE',
'criterion': {
'id': 318749511508,
'type': 'PRODUCT_PARTITION',
'Criterion.Type': 'ProductPartition',
'partitionType': 'UNIT',
'parentCriterionId': 293946777986,
'caseValue': {
'ProductDimension.Type': 'ProductOfferId',
'value': 'fbeni618004'
}
}
}

# A later run
{
'adgroup_id': 41434232302,
'criterion_use': 'BIDDABLE',
'criterion': {
'id': 318749511508,
'type': 'PRODUCT_PARTITION',
'Criterion.Type': 'ProductPartition',
'partitionType': 'UNIT',
'parentCriterionId': None,
'caseValue': {
'ProductDimension.Type': 'ProductOfferId',
'value': 'fbeni618004'
}
}
}



The `parentCriterionId` changes from a value to a `None`. On Google Ads, 
nothing has changed about this criterion:





Could you share some insight into what is going on? We've been running this 
code for quite some time, so we were a bit surprised when we all of a 
sudden got errors for this.

We are using `v201809` of the API and version 14.1.0 of the `googleads` 
Python library

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a06b0c15-7fa5-47e2-ae24-d4cd8ce3639f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using Conversion Type Name for filtering Conversion data

2018-10-17 Thread Joao Vitor Lopes Rocha
Yeah, sorry, I posted in the wrong forum

On Wednesday, October 17, 2018 at 3:25:58 AM UTC-3, Dannison Yao (AdWords 
API Team) wrote:
>
> Hi Joao,
>
> To clarify, I've seen you post this same issue in the AdWords Scripts 
> forum 
> 
>  and 
> you are already in contact with their team. Since our team specializes in 
> AdWords API related issues and concerns, you may refer to the thread you 
> posted in the AdWords Scripts forum 
> 
> .
>
> Best regards,
> Dannison
> AdWords API Team
>
> On Wednesday, October 17, 2018 at 7:40:47 AM UTC+8, Joao Vitor Lopes Rocha 
> wrote:
>>
>> I'm trying to write a script to optimize bids for keywords that have no 
>> conversions. The thing is, in my account, we have a lot of different 
>> conversions that are not included in Conversions, but appear in All 
>> Conversion's reports.
>> Part of my code use this filter below:
>>
>> return AdWordsApp.keywords()
>>   .withCondition('Conversions < 1')
>>
>> But, this 'Conversions' pulls the data from All Conversions, not only the 
>> ones included in Conversions for Adwords reports. I'd like to know how to 
>> write the code to filter just some conversions...
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6875cab6-80e1-457f-9125-f53b5444392e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerService.getCustomers returns AuthorizationError.CUSTOMER_NOT_ACTIVE

2018-10-17 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi David,

Glad that you were able to figure out the problem. Let us know if you need 
any further assistance.

Regards,
Dhanya, 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/b74bb0e1-b0da-4352-a2ef-50b62786e8aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Update a campaign to exclude mobile apps and mobile interstitials

2018-10-17 Thread PPC Developer
Hi Luis,

Thanks for the reply. I think Google team should be aware of the impact of 
deprecating the "adsenseformobileapps.com" placement exclusion technique. 
This cost us a lot of money, and now we're faced with a massive manual 
labor of upating thousands of our Display Network campaigns. 

Here's what happened: In September 2018, Google announced that using the 
string "adsenseformobileapps.com" within Campaign or AdGroup Placement 
Exclusion list is deprecated. We have been using this technique to have 
campaigns that only target websites. The new way to exclude all mobile app 
targeting is now done using Campaign Settings->Device targeting details. 
Unfortunately, Google did not migrate such campaigns using the 
"adsenseformobileapps.com" technique, to the new campaign settings. If a 
Display campaign has "adsenseformobileapps.com" in the placement exclusion 
list, the advertiser clearly made a configuration to not run ads on the 
mobile apps. So point number one : These campaigns must have been migrated 
to the new campaign settings. 

What happend next? we suddenly had a huge spike in our Display Network 
account spending because our campaigns started spending money on mobile app 
placements (something we never opted in for, and deliberately excluded 
them). We caught this change as part of monitoring the spending and cost 
metrics.

Google not only failed to migrate such campaigns but also did not give us a 
way to update our campaigns via the API (As you're saying below). This 
means we have to manually update thousands of campaigns to re-exclude 
mobile app placements. 

I believe this has not been thought out well by Google. AdWords is pretty 
complex, and sometimes one little change might have huge financial and 
opearational implications on advertisers. I believe there are many more 
advertisers out there who will be caught by surprise when they catch the 
spending levels of their Display Network campaigns go up due to mobile app 
placements. I think you guys should look into this issue, I'm pretty sure 
we're not the only victims here.  

I suggest Google does : 1) Either migrate previous campaigns with 
"adsenseformobileapps.com" in placement exclusions to the new campaign 
settings from your side or 2) provide API access ASAP so we can manage our 
accounts properly.

Thanks,
D.



On Tuesday, October 16, 2018 at 11:38:49 PM UTC, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi,
>
> Unfortunately, you can not exclude a device platform 
> 
>  in 
> your criteria based on this guide 
>  as 
> platform criterion is for positive targeting 
> 
>  only.
>
> Best regards,
> Luis
> AdWords API Team
>
> On Wednesday, October 17, 2018 at 5:07:18 AM UTC+8, PPC Developer wrote:
>>
>> Hi,
>>
>> It seems that the previous method of excluding mobile apps using the 
>> string "adsenseformobileapps.com" has been deprecated. The new way to 
>> exclude a campaign from running ads on mobile apps is to use Device 
>> targeting. However, how can this be done via the API? 
>>
>> Mobile Device targeting type has a Criterion.Type field, which doesn't 
>> have "mobile interstitial" to exclude. 
>>
>> https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.MobileDevice
>>
>> Essentially, I'd like to create a campaign configuration as in the 
>> attached screenshot : Exclude mobile apps, tablet apps, mobile 
>> interstitials and tablet interstitials. How do I do that via the API?
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ed673bd7-2100-4e25-ba20-38593b64546a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get account status?

2018-10-17 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Tom,

Yes, you are correct. As stated in this blog post 
,
 
inactive accounts will no longer be returned when you used the 
ManagedCustomerService.get() method. This being said, you could only 
retrieved those active accounts.

Regards,
Luis
AdWords API Team

On Wednesday, October 17, 2018 at 6:34:05 PM UTC+8, tom.wagstaff wrote:
>
> Thanks Luis,
>
> That's a shame. What about the ManagedCustomerService? When I query my 
> accounts through e.g. your account hierarchy script (
> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/account_management/get_account_hierarchy.py)
>  
> it seems that all inactive accounts are left out. Could that be a way of 
> discovering this, or is it only excluding accounts in certain circumstances?
>
> Cheers,
> Tom
>
> On Tuesday, 16 October 2018 23:52:09 UTC+1, Luis Xander Talag (AdWords API 
> Team) wrote:
>>
>> Hi Tom,
>>
>> Unfortunately, there is no available service in AdWords API that could 
>> retrieve the status of your account. Currently, your account status could 
>> only be seen through your Google Ads UI. If you tried to create a request 
>> against an inactive account, you would get the CUSTOMER_NOT_ACTIVE error.
>>
>> Thanks and regards,
>> Luis
>> AdWords API Team
>>
>> On Wednesday, October 17, 2018 at 1:26:44 AM UTC+8, tom.wagstaff wrote:
>>>
>>> Further to my own question: how does the Keywords Performance Report 
>>> treat suspended accounts?
>>>
>>> In my experience it sometimes throws a CUSTOMER_NOT_ACTIVE error - but 
>>> sometimes accepts the query - and comes back reporting 0 impressions etc. 
>>> for all campaigns/ad groups/keywords...
>>>
>>> On Tuesday, 16 October 2018 18:23:24 UTC+1, tom.wa...@raisingit.com 
>>> wrote:

 Hi everyone,

 I want to get account status from the API i.e. is it active, or has it 
 been suspended, cancelled etc.

 It seems that CustomerService or ManagedCustomerService only return 
 active accounts - can anyone confirm if that's the case?

 Cheers,
 Tom

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/47e5442d-6cab-4b74-9e05-e021f1822aa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error when using script to Export Google Ads Reports into BigQuery - Manager Account

2018-10-17 Thread serpscomlocalsearch
I am trying to use this script to export just my report data to Google Big 
Query.

I am getting the error below...

"Invalid field name "Customer ID". Fields must contain only letters, 
numbers, and underscores, start with a letter or underscore, and be at most 
128 characters long. (file Code.gs, line 273)"

I assume I need to remove the space in the Column named "Customer ID" in my 
report, but cannot seem to do this?

Any suggestion would be appreciated.

Cheers
John Broomfield
localsearch.com.au

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9f600c3b-48f8-4b7b-ab1f-4ff17a80c019%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Are certain keyword seeds for TargetingIdeaService forbidden?

2018-10-17 Thread Joshua Kozlowski
I have a client trying to use the TargetingIdeaService to generate entries 
for keywords related to criminal defense attorneys. Seed keywords like 
"violence" return an error with an empty message.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0e7c2396-06c2-4fa1-8cc7-73ff1c1fad78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get account status?

2018-10-17 Thread tom . wagstaff
Thanks Luis,

That's reassuring. Just to confirm: is it only accounts inactive in the 
circumstances described in the blog i.e. no spend for 15 months that would 
not be returned, or is it the case that ManagedCustomerService will only 
return active accounts? So any account that's inactive whether that's 
because it has been cancelled, suspended etc. will be excluded from 
ManagedCustomerService. It sounds like that's the case, and that's ideal!

Cheers,
Tom

On Wednesday, 17 October 2018 16:58:13 UTC+1, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Tom,
>
> Yes, you are correct. As stated in this blog post 
> ,
>  
> inactive accounts will no longer be returned when you used the 
> ManagedCustomerService.get() method. This being said, you could only 
> retrieved those active accounts.
>
> Regards,
> Luis
> AdWords API Team
>
> On Wednesday, October 17, 2018 at 6:34:05 PM UTC+8, tom.wagstaff wrote:
>>
>> Thanks Luis,
>>
>> That's a shame. What about the ManagedCustomerService? When I query my 
>> accounts through e.g. your account hierarchy script (
>> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/account_management/get_account_hierarchy.py)
>>  
>> it seems that all inactive accounts are left out. Could that be a way of 
>> discovering this, or is it only excluding accounts in certain circumstances?
>>
>> Cheers,
>> Tom
>>
>> On Tuesday, 16 October 2018 23:52:09 UTC+1, Luis Xander Talag (AdWords 
>> API Team) wrote:
>>>
>>> Hi Tom,
>>>
>>> Unfortunately, there is no available service in AdWords API that could 
>>> retrieve the status of your account. Currently, your account status could 
>>> only be seen through your Google Ads UI. If you tried to create a request 
>>> against an inactive account, you would get the CUSTOMER_NOT_ACTIVE error.
>>>
>>> Thanks and regards,
>>> Luis
>>> AdWords API Team
>>>
>>> On Wednesday, October 17, 2018 at 1:26:44 AM UTC+8, tom.wagstaff wrote:

 Further to my own question: how does the Keywords Performance Report 
 treat suspended accounts?

 In my experience it sometimes throws a CUSTOMER_NOT_ACTIVE error - but 
 sometimes accepts the query - and comes back reporting 0 impressions etc. 
 for all campaigns/ad groups/keywords...

 On Tuesday, 16 October 2018 18:23:24 UTC+1, tom.wa...@raisingit.com 
 wrote:
>
> Hi everyone,
>
> I want to get account status from the API i.e. is it active, or has it 
> been suspended, cancelled etc.
>
> It seems that CustomerService or ManagedCustomerService only return 
> active accounts - can anyone confirm if that's the case?
>
> Cheers,
> Tom
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0926816d-08a6-4fd5-9846-c9e912085c92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get paused campaigns (php lib)

2018-10-17 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Matthieu,

Could you provide the latest SOAP request and response logs you used so I 
could better check this issue? Please reply via *Reply privately to author*.

Regards,
Luis
AdWords API Team


On Wednesday, October 17, 2018 at 7:42:14 PM UTC+8, matthieu wrote:
>
> Hi Luis,
>
> Do you happen to have a status on the issue? 
> We've tried the following today, all with the same 0 results response;
>
> - Trying different accounts with different tokens, both test and 
> production, same results.
> - Using a plain SOAP request (outside of the SKD).
> - Tried the last 3 versions of the API
>
> Op donderdag 4 oktober 2018 19:53:32 UTC+2 schreef Luis Xander Talag 
> (AdWords API Team):
>>
>> Hi Matthieu,
>>
>> To further investigate this, could you provide the complete SOAP request 
>> and response logs when you encountered the issue? Please reply via *Reply 
>> privately to author*.
>>
>> Thanks and regards,
>> Luis
>> AdWords API Team
>>
>> On Friday, October 5, 2018 at 12:02:05 AM UTC+8, matthieu wrote:
>>>
>>> Hi,
>>>
>>> I'm trying to get PAUSED campaigns using the php lib.
>>> Using the example provided in v201809/BasicOperations/GetCampaigns.php I 
>>> get 'Number of results found: 0'
>>>
>>> Even when trying to add a predicate to the selector, targeting PAUSED 
>>> status, nothing happens.
>>>
>>> Any help would be much appreciated!
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/26118045-b00e-4aa1-85eb-4f1bd48ae443%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdGroupCriterionService returns different results using the same selector

2018-10-17 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Wesley,

I ran the PRODUCT_PARTITION_REPORT 

 
and able to see AdGroupId 

 
and ParentCriterionId 

 
matching. Could please confirm whether the problem persists quite often? If 
yes, could you please share the SOAP logs(request and response) without 
redacting any information? You could follow the instructions shown here 

 
to enable SOAP logging for Python client library. You could use reply 
privately to the author option while sharing the details requested.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, October 17, 2018 at 8:45:30 AM UTC-4, wes...@channable.com 
wrote:
>
> To whom it may concern:
>
> As of October 16, 2018 at around 18.00, we've been experiencing some 
> issues when using the python API. I have spent today looking into the 
> issue, but I found something strange. I made a small example so that I 
> could share the problem with you.
>
> I have the following code:
>
> service = client.GetService('AdGroupCriterionService', version='v201809')
>
> adgroup_adwords_id = 41434232302
>
> selector = {
> 'fields': [
> 'Id',
> 'CpcBid',
> 'BaseAdGroupId',
> 'CriteriaType',
> 'PartitionType',
> 'CaseValue'
> ],
> 'predicates': [
> {
> 'field': 'AdGroupId',
> 'operator': 'IN',
> 'values': [adgroup_adwords_id]
> },
> {
> 'field': 'CriteriaType',
> 'operator': 'EQUALS',
> 'values': 'PRODUCT_PARTITION'
> },
> {
> 'field': 'Status',
> 'operator': 'NOT_EQUALS',
> 'values': 'REMOVED'
> }
> ]
> }
>
> result = service.get(selector)
>
>
>
> I am trying to query Google Ads to find all the Adgroup Criterions for a 
> Shopping Campaign. When I run the above code, it results in different 
> responses when I call it multiple times, i.e.
>
> # First run
> {
> 'adgroup_id': 41434232302,
> 'criterion_use': 'BIDDABLE',
> 'criterion': {
> 'id': 318749511508,
> 'type': 'PRODUCT_PARTITION',
> 'Criterion.Type': 'ProductPartition',
> 'partitionType': 'UNIT',
> 'parentCriterionId': 293946777986,
> 'caseValue': {
> 'ProductDimension.Type': 'ProductOfferId',
> 'value': 'fbeni618004'
> }
> }
> }
>
> # A later run
> {
> 'adgroup_id': 41434232302,
> 'criterion_use': 'BIDDABLE',
> 'criterion': {
> 'id': 318749511508,
> 'type': 'PRODUCT_PARTITION',
> 'Criterion.Type': 'ProductPartition',
> 'partitionType': 'UNIT',
> 'parentCriterionId': None,
> 'caseValue': {
> 'ProductDimension.Type': 'ProductOfferId',
> 'value': 'fbeni618004'
> }
> }
> }
>
>
>
> The `parentCriterionId` changes from a value to a `None`. On Google Ads, 
> nothing has changed about this criterion:
>
>
> 
>
>
>
> Could you share some insight into what is going on? We've been running 
> this code for quite some time, so we were a bit surprised when we all of a 
> sudden got errors for this.
>
> We are using `v201809` of the API and version 14.1.0 of the `googleads` 
> Python library
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a66a7aad-dc0c-42ce-8639-9bc9423ba970%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when using script to Export Google Ads Reports into BigQuery - Manager Account

2018-10-17 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

In this forum we discuss technical questions specific to AdWords API. Since 
your question is about Big Query integration, could you please get in touch 
with the Big Query Team ?

Thanks,
Milind, 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/fd881065-bad3-435b-857a-5159e2a6b552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I get account status?

2018-10-17 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Tom,

Yes, all accounts that are inactive (whether they have been cancelled, 
suspended, etc.) will be excluded from ManagedCustomerService.

Regards,
Luis
Adwords API Team

On Thursday, October 18, 2018 at 12:33:15 AM UTC+8, tom.wagstaff wrote:
>
> Thanks Luis,
>
> That's reassuring. Just to confirm: is it only accounts inactive in the 
> circumstances described in the blog i.e. no spend for 15 months that would 
> not be returned, or is it the case that ManagedCustomerService will only 
> return active accounts? So any account that's inactive whether that's 
> because it has been cancelled, suspended etc. will be excluded from 
> ManagedCustomerService. It sounds like that's the case, and that's ideal!
>
> Cheers,
> Tom
>
> On Wednesday, 17 October 2018 16:58:13 UTC+1, Luis Xander Talag (AdWords 
> API Team) wrote:
>>
>> Hi Tom,
>>
>> Yes, you are correct. As stated in this blog post 
>> ,
>>  
>> inactive accounts will no longer be returned when you used the 
>> ManagedCustomerService.get() method. This being said, you could only 
>> retrieved those active accounts.
>>
>> Regards,
>> Luis
>> AdWords API Team
>>
>> On Wednesday, October 17, 2018 at 6:34:05 PM UTC+8, tom.wagstaff wrote:
>>>
>>> Thanks Luis,
>>>
>>> That's a shame. What about the ManagedCustomerService? When I query my 
>>> accounts through e.g. your account hierarchy script (
>>> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/account_management/get_account_hierarchy.py)
>>>  
>>> it seems that all inactive accounts are left out. Could that be a way of 
>>> discovering this, or is it only excluding accounts in certain circumstances?
>>>
>>> Cheers,
>>> Tom
>>>
>>> On Tuesday, 16 October 2018 23:52:09 UTC+1, Luis Xander Talag (AdWords 
>>> API Team) wrote:

 Hi Tom,

 Unfortunately, there is no available service in AdWords API that could 
 retrieve the status of your account. Currently, your account status could 
 only be seen through your Google Ads UI. If you tried to create a request 
 against an inactive account, you would get the CUSTOMER_NOT_ACTIVE error.

 Thanks and regards,
 Luis
 AdWords API Team

 On Wednesday, October 17, 2018 at 1:26:44 AM UTC+8, tom.wagstaff wrote:
>
> Further to my own question: how does the Keywords Performance Report 
> treat suspended accounts?
>
> In my experience it sometimes throws a CUSTOMER_NOT_ACTIVE error - but 
> sometimes accepts the query - and comes back reporting 0 impressions etc. 
> for all campaigns/ad groups/keywords...
>
> On Tuesday, 16 October 2018 18:23:24 UTC+1, tom.wa...@raisingit.com 
> wrote:
>>
>> Hi everyone,
>>
>> I want to get account status from the API i.e. is it active, or has 
>> it been suspended, cancelled etc.
>>
>> It seems that CustomerService or ManagedCustomerService only return 
>> active accounts - can anyone confirm if that's the case?
>>
>> Cheers,
>> Tom
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5b09c02b-5e4a-4e59-ade3-f7c350273740%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are certain keyword seeds for TargetingIdeaService forbidden?

2018-10-17 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Joshua,

Can you provide their clientCustomerId, as well as the complete SOAP 
request and response logs so I can further investigate the error on my end? 
You can reply to me via *Reply privately to author*.

Thanks,
Luis
AdWords API Team

On Thursday, October 18, 2018 at 12:23:31 AM UTC+8, Joshua Kozlowski wrote:
>
> I have a client trying to use the TargetingIdeaService to generate entries 
> for keywords related to criminal defense attorneys. Seed keywords like 
> "violence" return an error with an empty message.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9568c39f-58e1-4cc6-93fc-b752aacd6a8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can not get account info by account perfomance report

2018-10-17 Thread David Feng
Dear Milind,

Thanks for your answer.You are right and those accounts do not have 
relevant data.
在 2018年10月17日星期三 UTC+8上午3:31:14,Milind Sankeshware (AdWords API Team)写道:
>
> Hi David,
>
> This account doesn't have any Campaigns, AdGroup, Ad and performance stats 
> like Costs, Clicks, so the report is null. Could you please try downloading 
> the report after adding these missing entities (Campaigns, Ads). If you are 
> still facing an issue, please share the report definition so that I can 
> troubleshoot the issue. You can use 'Reply privately to author' option 
> while responding.
>
> Thanks,
> Milind, 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/f2ef166f-f50d-402e-b9d8-1c64e4158068%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.