SQR report added/excluded column

2015-02-18 Thread anirudh . k
The SQR report on the adwords interface has a column "Added/Excluded" but 
the report from adwords API has no such column. Is there any way to get the 
added keywords? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1c8c34ca-f985-4d64-ab96-51ee504db6d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TrafficEstimatorService is not giving correct values as UI

2015-02-18 Thread suga priya
Thank a lot.

Regards,
Sugappriya

On Wednesday, 18 February 2015 18:37:31 UTC+5:30, Danial Klimkin wrote:
>
> Hello,
>
>
> Thank you for the details. I have reproduced the issue and I can't see any 
> good reason for discrepancy.
>
> I'll follow up internally and update this thread.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, February 18, 2015 at 9:36:15 AM UTC+3, suga priya wrote:
>>
>>
>> 
>> Hi,
>>
>> Thanks a lot. By mistake i shared the full response code If you don't 
>> mind can you please delete/hide your previous post, it has thread. 
>>
>> We have reset developer token as you suggested. 
>>
>> please find the below response for  "Fleet Management Software" and refer 
>> above UI screenshot for the same.
>>
>> Is something wrong in network settings? am using below code for that
>>
>> $network = new networkSetting();
>> $network->targetGoogleSearch = true;
>> $network->targetSearchNetwork = false;
>> $network->targetPartnerSearchNetwork  = false;
>> $network->targetContentNetwork=false;
>> $campaignEstimateRequest->networkSetting[] = $network;
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
>> https://adwords.google.com/api/adwords/cm/v201406"; xmlns:ns2="
>> https://adwords.google.com/api/adwords/o/v201406"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>>
>>   
>> 
>>   
>> 
>>   
>> 
>>   
>> Fleet Management Software
>> BROAD
>>   
>> 
>> 
>>   1000
>> 
>>   
>>   
>> 2840
>>   
>>   
>> 1000
>>   
>>   
>> 
>>   
>> 
>>   
>> 
>>
>> HTTP/1.1 200 OK
>> Content-Type: text/xml; charset=UTF-8
>> Content-Encoding: gzip
>> Date: Wed, 18 Feb 2015 06:17:16 GMT
>> Expires: Wed, 18 Feb 2015 06:17:16 GMT
>> Cache-Control: private, max-age=0
>> X-Content-Type-Options: nosniff
>> X-Frame-Options: SAMEORIGIN
>> X-XSS-Protection: 1; mode=block
>> Content-Length: 595
>> Server: GSE
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/";>
>>   
>> https://adwords.google.com/api/adwords/cm/v201406"; xmlns="
>> https://adwords.google.com/api/adwords/o/v201406";>
>>   00050f56c5601dc00abfa8886f0040fb
>>   AccountService
>>   get
>>   0
>>   387
>> 
>>   
>>   
>> https://adwords.google.com/api/adwords/cm/v201406"; xmlns="
>> https://adwords.google.com/api/adwords/o/v201406";>
>>   
>> 
>>   CampaignEstimate
>>   
>> AdGroupEstimate
>> 
>>   KeywordEstimate
>>   
>> 
>>   
>> Money
>>   5125336
>> 
>> 2.6073377028395788
>> 0.013362377714286167
>> 10.932334
>> 736.32855
>> 
>>   
>> Money
>>   62257648
>> 
>>   
>>   
>> 
>>   
>> Money
>>   6264300
>> 
>> 2.1332761995732525
>> 0.016331795770754498
>> 13.361743
>> 899.9572
>> 
>>   
>> Money
>>   76092688
>> 
>>   
>> 
>>   
>> 
>>   
>> 
>>   
>> 
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e5fd08c7-ea76-4f53-8d8c-4bab5c01a00d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to remove AdGroupFeed objects that reference a removed ad group

2015-02-18 Thread Josh Radcliff (AdWords API Team)
Hi,

I've got good news: you can now delete CampaignFeeds and AdGroupFeeds even 
when their associated campaigns or ad groups have already been deleted. 
Please give it a try and let me know if you encounter any issues.

Thanks,
Josh, AdWords API Team

