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

  1. Log in to your AdWords account.
  2. Click on the "Tools" icon (represented by a wrench) in the top navigation bar.
  3. Select "Account settings" from the dropdown menu.
  4. Scroll down to the "Account access" section.
  5. Click on "Manage access" next to "Authorized users".
  6. Find the email address you want to remove and click the "Remove" button next to it.
  7. 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

  1. Log in to your AdWords account.
  2. Click on the "Tools" icon (represented by a wrench) in the top navigation bar.
  3. Select "Account settings" from the dropdown menu.
  4. Scroll down to the "Account access" section.
  5. Click on "Manage access" next to "Authorized users".
  6. Click on the "Remove all access" button at the top of the page.
  7. 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:

  1. Set up a Google Cloud account and enable the AdWords API.
  2. Create a new project and enable the AdWords API.
  3. Create a client ID and client secret for your project.
  4. 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 the accounts.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.