Change from deleted to removed

874 views
Skip to first unread message

Rodrigo Lopez Guerra

unread,
Jul 15, 2014, 6:22:20 AM7/15/14
to adwor...@googlegroups.com
Hi i just got the msg :
The "Status" column values in reports will soon be changed to show "Removed" instead of "Deleted." This change makes it clear that certain items, like campaigns, remain available for future reference.

If you use spreadsheets or other scripting languages for your downloaded reports, you might need to update them.

Is this impacting only the reports , or the status returned by the api will change as well ?

Thanks , 
Regards

Danial Klimkin

unread,
Jul 15, 2014, 7:18:10 AM7/15/14
to adwor...@googlegroups.com
Hello Rodrigo,


All of the services are affected, as an example, see the campaign status field:



-Danial, AdWords API Team.

Anash P. Oommen (AdWords API Team)

unread,
Jul 15, 2014, 1:53:39 PM7/15/14
to adwor...@googlegroups.com
Hi Rodrigo,

This will also affect API, but this change is versioned. If you use v201402 or earlier, you will get old values (e.g. Deleted), whereas you get the new values (e.g. Removed) when using v201406 or later. So you'd need to fix your code when migrating to v201406.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

MarcF

unread,
Jul 17, 2014, 5:18:14 AM7/17/14
to adwor...@googlegroups.com
Hi,
When an adgroup entity status is set to "Removed" with v201406, we can not switch status to Enabled or Paused (OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY).

But with the UI it's possible, and if we use 201402, the entity removed, can be restored with the wanted status (Paused,..)

How can we have the same behavior between UI and the API  v201406 ?

Thanks,
Regards

Eric Maas

unread,
Jul 21, 2014, 2:03:54 PM7/21/14
to adwor...@googlegroups.com
Hi,

We are also having trouble with this.  More specifically, using v201406, if we attempt to add a new AdGroup with the same name as a currently removed AdGroup, we still get a DUPLICATE_ADGROUP_NAME error.  However, we are unable to update the name of the removed AdGroup to something different (or change it's status to Paused/Active and then change the name and re-delete), as we get the OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY.

It seems that if you no longer allow operations on removed AdGroups, then there should no longer be a DUPLICATE_ADGROUP_NAME error when attempting to add a new AdGroup with it's name?

Thanks,
Eric

Anash P. Oommen (AdWords API Team)

unread,
Jul 23, 2014, 9:57:12 AM7/23/14
to adwor...@googlegroups.com
Hi Eric,

I believe that's because you can still undelete adgroups with v201402 or the UI.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Eric Maas

unread,
Jul 23, 2014, 11:14:59 AM7/23/14
to adwordsapia...@google.com, adwor...@googlegroups.com
OK thanks - we'll use v201402 to handle this for now, hopefully it will change once the version is retired.


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/uLdWDk7dMgs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Igor Schut

unread,
Aug 15, 2014, 8:36:00 AM8/15/14
to adwor...@googlegroups.com
Hi there,

We have stumbled on this exact same issue.

Can anyone explain to me the purpose behind all of this? These kind of changes have major impact; how come this never been a highlight in previous blogposts?

- Igor

Op woensdag 23 juli 2014 15:57:12 UTC+2 schreef Anash P. Oommen (AdWords API Team):

adword...@pass-consulting.com

unread,
Aug 22, 2014, 3:09:34 AM8/22/14
to adwor...@googlegroups.com
Hi, 

I have a question realted to this issue: I have a program which toggles the state of some adgroups between enabled and paused.
Since I determine which adgroups are affected by searching for certain keywords. I will now run into problems, if I detect a keyword which ia associated wit an deactivated adgroup

Is it possible to write a selector, which will find only keywords associated with a adgroups and campaigns which are not removed. As fas as I have seen I can include the field userStatus and filter for enabled keyword. But this will still find all enabled keywords, which are associated with removed adwords and will trigger an error if I try to change the status of the adgroup


Anash P. Oommen (AdWords API Team)

unread,
Aug 22, 2014, 12:28:29 PM8/22/14
to adwor...@googlegroups.com
Hi,

I believe you can include AdGroupStatus = ENABLED and CampaignStatus = ENABLED in the AWQL, though these aren't directly part of the AdGroupCriterion object. If that doesn't work, you'd have to do this yourself by fetching the campaigns and adgroups first using CampaignService and AdGroupService.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

adword...@pass-consulting.com

unread,
Aug 25, 2014, 4:55:11 AM8/25/14
to adwor...@googlegroups.com
Hi Anash,

I tried your tip using  the fields AdGroupStatus  resp. CampaignStatus. It did not work. Nor with the get method and neigther wit the query method.
When I tried
 $query = 'SELECT Id,  Status, KeywordText, AdGroupId  WHERE AdGroupStatus != ENABLED   ORDER BY Id';
 
 // Create paging controls.
 $offset = 0;
 $adGroupCriterionService = $user->GetAdGroupCriterionService ();
 do {
 $pageQuery = sprintf('%s LIMIT %d,%d', $query, $offset,
 AdWordsConstants::RECOMMENDED_PAGE_SIZE);
 // Make the query request.
 $page = $adGroupCriterionService->query($pageQuery);

I get an error has occurred: [SelectorError.INVALID_PREDICATE_FIELD_NAME @ query; trigger:'AdGroupStatus'].

Seems there is no way around doing it on my own.




Anash P. Oommen (AdWords API Team)

unread,
Aug 25, 2014, 10:00:27 AM8/25/14
to adwor...@googlegroups.com
Hi,

If that selector doesn't work, then there aren't any workarounds that I am aware of.

Cheers,
Anash
Reply all
Reply to author
Forward
0 new messages