On Friday, January 23, 2015 at 4:24:49 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> I'm following up with the feeds team to see if there's a way to get around 
> this issue via the API. I'll post back when I hear back from them.
>
> In the meantime, you could try collecting all ENABLED AdGroup IDs via 
> AdGroupService or reports, and then split up your AdGroupFeedService 
> request into multiple requests, each one using an *IN* list on a subset 
> of the ENABLED IDs.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, January 23, 2015 at 8:47:43 AM UTC-5, t.k...@social-mining.com 
> wrote:
>>
>> Hi,
>>
>> This is not working. I have some accounts that have a large number of 
>> removed ad groups, while others have a large number of enabled ad groups. 
>> When I try to filter AdGroupFeed objects based on the Ad Group IDs, either 
>> way I get SelectorError.TOO_MANY_PREDICATE_VALUE.
>>
>> Unfortunately the AdGroupFeed's Status attribute is read only, otherwise 
>> the problem could be largely avoided by simply removing AdGroupFeed objects 
>> prior to removing the Ad Group they link to.
>>
>> On Thursday, January 15, 2015 at 11:08:06 PM UTC+1, Josh Radcliff 
>> (AdWords API Team) wrote:
>>>
>>> Hi,
>>>
>>> Unfortunately, you cannot delete an *AdGroupFeed* via the API once its 
>>> associated *AdGroup* has been deleted. To filter out *AdGroupFeed*s for 
>>> your deleted *AdGroup*s, you could periodically poll AdGroupService 
>>> 
>>>  
>>> (or use AD_GROUP_PERFORMANCE_REPORT 
>>> ) 
>>> and collect the IDs of *REMOVED* ad groups, then exclude those IDs 
>>> using a predicate on *AdGroupId* when making your 
>>> *AdGroupFeedService.get* requests.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Thursday, January 15, 2015 at 8:23:39 AM UTC-5, 
>>> t.k...@social-mining.com wrote:

 I'm trying to remove some AdGroupFeed objects that reference Ad Groups 
 that where removed earlier. But the API is 
 returning: 
 OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY. 
 According to the API documentation it is impossible to mutate AdGroupFeed 
 objects that reference removed entities. Is there any way to get rid of 
 the 
 objects? They are making querying the AdGroupFeedService extremely slow.

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/947f95b9-ed20-4cc7-9daf-5dce9bcf1b69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Token to test accounts

2015-02-18 Thread Michael Cloonan (AdWords API Team)
Hello,

Please see our Sign Up page 
 for information 
on how to get a developer token and other requirements for using the API.

Note that you need to request your developer token from a *production* MCC 
account, not from a test account.

Regards,
Mike, AdWords API Team

On Wednesday, February 18, 2015 at 11:04:55 AM UTC-5, Fabian Perez wrote:
>
> Hi,
>
> I am conducting a test app to see how it works adwords API and view the 
> generalities. Now I created a test account with a new email and according to 
> the steps that I found in the Guide for AdWords API need to ask the token to 
> the account manager .
> Inside the test account that I have , I can not find the option to request 
> the token , so why ask them about it.
> I am new to this community and in the management of this API , so would 
> appreciate any help or information continues that I can be useful , thank you 
> very much.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ec2cd3da-90ee-4879-9be6-e21e89d2a31a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords api Network Unreachable Error

2015-02-18 Thread Michael Cloonan (AdWords API Team)
Hello,

This doesn't look like the kind of error message you would get from the 
AdWords API, even if the API were down. It's likely a connectivity issue 
somewhere earlier in the chain. Try troubleshooting your host server's 
connectivity or DNS.

Regards,
Mike, AdWords API Team

On Wednesday, February 18, 2015 at 1:06:18 PM UTC-5, MCC Test wrote:
>
> Hello Folks,
>
> I am working on adwords api and code is hosted on hostmonster shared 
> hosting server.Now I am facing one issue like when I make calls to api 
> sometimes I get the response properly and sometimes I get an error like 
> this "Failed to connect to 2607:f8b0:4007:808::200d: Network is 
> unreachable" not sure what's going wrong with this.
>
> Can anyone please help me out to sort this issue??
>
> Thanks,
> Ronak
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dedf6621-6246-453a-904e-dbb30d15c812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords api Network Unreachable Error

