Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-3418

Keyword Approval Status Help option runs for all SE User accounts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Rushmore
    • Fix Version/s: Rushmore
    • Component/s: None
    • Labels:
      None
    • Environment:

      bigmgr build:
      bidmgr-distribution-2.8.0-SNAPSHOT-dev-t20150317135509-bin.tar.gz (Build #630)

    • Sprint:
      Sprint 7

      Description

      On running Keyword Approval Status with Help option it runs for all SE User accounts apart from displaying the Help menu

      [TSAApp@aml-qa3-core1 bidmgr]$ ./get-kw-approval-status.sh --help
      2015-03-19 07:39:43.246 (3) [main]: Debug Level set to 3
      usage: Google Get Keyword Approval Status [-D] [-d <arg>] [-e] [-h] [-S
      <arg>] [--threads <num-threads>] [-U <arg>]
      D,-debug-stack Debug Show Callstack
      d,-debug <arg> The Debug Level
      e,-email Email disapproved keyword results
      h,-help Help
      S,-distribution <arg> Search Engine / Distribution ID
      --threads <num-threads> Number of Threads to run
      U,-seuser <arg> Search Engine User ID
      2015-03-19 07:39:43.358 (3) [main]: DatabasePool with a limit of 7 created
      2015-03-19 07:39:43.640 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:43.752 (3) [main]: LicensingFileRefresher: modification detected on 1426677518000 for licensing.properties
      2015-03-19 07:39:43.753 (3) [main]: Licensing environment detected, loading configuration.
      2015-03-19 07:39:43.753 (3) [main]: Loaded property: tsa.google.mcc.clientId=708478822263-srenocq0gcguusttt4aunqjdi2jnllcg.apps.googleusercontent.com
      2015-03-19 07:39:43.754 (3) [main]: Loaded property: tsa.google.mcc.clientSecret=eGE8JpEDaEgVb26gQg_ePnaG
      2015-03-19 07:39:43.754 (3) [main]: Loaded property: tsa.google.mcc.refreshToken=1/PPPmQLADSV-h2NEsY4vmLgBmiDtScaB01K55xhGOaHE
      2015-03-19 07:39:43.754 (3) [main]: Loaded property: tsa.google.mcc.developerToken=ojCnjZaM6RD1h0yt_DOJZg
      2015-03-19 07:39:43.754 (3) [main]: Loaded property: tsa.google.mcc.isReseller=true
      2015-03-19 07:39:43.754 (3) [main]: Loaded property: tsa.google.mcc.userAgent=AdMaxLocal AdWords Software TSA QA
      2015-03-19 07:39:43.754 (3) [main]: Loaded property: tsa.timezone=UTC
      2015-03-19 07:39:43.759 (3) [main]: =============== Starting Get Keyword Approval Status ================
      2015-03-19 07:39:43.759 (3) [main]: ----------------Get Keyword Approval Status starting
      2015-03-19 07:39:43.790 (3) [main]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:43.866 (3) [P1T3]: No active search engine accounts with ad groups for SE User 1382
      2015-03-19 07:39:43.946 (3) [P1T3]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:43.981 (3) [P1T4]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:44.040 (3) [P1T5]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:44.117 (3) [P1T1]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:44.478 (3) [P1T5]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:44.513 (3) [P1T5]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:44.551 (3) [P1T5]: JDBC Driver Version: 5.1 (com.mysql.jdbc.Driver)
      2015-03-19 07:39:44.551 (3) [P1T5]: Created shared sesystem connection rw
      2015-03-19 07:39:44.873 (3) [P1T5]: [oauth] Creating new OAuthService component
      2015-03-19 07:39:44.875 (3) [P1T3]: [oauth] Creating new OAuthService component
      2015-03-19 07:39:44.876 (3) [P1T2]: [oauth] Creating new OAuthService component
      2015-03-19 07:39:44.876 (3) [P1T4]: [oauth] Creating new OAuthService component
      2015-03-19 07:39:44.876 (3) [P1T1]: [oauth] Creating new OAuthService component
      2015-03-19 07:39:45,308 [P1T5] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Creating new OAuthServiceComponent
      2015-03-19 07:39:45,310 [P1T3] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Creating new OAuthServiceComponent
      2015-03-19 07:39:45,311 [P1T2] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Creating new OAuthServiceComponent
      2015-03-19 07:39:45,311 [P1T4] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Creating new OAuthServiceComponent
      2015-03-19 07:39:45,311 [P1T1] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Creating new OAuthServiceComponent
      2015-03-19 07:39:45,509 [P1T3] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Getting new access token
      2015-03-19 07:39:45,509 [P1T4] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Getting new access token
      2015-03-19 07:39:45,511 [P1T1] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Getting new access token
      2015-03-19 07:39:45,512 [P1T5] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Getting new access token
      2015-03-19 07:39:45,512 [P1T2] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Getting new access token
      2015-03-19 07:39:46,681 [P1T1] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,681 [P1T2] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.681 (3) [P1T1]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.681 (3) [P1T2]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,681 [P1T4] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.682 (3) [P1T4]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,681 [P1T5] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,682 [P1T1] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.683 (3) [P1T1]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,682 [P1T4] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.683 (3) [P1T4]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,682 [P1T2] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.684 (3) [P1T2]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,682 [P1T3] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.684 (3) [P1T3]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,684 [P1T3] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.684 (3) [P1T3]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.686 (3) [P1T5]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46,686 [P1T5] INFO c.t.s.o.core.OAuthServiceComponent - [oauth] Return OAuth credential. Access token = ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:46.686 (3) [P1T5]: [oauth] Returning access token from OAuth service: ya29.OwH8JAI-hbUmOLc__6vp7w6kYOUyB98QgLfN4ShqgyavRYZCYYdY5S6d
      2015-03-19 07:39:48,642 [P1T5] INFO c.g.a.a.a.l.c.A.requestInfoLogger - Request made: Service: "AdGroupCriterionServiceInterfacePort" Method: "get" URL: "https://adwords.google.com/api/adwords/cm/v201409/AdGroupCriterionService"
      2015-03-19 07:39:48,723 [P1T3] INFO c.g.a.a.a.l.c.A.requestInfoLogger - Request made: Service: "AdGroupCriterionServiceInterfacePort" Method: "get" URL: "https://adwords.google.com/api/adwords/cm/v201409/AdGroupCriterionService"
      2015-03-19 07:39:48,819 [P1T3] INFO c.g.a.a.a.l.c.A.soapXmlLogger - SOAP Request:
      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Header>
      <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201409" soapenv:mustUnderstand="0">
      <ns1:clientCustomerId>5527848220</ns1:clientCustomerId>
      <ns1:developerToken>ojCnjZaM6RD1h0yt_DOJZg</ns1:developerToken>
      <ns1:userAgent>AdMaxLocal AdWords Software TSA QA (AwApi-Java, AdWords-Axis/1.36.0, Common-Java/1.36.0, Axis/1.4, Java/1.6.0_27, maven)</ns1:userAgent>
      <ns1:validateOnly>false</ns1:validateOnly>
      <ns1:partialFailure>true</ns1:partialFailure>
      </ns1:RequestHeader>
      </soapenv:Header>
      <soapenv:Body>
      <get xmlns="https://adwords.google.com/api/adwords/cm/v201409">
      <serviceSelector>
      <fields>ApprovalStatus</fields>
      <fields>CriteriaType</fields>
      <fields>CriterionUse</fields>
      <fields>DestinationUrl</fields>
      <fields>FirstPageCpc</fields>
      <fields>Id</fields>
      <fields>CpcBid</fields>
      <fields>CpmBid</fields>
      <fields>PlacementUrl</fields>
      <fields>Status</fields>
      <predicates>
      <field>AdGroupId</field>
      <operator>IN</operator>
      <values>21373328245</values>
      <values>21373328365</values>
      </predicates>
      <predicates>
      <field>CriteriaType</field>
      <operator>EQUALS</operator>
      <values>KEYWORD</values>
      </predicates>
      <predicates>
      <field>CriterionUse</field>
      <operator>EQUALS</operator>
      <values>BIDDABLE</values>
      </predicates>
      <predicates>
      <field>Status</field>
      <operator>IN</operator>
      <values>ENABLED</values>
      <values>PAUSED</values>
      </predicates>
      <predicates>
      <field>ApprovalStatus</field>
      <operator>IN</operator>
      <values>DISAPPROVED</values>
      <values>PENDING_REVIEW</values>
      <values>UNDER_REVIEW</values>
      </predicates>
      </serviceSelector>
      </get>
      </soapenv:Body>
      </soapenv:Envelope>

      Expected: Running the script with Help option should just display the Help menu

        Attachments

          Activity

            People

            • Assignee:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
              Reporter:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: