Hi!

I'm new here, and I'm stuck with this issue... I might not be getting
fine the idea of the authentication.

I have 2 accounts, one with MCC (account A) and another is a regular
account (account B), linked to MCC.

I understood I had to use my account A credentials to issue commands
on behalf of my client, account B - in fact, that makes sense, b/c I
don't have his account credentials.

So, I got the authentication token for the account A, and this is the
request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
  <s:Header>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/
ws/2005/05/addressing/none" />
    <h:RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
v200906" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:h="https://
adwords.google.com/api/adwords/cm/v200906">
 
<authToken>DQAAAJAAAABxPzVel0wbFLfnqF4RBFrLAlubwtGzb3SebDslH24YOlomsEvyLHglwTP_vQZj6DgcrKnGU422ZfYYH1uDUHO9FZrEqB9lR0kCDo2JqjsuLQkps1KsYDnuWsan99Au7j4oleXKJ-
KxjH9ZqYAl3Tj9IC-OBh7JtIiu8jTsAHOQIavzIRkk6Xbrvq36IfldrE0</authToken>
      <clientEmail>ACCOUNT B EMAIL</clientEmail>
      <developerToken>***</developerToken>
      <userAgent>Test Company</userAgent>
    </h:RequestHeader>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906";>
      <operations>
        <operator>ADD</operator>
        <operand>
          <name>Test campaign</name>
          <status>ACTIVE</status>
          <endDate>20100101</endDate>
          <budget>
            <period>DAILY</period>
            <amount>
              <ComparableValue.Type>Money</ComparableValue.Type>
              <microAmount>10000</microAmount>
            </amount>
            <deliveryMethod>STANDARD</deliveryMethod>
          </budget>
          <biddingStrategy xsi:type="ManualCPC" />
        </operand>
      </operations>
    </mutate>
  </s:Body>
</s:Envelope>

here's the response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
v200906">
      <requestId>7079ffb158148d9651286a2ff1d9adcd</requestId>
      <operations>0</operations>
      <responseTime>3190</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>AuthenticationError.AUTHENTICATION_FAILED @ ;
trigger:'GaiaCookie belongs to a non-ads user'</faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/
adwords/cm/v200906">
          <message>AuthenticationError.AUTHENTICATION_FAILED @ ;
trigger:'GaiaCookie belongs to a non-ads user'</message>
          <ApplicationException.Type>ApiException</
ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:type="AuthenticationError">
            <fieldPath>
            </fieldPath>
            <trigger>GaiaCookie belongs to a non-ads user</trigger>
            <ApiError.Type>AuthenticationError</ApiError.Type>
            <reason>AUTHENTICATION_FAILED</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

generated at 11:45 in -3 GMT


then, I tried logging in with my client's credentials... and this is
the request

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
  <s:Header>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/
ws/2005/05/addressing/none" />
    <h:RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/
v200906" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:h="https://
adwords.google.com/api/adwords/cm/v200906">
 
<authToken>DQAAAJkAAAAsdSBQHxlGjRl87NhyQDbWDKoN_jWE0oFUUk41oPfoVfSIvmNkz4NKU5qguhTOuZY6IizM5jvt7Qnkp_bHKTZdzyMUkPKJuOr2i_aEMlr4CFbNvgkhW-
vRA5Y5BSASAnWswhYTc0mx9oCtxz3jV6ZDTmHvhZc7XFXwNpl2vzpwVXAmM-
Sz7YkFXGzwlO9Vqr6YCTcrtmZbt04F-fFQYOy6</authToken>
      <developerToken>***</developerToken>
      <userAgent>Test Company</userAgent>
    </h:RequestHeader>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200906";>
      <operations>
        <operator>ADD</operator>
        <operand>
          <name>Test campaign</name>
          <status>ACTIVE</status>
          <endDate>20100101</endDate>
          <budget>
            <period>DAILY</period>
            <amount>
              <ComparableValue.Type>Money</ComparableValue.Type>
              <microAmount>10000</microAmount>
            </amount>
            <deliveryMethod>STANDARD</deliveryMethod>
          </budget>
          <biddingStrategy xsi:type="ManualCPC" />
        </operand>
      </operations>
    </mutate>
  </s:Body>
</s:Envelope>

and here's the response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
v200906">
      <requestId>c10e5f2dd8eea665035e39ce44261b94</requestId>
      <operations>1</operations>
      <responseTime>960</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>QuotaCheckError.INCOMPLETE_SIGNUP_APP_INFO_MISSING
@ </faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/
adwords/cm/v200906">
          <message>QuotaCheckError.INCOMPLETE_SIGNUP_APP_INFO_MISSING
@ </message>
          <ApplicationException.Type>ApiException</
ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:type="QuotaCheckError">
            <fieldPath>
            </fieldPath>
            <trigger>
            </trigger>
            <ApiError.Type>QuotaCheckError</ApiError.Type>
            <reason>INCOMPLETE_SIGNUP_APP_INFO_MISSING</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

when I use this account to enter to adwords, through the website, I
can work fine, create campaigns and so on... so signup app info
missing makes no sense to me... and again... it doesn't make sense to
me to ask my customers their user/pass

generated around 11:47 -3 GMT

any help would be appreciated
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to