2015-02-18 Thread MCC Test
Hello Folks,

I am working on adwords api and code is hosted on hostmonster shared 
hosting server.Now I am facing one issue like when I make calls to api 
sometimes I get the response properly and sometimes I get an error like 
this "Failed to connect to 2607:f8b0:4007:808::200d: Network is unreachable" 
not sure what's going wrong with this.

Can anyone please help me out to sort this issue??

Thanks,
Ronak

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3636bfb1-f06e-47b6-9bf0-1604ac7d9a3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Token to test accounts

2015-02-18 Thread Fabian Perez
Hi,

I am conducting a test app to see how it works adwords API and view the 
generalities. Now I created a test account with a new email and according to 
the steps that I found in the Guide for AdWords API need to ask the token to 
the account manager .
Inside the test account that I have , I can not find the option to request the 
token , so why ask them about it.
I am new to this community and in the management of this API , so would 
appreciate any help or information continues that I can be useful , thank you 
very much.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ab8f87f2-7f17-4676-a7dd-911e2ea68061%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdvertisingChannelType null

2015-02-18 Thread Josh Radcliff (AdWords API Team)
Hi,

Thanks for pointing this out. Could you file an issue in the Java Client 
Library ? This will 
allow us to track the problem + will ensure you get updates once it's fixed.

Cheers,
Josh, AdWords API Team

