|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.Job
com.google.api.ads.adwords.v201109.cm.BulkMutateJob
public class BulkMutateJob
A BulkMutateJob is essentially a mixed collection of mutate
operations from the following AdWords API campaign management services:
CampaignServiceCampaignTargetServiceCampaignCriterionServiceAdGroupServiceAdGroupAdServiceAdGroupCriterionServiceThe mutate operations in a job's request are constructed in exactly the same way as they are for synchronous calls to these services.
The mutate operations are grouped by their scoping entity in the AdWords customer tree. Currently, mutate operations can be grouped either by the customer or by their parent campaign. However, they cannot be grouped both ways - some by customer and others by campaigns - in the same job.
Note: A job may have no more than 500,000 mutate operations in total, and no more than 10 different scoping campaigns.
The mutate operations must be packaged into containers
called
Operation Streams, each tagged with the ID of
the scoping entity of
its operations.
To facilitate the building of very large bulk mutate jobs, the operation streams of a job can be submitted using multiple request parts. A job is queued for processing as soon as it can be determined that all of its request parts have been received.
Note: A job may have no more than 100 request parts. Each part may have no more than 25 operation streams and no more than 10,000 operations in total.
| Constructor Summary | |
|---|---|
BulkMutateJob()
|
|
BulkMutateJob(String customerJobKey,
ApiErrorReason failureReason,
JobStats stats,
BillingSummary billingSummary,
String jobType,
Long id,
BulkMutateJobPolicy policy,
BulkMutateRequest request,
BasicJobStatus status,
BulkMutateJobEvent[] history,
BulkMutateResult result,
Integer numRequestParts,
Integer numRequestPartsReceived)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
BulkMutateJobEvent[] |
getHistory()
Gets the history value for this BulkMutateJob. |
BulkMutateJobEvent |
getHistory(int i)
|
Long |
getId()
Gets the id value for this BulkMutateJob. |
Integer |
getNumRequestParts()
Gets the numRequestParts value for this BulkMutateJob. |
Integer |
getNumRequestPartsReceived()
Gets the numRequestPartsReceived value for this BulkMutateJob. |
BulkMutateJobPolicy |
getPolicy()
Gets the policy value for this BulkMutateJob. |
BulkMutateRequest |
getRequest()
Gets the request value for this BulkMutateJob. |
BulkMutateResult |
getResult()
Gets the result value for this BulkMutateJob. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
BasicJobStatus |
getStatus()
Gets the status value for this BulkMutateJob. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setHistory(BulkMutateJobEvent[] history)
Sets the history value for this BulkMutateJob. |
void |
setHistory(int i,
BulkMutateJobEvent _value)
|
void |
setId(Long id)
Sets the id value for this BulkMutateJob. |
void |
setNumRequestParts(Integer numRequestParts)
Sets the numRequestParts value for this BulkMutateJob. |
void |
setNumRequestPartsReceived(Integer numRequestPartsReceived)
Sets the numRequestPartsReceived value for this BulkMutateJob. |
void |
setPolicy(BulkMutateJobPolicy policy)
Sets the policy value for this BulkMutateJob. |
void |
setRequest(BulkMutateRequest request)
Sets the request value for this BulkMutateJob. |
void |
setResult(BulkMutateResult result)
Sets the result value for this BulkMutateJob. |
void |
setStatus(BasicJobStatus status)
Sets the status value for this BulkMutateJob. |
| Methods inherited from class com.google.api.ads.adwords.v201109.cm.Job |
|---|
getBillingSummary, getCustomerJobKey, getFailureReason, getJobType, getStats, setBillingSummary, setCustomerJobKey, setFailureReason, setJobType, setStats |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BulkMutateJob()
public BulkMutateJob(String customerJobKey,
ApiErrorReason failureReason,
JobStats stats,
BillingSummary billingSummary,
String jobType,
Long id,
BulkMutateJobPolicy policy,
BulkMutateRequest request,
BasicJobStatus status,
BulkMutateJobEvent[] history,
BulkMutateResult result,
Integer numRequestParts,
Integer numRequestPartsReceived)
| Method Detail |
|---|
public Long getId()
BulkMutateJobService after adding a new
job.
This field is
read only and should not be set for following Operators :
ADD. If this field is sent to the API, it will be ignored.public void setId(Long id)
id - * ID of this bulk mutate job, which is returned by
BulkMutateJobService after adding a new
job.
This field is
read only and should not be set for following Operators :
ADD. If this field is sent to the API, it will be ignored.public BulkMutateJobPolicy getPolicy()
Operators :
SET. If this field is sent to the API, it will be ignored.public void setPolicy(BulkMutateJobPolicy policy)
policy - * Defines which existing jobs are required to successfully process
before
starting this job. This field can only be set
when adding a new job.
This field is
read only and should not be set for following Operators :
SET. If this field is sent to the API, it will be ignored.public BulkMutateRequest getRequest()
BulkMutateJob
can
contain up to 100 request parts (each with a unique
partIndex), only one can be added
or
updated at a time for optimization purposes.
This field is
required and should not be null when it is contained within
Operators : ADD.public void setRequest(BulkMutateRequest request)
request - * A request part of this job. Even though a BulkMutateJob
can
contain up to 100 request parts (each with a unique
partIndex), only one can be added
or
updated at a time for optimization purposes.
This field is
required and should not be null when it is contained within
Operators : ADD.public BasicJobStatus getStatus()
public void setStatus(BasicJobStatus status)
status - * Status of this job.
This field is
read only and should not be set. If this field is sent to the API,
it will be ignored.public BulkMutateJobEvent[] getHistory()
public void setHistory(BulkMutateJobEvent[] history)
history - * History of status changes of this job.
This field is
read only and should not be set. If this field is sent to the API,
it will be ignored.public BulkMutateJobEvent getHistory(int i)
public void setHistory(int i,
BulkMutateJobEvent _value)
public BulkMutateResult getResult()
public void setResult(BulkMutateResult result)
result - * The selected result part of this job.
This field is
read only and should not be set. If this field is sent to the API,
it will be ignored.public Integer getNumRequestParts()
public void setNumRequestParts(Integer numRequestParts)
numRequestParts - * Total number of request parts (maximum of 100) in this job.public Integer getNumRequestPartsReceived()
ADD
and
SET operations. This job will begin processing
when
numRequestPartsReceived equals
numRequestParts.
This field is
read only and should not be set. If this field is sent to the API,
it will be ignored.public void setNumRequestPartsReceived(Integer numRequestPartsReceived)
numRequestPartsReceived - * Number of request parts currently received via ADD
and
SET operations. This job will begin processing
when
numRequestPartsReceived equals
numRequestParts.
This field is
read only and should not be set. If this field is sent to the API,
it will be ignored.public boolean equals(Object obj)
equals in class Jobpublic int hashCode()
hashCode in class Jobpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||