Package com.restfb.types.ads
Class OffsitePixel
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.BaseAdsObject
com.restfb.types.ads.OffsitePixel
- All Implemented Interfaces:
Serializable
Represents the Offsite Pixel
Marketing API Type
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionID and name of the ad account that first created the pixelJavaScript code for the pixel that you should place in the head of the conversion pageLast time the pixel was firedgetTag()
One of:checkout
,registration
,lead
,key_page_view
,add_to_cart
,other
void
setCreator
(String creator) ID and name of the ad account that first created the pixelvoid
setJsPixel
(String jsPixel) JavaScript code for the pixel that you should place in the head of the conversion pagevoid
setLastFiringTime
(Date lastFiringTime) Last time the pixel was firedvoid
One of:checkout
,registration
,lead
,key_page_view
,add_to_cart
,other
Methods inherited from class com.restfb.types.ads.BaseAdsObject
getId, setId
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
OffsitePixel
public OffsitePixel()
-
-
Method Details
-
getCreator
ID and name of the ad account that first created the pixel -
setCreator
ID and name of the ad account that first created the pixel -
getJsPixel
JavaScript code for the pixel that you should place in the head of the conversion page -
setJsPixel
JavaScript code for the pixel that you should place in the head of the conversion page -
getLastFiringTime
Last time the pixel was fired -
setLastFiringTime
Last time the pixel was fired -
getTag
One of:checkout
,registration
,lead
,key_page_view
,add_to_cart
,other
-
setTag
One of:checkout
,registration
,lead
,key_page_view
,add_to_cart
,other
-