On Wednesday, February 18, 2015 at 12:02:53 PM UTC-5, David B. wrote:
>
> Hi guys,
>
> Here a sample code, using the utility extension. I'm trying to get the 
> AdvertisingChannel value for each campaign, but I get a null value. I tried 
> (firstly) to get ExtendedManagedCampaigns, but nothing is set. 
>
> Is it a bug from the utility extension (so I'll post a feature request), 
> from the account (not updated ? - don't think so), or something not handled 
> by v201409 (open to shortlisted parters, as it can happend) ?
>
> Thanks for your help !
>
> Cheers
>
> import 
> com.google.api.ads.adwords.axis.utility.extension.ExtendedManagedCustomer;
> import com.google.api.ads.adwords.axis.utility.extension.ExtendedMcc;
> import com.google.api.ads.adwords.axis.v201409.cm.AdvertisingChannelType;
> import com.google.api.ads.adwords.axis.v201409.cm.Campaign;
> import com.google.api.ads.common.lib.conf.ConfigurationLoadException;
> import com.google.api.ads.common.lib.exception.OAuthException;
> import com.google.api.ads.common.lib.exception.ValidationException;
> import java.rmi.RemoteException;
> import java.util.List;
>
>
> public class NewMain {
>
> /**
>  * @param args the command line arguments
>  */
> public static void main(String[] args) throws OAuthException, 
> ValidationException, ConfigurationLoadException, RemoteException {
> 
> ExtendedMcc mcc = ExtendedMcc.withOAuth2FromFile();
> ExtendedManagedCustomer customer = 
> mcc.getExtendedManagedCustomer(accountIdLong);
> List campaigns = customer.getCampaigns();
> 
> for (Campaign c : campaigns) {
> AdvertisingChannelType channelType = 
> c.getAdvertisingChannelType(); // null value;
> 
> 
> }
> 
> }
> 
> }
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb9d6445-80b3-4624-a3a5-7e665792fc99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Create and Update Sitelinks for Campaigns

2015-02-18 Thread Josh Radcliff (AdWords API Team)
Hi,

The *operand* should point to your *CampaignFeed* object, but the *operator* 
should 
be set to *ADD*. In your code, you are setting the *operand* twice.

$operation->*operand* = $campaignFeed;
$operation->*operand* = 'ADD';

See the CampaignFeedOperation documentation 

 for 
details.

Thanks,
Josh, AdWords API Team

On Wednesday, February 18, 2015 at 10:50:22 AM UTC-5, abc def wrote:
>
> Here is my code:
>
> $combinedFunction = new \FeedFunction();
> $combinedFunction->operator = 'IN';
>
> $combinedFunction->lhsOperand = array($feedItemFunctionOperand, 
> $platformFunctionOperand);
>
> $campaignFeed = new \CampaignFeed();
> $campaignFeed->feedId = $sitelinksData['sitelinksFeedId'];
>
> $campaignFeed->campaignId = $campaignId;
> $campaignFeed->matchingFunction = $combinedFunction;
> $campaignFeed->placeholderTypes = array(PLACEHOLDER_SITELINKS);
>
> $operation = new \CampaignFeedOperation();
>
> $operation->operand = $campaignFeed;
> $operation->operand = 'ADD';
>
>
> Where is the problem? First time generating a feed with sitelinks, I use 
> the operand ADD, every next time when I would like to modify sitelinks, I 
> use SET.
> But the error above is there every time.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb778610-bc62-41b8-94c9-ff8125d029c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdvertisingChannelType null

2015-02-18 Thread David B.
Hi guys,

Here a sample code, using the utility extension. I'm trying to get the 
AdvertisingChannel value for each campaign, but I get a null value. I tried 
(firstly) to get ExtendedManagedCampaigns, but nothing is set. 

Is it a bug from the utility extension (so I'll post a feature request), 
from the account (not updated ? - don't think so), or something not handled 
by v201409 (open to shortlisted parters, as it can happend) ?

Thanks for your help !

Cheers

import 
com.google.api.ads.adwords.axis.utility.extension.ExtendedManagedCustomer;
import com.google.api.ads.adwords.axis.utility.extension.ExtendedMcc;
import com.google.api.ads.adwords.axis.v201409.cm.AdvertisingChannelType;
import com.google.api.ads.adwords.axis.v201409.cm.Campaign;
import com.google.api.ads.common.lib.conf.ConfigurationLoadException;
import com.google.api.ads.common.lib.exception.OAuthException;
import com.google.api.ads.common.lib.exception.ValidationException;
import java.rmi.RemoteException;
import java.util.List;


public class NewMain {

/**
 * @param args the command line arguments
 */
public static void main(String[] args) throws OAuthException, 
ValidationException, ConfigurationLoadException, RemoteException {

ExtendedMcc mcc = ExtendedMcc.withOAuth2FromFile();
ExtendedManagedCustomer customer = 
mcc.getExtendedManagedCustomer(accountIdLong);
List campaigns = customer.getCampaigns();

for (Campaign c : campaigns) {
AdvertisingChannelType channelType = 
c.getAdvertisingChannelType(); // null value;


}

}

}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/48f0daec-6188-4ab1-9f75-5e16221a9fc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Validation of trackingUrlTemplate changed suddenly

2015-02-18 Thread Michael Cloonan (AdWords API Team)
Hello Adam,

The fix for this should now be live. Please let me know if you have any 
more issues with this field.

Regards,
Mike, AdWords API Team

On Monday, February 2, 2015 at 4:20:11 AM UTC-5, Adam Orczyk wrote:
>
> Hi,
>
>
> It seems that in last days validation of trackingUrlTemplate field has 
> changed. Thre days ago we were able to send trackingUrlsTemplate of the form 
> '{ifnotmobile:
> http://some.url.com
> }{ifmobile:{unescapedlpurl}}' (example 
> requestId=00050dde3459e2800aec5068fa006de2), now when sending this we are 
> getting error UrlError.INVALID_TRACKING_URL_TEMPLATE from API and 'URL should 
> start either from protocol (http:// or https://) or from URL tag ({lpurl})' 
> in AdWords UI. Is this correct behavior ? Where can we find detailed 
> validation rules for trackingUrlTemplate ?
>
> Regards,
>
> Adam
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/236dab09-3476-416d-9bea-ec04d6bfc627%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Create and Update Sitelinks for Campaigns

2015-02-18 Thread abc def
Hi, thanks for your reply!

With your help now I can add and remove Sitelinks. But I have a further 
problem with the matchingFunction in a CampaignFeed. Every time I do an 
operation withe sitelinks, I get the following error:

Unmarshalling Error: cvc-enumeration-valid: Value 'ADD' is not facet-valid with 
respect to enumeration '[IN, IDENTITY, EQUALS, AND, UNKNOWN]'. It must be a 
value from the enumeration.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7d8ba448-a297-4918-a55e-380ae525e595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Create and Update Sitelinks for Campaigns

2015-02-18 Thread abc def
test

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f5b623b4-bfd4-465c-8316-d46338f031fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Create and Update Sitelinks for Campaigns

2015-02-18 Thread abc def
Here is my code:

$combinedFunction = new \FeedFunction();
$combinedFunction->operator = 'IN';

$combinedFunction->lhsOperand = array($feedItemFunctionOperand, 
$platformFunctionOperand);

$campaignFeed = new \CampaignFeed();
$campaignFeed->feedId = $sitelinksData['sitelinksFeedId'];

$campaignFeed->campaignId = $campaignId;
$campaignFeed->matchingFunction = $combinedFunction;
$campaignFeed->placeholderTypes = array(PLACEHOLDER_SITELINKS);

$operation = new \CampaignFeedOperation();

$operation->operand = $campaignFeed;
$operation->operand = 'ADD';


Where is the problem? First time generating a feed with sitelinks, I use 
the operand ADD, every next time when I would like to modify sitelinks, I 
use SET.
But the error above is there every time.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8f17e983-fea9-4032-b85b-b5dc21c3be6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Traffic Estimator Service with Platform Critertion

2015-02-18 Thread Michael Cloonan (AdWords API Team)
Hello,

Can you please give an example SOAP request/response so I can look into 
this? Please make sure to remove any private information.

Regards,
Mike, AdWords API Team

On Tuesday, February 17, 2015 at 3:06:17 PM UTC-5, Progressus wrote:
>
> I receive an UNSUPPORTED_TYPE_IS_USED error when trying to specify 
> platform using the Traffic Estimator Service. Is the use of platform still 
> unsupported in targeting for this service?
>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb9a8234-da23-4e96-b77f-a9a4611a70f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Consolidated Billing and Adding a new client account via API

2015-02-18 Thread anruthathilakan
Hello Danial,

We will talk to the rep about this. But, in BudgetOrderService, how do I 
set up the client account to use the consolidated billing? Is this how it 
works:

1. We add A BudgetOrder for the required clientAccount and also mention the 
consolidated Billing Account?

But I do not see  a way to give a clientAccountId in a BudgetOrder.

Very confused about this BudgetOrderService and what it is used for.

Please advice.

Thanks.

On Wednesday, February 18, 2015 at 1:11:07 PM UTC, Danial Klimkin wrote:
>
> Hello,
>
>
> To use consolidated billing you need to be whitelisted for 
> BudgetOrderService. This is a very limited list.
>
> Please talk to you Customer Service Representative about BoS.
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, February 17, 2015 at 4:40:55 PM UTC+3, anrutha...@gmail.com 
> wrote:
>>
>> Hello,
>>
>> We have an MCC which has consolidated billing set up.
>>
>> Now, I add new client accounts via API. Can these accounts start serving 
>> ads immediately inheriting the Consolidated Billing Information? 
>>
>> Or do we need to configure these client accounts to use Consolidated 
>> Billing in a separate step? If yes, how do I do this via API?
>>
>> I did see other posts about this. But there was no consensus regarding 
>> this and there were confusing replies from the API team. Hence posting this 
>> again for clarity.
>>
>> Thanks.
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1c7f5813-a193-4307-9bc4-0d4a9db4bfab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google API - get daily spent with PHP - Problem

2015-02-18 Thread Danial Klimkin
Hello,


Stats (including Cost) are not available via the services. Please use the 
reporting instead:

  https://developers.google.com/adwords/api/docs/guides/reporting


-Danial, AdWords API Team.


On Wednesday, February 18, 2015 at 3:55:03 PM UTC+3, 
al...@myticketsonline.eu wrote:
>
> I'm have just installed Google API on my server. The aim is to get daily 
> expense of the account. I was playing around with 'GetCampaigns.php' 
> example, which use 'CampaignService' service. This service has different 
> fields such as Id, Name, Amount and many others. I want the code below to 
> grab all campaigns and print their name and amount spent.
>
>  require_once dirname(dirname(__FILE__)) . '/init.php';
> function GetCampaignsExample(AdWordsUser $user) {
>   $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION);  
>   $selector = new Selector();
>   $selector->fields = array('Name', 'Amount');
>   $selector->ordering[] = new OrderBy('Name', 'ASCENDING');
>
>   $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>
>   do {
> $page = $campaignService->get($selector);
>
> if (isset($page->entries)) {
>   foreach ($page->entries as $campaign) {
> printf("Campaign with name '%s' with amount '%s' was found.\n",
> $campaign->name, $campaign->amount);
>   }
> } else {
>   print "No campaigns were found.\n";
> }
>
> $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE;
>   } while ($page->totalNumEntries > $selector->paging->startIndex);
> }
>
> if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
> //  return;
> }
>
> try {
>   $user = new AdWordsUser();
>   $user->LogAll();
>   GetCampaignsExample($user);
> } catch (Exception $e) {
>   printf("An error has occurred: %s\n", $e->getMessage());
> }
> ?>
>
> However, I don't understand a reason why the page outputs:
>
> Notice: Undefined property: Campaign::$amount in 
> /public_html/adwords/examples/AdWords/v201409/BasicOperations/GetCampaigns.php
>  
> on line 17 Campaign with name 'My Campaign' and amount '' was found.
>
> The name is successfully retrieved but the amount is not.
>
> May be somebody has a complete solution to get total budget spent for a 
> date range?
>
> Thank you
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d20394d2-77a6-42a6-92e7-1e8c95998557%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Managed Customer Service BAD_ID ERROR

2015-02-18 Thread Danial Klimkin
Correct, as per documentation, these fields are Long:

  
https://developers.google.com/adwords/api/docs/reference/v201409/ManagedCustomerService.ManagedCustomerLink

ClientCustomerId matters if you have a tree with MCC and sub-MCCs under it.


-Danial, AdWords API Team.


On Wednesday, February 18, 2015 at 3:57:35 PM UTC+3, Emre Akkuş wrote:
>
> I've managed to get it worked after several attempts.
>>
>
> You have to give cliendCustomerId and managerCustomerId without DASHES 
> -  ex: 1231231234  NOT 123-123-1234
> but i think it does not matter how you input clientCustomer id in the 
> header.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c6101af0-e9ae-4286-b93c-b7646ae6c5cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google API - get daily spent with PHP - Problem

2015-02-18 Thread alex


I'm have just installed Google API on my server. The aim is to get daily 
expense of the account. I was playing around with 'GetCampaigns.php' 
example, which use 'CampaignService' service. This service has different 
fields such as Id, Name, Amount and many others. I want the code below to 
grab all campaigns and print their name and amount spent.

GetService('CampaignService', ADWORDS_VERSION);  
  $selector = new Selector();
  $selector->fields = array('Name', 'Amount');
  $selector->ordering[] = new OrderBy('Name', 'ASCENDING');

  $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE);

  do {
$page = $campaignService->get($selector);

if (isset($page->entries)) {
  foreach ($page->entries as $campaign) {
printf("Campaign with name '%s' with amount '%s' was found.\n",
$campaign->name, $campaign->amount);
  }
} else {
  print "No campaigns were found.\n";
}

$selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE;
  } while ($page->totalNumEntries > $selector->paging->startIndex);
}

