Add Campaign Structure Error CANNOT_TARGET_PARTNER_SEARCH_NETWORK

2016-09-09 Thread Irfan Ismail
Hi,

We have some issue related adwords api for add campaign structure.
We have issue when add campaign structure to Adwords using batch process 
but get error CANNOT_TARGET_PARTNER_SEARCH_NETWORK.

After search to adwords forum I got answer as bellow : 

Hi,

As mentioned in the docs, partner networks can be used for some specific 
accounts. 
And it's not possible to enable it through API.
Please remove that setting from the request.

Best,
- Takeshi, AdWords API Team


On Tuesday, April 30, 2013 5:28:44 PM UTC+9, Matej Kloska wrote:
>
> Hi,
> is it possible to enable partner networks through API?
>
> I'm still getting error TargetError.CANNOT_TARGET_PARTNER_SEARCH_NETWORK
> and in documentation is mentioned, that it is available to only some 
> specific Google partner accounts.
> What does it mean?
>
> Client library: AW API PHP 4.2.2
> Version: v201302
>

Is this answer still applicable for current adwords api and is there any 
solution for this issue?

Thanks,
Irfan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8c93a55e-94f2-487d-9e72-634d1dd35708%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobProcessingError.INTERNAL_ERROR when processing campaign structure with campaing criterion and extension operations

2016-08-19 Thread Irfan Ismail
Hi,

After excluding extension operations from batch process the issue is solved.

Thanks,
Irfan

On Friday, August 19, 2016 at 1:17:36 AM UTC+7, Irfan Ismail wrote:
>
> Hi,
>
> I got INTERNAL_ERROR issue when adding campaing structure using batch 
> process with campaign criterion and extension operations. But I didn't get 
> this issue when processing campaign structure without campaign criterion 
> and extension operations.
>
> Here the error message from log :
>
> 
> 
> 
> 
> BatchJobProcessingError.INTERNAL_ERROR
> 
> BatchJobProcessingError
> INTERNAL_ERROR
> 
>
> I tried to google it but not found useful information for my problem.
>
> Thanks,
> Irfan
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e6e7375b-3da5-4b6e-bb81-3a9fdbba240d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BatchJobProcessingError.INTERNAL_ERROR when processing campaign structure with campaing criterion and extension operations

2016-08-18 Thread Irfan Ismail
Hi,

I got INTERNAL_ERROR issue when adding campaing structure using batch 
process with campaign criterion and extension operations. But I didn't get 
this issue when processing campaign structure without campaign criterion 
and extension operations.

Here the error message from log :





BatchJobProcessingError.INTERNAL_ERROR

BatchJobProcessingError
INTERNAL_ERROR


I tried to google it but not found useful information for my problem.

Thanks,
Irfan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/49a944d0-b790-40f4-a1b2-507b153a47d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Null operation when uploading AdGroupAdOperation using batch processing

2016-08-16 Thread Irfan Ismail
After checking I found out that several operations not build correctly 
causing entire upload to be failed. After some fix to code this issue is 
solved.

Thanks,
Irfan

On Tuesday, August 16, 2016 at 10:50:49 AM UTC+7, Joyce Lava wrote:
>
> Hi Irfan,
>
> Could you please send the complete SOAP request and response and the 
> clientCustomerId used when you encountered the issue? Also, sending the 
> complete code while using the 
> BatchJobHelper.uploadIncrementalBatchJobOperations for uploading 
> the AdGroupAdOperation should help to check the case further. Please make 
> sure to use *Reply Privately to Author* when sending these information.
>
> Thanks,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/80c0f87e-d761-4a0a-a6f5-daa6916dca2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error Null operation when uploading AdGroupAdOperation using batch processing

2016-08-15 Thread Irfan Ismail
I used adwords batch processing api to create adwords campaign structures. 
When uploading operations using 
BatchJobHelper.uploadIncrementalBatchJobOperations I got error Null 
operation, as bellow :

java.lang.NullPointerException: Null operation
at 
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:228) 
~[guava-19.0.jar!/:na]
at 
com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobMutateRequest.addOperation(BatchJobMutateRequest.java:82)
 
~[adwords-axis-2.17.0.jar!/:na]
at 
com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobMutateRequest.addOperations(BatchJobMutateRequest.java:87)
 
~[adwords-axis-2.17.0.jar!/:na]
at 
com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobHelperImpl.uploadIncrementalBatchJobOperations(BatchJobHelperImpl.java:85)
 
~[adwords-axis-2.17.0.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.7.0_101]
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[na:1.7.0_101]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[na:1.7.0_101]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_101]
at 
com.google.api.ads.common.lib.utils.AdsUtilityInvocationHandler.handleInvocation(AdsUtilityInvocationHandler.java:46)
 
~[ads-lib-2.17.0.jar!/:na]
at 
com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
 
~[guava-19.0.jar!/:na]
at com.sun.proxy.$Proxy81.uploadIncrementalBatchJobOperations(Unknown 
Source) ~[na:na]
at 
com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobHelper.uploadIncrementalBatchJobOperations(BatchJobHelper.java:65)
 
~[adwords-axis-2.17.0.jar!/:na]
at 
com.kofera.pusher.service.impl.BatchProcessServiceImpl.startBatchProcess(BatchProcessServiceImpl.java:154)
 
~[classes!/:na]
at 
com.kofera.pusher.service.impl.PushBatchServiceImpl.processTask(PushBatchServiceImpl.java:109)
 
[classes!/:na]
at 
com.kofera.pusher.service.impl.PushBatchServiceImpl.access$200(PushBatchServiceImpl.java:29)
 
[classes!/:na]
at 
com.kofera.pusher.service.impl.PushBatchServiceImpl$1.run(PushBatchServiceImpl.java:72)
 
[classes!/:na]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[na:1.7.0_101]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[na:1.7.0_101]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_101]

I try to upload CampaignOperation and AdGroupOperation separately and its 
succeed. Only when I try to upload AdGroupAdOperation I got the Null 
Operation error again. 

Here the code how i compose the AdGroupAdOperation :

private AdGroupAdOperation composeAddOperation(Ad obj) {

// Compose Operand
TextAd textAd = new TextAd();
textAd.setHeadline(obj.getH());
textAd.setDescription1(obj.getD1());
textAd.setDescription2(obj.getD2());
textAd.setDisplayUrl(obj.getDu());
textAd.setFinalUrls(new String[] { obj.getFu() });
AdGroupAd adGroupAd = new AdGroupAd();
adGroupAd.setAdGroupId(obj.getAdGroupOrigId());
adGroupAd.setAd(textAd);

// Create operation
AdGroupAdOperation operation = new AdGroupAdOperation();
operation.setOperand(adGroupAd);
operation.setOperator(Operator.ADD);

return operation;
}

Please let me now if more information is required.

Thanks,
Irfan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/99f67b9d-be5c-46b9-ab6a-85a130feaca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.