I use Java v200909.
I have a question about
AdGroupCriterionSelector#setUserStatuses(Userstatus[] userStatuses).
Userstatus.ACTIVE and Userstatus.PAUSED are well-functioning.
However, Userstatus.DELETED is NOT well-functioning, I think.
For example, the following code doesn't work.
AdGroupCriterionServiceInterface adGroupCriterionService
=
user.getService(AdWordsService.V200909.ADGROUP_CRITERION_SERVICE);
AdGroupCriterionSelector selector = new AdGroupCriterionSelector();
selector.setIdFilters(new AdGroupCriterionIdFilter[]{
new AdGroupCriterionIdFilter(12345L, 67890L, null)
});
selector.setCriterionUse(CriterionUse.BIDDABLE);
selector.setUserStatuses(new UserStatus[]{UserStatus.DELETED});
adGroupCriterionService.get(selector).getEntries();
A part of soap request is the following.
<soapenv:Body>
<get xmlns="https://adwords.google.com/api/adwords/cm/v200909">
<selector>
<idFilters>
<campaignId>12345</campaignId>
<adGroupId>67890</adGroupId>
</idFilters>
<criterionUse>BIDDABLE</criterionUse>
<userStatuses>DELETED</userStatuses>
</selector>
</get>
</soapenv:Body>
I just ran some tests and the selector appears to be working
correctly. Please keep in mind that deleting a keyword can have two
different outcomes:
- If the keyword has never had an impression then it will be
completely removed from the ad group, and it will not be returned with
any get() requests.
- If the keyword has had some impressions then it will remain in the
ad group with the DELETED status.
It could be that your ad group just doesn't have any keywords in this
DELETED status. You can verify this in the AdWords web interface.
Best,
- Eric Koleda, AdWords API Team
Where this specification is published?
I searched AdWords v2009 and google forum, however, I can't find...
And, the Creative is the same specification?
On 2月9日, 午前1:29, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
Unfortunately this behavior hasn't been clearly documented yet, and I
apologize for any confusion. AdGroupAds (Creatives) do not behave the
same, as even an ad with zero impressions will remain with the deleted
status.
Best,
- Eric
I understand.
Thank you for replying.
On 2月10日, 午前2:17, AdWords API Advisor <adwordsapiadvi...@google.com>
I had a question in mind. For AdGroupAd's whose status is Disabled, I
am not able to retrieve it from Google with the get() API call.
How can we get the AdGroupAds from Google whose Status="Disabled"?
Thanks,
Almas
On Feb 9, 10:17 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
> > > > </soapenv:Body>- Hide quoted text -
>
> - Show quoted text -
This is a known issue, that the AdGroupAdService doesn't return
DISABLED ads. Unfortunately I don't have a timeline for when a fix or
workaround will be made available.
Best,
- Eric
When this issue is fixed, we want to know that infomation.
How can we know that?
The following issues list?
http://code.google.com/p/google-api-adwords-java/issues/list
On 2月18日, 午前3:13, AdWords API Advisor <adwordsapiadvi...@google.com>
The issue list you pointed to is for the Java client library, and is
not meant to track generic API issues. Unfortunately there is no
central place to get this information, and your best option is to ping
this thread and I can check on the progress.
Best,
- Eric
On Feb 18, 7:03 am, ryo <tadaima10ji27...@gmail.com> wrote:
> Hi Eric,
>
> When this issue is fixed, we want to know that infomation.
> How can we know that?
>
> The following issues list?http://code.google.com/p/google-api-adwords-java/issues/list
On Feb 18, 10:04 am, AdWords API Advisor
<adwordsapiadvi...@google.com> wrote:
> Hi,
>
> The issue list you pointed to is for the Java client library, and is
> not meant to track generic API issues. Unfortunately there is no
> central place to get this information, and your best option is to ping
> this thread and I can check on the progress.
>
> Best,
> - Eric
>
> On Feb 18, 7:03 am, ryo <tadaima10ji27...@gmail.com> wrote:
>
> > Hi Eric,
>
> > When this issue is fixed, we want to know that infomation.
> > How can we know that?
>
> > The following issues list?http://code.google.com/p/google-api-adwords-java/issues/list
>
> > On 2月18日, 午前3:13, AdWords API Advisor <adwordsapiadvi...@google.com>
> > wrote:
>
> > > Hi Almas,
>
> > > This is a known issue, that the AdGroupAdService doesn't return
> > >DISABLEDads. Unfortunately I don't have a timeline for when a fix or
> > > workaround will be made available.
>
> > > Best,
> > > - Eric
>
> > > On Feb 16, 1:31 am, Almas Kanjiyani <kanjiyanial...@gmail.com> wrote:
>
> > > > Hi Eric,
>
> > > > I had a question in mind. ForAdGroupAd'swhose status isDisabled, I
Unfortunately the ability to retrieve DISABLED ads will not be
available until the next version of the API. Until then you can use
the v13 ReportService to obtain information about deleted ads:
http://code.google.com/apis/adwords/docs/developer/adwords_api_report_structure.html#aggr_Creative
Best,
- Eric