Hi ;

I am facing problem with updating Ad group.
I want to Pause, Delete or Resume AdGroups ..  Here is my class. not
showing any  error but not doing any task. i mean the status remain
unchanged.

here is my code releted with update group


AdGroup adGroup = new AdGroup();

adGroup.id =
long.Parse(groupId);

adGroup.name = adGroupName;

switch (groupStatus)

{

 case 1:

adGroup.status =
AdGroupStatus.Enabled;

break;

case 2:

adGroup.status =
AdGroupStatus.Paused;

break;

case 0:

adGroup.status =
AdGroupStatus.Deleted;

break;

}

 service.updateAdGroup(adGroup);

no error messages but i coul not change status. please suggest me, what is
the problem of my code.

thank you.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to