if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
//  return;
}

try {
  $user = new AdWordsUser();
  $user->LogAll();
  GetCampaignsExample($user);
} catch (Exception $e) {
  printf("An error has occurred: %s\n", $e->getMessage());
}
?>

However, I don't understand a reason why the page outputs:

Notice: Undefined property: Campaign::$amount in 
/public_html/adwords/examples/AdWords/v201409/BasicOperations/GetCampaigns.php 
on line 17 Campaign with name 'My Campaign' and amount '' was found.

The name is successfully retrieved but the amount is not.

May be somebody has a complete solution to get total budget spent for a 
date range?

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1f471995-3703-498e-ba2a-a212e5498797%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Consolidated Billing and Adding a new client account via API

2015-02-18 Thread Danial Klimkin
Hello,


To use consolidated billing you need to be whitelisted for 
BudgetOrderService. This is a very limited list.

Please talk to you Customer Service Representative about BoS.


-Danial, AdWords API Team.


On Tuesday, February 17, 2015 at 4:40:55 PM UTC+3, anrutha...@gmail.com 
wrote:
>
> Hello,
>
> We have an MCC which has consolidated billing set up.
>
> Now, I add new client accounts via API. Can these accounts start serving 
> ads immediately inheriting the Consolidated Billing Information? 
>
> Or do we need to configure these client accounts to use Consolidated 
> Billing in a separate step? If yes, how do I do this via API?
>
> I did see other posts about this. But there was no consensus regarding 
> this and there were confusing replies from the API team. Hence posting this 
> again for clarity.
>
> Thanks.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f3215d25-f152-47af-b016-f66a79f77b4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TrafficEstimatorService is not giving correct values as UI

