Skip to content

Commit 9d7525e

Browse files
author
Nicholas Chen
committed
releasing v201502 of the DFP client library
1 parent 256f792 commit 9d7525e

225 files changed

Lines changed: 3879 additions & 761 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
3.1.0 - 2/17/2015
2+
* Added support for v201502 for the DoubleClick for Publishers Client Library.
3+
* Removing support for v201311, v201308, and v201306.
4+
* Removed examples for v201403.
5+
* Updated ForecastService examples.
6+
* Added PackageService, ProductPackageService, and ProductPackageItemService.
7+
* Fixed comments and settings for targetAll in add_ad_groups.py examples.
8+
19
3.0.1 - 1/21/2015
210
* Push with updated PyDocs.
311

examples/adwords/v201406/basic_operations/add_ad_groups.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,31 @@ def main(client, campaign_id):
5757
},
5858
}
5959
]
60-
}
60+
},
61+
'settings': [
62+
{
63+
# Targeting restriction settings - these settings only affect
64+
# serving for the Display Network.
65+
'xsi_type': 'TargetingSetting',
66+
'details': [
67+
# Restricting to serve ads that match your ad group
68+
# placements. This is equivalent to choosing
69+
# "Target and bid" in the UI.
70+
{
71+
'xsi_type': 'TargetingSettingDetail',
72+
'criterionTypeGroup': 'PLACEMENT',
73+
'targetAll': 'false',
74+
},
75+
# Using your ad group verticals only for bidding. This is
76+
# equivalent to choosing "Bid only" in the UI.
77+
{
78+
'xsi_type': 'TargetingSettingDetail',
79+
'criterionTypeGroup': 'VERTICAL',
80+
'targetAll': 'true',
81+
},
82+
]
83+
}
84+
]
6185
}
6286
}, {
6387
'operator': 'ADD',

examples/adwords/v201409/basic_operations/add_ad_groups.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,31 @@ def main(client, campaign_id):
5757
},
5858
}
5959
]
60-
}
60+
},
61+
'settings': [
62+
{
63+
# Targeting restriction settings - these settings only affect
64+
# serving for the Display Network.
65+
'xsi_type': 'TargetingSetting',
66+
'details': [
67+
# Restricting to serve ads that match your ad group
68+
# placements. This is equivalent to choosing
69+
# "Target and bid" in the UI.
70+
{
71+
'xsi_type': 'TargetingSettingDetail',
72+
'criterionTypeGroup': 'PLACEMENT',
73+
'targetAll': 'false',
74+
},
75+
# Using your ad group verticals only for bidding. This is
76+
# equivalent to choosing "Bid only" in the UI.
77+
{
78+
'xsi_type': 'TargetingSettingDetail',
79+
'criterionTypeGroup': 'VERTICAL',
80+
'targetAll': 'true',
81+
},
82+
]
83+
}
84+
]
6185
}
6286
}, {
6387
'operator': 'ADD',

examples/dfp/v201403/contact_service/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/dfp/v201403/content_metadata_key_hierarchy_service/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/dfp/v201403/content_service/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/dfp/v201403/creative_service/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/dfp/v201403/creative_set_service/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/dfp/v201403/creative_template_service/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/dfp/v201403/custom_field_service/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)