Re: How to set the bidCeiling & bidFloor for a Target ROAS Portfolio strategy via api in python?

2019-01-11 Thread Skyler Christensen
Oh and the error is that it can't find the key TargetRoasBiddingScheme

On Friday, January 11, 2019 at 5:37:11 PM UTC-10, Skyler Christensen wrote:
>
> This is what I've got so far. I just don't know how to set the bidCeiling 
> or how to structure the operations object.
> STRATEGY_ID = '1855829761'
>
>
> def main(client, strategy_id):
> # Initialize appropriate service.
> campaign_service = client.GetService('BiddingStrategyService', version=
> 'v201809')
>
> # Construct operations and update campaign.
> operations = [{
> 'operator': 'SET',
> 'operand': {
> 'id': strategy_id,
> 'name': 'TEST ' + strategy_id,
> 'biddingScheme': {
> 'TargetRoasBiddingScheme': {
> 'bidCeiling': {
> 'microAmount': '100'
> } 
> }
> # Optionally set additional bidding scheme parameters.
> }
> }
> }]
> campaigns = campaign_service.mutate(operations)
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0ac89303-92de-47e2-8cdf-73671d4e03be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set the bidCeiling & bidFloor for a Target ROAS Portfolio strategy via api in python?

2019-01-11 Thread Skyler Christensen
This is what I've got so far. I just don't know how to set the bidCeiling 
or how to structure the operations object.
STRATEGY_ID = '1855829761'


def main(client, strategy_id):
# Initialize appropriate service.
campaign_service = client.GetService('BiddingStrategyService', version=
'v201809')

# Construct operations and update campaign.
operations = [{
'operator': 'SET',
'operand': {
'id': strategy_id,
'name': 'TEST ' + strategy_id,
'biddingScheme': {
'TargetRoasBiddingScheme': {
'bidCeiling': {
'microAmount': '100'
} 
}
# Optionally set additional bidding scheme parameters.
}
}
}]
campaigns = campaign_service.mutate(operations)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/76f38c40-e94a-464c-9140-f7a9a257edb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I create an audience using the new Google Ads API?

2019-01-11 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Jon,

Currently, only CRMBased User Lists and Similar user lists are supported as 
stated in this section 

 of 
the guide. Please keep an eye on the blog 
 for 
updates on future releases.

Regards,
Dhanya, Google Ads 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/ea4c9111-2064-41c9-9cde-d853217f016d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to check conversion which are imported from GA

2019-01-11 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Indrani, 

Currently, it is not possible to get the Google Analytics conversion 
trackers through ConversionTrackerService 
.
 
Unfortunately, I cannot comment on the future plans for this feature. 
Please keep an eye on our blog 
 for the 
updates and announcements.

Thanks,
Sreelakshmi, 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/ae5bb96c-bef6-4092-9f75-0cb030cdf701%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to switch to Manual CPC BS when using view through conversions

2019-01-11 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Paul,

Could you reply back with the client customer id and complete SOAP request 
and response, so that I can check further? You may *reply privately to 
author*.

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/576a010f-249b-4901-9910-aba5fc2cbb79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding labels on keywords

2019-01-11 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello, 

You will first need to use the LabelService 
 
to 
create the label with the specific text. In your case with the date when 
you updated the max CPC as the text. Once that is done, you can use the 
mutateLabels() method of the AdGroupService 

 or 
the AdGroupCriterionService 

 depending 
on at which level you want to apply the label. Please check the guide on 
labels 
 
which 
explains this in detail. Code samples can be found here 
. 
Please give this a try and let me know if you have any additional 
questions. 

Thanks,
Sreelakshmi, 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/8f603181-8766-40f5-82bf-73dbe785e1bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python 3 error after recent upgrade

2019-01-11 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Simon,

Looks like it is python library issue. Could you please post your concern 
in python client libraries issue tracker 

 
as the library owner is better equipped to address this issue? However, you 
could refer to this stack flow thread 
 
which might help you.

Thanks,
Milind, AdWords API Teamr

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/74ec66aa-b2d3-408d-8e3c-9cedc805e371%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I create an audience using the new Google Ads API?

2019-01-11 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Jon,

