Hello Dan,
For this particular case, yes. It is easy to fetch all the IDs you want
with a report and then process then as you need to.
No, report data is as up to date as services and UI. Only stats can be
delayed (though stats are not available in services and also delayed in the
UI).
-Danial, AdWords API Team.
On Wednesday, June 25, 2014 6:38:47 PM UTC+4, Dan wrote:
>
> Hi Danial,
>
> Does that mean I have to use the ReportDownloader API, instead of the
> AdGroupService and AdGroupCriterionService?
>
> Is it true that the ReportDownloader could return data that is a few hours
> old, whereas AdGroupService and AdGroupCriterionService will always return
> up to date data (e.g. if an adgroup was created a few minutes ago, it will
> be present in the AdGroupService results but perhaps not in the
> ReportDownloader results)
>
> Thanks :)
>
> On Tuesday, 24 June 2014 10:31:33 UTC+1, Danial Klimkin wrote:
>>
>> Hello Dan,
>>
>>
>> Both AdGroup and Criteria performance reports have "CampaignStatus" field
>> you can retrieve and filter on.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, June 23, 2014 8:07:08 PM UTC+4, Dan wrote:
>>>
>>> Hi,
>>>
>>> On AdGroups and AdGroupCriterions there is a Status field which can be
>>> ENABLED, PAUSED or DELETED.
>>>
>>> However, it appears that if e.g. the parent campaign is PAUSED, the
>>> child AdGroup status field could be ENABLED (even though in reality, the
>>> adgroup is paused because the parent is paused).
>>>
>>> Is there a way to find the *actual *state of the AdGroup without
>>> checking the parent?
>>>
>>> A related question: I want to retrieve all non-deleted, enabled
>>> AdGroups. It appears that to do this I first need to retrieve all
>>> non-deleted, enabled Campaigns and then use the campaign ids in a predicate:
>>>
>>> SelectorBuilder builder = new SelectorBuilder()
>>> .fields("Status")
>>> .notEquals("Status", "DELETED")
>>> .in("CampaignId", adwordsCampaignIds.toArray(new
>>> String[adwordsCampaignIds.size()]));
>>>
>>> Is there a way to make this query without retrieving the parent
>>> campaigns first? It feels like there should be a simple way to get all
>>> enabled AdGroups. (and similar for keywords/AdGroupCriterions - in this
>>> case I need to use 3 select operations: to retrieve all campaigns AND all
>>> adgroups AND all keywords. In fact, if there are more than 10,000 adgroups
>>> then I get a TOO_MANY_PREDICATES error, so I may end up using 10 operations
>>> just to retrieve the active keywords!)
>>>
>>> Thanks for any advice :)
>>>
>>>
>>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.