All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.adsense.v2.Adsense.Accounts.Adclients.Customchannels.html Maven / Gradle / Ivy

The newest version!






Adsense.Accounts.Adclients.Customchannels (AdSense Management API v2-rev20241211-2.0.0)












com.google.api.services.adsense.v2

Class Adsense.Accounts.Adclients.Customchannels

  • java.lang.Object
    • com.google.api.services.adsense.v2.Adsense.Accounts.Adclients.Customchannels
    • Constructor Detail

      • Customchannels

        public Customchannels()
    • Method Detail

      • create

        public Adsense.Accounts.Adclients.Customchannels.Create create(String parent,
                                                                       CustomChannel content)
                                                                throws IOException
        Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. Create a request for the method "customchannels.create". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The ad client to create a custom channel under. Format: accounts/{account}/adclients/{adclient}
        content - the CustomChannel
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Adsense.Accounts.Adclients.Customchannels.Delete delete(String name)
                                                                throws IOException
        Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. Create a request for the method "customchannels.delete". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Name of the custom channel to delete. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
        Returns:
        the request
        Throws:
        IOException
      • get

        public Adsense.Accounts.Adclients.Customchannels.Get get(String name)
                                                          throws IOException
        Gets information about the selected custom channel. Create a request for the method "customchannels.get". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
        Returns:
        the request
        Throws:
        IOException
      • list

        public Adsense.Accounts.Adclients.Customchannels.List list(String parent)
                                                            throws IOException
        Lists all the custom channels available in an ad client. Create a request for the method "customchannels.list". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The ad client which owns the collection of custom channels. Format: accounts/{account}/adclients/{adclient}
        Returns:
        the request
        Throws:
        IOException
      • listLinkedAdUnits

        public Adsense.Accounts.Adclients.Customchannels.ListLinkedAdUnits listLinkedAdUnits(String parent)
                                                                                      throws IOException
        Lists all the ad units available for a custom channel. Create a request for the method "customchannels.listLinkedAdUnits". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The custom channel which owns the collection of ad units. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Adsense.Accounts.Adclients.Customchannels.Patch patch(String name,
                                                                     CustomChannel content)
                                                              throws IOException
        Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method. Create a request for the method "customchannels.patch". This request holds the parameters needed by the adsense server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
        content - the CustomChannel
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy