Our API key is not allowing us to access new Campaigns from Accounts that our Account has access to. We are simply receiving a subset of the Campaigns that exist under the Account ID we are requesting for. Would like to understand why or if we are calling with a filter we should not be.
Our Account ID: 688-509-5816 *Example 1: * Account we are working with Google Ads ID: 508-781-5391 Campaign ID we are unable to access: 11228279179 There is October Data for this Campaign *Example 2: * Account we are working with Google Ads ID: 206-397-9588 Campaign ID we are unable to access: 11246543414 There is October Data for this Campaign *Our API call:* public function testGetCampaigns() { $adwordsConfigData = config('adwords'); $customerId = '5087815391'; $configuration = new Configuration($adwordsConfigData); $oAuth2Credential = (new OAuth2TokenBuilder()) ->from($configuration) ->build(); $session = (new AdWordsSessionBuilder()) ->from($configuration) ->withOAuth2Credential($oAuth2Credential) ->withClientCustomerId($customerId) ->build(); $service = (new AdWordsServices()) ->get($session, \Google\AdsApi\AdWords\v201809\cm\CampaignService::class); $selector = new Selector(); $selector->setFields(['Id', 'Name', 'Status']); $selector->setPredicates([ new Predicate('CampaignStatus', PredicateOperator::IN, ['ENABLED', 'PAUSED', 'REMOVED']) ]); $page = $service->get($selector); $entries = $page->getEntries(); $this->assertGreaterThan(0, $page->getTotalNumEntries()); } Erik -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/3404c8c4-8c32-453d-b091-772f28e98570n%40googlegroups.com.