Hello, I am trying to get the first date when the cost of any campaign of
the customer is not zero.
For this purpose I am doing the following
$campaignService = $user->GetService('CampaignService', 'v201109_1');
$selector = new Selector();
$selector->fields = array('Id', 'Cost', 'StartDate');
// We need the campaigns that costs something
$selector->predicates[] = new Predicate('Cost', "GREATER_THAN", array(0));
$selector->ordering[] = new OrderBy('StartDate', 'ASCENDING');
$selector->paging = new Paging(0, 1);
$page = $campaignService->get($selector);
>From that, I can get the date of the first campaign that costs something.
Then I am searching using the date ranges. But when I am verifying the
date, which I found, in MCC, I see that there is a lot of non-zero costs
before this date.
Why it is so and how I can fix it?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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