2015-02-18 Thread Danial Klimkin
Hello,


Thank you for the details. I have reproduced the issue and I can't see any 
good reason for discrepancy.

I'll follow up internally and update this thread.


-Danial, AdWords API Team.


On Wednesday, February 18, 2015 at 9:36:15 AM UTC+3, suga priya wrote:
>
>
> 
> Hi,
>
> Thanks a lot. By mistake i shared the full response code If you don't mind 
> can you please delete/hide your previous post, it has thread. 
>
> We have reset developer token as you suggested. 
>
> please find the below response for  "Fleet Management Software" and refer 
> above UI screenshot for the same.
>
> Is something wrong in network settings? am using below code for that
>
> $network = new networkSetting();
> $network->targetGoogleSearch = true;
> $network->targetSearchNetwork = false;
> $network->targetPartnerSearchNetwork  = false;
> $network->targetContentNetwork=false;
> $campaignEstimateRequest->networkSetting[] = $network;
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201406"; xmlns:ns2="
> https://adwords.google.com/api/adwords/o/v201406"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>
>   
> 
>   
> 
>   
> 
>   
> Fleet Management Software
> BROAD
>   
> 
> 
>   1000
> 
>   
>   
> 2840
>   
>   
> 1000
>   
>   
> 
>   
> 
>   
> 
>
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=UTF-8
> Content-Encoding: gzip
> Date: Wed, 18 Feb 2015 06:17:16 GMT
> Expires: Wed, 18 Feb 2015 06:17:16 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 595
> Server: GSE
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201406"; xmlns="
> https://adwords.google.com/api/adwords/o/v201406";>
>   00050f56c5601dc00abfa8886f0040fb
>   AccountService
>   get
>   0
>   387
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201406"; xmlns="
> https://adwords.google.com/api/adwords/o/v201406";>
>   
> 
>   CampaignEstimate
>   
> AdGroupEstimate
> 
>   KeywordEstimate
>   
> 
>   
> Money
>   5125336
> 
> 2.6073377028395788
> 0.013362377714286167
> 10.932334
> 736.32855
> 
>   
> Money
>   62257648
> 
>   
>   
> 
>   
> Money
>   6264300
> 
> 2.1332761995732525
> 0.016331795770754498
> 13.361743
> 899.9572
> 
>   
> Money
>   76092688
> 
>   
> 
>   
> 
>   
> 
>   
> 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/561cd893-779b-4398-97ff-93dff586fbc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Managed Customer Service BAD_ID ERROR

