Пример #1
0
 public GoogleAddAdsRequest(
     String accountID,
     Long adGroupID,
     String displayURL,
     String url,
     List<GoogleAddAdRequest> addAdTextRequests) {
   this.accountID = accountID;
   this.adGroupID = adGroupID;
   this.displayURL = SemplestUtils.getTrimmedNonNullString(displayURL);
   this.url = SemplestUtils.getTrimmedNonNullString(url);
   this.addAdTextRequests = addAdTextRequests;
 }
Пример #2
0
 public String toStringPretty() {
   final String textRequestsEasilyReadableString =
       SemplestUtils.getEasilyReadableString(addAdTextRequests);
   return "GoogleAddAdsRequest [accountID="
       + accountID
       + ", adGroupID="
       + adGroupID
       + ", displayURL="
       + displayURL
       + ", url="
       + url
       + ", addAdTextRequests...\n"
       + textRequestsEasilyReadableString
       + "]";
 }