Hi Christian,

There are two authentication options for the API:

1) Authenticate as an AdWords account.

2) Authentication as an MCC account and include a clientEmail or
clientCustomerId header which specifies the AdWords account to operate
against.

>From looking at the logs you are authenticating as the MCC account but
not specifying a client* header.  Please check your configuration and
ensure that you include this information in the request.

Best,
- Eric

On Aug 8, 6:56 pm, Christian Fuentes <[email protected]> wrote:
> But the thing is that I've already created campaigns, ad groups and
> text ads. I don't know why in the keywords gives me the error
>
> On Aug 6, 11:34 pm, AdWords API Advisor <[email protected]>
> wrote:
>
>
>
> > Hi Christian,
>
> > It looks like you are authenticating the request as the MCC account
> > and not including a clientEmail or clientCustomerId header to specify
> > which client to operate against.
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Aug 6, 11:17 am, Christian Fuentes <[email protected]> wrote:
>
> > > Oh, BTW, the exactly same code (with different credentials) worked OK
> > > in the sandbox environment
>
> > > On 6 ago, 17:08, Christian Fuentes <[email protected]> wrote:
>
> > > > I searched in the group before but I forgot to say that I'm using
> > > > (float) before the adgroup id to convert it.
>
> > > > On 6 ago, 16:51, Christian Fuentes <[email protected]> wrote:
>
> > > > > I'm getting this error for an ad group id that exists (check with the
> > > > > same API) when adding a new keyword. Anyone can give a tip?
>
> > > > > EntityNotFound.INVALID_ID @ operations[0].operand.adGroupId;
> > > > > trigger:'1954082482'
>
> > > > >          [0] => SoapVar Object
> > > > >              (
> > > > >                  [enc_type] => 0
> > > > >                  [enc_value] => EntityNotFound Object
> > > > >                     (
> > > > >                         [reason] => INVALID_ID
> > > > >                         [fieldPath] => operations[0].operand.adGroupId
> > > > >                         [trigger] => 1954082482
> > > > >                         [errorString] => EntityNotFound.INVALID_ID
> > > > >                         [ApiErrorType] => EntityNotFound
> > > > >                         [_parameterMap:private] => Array
> > > > >                            (
> > > > >                                 [ApiError.Type] => ApiErrorType
> > > > >                             )
> > > > >                      )
> > > > >                    [enc_stype] => EntityNotFound
> > > > >                    [enc_ns] 
> > > > > =>https://adwords.google.com/api/adwords/cm/v201003
> > > > >                )
>
> > > > > Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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