Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)

src/g/o/googleads-python-legacy-lib-HEAD/tests/adspygoogle/dfp/v201211/creative_set_service_unittest.py   googleads-python-legacy-lib(Download)
from examples.adspygoogle.dfp.v201211.creative_set_service import update_creative_set
from tests.adspygoogle.dfp import client
from tests.adspygoogle.dfp import SERVER_V201211
from tests.adspygoogle.dfp import TEST_VERSION_V201211
from tests.adspygoogle.dfp import util
  def setUp(self):
    """Prepare unittest."""
    if not self.__class__.loaded:
      advertiser_id = util.CreateTestAdvertiser(client, SERVER_V201211,
                                                VERSION_V201211)
      self.__class__.test_master_creative_id = util.CreateTestCreative(
          client, SERVER_V201211, VERSION_V201211, advertiser_id)
      self.__class__.test_companion_creative_id = util.CreateTestCreative(
          client, SERVER_V201211, VERSION_V201211, advertiser_id)
      trafficker_id = util.GetTrafficker(client, SERVER_V201211,

src/g/o/googleads-python-legacy-lib-HEAD/tests/adspygoogle/dfp/v201211/custom_field_service_unittest.py   googleads-python-legacy-lib(Download)
from examples.adspygoogle.dfp.v201211.custom_field_service import update_custom_fields
from tests.adspygoogle.dfp import client
from tests.adspygoogle.dfp import SERVER_V201211
from tests.adspygoogle.dfp import TEST_VERSION_V201211
from tests.adspygoogle.dfp import util
  def setUp(self):
    """Prepare unittest."""
    if not self.__class__.loaded:
      advertiser_id = util.CreateTestAdvertiser(
          client, SERVER_V201211, VERSION_V201211)
      trafficker_id = util.GetTrafficker(
          client, SERVER_V201211, VERSION_V201211)
      order_id = util.CreateTestOrder(
          client, SERVER_V201211, VERSION_V201211, advertiser_id, trafficker_id)
          client, SERVER_V201211, VERSION_V201211, advertiser_id, trafficker_id)
      ad_unit_id = util.CreateTestAdUnit(
          client, SERVER_V201211, VERSION_V201211)
      placement_id = util.CreateTestPlacement(
          client, SERVER_V201211, VERSION_V201211, [ad_unit_id])

src/g/o/googleads-python-legacy-lib-HEAD/tests/adspygoogle/dfp/v201211/creative_wrapper_service_unittest.py   googleads-python-legacy-lib(Download)
from examples.adspygoogle.dfp.v201211.creative_wrapper_service import update_creative_wrappers
from tests.adspygoogle.dfp import client
from tests.adspygoogle.dfp import SERVER_V201211
from tests.adspygoogle.dfp import TEST_VERSION_V201211
from tests.adspygoogle.dfp import util
  def setUp(self):
    """Prepare unittest."""
    if not self.__class__.loaded:
      self.__class__.test_label_id = util.CreateTestLabel(
          client, SERVER_V201211, VERSION_V201211)
      self.__class__.test_creative_wrapper_id = util.CreateTestCreativeWrapper(
          client, SERVER_V201211, VERSION_V201211, self.__class__.test_label_id)
  def testCreateCreativeWrappers(self):
    """Test whether we can create a creative wrapper."""
    create_creative_wrappers.main(client,
                                  util.CreateTestLabel(client, SERVER_V201211,
                                                       VERSION_V201211))
  def testDeactivateCreativeWrappers(self):
    """Test whether we can get perform an action on creative wrappers."""
    label_id = util.CreateTestLabel(client, SERVER_V201211, VERSION_V201211)
    util.CreateTestCreativeWrapper(client, SERVER_V201211, VERSION_V201211,
                                   label_id)

src/g/o/googleads-python-legacy-lib-HEAD/tests/adspygoogle/dfp/v201211/inventory_service_unittest.py   googleads-python-legacy-lib(Download)
from examples.adspygoogle.dfp.v201211.inventory_service import update_ad_units
from tests.adspygoogle.dfp import client
from tests.adspygoogle.dfp import SERVER_V201211
from tests.adspygoogle.dfp import TEST_VERSION_V201211
from tests.adspygoogle.dfp import util
  def setUp(self):
    """Prepare unittest."""
    if not self.__class__.loaded:
      self.__class__.effective_root_ad_unit_id = util.GetEffectiveRootAdUnitId(
          client, SERVER_V201211, VERSION_V201211)

src/g/o/googleads-python-legacy-lib-HEAD/tests/adspygoogle/dfp/v201211/company_service_unittest.py   googleads-python-legacy-lib(Download)
from examples.adspygoogle.dfp.v201211.company_service import update_companies
from tests.adspygoogle.dfp import client
from tests.adspygoogle.dfp import SERVER_V201211
from tests.adspygoogle.dfp import TEST_VERSION_V201211
from tests.adspygoogle.dfp import util
  def setUp(self):
    """Prepare unittest."""
    if not self.__class__.loaded:
      self.__class__.test_advertiser_id = util.CreateTestAdvertiser(
          client, SERVER_V201211, VERSION_V201211)