Hi, I had this problem. If you use mcc login or change clientId after create AdwordsUser object, its couldnt find campaigns because that time login is not in scope of account. I changed my login with client id problem is solved.
Ex. in PHP : $adwordsUser = new AdWordsUser(null, $email, $pass, $developerToken, $applicationToken, $userAgent, $customerID); Best, Erkan 22 Temmuz 2013 Pazartesi 14:13:01 UTC+3 tarihinde Akil Burgess yazdı: > > Hi All, > > We're seeing a reproducable issue where we receive an > EntityNotFound.INVALID_ID (trigger - CriterionId) error for a mutate > operation on AdGroupCriterion using a valid AdGroupId and CriterionId > ("Id"). The AdGroupCriterionService get call returns the AdGroupCriterion > object with the same Ids that are being said to be invalid. > > I have attached the soap logs for the mutate operation and the get > operation below. Is this a bug in the AdGroupCriterionService or is there > something wrong with our AdGroupCriterionOperation? > > Thanks! > Akil Burgess > > > -----------------BEGIN API CALL--------------------- > > Request (Mutate) > ------- > > > <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap=" > http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema"><!--POST > /api/adwords/cm/v201306/AdGroupCriterionService > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client > Protocol 4.0.30319.18051) > VsDebuggerCausalityData: > uIDPowA6lARsOPdGukKutxnlLlgAAAAANiaXQS2+v0qF1bOWBKYRAyjTf3Fc57dJitdesMIpq6IACQAA > Content-Type: text/xml; charset=utf-8 > SOAPAction: "" > Host: adwords.google.com > Content-Length: 1540 > Accept-Encoding: gzip > Connection: Keep-Alive > TimeStamp: Mon, 22 Jul 2013 12:02:27 GMT > --><soap:Header><RequestHeader xmlns=" > https://adwords.google.com/api/adwords/cm/v201306"><authToken xmlns=" > https://adwords.google.com/api/adwords/cm/v201306">******</authToken><developerToken > > xmlns="https://adwords.google.com/api/adwords/cm/v201306">******</developerToken><clientCustomerId > > xmlns="https://adwords.google.com/api/adwords/cm/v201306">9765518125</clientCustomerId><userAgent > > xmlns="https://adwords.google.com/api/adwords/cm/v201306">******** > (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/4.0.30319.18051, > gzip)</userAgent></RequestHeader></soap:Header><soap:Body><mutate xmlns=" > https://adwords.google.com/api/adwords/cm/v201306"><operations><operator>SET</operator><operand > > xsi:type="BiddableAdGroupCriterion"><adGroupId>3790202104</adGroupId><criterion > > xsi:type="Keyword"><id>37523985304</id></criterion><biddingStrategyConfiguration><bids > > xsi:type="CpcBid"><bid><microAmount>800000</microAmount></bid></bids></biddingStrategyConfiguration></operand></operations></mutate></soap:Body></soap:Envelope> > > Response (Mutate) > -------- > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ > "><!--Content-Encoding: > X-Content-Type-Options: nosniff > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > Content-Length: 535 > Cache-Control: private, max-age=0 > Content-Type: text/xml; charset=UTF-8 > Date: Mon, 22 Jul 2013 11:01:16 GMT > Expires: Mon, 22 Jul 2013 11:01:16 GMT > Server: GSE > TimeStamp: Mon, 22 Jul 2013 12:02:27 GMT > --><soap:Header><ResponseHeader xmlns=" > https://adwords.google.com/api/adwords/cm/v201306"><requestId>0004e2179870ad280ae50e8800004419</requestId><serviceName>AdGroupCriterionService</serviceName><methodName>mutate</methodName><operations>0</operations><responseTime>478</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[EntityNotFound.INVALID_ID > > @ operations[0].operand.criterion.id; > trigger:'CriterionId{id=37523985304}']</faultstring><detail><ApiExceptionFault > > xmlns="https://adwords.google.com/api/adwords/cm/v201306"><message>[EntityNotFound.INVALID_ID > > @ operations[0].operand.criterion.id; > trigger:'CriterionId{id=37523985304}']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="EntityNotFound"><fieldPath>operations[0].operand.criterion.id > </fieldPath><trigger>CriterionId{id=37523985304}</trigger><errorString>EntityNotFound.INVALID_ID</errorString><ApiError.Type>EntityNotFound</ApiError.Type><reason>INVALID_ID</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope> > -----------------END API CALL----------------------- > > -----------------BEGIN API CALL--------------------- > > Request (Get) > ------- > > > <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap=" > http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema"><!--POST > /api/adwords/cm/v201306/AdGroupCriterionService > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client > Protocol 4.0.30319.18051) > VsDebuggerCausalityData: > uIDPo3bOCEf8qJROof0bhcA1TDcAAAAAT2HD25jDzUGnU2As9HdxCUHJYPMJGZBCiWlffLMJkWEACQAA > Content-Type: text/xml; charset=utf-8 > SOAPAction: "" > Host: adwords.google.com > Content-Length: 2621 > Accept-Encoding: gzip > Connection: Keep-Alive > TimeStamp: Mon, 22 Jul 2013 12:03:30 GMT > --><soap:Header><RequestHeader xmlns=" > https://adwords.google.com/api/adwords/cm/v201306"><authToken xmlns=" > https://adwords.google.com/api/adwords/cm/v201306">******</authToken><developerToken > > xmlns="https://adwords.google.com/api/adwords/cm/v201306">******</developerToken><clientCustomerId > > xmlns="https://adwords.google.com/api/adwords/cm/v201306">9765518125</clientCustomerId><userAgent > > xmlns="https://adwords.google.com/api/adwords/cm/v201306">******** > (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/4.0.30319.18051, > gzip)</userAgent></RequestHeader></soap:Header><soap:Body><get xmlns=" > https://adwords.google.com/api/adwords/cm/v201306 > "><serviceSelector><fields>AdGroupId</fields><fields>CriterionUse</fields><fields>Status</fields><fields>SystemServingStatus</fields><fields>ApprovalStatus</fields><fields>DisapprovalReasons</fields><fields>DestinationUrl</fields><fields>FirstPageCpc</fields><fields>IsKeywordAdRelevanceAcceptable</fields><fields>IsLandingPageQualityAcceptable</fields><fields>IsLandingPageLatencyAcceptable</fields><fields>QualityScore</fields><fields>BiddingStrategyType</fields><fields>CpcBid</fields><fields>CpcBidSource</fields><fields>CpmBid</fields><fields>CpmBidSource</fields><fields>PercentCpaBid</fields><fields>PercentCpaBidSource</fields><fields>Id</fields><fields>CriteriaType</fields><fields>AgeRangeType</fields><fields>UserInterestId</fields><fields>UserInterestName</fields><fields>UserListId</fields><fields>UserListMembershipStatus</fields><fields>GenderType</fields><fields>KeywordText</fields><fields>KeywordMatchType</fields><fields>MobileAppCategoryId</fields><fields>DisplayName</fields><fields>PlacementUrl</fields><fields>Text</fields><fields>VerticalId</fields><fields>VerticalParentId</fields><fields>Path</fields><predicates><field>AdGroupId</field><operator>EQUALS</operator><values>3790202104</values></predicates><predicates><field>Id</field><operator>EQUALS</operator><values>37523985304</values></predicates><paging><startIndex>0</startIndex><numberResults>10000</numberResults></paging></serviceSelector></get></soap:Body></soap:Envelope> > > Response (Get) > -------- > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ > "><!--Content-Encoding: > X-Content-Type-Options: nosniff > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > Content-Length: 593 > Cache-Control: private, max-age=0 > Content-Type: text/xml; charset=UTF-8 > Date: Mon, 22 Jul 2013 11:02:19 GMT > Expires: Mon, 22 Jul 2013 11:02:19 GMT > Server: GSE > TimeStamp: Mon, 22 Jul 2013 12:03:30 GMT > --><soap:Header><ResponseHeader xmlns=" > https://adwords.google.com/api/adwords/cm/v201306"><requestId>0004e2179c2f6e900ae503c600005ebd</requestId><serviceName>AdGroupCriterionService</serviceName><methodName>get</methodName><operations>0</operations><responseTime>415</responseTime></ResponseHeader></soap:Header><soap:Body><getResponse > > xmlns="https://adwords.google.com/api/adwords/cm/v201306"><rval><totalNumEntries>1</totalNumEntries><Page.Type>AdGroupCriterionPage</Page.Type><entries > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="BiddableAdGroupCriterion"><adGroupId>3790202104</adGroupId><criterionUse>BIDDABLE</criterionUse><criterion > > xsi:type="Keyword"><id>37523985304</id><type>KEYWORD</type><Criterion.Type>Keyword</Criterion.Type><text>cheap > > David Haye Dereck Chisora > tickets</text><matchType>BROAD</matchType></criterion><AdGroupCriterion.Type>BiddableAdGroupCriterion</AdGroupCriterion.Type><userStatus>DELETED</userStatus><stats><network>SEARCH</network><Stats.Type>Stats</Stats.Type></stats><biddingStrategyConfiguration><biddingStrategyType>MANUAL_CPC</biddingStrategyType></biddingStrategyConfiguration></entries></rval></getResponse></soap:Body></soap:Envelope> > -----------------END API CALL----------------------- > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.