2015-02-18 Thread Emre Akkuş

>
> I've managed to get it worked after several attempts.
>

You have to give cliendCustomerId and managerCustomerId without DASHES 
-  ex: 1231231234  NOT 123-123-1234
but i think it does not matter how you input clientCustomer id in the 
header.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/446f5d50-398e-487f-9499-6ad81fc8e6b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: HTTP error 403 when accessing 'adwords.google.com'

2015-02-18 Thread Danial Klimkin
Hello Sergey,


I've logged an internal request for this issue to get resolved. Please 
allow at least a week for the change to take affect.

I'll follow up on this thread once I have an update.


-Danial, AdWords API Team.


On Tuesday, February 17, 2015 at 4:53:06 PM UTC+3, Интернет Капитал wrote:
>
> Hi !
>
> Sorry for repeating question, but problem still exists. Can you suggest us 
> something ? May be you can give us address of person to contact with and 
> discuss situation ?
>
> Regards,
> Sergey.
>
> пятница, 13 февраля 2015 г., 18:37:59 UTC+3 пользователь Интернет Капитал 
> написал:
>>
>> Hi !
>>
>> From *27.01.15* we can't access no one service from our main host 
>> *'46.165.242.209'*, but from any other location everything is OK.
>>
>>
>> Calling:
>> *curl 
>> "https://adwords.google.com/api/adwords/cm/v201406/AdGroupCriterionService?wsdl";
>>  
>> *
>>
>> from *'46.165.242.209'* gives:
>>
>> 
>> Error 403 (Forbidden)!!1
>> That’s an error.
>> Your client does not have permission to get URL from this server.
>>
>> That’s all we know.
>>
>>
>> 
>> but from any other location we get complete XML document with 200.
>>
>> Please help us solve this strange problem.
>>
>> Thanks in advance,
>> Sergey Yanenko.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c4d1be27-027d-4ab9-9678-840f8e11343d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: auto stop a campaign, after spending particular amount

