Hi Danial,
thanks for the quick reply, it works now indeed with the following
networkSettings:
network_setting = {
'targetGoogleSearch': 'true',
'targetSearchNetwork': 'false',
'targetContentNetwork': 'true',
'targetPartnerSearchNetwork': 'false',
}
On Wednesday, February 11, 2015 at 2:39:42 PM UTC+1, Danial Klimkin wrote:
>
> Hello Robert,
>
>
> As per the migration guide, display select field is no longer available:
>
> https://developers.google.com/adwords/api/docs/guides/migration/v201409
>
> Any campaign targeted to both Display and Search networks is enabled for
> displaySelect now.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, February 11, 2015 at 4:29:40 PM UTC+3, Robert Kreuzer wrote:
>>
>> Hi,
>>
>> I'm trying to create a 'Search network with Display Select'-campaign via
>> the v201409 API. I'm using the official 'googleads' Python client library
>> (Version 3.0.1).
>> Creating search-campaigns without displaySelect works fine but when I
>> pass 'displaySelect': 'true' (with the correct networkSettings as described
>> in
>> http://googleadsdeveloper.blogspot.nl/2014/03/changes-required-for-creating-new.html)
>>
>> I get an error from lxml: TypeNotFound: Type not found: 'displaySelect'.
>> In my experience this usually means that I'm passing the parameter in the
>> wrong place, here is my operand:
>>
>> operand = {
>> 'name': name,
>> 'status': status,
>> 'advertisingChannelType': campaign_type,
>> 'biddingStrategyConfiguration': {
>> 'biddingStrategyType': 'MANUAL_CPC',
>> },
>> 'budget': {
>> 'budgetId': budget_id
>> },
>> 'networkSetting': {
>> 'targetGoogleSearch': 'true',
>> 'targetSearchNetwork': 'false',
>> 'targetContentNetwork': 'true',
>> 'targetPartnerSearchNetwork': 'false',
>> },
>> 'displaySelect': 'true'
>> }
>>
>> Does anyone see where it goes wrong?
>>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/4cfb22cc-fc2c-408a-aed5-da9455c4b39b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.