Submit a Ticket My Tickets
Welcome
Login  Sign up

[Offers] GetMediaTypeCategories (V2) - Affiliate

WSDL Page:  http://<your_domain_here>/affiliate/api/2/offers.asmx?op=GetMediaTypeCategories

 

Parameter Summary:

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

 

Parameter Types:

api_key - ID

affiliate_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/offers.asmx/GetMediaTypeCategories?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969&campaign_id=1000006 


Sample XML Response:

<media_type_category_response>
  <success>true</success>
  <row_count>5</row_count>
  <media_type_categories>

    <media_type_category>

       <category_id>0</category_id>

       <category_name>Unknown</category_name>

    </media_type_category>

    <media_type_category>
      <category_id>1</category_id>
      <category_name>Display</category_name>
    </media_type_category>
    <media_type_category>
      <category_id>2</category_id>
      <category_name>Search</category_name>
    </media_type_category>
    <media_type_category>
      <category_id>3</category_id>
      <category_name>Email</category_name>
    </media_type_category>
    <media_type_category>
      <category_id>4</category_id>
      <category_name>Other</category_name>
    </media_type_category>
  </media_type_categories>
</media_type_category_response>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.