Package com.google.api.ads.adwords.awreporting.kratubackend.data

Examples of com.google.api.ads.adwords.awreporting.kratubackend.data.Account


   */
  @Test
  public void testRun() {
    Date date1 = DateUtil.parseDateTime("20140601").toDate();

    Account account = new Account();
    account.setCurrencyCode("EUR");
    account.setDateTimeZone("Europe/Paris");
    account.setExternalCustomerId(777L);
    account.setName("Account1");

    Kratu kratu1 = new Kratu(123L, account, date1);
   
    assertEquals(kratu1.getTopAccountId(), new Long(123));
    assertEquals(kratu1.getExternalCustomerId(), new Long(777));
View Full Code Here


  private final Date dateEnd = DateUtil.parseDateTime("20140131").toDate();

  @Before
  public void setUp() {
    // creating one list wuth 3 nonMCC accounts
    Account account1 = new Account();
    account1.setTopAccountId(456L);
    account1.setIsCanManageClients(false);
    account1.setExternalCustomerId(123L);
    accountList = ImmutableList.of(account1, account1, account1);

    storageHelper = new StorageHelper();

    mockedRunnableKratu = new RunnableKratu(456L, accountList, storageHelper, dateStart, dateEnd);
View Full Code Here

  ArgumentCaptor<Class<? extends Report>> classReportCaptor;

  @Before
  public <R extends Report> void setUp() {

    account = new Account();
    account.setCurrencyCode("EUR");
    account.setDateTimeZone("Europe/Paris");
    account.setExternalCustomerId(777L);
    account.setName("Account1");
View Full Code Here

TOP

Related Classes of com.google.api.ads.adwords.awreporting.kratubackend.data.Account

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.