Sorry for the delay as I was checking with my team on this. Instead, you 
will need to create an Info object (e.g., CrmBasedUserListInfo) and set it 
to the UserList object via the setCrmBasedUserList() method. 

  CrmBasedUserListInfo userList = CrmBasedUserListInfo.newBuilder()
  .setUploadKeyType(CustomerMatchUploadKeyType.CONTACT_INFO)
  .build();
  
  UserList newUserList = UserList.newBuilder()
  .setName(StringValue.of("Oler user list test 1"))
  .setCrmBasedUserList(userList)
  .build();

  UserListOperation userListOperation = UserListOperation.newBuilder()
  .setCreate(newUserList)
  .build();

That is, steps similar toAddExpandedTextAds 

 example.

Regards,
Dhanya, Google Ads 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/678c3c9d-31c6-4ee3-8d65-2037ac457f71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UNEXPECTED_INTERNAL_API_ERROR raised during ConversionTrackerService.get query

2019-01-11 Thread paul . cooper
The issue just disappeared, so I was not able to get the requested 
information.

On Tuesday, 11 December 2018 21:11:09 UTC+1, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi Paul,
>
> Thank you for reaching out to support. Could you send to me your 
> clientCustomerId and the complete SOAP request and response logs so I can 
> further investigate? You may reply to me via the *Reply privately to 
> author* option.
>
> Thanks and regards,
> Peter
> AdWords API Team
>
> On Wednesday, December 12, 2018 at 1:51:53 AM UTC+8, paul@adspert.de 
>  wrote:
>>
>> Hi,
>>
>> We're encountering a consistent and fatal error when making a 
>> ConversionTrackerService get request. This only happens with a single 
>> account. Others work without an issue.
>>
>> Here is the selector:
>>
>> selector = {
>>'fields': ['Category', 'Id', 'Name', 'Status', 
>> 'ExcludeFromBidding',
>>   'CtcLookbackWindow', 'AttributionModelType'],
>>}
>>
>> Errror:
>>
>> AdwordsInternalApiError: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
>> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
>>
>>
>> Account ID and SOAP XML can be provided if needed.
>>
>> Thanks,
>>
>> Paul
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/98862433-8182-4ea8-bc21-3bcff74733b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to switch to Manual CPC BS when using view through conversions

2019-01-11 Thread paul . cooper
Hello,

While attempting to switch a campaign from Target CPA to Manual CPC through 
the Adwords API this error is returned:

BiddingErrors.NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION 
(campaign_set_bidding_strategy) 


Firstly, why would this be the case? It seems perfectly reasonable to make 
manual bids on campaigns that implement analytics trackers. Is this an 
arbitrary restriction or simply an (small) push to have everyone use the 
automation provided by Google Ads?

Secondly, turning off 'Use view through conversions' in the Dashboard 
allows the campaigns to be bid on manually, but doesn't appear to be to be 
set via API (unless I missed it). Is it at all possible?

Regards,
Paul Cooper

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/923f0604-6e0f-4346-953e-ec34752f4887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Python 3 error after recent upgrade

2019-01-11 Thread Green Leaf
Hi

I'm currently upgrading to v201809. i'm using Python 3 and I'm getting the 
following error when running a test script:

ImportError: cannot import name 'izip' - Any thoughts on how I can get past 
this? Many thanks




Trackback looks like


C:\Users\Simon\Anaconda3\lib\site-packages\googleads\__init__.py in ()  
   15 """A client library for Google's SOAP Ads APIs.""" 16 ---> 17 from 
.ad_manager import AdManagerClient 18 from .adwords import AdWordsClient
C:\Users\Simon\Anaconda3\lib\site-packages\googleads\ad_manager.py in 
() 26 import urllib.request, urllib.error, urllib.parse 27 
import pytz---> 28 import googleads.common 29 import googleads.errors 
30 
C:\Users\Simon\Anaconda3\lib\site-packages\googleads\common.py in ()
 21 import inspect 22 # from itertools import izip - 
https://stackoverflow.com/questions/50239706/cannot-import-name-izip---> 23 
from itertools import izip 24 import locale 25 import logging
ImportError: cannot import name 'izip'


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/12b17051-3ed4-4874-9165-eed3264ddf2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.