2015-02-18 Thread Danial Klimkin
Hello Rajesh,


This is what campaign budget is for:

  https://support.google.com/adwords/answer/2375420


-Danial, AdWords API Team.


On Wednesday, February 18, 2015 at 6:39:08 AM UTC+3, Rajesh Bansal wrote:
>
> Hello All,
>
> I am using automation in creating and managing campaigns. I want my 
> campaigns to stop automatically as they cross a particular overall campaign 
> budget. 
>
> How it could be set ?
>
> Thank You !
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/34c8fcc9-67d3-4a95-8a42-11704b1cf682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple report per request

2015-02-18 Thread Danial Klimkin
For PHP you would need to go multi-process. But it is out of scope for this 
forum.

Unless you manage thousands of accounts, it's likely reporting is fast 
enough for single threaded use.


-Danial, AdWords API Team.


On Tuesday, February 17, 2015 at 4:47:20 PM UTC+3, Antonio Peric wrote:
>
> Ok, everything as I assumed.
>
> By multi-threaded you mean like few different requests parrallel? Is that 
> even possible in pHp?
>
> On Monday, February 16, 2015 at 2:31:06 PM UTC+1, Danial Klimkin wrote:
>>
>> Hello Antonio,
>>
>>
>> 1. Only one report can be pulled per request. You can request several 
>> reports in parallel though (multi-threaded).
>>
>> 2. Reports do not support paging or sorting.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, February 16, 2015 at 11:38:26 AM UTC+3, Antonio Peric wrote:
>>>
>>> And is it possible to sort Reports data by Date, Year, Month?
>>>
>>> On Saturday, February 14, 2015 at 11:34:59 AM UTC+1, Antonio Peric wrote:

 Is it possible to get multiple reports per one request?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a15a59a6-befd-41cf-b913-81b196941441%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Managed Customer Service BAD_ID ERROR

2015-02-18 Thread Emre Akkuş
Hi,

I'm trying to link Account to Mcc Account. I'm using ManagedCustomer 
Service MutateLink method.
I think i'm doing everything right but i got an unknown Error.

I am sure that i give the correct Ids of Accounts.

Mcc Id to managerCustomerId
Acc Id to clientCustomerId


Please Help.

request:
http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/mcm/v201409"; 
xmlns:v201="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
 
 
 
 
 
 Test
 
 False
 
 False
  
   
   
  
 
 

ADD

   
   *
   
   ***
   
   PENDING
   
   Test

 
  
   



response:
http://schemas.xmlsoap.org/soap/envelope/";>
   
  https://adwords.google.com/api/adwords/mcm/v201409"; 
xmlns="https://adwords.google.com/api/adwords/cm/v201409";>
 00050f5a192c40480adb218438001d62
 ManagedCustomerService
 mutateLink
 1
 118
  
   
   
  
 soap:Server
 [ManagedCustomerServiceError.BAD_ID @ 
operations[0]]
 
https://adwords.google.com/api/adwords/cm/v201409"; 
xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201409";>
   [ManagedCustomerServiceError.BAD_ID @ 
operations[0]]
  
 ApiException
   http://www.w3.org/2001/XMLSchema-instance";>
  operations[0]
  
  
ManagedCustomerServiceError.BAD_ID
  ManagedCustomerServiceError
  UNKNOWN
   

 
  
   


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dcfa7a94-56ae-4bea-bde2-ed0709e697ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.