Hi,

When you use the *get* method for most AdWords services, you will pass a 
generic *Selector* object that tells AdWords which fields you want to 
retrieve for each object. For more information on selectors please see our 
Working 
with Objects 
Guide<https://developers.google.com/adwords/api/docs/guides/working-with-objects>
.

The Java client library contains a code 
example<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/basicoperations/GetCampaigns.java#L73>that
 shows how to retrieve campaigns via the API. To also get the campaign 
settings (which contain the merchant center ID for each campaign) you can 
simply add "Settings" to the list of fields passed to the 
*SelectorBuilder.fields* method.

Cheers,
Josh, AdWords API Team

On Monday, May 19, 2014 3:16:36 AM UTC-4, [email protected] wrote:
>
> HI Josh,
>
> Can you please explain what the following line means
>
> Appreciated if provide a sample code for this.
>
> If instead you want to discover the merchant center ID for a *campaign*, 
> you can get this information from the AdWords API by including the 
> "Settings" field in your 
> CampaignService<https://developers.google.com/adwords/api/docs/reference/v201402/CampaignService#get>
>  selector.
>
>
> On Friday, May 16, 2014 11:49:45 AM UTC+5:30, [email protected]:
>>
>> Hi Team,
>>
>> Can Some one help me to get merchant id of shopping campaigns using java 
>> code.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to