How to remove mails from my adwords account
To remove emails from your AdWords account, you can follow these steps:
Method 1: Remove individual emails
- Log in to your AdWords account.
- Click on the "Tools" icon (represented by a wrench) in the top navigation bar.
- Select "Account settings" from the dropdown menu.
- Scroll down to the "Account access" section.
- Click on "Manage access" next to "Authorized users".
- Find the email address you want to remove and click the "Remove" button next to it.
- Confirm that you want to remove the email address by clicking "Remove" in the pop-up window.
Method 2: Remove all emails except your own
- Log in to your AdWords account.
- Click on the "Tools" icon (represented by a wrench) in the top navigation bar.
- Select "Account settings" from the dropdown menu.
- Scroll down to the "Account access" section.
- Click on "Manage access" next to "Authorized users".
- Click on the "Remove all access" button at the top of the page.
- Confirm that you want to remove all access by clicking "Remove" in the pop-up window.
Method 3: Remove emails using the AdWords API
If you have a large number of emails to remove or need to automate the process, you can use the AdWords API to remove emails programmatically. You'll need to:
- Set up a Google Cloud account and enable the AdWords API.
- Create a new project and enable the AdWords API.
- Create a client ID and client secret for your project.
- Use the AdWords API to make a request to remove the email addresses. You can use the
accounts.users.list
method to retrieve a list of users, and then use theaccounts.users.update
method to remove the email addresses.
Here's an example of how you can use the AdWords API to remove an email address:
import google.auth
from googleapiclient.discovery import build
# Set up authentication
creds, project = google.auth.default(scopes=['https://www.googleapis.com/auth/adwords'])
# Create the AdWords API client
adwords = build('adwords', 'v201809', credentials=creds)
# Set the account ID and email address to remove
account_id = '1234567890'
email_address = '[email protected]'
# Make a request to remove the email address
response = adwords.accounts().users().update(
accountId=account_id,
userStatus='REMOVED',
emailAddress=email_address
).execute()
print(response)
Note that you'll need to replace the account_id
and email_address
variables with the actual values for your AdWords account.